You are not logged in.

#1 2019-02-04 16:56:11

slole
Member
Registered: 2018-11-26
Posts: 14

[SOLVED] No modules being loaded after installing linux-vfio

I want to use the ACS patch to I installed the linux-vfio-headers and linux-vfio packages, updated grub configuration, rebooted and the lightdm service failed. I then noticed I have no networking, tried to load the kernel modules for the network card, the nvidia drivers, but modprobe says it cant find them. I can still successfully boot arch if i edit grub to boot into the regular linux kernel.

How can I "migrate" the kernel modules? Or what is the problem in my setup?
Thanks for any response.

Last edited by slole (2019-02-04 19:37:26)

Offline

#2 2019-02-04 17:23:53

loqs
Member
Registered: 2014-03-06
Posts: 7,264

Re: [SOLVED] No modules being loaded after installing linux-vfio

Modules need to be built for each kernel.  What modules is linux-vfio supplying?  Are you using the DKMS version of the nvidia package to generate an nvidia module compatible with linux-vfio?

Offline

#3 2019-02-04 17:44:39

slole
Member
Registered: 2018-11-26
Posts: 14

Re: [SOLVED] No modules being loaded after installing linux-vfio

Thanks, I installed nvidia-dkms and the same for networking and everything works now. However when adding pcie_acs_override=downstream to grub nothing changes. The output of

dmesg | grep iommu

is still:

[    0.683136] iommu: Adding device 0000:00:01.0 to group 0
[    0.683236] iommu: Adding device 0000:00:01.3 to group 1
[    0.683331] iommu: Adding device 0000:00:02.0 to group 2
[    0.683433] iommu: Adding device 0000:00:03.0 to group 3
[    0.683524] iommu: Adding device 0000:00:03.1 to group 4
[    0.683619] iommu: Adding device 0000:00:04.0 to group 5
[    0.683713] iommu: Adding device 0000:00:07.0 to group 6
[    0.683810] iommu: Adding device 0000:00:07.1 to group 7
[    0.683900] iommu: Adding device 0000:00:08.0 to group 8
[    0.683996] iommu: Adding device 0000:00:08.1 to group 9
[    0.684090] iommu: Adding device 0000:00:14.0 to group 10
[    0.684106] iommu: Adding device 0000:00:14.3 to group 10
[    0.684219] iommu: Adding device 0000:00:18.0 to group 11
[    0.684233] iommu: Adding device 0000:00:18.1 to group 11
[    0.684244] iommu: Adding device 0000:00:18.2 to group 11
[    0.684256] iommu: Adding device 0000:00:18.3 to group 11
[    0.684270] iommu: Adding device 0000:00:18.4 to group 11
[    0.684281] iommu: Adding device 0000:00:18.5 to group 11
[    0.684293] iommu: Adding device 0000:00:18.6 to group 11
[    0.684305] iommu: Adding device 0000:00:18.7 to group 11
[    0.684418] iommu: Adding device 0000:03:00.0 to group 12
[    0.684443] iommu: Adding device 0000:03:00.1 to group 12
[    0.684468] iommu: Adding device 0000:03:00.2 to group 12
[    0.684480] iommu: Adding device 0000:16:00.0 to group 12
[    0.684492] iommu: Adding device 0000:16:01.0 to group 12
[    0.684504] iommu: Adding device 0000:16:04.0 to group 12
[    0.684515] iommu: Adding device 0000:16:06.0 to group 12
[    0.684527] iommu: Adding device 0000:16:07.0 to group 12
[    0.684540] iommu: Adding device 0000:17:00.0 to group 12
[    0.684561] iommu: Adding device 0000:1e:00.0 to group 12
[    0.684579] iommu: Adding device 0000:20:00.0 to group 12
[    0.684693] iommu: Adding device 0000:22:00.0 to group 13
[    0.684726] iommu: Adding device 0000:22:00.1 to group 13
[    0.684824] iommu: Adding device 0000:23:00.0 to group 14
[    0.684916] iommu: Adding device 0000:23:00.2 to group 15
[    0.685017] iommu: Adding device 0000:23:00.3 to group 16
[    0.685114] iommu: Adding device 0000:24:00.0 to group 17
[    0.685218] iommu: Adding device 0000:24:00.2 to group 18
[    0.685314] iommu: Adding device 0000:24:00.3 to group 19
[    0.686512] perf/amd_iommu: Detected AMD IOMMU #0 (2 banks, 4 counters/bank).

What am I missing to complete the ACS patch and split up the IOMMU groups.

Oh and the output of

uname -r

is

4.20.5-arch1-1-vfio

SOLUTION: https://forum.level1techs.com/t/not-bei … tch/138492 (use pcie_acs_override=downstream,multifunction)

Last edited by slole (2019-02-04 18:37:15)

Offline

Board footer

Powered by FluxBB