Subject: XEN3 starts crashing recently while booting
To: None <port-xen@NetBSD.org>
From: Kazushi (Jam) Marukawa <jam@pobox.com>
List: port-xen
Date: 03/07/2007 22:29:14
Hi,

I noticed both XEN3 DOM0 and DOMU started crashing recently
at boot-time.  Kernel of 2/25 00:00 UTC is OK.  Kernel of
3/5 00:00 UTC is no good.  It looks like recent
modifications started causing this problem.

Several files at sys/arch/xen/xen are modified recently.  I
attached the log from the crash.  Does someone have idea
about the reason of this crash?  Thanks.

In addition, I'm using GA-8I945GMMFY-RH and T2300 with 2GB
RAM.

---
(XEN) *** Serial input -> DOM0 (type 'CTRL-a' three times to switch input to Xen).
pmap_mem_end find: old update failed 00000000
Loaded initial symtab at 0xc0985f40, strtab at 0xc09e4b7c, # entries 22781
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
    2006, 2007
    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 4.99.13 (XEN3_DOM0) #0: Wed Mar  7 14:07:06 JST 2007
        jam@fs:/usr/obj/mnt/raid/netbsd/current/src/sys/arch/i386/compile/XEN3_DOM0
total memory = 512 MB
avail memory = 492 MB
BIOS32 rev. 0 found at 0xfab30
mainbus0 (root)
mainbus0: scanning 0x9f000 to 0x9f3f0 for MP signature
mainbus0: scanning 0x9ec00 to 0x9eff0 for MP signature
mainbus0: scanning 0xf0000 to 0xffff0 for MP signature
mainbus0: MP floating pointer found in bios at 0xf4da0
mainbus0: MP config table at 0xf0d00, 364 bytes long
cpu0 at mainbus0 apid 0: (boot processor)
cpu1 at mainbus0 apid 1: (application processor)
ioapic0 at mainbus0 apid 2
ioapic0: pa 0xfec00000, virtual wire mode, version 20, 24 pins
ioapic0: misconfigured as apic 0
ioapic0: can't remap to apid 2
hypervisor0 at mainbus0
uvm_fault(0xc097d5c0, 0, 1) -> 0xe
kernel: supervisor trap page fault, code=0
Stopped in pid 0.1 (swapper) at netbsd:xenbus_match+0x1d:       repe cmpsb      (
%esi),%es:(%edi)
db> trace
xenbus_match(c14cb280,c08ce480,c0ac9ab4,c08ce480,c08ce480) at netbsd:xenbus_matc
h+0x1d
mapply(c082e6a0,c082e6a0,4000,0,ffffffff) at netbsd:mapply+0x5b
config_search_loc(0,c14cb280,c082e6a0,0,c0ac9ab4) at netbsd:config_search_loc+0x
f0
config_found_sm_loc(c14cb280,c082e6a0,0,c0ac9ab4,c0518460) at netbsd:config_foun
d_sm_loc+0x3c
config_found_ia(c14cb280,c082e6a0,c0ac9ab4,c0518460,c14cb280) at netbsd:config_f
ound_ia+0x32
hypervisor_attach(c14c1fc0,c14cb280,c0ac9b68,0,c0ac9b68) at netbsd:hypervisor_at
tach+0x52
config_attach_loc(c14c1fc0,c08ce468,0,c0ac9b68,c05180a0) at netbsd:config_attach
_loc+0x156
config_found_ia(c14c1fc0,c082e692,c0ac9b68,c05180a0,c14c1fc0) at netbsd:config_f
ound_ia+0x32
mainbus_attach(0,c14c1fc0,0,c043e40e,c082e19b) at netbsd:mainbus_attach+0x5d
config_attach_loc(0,c08ce450,0,0,0) at netbsd:config_attach_loc+0x156
config_attach(0,c08ce450,0,0,c0ac6c10) at netbsd:config_attach+0x2c
config_rootfound(c082e19b,0,c0486860,c0ac6c10,1) at netbsd:config_rootfound+0x44

cpu_configure(c0955c50,2,0,c04430f2,c097f930) at netbsd:cpu_configure+0x30
configure(c097e240,1,c09818a0,c0ac9c7c,c04de552) at netbsd:configure+0x33
main(c01001df,c01001e7,0,0,0) at netbsd:main+0x104
db>

-- Kazushi