Upgraded my system to use Kernel vanilla-sources 2.6.22-rc4, but now I can't install rt2500. * checking rt2500-1.1.0_pre2007020911.tar.gz ;-) ... [ ok ] * Determining the location of the kernel source code * Found kernel source directory: * /usr/src/linux * Found sources for kernel version: * 2.6.22-rc4 * Checking for suitable kernel configuration options... * CONFIG_NET_RADIO: is not set when it should be. * Please check to make sure these options are set correctly. * Failure to do so may cause unexpected problems. * Once you have satisfied these options, please try merging * this package again. Reproducible: Always Steps to Reproduce: 1. emerge --sync 2. emerge rt2500
This is *not* a Gentoo bugzilla product bug; read the descriptions please.
I also have this problem. I tried removing the CONFIG_NET_RADIO check from the ebuild, but it still failed due to a compile error. I believe some kernel APIs changed since 2007020911. I used the latest CVS snapshot (2007062815) from the driver homepage ( http://rt2x00.serialmonkey.com ) and got it to compile. The module loads and I can see an access point via RaConfig2500. I haven't done any further testing, I'm away from home on vacation. This bug should really be closed as a duplicate of Bug #181973 because the "fix" to make the driver work with 2.6.22 is to do a version bump to a newer CVS snapshot.
We need to fix this in the stable tree before 2.6.22 goes stable, so there may not be enough time to add a new snapshot AND mark it stable. If someone wants to post the compiler errors, I'll comment on how they can be fixed. The CONFIG_CHECK situation can be fixed with something along these lines: https://bugs.gentoo.org/attachment.cgi?id=124396&action=view
Created attachment 124492 [details] build.log Here are the errors I got when I tried to build rt2500-1.1.0_pre2007020911 against vanilla sources 2.6.22.1
/var/tmp/portage/net-wireless/rt2500-1.1.0_pre2007020911/work/rt2500-cvs-2007020911/Module/rtmp_main.c: In function 'rt2500_init_module': /var/tmp/portage/net-wireless/rt2500-1.1.0_pre2007020911/work/rt2500-cvs-2007020911/Module/rtmp_main.c:1015: warning: implicit declaration of function 'pci_module_init' replace pci_module_init with pci_register_driver (unconditionally) /var/tmp/portage/net-wireless/rt2500-1.1.0_pre2007020911/work/rt2500-cvs-2007020911/Module/rtmp_data.c:1201: error: 'struct sk_buff' has no member named 'mac' replace: skb->mac.raw = skb->data; with: skb_reset_mac_header(skb) Both changes are fine to apply unconditionally.
Created attachment 124918 [details] rt2500/rt2500-1.1.0_pre2007020911.ebuild Ebuild with config change and patch
Created attachment 124919 [details, diff] 2.6.22.patch Patch, as per dsd's above.
Fixed, thanks.