Subject: Re: Panic when bringing up network bridge
To: None <port-cobalt@NetBSD.org>
From: Francis Koclas <netbsd@geekrants.org>
List: port-cobalt
Date: 04/25/2006 14:11:14
Hi,
I get the following with GENERIC :
pickle ~ # uname -a
NetBSD pickle 3.0 NetBSD 3.0 (GENERIC) #0: Sun Dec 18 22:39:34 UTC 2005
builds@b3.netbsd.org:/home/builds/ab/netbsd-3-0-RELEASE/cobalt/200512182024Z-obj/home/
builds/ab/netbsd-3-0-RELEASE/src/sys/arch/cobalt/compile/GENERIC cobalt
pickle ~ #
pickle ~ # ifconfig bridge0 create
pickle ~ # brconfig bridge0 add tlp0
pickle ~ # brconfig bridge0 add tlp1
pickle ~ # brconfig bridge0 up
pickle ~ #
pickle ~ #
pickle ~ # panic: lockmgr: no context
Stopped at netbsd:cpu_Debugger+0x4: jr ra
bdslot: nop
db> trace
801c41b4+214 (88ffe000,0,bc800000,d) ra 80146b0c sz 0
panic+190 (88ffe000,d,bc800000,74) ra 80121b00 sz 40
80121924+1dc (88ffe000,d,bc800000,74) ra 0 sz 0
User-level: curlwp NULL
db>
With my kernel I get :
pickle ~ # uname -a
NetBSD pickle 3.0_STABLE NetBSD 3.0_STABLE (Qube2 config) #4: Tue Apr 25
05:20:16 EDT 2006
francis@epsilon.local:/Volumes/unix/netbsd/src/sys/arch/cobalt/compile/obj/pickle
cobalt
pickle ~ #
pickle ~ # ifconfig bridge0 create
pickle ~ # brconfig bridge0 add tlp0
pickle ~ # brconfig bridge0 add tlp1
pickle ~ # brconfig bridge0 up
pickle ~ # panic: TLB out of universe: ksp 0xcb491f60 epc 0x80169f84
vaddr 0xe60
9f000
Stopped at netbsd:cpu_Debugger+0x4: jr ra
bdslot: nop
db> trace
80204174+214 (88ffe000,0,bc800000,d) ra 8016a10c sz 0
panic+190 (88ffe000,d,bc800000,30) ra 80215e0c sz 40
80215d98+74 (88ffe000,d,bc800000,30) ra 0 sz 0
User-level: curlwp NULL
db>
Francis
Izumi Tsutsui wrote:
> In article <444D274B.2070306@geekrants.org>
> netbsd@geekrants.org wrote:
>
>> My kernel config (added options DIAGNOSTIC & options DEBUG):
>> http://geekrants.org/francis/netbsd/pickle
>
> Hmm, could you try GENERIC kernel first?
> If it works, can you try to check which option you added to your config
> triggers the panic? (maybe few people have tried ALTQ or IPSEC etc.)
>
>> I'll add DDB to the kernel but I'm not familiar with kernel debugging.
>
> Output of "trace" command on db> prompt might help:
> http://www.NetBSD.org/Documentation/kernel/#ddb
> ---
> Izumi Tsutsui
>