Subject: Re: HEAD install kernel crashes
To: Nate Bohlmann <njb@elfwerks.com>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: port-xen
Date: 05/09/2006 23:38:10
On Tue, May 09, 2006 at 02:22:45PM -0600, Nate Bohlmann wrote:
> Hi,
> I'm trying to install a domU Netbsd on my CentOS 4.2 dom0 system and
> am having problems. Reading the archives says that the INSTALL_XEN3_U
> kernel should work but I get the following crash:
>
> [root@pitbull xen]# /usr/sbin/xm console 1
> [ Kernel symbol table missing! ]
> Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
> 2005, 2006
> The NetBSD Foundation, Inc. All rights reserved.
> Copyright (c) 1982, 1986, 1989, 1991, 1993
> The Regents of the University of California. All rights reserved.
>
> NetBSD 3.99.18 (INSTALL_XEN3_U) #0: Tue May 2 22:18:52 UTC 2006
>
> riz@b2.netbsd.org:/home/builds/ab/HEAD/i386/200605020000Z-obj/home/builds/ab/HEAD/src/sys/arch/i386/compile/INSTALL_XEN3_U
> total memory = 256 MB
> avail memory = 244 MB
> mainbus0 (root)
> cpu0 at mainbus0: (uniprocessor)
> cpu0: Intel (686-class), 2999.89 MHz, id 0xf43
> cpu0: features bfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR>
> cpu0: features bfebfbff<PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX>
> cpu0: features bfebfbff<FXSR,SSE,SSE2,SS,HTT,TM,SBF>
> cpu0: I-cache 12K uOp cache 8-way
> cpu0: ITLB 4K/4M: 64 entries
> cpu0: DTLB 4K/4M: 64 entries
> hypervisor0 at mainbus0
> debug virtual interrupt using event channel 3
> xenbus0 at hypervisor0: Xen Virtual Bus Interface
> xenbus0: using event channel 1
> xencons0 at hypervisor0: Xen Virtual Console Driver
> xencons0: console major 143, unit 0
> xencons0: using event channel 2
> npx0 at hypervisor0: using exception 16
> Xen clock: using event channel 4
> raidattach: Asked for 8 units
> Kernelized RAIDframe activated
> md0: internal 5000 KB image area
> xbd0 at xenbus0 id 52490: Xen Virtual Block Device Interface
> xbd0: using event channel 5
> xennet0 at xenbus0 id 0: Xen Virtual Network Interface
> xennet0: MAC address 00:16:3e:0b:ca:7f
> xennet0: using event channel 6
> uvm_fault(0xc07623a0, 0, 1) -> 0xe
> kernel: supervisor trap page fault, code=0
> Stopped in pid 3.1 (xenwatch) at 0xc022fcf4: cmpl $0,0xc(%eax)
> db>
>
> My netbsd.xen file is as follows:
>
> kernel="/home/njb/xen/netbsd-INSTALL_XEN3_U"
> memory=256
> name="NetBSD"
>
> vif = [ '' ]
>
> disk = [ 'phy:/dev/VolGroup00/NetBSD,wd0d,w' ]
> disk = [ 'phy:/dev/hda,cd0a,r' ]
I don't think you can device 2 disk devices this way; you need
disk = [ 'phy:/dev/VolGroup00/NetBSD,wd0d,w', 'phy:/dev/hda,cd0a,r' ]
Also I always specified a mac address and a bridge in my vif definition:
vif = [ 'mac=aa:00:00:50:02:f0, bridge=xen-br0']
--
Manuel Bouyer <bouyer@antioche.eu.org>
NetBSD: 26 ans d'experience feront toujours la difference
--