Search Linux Wireless

Re: wlcore-spi crash

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>>> When I modprobe wlcore-spi I get a kernel crash.  Has anyone
>>> encountered this?  I found a similar problem here:
>>> http://marc.info/?l=linux-wireless&m=135212370625698&w=2
>>>
>>> I tried adding the patch mentioned there to backports-3.12-1, but I
>>> get this build error: "error: 'struct wl1271' has no member named
>>> 'set_power'"
>>>
>>> Here's the crash:
>>>
>>> [   98.325693] Unable to handle kernel NULL pointer dereference at
>>> virtual address 00000000
>>> [   98.334171] pgd = c0004000
>>> [   98.337031] [00000000] *pgd=00000000
>>> [   98.340791] Internal error: Oops: 80000007 [#1]
>>> [   98.345524] Modules linked in: wlcore_spi(O) wl12xx(O) wlcore(O)
>>> mac80211(O) cfg80211(O) compat(O) autofs4
>>> [   98.355661] CPU: 0    Tainted: G           O  (3.2.0)
>>> [   98.364120] PC is at 0x0
>>> [   98.366846] LR is at wl12xx_set_power_on+0x30/0x150 [wlcore]
>>
>> I think this should help:
>> http://www.spinics.net/lists/linux-wireless/msg98589.html
>>
>
> As I mentioned above, I get a compile error with that patch: the
> wl1271 struct doesn't have "set_power".

I got the patch to compile by adding "void (*set_power)(bool enable);"
to the wl1271 struct in wlcore.h.  Now the driver loads without
crashing, but I get a new error:

[   70.166191] wl1271_spi spi1.1: SPI read busy-word timeout!
[   70.208452] wl1271_spi spi1.1: SPI read busy-word timeout!
[   70.252324] wl1271_spi spi1.1: SPI read busy-word timeout!
[   70.294749] wl1271_spi spi1.1: SPI read busy-word timeout!
[   70.300515] wlcore: WARNING Top register access timed out.
[   70.306260] wlcore: ERROR couldn't get hw info
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux