You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ubuntu 24.04.1 LTS
20-Ubuntu SMP Thu Oct 10 18:14:42 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
Bug description
When I tried to run amzn-drivers/userspace/dpdk/enav2-vfio-patch/get-vfio-with-wc.sh on Ubuntu24.04, I got the following error.
linux-aws-6.8.0/virt/kvm/kvm_main.c
W: Download is performed unsandboxed as root as file 'linux-aws_6.8.0-1021.23.dsc' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied)
Done
[2] Patch and build the vfio driver
Apply patch for the write combining to the vfio-pci
Using patch for kernel version 5.15
patching file drivers/vfio/pci/vfio_pci_core.c
Hunk #1 succeeded at 1745 (offset 252 lines).
Hunk #2 FAILED at 1506.
1 out of 2 hunks FAILED -- saving rejects to file drivers/vfio/pci/vfio_pci_core.c.rej
ERROR: Cannot apply patch: /home/ubuntu/dpdk/amzn-drivers/userspace/dpdk/enav2-vfio-patch/patches/linux-5.15-vfio-wc.patch!
Reproduction steps
1. Install a fresh Ubuntu 24.04.1 OS on AWS `c6in.16xlarge` instance.
2. Download and run the script.
git clone https://github.com/amzn/amzn-drivers
cd amzn-drivers/userspace/dpdk/enav2-vfio-patch
sudo ./get-vfio-with-wc.sh
Got the error
linux-aws-6.8.0/virt/kvm/guest_memfd.c
linux-aws-6.8.0/virt/kvm/kvm_main.c
W: Download is performed unsandboxed as root as file 'linux-aws_6.8.0-1021.23.dsc' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied)
Done
[2] Patch and build the vfio driver
Apply patch for the write combining to the vfio-pci
Using patch for kernel version 5.15
patching file drivers/vfio/pci/vfio_pci_core.c
Hunk #1 succeeded at 1745 (offset 252 lines).
Hunk #2 FAILED at 1506.
1 out of 2 hunks FAILED -- saving rejects to file drivers/vfio/pci/vfio_pci_core.c.rej
ERROR: Cannot apply patch: /home/ubuntu/dpdk/amzn-drivers/userspace/dpdk/enav2-vfio-patch/patches/linux-5.15-vfio-wc.patch!
### Expected Behavior
The patch works without error.
### Actual Behavior
Patch fails with an error.
### Additional Data
_No response_
### Relevant log output
_No response_
### Contact Details
_No response_
The text was updated successfully, but these errors were encountered:
Preliminary Actions
Driver Type
DPDK PMD for Elastic Network Adapter (ENA)
Driver Tag/Commit
ena_linux_2.13.1
Custom Code
No
OS Platform and Distribution
Ubuntu 24.04.1 LTS
20-Ubuntu SMP Thu Oct 10 18:14:42 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
Bug description
When I tried to run amzn-drivers/userspace/dpdk/enav2-vfio-patch/get-vfio-with-wc.sh on Ubuntu24.04, I got the following error.
Reproduction steps
The text was updated successfully, but these errors were encountered: