Skip to contentSkip to conversation

Ath9k problem with AMCC405EP

ath9k-devel Yi Lin 2 participants 2 messages Oct 7, 2008 – Oct 8, 2008

lore
Share & tools
lore

Yi Lin

author
#0 lore raw

Hi All,

I am having problem with a AMCC405EP board and ath9k (2.6.27.rc7). This same board works fine with ath5k and the same kernel. However, whenever I load ath9k, the driver crashes the kernel. What could be the cause of this problem and what's the fix?

Many thanks

Yi

Here is the crash message:

Oops: Kernel access of bad area, sig: 11 [#1]                                   
xxxxx                                                                           
Modules linked in:                                                              
NIP: c0055504 LR: c01d4368 CTR: 00000000                                        
REGS: c038fbd0 TRAP: 0300   Not tainted (2.6.27-rc7)                           
MSR: 00029030 <EE,ME,IR,DR>  CR: 28008084  XER: 20000000                        
DEAR: 33cc33cc, ESR: 00000000                                                   

TASK = c0368438[0] 'swapper' THREAD: c038e000
GPR00: c01d4368 c038fc80 c0368438 33cc33cc c39a8ca4 00000001 c322a388 00000000
GPR08: 00000002 c39d2f60 c39a804c 00000000 28008088 00000000 03ffa800 04006000
GPR16: 00000000 00000000 00000000 00000000 00000000 03ff5038 03f850a8 c038fda0
GPR24: c39a8180 c39d202a c383f800 c39a8180 c3837000 c3837000 00000001 00000000 NIP [c0055504] put_page +0xc/0x148
LR [c01d4368] skb_release_data +0xb0/0xc8

Call Trace:                                                                     
[c038fc90] [c01d4368] skb_release_data +0xb0/0xc8                                
[c038fcb0] [c01d45d4] __kfree_skb +0x18/0xf4                                     
[c038fcc0] [c025ba74] ieee80211_sta_rx_scan +0x78/0xc0                           
[c038fcd0] [c0262dbc] ieee80211_invoke_rx_handlers +0x1084/0x146c                
[c038fd20] [c02633b8] __ieee80211_rx_handle_packet +0x214/0x694                  
[c038fd90] [c01836ac] ath__rx_indicate +0xe8/0x190                               
[c038fdf0] [c0184d70] ath_rx_tasklet +0x2a4/0x630                                
[c038fe40] [c018c620] ath9k_tasklet +0x8c/0xb4                                   
[c038fe50] [c0025b4c] tasklet_action +0x88/0x104                                 
[c038fe70] [c0025c58] __do_softirq +0x7c/0xf4                                    
[c038fea0] [c000440c] do_softirq +0x58/0x5c                                      
[c038feb0] [c0025a40] irq_exit +0x48/0x58                                        
[c038fec0] [c0004f18] do_IRQ +0xa4/0xc4                                          
[c038fed0] [c000e6dc] ret_from_except +0x0/0x18                                  
[c038ff90] [c0007bc4] cpu_idle +0xd8/0xe8                                        
[c038ffb0] [c0270700] __got2_end +0x58/0x68                                      
[c038ffc0] [c033f734] start_kernel +0x23c/0x2c4                                  
[c038fff0] [c0002254] start_here +0x44/0xb0                                      
Instruction dump:                                                               
700b0020 4182ffc8 4bfffe89 38000004 7d20f828 7d290078 7d20f92d 40a2fff4         
4bffffc8 7c0802a6 9421fff0 90010014 <80030000> 7c681b78 700b6000 39230004       
Kernel panic - not syncing: Fatal exception in interrupt                        

Rebooting in 1 seconds..
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20081007/6819796e/attachment.htm

#1 lore raw

Hi Yi,

I got the same behavior here. Also on a 405EP system with same kernel version :-)

When I run 2.6.27-rcX on a AMCC440EPx system ath9k seems to be fine on a first glance.

Can anybody thing of some cache coherency problems?

Matthias

Quoted 51 lines · On Tuesday 07 October 2008 18:50:50 Yi Lin wrote:

Hi All,

I am having problem with a AMCC405EP board and ath9k (2.6.27.rc7). This same board works fine with ath5k and the same kernel. However, whenever I load ath9k, the driver crashes the kernel. What could be the cause of this problem and what's the fix?

Many thanks

Yi

Here is the crash message:

Oops: Kernel access of bad area, sig: 11 [#1]
xxxxx
Modules linked in:
NIP: c0055504 LR: c01d4368 CTR: 00000000
REGS: c038fbd0 TRAP: 0300   Not tainted (2.6.27-rc7)
MSR: 00029030 <EE,ME,IR,DR>  CR: 28008084  XER: 20000000
DEAR: 33cc33cc, ESR: 00000000

TASK = c0368438[0] 'swapper' THREAD: c038e000
GPR00: c01d4368 c038fc80 c0368438 33cc33cc c39a8ca4 00000001 c322a388 00000000 GPR08: 00000002 c39d2f60 c39a804c 00000000 28008088 00000000 03ffa800 04006000 GPR16: 00000000 00000000 00000000 00000000 00000000 03ff5038 03f850a8 c038fda0 GPR24: c39a8180 c39d202a c383f800 c39a8180 c3837000 c3837000 00000001 00000000 NIP [c0055504] put_page +0xc/0x148 LR [c01d4368] skb_release_data +0xb0/0xc8

Call Trace:
[c038fc90] [c01d4368] skb_release_data +0xb0/0xc8
[c038fcb0] [c01d45d4] __kfree_skb +0x18/0xf4
[c038fcc0] [c025ba74] ieee80211_sta_rx_scan +0x78/0xc0
[c038fcd0] [c0262dbc] ieee80211_invoke_rx_handlers +0x1084/0x146c
[c038fd20] [c02633b8] __ieee80211_rx_handle_packet +0x214/0x694
[c038fd90] [c01836ac] ath__rx_indicate +0xe8/0x190
[c038fdf0] [c0184d70] ath_rx_tasklet +0x2a4/0x630
[c038fe40] [c018c620] ath9k_tasklet +0x8c/0xb4
[c038fe50] [c0025b4c] tasklet_action +0x88/0x104
[c038fe70] [c0025c58] __do_softirq +0x7c/0xf4
[c038fea0] [c000440c] do_softirq +0x58/0x5c
[c038feb0] [c0025a40] irq_exit +0x48/0x58
[c038fec0] [c0004f18] do_IRQ +0xa4/0xc4
[c038fed0] [c000e6dc] ret_from_except +0x0/0x18
[c038ff90] [c0007bc4] cpu_idle +0xd8/0xe8
[c038ffb0] [c0270700] __got2_end +0x58/0x68
[c038ffc0] [c033f734] start_kernel +0x23c/0x2c4
[c038fff0] [c0002254] start_here +0x44/0xb0
Instruction dump:
700b0020 4182ffc8 4bfffe89 38000004 7d20f828 7d290078 7d20f92d 40a2fff4
4bffffc8 7c0802a6 9421fff0 90010014 <80030000> 7c681b78 700b6000 39230004
Kernel panic - not syncing: Fatal exception in interrupt

Rebooting in 1 seconds..