2011-06-17 07:54:29

by Thomas Novin

[permalink] [raw]
Subject: disagrees about version of symbol

Hi

I was going to test the brcm80211 driver to replace the wl driver on
my gfs laptop to support a BCM4727 chip.

After doing scripts/driver-select, choosing that driver, make, make
install, make unload and them modprobe brcm80211 I get this:

Jun 17 09:43:41 jennie-laptop kernel: [ 5418.213586] cfg80211: Calling
CRDA to update world regulatory domain
Jun 17 09:43:41 jennie-laptop kernel: [ 5418.223361] cfg80211: World
regulatory domain updated:
Jun 17 09:43:41 jennie-laptop kernel: [ 5418.223367] cfg80211:
(start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
Jun 17 09:43:41 jennie-laptop kernel: [ 5418.223375] cfg80211:
(2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
Jun 17 09:43:41 jennie-laptop kernel: [ 5418.223382] cfg80211:
(2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
Jun 17 09:43:41 jennie-laptop kernel: [ 5418.223389] cfg80211:
(2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
Jun 17 09:43:41 jennie-laptop kernel: [ 5418.223395] cfg80211:
(5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
Jun 17 09:43:41 jennie-laptop kernel: [ 5418.223401] cfg80211:
(5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
Jun 17 09:43:41 jennie-laptop kernel: [ 5418.241140] brcm80211: module
is from the staging directory, the quality is unknown, you have been
warned.
Jun 17 09:43:41 jennie-laptop kernel: [ 5418.241989] brcm80211:
disagrees about version of symbol ieee80211_free_hw
Jun 17 09:43:41 jennie-laptop kernel: [ 5418.241992] brcm80211:
Unknown symbol ieee80211_free_hw (err -22)
Jun 17 09:43:41 jennie-laptop kernel: [ 5418.242128] brcm80211:
disagrees about version of symbol ieee80211_alloc_hw
Jun 17 09:43:41 jennie-laptop kernel: [ 5418.242130] brcm80211:
Unknown symbol ieee80211_alloc_hw (err -22)
Jun 17 09:43:41 jennie-laptop kernel: [ 5418.242230] brcm80211:
disagrees about version of symbol regulatory_hint
Jun 17 09:43:41 jennie-laptop kernel: [ 5418.242232] brcm80211:
Unknown symbol regulatory_hint (err -22)
Jun 17 09:43:41 jennie-laptop kernel: [ 5418.242316] brcm80211:
disagrees about version of symbol ieee80211_register_hw
Jun 17 09:43:41 jennie-laptop kernel: [ 5418.242318] brcm80211:
Unknown symbol ieee80211_register_hw (err -22)
Jun 17 09:43:41 jennie-laptop kernel: [ 5418.242508] brcm80211:
disagrees about version of symbol ieee80211_tx_status_irqsafe
Jun 17 09:43:41 jennie-laptop kernel: [ 5418.242510] brcm80211:
Unknown symbol ieee80211_tx_status_irqsafe (err -22)
Jun 17 09:43:41 jennie-laptop kernel: [ 5418.243162] brcm80211:
disagrees about version of symbol ieee80211_wake_queues
Jun 17 09:43:41 jennie-laptop kernel: [ 5418.243164] brcm80211:
Unknown symbol ieee80211_wake_queues (err -22)
Jun 17 09:43:41 jennie-laptop kernel: [ 5418.243388] brcm80211:
disagrees about version of symbol ieee80211_stop_queues
Jun 17 09:43:41 jennie-laptop kernel: [ 5418.243390] brcm80211:
Unknown symbol ieee80211_stop_queues (err -22)
Jun 17 09:43:41 jennie-laptop kernel: [ 5418.243541] brcm80211:
disagrees about version of symbol ieee80211_unregister_hw
Jun 17 09:43:41 jennie-laptop kernel: [ 5418.243542] brcm80211:
Unknown symbol ieee80211_unregister_hw (err -22)
Jun 17 09:43:41 jennie-laptop kernel: [ 5418.243812] brcm80211:
disagrees about version of symbol ieee80211_rx_irqsafe
Jun 17 09:43:41 jennie-laptop kernel: [ 5418.243814] brcm80211:
Unknown symbol ieee80211_rx_irqsafe (err -22)

If I do modinfo on brcm80211, cfg80211 and mac80211 they are all my
updated versions. What is wrong here?

Rgds//Thomas


2011-06-17 11:02:23

by Rafał Miłecki

[permalink] [raw]
Subject: Re: disagrees about version of symbol

2011/6/17 Thomas Novin <[email protected]>:
> I was going to test the brcm80211 driver to replace the wl driver on
> my gfs laptop to support a BCM4727 chip.

Can I make a little off topic? Can you say something more about your card?

Something like BCM4727 does not seem to exist. Is your card 14e4:4724
(BCM4313) or something else?

--
Rafał

2011-06-17 17:11:44

by Henry Ptasinski

[permalink] [raw]
Subject: Re: disagrees about version of symbol

On Fri, Jun 17, 2011 at 12:54:28AM -0700, Thomas Novin wrote:
> Hi
>
> I was going to test the brcm80211 driver to replace the wl driver on
> my gfs laptop to support a BCM4727 chip.
>
> After doing scripts/driver-select, choosing that driver, make, make
> install, make unload and them modprobe brcm80211 I get this:

So you're using compat-wireless, correct? What version of compat-wireless
and kernel?

After the "make unload", are cfg80211 and mac80211 actually unloaded?

> Jun 17 09:43:41 jennie-laptop kernel: [ 5418.241140] brcm80211: module
> is from the staging directory, the quality is unknown, you have been
> warned.
> Jun 17 09:43:41 jennie-laptop kernel: [ 5418.241989] brcm80211:
> disagrees about version of symbol ieee80211_free_hw

You might have the original mac80211 loaded, not the updated one.

- Henry


2011-06-17 11:07:48

by Thomas Novin

[permalink] [raw]
Subject: Re: disagrees about version of symbol

2011/6/17 Rafał Miłecki <[email protected]>:
> 2011/6/17 Thomas Novin <[email protected]>:
>> I was going to test the brcm80211 driver to replace the wl driver on
>> my gfs laptop to support a BCM4727 chip.
>
> Can I make a little off topic? Can you say something more about your card?
>
> Something like BCM4727 does not seem to exist. Is your card 14e4:4724
> (BCM4313) or something else?

Oh sorry, the device is:

14e4:4727 BCM4313

Rgds//Thomas

2011-06-18 09:48:42

by Thomas Novin

[permalink] [raw]
Subject: Re: disagrees about version of symbol

On Fri, Jun 17, 2011 at 7:11 PM, Henry Ptasinski <[email protected]> wrote:
> On Fri, Jun 17, 2011 at 12:54:28AM -0700, Thomas Novin wrote:
>> Hi
>>
>> I was going to test the brcm80211 driver to replace the wl driver on
>> my gfs laptop to support a BCM4727 chip.
>>
>> After doing scripts/driver-select, choosing that driver, make, make
>> install, make unload and them modprobe brcm80211 I get this:
>
> So you're using compat-wireless, correct? ?What version of compat-wireless
> and kernel?
>
> After the "make unload", are cfg80211 and mac80211 actually unloaded?

Yes, version 2011-06-15. They were unloaded.

>> Jun 17 09:43:41 jennie-laptop kernel: [ 5418.241140] brcm80211: module
>> is from the staging directory, the quality is unknown, you have been
>> warned.
>> Jun 17 09:43:41 jennie-laptop kernel: [ 5418.241989] brcm80211:
>> disagrees about version of symbol ieee80211_free_hw
>
> You might have the original mac80211 loaded, not the updated one.

I see now that mac80211/cfg80211 are the correct version but the
driver name actually isn't brcm80211 but brcmsmac? Checking that
brcm80211.ko module I found that it was supplied by a kernel package.
Looking at what 'make install' installed I found brcmsmac.ko,
brcmfmac.ko, brcmutil.ko. I loaded mrcmsmac.ko and I immediately got
connected.

Rgds//TN