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

Opened 13 years ago

Last modified 12 years ago

The kernel down when I run "ifconfig ath0 up "

Reported by: zhaowg@hpnl.ac.cn Assigned to:
Priority: major Milestone:
Component: madwifi: driver Version: v0.9.4
Keywords: Cc:
Patch is attached: 1 Pending: 0

Description

Hello! My Linux version is 2.6.16

gcc :3.4.1-7

network card :Atheros 5212A

platform´╝ÜIXP435

driver:madwifi-0.9.4

# lsmod

Module                  Size  Used by    Tainted: P  
ixp400_eth             31832  1 
ixp400               1052320  1 ixp400_eth
# insmod wlan
wlan: 0.9.4
# insmod ath_hal
ath_hal: 0.9.18.0 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413, REGOPS_FUNC)
# insmod ath_rate_sample
ath_rate_sample: 1.2 (0.9.4)
# insmod wlan_acl
wlan: mac acl policy registered
# insmod ath_pci autocreate=ap
ath_pci: 0.9.4
PCI: enabling device 0000:00:03.0 (0340 -> 0342)
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: H/W encryption support: WEP AES AES_CCM TKIP
wifi0: mac 5.6 phy 4.1 radio 1.7
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
unable to load wlan_scan_ap
wifi0: Atheros 5212: mem=0x48000000, irq=26
# lsmod
Module                  Size  Used by    Tainted: P  
ath_pci                94752  0 
wlan_acl                3744  0 
ath_rate_sample        11872  1 
ath_hal               211448  3 ath_pci,ath_rate_sample
wlan                  193196  4 ath_pci,wlan_acl,ath_rate_sample
ixp400_eth             31832  1 
ixp400               1052320  1 ixp400_eth
# iwconfig
lo        no wireless extensions.

ixp1      no wireless extensions.

ixp2      no wireless extensions.

wifi0     no wireless extensions.

ath0      IEEE 802.11b  ESSID:""  
          Mode:Master  Channel:0  Access Point: Not-Associated   
          Bit Rate:0 kb/s   Tx-Power:0 dBm   Sensitivity=1/1  
          Retry:off   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality=0/70  Signal level=-256 dBm  Noise level=-256 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

# iwconfig ath0 essid hpnl
# iwconfig ath0 channel 6
# iwconfig ath0 rate 11M
# iwconfig
lo        no wireless extensions.

ixp1      no wireless extensions.

ixp2      no wireless extensions.

wifi0     no wireless extensions.

ath0      IEEE 802.11b  ESSID:"hpnl"  
          Mode:Master  Frequency:2.437 GHz  Access Point: Not-Associated   
          Bit Rate=11 Mb/s   Tx-Power:0 dBm   Sensitivity=1/1  
          Retry:off   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality=0/70  Signal level=-256 dBm  Noise level=-256 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0
# iwpriv ath0 mode 0
# ifconfig ath0 up
Unable to handle kernel paging request at virtual address 73057932
pgd = c38d8000
[73057932] *pgd=00000000
Internal error: Oops: 8f5 [#1]
Modules linked in: ath_pci wlan_acl ath_rate_sample ath_hal wlan ixp400_eth ixp400
CPU: 0
PC is at memset+0xb4/0xc0
LR is at ieee80211_beacon_init+0x58/0x390 [wlan]
pc : [<c00d4ad4>]    lr : [<bf10d2ac>]    Tainted: P     
sp : c3b59ca0  ip : c3b59ccc  fp : c3b59cc8
r10: c3b319ac  r9 : c3b541b0  r8 : c3b31260
r7 : c3b26260  r6 : c3b54000  r5 : 73057932  r4 : 0000015b
r3 : 00000002  r2 : 00000000  r1 : 00000004  r0 : 73057932
Flags: nZCv  IRQs on  FIQs on  Mode SVC_32  Segment user
Control: 39FF  Table: 038D8000  DAC: 00000015
Process ifconfig (pid: 740, stack limit = 0xc3b58198)
Stack: (0xc3b59ca0 to 0xc3b5a000)
9ca0: 0000015b c3b54000 c3c2ff20 c3b31260 c3b26260 c3b54000 c3b319ac c3b59d00 
9cc0: c3b59ccc bf10d6ac bf10d260 ffffc880 73057932 00000009 c3b38000 00000000 
9ce0: c3b26260 c3b31260 c2b5b9e0 c3b26260 c3b59ed4 c3b59d48 c3b59d04 bf1796a4 
9d00: bf10d5f0 bf13c1d8 00000000 c3b38000 00000009 c3b31260 c3b59d24 bf1550e4 
9d20: 00000000 c3b26260 c3b31260 c3b38000 c3b54000 00000004 c3b59ed4 c3b59d94 
9d40: c3b59d4c bf180b9c bf1795f4 c3b59d58 bf116df0 bf115cdc c3b279dc 00000187 
9d60: c3b26000 c3b26260 ffffffff c3b31260 c024a884 c3b58000 0000000a c024a860 
9d80: 00000000 c3b59ed4 c3b59da8 c3b59d98 bf11dcec bf180834 c3b31260 c3b59dbc 
9da0: c3b59dac bf1156e4 bf11dcd0 00000000 c3b59dd4 c3b59dc0 c0033744 bf1156d4 
9dc0: 00000001 c024a8b0 c3b59df8 c3b59dd8 c0033324 c00336c8 60000013 c3b26260 
9de0: c3b31000 c3b26000 00000000 c3b59e0c c3b59dfc c00333dc c00332d4 c3b58000 
9e00: c3b59e20 c3b59e10 c003344c c00333a4 00000000 c3b59e34 c3b59e24 bf11dcf4 
9e20: c00333f4 c3b31260 c3b59e58 c3b59e38 bf11de0c bf11dcd0 c3b31000 00000000 
9e40: 00001002 00000000 c3b31000 c3b59e68 c3b59e5c bf11de30 bf11dd08 c3b59e80 
9e60: c3b59e6c c0147fec bf11de28 c3b31000 00001043 c3b59ea0 c3b59e84 c0149550 
9e80: c0147f94 00000000 ffffff9d 00000000 bea6fc70 c3b59f0c c3b59ea4 c01859cc 
9ea0: c01494f8 c3b58000 00000000 00000000 00008914 10431e24 000a1798 40138c54 
9ec0: 000a1e24 61746830 00000000 00000000 00000000 10431e24 000a1798 40138c54 
9ee0: 000a1e24 c28218c0 ffffffe7 00008914 bea6fc70 c001dea4 c3b58000 bea6fe9c 
9f00: c3b59f1c c3b59f10 c0186d74 c01856f4 c3b59f40 c3b59f20 c013eac8 c0186cd0 
9f20: c28218c0 ffffffe7 bea6fc70 00000000 c001dea4 c3b59f5c c3b59f44 c007a6f0 
9f40: c013e880 00000003 c28218c0 bea6fc70 c3b59f84 c3b59f60 c007a9cc c007a6c0 
9f60: 000ae9a0 bea6fe9c c28218c0 fffffff7 00008914 00000036 c3b59fa4 c3b59f88 
9f80: c007aa2c c007a748 00000000 000ae868 000ae8f8 00000000 00000000 c3b59fa8 
9fa0: c001dd00 c007a9f8 000ae868 000ae8f8 00000003 00008914 bea6fc70 000ae868 
9fc0: 000ae868 000ae8f8 00000000 000a1400 00000004 000ae9a0 bea6fe9c 000c9a9c 
9fe0: 000c974c bea6fc18 0000f23c 401ca104 20000010 00000003 00000000 00000000 
Backtrace: 
[<bf10d254>] (ieee80211_beacon_init+0x0/0x390 [wlan]) from [<bf10d6ac>] (ieee80211_beacon_alloc+0xc8/0x1ac [wlan])
[<bf10d5e4>] (ieee80211_beacon_alloc+0x0/0x1ac [wlan]) from [<bf1796a4>] (ath_beacon_alloc+0xbc/0x240 [ath_pci])
[<bf1795e8>] (ath_beacon_alloc+0x0/0x240 [ath_pci]) from [<bf180b9c>] (ath_newstate+0x374/0x758 [ath_pci])
[<bf180828>] (ath_newstate+0x0/0x758 [ath_pci]) from [<bf11dcec>] (ieee80211_new_state+0x28/0x38 [wlan])
[<bf11dcc4>] (ieee80211_new_state+0x0/0x38 [wlan]) from [<bf1156e4>] (ieee80211_sta_join1_tasklet+0x1c/0x2c [wlan])
 r4 = C3B31260 
[<bf1156c8>] (ieee80211_sta_join1_tasklet+0x0/0x2c [wlan]) from [<c0033744>] (tasklet_action+0x88/0xd8)
 r4 = 00000000 
[<c00336bc>] (tasklet_action+0x0/0xd8) from [<c0033324>] (__do_softirq+0x5c/0xd0)
 r5 = C024A8B0  r4 = 00000001 
[<c00332c8>] (__do_softirq+0x0/0xd0) from [<c00333dc>] (do_softirq+0x44/0x50)
 r8 = 00000000  r7 = C3B26000  r6 = C3B31000  r5 = C3B26260
 r4 = 60000013 
[<c0033398>] (do_softirq+0x0/0x50) from [<c003344c>] (local_bh_enable+0x64/0x84)
 r4 = C3B58000 
[<c00333e8>] (local_bh_enable+0x0/0x84) from [<bf11dcf4>] (ieee80211_new_state+0x30/0x38 [wlan])
 r4 = 00000000 
[<bf11dcc4>] (ieee80211_new_state+0x0/0x38 [wlan]) from [<bf11de0c>] (ieee80211_init+0x110/0x120 [wlan])
 r4 = C3B31260 
[<bf11dcfc>] (ieee80211_init+0x0/0x120 [wlan]) from [<bf11de30>] (ieee80211_open+0x14/0x18 [wlan])
 r8 = C3B31000  r7 = 00000000  r6 = 00001002  r5 = 00000000
 r4 = C3B31000 
[<bf11de1c>] (ieee80211_open+0x0/0x18 [wlan]) from [<c0147fec>] (dev_open+0x64/0xc8)
[<c0147f88>] (dev_open+0x0/0xc8) from [<c0149550>] (dev_change_flags+0x64/0x124)
 r5 = 00001043  r4 = C3B31000 
[<c01494ec>] (dev_change_flags+0x0/0x124) from [<c01859cc>] (devinet_ioctl+0x2e4/0x6d4)
 r7 = BEA6FC70  r6 = 00000000  r5 = FFFFFF9D  r4 = 00000000
[<c01856e8>] (devinet_ioctl+0x0/0x6d4) from [<c0186d74>] (inet_ioctl+0xb0/0xe4)
[<c0186cc4>] (inet_ioctl+0x0/0xe4) from [<c013eac8>] (sock_ioctl+0x254/0x2ac)
[<c013e874>] (sock_ioctl+0x0/0x2ac) from [<c007a6f0>] (do_ioctl+0x3c/0x88)
 r8 = C001DEA4  r7 = 00000000  r6 = BEA6FC70  r5 = FFFFFFE7
 r4 = C28218C0 
[<c007a6b4>] (do_ioctl+0x0/0x88) from [<c007a9cc>] (vfs_ioctl+0x290/0x2b0)
 r6 = BEA6FC70  r5 = C28218C0  r4 = 00000003 
[<c007a73c>] (vfs_ioctl+0x0/0x2b0) from [<c007aa2c>] (sys_ioctl+0x40/0x5c)
 r7 = 00000036  r6 = 00008914  r5 = FFFFFFF7  r4 = C28218C0
[<c007a9ec>] (sys_ioctl+0x0/0x5c) from [<c001dd00>] (ret_fast_syscall+0x0/0x2c)
 r6 = 00000000  r5 = 000AE8F8  r4 = 000AE868 
Code: e2511004 ba00001d e3530002 b4c02001 (d4c02001) 
 <0>Kernel panic - not syncing: Aiee, killing interrupt handler!
 

Somebody please help me,thanks a lot!!!!!

Change History

09/10/08 09:06:27 changed by zhaowg@hpnl.ac.cn

# lsmod
Module                  Size  Used by    Tainted: P  
wlan_acl                3744  0 
wlan_scan_sta          11360  0 
wlan_scan_ap            4672  0 
ath_rate_minstrel      12160  0 
ath_rate_amrr           6724  0 
ath_rate_onoe           6056  0 
ath_rate_sample        11872  0 
ath_hal               211448  2 ath_rate_minstrel,ath_rate_sample
wlan                  193196  7 wlan_acl,wlan_scan_sta,wlan_scan_ap,ath_rate_minstrel,ath_rate_amrr,ath_rate_onoe,ath_rate_sample
ixp400_eth             31832  1 
ixp400               1052320  1 ixp400_eth
# insmod ath_pci autocreate=ap
ath_pci: 0.9.4
PCI: enabling device 0000:00:03.0 (0340 -> 0342)
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: H/W encryption support: WEP AES AES_CCM TKIP
wifi0: mac 5.6 phy 4.1 radio 1.7
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=26

When i "insmod" all .ko modules,the result is not change.

11/02/09 13:46:05 changed by zhaowg@hpnl.ac.cn

when i google my email address,i find my question. this program has been solved.I just compiled my kernel again to exchange the older one.