Hello I’ve followed the instructions, had it working before with mkinitcpio on manjaro, which I’ve happily switched from (loved the old Antergos).
System is hanging on boot with
dracut pre-udev hook…
I can’t see the journalctl log of the failed boot, it dosn’t seem to create an entry when i do journalctl --list-boot, however on a normal boot (different /efi/loader/entries/) i do get
dracut-pre-udev[489]: modprobe: FATAL: Module vfio_virqfd not found in directory /lib/modules/6.2.6-arch1-1
I’m guessing the vfio-virqfd has been moved to the kernal ? and just dons’t need to be in the file /etc/dracut.conf.d/10-vfio.conf
Thanks for confirming that, I have tried just removing that from the force_drivers line at /etc/dracut.conf.d/10-vfio.conf and tried to boot again, but still stuck at same place.
Not sure why this shows as a fatal error, because it isn’t; a warning, at best. I ran into the same issue when the 6.2.x kernel series was released. Since I’m also using the LTS and 5.15.x series kernels, I left my dracut config files alone. My GPU pass-through works just fine on all (3) kernels.
Not sure why this shows as a fatal error, because it isn’t; a warning, at best. I ran into the same issue when the 6.2.x kernel series was released. Since I’m also using the LTS and 5.15.x series kernels, I left my dracut config files alone. My GPU pass-through works just fine on all (3) kernels.
So you didn’t need to (as per arch wiki instructions) create the /etc/dracut.conf.d/10-vfio.conf file ? is your GPU still got those dummy drivers loaded and not accessible on the host ?
Seems to be, yes. I’ve never had any problems with pass-through on either Linux or Windows VMs. Here’s a full look at what inxi reports for vfio devices:
Its very strange I’ve tried the LTS kernal via akm (V 6.1.20-1) and still the same hanging on boot with
dracut pre-udev hook…
I’ve just installed to a fresh ssd, the only things I installed was virt-manager etc according to endavourOS wiki, although I didn’t even need to do that really. I created the /etc/dracute.conf.d/10-vfio.conf file… and created a new boot entry in /efi/loader/entries/ … just added the following to a duplicate copy of default boot entry.
I did a fresh install on a seperate ssd for test, on my AMD 5 motherboard I had the same stuck at book as origional message. So I took that ssd and gpu to an AMD4 motherboard, and I got the same thing, also tested a different older GPU but still the same, I of course changed the pci numbers and even tried specifying the pci ids via the /etc/modprobe.d/vfio.conf. Of course I rebuilt with dracut-rebuild each time.
So basicly on a differnt pc with same and additional GPU i got the same results as in first message. On that same amd4 pc I’ve got manjaro still and setup gpu passthrough fine with the mkinitcpio.
This morning I tried the switch on endeavouros from dracut → mkinitcpio follow instructions from joekamprad, however I have encrypted drive, and on reboot it dosn’t seem to recognise that, so I must have missed something on the config
So I feel that there must be something wrong with dracut on the latest build/install of endevourOS ? I am at a bit of a loss, i’d love to keep the dracut, am happy to try any suggestions.