4.1 panic: bogus long slot station count 0

2008-02-04 Thread Damon McMahon
me to 20us
entering promiscuous mode
leaving promiscuous mode
entering promiscuous mode
leaving promiscuous mode
ral0: device timeout
setting MAC address to 00:13:d3:6a:bb:9d
setting slottime to 20us
updating PLCP for long preamble
updating PLCP for long preamble
setting slottime to 20us
setting BSSID to 00:13:d3:6a:bb:9d
enabling TSF synchronization
ral0: device timeout
setting MAC address to 00:13:d3:6a:bb:9d
setting slottime to 20us
updating PLCP for long preamble
updating PLCP for long preamble
setting slottime to 20us
setting BSSID to 00:13:d3:6a:bb:9d
enabling TSF synchronization
<3>duplicate IP address 192.168.1.17 sent from ethernet address 00:1e: 
52:72:20:

06
<3>duplicate IP address 192.168.1.17 sent from ethernet address 00:1e: 
52:72:20:

06
setting slottime to 9us
setting slottime to 20us
setting slottime to 9us
setting slottime to 20us
setting slottime to 20us
ral0: device timeout
setting MAC address to 00:13:d3:6a:bb:9d
setting slottime to 20us
updating PLCP for long preamble
updating PLCP for long preamble
setting slottime to 20us
setting BSSID to 00:13:d3:6a:bb:9d
enabling TSF synchronization
setting slottime to 9us
setting slottime to 20us
setting slottime to 9us
setting slottime to 20us
setting slottime to 9us
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> ddb>PID   PPID   PGRPUID  S   FLAGS  WAIT   COMMAND
  8784  28730  28730518  3  0x4180  kqread imap-login
 15653  28730  28730518  3  0x4180  kqread imap-login
 31432  28730  28730518  3  0x4180  kqread imap-login
 11477  1  11477 77  3   0x180  poll   dhcpd
 10201  28730  28730  0  3  0x4080  kqread dovecot-auth
 28730  1  28730  0  30x80  kqread dovecot
 18314   1669   1669 67  3   0x180  semwaithttpd
  8690   1669   1669 67  3   0x180  semwaithttpd
 20977   1669   1669 67  3   0x180  semwaithttpd
 20522   1669   1669 67  3   0x180  semwaithttpd
 28672   1669   1669 67  3   0x180  select httpd
 21392  1  21392  0  3  0x4082  ttyin  getty
 18419  1  18419  0  3  0x4082  ttyin  getty
  4436  1   4436  0  3  0x4082  ttyin  getty
 17654  1  17654  0  3  0x4082  ttyin  getty
  6167  1   6167  0  3  0x4082  ttyin  getty
  2168  1   2168  0  3  0x4082  ttyin  getty
 23607  1  23607  0  30x80  select cron
 25785  31406  31406 67  3   0x180  semwaithttpd
 25335  31406  31406 67  3   0x180  semwaithttpd
  1191  31406  31406 67  3   0x180  semwaithttpd
 22288  31406  31406 67  3   0x180  semwaithttpd
 29667  31406  31406 67  3   0x180  select httpd
 31406  1  31406  0  30x80  select httpd
 11821   1669   1669 67  3   0x180  semwaithttpd
  2449   1669   1669 67  3   0x180  semwaithttpd
 29500   1669   1669 67  3   0x180  semwaithttpd
 21494   1669   1669 67  3   0x180  semwaithttpd
 12716   1669   1669 67  3   0x180  semwaithttpd
 27643   4457   4457 70  3   0x180  select named
  4457  1   4457  0  3   0x180  netio  named
 16620  1  16620  0  30x80  select sshd
 20880  1  20880  0  3   0x180  select inetd
 25453  1  25453 71  3   0x180  kqread ftp-proxy
 14964  1  14964  0  3 0x40180  select sendmail
  1669  1   1669 67  3   0x180  select httpd
 25794  1  25794 77  3   0x180  poll   dhcpd
 25923  32701  32701 83  3   0x180  poll   ntpd
 32701  1  32701  0  30x80  poll   ntpd
  8845  30890  30890 68  3   0x180  select isakmpd
 30890  1  30890  0  30x80  netio  isakmpd
  5709  13131  13131 70  3   0x180  select named
 13131  1  13131  0  3   0x180  netio  named
 11950  28638  28638 74  3   0x180  bpfpflogd
 28638  1  28638  0  30x80  netio  pflogd
 23391  23020  23020 73  3   0x180  poll   syslogd
 23020  1  23020  0  30x88  netio  syslogd
14  0  0  0  30x100200  crypto_wa  crypto
13  0  0  0  30x100200  aiodoned   aiodoned
12  0  0  0  30x100200  syncer update
11  0  0  0  30x100200  cleanercleaner
10  0  0  0  30x100200  reaper reaper
 9  0  0  0  30x100200  pgdaemon   pagedaemon
 8  0  0  0  30x100200  pftm   pfpurge
 7  0  0  0  30x100200  wait   wskbd_hotkey

Re: panic: bogus long slot station count 0

2008-01-31 Thread Frank Bax

Frank Bax wrote:

panic is easily reproducible...
- power up the OLPC XO
- goto "neighbourhood"
- click on icon for my router.
- the OpenBSD router panics.


http://www.nabble.com/panic:-bogus-long-slot-station-count-0-td15142434.html

Is this a bug?  Is there anything (workaround?) I can do to get OLPC 
wireless connection?




panic: bogus long slot station count 0

2008-01-28 Thread Frank Bax

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