#656: mipsel kernel oops on "ifconfig up"
-----------------------------+----------------------------------------------
 Reporter:  [EMAIL PROTECTED]  |            Owner:     
     Type:  defect           |           Status:  new
 Priority:  major            |        Milestone:     
Component:  madwifi: HAL     |          Version:     
 Keywords:  hal mips         |   Patch_attached:  0  
-----------------------------+----------------------------------------------
 When bringing up an interface on a MIPSel machine (!OpenWrt / Netgear
 WGT634U), the kernel Oopses in the following reproducible way:

 {{{
 [EMAIL PROTECTED]:/# wlanconfig ath0 destroy
 [EMAIL PROTECTED]:/# wlanconfig ath0 create wlandev wifi0 wlanmode sta
 ath0
 [EMAIL PROTECTED]:/# ifconfig ath0 up
 Data bus error, epc == c005f2c0, ra == c007ac48
 Oops[#1]:
 Cpu 0
 $ 0   : 00000000 10009c00 c00e9930 00000001
 $ 4   : 81398000 00009930 81398308 813982c8
 $ 8   : 000000c0 80220000 00000008 00000000
 $12   : 00401043 00705aac 00000001 00000010
 $16   : 8139a8a0 81398000 81398000 81398000
 $20   : 00000000 81398308 80260000 00008914
 $24   : 00000000 c00b4f08
 $28   : 81cc0000 81cc1cb8 80331174 c007ac48
 Hi    : 000003c5
 Lo    : 1eb3f600
 epc   : c005f2c0     Tainted: P
 ra    : c007ac48 Status: 10009c03    KERNEL EXL IE
 Cause : 0000001c
 PrId  : 00029007
 Modules linked in: ath_pci ath_rate_sample ath_hal wlan_scan_sta wlan_wep
 wlan
 Process ifconfig (pid: 390, threadinfo=81cc0000, task=81e8c000)
 Stack : 00401043 00705aac 00000001 00000010 c005f2b8 80330260 81398000
 c00766f0
         00000000 80330f1c 80260000 00008914 00000000 c00b4f08 00000000
 00000000
         00000000 00000001 00000000 02000000 10009c03 00000369 00000000
 80330260
         81398000 80330000 00000000 80330f1c 80260000 00008914 7fcdac68
 c00fe4c0
         00008000 00000001 0000003c 00000000 81cc1d50 10009c00 80001400
 00002000
         ...
 Call Trace: [<c005f2b8>]  [<c00766f0>]  [<c00b4f08>]  [<c00fe4c0>]
 [<801505e0>]  [<80001fd4>]  [<c00b4fac>]  [<801505e0>]

 Code: 00000000  8c820014  00451021 <8c420000> 03e00008  00000000  3c020041
 34428937  70822002
 Segmentation fault
 }}}

 Data bus errors are caused by misaligned memory access on some
 architectures, maybe it is the cause here?

 From the stack trace, it seems to be the following symbols  are
 called(sorry, I haven't figured out ksymoops on crosscompiled code yet):
 {{{
 <c005f2b8> ath_hal_reg_read+0
 <c00766f0> zz0002dbd2+2e0
 <c00b4f08> ieee80211_init+0
 <c00fe4c0> ath_init+2bc
 }}}

 And this is the madwifi release I'm using:
 {{{
 wlan: 0.8.4.2 (svn r1611)
 ath_hal: module license 'Proprietary' taints kernel.
 ath_hal: 0.9.17.0 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413,
 REGO)
 ath_rate_sample: 1.2 (svn r1611)
 ath_pci: 0.9.4.5 (svn r1611)
 PCI: Enabling device 0000:01:01.0 (0000 -> 0002)
 PCI: Fixing up device 0000:01:01.0
 wifi0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
 wifi0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps
 24Mbps 3s
 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 4.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
 }}}

-- 
Ticket URL: <http://madwifi.org/ticket/656>
MadWifi <http://madwifi.org/>
Multiband Atheros Driver for Wireless Fidelity

Reply via email to