NetBSD-Bugs archive

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

port-alpha/38358: LOCKDEBUG panic when attaching tsp1



>Number:         38358
>Category:       port-alpha
>Synopsis:       LOCKDEBUG panic when attaching tsp1
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    port-alpha-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Apr 02 17:55:00 +0000 2008
>Originator:     Jarle Greipsland
>Release:        -current
>Organization:
        
>Environment:
        
        
System: NetBSD sweetheart.urc.uninett.no 4.99.58 NetBSD 4.99.58 
(GENERIC-$Revision: 1.314 $) #1: Sat Mar 29 20:46:15 CET 2008  
jarle%sweetheart.urc.uninett.no@localhost:/usr/obj/sys/arch/alpha/compile/CS20.MP
 alpha
Architecture: alpha
Machine: alpha
>Description:
I'm trying to boot a very recent -current kernel on a CS20 dual cpu system,
and the kernel panics during autoconfig:
Boot file: netbsd
Boot flags: a
3717536+499256 [255144+163989]=0x46c418

Entering netbsd at 0xfffffc0000301210...
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
    2006, 2007, 2008
    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.58 (GENERIC-$Revision: 1.314 $) #0: Wed Apr  2 19:20:16 CEST 2008
        
jarle%sweetheart.urc.uninett.no@localhost:/usr/obj/sys/arch/alpha/compile/CS20.MP
API CS20D 833 MHz, s/n 
8192 byte page size, 2 processors.
total memory = 1024 MB
(2776 KB reserved for PROM, 1021 MB used by NetBSD)
avail memory = 1001 MB
mainbus0 (root)
cpu0 at mainbus0: ID 0 (primary), 21264B-3
cpu0: Architecture extensions: 1307<PAT,MVI,CIX,FIX,BWX>
cpu1 at mainbus0: ID 1, 21264B-3
cpu1: Architecture extensions: 1307<PAT,MVI,CIX,FIX,BWX>
tsc0 at mainbus0: 21272 Core Logic Chipset, Cchip rev 0
tsc0: 4 Dchips, 1 memory bus of 32 bytes
tsc0: arrays present: 1024MB, 0MB, 0MB, 0MB, Dchip 0 rev 1
tsp0 at tsc0
pci0 at tsp0 bus 0
esiop0 at pci0 dev 3 function 0: Symbios Logic 53c1010-66 (ultra3-wide scsi)
esiop0: using on-board RAM
esiop0: interrupting at dec 6600 irq 16
scsibus0 at esiop0: 16 targets, 8 luns per target
fxp0 at pci0 dev 4 function 0: i82559 Ethernet, rev 8
fxp0: interrupting at dec 6600 irq 20
fxp0: Ethernet address 00:02:56:00:06:f9
inphy0 at fxp0 phy 1: i82555 10/100 media interface, rev. 4
inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
sio0 at pci0 dev 7 function 0: Acer Labs M1533 PCI-ISA Bridge (rev. 0xc3)
aceride0 at pci0 dev 16 function 0
aceride0: Acer Labs M5229 UDMA IDE Controller (rev. 0xc2)
aceride0: primary channel interrupting at isa irq 14
atabus0 at aceride0 channel 0
aceride0: secondary channel interrupting at isa irq 15
atabus1 at aceride0 channel 1
Acer Labs M7101 Power Management Controller (miscellaneous prehistoric) at pci0 
dev 17 function 0 not configured
isa0 at sio0
lpt0 at isa0 port 0x3bc-0x3bf irq 7
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
com0: console
com1 at isa0 port 0x2f8-0x2ff irq 3: ns16550a, working fifo
attimer0 at isa0 port 0x40-0x43: AT Timer
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
isabeep0 at pcppi0
mcclock0 at isa0 port 0x70-0x71: mc146818 compatible time-of-day clock
attimer0: attached to pcppi0
tsp1 at tsc0
Mutex error: lockdebug_alloc: already initialized

lock address : 0xfffffc00006ccfe0 type     :               spin
shared holds :                  0 exclusive:                  0
shares wanted:                  0 exclusive:                  0
current cpu  :                  0 last held:                  0
current lwp  : 0xfffffc000067e660 last held: 000000000000000000
last locked  : 0xfffffc00004d78b8 unlocked : 0xfffffc00004d79fc
initialized  : 0xfffffc00004d7bc4
owner field  : 000000000000000000 wait/spin:                0/0

panic: LOCKDEBUG
Stopped in pid 0.1 (system) at  netbsd:cpu_Debugger+0x4:        ret     zero,(ra
)
db{0}> trace
cpu_Debugger() at netbsd:cpu_Debugger+0x4
panic() at netbsd:panic+0x264
lockdebug_abort1() at netbsd:lockdebug_abort1+0x108
lockdebug_alloc() at netbsd:lockdebug_alloc+0x10c
mutex_init() at netbsd:mutex_init+0x5c
extent_create() at netbsd:extent_create+0xe4
tsp_bus_io_init() at netbsd:tsp_bus_io_init+0x278
tsp_init() at netbsd:tsp_init+0x84
tspattach() at netbsd:tspattach+0x4c
config_attach_loc() at netbsd:config_attach_loc+0x208
tscattach() at netbsd:tscattach+0x1f8
config_attach_loc() at netbsd:config_attach_loc+0x208
mbattach() at netbsd:mbattach+0x158
config_attach_loc() at netbsd:config_attach_loc+0x208
cpu_configure() at netbsd:cpu_configure+0x30
configure() at netbsd:configure+0x5c
main() at netbsd:main+0x380
locorestart() at netbsd:locorestart+0x68
--- root of call graph ---
db{0}> show reg
v0          0x6
t0          0x1
t1          0x1
t2          0xfffffc003ff48000
t3          0xfffffc003ff496a6
t4          0
t5          0xfffffc00005f549f  dosdirtemplate+0xfaf
t6          0
t7          0
s0          0xfffffc000068c36c  msgbufenabled
s1          0x100
s2          0xfffffc000068b098  db_onpanic
s3          0xfffffc00006eb580  ld_prime+0x78
s4          0x1
s5          0xfffffc00006cb0e0  bt_cache+0x60
s6          0xffffffff
a0          0x6
a1          0xfffffd01fc0003f8
a2          0
a3          0x8
a4          0x3
a5          0x8
t8          0xfffffc000020393f
t9          0x8
t10         0x800000000000000
t11         0xfffffe0013232848
ra          0xfffffc00004e2564  panic+0x264
t12         0xfffffc00005b9d60  cpu_Debugger
at          0xdfffffffffffffff
gp          0xfffffc000068b0e0  esiop_led_off+0x4
sp          0xfffffc0000203a58
pc          0xfffffc00005b9d64  cpu_Debugger+0x4
ps          0x6
ai          0xfffffe0013232848
pv          0xfffffc00005b9d60  cpu_Debugger
netbsd:cpu_Debugger+0x4:        ret     zero,(ra)

        
>How-To-Repeat:
        
>Fix:
        

>Unformatted:
        
        


Home | Main Index | Thread Index | Old Index