rt2x00-cvs-2007120502 fails on linux-2.6.24-rc4

Live forum: http://rt2x00.serialmonkey.com/viewtopic.php?t=4488

nbi

05-12-2007 20:05:40

The stated kernel requirement for this snapshot is "minimal" required kernel version is 2.6.24-rc1.

I take "minimal" to mean immediately following kernel versions are ok. Is that really true though?

Have APIs changed significantly going from rc1 to rc4?

Has anyone actually verified that "minimal" is a safe qualification?

My compile attempt of rc4 immediately blows up on a missing symbol CONFIG_MAC80211

In fact I can't even find a 'make menuconfig' question that references this symbol. There appears to be no path for getting it into the .config. shock

What gives?

Maybe "minimal" should be stricken from the build instructions.

I'll try building with rc1 to see if that corrects the problem. But the code maintainers should double check this.
Thanks.

nbi

05-12-2007 23:45:34

Ok, same problem with rc1.

For those of us who have not built rt2x00 since the days when CONFIG_MAC80211 was not a required kernel option could one of the developers please speak up?

What exactly needs to be done to set this option? Patch the kernel source? Build extra modules? Run some tool(s)? What ??

The required steps are not listed in the instructions of the current snapshot.
Elaboration would be greatly appreciated.
Thanks.

saittam

05-12-2007 23:45:40

It'd help if you could post the exact compiler output you get.

Anyway, I've just checked and CONFIG_MAC80211 is there. See here
[urlhqyvyihb]http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=blob;f=net/mac80211/Kconfig;h=ce176e691afec86281ffb1130f848c53ff641f9e;hb=09b56adc98e0f8a21644fcb4d20ad367c3fceb55[/urlhqyvyihb]

In my -rc3 the option in menuconfig is under Networking->Wireless->Generic IEEE 802.11 Networking Stack

nbi

05-12-2007 23:52:39

It'd help if you could post the exact compiler output you get.

Anyway, I've just checked and CONFIG_MAC80211 is there. See here
[url3owxx3gr]http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=blob;f=net/mac80211/Kconfig;h=ce176e691afec86281ffb1130f848c53ff641f9e;hb=09b56adc98e0f8a21644fcb4d20ad367c3fceb55[/url3owxx3gr]

In my -rc3 the option in menuconfig is under Networking->Wireless->Generic IEEE 802.11 Networking Stack[/quote3owxx3gr]

Can you point me to an official tar ball that includes this code?

And I tried all the options under Networking->Wireless. None of them result in CONFIG_MAC80211 being set in the resulting .config

saittam

06-12-2007 01:06:13

I've just downloaded 2.6.23, applied the 2.6.24-rc4 patch, just for you. Here we go

Enable General Setup -> Prompt for development and/or incomplete code/drivers
Enable Networking -> Networking support
Enable Networking -> Wireless -> Generic IEEE 802.11 Networking Stack (mac80211)

and then you should have CONFIG_MAC80211 in .config

nbi

06-12-2007 06:47:45

I've just downloaded 2.6.23, applied the 2.6.24-rc4 patch, just for you. Here we go

Enable General Setup -> Prompt for development and/or incomplete code/drivers
Enable Networking -> Networking support
Enable Networking -> Wireless -> Generic IEEE 802.11 Networking Stack (mac80211)

and then you should have CONFIG_MAC80211 in .config[/quote3ep9ze79]

Hmm. I thought the tar balls at ftp.kernel.org/pub/linux/kernel/v2.6/testing/ are the equivalent of the stable base with patch applied (in other words what you just did). Apparently not. cry

I'll try it your way (which is how I did it in the past, but mistakenly thought the testing tar balls are an equivalent). If the testing tar balls are not an equivalent then what do they contain??

Thanks for your help.

nbi

06-12-2007 18:18:39

I've just downloaded 2.6.23, applied the 2.6.24-rc4 patch, just for you. Here we go

Enable General Setup -> Prompt for development and/or incomplete code/drivers
Enable Networking -> Networking support
Enable Networking -> Wireless -> Generic IEEE 802.11 Networking Stack (mac80211)

and then you should have CONFIG_MAC80211 in .config[/quote1j6qala7]

Hmm. I thought the tar balls at ftp.kernel.org/pub/linux/kernel/v2.6/testing/ are the equivalent of the stable base with patch applied (in other words what you just did). Apparently not. cry

I'll try it your way (which is how I did it in the past, but mistakenly thought the testing tar balls are an equivalent). If the testing tar balls are not an equivalent then what do they contain??

Thanks for your help.[/quote1j6qala7]

Ok, I confirmed the testing tar balls are the equivalent of base+patch just as I thought. So it does save time to use them (that's the rc tar balls).

Everything builds flawlessly. What tripped me up was forgetting to enable the very first option "Prompt for ...." which results in the mac80211 options not being displayed. shock

Performance wise this driver seems much better than its predecessor. Now if I can only figure out why it doesn't activate properly at boot (ifup fails to bring up the interface after modprobe). I can get it going though from the command line, a timing problem perhaps?

saittam

06-12-2007 19:30:39

No idea about that, probably depends on distro scripts anyway. Glad you got it working though.