Return-path: Received: from mail-ew0-f46.google.com ([209.85.215.46]:56791 "EHLO mail-ew0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754879Ab1HWOGs convert rfc822-to-8bit (ORCPT ); Tue, 23 Aug 2011 10:06:48 -0400 Received: by ewy4 with SMTP id 4so59313ewy.19 for ; Tue, 23 Aug 2011 07:06:47 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <4E538DC3.7060906@broadcom.com> 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> Date: Tue, 23 Aug 2011 16:06:46 +0200 Message-ID: (sfid-20110823_160650_502021_5527FB28) Subject: Re: brcmsmac driver only works when sitting next to the AP From: =?ISO-8859-1?Q?Camale=F3n?= To: Roland Vossen Cc: "linux-wireless@vger.kernel.org" , "devel@driverdev.osuosl.org" , Brett Rudley , Henry Ptasinski , Arend Van Spriel , "networkmanager-list@gnome.org" Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-wireless-owner@vger.kernel.org List-ID: 2011/8/23 Roland Vossen : > 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