2008-01-13 15:05:52

by Mario Guenterberg

[permalink] [raw]
Subject: iwlwifi 1.2.23 vs. kernel 2.6.23.13

Hi...

I has tried to compile the latest stable kernel (2.6.23.13) with the
iwlwifi-1.2.23 driver and the mac80211-10.0.4 framework. I has
patched the kernel source tree and when I start menuconfig, it was fine.
If I started to run make, nothing seems to be wrong, but the iwl3945
module was not build.

I don't know why this module doesn't build anymore!

On kernel 2.6.23.12 with iwlwifi-1.1.19 and mac80211-9.0.3 I has no
problems like above.

regards
Mario

--
-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GCS/CM d- s++: a+ C++++>$ UBL*++++$ P++ L+++ E--- W+++ N+ o-- K- w O- M-
V-- PS++ PE++ Y PGP+++ t--- 5 X++++ R++ tv- b+++ DI D++++ G++ e* h----
r+++ y++++
------END GEEK CODE BLOCK------


Attachments:
(No filename) (700.00 B)
signature.asc (827.00 B)
Digital signature
Download all attachments

2008-01-14 18:54:11

by Reinette Chatre

[permalink] [raw]
Subject: RE: iwlwifi 1.2.23 vs. kernel 2.6.23.13

On , Mario Guenterberg [[email protected]] wrote:

> I has tried to compile the latest stable kernel (2.6.23.13) with the
> iwlwifi-1.2.23 driver and the mac80211-10.0.4 framework. I has
> patched the kernel source tree and when I start menuconfig, it
> was fine.
> If I started to run make, nothing seems to be wrong, but the iwl3945
> module was not build.

At this point the new mac80211 module should be built. There is no
iwl3945 in the 2.6.23 kernel so it will not be built as part of this
(the kernel build) step. After you built mac80211 in the kernel you need
to follow the installation instructions of iwl3945 to built it as a
separate module outside the kernel. Details can be found in the INSTALL
file that came with iwlwifi-1.2.23.

Reinette

2008-01-14 23:37:53

by Reinette Chatre

[permalink] [raw]
Subject: RE: iwlwifi 1.2.23 vs. kernel 2.6.23.13

On Monday, January 14, 2008 2:16 PM, Mario Guenterberg wrote:


> The built as external module works fine, but I wonder why the
> patched kernel sources not works. If I use the old iwl3945-1.1.19
> with the 2.6.23.13 tree, the built process works in the kernel.

The external iwlwifi driver available from intellinuxwireless.org does
not patch the kernel. After you built the module you could do a "make
install" to place the module in your /lib/modules/... directory and thus
use it as though it is in the kernel, but the kernel sources will not be
modified.

> I see the patch_kernel script in 1.2.23 have the deprecated state.
> But when I do the patch_kernel after a make in the 1.2.23 source tree,
> the files are in the kernel source tree under driver/net/wireless
> including Kconfig and Makefile.
> But the module wasn't built. This makes me wonder...

As you note, "make patch_kernel" is deprecated. Using it has no effect.
The "make patch_kernel" will only print out the message that it is
deprecated and not take any further action. If you see any action taken
then there is something else going on.

After make in the 1.2.23 you could do "make install". You could also use
the modules directly from the directory where it was built.

Reinette

2008-01-14 22:16:29

by Mario Guenterberg

[permalink] [raw]
Subject: Re: iwlwifi 1.2.23 vs. kernel 2.6.23.13

On Mon, Jan 14, 2008 at 10:54:09AM -0800, Chatre, Reinette wrote:
> On , Mario Guenterberg [[email protected]] wrote:
>
> > I has tried to compile the latest stable kernel (2.6.23.13) with the
> > iwlwifi-1.2.23 driver and the mac80211-10.0.4 framework. I has
> > patched the kernel source tree and when I start menuconfig, it
> > was fine.
> > If I started to run make, nothing seems to be wrong, but the iwl3945
> > module was not build.
>
> At this point the new mac80211 module should be built. There is no
> iwl3945 in the 2.6.23 kernel so it will not be built as part of this
> (the kernel build) step. After you built mac80211 in the kernel you need
> to follow the installation instructions of iwl3945 to built it as a
> separate module outside the kernel. Details can be found in the INSTALL
> file that came with iwlwifi-1.2.23.

The built as external module works fine, but I wonder why the
patched kernel sources not works. If I use the old iwl3945-1.1.19
with the 2.6.23.13 tree, the built process works in the kernel.

I see the patch_kernel script in 1.2.23 have the deprecated state.
But when I do the patch_kernel after a make in the 1.2.23 source tree,
the files are in the kernel source tree under driver/net/wireless
including Kconfig and Makefile.
But the module wasn't built. This makes me wonder...

Thanks
Mario


Attachments:
(No filename) (1.31 kB)
signature.asc (827.00 B)
Digital signature
Download all attachments