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

Opened 12 years ago

Last modified 10 years ago

"Device or resource busy" & kernel oops at insmod ath_pci first attempt

Reported by: tsharples Assigned to: nbd
Priority: minor Milestone:
Component: madwifi-hal-testing Version: madwifi-free-branch
Keywords: ath_pci oops Cc:
Patch is attached: 0 Pending: 0

Description

With madwifi-hal-testing r4068 running on 2.4.23 kernel we get a "device or resource busy" (and an "unable to handle paging request" oops) at insmod ath_pci first attempt. If we insmod ath_pci a second time it loads, wifi0 is created, and ath0 seems to function properly on a limited set of tests. This happens with or without countrycode or other arguments. The problem may (or may not) be limited to certain 2.4.x kernels. We will test that later when we get a chance.

xx.xx.xx.xx@hal-testing:/# insmod ath_pci countrycode=826 outdoor=1 Using /lib/modules/2.4.23/net/ath_pci.o /lib/modules/2.4.23/net/ath_pci.o: init_module: Device or resource busy /lib/modules/2.4.23/net/ath_pci.o: Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters.

You may find more information in syslog or the output from dmesg

1.73.72.91@hal-testing:/# insmod ath_pci countrycode=826 outdoor=1 Using /lib/modules/2.4.23/net/ath_pci.o

Change History

08/31/11 13:11:01 changed by anonymous

The same issue happens, when madwifi-r3967 meets linux-2.4.x.

AR5210, AR5211, AR5212, AR5416, RF5111, RF5112, RF2413, RF5413, RF2133, REGOPS_FUNC)
Using /bin/wireless/ath_rate_sample.o
Using /bin/wireless/ath_pci.o
pcibios_enable_resources: already enabled when device probed.
pcibios_set_master: already done when device probed.
IRR1(3)=34030003
GIMR(3)=0000d100
===> Request IRQ 3 for wifi%d, ret=0
MadWifi: ath_attach: Switching rfkill capability off.
wifi0: Atheros AR2413 chip found (MAC 7.8, PHY 2112A 4.5, Radio 5.6)
ath_pci: wifi0: Atheros 5212: mem=0x19000000, irq=3
insmod: init_module: ath_pci: Device or resource busy
Using /bin/wireless/wlan_wep.o
Using /bin/wireless/wlan_xauth.o
Using /bin/wireless/wlan_tkip.o
Using /bin/wireless/wlan_ccmp.o
Using /bin/wireless/wlan_acl.o
wlan: mac acl policy registered
Unable to handle kernel paging request at virtual address c00bc814,
epc == c00bc814, ra == 80271564
Oops in fault.c::do_page_fault, line 206:
$0 : 00000000 00000000 c00bc814 000008f3 8191c000 8191c000 8034ec26 00000000
$8 : 00000000 0000000a 00000000 81a2a8f2 00000000 00000000 fffffffd 0000000a
$16: 8191c000 81a2a8f3 00000000 00000c00 00000000 802713f0 00000c00 81a2a000
$24: ffffffff 00000000                   81922000 81923da8 81923e58 80271564
Hi : ffffb182
Lo : 00001a2a
epc   : c00bc814    Tainted: P 
Status: 1000fc04
Cause : 00000008
PrId  : 0000cf01
Process busybox (pid: 62, stackpage=81922000)
Stack:    00000000 8034ebd0 811aba00 00000000 00000000 00000000 00000000
 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
 00000000 00000000 00000000 00000000 10005e38 000008f3 8191c000 802715ec
 00000000 00000000 8034ec48 00000000 00000c00 81a2a000 00000c00 00001000
 10005e38 8106da10 00000000 81b2f300 00000000 00000000 800f6308 00000000
 00000000 ...
Call Trace:   [<8034ebd0>] [<802715ec>] [<8034ec48>] [<800f6308>] [<800c301c>]
 [<800c3ea0>] [<800dd5b4>] [<800c3690>] [<80266a6c>] [<80088a70>] [<8008c444>]
 [<80080cd4>] [<8008fc88>] [<80080c54>] [<80080e00>] [<80080d3c>] [<80082888>]
 [<800f7024>] [<800f6ff4>]

Code: (Bad address in epc)

SIGSEGV