Port-xen archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: WAPBL + xen3 amd64 = idle loop - [was: amd64 xen3_dom0 failing to boot - stalls (generic boots fine)]



Sarton O'Brien wrote:
Andrew Doran wrote:
Is this -current or 5.0?
NetBSD 5.99.7 (XEN3_DOMU) #1: Tue Feb  3 10:35:20 EST 2009
       root%spike.internal@localhost:/usr/obj/sys/arch/amd64/compile/XEN3_DOMU
total memory = 512 MB
avail memory = 486 MB

I saw some commits to kern so updated just to check, same results (that's +10 EST in the dmesg below btw). I was wondering why my other domu boots but this one fails. I realised there was an entry in the failing domu's fstab that referenced a device/fs not currently being exported to the domu. Removing this entry prevents the panic.

The entry was:
/dev/xbd1a     /usr/local/svc/storage0 ffs     rw              0 0

So it looks like it's an issue with mount_ffs identifying a non-existent fs and moving on.

So the two problems I've encountered are xen+wapbl cause idle loop and fstab entries for non-existent filesystems causing a panic.

I hope this info helps :) ... I'm still more than happy to poke around for the rest of today but after that I'll be back into my usual routine and won't be able to test anything quickly.

The dmesg/panic from 10 mins ago, just for the record:

# xm create spike -c
Using config file "/usr/pkg/etc/xen/spike".
Started domain spike
Loaded initial symtab at 0xffffffff806541e4, strtab at 0xffffffff806a1450, # entries 13075
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
   2006, 2007, 2008, 2009
   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 5.99.7 (XEN3_DOMU) #1: Thu Feb  5 11:27:19 EST 2009
root%gogeta.internal@localhost:/mnt/usr/src/sys/arch/amd64/compile/obj/XEN3_DOMU
total memory = 512 MB
avail memory = 486 MB
mainbus0 (root)
hypervisor0 at mainbus0: Xen version 3.3
vcpu0 at hypervisor0: Intel 686-class, 2793MHz, id 0xf44
xenbus0 at hypervisor0: Xen Virtual Bus Interface
xencons0 at hypervisor0: Xen Virtual Console Driver
xencons0: using event channel 2
xbd0 at xenbus0 id 0: Xen Virtual Block Device Interface
xennet0 at xenbus0 id 0: Xen Virtual Network Interface
xennet0: MAC address 00:16:3e:3b:07:01
raidattach: Asked for 8 units
Kernelized RAIDframe activated
Searching for RAID components...
boot device: xbd0
root on xbd0a dumps on xbd0b
mountroot: trying smbfs...
mountroot: trying ntfs...
mountroot: trying nfs...
mountroot: trying msdos...
mountroot: trying lfs...
mountroot: trying ext2fs...
mountroot: trying ffs...
root file system type: ffs
init: copying out path `/sbin/init' 11
Thu Feb  5 11:31:08 EST 2009
swapctl: setting dump device to /dev/xbd0b
swapctl: adding /dev/xbd0b as swap device at priority 0
Starting file system checks:
/dev/rxbd0a: file system is clean; not checking
Setting tty flags.
Setting sysctl variables:
Starting network.
Hostname: spike.internal
NIS domainname: internal
IPv6 mode: host
Configuring network interfaces: xennet0.
Adding interface aliases:.
add net default: gateway 192.168.210.1
Building databases: dev, utmp, utmpx done
/etc/rc: WARNING: $named9 is not set properly - see rc.conf(5).
Starting syslogd.
Checking for core dump...
savecore - - - no core dump
/etc/rc: WARNING: $named9 is not set properly - see rc.conf(5).
Starting rpcbind.
Starting ypserv.
Starting ypbind.
Starting yppasswdd.
Mounting all filesystems...
Reader / writer lock error: rw_vector_exit: assertion failed: RW_COUNT(rw) != 0

lock address : 0xffffa00024733110
current cpu  :                  0
current lwp  : 0xffffa000248fabc0
owner/count  : 000000000000000000 flags    : 000000000000000000

panic: lock error
fatal breakpoint trap in supervisor mode
trap type 1 code 0 rip ffffffff80129aad cs e030 rflags 246 cr2 7f7ffd9710f0 cpl 0 rsp ffffa0002492d690
Stopped in pid 164.1 (mount_ffs) at     netbsd:breakpoint+0x5:  leave
breakpoint() at netbsd:breakpoint+0x5
panic() at netbsd:panic+0x242
lockdebug_abort() at netbsd:lockdebug_abort+0x42
rw_vector_exit() at netbsd:rw_vector_exit+0xa6
vlockmgr() at netbsd:vlockmgr+0xd8
VOP_UNLOCK() at netbsd:VOP_UNLOCK+0x28
spec_open() at netbsd:spec_open+0x33e
VOP_OPEN() at netbsd:VOP_OPEN+0x29
ffs_mount() at netbsd:ffs_mount+0x1c7
do_sys_mount() at netbsd:do_sys_mount+0x62d
sys___mount50() at netbsd:sys___mount50+0x33
syscall() at netbsd:syscall+0xb4
ds          0x6c5c
es          0x8297
fs          0xd670
gs          0x12
rdi         0
rsi         0xd
rbp         0xffffa0002492d690
rbx         0xffffa0002492d6a0
rdx         0
rcx         0
rax         0x1
r8          0xffffffff805891c0  cpu_info_primary
r9          0x1
r10         0xffffa0002492d5b0
r11         0xffffffff803ac120  xenconscn_putc
r12         0x104
r13         0xffffffff80406c5c  copyright+0xe3dc
r14         0xffffffff80590dc0  rwlock_lockops
r15         0xffffa000246f9a08
rip         0xffffffff80129aad  breakpoint+0x5
cs          0xe030
rflags      0x246
rsp         0xffffa0002492d690
ss          0xe02b
netbsd:breakpoint+0x5:  leave
db> ps/l
PID    LID S CPU     FLAGS       STRUCT LWP *               NAME WAIT
164  >   1 7   0         4   ffffa000248fabc0          mount_ffs
163      1 3   0        84   ffffa000245dd7c0              mount wait
159      1 3   0        84   ffffa000232397c0                 sh wait
155      1 3   0        84   ffffa000245dd000      rpc.yppasswdd select
145      1 3   0        84   ffffa000245dd3e0             ypbind select
146      1 3   0        84   ffffa000245ddba0             ypserv select
141      1 3   0        84   ffffa00023239ba0            rpcbind select
110      1 3   0        84   ffffa0002323b420            syslogd kqueue
2        1 3   0        84   ffffa000232393e0                 sh wait
1        1 3   0        84   ffffa0002323a400               init wait
0       29 3   0       204   ffffa0002323b040            physiod physiod
28 3 0 204 ffffa00023239000 vmem_rehash vmem_reha
sh
27 3 0 204 ffffa0002323abc0 aiodoned aiodoned 26 3 0 204 ffffa0002323a7e0 ioflush syncer 25 3 0 204 ffffa0002323a020 pgdaemon pgdaemon 24 3 0 204 ffffa00023231040 cryptoret crypto_wa
it
             23 2   0       204   ffffa0002323b800             xenbus
             22 3   0       204   ffffa0002323bbe0           xenwatch evtsq
12 3 0 204 ffffa00023231420 pmfevent pmfevent 11 3 0 204 ffffa00023231800 nfssilly nfssilly 10 3 0 204 ffffa00023231be0 cachegc cachegc
              9 3   0       204   ffffa0002322e020              vrele vrele
8 3 0 204 ffffa0002322e400 modunload modunload

              7 3   0       204   ffffa0002322e7e0            xcall/0 xcall
              6 1   0       204   ffffa0002322ebc0          softser/0
              5 1   0       204   ffffa0002322c000          softclk/0
              4 1   0       204   ffffa0002322c3e0          softbio/0
              3 1   0       204   ffffa0002322c7c0          softnet/0
              2 1   0       205   ffffa0002322cba0             idle/0
1 3 0 204 ffffffff80590880 swapper schedule
db>

Sarton


Home | Main Index | Thread Index | Old Index