Please note: This project is no longer active. The website is kept online for historic purposes only.
If you´re looking for a Linux driver for your Atheros WLAN device, you should continue here .

Ticket #1709 (assigned defect)

Opened 11 years ago

Last modified 10 years ago

madwifi-ng r3081 produces kernel Oops: 817 when locking to 54Mbps rate on IXP4XX platform

Reported by: uniix <uniix@yahoo.com> Assigned to: proski (accepted)
Priority: major Milestone:
Component: madwifi: 802.11 stack Version: trunk
Keywords: r3081 Oops: 817 at 54M rate Cc:
Patch is attached: 0 Pending:

Description

wlan: svn r3081
ath_hal: module license 'Proprietary' taints kernel.
ath_hal: 0.9.30.13 (AR5210, AR5211, AR5212, AR5416, RF5111, RF5112, RF2413, RF5413, RF2133, REGOPS_FUNC)
ath_rate_minstrel: Minstrel automatic rate control algorithm 1.2 (svn r3081)
ath_rate_minstrel: look around rate set to 10%
ath_rate_minstrel: EWMA rolloff level set to 75%
ath_rate_minstrel: max segment size in the mrr set to 6000 us
wlan: mac acl policy registered
ath_pci: svn r3081
PCI: enabling device 0000:00:01.0 (0340 -> 0342)
ath_pci: switching rfkill capability off
ath_pci: switching per-packet transmit power control off
wifi0: 11a rates: 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
wifi0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
wifi0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
wifi0: turboA rates: 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
wifi0: turboG rates: 6Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
wifi0: H/W encryption support: WEP AES AES_CCM TKIP
wifi0: mac 5.9 phy 4.3 radio 3.6
wifi0: Use hw queue 1 for WME_AC_BE traffic
wifi0: Use hw queue 0 for WME_AC_BK traffic
wifi0: Use hw queue 2 for WME_AC_VI traffic
wifi0: Use hw queue 3 for WME_AC_VO traffic
wifi0: Use hw queue 8 for CAB traffic
wifi0: Use hw queue 9 for beacons
wifi0: Atheros 5212: mem=0x48000000, irq=28
fixed rate 108 not in rate set<1>Unable to handle kernel NULL pointer dereference at virtual address 00000000
pgd = c3918000
[00000000] *pgd=039f9031, *pte=00000000, *ppte=00000000
Internal error: Oops: 817 [#1]
Modules linked in: ath_pci wlan_xauth wlan_wep wlan_tkip wlan_ccmp wlan_acl ath_rate_minstrel ath_hal(P) wlan_scan_sta wlan_scan_ap wlan ipt_iprange ipt_ttl ipt_TOS ipt_tos xt_MARK xt_mark xt_mac xt_length xt_CLASSIFY imq ipt_IMQ ipt_layer7 ipt_ipp2p ipt_LOG xt_NOTRACK xt_connbytes xt_helper xt_CONNMARK xt_connmark tun
CPU: 0
pc : [<bf096aa8>]    lr : [<0000000c>]    Tainted: P
sp : c3583bfc  ip : c01ecd68  fp : c3583c44
r10: c3414800  r9 : c348a320  r8 : c3414b00
r7 : 0000000a  r6 : 00000003  r5 : c3414ae0  r4 : ffffffff
r3 : 00000000  r2 : 00000000  r1 : 00000001  r0 : 00000021
Flags: nZCv  IRQs off  FIQs on  Mode SVC_32  Segment user
Control: 39FF
Table: 03918000  DAC: 00000015
Process iwconfig (pid: 2342, stack limit = 0xc3582250)
Stack: (0xc3583bfc to 0xc3584000)
3be0:                                                                00000746
3c00: bf04b0a0 bf097d28 c343b320 bf093320 00000000 4ab71534 2b5d517e 20000093
3c20: 20000013 0000000e c348aca4 00000000 bf096c68 00000000 c3583c54 c3583c48
3c40: bf096c84 bf0967ec c3583c84 c3583c58 bf036e70 bf096c74 c3414800 c348a320
3c60: c343b320 00000001 c348a000 c348a320 c3414800 c343b320 c3583c94 c3583c88
3c80: bf036ed4 bf036de4 c3583cac c3583c98 bf096d2c bf036ebc 40000013 00000000
3ca0: c3583d08 c3583cb0 bf0b45a4 bf096d00 c3583cbc bf03e4b4 bf03e2fc c343b320
3cc0: ffffffff 00000004 bf0387f8 c348a320 c348a000 c3440000 00000187 c343b320
3ce0: 00000004 ffffffff c343b320 c348a000 00000000 c343b000 bee95f88 c3583d24
3d00: c3583d0c bf03de48 bf0b4220 c343b320 c0200024 00000009 c3583d38 c3583d28
3d20: bf0389fc bf03de24 c0201acc c3583d4c c3583d3c c0036070 bf0389ec 00000001
3d40: c3583d68 c3583d50 c0035f20 c0036004 60000013 00000000 c343b320 c3583d7c
3d60: c3583d6c c0035fdc c0035ed0 c01fffe8 c3583d90 c3583d80 c0036208 c0035fa0
3d80: 00000000 c3583dac c3583d94 bf03de50 c0036194 c343b320 c348a320 c343b000
3da0: c3583dd0 c3583db0 bf03e934 bf03de24 c343b380 c343b320 0000029c c348a320
3dc0: c3583edc c3583de0 c3583dd4 bf03e980 bf03e830 c3583e24 c3583de4 bf045fac
3de0: bf03e978 bf02ce80 00000000 00000000 00000000 00000000 00010297 00000000
3e00: 00000000 00000000 00008b20 c3583eec c01b05e0 00008b20 c3583e84 c3583e28
3e20: c013e240 bf045eac bf045ea0 c3583e38 c00220ec c005c48c c38c2344 00000008
3e40: 00000000 00000000 c3baba6c 0000000d c3583e78 c3583e78 8b200000 00008b20
3e60: 00008b20 c3583edc c343b000 c3583edc bf045ea0 bee95f88 c3583eb8 c3583e88
3e80: c013e764 c013e1dc c01308a0 c00d9580 bee95dcc 00008b20 c3583edc 00000000
3ea0: c3583edc c3582000 bee95f88 c3583f28 c3583ebc c01335ac c013e708 00000000
3ec0: 00000000 c3583f74 6c000000 00000000 00000000 00000000 00000000 61746830
3ee0: 00000000 00000000 00000000 0337f980 01000000 bee95f8d 00016aec f4240000
3f00: 00000000 c02d1820 00008b20 bee95dcc 00000003 c001bd24 bee95f88 c3583f44
3f20: c3583f2c c0127c34 c013306c c02d1820 bee95dcc 00008b20 c3583f5c c3583f48
3f40: c00795e4 c0127a80 c02d1820 bee95dcc c3583f84 c3583f60 c0079890 c00795bc
3f60: ee103171 c3583f9c c02d1820 fffffff7 00008b20 00000036 c3583fa4 c3583f88
3f80: c0079900 c0079634 00000000 bee95f92 00000001 bee95ed0 00000000 c3583fa8
3fa0: c001bb80 c00798cc bee95f92 00000001 00000003 00008b20 bee95dcc bee95dc8
3fc0: bee95f92 00000001 bee95ed0 00000000 00000001 00000003 bee95f88 00000000
3fe0: 40081960 bee95db0 4006fef0 4006feac 20000010 00000003 00000000 00000000
Backtrace:
Function entered at [<bf0967e0>] from [<bf096c84>]
Function entered at [<bf096c68>] from [<bf036e70>]
Function entered at [<bf036dd8>] from [<bf036ed4>]
Function entered at [<bf036eb0>] from [<bf096d2c>]
Function entered at [<bf096cf4>] from [<bf0b45a4>]
 r5 = 00000000  r4 = 40000013
Function entered at [<bf0b4214>] from [<bf03de48>]
Function entered at [<bf03de18>] from [<bf0389fc>]
 r6 = 00000009  r5 = C0200024  r4 = C343B320
Function entered at [<bf0389e0>] from [<c0036070>]
 r4 = C0201ACC
Function entered at [<c0035ff8>] from [<c0035f20>]
 r4 = 00000001
Function entered at [<c0035ec4>] from [<c0035fdc>]
 r6 = C343B320  r5 = 00000000  r4 = 60000013
Function entered at [<c0035f94>] from [<c0036208>]
 r4 = C01FFFE8
Function entered at [<c0036188>] from [<bf03de50>]
 r4 = 00000000
Function entered at [<bf03de18>] from [<bf03e934>]
 r6 = C343B000  r5 = C348A320  r4 = C343B320
Function entered at [<bf03e824>] from [<bf03e980>]
 r8 = C3583EDC  r7 = C348A320  r6 = 0000029C  r5 = C343B320
 r4 = C343B380
Function entered at [<bf03e96c>] from [<bf045fac>]
Function entered at [<bf045ea0>] from [<c013e240>]
 r7 = 00008B20  r6 = C01B05E0  r5 = C3583EEC  r4 = 00008B20
Function entered at [<c013e1d0>] from [<c013e764>]
Function entered at [<c013e6fc>] from [<c01335ac>]
Function entered at [<c0133060>] from [<c0127c34>]
Function entered at [<c0127a74>] from [<c00795e4>]
 r6 = 00008B20  r5 = BEE95DCC  r4 = C02D1820
Function entered at [<c00795b0>] from [<c0079890>]
 r5 = BEE95DCC  r4 = C02D1820
Function entered at [<c0079628>] from [<c0079900>]
 r7 = 00000036  r6 = 00008B20  r5 = FFFFFFF7  r4 = C02D1820
Function entered at [<c00798c0>] from [<c001bb80>]
 r6 = BEE95ED0  r5 = 00000001  r4 = BEE95F92
Code: aa000003 e59f01b0 eb3e6c1c e3a03000 (e5833000)
Kernel panic - not syncing: Aiee, killing interrupt handler!

Change History

12/25/07 21:45:24 changed by mentor

  • priority changed from critical to major.
  • owner changed.
  • component changed from madwifi: other to madwifi: 802.11 stack.

Huh, I think that MadWiFi is very nearly at the point that I would leave this as a critical bug, but not quite maybe.

Do you also experience this problem with ath_rate_sample? Does this also occur in r3077?

12/25/07 22:01:47 changed by uniix <uniix@yahoo.com>

OK. I will try to revert to r3077. Will update you later. Marry Christmas!

12/25/07 22:06:32 changed by uniix <uniix@yahoo.com>

FYI, thos only happend during startup (after creating VAP using wlanconfig & interface is up). If after 30secs I login to the console & manually set the rate to 54M then it works.

06/20/08 19:47:33 changed by proski

  • status changed from new to assigned.
  • owner set to proski.

The kernel assert message is "fixed rate 108 not in rate set". 108 is 54 Mbps in 0.5 Mbps units, so it's the right value. The most likely reason it's not in the table is because the table is momentarily empty. A very similar problem is described for sample rate control algorithm in ticket #162.