Re: [vfio-users] new video card. vm wont boot

2020-06-03 Thread Roger Lawhorn
Got it. It now takes over the new radeon card. 0d:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Navi 14 [Radeon RX 5500/5500M / Pro 5500M] [1002:7340] (rev c5)     Subsystem: ASRock Incorporation Device [1849:5123]     Kernel driver in use: vfio-pci     Kernel

Re: [vfio-users] new video card. vm wont boot

2020-06-03 Thread Roger Lawhorn
Thank you, I had considered this. Is the format to put it on the command line different? You need to build it as a module and not built in. With it built in, the options need to be on the kernel boot line, and not in the modprobe.d config files. On 6/3/20 4:18 PM, James Courtier-Dutton

Re: [vfio-users] new video card. vm wont boot

2020-06-03 Thread James Courtier-Dutton
On Mon, 1 Jun 2020 at 14:38, Roger Lawhorn wrote: > > ok. > > $ grep VFIO config-5.4.43-050443-generic > CONFIG_KVM_VFIO=y > CONFIG_VFIO_IOMMU_TYPE1=y > CONFIG_VFIO_VIRQFD=y > CONFIG_VFIO=y > CONFIG_VFIO_NOIOMMU=y > CONFIG_VFIO_PCI=y > CONFIG_VFIO_PCI_VGA=y > CONFIG_VFIO_PCI_MMAP=y >

Re: [vfio-users] new video card. vm wont boot

2020-06-01 Thread leesteken
On Monday, June 1, 2020 12:26 PM, Roger Lawhorn wrote: > A search of the modules for 5.4 vs 5.3 shows several vfio modules missing. > I guess there is some big change to 5.4 that I need to know about. > > $ find /lib/modules/5.4.43-050443-generic/ | grep vfio >

Re: [vfio-users] new video card. vm wont boot

2020-06-01 Thread Roger Lawhorn
ok. $ grep VFIO config-5.4.43-050443-generic CONFIG_KVM_VFIO=y CONFIG_VFIO_IOMMU_TYPE1=y CONFIG_VFIO_VIRQFD=y CONFIG_VFIO=y CONFIG_VFIO_NOIOMMU=y CONFIG_VFIO_PCI=y CONFIG_VFIO_PCI_VGA=y CONFIG_VFIO_PCI_MMAP=y CONFIG_VFIO_PCI_INTX=y CONFIG_VFIO_PCI_IGD=y CONFIG_VFIO_MDEV=m

Re: [vfio-users] new video card. vm wont boot

2020-06-01 Thread Bronek Kozicki
I do not think there were actually changes in the kernel; see your kernel config instead. On Mint, this should be in /boot/config-* files For example my Ubuntu Focal is showing most of vfio drivers are built into kernel rather than as modules: bronek@lipowa /lib/modules/5.4.0-33-generic % find

Re: [vfio-users] new video card. vm wont boot

2020-06-01 Thread Roger Lawhorn
A search of the modules for 5.4 vs 5.3 shows several vfio modules missing. I guess there is some big change to 5.4 that I need to know about. $ find /lib/modules/5.4.43-050443-generic/ | grep vfio /lib/modules/5.4.43-050443-generic/kernel/drivers/vfio

Re: [vfio-users] new video card. vm wont boot

2020-05-31 Thread leesteken
On Sunday, May 31, 2020 2:29 PM, Roger Lawhorn wrote: > Thanks for responding. > BTW: the fix for raid0 was to add raid0.default_layout=2 to the command > line for grub for kernels higher than 5.3.3. > > I am using linux mint 19.3. > The highest kernel available is 5.3 > I used the ukuu utility

Re: [vfio-users] new video card. vm wont boot

2020-05-31 Thread Roger Lawhorn
[    0.886294] pci :0d:00.0: Using iommu direct mapping [    0.886624] pci :0d:00.1: Adding to iommu group 19 Is there a reason that the video card is being used by direct mapping instead of being added to a group like the audio? Dmesg shows vfio loaded on boot, but vfio-pci is still

Re: [vfio-users] new video card. vm wont boot

2020-05-31 Thread Roger Lawhorn
Thanks for responding. BTW: the fix for raid0 was to add raid0.default_layout=2 to the command line for grub for kernels higher than 5.3.3. I am using linux mint 19.3. The highest kernel available is 5.3 I used the ukuu utility to install kernels 5.4,5.5, and 5.6. In any of those kernels if I

Re: [vfio-users] new video card. vm wont boot

2020-05-31 Thread leesteken
On Sunday, May 31, 2020 5:45 AM, Roger Lawhorn wrote: > ok, I got kernel 5.4 booted. > They changed how raid0 works and I am one of the few that use raid0. > > Anyway, vfio-pci is missing in kernel 5.4. > Anyone know why? I use a Proxmox/Ubuntu 5.4 kernel and vfio is a module, so I had to add

Re: [vfio-users] new video card. vm wont boot

2020-05-31 Thread Bronek Kozicki
What is your distribution? It's all working for me: root@gdansk ~ # zcat /proc/config.gz | grep VFIO CONFIG_KVM_VFIO=y CONFIG_VFIO_IOMMU_TYPE1=m CONFIG_VFIO_VIRQFD=m CONFIG_VFIO=m # CONFIG_VFIO_NOIOMMU is not set CONFIG_VFIO_PCI=m CONFIG_VFIO_PCI_VGA=y CONFIG_VFIO_PCI_MMAP=y

Re: [vfio-users] new video card. vm wont boot

2020-05-30 Thread Roger Lawhorn
ok, I got kernel 5.4 booted. They changed how raid0 works and I am one of the few that use raid0. Anyway, vfio-pci is missing in kernel 5.4. Anyone know why? On 5/29/20 8:41 PM, Roger Lawhorn wrote: This appears to be the navi reset bug. Supposedly kernel 5.4 fixes this. However, I am not

Re: [vfio-users] new video card. vm wont boot

2020-05-29 Thread Roger Lawhorn
This appears to be the navi reset bug. Supposedly kernel 5.4 fixes this. However, I am not able to upgrade beyond kernel 5.3. Kernel 5.4 gets a raid error when trying to read my encryption key and I cannot type my passphrase in order to get booted. Same with higher kernels. Alas. I can sit and

Re: [vfio-users] new video card. vm wont boot

2020-05-28 Thread Roger Lawhorn
ok, I removed all cards but the new one and turned off vfio. Linux boots but finds no driver and uses fbdev instead: $ inxi -G Graphics:   Device-1: AMD Navi 14 [Radeon RX 5500/5500M / Pro 5500M] driver: N/A   Display: x11 server: X.Org 1.19.6 driver: ati,fbdev   unloaded:

[vfio-users] new video card. vm wont boot

2020-05-28 Thread Roger Lawhorn
I upgraded from a radeon duo pro 8gb hbm to a radeon rx 5500. Neither the win10 vm nor the win7 vm will boot with this card installed. The card is owned by vfio-pci on boot. The script didnt need any changes as it shows up at the same hardware address as the last card. Very frustrated.