Return-path: Received: from mms3.broadcom.com ([216.31.210.19]:3241 "EHLO MMS3.broadcom.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751869Ab1HWOSi (ORCPT ); Tue, 23 Aug 2011 10:18:38 -0400 Message-ID: <4E53B6B0.8010605@broadcom.com> (sfid-20110823_161841_706068_CE59FAA3) Date: Tue, 23 Aug 2011 16:18:24 +0200 From: "Roland Vossen" MIME-Version: 1.0 To: =?ISO-8859-1?Q?Camale=F3n?= cc: "linux-wireless@vger.kernel.org" , "devel@driverdev.osuosl.org" , "Brett Rudley" , "Henry Ptasinski" , "Arend Van Spriel" , "networkmanager-list@gnome.org" Subject: Re: brcmsmac driver only works when sitting next to the AP References: <20110822112737.GA5936@stt008.linux.site> <4E525235.7060501@broadcom.com> <4E525FC7.4070802@broadcom.com> <4E5367AA.8040406@broadcom.com> <4E53728B.3030803@broadcom.com> <20110823095348.GA5383@stt008.linux.site> <4E538309.1040203@broadcom.com> <20110823105341.GA5604@stt008.linux.site> <4E538DC3.7060906@broadcom.com> In-Reply-To: Content-Type: text/plain; charset=iso-8859-1; format=flowed Sender: linux-wireless-owner@vger.kernel.org List-ID: >> 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! perfect ! >> 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 Ah, the source tree had some renaming. It is named 'brcmutil' in my source but in the source you are using it is still named 'util'. > 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) These symbols are contained in the 'brcmutil.ko' module. Can you check with lsmod that brcmutil is indeed loaded ? Thanks, Roland.