KVM gone after updating to 9.0.11

Shakran

New Member
Apr 25, 2024
19
0
1
So i installed it now a few times from onto my new RAID1, and when i do it via the iLO4 remote console of my proliant DL360p g8, its also giving me the error that there is no KVM on the server. Specifically:

TASK ERROR: KVM virtualisation configured, but not available. Either disable in VM configuration or enable in BIOS.

so i checked, after finding out which command it is, with:

lsmod | grep KVM

and the output is nothing.
i checked it on my second server, and there is the kvm output like it should be.

Then with a USB install all was good. VE 9.0.3 had the KVM in it and all is good, all worked, setup my VM, all was working.
Then i updated to 9.0.11, and the KVM is gone again.

Is there a way to restore the functionality? or is something so borked that only a new install works? is this a known bug?
 
Maybe your BIOS settings got reset because of a BIOS update, CMOS clear, boot or power failure or simply a reboot while the CMOS battery is empty? You need to enable the VT-x virtualization support (assuming it is an Intel platform; it's SVM on AMD) setting again in the motherboard BIOS.
 
Last edited:
Maybe your BIOS settings got reset because of a BIOS update, CMOS clear, boot or power failure or simply a reboot while the CMOS battery is empty? You need to enable the VT-x virtualization support (assuming it is an Intel platform; it's SVM on AMD) setting again in the motherboard BIOS.
i doubt thats the case. Back when i tried to install it via the ILO interface i also thought so and checked. Option was still activated.
Now i reinstalled it with the usb, and the kvm was from the beginning not installed.
Im abit confused because i thought it was because i didnt install it with a usb that the kvm wasnt installed, but now im clueless. i think i will try to do the 8.4 again


Ok so i installed 8.4 again. One interesting thing i just realized. In the boot, when the blue selection window appears from (i think) grub, there you usually have the proxmox start and then also the memtest options.
Whenever the install/update fails and my KVM is gone, the memtest option is also not there anymore
 
Last edited:
i doubt thats the case. Back when i tried to install it via the ILO interface i also thought so and checked. Option was still activated.
That's really odd and unexpected.
Now i reinstalled it with the usb, and the kvm was from the beginning not installed.
Im abit confused because i thought it was because i didnt install it with a usb that the kvm wasnt installed, but now im clueless. i think i will try to do the 8.4 again
Using an older version is not a future-proof solution. You can try installing kernel version 6.8 (what came with PVE 8.4) to see if that fixes it. Or update to the latest 6.14 kernel or the new 6.17 kernel?
Nothing in the system log that can explain why the kvm module does not load? Maybe it's a memory or drive corruption?
 
  • Like
Reactions: Johannes S
That's really odd and unexpected.

Using an older version is not a future-proof solution. You can try installing kernel version 6.8 (what came with PVE 8.4) to see if that fixes it. Or update to the latest 6.14 kernel or the new 6.17 kernel?
Nothing in the system log that can explain why the kvm module does not load? Maybe it's a memory or drive corruption?
The memtest boot option that appears at the beginning before proxmox is loading up, is also missing whenever the KVM has gone missing. thats 2 points i see now that just do not work for whatever reason anymore.
Drive corruption i would not count in.
Before my complete reset, ive had a p420i controller running in HBA mode and the boot would happen from SD-card. booting into a single drive.
Now ive reconfigured it again so that 2 brand new SSD (well, cheapo ones, but still new), create a RAID1, so i have a normal boot again and some sort of safety from drive failure
 
The memtest boot option that appears at the beginning before proxmox is loading up, is also missing whenever the KVM has gone missing. thats 2 points i see now that just do not work for whatever reason anymore.
Sounds like you might have multiple bootable drives or ESP partitions that boot different kernels and/or initramfs? Or you are switching between CSM/BIOS and UEFI boot? If it's mixing boot from a previous version with the root of the new version (or the other way around) then we could be chasing ghosts for a long time.
Drive corruption i would not count in.
Silent corruption (when not using memory with ECC or a filesystem without checksums like FAT/ESP) is always not expected...
Before my complete reset, ive had a p420i controller running in HBA mode and the boot would happen from SD-card. booting into a single drive.
Now ive reconfigured it again so that 2 brand new SSD (well, cheapo ones, but still new), create a RAID1, so i have a normal boot again and some sort of safety from drive failure
This also sounds like the system could be mixing boot and root partitions causing weird problems. I'm not sure how to continue at this point at this moment, sorry.
 
  • Like
Reactions: Shakran
Ok tried the 8.4 installation. Updated it to 8.4.14, and now the kvm is gone there too.
It happens after one update, im without a clue as of why. In beginning its still there, and it also works.
Sounds like you might have multiple bootable drives or ESP partitions that boot different kernels and/or initramfs? Or you are switching between CSM/BIOS and UEFI boot? If it's mixing boot from a previous version with the root of the new version (or the other way around) then we could be chasing ghosts for a long time.

Silent corruption (when not using memory with ECC or a filesystem without checksums like FAT/ESP) is always not expected...

This also sounds like the system could be mixing boot and root partitions causing weird problems. I'm not sure how to continue at this point at this moment, sorry.


Multiple boot devices i dont think. Im using the RAID1 i have no all the time for Boot. Its not booting from the SD card anymore.
The HP server is abit older, doesnt have UEFI, only BIOS.
ECC memory is used, and Filesystem is LVM.

Is there a way to repair the insallation? check if all packages and such are there and working?

Other then that i have just the option to maybe use my old drive in RAID0 and see if that does anything. i mean it worked when i was Using it in hba mode....

But thank you already for the help! i really appreciate everything i can get!
 
Sounds like you might have multiple bootable drives or ESP partitions that boot different kernels and/or initramfs? Or you are switching between CSM/BIOS and UEFI boot? If it's mixing boot from a previous version with the root of the new version (or the other way around) then we could be chasing ghosts for a long time.
You were right with that.
I thought that moving the SD card out of the boot order would have been enough. It still was showing up in proxmox, but i didnt thought anything about it atfirst, since it shouldnt have been able to "boot", but HP wouldnt be HP if they didnt somehow screw with normal BIOS settings, and you actually also need to remove it from the boot controller options.....

Well, to be extra sure i removed it from there and also wiped it clean in proxmox.

And now it boots fine.
Totally fine. It was all my fault and i have learned again something new about HP servers.

But thank you, that really was the thing that made my kvm sometimes show up, and othertimes not.