Wifi driver error in kernel

Willie Chen willie_chen at openmoko.com
Fri Feb 29 14:51:08 CET 2008


Samuel Ortiz wrote:
> Hi Andy,
>
> On Tue, Feb 26, 2008 at 08:30:12PM +0800, Andy Green wrote:
>   
>> One has to take care with firmware version I think as well as driver
>> version.
>>
>> I also am not seeing the panic that was reported on boot sometimes from
>> SDIO and I have the "89" firmware since yesterday.
>>     
> Do you have the panic message handy ? I'd be interested to see it.
> Also, do you see it only when booting from SDIO ?
>
> Cheers,
> Samuel.
>
>   
Hi Samuel,

I logged the messages as following.

<7>[ 5.480000] sdio_wlan 00:01: driver attached
<7>[ 5.485000] sdio_wlan 00:01: SDIO device, IDs SD_0001 (active)
<1>[ 5.665000] Failed to communicate with the target
<4>[ 5.670000] SDIO Bus Driver: sdio_wlan did not claim the device
<1>[ 5.675000] Unable to handle kernel NULL pointer dereference at 
virtual address 00000000
<1>[ 5.680000] pgd = c0004000
<1>[ 5.685000] [00000000] *pgd=00000000
<4>[ 5.690000] Internal error: Oops: 817 [#1] PREEMPT
<4>[ 5.690000] Modules linked in:
<4>[ 5.690000] CPU: 0 Not tainted (2.6.24-mokodev #6)
<4>[ 5.690000] PC is at pnp_remove_card_device+0x34/0x68
<4>[ 5.690000] LR is at put_lock_stats+0x14/0x30
<4>[ 5.690000] pc : [<c0153b70>] lr : [<c0063f7c>] psr: 40000013
<4>[ 5.690000] sp : c7d85f28 ip : c7d85ec0 fp : c7d85f3c
<4>[ 5.690000] r10: 00000000 r9 : 00000000 r8 : 00000000
<4>[ 5.690000] r7 : c7e3a000 r6 : 00000001 r5 : c03aad00 r4 : c7e3a050
<4>[ 5.690000] r3 : 00100100 r2 : 00000000 r1 : 00000000 r0 : c7e3a240
<4>[ 5.690000] Flags: nZcv IRQs on FIQs on Mode SVC_32 ISA ARM Segment 
kernel
<4>[ 5.690000] Control: c000717f Table: 37e3c000 DAC: 00000017
<4>[ 5.690000] Process SDIO Helper (pid: 264, stack limit = 0xc7d84268)
<4>[ 5.690000] Stack: (0xc7d85f28 to 0xc7d86000)
<4>[ 5.690000] 5f20: c7e3a000 c03ba2bc c7d85f54 c7d85f40 c01d8554 c0153b4c
<4>[ 5.690000] 5f40: c01d3104 c03ba2c0 c7d85f74 c7d85f58 c01d310c 
c01d8548 c03b959c c7e3a000
<4>[ 5.690000] 5f60: 00000001 00000000 c7d85f94 c7d85f78 c01d7a80 
c01d2d4c c7d84000 c7d73714
<4>[ 5.690000] 5f80: c01d93d8 00000000 c7d85fbc c7d85f98 c01d7ee8 
c01d7944 c7d85fd4 c03b9501
<4>[ 5.690000] 5fa0: c03b959c 00000008 c7d73714 c7d73714 c7d85fd4 
c7d85fc0 c01d93f4 c01d7dc0
<4>[ 5.690000] 5fc0: 00000000 c7d84000 c7d85ff4 c7d85fd8 c005bc30 
c01d93e8 00000000 00000000
<4>[ 5.690000] 5fe0: 00000000 00000000 00000000 c7d85ff8 c0049278 
c005bbe0 fffeffff ffffffff
<4>[ 5.690000] Backtrace:
<4>[ 5.690000] [<c0153b3c>] (pnp_remove_card_device+0x0/0x68) from 
[<c01d8554>] (OS_RemoveDevice+0x1c/0x68)
<4>[ 5.690000] r5:c03ba2bc r4:c7e3a000
<4>[ 5.690000] [<c01d8538>] (OS_RemoveDevice+0x0/0x68) from [<c01d310c>] 
(ProbeForFunction+0x3d0/0x4f0)
<4>[ 5.690000] r4:c03ba2c0
<4>[ 5.690000] [<c01d2d3c>] (ProbeForFunction+0x0/0x4f0) from 
[<c01d7a80>] (DeviceAttach+0x14c/0x178)
<4>[ 5.690000] r7:00000000 r6:00000001 r5:c7e3a000 r4:c03b959c
<4>[ 5.690000] [<c01d7934>] (DeviceAttach+0x0/0x178) from [<c01d7ee8>] 
(CardDetectHelperFunction+0x138/0x1bc)
<4>[ 5.690000] r7:00000000 r6:c01d93d8 r5:c7d73714 r4:c7d84000
<4>[ 5.690000] [<c01d7db0>] (CardDetectHelperFunction+0x0/0x1bc) from 
[<c01d93f4>] (HelperLaunch+0x1c/0x28)
<4>[ 5.690000] r5:c7d73714 r4:c7d73714
<4>[ 5.690000] [<c01d93d8>] (HelperLaunch+0x0/0x28) from [<c005bc30>] 
(kthread+0x60/0x94)
<4>[ 5.690000] r4:c7d84000
<4>[ 5.690000] [<c005bbd0>] (kthread+0x0/0x94) from [<c0049278>] 
(do_exit+0x0/0x6f4)
<4>[ 5.690000] r6:00000000 r5:00000000 r4:00000000
<4>[ 5.690000] Code: e2840e1f e5901004 e59421f0 e59f3028 (e5812000)
<4>[ 5.695000] ---[ end trace 127904670f68f3c2 ]---
<6>[ 5.700000] note: SDIO Helper[264] exited with preempt_count 1

Could you help us analysis this problem ? Thanks.

Regards,
Willie





More information about the openmoko-kernel mailing list