bhyve bhyve and AlmaLinux 9.5

Anyone having luck getting AlmaLinux 9.5 to run under bhyve on FreeBSD 14.1-RELEASE-p5 using vm-bhyve 1.6?

I had a 9.4 instance running fine (installed as a 9.3 about a year ago with a number of dnf upgrades in that time). Last upgrade was to go from 9.4 to 9.5 and that stopped working about a week ago - just something I was playing with so didn't notice for a bit. It got a kernel fault about not being able to find the appropriate initramfs for the new kernel version - it wasn't in /boot and I couldn't recreate it.

Decided to blow the current instance away and just do a reinstall using the 9.5 boot iso.

The install is failing with a "Pane is dead (signal 11,...)" error. The linux program-log shows some issues with the systemd and the networkmgr but I don't think that's the cause. Nothing looks amiss in the vm-bhyve.log

The config file is really simple

Code:
loader="uefi"
cpu=2
memory=2G
uefi_vars="yes"

network0_type="virtio-net"
network0_switch="local"

disk0_type="nvme"
disk0_name="disk0.img"

graphics="yes"
graphics_res="1600x900"

There's a uuid and a network0_mac address as well
xhci_mouse="YES"
 
I'm running rocky 9.5 and RH EL 9.5 on bhyve, using vm-bhyve
For config I use the centos-7 template slightly edited

loader="uefi" graphics="yes" xhci_mouse="yes" cpu=1 memory="2G" network0_type="virtio-net" network0_switch="public" disk0_type="virtio-blk" disk0_name="disk0.img" uuid="5d147d66-3bb2-4835-a260-228a93b76b84" network0_mac="58:9c:fc:0a:2e:83"
Of course, since RHEL6, they crippled text install and the GUI install seems to cause problems for people from time to time.

I have found that the memory should be at least 2G. Aside from that, it's been fairly smooth for me, using vncviewer, it gets to the setup screen and I'm able to choose my various options.
This is on a machine with an NVidia GT1030.

Looking at yours, I see you're using disk type of nvme, maybe try with virtio-block? (That's just an uneducated guess though, for me, it's what I got with the cento-7 template)
 
Same results unfortunately, was certainly worth a try though.

I had just updated vm-bhyve to 1.6 today but I strongly suspect that the dnf upgrade last week was at fault. Other windows and FreeBSD instances are still working just fine.

I'll see if I can get 9.4 to install.
 
Installed 9.4 just fine (though I did have to mess about with the boot order to get it to use the iso), as soon as I updated it to 9.5 it fails.

So... bhyve/firmware issue with 9.5 I'm guessing. This is on an AMD Ryzen 7 5700G host with Radeon Graphics (no stand alone card) with 128 GB ram. dmesg reports 14.1-RELEASE-p6 (though uname reports p5 - I understand there is a change in the works to address the userland/kernel version discrapancy)
 
As far as I know, the only hardware issue is with RH/Alma/Rocky/9 anything, that it requires x86_64.v2. Did this happen when you tried running dnf and it went to upgrade to 9.5 from 9.4? As I said, my machine, on hardware that's not new--I was given it in 2016 and I think it was at least a few years old then--a Dell xps8700--a cursory web search seems like it's from 2013--and 9.5 from RH and Rocky runs fine. I assume it would with Alma too.

Sorry I don't have any more ideas.
 
The machine is about a year old but it's not cutting edge gear by any means.

Yes, I installed 9.4, everything was working fine. dnf upgrade pulled in the new kernel and userland stuff. After that it stops booting. Doing a straight install of 9.5 from their latest iso fails but in a different way.

It's quite perplexing.

I'll poke around with it some more.
 
It might be worth asking on the Alma forums. Or they might just say it must be a bhyve problem, but you never know. https://forums.almalinux.org/
I don't recollect seeing anything there or on the Rocky forums about issues going to 9.5, but it is quite possible someone had a similar issue and i just missed it as it hasn't affected me.
 
Finally had a chance to tinker a bit today. No joy as yet but I did find that the dnf upgrade from 9.4 to 9.5 starts seeing a bunch of segmentation faults when running the scriptlets. The first one occurs with cockpit's. Rocky does the same thing so CentOS related (latest alpine installed and ran fine). After it finishes it claims that it worked fine but that's obviously not true.

An install directly from 9.5 fails as well as I mentioned before. I'm leaning toward an issue with one of the kernel drives in 9.5 but others have it running so not sure.
 
Back
Top