2009-01-06 11:12:40

by Rodrigo Fresneda

[permalink] [raw]
Subject: trouble with compat-old

Dear developers,
I recently (06-Jan-09) tried to compile the compat-wireless-2.6-old
drivers to use with my intel wifi 5100 (Intel Corporation PRO/Wireless 5100
AGN [Shiloh]) in debian lenny with generic kernel 2.6.26-1-amd64
Compilation went fine until it tried to build iwlagn, when the following
error message was displayed:

WARNING: "iwl4965_agn_cfg"
[/home/fresneda/compat-wireless-2.6-old/drivers/net/wireless/iwlwifi/iwlagn.ko]
undefined!

The module is built, but it cannot be inserted:

FATAL: Error inserting iwlagn
(/lib/modules/2.6.26-1-amd64/updates/drivers/net/wireless/iwlwifi/iwlagn.ko):
Unknown symbol in module, or unknown parameter (see
dmesg)

And the output of dmesg:

iwlagn: Unknown symbol iwl4965_agn_cfg

Is there a simple workaround? Unfortunately, I cannot use a kernel >=2.6.27,
because of sound and video issues.
best regards,
rodrigo.


2009-01-08 23:15:04

by Hin-Tak Leung

[permalink] [raw]
Subject: Re: trouble with compat-old

On Thu, Jan 8, 2009 at 3:30 PM, Rodrigo Fresneda <[email protected]> wrote:
> Hi, I wanted to thank you for trying to help me, and to let you know
> that I have given up compiling compat-wireless-old and have moved on
> to kernel 2.6.28, with which my
> wifi device works perfectly. It turns out that the amount of work I
> had to do to get my wifi on was a lot more that to fix my device
> issues with the latest kernel, so it simply wasn't worth it anymore.
> I was especially appalled to learn that the iwl drivers were broken in
> compat-wireless-old after 09/09/2008 and it has remained this way.
> rodrigo.

Glad to hear. I have since learned (from some exchanges on ndiswrapper
lists) that there were some major architectural changes in the intel
driver and the code probably had needed some time to stabilize. Thanks
for the patience and reporting back on the success with later kernels.

Good luck and enjoys the connectivity...

2009-01-08 15:30:52

by Rodrigo Fresneda

[permalink] [raw]
Subject: Re: trouble with compat-old

Hi, I wanted to thank you for trying to help me, and to let you know
that I have given up compiling compat-wireless-old and have moved on
to kernel 2.6.28, with which my
wifi device works perfectly. It turns out that the amount of work I
had to do to get my wifi on was a lot more that to fix my device
issues with the latest kernel, so it simply wasn't worth it anymore.
I was especially appalled to learn that the iwl drivers were broken in
compat-wireless-old after 09/09/2008 and it has remained this way.
rodrigo.

On Wed, Jan 7, 2009 at 1:40 PM, Hin-Tak Leung <[email protected]> wrote:
> On Wed, Jan 7, 2009 at 1:40 AM, Rodrigo Fresneda <[email protected]> wrote:
>> Thanks for your answer. Now, what exactly am I supposed to do? Take a
>> look at the IWL section in config.mk:
>
> That's a bit wrong... how about try changing the 4965 "y" to "m"?
>
>>
>> CONFIG_IWL3945=m
>> CONFIG_IWL3945_DEBUG=n
>> CONFIG_IWL3945_LEDS=y
>> # CONFIG_IWL3945_RFKILL=y
>> CONFIG_IWL3945_SPECTRUM_MEASUREMENT=y
>> CONFIG_IWL4965=y
>> CONFIG_IWL5000=y
>> CONFIG_IWLAGN=m
>> CONFIG_IWLAGN_LEDS=y
>> CONFIG_IWLAGN_SPECTRUM_MEASUREMENT=y
>> CONFIG_IWLCORE=m
>> CONFIG_IWLWIFI=m
>> CONFIG_IWLWIFI_DEBUG=n
>> CONFIG_IWLWIFI_LEDS=y
>>
>> It seems CONFIG_IWL4965 is selected by default. Do you think there is
>> a better selection than the default one? An unrelated question, is
>> there a way to instruct make to build only the modules I want, i.e.,
>> iwlagn?
>
> yes and no... "y" sometimes means it assumes *your current kernel* has
> it built-in (i.e. = "ignore this option").
> A shame you aren't using the latest compat-wireless.
>
> Well, if you want to skip some modules, you just put comment it out,
> e.g. edit drivers/net/wireless/Makefile and put a "#" before any line
> that doesn't contain obj-$(CONFIG_IWL*
>
>>
>> thanks again,
>> rodrigo.
>>
>>
>>
>> On Wed, Jan 7, 2009 at 12:36 AM, Hin-Tak Leung <[email protected]> wrote:
>>> On Tue, Jan 6, 2009 at 11:12 AM, Rodrigo Fresneda <[email protected]> wrote:
>>>
>>>> WARNING: "iwl4965_agn_cfg"
>>>> [/home/fresneda/compat-wireless-2.6-old/drivers/net/wireless/iwlwifi/iwlagn.ko]
>>>> undefined!
>>>>
>>>> The module is built, but it cannot be inserted:
>>>>
>>>> FATAL: Error inserting iwlagn
>>>> (/lib/modules/2.6.26-1-amd64/updates/drivers/net/wireless/iwlwifi/iwlagn.ko):
>>>> Unknown symbol in module, or unknown parameter (see
>>>> dmesg)
>>>>
>>>> And the output of dmesg:
>>>>
>>>> iwlagn: Unknown symbol iwl4965_agn_cfg
>>>
>>>
>>> symbol iwl4965_agn_cfg is enabled if you select "Intel Wireless WiFi
>>> 4965AGN" support also.
>>> config IWL4965 . Try selecting that when you build compat-wireless.old
>>> . (seems that in some older version of
>>> conpat-wireless, the 5000 code depends on the 4965 code).
>>>
>>> Also, make sure that you do "depmod -a"
>>>
>>
>

2009-01-07 12:41:01

by Hin-Tak Leung

[permalink] [raw]
Subject: Re: trouble with compat-old

On Wed, Jan 7, 2009 at 1:40 AM, Rodrigo Fresneda <[email protected]> wrote:
> Thanks for your answer. Now, what exactly am I supposed to do? Take a
> look at the IWL section in config.mk:

That's a bit wrong... how about try changing the 4965 "y" to "m"?

>
> CONFIG_IWL3945=m
> CONFIG_IWL3945_DEBUG=n
> CONFIG_IWL3945_LEDS=y
> # CONFIG_IWL3945_RFKILL=y
> CONFIG_IWL3945_SPECTRUM_MEASUREMENT=y
> CONFIG_IWL4965=y
> CONFIG_IWL5000=y
> CONFIG_IWLAGN=m
> CONFIG_IWLAGN_LEDS=y
> CONFIG_IWLAGN_SPECTRUM_MEASUREMENT=y
> CONFIG_IWLCORE=m
> CONFIG_IWLWIFI=m
> CONFIG_IWLWIFI_DEBUG=n
> CONFIG_IWLWIFI_LEDS=y
>
> It seems CONFIG_IWL4965 is selected by default. Do you think there is
> a better selection than the default one? An unrelated question, is
> there a way to instruct make to build only the modules I want, i.e.,
> iwlagn?

yes and no... "y" sometimes means it assumes *your current kernel* has
it built-in (i.e. = "ignore this option").
A shame you aren't using the latest compat-wireless.

Well, if you want to skip some modules, you just put comment it out,
e.g. edit drivers/net/wireless/Makefile and put a "#" before any line
that doesn't contain obj-$(CONFIG_IWL*

>
> thanks again,
> rodrigo.
>
>
>
> On Wed, Jan 7, 2009 at 12:36 AM, Hin-Tak Leung <[email protected]> wrote:
>> On Tue, Jan 6, 2009 at 11:12 AM, Rodrigo Fresneda <[email protected]> wrote:
>>
>>> WARNING: "iwl4965_agn_cfg"
>>> [/home/fresneda/compat-wireless-2.6-old/drivers/net/wireless/iwlwifi/iwlagn.ko]
>>> undefined!
>>>
>>> The module is built, but it cannot be inserted:
>>>
>>> FATAL: Error inserting iwlagn
>>> (/lib/modules/2.6.26-1-amd64/updates/drivers/net/wireless/iwlwifi/iwlagn.ko):
>>> Unknown symbol in module, or unknown parameter (see
>>> dmesg)
>>>
>>> And the output of dmesg:
>>>
>>> iwlagn: Unknown symbol iwl4965_agn_cfg
>>
>>
>> symbol iwl4965_agn_cfg is enabled if you select "Intel Wireless WiFi
>> 4965AGN" support also.
>> config IWL4965 . Try selecting that when you build compat-wireless.old
>> . (seems that in some older version of
>> conpat-wireless, the 5000 code depends on the 4965 code).
>>
>> Also, make sure that you do "depmod -a"
>>
>

2009-01-07 01:40:06

by Rodrigo Fresneda

[permalink] [raw]
Subject: Re: trouble with compat-old

Thanks for your answer. Now, what exactly am I supposed to do? Take a
look at the IWL section in config.mk:

CONFIG_IWL3945=m
CONFIG_IWL3945_DEBUG=n
CONFIG_IWL3945_LEDS=y
# CONFIG_IWL3945_RFKILL=y
CONFIG_IWL3945_SPECTRUM_MEASUREMENT=y
CONFIG_IWL4965=y
CONFIG_IWL5000=y
CONFIG_IWLAGN=m
CONFIG_IWLAGN_LEDS=y
CONFIG_IWLAGN_SPECTRUM_MEASUREMENT=y
CONFIG_IWLCORE=m
CONFIG_IWLWIFI=m
CONFIG_IWLWIFI_DEBUG=n
CONFIG_IWLWIFI_LEDS=y

It seems CONFIG_IWL4965 is selected by default. Do you think there is
a better selection than the default one? An unrelated question, is
there a way to instruct make to build only the modules I want, i.e.,
iwlagn?

thanks again,
rodrigo.



On Wed, Jan 7, 2009 at 12:36 AM, Hin-Tak Leung <[email protected]> wrote:
> On Tue, Jan 6, 2009 at 11:12 AM, Rodrigo Fresneda <[email protected]> wrote:
>
>> WARNING: "iwl4965_agn_cfg"
>> [/home/fresneda/compat-wireless-2.6-old/drivers/net/wireless/iwlwifi/iwlagn.ko]
>> undefined!
>>
>> The module is built, but it cannot be inserted:
>>
>> FATAL: Error inserting iwlagn
>> (/lib/modules/2.6.26-1-amd64/updates/drivers/net/wireless/iwlwifi/iwlagn.ko):
>> Unknown symbol in module, or unknown parameter (see
>> dmesg)
>>
>> And the output of dmesg:
>>
>> iwlagn: Unknown symbol iwl4965_agn_cfg
>
>
> symbol iwl4965_agn_cfg is enabled if you select "Intel Wireless WiFi
> 4965AGN" support also.
> config IWL4965 . Try selecting that when you build compat-wireless.old
> . (seems that in some older version of
> conpat-wireless, the 5000 code depends on the 4965 code).
>
> Also, make sure that you do "depmod -a"
>

2009-01-07 14:04:08

by Rodrigo Fresneda

[permalink] [raw]
Subject: Re: trouble with compat-old

Hi, thanks again.


>
> yes and no... "y" sometimes means it assumes *your current kernel* has
> it built-in (i.e. = "ignore this option").

Unfortunately, didn't work out. But I am trying various configurations
to see if I get lucky.


> A shame you aren't using the latest compat-wireless.

Well, I am using the latest compat-wireless-*old*... and the only
reason is because I can't use a newer kernel. With 2.6.28 iwlagn works
like a charm, so why would I compile compat-wireless anyway?
Just to be clear about this, my kernel is the debian lenny stock
kernel 2.6.26-1-amd64


>
> Well, if you want to skip some modules, you just put comment it out,
> e.g. edit drivers/net/wireless/Makefile and put a "#" before any line
> that doesn't contain obj-$(CONFIG_IWL*
>

Thanks, now it goes much faster.
best wishes,
rodrigo.

2009-01-06 23:36:04

by Hin-Tak Leung

[permalink] [raw]
Subject: Re: trouble with compat-old

On Tue, Jan 6, 2009 at 11:12 AM, Rodrigo Fresneda <[email protected]> wrote:

> WARNING: "iwl4965_agn_cfg"
> [/home/fresneda/compat-wireless-2.6-old/drivers/net/wireless/iwlwifi/iwlagn.ko]
> undefined!
>
> The module is built, but it cannot be inserted:
>
> FATAL: Error inserting iwlagn
> (/lib/modules/2.6.26-1-amd64/updates/drivers/net/wireless/iwlwifi/iwlagn.ko):
> Unknown symbol in module, or unknown parameter (see
> dmesg)
>
> And the output of dmesg:
>
> iwlagn: Unknown symbol iwl4965_agn_cfg


symbol iwl4965_agn_cfg is enabled if you select "Intel Wireless WiFi
4965AGN" support also.
config IWL4965 . Try selecting that when you build compat-wireless.old
. (seems that in some older version of
conpat-wireless, the 5000 code depends on the 4965 code).

Also, make sure that you do "depmod -a"