View previous topic :: View next topic |
Author |
Message |
leyvi Tux's lil' helper
Joined: 08 Sep 2023 Posts: 80
|
Posted: Sun Nov 24, 2024 4:47 pm Post subject: KVM/QEMU/libvirt VM won't boot due to kernel module shenanig |
|
|
I've got this VM I'm trying to boot, and whenever I try, I get this: Code: | Error starting domain: Failed to open file '/lib/modules/6.12.1-gentoo/modules.alias': No such file or directory | This isn't so strange to me, as I have a purely monolithic kernel with loadable modules disabled. However, I have no clue what to do about this error message, short of enabling loadable modules, which I'd prefer not to do. Anyone know what's going on? |
|
Back to top |
|
|
Ralphred l33t
Joined: 31 Dec 2013 Posts: 661
|
Posted: Sun Nov 24, 2024 5:18 pm Post subject: |
|
|
What are you trying to start the VM in?
libvirt, qemu and docker all work fine here with a monolithic kernel.*
You can use Code: | ebuild /var/db/repos/gentoo/path/to/ebuild.ebuild prepare clean | to force a re-showing of any "CONFIG_SOMETHING is not set and it should be" messages you may have missed during emerge time.
*hardware passthrough fails though, fyi. |
|
Back to top |
|
|
leyvi Tux's lil' helper
Joined: 08 Sep 2023 Posts: 80
|
Posted: Sun Nov 24, 2024 8:49 pm Post subject: |
|
|
Ralphred wrote: | What are you trying to start the VM in?
libvirt, qemu and docker all work fine here with a monolithic kernel.*
You can use Code: | ebuild /var/db/repos/gentoo/path/to/ebuild.ebuild prepare clean | to force a re-showing of any "CONFIG_SOMETHING is not set and it should be" messages you may have missed during emerge time.
*hardware passthrough fails though, fyi. | you know, I'm actually trying to do PCIe passthrough with this VM. Maybe that's the problem? In any case, I'd like to know why...
Ralphred wrote: | What are you trying to start the VM in? | Virtual Machine Manager. |
|
Back to top |
|
|
|