kernel 2.6.15.7 with madwifi-ng r1660. same config as ticket:732. On a soekris 4826 board, when i ifdown ath1 and subsequently ifup ath1, I get the following kernel panic:
# ifup ath1
ath1
unable to load wlan_scan_wds
ath2
unable to load wlan_scan_wds
ath3
ath2: Added WDS MAC: 00:0b:6b:35:c8:bd
ath3: Added WDS MAC: 00:0b:6b:36:d1:46
fixed rate 0 not in rate set------------[ cut here ]------------
kernel BUG at /usr/src/madwifi-ng-2/ath_rate/sample/sample.c:832!
invalid operand: 0000 [#1]
Modules linked in: wlan_scan_ap ath_pci ath_rate_sample wlan ath_hal
CPU: 0
EIP: 0060:[<c48086f0>] Tainted: P VLI
EFLAGS: 00010282 (2.6.15.7-metrix)
EIP is at ath_rate_ctl_reset+0x1d0/0x430 [ath_rate_sample]
eax: 0000001f ebx: ffffffff ecx: c0308de4 edx: c0308de4
esi: c38ca2e4 edi: c38ca1ae ebp: c4863380 esp: c3701d6c
ds: 007b es: 007b ss: 0068
Process ifconfig (pid: 353, threadinfo=c3700000 task=c12f25b0)
Stack: c4808f60 00000000 c38ca000 c3e82260 c3e82260 c3e82260 00000000 c3704000
c37048ec c37048e0 c37048d4 c37048c8 00000008 c3899260 c480850e c3e82260
c38ca000 c3899260 c38ca000 c489d4a2 c3e82260 c38ca000 00000001 c3e839d4
Call Trace:
[<c480850e>] ath_rate_newassoc+0x4e/0x60 [ath_rate_sample]
[<c489d4a2>] ath_newassoc+0x22/0x90 [ath_pci]
[<c489cba6>] ath_newstate+0x476/0x6c0 [ath_pci]
[<c48771e6>] ieee80211_new_state+0x26/0x40 [wlan]
[<c48700c9>] ieee80211_sta_join1_tasklet+0x19/0x30 [wlan]
[<c01143dd>] tasklet_action+0x3d/0x70
[<c011416a>] __do_softirq+0x3a/0x90
[<c01141e2>] do_softirq+0x22/0x30
[<c0114249>] local_bh_enable+0x59/0x70
[<c48771f0>] ieee80211_new_state+0x30/0x40 [wlan]
[<c4876deb>] ieee80211_init+0xcb/0xe0 [wlan]
[<c4876e0c>] ieee80211_open+0xc/0x10 [wlan]
[<c01faaf6>] dev_open+0x36/0x70
[<c01fbce1>] dev_change_flags+0x51/0x110
[<c0234e80>] devinet_ioctl+0x2b0/0x570
[<c0236bb7>] inet_ioctl+0x57/0x90
[<c01f25be>] sock_ioctl+0x20e/0x220
[<c014f9e7>] do_ioctl+0x27/0x60
[<c014fc78>] vfs_ioctl+0x188/0x1a0
[<c014fcc1>] sys_ioctl+0x31/0x50
[<c01027c9>] syscall_call+0x7/0xb
Code: 1b 89 cf 89 d1 8d b6 00 00 00 00 4b 78 12 8a 04 3b 24 7f 25 ff 00 00 00 39 c8 75 ef 85 db 7d 16 52 68 60 8f 80 c4 e8 70 7f 90 fb <0f> 0b 40 03 80 8c 80 c4 83 c4 08 89 1e 8b 44 24 38 89 98 e0 01
<0>Kernel panic - not syncing: Fatal exception in interrupt
<0>Rebooting in 5 seconds..