Discussion:
FreeBSD 14-CURRENT as a guest working?
Marcin Cieslak
2021-05-07 05:12:16 UTC
Permalink
I have put FreeBSD-14.0-CURRENT-amd64-20210422-df456a1fcf7-246266.raw.xz
on an zvol and tried booting it like this:

builder = "hvm"
name = "current0"
disk = [
'/dev/zvol/zroot/current0,raw,xvda,w'
]
boot = "c"
bios = "ovmf"
usbdevice = 'tablet'
#nographics = 1
serial = [ "/dev/nmdm0A" ]
vnc = 1
#vnclisten = '0.0.0.0'
vif = ['bridge=bridge0,mac=00:02:04:15:fd:e1','bridge=bridge1,mac=00:02:04:15:fd:e2']
memory=8192
vcpus=6
vga = "stdvga"
videoram = 16
;xen_platform_pci=1

it starts to boot but subsequently crashes with various messages related to network front drivers.

I tried to collect some info but now an attempt to start it seems to bog down my Xen host :(
(it responds to TCP connections but SSH connections are frozen and I can't open new ones)

Host is FreeBSD 12.2-STABLE r369477 GENERIC

(XEN) Xen version 4.14.1 (root@) (FreeBSD clang version 10.0.1 (***@github.com:llvm/llvm-project.git llvmorg-10.0.1-0-gef32c611aa2)) debug=n Thu Mar 18 13:45:35 UTC 2021

Marcin
Roger Pau Monné via freebsd-xen
2021-05-07 09:42:41 UTC
Permalink
Post by Marcin Cieslak
I have put FreeBSD-14.0-CURRENT-amd64-20210422-df456a1fcf7-246266.raw.xz
builder = "hvm"
name = "current0"
disk = [
'/dev/zvol/zroot/current0,raw,xvda,w'
]
boot = "c"
bios = "ovmf"
usbdevice = 'tablet'
#nographics = 1
serial = [ "/dev/nmdm0A" ]
vnc = 1
#vnclisten = '0.0.0.0'
vif = ['bridge=bridge0,mac=00:02:04:15:fd:e1','bridge=bridge1,mac=00:02:04:15:fd:e2']
memory=8192
vcpus=6
vga = "stdvga"
videoram = 16
;xen_platform_pci=1
it starts to boot but subsequently crashes with various messages related to network front drivers.
The following commit solves the issue in the domU:

https://cgit.freebsd.org/src/commit/?id=5d8fd932e418f03e98b3469c4088a36f0ef34ffe

I don't think there's any snapshot image with this yet.
Post by Marcin Cieslak
I tried to collect some info but now an attempt to start it seems to bog down my Xen host :(
(it responds to TCP connections but SSH connections are frozen and I can't open new ones)
Hm, that's weird. Do you have a serial attached to the box to know
what's going on?

Thanks, Roger.
Marcin Cieslak
2021-05-07 11:27:50 UTC
Permalink
Post by Roger Pau Monné via freebsd-xen
Post by Marcin Cieslak
I have put FreeBSD-14.0-CURRENT-amd64-20210422-df456a1fcf7-246266.raw.xz
(..)
Post by Roger Pau Monné via freebsd-xen
Post by Marcin Cieslak
it starts to boot but subsequently crashes with various messages related to network front drivers.
https://cgit.freebsd.org/src/commit/?id=5d8fd932e418f03e98b3469c4088a36f0ef34ffe
I don't think there's any snapshot image with this yet.
Thank you. I plan to start building -current there so I can try to build from source.
Post by Roger Pau Monné via freebsd-xen
Post by Marcin Cieslak
I tried to collect some info but now an attempt to start it seems to bog down my Xen host :(
(it responds to TCP connections but SSH connections are frozen and I can't open new ones)
Hm, that's weird. Do you have a serial attached to the box to know
what's going on?
Unfortunately, no. I could only hit big red button via my hosting provide "Hardware reset" console :(
They only offer KVM when I ask for it and there is no serial console option :(

Marcin

Loading...