Port-xen archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: NetBSD DomU (PV) hangs on Xen 4.13.1 / NetBSD 9.1



Hi Cherry,

thanks for your quick response.

Am 22.12.2020 um 11:14 schrieb Mathew Cherry G.:
Hi Matthias,

Why do you use ioemu & vnc on PV mode ?

I'm a bit suprised it got this far actually.

That was my mistake and a leftover from the installation I did via HVM.

A better way for your usecase might be to use PVHVM mode:

type=pvh

and boot from the GENERIC kernel, which has PVH support (in -current,
not sure about on 9.1 though).

I will definitely give that a try, however I would like to use a stable release for my host. As far as I read, 9.1 does not support PVH yet?

Otherwise for PV mode, try to pare down the ioemu and vnc devices, use
the INSTALL domU kernels to install, and once done, swap out with the
regular domU kernel.

You are right - for PV the VNC stuff in the config is not useful. I have now reduced it to:

name = "builder91"
type="pv"
kernel = "/netbsd-XEN3_DOMU.gz"
memory = 16384
vcpus = 8
vif = [ 'mac=00:16:3E:74:32:42,bridge=bridge0' ]
disk = [
   'phy:/dev/zvol/rdsk/tank0/volumes/builder91,hda,rw',
   'file:/tank1/archive/NetBSD-9.1-amd64.iso,ioemu:hdc:cdrom,r'
]
boot = 'cd'

This makes the warning messages disappear, but the kernel still hangs in a similar place:

[   1.0000000] NetBSD 9.1 (XEN3_DOMU) #0: Sun Oct 18 19:24:30 UTC 2020
[ 1.0000000] mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/xen/compile/XEN3_DOMU
[   1.0000000] total memory = 16384 MB
[   1.0000000] avail memory = 15854 MB
[   1.0000000] running cgd selftest aes-xts-256 aes-xts-512 done
[   1.0000000] mainbus0 (root)
[   1.0000000] hypervisor0 at mainbus0: Xen version 4.13.1nb1
[   1.0000000] vcpu0 at hypervisor0
[ 1.0000000] vcpu0: AMD FX(tm)-8350 Eight-Core Processor , id 0x600f20
[   1.0000000] vcpu0: package 0, core 3, smt 0
[   1.0000000] vcpu1 at hypervisor0
[ 1.0000000] vcpu1: AMD FX(tm)-8350 Eight-Core Processor , id 0x600f20
[   1.0000000] vcpu1: package 0, core 6, smt 0
[   1.0000000] vcpu2 at hypervisor0
[ 1.0000000] vcpu2: AMD FX(tm)-8350 Eight-Core Processor , id 0x600f20
[   1.0000000] vcpu2: package 0, core 5, smt 0
[   1.0000000] vcpu3 at hypervisor0
[ 1.0000000] vcpu3: AMD FX(tm)-8350 Eight-Core Processor , id 0x600f20
[   1.0000000] vcpu3: package 0, core 1, smt 0
[   1.0000000] vcpu4 at hypervisor0
[ 1.0000000] vcpu4: AMD FX(tm)-8350 Eight-Core Processor , id 0x600f20
[   1.0000000] vcpu4: package 0, core 4, smt 0
[   1.0000000] vcpu5 at hypervisor0
[ 1.0000000] vcpu5: AMD FX(tm)-8350 Eight-Core Processor , id 0x600f20
[   1.0000000] vcpu5: package 0, core 2, smt 0
[   1.0000000] vcpu6 at hypervisor0
[ 1.0000000] vcpu6: AMD FX(tm)-8350 Eight-Core Processor , id 0x600f20
[   1.0000000] vcpu6: package 0, core 0, smt 0
[   1.0000000] vcpu7 at hypervisor0
[ 1.0000000] vcpu7: AMD FX(tm)-8350 Eight-Core Processor , id 0x600f20
[   1.0000000] vcpu7: package 0, core 7, smt 0
[   1.0000000] xenbus0 at hypervisor0: Xen Virtual Bus Interface
[   1.0000000] xencons0 at hypervisor0: Xen Virtual Console Driver
[   1.9900269] xenbus: can't get state for device/suspend/event-channel (2)
[   1.9900269] xbd0 at xenbus0 id 768: Xen Virtual Block Device Interface
[   1.9900269] xbd1 at xenbus0 id 5632: Xen Virtual Block Device Interface
[   1.9900269] xennet0 at xenbus0 id 0: Xen Virtual Network Interface
[   1.9900269] xennet0: MAC address 00:16:3e:74:32:42
[   1.9900269] balloon0 at xenbus0 id 0: Xen Balloon driver
[   1.9900269] balloon0: current reservation: 16777216 KiB
[   1.9900269] xennet0: using RX copy mode
[   2.0000288] xenbus: can't get state for device/suspend/event-channel (2)
[ 2.0000288] balloon0: current reservation: 4194304 pages => target: 4194304 pages
[   2.0000288] ignore shutdown request:



Home | Main Index | Thread Index | Old Index