[STAGING] [Natty] [2.6.37] RT2860 (ralink) broken with rt2800pci and rt2860.sta isn't used

Bug #673440 reported by Matthieu Baerts on 2010-11-10
18
This bug affects 2 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Undecided
Unassigned

Bug Description

Hello,

With the new kernel release available on Ubuntu Natty (2.6.37-2) I'm not able to use my Ralink rt2860 wireless card. I already had this kind of bug on Lucid (bug #496093) and on Maverick (bug #594866) but a workaround was found. This workaround doesn't work here.

Don't hesitate to tell me something to do if it's needed ;)

Thank you!

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: linux-image-2.6.37-2-generic 2.6.37-2.10
Regression: Yes
Reproducible: Yes
ProcVersionSignature: Ubuntu 2.6.37-2.10-generic 2.6.37-rc1
Uname: Linux 2.6.37-2-generic x86_64
NonfreeKernelModules: nvidia
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.23.
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: mbaerts 1975 F.... pulseaudio
Card0.Amixer.info:
 Card hw:0 'Intel'/'HDA Intel at 0xfa200000 irq 42'
   Mixer name : 'Realtek ALC888'
   Components : 'HDA:10ec0888,17c02026,00100001'
   Controls : 36
   Simple ctrls : 21
Date: Wed Nov 10 11:38:05 2010
HibernationDevice: RESUME=UUID=feb4bf5c-a5b0-417a-b9c6-26fe24c479e7
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release amd64 (20100429)
IwConfig:
 lo no wireless extensions.

 eth0 no wireless extensions.
MachineType: MEDION WIM2180
ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.37-2-generic root=UUID=c11e30c7-48fb-4c4e-8f3e-0c506b8c9885 ro
ProcEnviron:
 LANG=C
 SHELL=/bin/bash
RelatedPackageVersions: linux-firmware 1.39
RfKill:
 0: acer-wireless: Wireless LAN
  Soft blocked: no
  Hard blocked: no
SourcePackage: linux
StagingDrivers: rt2860sta
Title: [STAGING]
WifiSyslog:
 Nov 10 11:25:51 localhost kernel: [ 422.170215] rt2800pci 0000:0a:00.0: PCI INT A disabled
 Nov 10 11:28:48 localhost kernel: [ 599.001099] lo: Disabled Privacy Extensions
 Nov 10 11:29:01 localhost kernel: [ 611.804465] exe (6348): /proc/6348/oom_adj is deprecated, please use /proc/6348/oom_score_adj instead.
 Nov 10 11:29:01 localhost kernel: [ 611.843809] chromium-browse[6348]: segfault at d8 ip 00007f20ced68bc9 sp 00007fff8e98a8a0 error 4 in libgdk-x11-2.0.so.0.2200.0[7f20ced05000+ad000]
dmi.bios.date: 12/18/2009
dmi.bios.vendor: Phoenix Technologies LTD
dmi.bios.version: V1.0K
dmi.board.name: WIM2180
dmi.board.vendor: MEDION
dmi.board.version: Not Applicable
dmi.chassis.asset.tag: No Asset Tag
dmi.chassis.type: 10
dmi.chassis.vendor: MEDION
dmi.chassis.version: A2040
dmi.modalias: dmi:bvnPhoenixTechnologiesLTD:bvrV1.0K:bd12/18/2009:svnMEDION:pnWIM2180:pvr20:rvnMEDION:rnWIM2180:rvrNotApplicable:cvnMEDION:ct10:cvrA2040:
dmi.product.name: WIM2180
dmi.product.version: 20
dmi.sys.vendor: MEDION

Matthieu Baerts (matttbe) wrote :
Matthieu Baerts (matttbe) wrote :

Here is a few things that I've done:
  $ LANG=C
  $ ifconfig -s
Iface MTU Met RX-OK RX-ERR RX-DRP RX-OVR TX-OK TX-ERR TX-DRP TX-OVR Flg
eth0 1500 0 21156 0 0 0 15819 0 0 0 BMRU
lo 16436 0 54 0 0 0 54 0 0 0 LRU
  $ sudo ifconfig wlan0 up
SIOCSIFFLAGS: Device or resource busy
  $ sudo rmmod rt2
rt2800lib rt2800pci rt2860sta rt2x00lib rt2x00pci
  $ sudo rmmod rt2800pci
  $ sudo ifconfig wlan0 up
wlan0: ERROR while getting interface flags: No such device
  $ sudo rmmod rt28
rt2800lib rt2860sta
  $ sudo rmmod rt2800lib
  $ sudo ifconfig wlan0 up
wlan0: ERROR while getting interface flags: No such device
  $ sudo rmmod rt2
rt2860sta rt2x00lib rt2x00pci
  $ sudo rmmod rt2x00pci
  $ sudo ifconfig wlan0 up
wlan0: ERROR while getting interface flags: No such device
  $ sudo rmmod rt2
rt2860sta rt2x00lib
  $ sudo rmmod rt2x00lib
  $ sudo ifconfig wlan0 up
wlan0: ERROR while getting interface flags: No such device
  $ sudo rmmod rt2860sta
  $ sudo ifconfig wlan0 up
wlan0: ERROR while getting interface flags: No such device
  $ sudo modprobe rt2860sta
Killed
  $ sudo ifconfig wlan0 up
wlan0: ERROR while getting interface flags: No such device

Matthieu Baerts (matttbe) wrote :

From dmesg:
[ 18.973671] ppdev: user-space parallel port driver
[ 36.600080] phy0 -> rt2800_load_firmware: Error - PBF system register not ready.
[ 42.025927] r8169 0000:06:00.0: eth0: link up
[ 42.025940] r8169 0000:06:00.0: eth0: link up
[ 44.770088] phy0 -> rt2800_load_firmware: Error - PBF system register not ready.
[ 45.330041] phy0 -> rt2800_load_firmware: Error - PBF system register not ready.
[ 45.580040] phy0 -> rt2800_load_firmware: Error - PBF system register not ready.
[ 46.967823] r8169 0000:06:00.0: eth0: link up
[ 48.201862] r8169 0000:06:00.0: eth0: link up
[ 50.219777] EXT4-fs (sda4): re-mounted. Opts: errors=remount-ro,commit=0
[ 50.267313] audit_printk_skb: 6 callbacks suppressed
[ 50.267320] type=1400 audit(1289384380.530:18): apparmor="DENIED" operation="open" parent=1742 profile="/sbin/dhclient3" name="/var/lib/wicd/dhclient.conf" pid=1766 comm="dhclient" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
[ 58.760023] eth0: no IPv6 routers present
[ 162.660045] phy0 -> rt2800_load_firmware: Error - PBF system register not ready.
[ 165.260055] phy0 -> rt2800_load_firmware: Error - PBF system register not ready.
[ 208.000049] phy0 -> rt2800_load_firmware: Error - PBF system register not ready.
[ 422.170215] rt2800pci 0000:0a:00.0: PCI INT A disabled

Of course, the last line is appeared after having launched this command:
 $ sudo rmmod rt2800pci

Hi Matthieu

From your logs:
>phy0 -> rt2800_load_firmware: Error - PBF system register not ready.
>Architecture: amd64
>RaLink RT2860 [1814:0781

This looks like bug #659143.

Why the alternative driver rt2860sta doesn't work either I have no clue. I just downloaded todays natty isos to try myself.

I tried rt2860sta of 2.6.37-3 kernel (from xorg-edgers) on maverick:
NULL pointer dereference: see attached rt2860.dmesg.trace

rt2800pci showed bug 659143, unsurprisingly.
If that got fixed I would not even care about rt2860sta.

Changed in linux (Ubuntu):
status: New → Confirmed
Matthieu Baerts (matttbe) wrote :

As said Wolfgang, the problem is now a bit different. This command no longer gives us an error if we use the same workaround given on the bug #594866 :
  # ifconfig wlan0 up

As you can see on the dmesg, the loading of this drivers produces a crash.

Fabio Marconi (fabiomarconi) wrote :

Hello Wolfgang
can you please update the situation at today ?
Thanks
Fabio

Matthieu Baerts (matttbe) wrote :

@ Fabio: Now it works again after having added these line into '/etc/modprobe.d/blacklist.conf' and rebooted.
blacklist rt2800pci
blacklist rt2800lib
blacklist rt2x00usb
blacklist rt2x00pci
blacklist rt2x00lib

It's the same workaround mentionned on this bug #594866

Hi Fabio
Like Matthieu I was able to connect (infrastructure mode) with the rt2860sta driver. I did this on current natty live 64 bit.

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

Other bug subscribers

Related questions