Search Linux Wireless

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

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

 



2011/8/23 Roland Vossen <rvossen@xxxxxxxxxxxx>:
>>> These symbols are contained in the 'brcmutil.ko' module. Can you check
>>> with
>>> lsmod that brcmutil is indeed loaded ?
>>
>> Let me check it...
>>
>> root@stt300:/usr/src/linux-source-3.0.0# lsmod|grep -e mac -e br
>> brcmutil               13187  0
>> mac80211              165768  0
>> cfg80211              112970  1 mac80211
>>
>> Seems loaded :-?
>
> Agree.
>
>> 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:
>>
>> [18412.454900] brcmutil: module is from the staging directory, the
>> quality is unknown, you have been warned.
>> [18462.257358] brcmsmac: module is from the staging directory, the
>> quality is unknown, you have been warned.
>> [18462.260105] brcmsmac: Unknown symbol crc_ccitt (err 0)
>
> The crc_ccitt warning can be resolved with a: 'sudo modprobe crc-ccitt'
> before loading the two brcm drivers.

Let's start over again... (and sorry for the long posts):

root@stt300:/usr/src/linux-source-3.0.0# make
SUBDIRS=drivers/staging/brcm80211 clean
  CLEAN   drivers/staging/brcm80211/.tmp_versions
  CLEAN   drivers/staging/brcm80211/Module.symvers
root@stt300:/usr/src/linux-source-3.0.0# make
SUBDIRS=drivers/staging/brcm80211 modules
  CC [M]  drivers/staging/brcm80211/brcmsmac/wl_mac80211.o
  CC [M]  drivers/staging/brcm80211/brcmsmac/wl_ucode_loader.o
  CC [M]  drivers/staging/brcm80211/brcmsmac/wlc_alloc.o
  CC [M]  drivers/staging/brcm80211/brcmsmac/wlc_ampdu.o
  CC [M]  drivers/staging/brcm80211/brcmsmac/wlc_antsel.o
  CC [M]  drivers/staging/brcm80211/brcmsmac/wlc_bmac.o
  CC [M]  drivers/staging/brcm80211/brcmsmac/wlc_channel.o
  CC [M]  drivers/staging/brcm80211/brcmsmac/wlc_main.o
  CC [M]  drivers/staging/brcm80211/brcmsmac/wlc_phy_shim.o
  CC [M]  drivers/staging/brcm80211/brcmsmac/wlc_pmu.o
  CC [M]  drivers/staging/brcm80211/brcmsmac/wlc_rate.o
  CC [M]  drivers/staging/brcm80211/brcmsmac/wlc_stf.o
  CC [M]  drivers/staging/brcm80211/brcmsmac/aiutils.o
  CC [M]  drivers/staging/brcm80211/brcmsmac/phy/wlc_phy_cmn.o
  CC [M]  drivers/staging/brcm80211/brcmsmac/phy/wlc_phy_lcn.o
  CC [M]  drivers/staging/brcm80211/brcmsmac/phy/wlc_phy_n.o
  CC [M]  drivers/staging/brcm80211/brcmsmac/phy/wlc_phytbl_lcn.o
  CC [M]  drivers/staging/brcm80211/brcmsmac/phy/wlc_phytbl_n.o
  CC [M]  drivers/staging/brcm80211/brcmsmac/phy/wlc_phy_qmath.o
  CC [M]  drivers/staging/brcm80211/brcmsmac/bcmotp.o
  CC [M]  drivers/staging/brcm80211/brcmsmac/bcmsrom.o
  CC [M]  drivers/staging/brcm80211/brcmsmac/hnddma.o
  CC [M]  drivers/staging/brcm80211/brcmsmac/nicpci.o
  CC [M]  drivers/staging/brcm80211/brcmsmac/nvram.o
  LD [M]  drivers/staging/brcm80211/brcmsmac/brcmsmac.o
  CC [M]  drivers/staging/brcm80211/util/bcmutils.o
  CC [M]  drivers/staging/brcm80211/util/bcmwifi.o
  LD [M]  drivers/staging/brcm80211/util/brcmutil.o
  Building modules, stage 2.
  MODPOST 2 modules
  CC      drivers/staging/brcm80211/brcmsmac/brcmsmac.mod.o
  LD [M]  drivers/staging/brcm80211/brcmsmac/brcmsmac.ko
  CC      drivers/staging/brcm80211/util/brcmutil.mod.o
  LD [M]  drivers/staging/brcm80211/util/brcmutil.ko
root@stt300:/usr/src/linux-source-3.0.0# modprobe mac80211
root@stt300:/usr/src/linux-source-3.0.0# modprobe crc-ccitt
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# insmod
drivers/staging/brcm80211/brcmsmac/brcmsmac.ko
root@stt300:/usr/src/linux-source-3.0.0# lsmod|grep -e mac -e br -e cc
brcmsmac              489006  0
brcmutil               13187  1 brcmsmac
crc_ccitt              12331  1 brcmsmac
mac80211              165768  1 brcmsmac
cfg80211              112970  2 brcmsmac,mac80211

Hum... now looks better :-)

> Can you see the missing symbols with a 'cat /proc/kallsyms | grep bcm' ?

Now none:

root@stt300:~# cat /proc/kallsyms | grep bcm
f855a707 T bcm_chspec_malformed	[brcmutil]
f855a518 T bcm_pktq_init	[brcmutil]
f855a358 T bcm_bitcount	[brcmutil]
f855a192 T bcm_pktq_mdeq	[brcmutil]
f855a131 T bcm_pktq_peek_tail	[brcmutil]
f855a38e T bcm_bprintf	[brcmutil]
f855a382 T bcm_binit	[brcmutil]
f855a0b4 T bcm_pktq_pdeq	[brcmutil]
f855a650 T bcm_chspec_ctlchan	[brcmutil]
f855a548 T bcm_pkt_buf_free_skb	[brcmutil]
f855a21b T bcm_iovar_lencheck	[brcmutil]
f855a000 T bcm_pkttotlen	[brcmutil]
f855a4dd T bcm_ether_atoe	[brcmutil]
f855a288 T bcm_parse_tlvs	[brcmutil]
f855a26e T bcm_crc8	[brcmutil]
f855a41d T bcm_pktfrombuf	[brcmutil]
f855a62c T bcm_pkt_buf_get_skb	[brcmutil]
f855a063 T bcm_pktq_penq_head	[brcmutil]
f855a682 T bcm_mhz2channel	[brcmutil]
f855a0ea T bcm_pktq_pdeq_tail	[brcmutil]
f855a56d T bcm_pktq_pflush	[brcmutil]
f855a4a4 T bcm_iovar_lookup	[brcmutil]
f855a2b7 T bcm_qdbm_to_mw	[brcmutil]
f855a3c9 T bcm_mkiovar	[brcmutil]
f855a2ec T bcm_mw_to_qdbm	[brcmutil]
f855a010 T bcm_pktq_penq	[brcmutil]
f855a476 T bcm_chipname	[brcmutil]
f855a164 T bcm_pktq_mlen	[brcmutil]

Greetings,

-- 
Camaleón
--
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 Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux