Subject: Boot message errors: w/ NetBSD/xen
To: None <port-xen@netbsd.org>
From: chuey <looking@sexykula.com>
List: port-xen
Date: 03/05/2005 09:29:41
Hi everyone.

I installed pkgsrc/sysutils/xen12 and pkgsrc/sysutils/xentools12, 
compiled a kernel from src/sys/arch/xen/GENERIC and xen12load from 
src/sys/arch/xen/stand and copied them to /grub/{xen-1.2.gz, 
xen12netbsd, and xen12load}.  Edited grub/menu.lst with the following 
entries:

    default 0
    timeout 5

    root (hd0,0,a)

     title NetBSD
        rootnoverify (hd0,0)
        chainloader +1

      title Xen / NetBSD
        kernel /grub/xen-1.2.gz dom0_mem=131072
        module /grub/xen12load root=/dev/wd0a
        module /grub/xen12netbsd

I am able to boot into Xen / NetBSD, but I am getting "dev/wd0a:  device 
busy" error messages during the boot sequence.  Did I miss a step(s) 
along the way?  Any help would be greatly appreciated. 

Here is the output from dmesg:

NetBSD 2.0.1 (GENERIC) #0: Fri Mar  4 22:37:00 PST 2005
        root@shredder.happy.chu:/usr/src/sys/arch/xen/compile/GENERIC
total memory = 124 MB
avail memory = 121 MB
mainbus0 (root)
cpu0 at mainbus0: (uniprocessor)
cpu0: AMD Athlon XP 2600+ (686-class), 2088.08 MHz, id 0x681
cpu0: features c3c3fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR>
cpu0: features c3c3fbff<PGE,MCA,CMOV,PAT,PSE36,MMXX,MMX>
cpu0: features c3c3fbff<FXSR,SSE,3DNOW2,3DNOW>
cpu0: I-cache 64 KB 64B/line 2-way, D-cache 64 KB 64B/line 2-way
cpu0: L2 cache 256 KB 64B/line 16-way
cpu0: ITLB 16 4 KB entries fully associative, 8 4 MB entries fully 
associative
cpu0: DTLB 32 4 KB entries fully associative, 8 4 MB entries 4-way
cpu0: 8 page colors
hypervisor0 at mainbus0
xenkbc0 at hypervisor0: Xen Keyboard/Mouse Device
pckbd0 at xenkbc0 (kbd slot)
wskbd0 at pckbd0: console keyboard
pms0 at xenkbc0 (aux slot)
wsmouse0 at pms0 mux 0
vga0 at hypervisor0
wsdisplay0 at vga0 kbdmux 1: console (80x25, vt100 emulation), using wskbd0
wsmux1: connecting to wsdisplay0
xencons0 at hypervisor0: Xen Virtual Console Driver
xennet0 at hypervisor0: Xen Virtual Network Interface
xennet0: MAC address aa:00:00:00:00:00
wd0 at hypervisor0: Xen Virtual Block Device 111 GB
wd1 at hypervisor0: Xen Virtual Block Device 19541 MB
cd0 at hypervisor0: Xen Virtual Block Device 0
cd1 at hypervisor0: Xen Virtual Block Device 0
npx0 at hypervisor0: using exception 16
Kernelized RAIDframe activated
crypto: assign driver 0, flags 2
crypto: driver 0 registers alg 1 flags 0 maxoplen 0
crypto: driver 0 registers alg 2 flags 0 maxoplen 0
crypto: driver 0 registers alg 3 flags 0 maxoplen 0
crypto: driver 0 registers alg 4 flags 0 maxoplen 0
crypto: driver 0 registers alg 5 flags 0 maxoplen 0
crypto: driver 0 registers alg 17 flags 0 maxoplen 0
crypto: driver 0 registers alg 6 flags 0 maxoplen 0
crypto: driver 0 registers alg 7 flags 0 maxoplen 0
crypto: driver 0 registers alg 15 flags 0 maxoplen 0
crypto: driver 0 registers alg 8 flags 0 maxoplen 0
crypto: driver 0 registers alg 16 flags 0 maxoplen 0
crypto: driver 0 registers alg 9 flags 0 maxoplen 0
crypto: driver 0 registers alg 10 flags 0 maxoplen 0
crypto: driver 0 registers alg 13 flags 0 maxoplen 0
crypto: driver 0 registers alg 14 flags 0 maxoplen 0
crypto: driver 0 registers alg 11 flags 0 maxoplen 0
crypto: driver 0 registers alg 18 flags 0 maxoplen 0
boot device: wd0
root on wd0a dumps on wd0b
root file system type: ffs
wsdisplay0: screen 1 added (80x25, vt100 emulation)
wsdisplay0: screen 2 added (80x25, vt100 emulation)
wsdisplay0: screen 3 added (80x25, vt100 emulation)
wsdisplay0: screen 4 added (80x25, vt100 emulation)



Cheers,

chuey