Re: brcmsmac driver only works when sitting next to the AP



2011/8/23 Roland Vossen <rvossen broadcom com>:
> Hi Camaleón,
>
>>> Would you be able/willing to make debug related changes to our driver
>>> and build it ? I can tell you what changes to make.
>>
>> I can try whataver you want me to try :-)
>>
>> Just provide some guidance on what are the required steps.
>>
>
> that is great. Ok, do you have the kernel sources on your system ? If so, cd
> to the root of the source tree and issue these commands to build the driver:
>
> make SUBDIRS=drivers/staging/brcm80211 clean
> make SUBDIRS=drivers/staging/brcm80211 modules

Done!

> if that works, do a 'modprobe mac80211' followed by a 'insmod
> drivers/staging/brcm80211/brcmutil/brcmutil.ko'

root@stt300:/usr/src/linux-source-3.0.0# insmod
drivers/staging/brcm80211/brcmutil/brcmutil.ko
insmod: can't read 'drivers/staging/brcm80211/brcmutil/brcmutil.ko':
No such file or directory

Ah, okay...

root@stt300:/usr/src/linux-source-3.0.0# insmod
drivers/staging/brcm80211/util/brcmutil.ko
root@stt300:/usr/src/linux-source-3.0.0#

> followed by a 'insmod drivers/staging/brcm80211/brcmsmac/brcmsmac.ko'.

Mmm... this one returned an error:

root@stt300:/usr/src/linux-source-3.0.0# insmod
drivers/staging/brcm80211/brcmsmac/brcmsmac.ko
insmod: error inserting
'drivers/staging/brcm80211/brcmsmac/brcmsmac.ko': -1 Unknown symbol in
module

And dmesg shows:

[16235.934894] brcmsmac: Unknown symbol bcm_chspec_malformed (err 0)
[16235.934985] brcmsmac: Unknown symbol bcm_pktq_init (err 0)
[16235.935035] brcmsmac: Unknown symbol bcm_bitcount (err 0)
[16235.935092] brcmsmac: Unknown symbol bcm_pktq_peek_tail (err 0)
[16235.935130] brcmsmac: Unknown symbol bcm_pktq_mdeq (err 0)
[16235.935283] brcmsmac: Unknown symbol bcm_pktq_pdeq (err 0)
[16235.935329] brcmsmac: Unknown symbol bcm_chspec_ctlchan (err 0)
[16235.935375] brcmsmac: Unknown symbol bcm_pkt_buf_free_skb (err 0)
[16235.935414] brcmsmac: Unknown symbol bcm_iovar_lencheck (err 0)
[16235.935457] brcmsmac: Unknown symbol bcm_pkttotlen (err 0)
[16235.935519] brcmsmac: Unknown symbol bcm_ether_atoe (err 0)
[16235.935581] brcmsmac: Unknown symbol bcm_crc8 (err 0)
[16235.935636] brcmsmac: Unknown symbol bcm_pkt_buf_get_skb (err 0)
[16235.935677] brcmsmac: Unknown symbol bcm_pktq_penq_head (err 0)
[16235.935735] brcmsmac: Unknown symbol bcm_pktq_pdeq_tail (err 0)
[16235.935774] brcmsmac: Unknown symbol bcm_pktq_pflush (err 0)
[16235.935827] brcmsmac: Unknown symbol bcm_pktq_penq (err 0)
[16235.935882] brcmsmac: Unknown symbol bcm_pktq_flush (err 0)

> Btw, I will assume until further notice that you disable network-manager
> prior to loading the driver.

Yes.

> Let me know how this goes, then we can take it to the next level.
>
> Thanks, Roland.

Greetings,

-- 
Camaleón


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