It's been an interesting two days. About a week ago, my OLPC XO arrived
in the mail; I turned it on and tried to find my wireless network.
Almost immediately my family complains there's no internet! Panic on
the OpenBSD router. Well, I had my work cut out for me because I'd
never setup serial console before. Thanks to FAQ; changes on router
were quite easy (even though it's i386 and there were lots of caveats
about maybe it won't work). Then to find a null-modem cable (I knew I
had usb/serial cable, but it took some time to find it). I could have
done it with just the null-modem cable; but that would mean I'd use a
windows system for console and I thought if I was going to do this; I'd
do it right - OpenBSD all the way. I did use a windows machine to make
sure everything was setup and hookup correctly; since I had used
hyperterm and null modems cables in another life. Then came a BIG
problem (for me). What program does one use on OpenBSD to talk on the
serial port? I figured the answer had to be out there somewhere (it was
- 'tip'); but it took me HOURS to find it. By comparison, it took only
a few minutes to learn how to modify /etc/remote to talk to usb/serial
cable on ttyU0. Then I had to wait for the people in the house to stop
using the internet...
panic is easily reproducible...
- power up the OLPC XO
- goto "neighbourhood"
- click on icon for my router.
- the OpenBSD router panics.
I'm not sure what to include, but here is ifconfig, trace, ps, dmesg.
$ ifconfig
lo0: flags=8049 mtu 33208
groups: lo
inet 127.0.0.1 netmask 0xff00
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5
fxp0: flags=8943 mtu 1500
lladdr 00:06:29:33:a4:91
media: Ethernet autoselect (100baseTX full-duplex)
status: active
inet 192.168.0.2 netmask 0xff00 broadcast 192.168.0.255
inet6 fe80::206:29ff:fe33:a491%fxp0 prefixlen 64 scopeid 0x1
vr0: flags=8843 mtu 1500
lladdr 00:50:ba:0a:33:9d
media: Ethernet autoselect (100baseTX full-duplex)
status: active
inet6 fe80::250:baff:fe0a:339d%vr0 prefixlen 64 scopeid 0x2
ral0: flags=8943 mtu 1500
lladdr 00:12:17:99:70:2d
groups: wlan
media: IEEE802.11 autoselect mode 11g hostap
status: active
ieee80211: nwid XX chan 11 bssid 00:12:17:99:70:2d nwkey
100dBm
inet 10.0.0.2 netmask 0xff00 broadcast 10.0.0.255
inet6 fe80::212:17ff:fe99:702d%ral0 prefixlen 64 scopeid 0x3
enc0: flags=0<> mtu 1536
pppoe0: flags=8851 mtu 1492
dev: vr0 state: session
sid: 0x395 PADI retries: 0 PADR retries: 0 time: 00:15:51
sppp: phase network authproto pap authname "b1XX"
groups: pppoe egress
inet6 fe80::206:29ff:fe33:a491%pppoe0 -> prefixlen 64 scopeid 0x6
inet 65.95.136.148 --> 64.230.197.50 netmask 0x
bridge0: flags=41 mtu 1500
groups: bridge
pflog0: flags=141 mtu 33208
groups: pflog
panic: bogus long slot station count 0
Stopped at Debugger+0x4: leave
RUN AT LEAST 'trace' AND 'ps' AND INCLUDE OUTPUT WHEN REPORTING THIS PANIC!
DO NOT EVEN BOTHER REPORTING THIS WITHOUT INCLUDING THAT INFORMATION!
ddb> trace
Debugger(d6445800,d07ac840,d08c7bdc,d0f48030,d1082e00) at Debugger+0x4
panic(d0686960,0,d08c7c1c,d0f4a0c0,d0f28300) at panic+0x63
ieee80211_node_leave_11g(d0f48030,d1082e00,d08c7c0c,0) at
ieee80211_node_leave_
11g+0xa2
ieee80211_node_leave(d0f48030,d1082e00,d1082e00,58,0) at
ieee80211_node_leave+0
x94
ieee80211_input(d0f48030,d6615d00,d1082e00,58,0,d62e0800) at
ieee80211_input+0x
267
rt2560_decryption_intr(d0f48000,d08c,0,0) at rt2560_decryption_intr+0x296
rt2560_intr(d0f48000) at rt2560_intr+0xfa
Xrecurse_legacy9() at Xrecurse_legacy9+0xb1
--- interrupt ---
apm_cpu_idle(c0,d078d380,d078d200,7fff,d0335a7b) at apm_cpu_idle+0x42
idle_loop(d08c7f00,4,d08c7f18,d0332d66,d08c7f00) at idle_loop+0x5
sleep_finish(d08c7f00,1,4,d06979cc,0) at sleep_finish+0x4d
tsleep(d078d200,4,d06979cc,0) at tsleep+0x7a
uvm_scheduler(d078d1dc,3,0,d064e610,2) at uvm_scheduler+0x1b
main(0,0,0,0,0) at main+0x713
ddb> ps
PID PPID PGRPUID S FLAGS WAIT COMMAND
25243 27935 27935 67 3 0x180 netconhttpd
18572 1 18572 0 3 0x4082 ttyin getty
6770 1 6770 0 3 0x4082 ttyin getty
23595 1 23595 0 3 0x4082 ttyin getty
12594 1 12594 0 3 0x4082 ttyin getty
30877 1 30877 0 3 0x4082 ttyin getty
18003 1 18003 0 3 0x4082 ttyin getty
8486 17547 17547 0 3 0x181 pause smbd
21508 1 21508 0 30x80 selectcron
8324 1 8324 0 30x81 selectnmbd
17547 1 17547 0 3