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/24/2006 15:30:19
Thank you for your reply.

My kernel config (added options DIAGNOSTIC & options DEBUG):
http://geekrants.org/francis/netbsd/pickle

dmesg:
http://geekrants.org/francis/netbsd/dmesg.txt


If I try again the same thing happens :

**********************
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 0xcb345fc8 epc 0x80208374 
vaddr 0xc0001000
syncing disks... done

dumping to dev 6,1 offset 296693
dump 143 142 141 140 139 138 137 136 135 134 133 132 131 130 129 128 127 
126 125 124 123 122 121 120 119 118 117 116 115 114 113 112 111 110 109 
108 107 106 105 104 103 102 101 100 99 98 97 96 95 94 93 92 91 90 89 88 
87 86 85 84 83 82 81 80 79 78 77 76 75 74 73 72 71 70 69 68 67 66 65 64 
63 62 61 60 59 58 57 56 55 54 5 3 52 51 50 49 48 47 46 45 44 43 42 41 40 
39 38 37 36 35 34 33 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 area improper


rebooting...
**********************

I'll add DDB to the kernel but I'm not familiar with kernel debugging.

Any ideas?


Francis


Izumi Tsutsui wrote:
> In article <444B3069.6030706@geekrants.org>
> netbsd@geekrants.org wrote:
> 
>> # ifconfig bridge0 create
>> # brconfig bridge0 add tlp0
>> # brconfig bridge0 add tlp1
>> # brconfig bridge 0 up
>  :
>> panic: TLB out of universe: ksp 0xcb485f60 epc 0x8009f1a8 vaddr 0xc0001000
>> Syncing disks...
> 
> What is your kernel config?
> Could you post your dmesg?
> Could you try kernel with options DIAGNOSTIC or options DEBUG?
> 
> vaddr 0xc0001000 shouldn't cause TLB out of range, so
> some bug might cause memory corruption?
> 
> BTW, it seems to work on my RaQ2:
> ---
> # uname -v
> NetBSD 3.99.18 (GENERIC) #1: Sat Apr 15 20:20:06 JST 2006  \
> tsutsui@mirage:/amd/eclipse/r/cvs/netbsd/src/sys/arch/cobalt/compile/GENERIC
> # brconfig -a
> bridge0: flags=41<UP,RUNNING>
>         Configuration:
>                 priority 32768 hellotime 2 fwddelay 15 maxage 20
>                 ipfilter disabled flags 0x0
>         Interfaces:
>                 tlp1 flags=3<LEARNING,DISCOVER>
>                         port 2 priority 128
>                 tlp0 flags=3<LEARNING,DISCOVER>
>                         port 1 priority 128
>         Address cache (max cache: 100, timeout: 1200):
>                 00:01:03:ce:74:48 tlp0 1179 flags=0<>
>                 00:a0:b0:14:aa:24 tlp0 1148 flags=0<>
>                 00:00:4c:31:6d:0e tlp1 540 flags=0<>
>                 00:08:74:b3:2c:7f tlp0 4294967266 flags=0<>
> #
> ---
> (though the number of 4294967266 looks bad)
> 
> ---
> Izumi Tsutsui
>