Gutsy kernel 2.6.22-7-generic missing rt61 module

Bug #118205 reported by Rami Autiomäki
94
Affects Status Importance Assigned to Milestone
linux-ubuntu-modules-2.6.22 (Ubuntu)
Fix Released
High
Ben Collins

Bug Description

Binary package hint: linux-image-2.6.22-5-generic

Kubuntu Gutsy Gibbon
Module for rt61 based wireless network cards is missing from kernel.

rami@Kubuntu:~$ sudo modprobe rt61
Password:
FATAL: Module rt61 not found.
rami@Kubuntu:~$ sudo modprobe rt61pci
FATAL: Module rt61pci not found.

Revision history for this message
Ben Collins (ben-collins) wrote :

Yep, it got left out of the linux-ubuntu-modules build. Will be included in upcoming upload.

Changed in linux-source-2.6.22:
assignee: nobody → ben-collins
importance: Undecided → High
status: Unconfirmed → In Progress
Changed in linux-ubuntu-modules-2.6.22:
status: In Progress → Fix Committed
Revision history for this message
Ben Collins (ben-collins) wrote :

linux-ubuntu-modules-2.6.22 (2.6.22-6.10) gutsy; urgency=low

  [Ben Collins]

  * btsco: Update code compatible with 2.6.22.
    - LP: #117758
  * build/config: Enable BTSCO everywhere
  * rt2x00: Update to latest mac80211 based git tree
    - LP: #118205
  * rtl818x: Include rtl818x driver from mac80211 tree.
  * rt2x00: Include missing rt2x00rfkill.h header.
  * ipg: Update to use pci_driver_register()
  * build/config: Re-enable rtl818x for builds
  * ndiswrapper: Update to 1.45

  [Colin Watson]

  * Remove gnbd and ndiswrapper from ubuntu-modules udeb

  [Fabio M. Di Nitto]

  * GFS1 Syncronize with CVS HEAD
  * GFS1 Syncronize with CVS HEAD

 -- Ben Collins <email address hidden> Fri, 01 Jun 2007 11:03:53 -0400

Changed in linux-ubuntu-modules-2.6.22:
status: Fix Committed → Fix Released
Revision history for this message
Jos Dehaes (jos-dehaes) wrote :

the new driver does not work with my card. It does not even register a net device (ifconfig -a doesn't show the device).

Why is the legacy driver (which is in feisty, and in the old gutsy kernel, and still works perfectly, albeit without networkmanager) not included? There is the rt2500-source package, but that even fails to compile, and if I port to 2.6.22 (a few obvious changes), this driver locks up the machine hard. I'm going to try to compile the feisty rt2500 legacy driver sources for the new 2.6.22-6 gutsy kernel (I'm still booting the 2.6.20 kernel in gutsy).

Revision history for this message
Alexander Nofftz (alexnofftz) wrote :

I can absolutely confirm Jos Dehaes. The rt2x00 drivers don't work and lock up my system, while the rt61 driver from 2.6.20 works seamlessly. So the new kernel is sill not useable at all for me.

I have this card:

00:0f.0 Network controller: RaLink RT2561/RT61 802.11g PCI
00:0f.0 0280: 1814:0301

Regards,
  Alex

Revision history for this message
Jos Dehaes (jos-dehaes) wrote :

I was able to compile the 2.6.20 legacy driver for 2.6.22.6 (minor kernel API changes), and it works. It doesn't work with wpa_supplicant/networkmanager, but it should work again as before. Please include the rt2500 legacy driver again. I attach my rt2500.tar.gz sources here for other people to rebuild. I didn't do the other rt drivers, as I can not test them.

Changed in linux-ubuntu-modules-2.6.22:
status: Fix Released → Incomplete
Revision history for this message
Rami Autiomäki (rami-autiomaki) wrote :

Wireless doesn't work at all with rt2x00 drivers for me. Modprobing rt2x00pci doesn't do anything, I am posting this with Feisty kernel 2.6.20-15-generic and rt61-module.

Revision history for this message
Jos Dehaes (jos-dehaes) wrote :

I tried yesterday with the june 24 CVS snapshot of the rt2x00 driver. After some initial trouble (conflict with the driver from ubuntu-modules, and the rt2500 driver) it worked. I was able to associate (with wpa_supplicant) and connect. NetworkManager didn't work, nm-applet was segfaulting at the moment it should prompt for a passphrase.

I noticed that the modules I need are not all in ubuntu-modules. The module rt2500pci is not available in the ubuntu package. Maybe that is why it was not working with the gutsy version, I could only find rt2x00pci and rt2x00lib.

But there is progress at least :-). I you make a new kernel, please resync with the latest sources.

Revision history for this message
Jos Dehaes (jos-dehaes) wrote :

current git of rt2x00 works with network-manager now (WPA PSK). Please resync and add the missing modules.

Revision history for this message
Cristian Aravena Romero (caravena) wrote :

Not work with 2.6.22-7-generic

Revision history for this message
Marcin Gałązka (hipnoizz) wrote :

I've tested rt2x00-cvs-2007070304 with my RT2561 based card. After compiling and copying a firmware (downloaded from Ralink site as in README) to the proper directory I was able to connect to WEP protected AP using Network Manager. WPA not tested yet.

Revision history for this message
Marcin Gałązka (hipnoizz) wrote :

To clarify some things:

According to README from rt2x00-cvs-2007070304 dependiences for various cards are as follow:

 When loading the modules manually with insmod, you should load them in the
 following order:

 # eeprom_93cx6.ko (optional, only required for pci devices)
 # rt2x00lib.ko
  # rt2x00pci.ko (optional, only required for pci devices)
  # rt2x00usb.ko (optional, only required for usb devices)
 # rt2400pci.ko (optional, only required for rt2400 support)
 # rt2500pci.ko (optional, only required for rt2500 support)
 # rt2500usb.ko (optional, only required for rt2570 support)
 # rt61pci.ko (optional, only required for rt61 support)
 # rt73usb.ko (optional, only required for rt73 support)

Gutsy kernel 2.6.22.7 contains only rt2x00lib.ko, rt2x00pci.ko and rt2x00usb.ko. Enabling e.g. a RT2561 based card requires a rt61pci.ko and a firmware (README again):

 rt61pci and rt73usb require firmware to be available while loading the module.
 The following firmware files are available for each driver:

 # rt61pci
  - rt2561.bin
  - rt2561s.bin
  - rt2661.bin

 # rt73usb
  - rt73.bin

Revision history for this message
Cesare Tirabassi (norsetto) wrote :

Waiting for the official fix, you may want to know that there is a workaround which I'm temporarily using to be able to access internet in Gutsy with my Ralink 2500 (I believe this is somewhat similar to post #5 above).
You can find the patch that will allow the RT2500 configuration tool package to be used in Gutsy here:

https://bugs.launchpad.net/ubuntu/+source/rt2500/+bug/113054

This also contains the "legacy" rt2500 module that can easily be compiled with module-assistant.
I'm hoping that this will be uploaded soon to the repositories.

Revision history for this message
termitor (termitor) wrote :

new drivers rt2x00 and 01:07.0 Network controller: RaLink RT2500 802.11g Cardbus/mini-PCI (rev 01) work for my

Linux proton 2.6.22-7-generic #1 SMP Mon Jun 25 17:33:14 GMT 2007 i686 GNU/Linux

i'm love you ubuntuteam :-)

compil from daily cvs of serialmonkey project.

termitor@proton:~$ modinfo rt2x00pci
filename: /lib/modules/2.6.22-7-generic/rt2x00/rt2x00pci.ko
license: GPL
description: rt2x00 library
version: 2.0.2
author: http://rt2x00.serialmonkey.com
srcversion: 6100F5BB83E25E1736E2688
depends: mac80211,rt2x00lib
vermagic: 2.6.22-7-generic SMP mod_unload 586

Revision history for this message
Cedric Schieli (cschieli) wrote :

The problem is that lowlevel drivers (rt2400pci.ko, rt2500pci.ko, rt2500usb.ko, rt61pci.ko, rt73usb.ko) are not built, only the high level drivers (rt2x00lib.ko, rt2x00pci.ko, rt2x00usb.ko) are.
The root cause of this seems to be that the .config is not automatically included in recursive targets
Other modules subdirs are affected : fs/asfs media/lirc misc/ndiswrapper

This patch against current ubuntu-gutsy-lum git tree (491aaa043eb8d65c6c55327c3a0214e578814681) fix this (only for the rt2x00 subdir)
The resulting lum package let my rt2500pci card work with network-manager (WEP, didn't try WPA)

Revision history for this message
Cedric Schieli (cschieli) wrote :

To go one step further, this patch updates the rt2x00 subdir to latest git from git.serialmonkey.com (6de2b757f7b1e7b057f1fc8e440dc994d4e00836)

Revision history for this message
Marcin Gałązka (hipnoizz) wrote :

What about a firmware (needed by e.g. RT61)? Does Ubuntu policy allows including such files?

Revision history for this message
Cedric Schieli (cschieli) wrote :

This is an updated patch, containing the build fix and the latest git snapshot from git://git.kernel.org/pub/scm/linux/kernel/git/ivd/rt2x00.git (98ff3b8beadab92afd871d0f6898927172fe6815)

Revision history for this message
Ken Lewis (kenlewis) wrote : Update: Gutsy kernel 2.6.22-8-generic missing rt2x00 modules

Opened new bug for *same*issue* in 2.6.22-8-generic (linux-image and/or linux-ubuntu-modules): https://bugs.launchpad.net/ubuntu/+source/linux-ubuntu-modules-2.6.22/+bug/126407

Can't see why Linux-Ubuntu-Modules isn't building the rt2400pci.ko, rt2500pci.ko, rt2500usb.k0, rt73usb.ko and rt61pci.ko files, or I'd offer a patch.

Revision history for this message
3vi1 (launchpad-net-eternaldusk) wrote :

Ran into this same issue installing GG Tribe 3 i386 yesterday: The Linksys WMP54G v4.0 (rt2500) card wasn't found at all. I compiled/installed the rt2500 driver from source and it worked fine afterwards.

Updating to the 22-8 kernel of course broke it again... recompiled driver and copied to new kernel, etc. etc.

Revision history for this message
uga (yegor-jbanov) wrote :

+1 on the same issue. If it helps at all, here's my lsusb output on Feisty:

Bus 001 Device 002: ID 2001:3c00 D-Link Corp. [hex] DWL-G122 802.11g rev. B1 [ralink]

Revision history for this message
Andreas Gnau (rondom) wrote :

One might want to add that the serialmonkey-git has been superseded by git://git.kernel.org/pub/scm/linux/kernel/git/ivd/rt2x00.git/

For more info see http://rt2x00.serialmonkey.com/phpBB2/viewtopic.php?t=4055 and http://rt2x00.serialmonkey.com/phpBB2/viewtopic.php?t=3832

Changed in linux-ubuntu-modules-2.6.22:
status: Incomplete → In Progress
Revision history for this message
Andreas Gnau (rondom) wrote :

2.6.22-9 fixes this

Changed in linux-ubuntu-modules-2.6.22:
status: In Progress → Fix Released
Revision history for this message
Marcin Gałązka (hipnoizz) wrote :

I can confirm - it looks that all drivers are now present and working (at least rt61pci).

Revision history for this message
Golgoth (g0lg0th) wrote :

I can confirm too.

Everything is ok with my WMP54G v4.1 (rt61pci).

Network-manager is working fine! :D

Thx!

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

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.