Lots of errors from the rt2x00pci driver

Bug #456977 reported by Dima Ryazanov
130
This bug affects 26 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Won't Fix
Undecided
Unassigned

Bug Description

My wireless connection was very slow, sometimes failing completely. I looked at the output of "dmesg", and it was filled with these errors:
[ 2640.560033] phy0 -> rt2500pci_set_device_state: Error - Device failed to enter state 1 (-16).
[ 2641.396062] phy0 -> rt2500pci_set_device_state: Error - Device failed to enter state 1 (-16).
[ 2642.196042] phy0 -> rt2500pci_set_device_state: Error - Device failed to enter state 1 (-16).
[ 2643.124033] phy0 -> rt2500pci_set_device_state: Error - Device failed to enter state 1 (-16).
[ 2644.856034] phy0 -> rt2500pci_set_device_state: Error - Device failed to enter state 1 (-16).
[ 2645.884036] phy0 -> rt2500pci_set_device_state: Error - Device failed to enter state 1 (-16).
[ 2647.112035] phy0 -> rt2500pci_set_device_state: Error - Device failed to enter state 1 (-16).
[ 2648.816033] phy0 -> rt2500pci_set_device_state: Error - Device failed to enter state 1 (-16).

They filled the whole dmesg buffer.

I ran "rmmod rt2x00pci; modprobe rt2x00pci", and the errors stopped happening - though the connection is still flaky.

ProblemType: Bug
Architecture: i386
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: dima 1608 F.... knotify4
                      dima 1644 F.... kmix
CRDA: Error: [Errno 2] No such file or directory
Card0.Amixer.info:
 Card hw:0 'V8237'/'VIA 8237 with ALC655 at 0xc000, irq 22'
   Mixer name : 'Realtek ALC655 rev 0'
   Components : 'AC97a:414c4760'
   Controls : 48
   Simple ctrls : 29
Date: Tue Oct 20 22:52:41 2009
DistroRelease: Ubuntu 9.10
HibernationDevice: RESUME=UUID=0918112a-b364-4aa7-a821-7ff3b9b68470
MachineType: VIA Technologies, Inc. KT600-8237
NonfreeKernelModules: nvidia
Package: linux-image-2.6.31-14-generic 2.6.31-14.46
ProcCmdLine: root=UUID=55296503-22ea-4341-baac-d1227cc05964 ro quiet splash
ProcEnviron:
 LANGUAGE=
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-14.46-generic
RelatedPackageVersions:
 linux-backports-modules-2.6.31-14-generic N/A
 linux-firmware 1.22
RfKill:
 1: phy1: Wireless LAN
  Soft blocked: no
  Hard blocked: no
SourcePackage: linux
Uname: Linux 2.6.31-14-generic i686
WpaSupplicantLog:

dmi.bios.date: 12/24/2003
dmi.bios.vendor: Phoenix Technologies, LTD
dmi.bios.version: 6.00 PG
dmi.board.name: KT600-8237
dmi.chassis.type: 3
dmi.modalias: dmi:bvnPhoenixTechnologies,LTD:bvr6.00PG:bd12/24/2003:svnVIATechnologies,Inc.:pnKT600-8237:pvr:rvn:rnKT600-8237:rvr:cvn:ct3:cvr:
dmi.product.name: KT600-8237
dmi.sys.vendor: VIA Technologies, Inc.

Revision history for this message
Dima Ryazanov (dima-gmail) wrote :
Revision history for this message
Rafael Jesus Alcantara Perez (rafa-dedaloingenieros) wrote :

I've googled this solution. It's about disabling powersaving:
# iwconfig wlan0 power off

Revision history for this message
Martin Lindhe (martinlindhe) wrote :

confirming Rafaels workaround fixes the issue.

Revision history for this message
David Heidelberg (okias) wrote :

02:09.0 0280: 1814:0201 (rev 01)
        Subsystem: 1814:2560
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=slow >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 64, Cache Line Size: 32 bytes
        Interrupt: pin A routed to IRQ 19
        Region 0: Memory at c0120000 (32-bit, non-prefetchable) [size=8K]
        Capabilities: [40] Power Management version 2
                Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-
        Kernel driver in use: rt2500pci
        Kernel modules: rt2500pci
Confirming that issue + terribly slow connection - 200Kbit VS other cards with 2Mbit (even after disable power save).

Computer: x86, 512M RAM, ATI R200

Revision history for this message
Peter Belew (peterbe) wrote :

I am also seeing this kind of message, on Lucid beta-1 with updates through today:

Jan 12 11:32:10 eros kernel: [ 9953.780029] phy0 -> rt2500pci_set_device_state: Error - Device failed to enter state 1 (-16).
Jan 12 11:32:23 eros kernel: [ 9966.280047] phy0 -> rt2500pci_set_device_state: Error - Device failed to enter state 1 (-16).
Jan 12 11:32:25 eros kernel: [ 9968.052049] phy0 -> rt2500pci_set_device_state: Error - Device failed to enter state 1 (-16).

I just have to press the wifi button to turn on the internal rt2500 card, and the messages start appearing in kern.log.

This is on my Averatec 3280 laptop with

Ubuntu version and kernel version
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=10.04
DISTRIB_CODENAME=lucid
DISTRIB_DESCRIPTION="Ubuntu lucid (development branch)"
Linux eros 2.6.32-10-generic #14-Ubuntu SMP Thu Jan 7 17:38:40 UTC 2010 i686 GNU/Linux
model name : Mobile AMD Sempron(tm) Processor 2800+

The rt2500 internal card seems to function Ok, though I haven't really done any speed tests since observing these messages.

Also, I can plug in a Netgear WG511T card in the pci slot, and it functions normally (where the pci slot failed to function under Karmic - see Bug 436341).

Revision history for this message
Peter Belew (peterbe) wrote :

confirming confirming Rafaels workaround in comment #2 stops the messages from appearing.

Revision history for this message
Johannes W (masterjo) wrote :

confirming Rafaels workaround in comment #2 stops the messages from appearing.

Revision history for this message
Jeremy Foshee (jeremyfoshee) wrote :

Hi Dima,

This bug was reported a while ago and there hasn't been any activity in it recently. We were wondering if this is still an issue? Can you try with the latest development release of Ubuntu? ISO CD images are available from http://cdimage.ubuntu.com/releases/ .

If it remains an issue, could you run the following command from a Terminal (Applications->Accessories->Terminal). It will automatically gather and attach updated debug information to this report.

apport-collect -p linux 456977

Also, if you could test the latest upstream kernel available that would be great. It will allow additional upstream developers to examine the issue. Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Once you've tested the upstream kernel, please remove the 'needs-upstream-testing' tag. This can be done by clicking on the yellow pencil icon next to the tag located at the bottom of the bug description and deleting the 'needs-upstream-testing' text. Please let us know your results.

Thanks in advance.

    [This is an automated message. Apologies if it has reached you inappropriately; please just reply to this message indicating so.]

tags: added: needs-kernel-logs
tags: added: needs-upstream-testing
tags: added: kj-triage
Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
Eugene Horohorin (genixoid) wrote :

The same error:

[ 111.900934] phy0 -> rt2500pci_set_device_state: Error - Device failed to enter state 1 (-16).
[ 112.180034] phy0 -> rt2500pci_set_device_state: Error - Device failed to enter state 1 (-16).

Kernel:
2.6.32-21-generic

Arch:
x86_64

Revision history for this message
Eugene Horohorin (genixoid) wrote : apport information

Architecture: amd64
DistroRelease: Ubuntu 10.04
InstallationMedia: Kubuntu 9.10 "Karmic Koala" - Release amd64 (20091027.1)
Package: linux (not installed)
ProcEnviron:
 LANGUAGE=
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.32-21.32-generic 2.6.32.11+drm33.2
Regression: Yes
Reproducible: Yes
Tags: lucid networking regression-update needs-upstream-testing
Uname: Linux 2.6.32-21-generic x86_64
UserGroups: video

tags: added: apport-collected
Revision history for this message
Johannes W (masterjo) wrote : apport-collect data

Architecture: i386
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: jo 16183 F.... pulseaudio
CRDA: Error: [Errno 2] No such file or directory
Card0.Amixer.info:
 Card hw:0 'IXP'/'ATI IXP rev 2 with ALC655 at 0xfbdfc800, irq 17'
   Mixer name : 'Realtek ALC655 rev 0'
   Components : 'AC97a:414c4760'
   Controls : 41
   Simple ctrls : 26
Card1.Amixer.info:
 Card hw:1 'Modem'/'ATI IXP Modem rev 2 at 0xfbdfcc00, irq 17'
   Mixer name : 'Silicon Laboratory Si3036,8 rev 7'
   Components : 'AC97m:53494c27'
   Controls : 3
   Simple ctrls : 3
Card1.Codecs.codec97.0.mc97.1.1:
 1-1/0: Silicon Laboratory Si3036,8 rev 7

 Extended modem ID: codec=1 LIN1
 Modem status : GPIO MREF ADC1 DAC1 PRE(ADC2) PRF(DAC2) PRG(HADC) PRH(HDAC)
 Line1 rate : 8000Hz
CheckboxSubmission: b44135b5151980316ea7ff2bbfeea914
CheckboxSystem: e1a1409fdb074e50c5958c215d111d02
DistroRelease: Ubuntu 9.10
HibernationDevice: RESUME=UUID=d836c34f-17b0-4a60-96d3-1a2d8961b931
Lsusb:
 Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
 Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
MachineType: MICRO-STAR INT'L CO.,LTD MS-1013
Package: linux (not installed)
PccardctlIdent:
 Socket 0:
   no product info available
 Socket 1:
   no product info available
PccardctlStatus:
 Socket 0:
   no card
 Socket 1:
   no card
ProcCmdLine: root=UUID=361a0e3a-cfc5-41e0-bcb2-da0d977b6c6f ro quiet
ProcEnviron:
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-20.58-generic
RelatedPackageVersions:
 linux-backports-modules-2.6.31-20-generic N/A
 linux-firmware 1.26
RfKill:
 0: phy0: Wireless LAN
  Soft blocked: no
  Hard blocked: no
Uname: Linux 2.6.31-20-generic i686
UserGroups:

WpaSupplicantLog:

dmi.bios.date: 01/09/2006
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: A1013AMS V6.70
dmi.chassis.asset.tag: No Asset Tag
dmi.chassis.type: 10
dmi.chassis.vendor: MICRO-STAR INT'L CO.,LTD
dmi.chassis.version: N/A
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrA1013AMSV6.70:bd01/09/2006:svnMICRO-STARINT'LCO.,LTD:pnMS-1013:pvr0131:cvnMICRO-STARINT'LCO.,LTD:ct10:cvrN/A:
dmi.product.name: MS-1013
dmi.product.version: 0131
dmi.sys.vendor: MICRO-STAR INT'L CO.,LTD

Revision history for this message
Johannes W (masterjo) wrote : AlsaDevices.txt
Revision history for this message
Johannes W (masterjo) wrote : AplayDevices.txt
Revision history for this message
Johannes W (masterjo) wrote : ArecordDevices.txt
Revision history for this message
Johannes W (masterjo) wrote : BootDmesg.txt
Revision history for this message
Johannes W (masterjo) wrote : Card0.Amixer.values.txt
Revision history for this message
Johannes W (masterjo) wrote : Card0.Codecs.codec97.0.ac97.0.0.txt
Revision history for this message
Johannes W (masterjo) wrote : Card0.Codecs.codec97.0.ac97.0.0.regs.txt
Revision history for this message
Johannes W (masterjo) wrote : Card1.Amixer.values.txt
Revision history for this message
Johannes W (masterjo) wrote : Card1.Codecs.codec97.0.mc97.1.1.regs.txt
Revision history for this message
Johannes W (masterjo) wrote : CurrentDmesg.txt
Revision history for this message
Johannes W (masterjo) wrote : IwConfig.txt
Revision history for this message
Johannes W (masterjo) wrote : Lspci.txt
Revision history for this message
Johannes W (masterjo) wrote : PciMultimedia.txt
Revision history for this message
Johannes W (masterjo) wrote : ProcCpuinfo.txt
Revision history for this message
Johannes W (masterjo) wrote : ProcInterrupts.txt
Revision history for this message
Johannes W (masterjo) wrote : ProcModules.txt
Revision history for this message
Johannes W (masterjo) wrote : UdevDb.txt
Revision history for this message
Johannes W (masterjo) wrote : UdevLog.txt
Revision history for this message
Johannes W (masterjo) wrote : WifiSyslog.gz
Revision history for this message
Johannes W (masterjo) wrote : XsessionErrors.txt
Changed in linux (Ubuntu):
status: Incomplete → New
Revision history for this message
Johannes W (masterjo) wrote :

Whoa I'm so sorry - I tried to follow the advice of comment #8.
Is that what you asked for Jeremy?

Revision history for this message
yeti (utu) wrote :

This bug, as originally described by Dima concerns the rt2500pci wlan
spamming dmesg. Probably due to the kernel requesting the wlan for a mode
the wlan cant recognize.

It was recognized as a kernel problem as early as Sept 2009 and taken
aboard by the kernel group at that time. Google 'rt2500pci spamming syslogd'.

The problem, and the workaround still persist, for me, for 2.26.32.

Others report the problem 'solved' in 2.26.34.999.

Log spamming by alsa is a different problem, which can probably be solved by
using alsamixer -c 0 to cut down on alsa pcm and output levels.

yeti

Revision history for this message
Dennis Kruyt (dennis-kruyt) wrote :

Also present in lucid.

Revision history for this message
zob (zob) wrote :

I think the point is that it is only present in lucid.

Or rather, the kernel 2.6.32, and newer (it's a kernel regression).
Older kernels work fine (such as the karmic kernel).

Revision history for this message
Peter Belew (peterbe) wrote :

I wonder if running a newer upstream kernel would show the same problem.

https://wiki.ubuntu.com/KernelTeam/MainlineBuilds

Caveat: some other things may not work with such a non-customized-to-ubuntu kernel, but this can help diagnose some kernel-related problems. You will still be able to boot into Lucid kernels. There are instructions for removing the upstream kernel and libraries after you are done with the test. Removing the kernel will take it away from your grub2 boot menu.

Revision history for this message
zob (zob) wrote :

I think the Canonical Kernel Team is on it. But it's probably gonna take a while. See https://bugs.launchpad.net/ubuntu/+source/linux/+bug/539794

Revision history for this message
Paul Tagliamonte (paultag) wrote :

another confirmation that Rafaels workaround fixes the issue.

Revision history for this message
Kim Tyler (ktyler) wrote :

I have following hardware on laptop (clevo)
00:0a.0 Network controller: RaLink RT2500 802.11g Cardbus/mini-PCI (rev 01)
 Subsystem: Micro-Star International Co., Ltd. Device 6833
 Flags: bus master, slow devsel, latency 64, IRQ 17
 Memory at d2204000 (32-bit, non-prefetchable) [size=8K]
 Capabilities: [40] Power Management version 2
 Kernel driver in use: rt2500pci
 Kernel modules: rt2500pci
I'm getting the same error:-
phy0 -> rt2500pci_set_device_state: Error - Device failed to enter state 1 (-16)

Confirm that workaround (now in /etc/rc.local) "iwconfig wlan0 power off" WORKS

(uname -a => Linux pio 2.6.32-22-generic #36-Ubuntu SMP Thu Jun 3 19:31:57 UTC 2010 x86_64 GNU/Linux)

Revision history for this message
Chris Totten (tottec) wrote : apport information

AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.21.
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: tottec 2178 F.... pulseaudio
CRDA: Error: [Errno 2] No such file or directory
Card0.Amixer.info:
 Card hw:0 'CK8S'/'NVidia CK8S with ALC850 at irq 20'
   Mixer name : 'Realtek ALC850 rev 0'
   Components : 'AC97a:414c4790'
   Controls : 42
   Simple ctrls : 27
Card1.Amixer.info:
 Card hw:1 'UART'/'MPU-401 UART at 0x300, irq 5'
   Mixer name : ''
   Components : ''
   Controls : 0
   Simple ctrls : 0
Card1.Amixer.values:

DistroRelease: Ubuntu 10.04
Frequency: Once a day.
HibernationDevice: RESUME=UUID=e5cf4117-f196-49b7-ae1f-d508a66da785
Lsusb:
 Bus 003 Device 002: ID 04fc:05d8 Sunplus Technology Co., Ltd
 Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
MachineType: ASUSTek Computer Inc. K8N-E-Deluxe
Package: linux (not installed)
ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.32-24-generic root=UUID=b53eddee-83a4-42d1-b0da-680a5aaa4080 ro quiet splash
ProcEnviron:
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.32-24.42-generic 2.6.32.15+drm33.5
Regression: Yes
RelatedPackageVersions: linux-firmware 1.34.1
Reproducible: No
RfKill:
 0: phy0: Wireless LAN
  Soft blocked: no
  Hard blocked: no
Tags: lucid networking regression-release needs-upstream-testing
Uname: Linux 2.6.32-24-generic x86_64
UserGroups:

dmi.bios.date: 09/07/2005
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 1011.004
dmi.board.name: 'K8N-E-Deluxe'
dmi.board.vendor: ASUSTeK Computer INC.
dmi.board.version: Rev 1.xx
dmi.chassis.asset.tag: Asset-1234567890
dmi.chassis.type: 3
dmi.chassis.vendor: Chassis Manufacture
dmi.chassis.version: Chassis Version
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr1011.004:bd09/07/2005:svnASUSTekComputerInc.:pnK8N-E-Deluxe:pvrToBeFilledByO.E.M.:rvnASUSTeKComputerINC.:rn'K8N-E-Deluxe':rvrRev1.xx:cvnChassisManufacture:ct3:cvrChassisVersion:
dmi.product.name: K8N-E-Deluxe
dmi.product.version: To Be Filled By O.E.M.
dmi.sys.vendor: ASUSTek Computer Inc.

Revision history for this message
Chris Totten (tottec) wrote : AlsaDevices.txt

apport information

Revision history for this message
Chris Totten (tottec) wrote : AplayDevices.txt

apport information

Revision history for this message
Chris Totten (tottec) wrote : ArecordDevices.txt

apport information

Revision history for this message
Chris Totten (tottec) wrote : BootDmesg.txt

apport information

Revision history for this message
Chris Totten (tottec) wrote : Card0.Amixer.values.txt

apport information

Revision history for this message
Chris Totten (tottec) wrote : Card0.Codecs.codec97.0.ac97.0.0.txt

apport information

Revision history for this message
Chris Totten (tottec) wrote : Card0.Codecs.codec97.0.ac97.0.0.regs.txt

apport information

Revision history for this message
Chris Totten (tottec) wrote : CurrentDmesg.txt

apport information

Revision history for this message
Chris Totten (tottec) wrote : IwConfig.txt

apport information

Revision history for this message
Chris Totten (tottec) wrote : Lspci.txt

apport information

Revision history for this message
Chris Totten (tottec) wrote : PciMultimedia.txt

apport information

Revision history for this message
Chris Totten (tottec) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
Chris Totten (tottec) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Chris Totten (tottec) wrote : ProcModules.txt

apport information

Revision history for this message
Chris Totten (tottec) wrote : UdevDb.txt

apport information

Revision history for this message
Chris Totten (tottec) wrote : UdevLog.txt

apport information

Revision history for this message
Chris Totten (tottec) wrote : WifiSyslog.txt

apport information

Revision history for this message
Chris Totten (tottec) wrote :

Spamming of dmesg stops with kernel 2.6.36-999-generic but wireless performance is atrocious. Shows connected at 48mbps but throughput is unusably slow, speed test resulted in 0.4mpbs on a 12mpbs connection. Wired connection tests at 10.4mbps.

# iwconfig wlan0 power off

Had no effect.

Changed in linux (Ubuntu):
status: New → Confirmed
Revision history for this message
Xan (dxpublica) wrote :

Confirmed: spam logging kernel.
The network works perfectly.

Revision history for this message
Brad Figg (brad-figg) wrote : Unsupported series, setting status to "Won't Fix".

This bug was filed against a series that is no longer supported and so is being marked as Won't Fix. If this issue still exists in a supported series, please file a new bug.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: Confirmed → Won't Fix
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.