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 #1165 (new defect)

Opened 15 years ago

Last modified 15 years ago

Setting 802.11 mode (a/b/g) with iwpriv in ad-hoc causes kernel panic

Reported by: Assigned to:
Priority: major Milestone:
Component: madwifi: other Version: trunk
Keywords: iwpiv, Cc:
Patch is attached: 0 Pending:


Setting the 802.11 mode in ad-hoc using iwpriv causes a kernel panic. Happens 100% of time when setting from startup scripts, and majority of the time when set from command-line.

trying: iwpriv ath0 mode 11b or iwpriv ath0 mode 2

results in: atkbd.c: Spurious ACK on isa0060/serio0. Some program might be trying to access hardware directly.

There is some reference to: calc_usecs_unicast_packet

Using Panasonic CF-29 laptop w/ Fedora Core 5 (2.6.19-1.2288.fc5).

SVN Revision: 2152

Change History

02/23/07 17:38:49 changed by

I thought that this might be useful..

Call Trace:
[<f8ae050a>] ath_rate_ctl_reset+0x2b9/0x3cf [ath_rate_sample]
[<f8af72d5>] ath_newassoc+0x1f/0x7f [ath_pci]
[<f8c5b171>] ieee80211_add_neighbor+0x13d/0x1d0 [wlan]
[<f8c5564b>] ieee80211_rcv_mgmt+0xf6d/0x3cc2 [wlan]
[<f8af7157>] ath_recv_mgmt+0x46/0x17c [ath_pci]
[<f8c543f0>] ieee80211_input+0x1316/0x158c [wlan]
[<f8c546b7>] ieee80211_input_all+0x51/0x78 [wlan]
[<f8afa3df>] ath_rx_tasklet+0x5e6/0x757 [ath_pci]
[<c041ffe4>] tasklet_action+0x37/0x57
[<c04202be>] __do_softirq+0x35/0x75
[<c04053c9>] do_softirq+03e/0x99
Code: ae f8 5b e9 ed 72 18 00 e9 d6 d2 97 c7 55 57 89 c7 56 53 83 ec 2c 89 54 24 18 89 4c 24 14 8b a8 54 0f 00 00 6b c1 0c 8d 54 28 20 <66> 83 7a 06 00 75 2a 8b 87 68 0f 00 00 c7 44 24 0c 00 00 00 00
EIP: [<f8ae0071>] calc_usecs_unicast_packet+0x1e/0x1fe [ath_rate_sample] SS:ESP 0068:c0759c94
<0>Kernel panic - not syncing: Fatal exception in interrupt

02/23/07 22:07:38 changed by

Upon further investigation, the atkbd.c: Spurious ACK on isa0060/serio0. Some program might be trying to access hardware directly. message is unrelated to the kernel panic cause.

It is an issue in Fedore Core 2.6.19+ when a kernel-panic occurs, code that is trying to flash the computer's LEDs is causing this message.

02/27/07 15:47:00 changed by

Got more details from the kernel oops using a second computer as a terminal:

BUG: unable to handle kernel paging request at virtual address f8a8717a

 printing eip:


*pde = 018fe067

Oops: 0000 [#1]

last sysfs file: /devices/system/cpu/cpu0/cpufreq/scaling_setspeed

Modules linked in: i915 drm ipv6 ppdev autofs4 hidp rfcomm l2cap bluetooth sunrpc wlan_wep(U) video sbs i2c_d
CPU:    0

EIP:    0060:[<f8b0101f>]    Tainted: P      VLI

EFLAGS: 00010086   (2.6.19-1.2288.fc5 #1)

EIP is at calc_usecs_unicast_packet+0x1e/0x1fe [ath_rate_sample]

eax: 00000bf4   ebx: f7f55460   ecx: 000000ff   edx: f8a87174

esi: f7f55340   edi: f7e022c0   ebp: f8a86560   esp: c0779ea0

ds: 007b   es: 007b   ss: 0068

Process swapper (pid: 0, ti=c0779000 task=c0676480 task.ti=c0739000)

Stack: f7e08000 f8a86560 000000fa 00000002 00000001 000000ff 000000fa f8a5897e

       00000014 00000032 0000000a f7f55460 f7f55340 00000000 f7f552f4 f8b014b8

       00000000 00000000 f8a36690 00000002 f7ad62c0 f7e022c4 f7e022c0 f7a2f000

Call Trace:

 [<f8b014b8>] ath_rate_ctl_reset+0x2b9/0x3cf [ath_rate_sample]

 [<f8a10d6c>] ieee80211_iterate_dev_nodes+0x65/0x93 [wlan]

 [<f8a10dab>] ieee80211_iterate_nodes+0x11/0x13 [wlan]

 [<f8b01a00>] ath_rate_newstate+0x27/0x44 [ath_rate_sample]

 [<f8b28a4f>] ath_newstate+0x289/0x6b4 [ath_pci]

 [<f8a16dd0>] ieee80211_new_state+0x26/0x36 [wlan]

 [<f8a11d80>] ieee80211_sta_join1_tasklet+0x14/0x26 [wlan]

 [<c0420ec0>] tasklet_action+0x37/0x57

 [<c04211b2>] __do_softirq+0x35/0x75

 [<c0405f56>] do_softirq+0x42/0xa2


Code: <66> 83 7a 06 00 75 2a 8b 87 68 0f 00 00 c7 44 24 0c 00 00 00 00 89 44 24 10 0f b6 42 0a 89 4c 24

EIP: [<f8b0101f>] calc_usecs_unicast_packet+0x1e/0x1fe [ath_rate_sample] SS:ESP 0068:c0779ea0

 <0>Kernel panic - not syncing: Fatal exception in interrupt