Subject: Re: [Xen-users] NetBSD kernel as dom0 wont boot
To: None <xen-users@lists.xensource.com>
From: sp4rc <sammyshome@gmx.net>
List: port-xen
Date: 04/10/2006 23:02:44
Maybe someone can send me his XEN0 kernel config for the i386 arch. At
best an SMP config ?!?

I have also tried to set 
"config netbsd  root on ld0a type ffs"
within my XEN0 kernel config, but without any changes ... :( @#!*


On Sat, 2006-04-08 at 20:50 +0200, sp4rc wrote:
> anyone?
> 
> On Fri, 2006-04-07 at 17:29 +0200, sp4rc wrote:
> > Hello list-members,
> > 
> > i have installed the xen kernel (xenkernel20-2.0.7) on a netbsd 3.0 system and copied it to
> > root. Grub is installed and working. I have also compiled a GENERIC xen
> > kernel and copied it to /netbsd-xen0. (/usr/src/sys/arch/i386/conf/XEN0)
> > 
> > root@hydra > egrep -v "^#|^$" /grub/menu.lst  
> > default=2
> > timeout=10
> > title Xen 2.0 / NetBSD
> > root(hd0,0,a)
> > kernel (hd0,0,a)/xen.gz dom0_mem=65536 
> > module (hd0,0,a)/netbsd-xen0 root=/dev/hda1 ro console=tty0
> > title Xen 2.0 / NetBSD (backup)
> > root(hd0,0,a)
> > kernel (hd0,0,a)/xen.gz dom0_mem=65536
> > module (hd0,0,a)/netbsd-xen0.backup root=/dev/hda1 ro console=tty0
> > title NetBSD chain
> > root        (hd0,0,a)
> > chainloader +1
> > 
> > The netbsd kernel is getting loaded but stucks when it comes to the root
> > device. So there must be something that I have missed. 
> > 
> > root@hydra > mount
> > /dev/ld0a on / type ffs (local)
> > proteus:/fileservice on /fileservice type nfs
> > kernfs on /kern type kernfs (local)
> > 
> > root@hydra > cat /grub/device.map
> > (fd0) /dev/rfd0a
> > (hd0)   /dev/rld0d
> > 
> > I have tried chaning 
> > 
> > module (hd0,0,a)/netbsd-xen0 root=/dev/hda1 ro console=tty0
> > 
> > to 
> > 
> > module (hd0,0,a)/netbsd-xen0 root=/dev/ld0a ro console=tty0
> > 
> > and 
> > 
> > module (hd0,0,a)/netbsd-xen0 root(hd0,0,a) ro console=tty0
> > 
> > but none of them worked. Any hints on this?

-- 
/sp4rc