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



On Tue, Dec 22, 2020 at 11:25:10AM +0100, Matthias Petermann wrote:
> 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'

Remove the :cdrom, and boot = 'cd'

cdrom type devices are ignored by PV guests (this matches the linux
behavior) and the dom0 endlessly wait for it to be ready.

-- 
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
     NetBSD: 26 ans d'experience feront toujours la difference
--


Home | Main Index | Thread Index | Old Index