RT2570 No wireless network with 2.6.24-17

Bug #237144 reported by Bernard Decock
4
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

My wireless-network was running ok with Ubuntu8.04 and kernel 2.6.24-16-generic #1 SMP Thu Apr 10 13:23:42 UTC 2008 i686 GNU/Linux.
After upgrading to kernel 2.6.24-17-generic #1 SMP Thu May 1 14:31:33 UTC 2008 i686 I couldn't make any network-connections
(Booting with the old kernel solves the problem).

I'm using a Bus 001 Device 004: ID 0b05:1706 ASUSTek Computer, Inc. WL-167G 802.11g Adapter [ralink]

With kernel 24-16 I get the following working network:
  *-network
       description: Wireless interface
       physical id: 1
       logical name: rausb0
       serial: 00:11:d8:8e:79:2d
       capabilities: ethernet physical wireless
       configuration: broadcast=yes ip=192.168.1.2 multicast=yes wireless=RT2500USB WLAN

Modules : usbcore 146028 6 rt2500usb,rt2x00usb,usblp,rt2570,uhci_hcd

With kernel 24-17 : (not working network)

 *-network
       description: Wireless interface
       physical id: 1
       logical name: rausb0
       serial: 00:11:d8:8e:79:2d
       capabilities: ethernet physical wireless
       configuration: broadcast=yes multicast=yes wireless=IEEE 802.11g

Modules : usbcore 146028 5 rt2500usb,rt2x00usb,usblp,uhci_hcd

It looks as rt2570 is not loaded and that the interface is denoted as IEEE 802.11g iso RT2500USB WLAN
In case of the newer kernel, wmaster0 is activated ??

lo Link encap:Local Loopback
          inet addr:127.0.0.1 Mask:255.0.0.0
          UP LOOPBACK RUNNING MTU:16436 Metric:1
          RX packets:59 errors:0 dropped:0 overruns:0 frame:0
          TX packets:59 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:2988 (2.9 KB) TX bytes:2988 (2.9 KB)

rausb0 Link encap:Ethernet HWaddr 00:11:d8:8e:79:2d
          inet addr:192.168.1.2 Bcast:192.168.1.255 Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
          RX packets:12 errors:0 dropped:0 overruns:0 frame:0
          TX packets:11 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:1044 (1.0 KB) TX bytes:1184 (1.1 KB)

---> I don't get this wmaster0 with the older kernel 24-16

wmaster0 Link encap:UNSPEC HWaddr 00-11-D8-8E-79-2D-00-00-00-00-00-00-00-00-00-00
          UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

Witk kernel 24-16 I get the following report (dmesg)

[ 41.865270] rt2570: init
[ 41.867440] rt2570: idVendor = 0xb05, idProduct = 0x1706
[ 43.799985] rt2570: using permanent MAC addr
[ 43.799996] rt2570: Active MAC addr: 00:11:d8:8e:79:2d.
[ 43.838073] usblp0: USB Bidirectional printer dev 6 if 0 alt 0 proto 2 vid 0x043D pid 0x0069
[ 43.838111] usbcore: registered new interface driver usblp
[ 43.839064] usbcore: registered new interface driver rt2570
[ 44.012255] usbcore: registered new interface driver rt2500usb
[ 45.833239] rt2570: driver version 1.0.0

With kernel 24-17

[ 49.116239] rausb0: Initial auth_alg=0
[ 49.116252] rausb0: authenticate with AP 00:12:bf:02:32:0a
[ 49.130962] rausb0: RX authentication from 00:12:bf:02:32:0a (alg=0 transaction=2 status=0)
[ 49.130973] rausb0: authenticated
[ 49.130978] rausb0: associate with AP 00:12:bf:02:32:0a
[ 49.146973] rausb0: RX AssocResp from 00:12:bf:02:32:0a (capab=0x461 status=0 aid=2)
[ 49.146983] rausb0: associated
[ 49.146993] rausb0: switched to short barker preamble (BSSID=00:12:bf:02:32:0a)

I looks as if another kind of driver is being loaded. As soon as this wmaster0-stuff appears in the ifconfig,
then it is not possible to make an connection.

Booting from kernel 24-16 always results in a good wireless network.
Any suggestions?

Tags: cft-2.6.27
Revision history for this message
Bernard Decock (decockbernard) wrote :
Download full text (4.4 KiB)

After upgrading to kernel 2.6.24-18-generic I still wasn't able to make a connection.

When I boot with kernel 2.6.24-16, then System->Hardwaredrivers shows the following information:
  No proprietary drivers are in use on this system
     Underneath in the messagebox : Device driver Ralink RT2570 usb 802.11g WLAN driver 1.0.0-CVS2008042800 is in use

With kernels -17 and -18 the messagebox is empty.

Hereby my search-results in /lib/modules
/lib/modules/2.6.20-16-generic/kernel/ubuntu/wireless/rt2x00/rt2500pci.ko
/lib/modules/2.6.20-16-generic/kernel/ubuntu/wireless/rt2x00/rt2500usb.ko
/lib/modules/2.6.20-16-generic/kernel/ubuntu/wireless/rt2x00-legacy/rt2500
/lib/modules/2.6.20-16-generic/kernel/ubuntu/wireless/rt2x00-legacy/rt2500/rt2500.ko
/lib/modules/2.6.22-14-generic/ubuntu/wireless/rt2x00/rt2500pci.ko
/lib/modules/2.6.22-14-generic/ubuntu/wireless/rt2x00/rt2500usb.ko
/lib/modules/2.6.24-16-generic/kernel/drivers/net/wireless/rt2x00/rt2500pci.ko
/lib/modules/2.6.24-16-generic/kernel/drivers/net/wireless/rt2x00/rt2500usb.ko
/lib/modules/2.6.24-17-generic/kernel/drivers/net/wireless/rt2x00/rt2500pci.ko
/lib/modules/2.6.24-17-generic/kernel/drivers/net/wireless/rt2x00/rt2500usb.ko
/lib/modules/2.6.24-18-generic/kernel/drivers/net/wireless/rt2x00/rt2500pci.ko
/lib/modules/2.6.24-18-generic/kernel/drivers/net/wireless/rt2x00/rt2500usb.ko

Anyway the interface is running, as I can see the blue led flashing on the dongle if
Ubuntu is booting with the latest kernel

ausb0 Link encap:Ethernet HWaddr 00:11:d8:8e:79:2d
          inet addr:192.168.1.2 Bcast:192.168.1.255 Mask:255.255.255.0
          UP BROADCAST MULTICAST MTU:1500 Metric:1
          RX packets:8 errors:0 dropped:0 overruns:0 frame:0 <<<<---- Packets received !
          TX packets:9 errors:0 dropped:0 overruns:0 carrier:0 <<<<---- Packets transmitted !
          collisions:0 txqueuelen:1000
          RX bytes:860 (860.0 B) TX bytes:1364 (1.3 KB)

When I boot with kernel -16, then the WIFI-radar shows a device with mode Managed
When I boot with kernel -17 or -18, then the WIFI-radar shows a device with mode Master (and the signal-level
is shown).

Dmesg :

[ 48.127440] rausb0: Initial auth_alg=0
[ 48.127454] rausb0: authenticate with AP 00:12:bf:02:32:0a
[ 48.143835] rausb0: RX authentication from 00:12:bf:02:32:0a (alg=0 transaction=2 status=0)
[ 48.143844] rausb0: authenticated
[ 48.143849] rausb0: associate with AP 00:12:bf:02:32:0a
[ 48.152504] rausb0: RX AssocResp from 00:12:bf:02:32:0a (capab=0x461 status=0 aid=2)
[ 48.152510] rausb0: associated
[ 48.152518] rausb0: switched to short barker preamble (BSSID=00:12:bf:02:32:0a)

----> When I started Firefox (but Firefox was not able to establish a connection)

[ 863.557489] rausb0: RX deauthentication from 00:12:bf:02:32:0a (reason=2)
[ 863.557501] rausb0: deauthenticated
[ 864.565173] rausb0: authenticate with AP 00:12:bf:02:32:0a
[ 864.763703] rausb0: authenticate with AP 00:12:bf:02:32:0a
[ 864.963432] rausb0: authenticate with AP 00:12:bf:02:32:0a
[ 865.163160] rausb0: authentication with AP 00:12:bf:02:32:0a timed out

When I try to get an IP-adres (sudo dhc...

Read more...

Revision history for this message
Bernard Decock (decockbernard) wrote :

I got my wireless-network working again:

I booted with kernel 2.6.24-18 and recompiled the project 2570-cvs-2008042800 (which was still in one of my folders).
    cd Module
    make
    sudo make install
    ---- reboot Ubuntu
    wireless network is working again!!!

The project can be downloaded from http://rt2x00.serialmonkey.com/wiki/index.php?title=Main_Page

So each update of the kernel, I will have to rebuild these drivers?

Revision history for this message
GaryTX (gjbarr) wrote :

Thanks for your time and effort on this!!
Ref your comments below:
QUOTE
I booted with kernel 2.6.24-18 and recompiled the project 2570-cvs-2008042800 (which was still in one of my folders).
    cd Module
    make
    sudo make install
    ---- reboot Ubuntu
    wireless network is working again!!!
UNQUOTE
I'm lost as how to do the make. I've downloaded my corresponding driver, which is rt2500-cvs-2008060907. It is in my home director. So what directory do I "cd" to? Where is the makefile to allow the "make" to work? I assume after I do the make that I simply enter "sudo make install", then reboot, right?

Appreciate any help.
Gary

Revision history for this message
Bernard Decock (decockbernard) wrote : Re: [Bug 237144] Re: RT2570 No wireless network with 2.6.24-17
Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

Hi Bernard,

Sorry for the delayed response. I just wanted to know if you've tried installing the linux-backports-modules package to see if it helps. The reason I ask is because linux-backports-modules contains an updated version of the rt2x00 drivers from serialmonkey. Please let us know your results if you happen to test. Thanks.

Changed in linux:
status: New → Incomplete
Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

The Ubuntu Kernel Team is planning to move to the 2.6.27 kernel for the upcoming Intrepid Ibex 8.10 release. As a result, the kernel team would appreciate it if you could please test this newer 2.6.27 Ubuntu kernel. There are one of two ways you should be able to test:

1) If you are comfortable installing packages on your own, the linux-image-2.6.27-* package is currently available for you to install and test.

--or--

2) The upcoming Alpha5 for Intrepid Ibex 8.10 will contain this newer 2.6.27 Ubuntu kernel. Alpha5 is set to be released Thursday Sept 4. Please watch http://www.ubuntu.com/testing for Alpha5 to be announced. You should then be able to test via a LiveCD.

Please let us know immediately if this newer 2.6.27 kernel resolves the bug reported here or if the issue remains. More importantly, please open a new bug report for each new bug/regression introduced by the 2.6.27 kernel and tag the bug report with 'linux-2.6.27'. Also, please specifically note if the issue does or does not appear in the 2.6.26 kernel. Thanks again, we really appreicate your help and feedback.

Revision history for this message
Bernard Decock (decockbernard) wrote :

Hi Leann,

Thank you very much for your help. I wrote already some comments on this subject. See https://bugs.launchpad.net/ubuntu/+source/linux/+bug/236509.

Revision history for this message
Bernard Decock (decockbernard) wrote :

RT2570 works fine in Intrepid (Ubuntu 8.10)

Changed in linux:
status: Incomplete → Fix Released
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.