rt2x00-source module requires radio support in the kernel

Bug #126632 reported by Marc Tardif on 2007-07-17
10
Affects Status Importance Assigned to Milestone
rt2x00 (Ubuntu)
Medium
Unassigned

Bug Description

I'm running Gutsy last upgraded on 2007-07-17 and I'm trying to install the rt2x00-source module. However, when building with module-assistance, I get the error message that the kernel does not support radio:

/usr/src/modules/rt2x00/rt2x00_compat.h:28:2: error: #error Wireless radio support not enabled in kernel!
/usr/src/modules/rt2x00/rt2x00_compat.h:29:2: error: #error Please refer to README file for minimal requirements.

When I grep /boot/config-`uname -r` for RADIO, I get:

CONFIG_HAMRADIO=y
CONFIG_IPW2200_RADIOTAP=y
and a bunch of CONFIG_RADIO_* entries

However, there used to be a CONFIG_NET_RADIO config option. So, something seems to have changed in the kernel configuration.

Changed in linux-source-2.6.22:
assignee: nobody → ubuntu-kernel-team
Tim Gardner (timg-tpi) wrote :

Marc,

What is wrong with this: fakeroot apt-get source -b linux-ubuntu-modules-2.6.22-8-generic

The missing config option the way you are doing it is probably CONFIG_NET_WIRELESS.

Martin Pitt (pitti) wrote :

Too late for Tribe-3.

Changed in linux-source-2.6.22:
importance: Undecided → Medium
status: New → Confirmed
status: Confirmed → Incomplete
Timo Jyrinki (timo-jyrinki) wrote :

Is this fixed nowadays? A working rt2x00 should really get in gutsy.

Andrew Jorgensen (ajorg) wrote :

I'm a bit confused about this bug. rt2x00 drivers have been included for some time now but don't work at all, at least for me. The word from upstream has always been that when it's ready for use it will be in a mainline kernel release.

If I understand correctly this is a bug regarding the rt2x00-source deb and that it cannot be built against the ubuntu kernel sources as shipped. Since the rt2x00 driver is being included with the kernel there's no reason to build from the rt2x00-source package (which is probably also out of date). In a way this bug is just plain invalid - rt2x00-source should not be built against linux-source-2.6.22 (though it may be valid to build it against older kernels)

Martin Pitt (pitti) wrote :

Too late for a full kernel upload now, unless this is an unintrusive one and does not break ABI.

Alexander Jones (alex-weej) wrote :

Andrew - I agree completely. The rt73 driver in rt2x00 on Feisty simply does not work, and the authors make no lies about whole thing being beta software. Furthemore, rt2x00 development is currently on hold. [1]

Unfortunately we don't seem to be shipping the legacy rt73 driver (the only one that actually works).

[1] http://rt2x00.serialmonkey.com/wiki/index.php?title=Main_Page

Timo Jyrinki (timo-jyrinki) wrote :

Rt2x00 development should be back on track according to the news page, and has been for some time.

As of today's gutsy, rt2500 chipset seems to work, with the rt2x00 driver, for open and WEP networks via network-manager, which is better than not working at all or the legacy driver that doesn't work with network-manager. Connecting to WPA network does not seem to work on my computer.

According to linux-ubuntu-modules changelog last update to rt2x00 driver was done on 28th of July. Over at the wireless-dev, there's now 2.0.8 release available, which should offer improved support for all the rt devices (rt2400, rt2500, rt61, rt73).

http://git.kernel.org/?p=linux/kernel/git/linville/wireless-dev.git;a=shortlog;h=rt2x00

Colin Watson (cjwatson) wrote :

Moving milestone forward.

Ben Collins (ben-collins) wrote :

This really isn't a bug in the kernel. If our rt2x00 drivers don't work in linux-ubuntu-modules, that's a separate bug, but this bug is in rt2x00-source for not being compatible with the newer kernel source.

Changed in linux-source-2.6.22:
assignee: ubuntu-kernel-team → nobody
Launchpad Janitor (janitor) wrote :

[Expired for rt2x00 (Ubuntu) because there has been no activity for 60 days.]

Javier Barroso (javibarroso) wrote :

is there a workaround for this issue ?

Thank you

Bart Cramer (bart-cramer) wrote :

Same here. Trying to get it working for my parents... Any help would be appreciated!

The error message is still the same:

CC [M] /usr/src/modules/rt2x00/ieee80211/ieee80211.o
In file included from <command line>:1:
/usr/src/modules/rt2x00/rt2x00_compat.h:28:2: error: #error Wireless radio support not enabled in kernel!
/usr/src/modules/rt2x00/rt2x00_compat.h:29:2: error: #error Please refer to README file for minimal requirements.

followed by (but probably less interesting for this bug):

In file included from /usr/src/modules/rt2x00/ieee80211/ieee80211.c:13:
include/linux/netdevice.h:405: error: duplicate member ‘ax25_ptr’
/usr/src/modules/rt2x00/ieee80211/ieee80211.c: In function ‘ieee80211_subif_start_xmit’:
/usr/src/modules/rt2x00/ieee80211/ieee80211.c:1475: error: ‘struct sk_buff’ has no member named ‘nh’
/usr/src/modules/rt2x00/ieee80211/ieee80211.c:1476: error: ‘struct sk_buff’ has no member named ‘h’
/usr/src/modules/rt2x00/ieee80211/ieee80211.c:1613: error: ‘struct sk_buff’ has no member named ‘mac’
/usr/src/modules/rt2x00/ieee80211/ieee80211.c:1614: error: ‘struct sk_buff’ has no member named ‘nh’
/usr/src/modules/rt2x00/ieee80211/ieee80211.c:1615: error: ‘struct sk_buff’ has no member named ‘h’
/usr/src/modules/rt2x00/ieee80211/ieee80211.c: In function ‘header_parse_80211’:
/usr/src/modules/rt2x00/ieee80211/ieee80211.c:2469: error: ‘struct sk_buff’ has no member named ‘mac’
/usr/src/modules/rt2x00/ieee80211/ieee80211.c:2469: error: ‘struct sk_buff’ has no member named ‘mac’
/usr/src/modules/rt2x00/ieee80211/ieee80211.c: In function ‘ieee80211_rx_h_data’:
/usr/src/modules/rt2x00/ieee80211/ieee80211.c:2645: error: ‘struct sk_buff’ has no member named ‘mac’
/usr/src/modules/rt2x00/ieee80211/ieee80211.c:2645: error: ‘struct sk_buff’ has no member named ‘nh’
/usr/src/modules/rt2x00/ieee80211/ieee80211.c: In function ‘ieee80211_rx_mgmt’:
/usr/src/modules/rt2x00/ieee80211/ieee80211.c:2773: error: ‘struct sk_buff’ has no member named ‘mac’
/usr/src/modules/rt2x00/ieee80211/ieee80211.c: In function ‘ieee80211_rx_monitor’:
/usr/src/modules/rt2x00/ieee80211/ieee80211.c:2809: error: ‘struct sk_buff’ has no member named ‘mac’
/usr/src/modules/rt2x00/ieee80211/ieee80211.c: In function ‘ieee80211_register_hw’:
/usr/src/modules/rt2x00/ieee80211/ieee80211.c:4685: error: ‘struct net_device’ has no member named ‘class_dev’
make[2]: *** [/usr/src/modules/rt2x00/ieee80211/ieee80211.o] Error 1
make[1]: *** [_module_/usr/src/modules/rt2x00] Error 2
make: *** [default] Error 2

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers