module rt2860sta ERROR!!! RTMPCancelTimer failed, Timer hasn't been initialize!

Bug #376577 reported by marijus
172
This bug affects 29 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

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

i get this error in kernel.log about every 3 seconds:

May 13 12:53:41 ubuntu kernel: [ 610.432058] ERROR!!! RTMPCancelTimer failed, Timer hasn't been initialize!
May 13 12:53:44 ubuntu kernel: [ 613.504113] ERROR!!! RTMPCancelTimer failed, Timer hasn't been initialize!
May 13 12:53:47 ubuntu kernel: [ 616.476049] ERROR!!! RTMPCancelTimer failed, Timer hasn't been initialize!
May 13 12:53:50 ubuntu kernel: [ 619.443090] ERROR!!! RTMPCancelTimer failed, Timer hasn't been initialize!
May 13 12:53:53 ubuntu kernel: [ 622.516061] ERROR!!! RTMPCancelTimer failed, Timer hasn't been initialize!

if i unload the kernel module rt2860sta the errors stop.

filename: /lib/modules/2.6.30-5-generic/kernel/drivers/staging/rt2860/rt2860sta.ko
version: 1.8.1.1
license: GPL
srcversion: 34F364D69486B3A0520C8BF
alias: pci:v00001A3Bd00001059sv*sd*bc*sc*i*
alias: pci:v00001814d00000781sv*sd*bc*sc*i*
alias: pci:v00001814d00000701sv*sd*bc*sc*i*
alias: pci:v00001814d00000681sv*sd*bc*sc*i*
alias: pci:v00001814d00000601sv*sd*bc*sc*i*
depends:
staging: Y
vermagic: 2.6.30-5-generic SMP mod_unload modversions 586
parm: mac:rt28xx: wireless mac addr (charp)

btw there is a new driver version 2.1.1.0 out since 3 weeks see here:
http://www.ralinktech.com/ralink/Home/Support/Linux.html

Revision history for this message
Γουργιώτης Γιώργος (aka Gourgi) (gourgi) wrote :

i 'm also seeing this messages with the same kernel
$ uname -r -s -v
Linux 2.6.30-020630rc6-generic #020630rc6 SMP Mon May 18 15:27:04 UTC 2009
$ lsmod |grep 2860
rt2860sta 517400 1
$ modinfo rt2860sta
filename: /lib/modules/2.6.30-020630rc6-generic/kernel/drivers/staging/rt2860/rt2860sta.ko
version: 1.8.1.1
license: GPL
srcversion: 34F364D69486B3A0520C8BF
alias: pci:v00001A3Bd00001059sv*sd*bc*sc*i*
alias: pci:v00001814d00000781sv*sd*bc*sc*i*
alias: pci:v00001814d00000701sv*sd*bc*sc*i*
alias: pci:v00001814d00000681sv*sd*bc*sc*i*
alias: pci:v00001814d00000601sv*sd*bc*sc*i*
depends:
staging: Y
vermagic: 2.6.30-020630rc6-generic SMP mod_unload modversions 586
parm: mac:rt28xx: wireless mac addr (charp)
$ dmesg
[ 298.350183] ERROR!!! RTMPCancelTimer failed, Timer hasn't been initialize!
[ 303.455972] ===>rt_ioctl_giwscan. 4(4) BSS returned, data->length = 404

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

Confirmed on new Ubuntu 9.04 install with the following details:

[ oxyph: ~ ]$ lsmod | grep 2860
rt2860sta 441920 1

---

[ oxyph: ~ ]$ modinfo rt2860sta
filename: /lib/modules/2.6.28-12-netbook-eeepc/kernel/drivers/staging/rt2860/rt2860sta.ko
version: 1.8.1.1
license: GPL
srcversion: F8A8B7D56002B0571161D46
alias: pci:v00001A3Bd00001059sv*sd*bc*sc*i*
alias: pci:v00001814d00000781sv*sd*bc*sc*i*
alias: pci:v00001814d00000701sv*sd*bc*sc*i*
alias: pci:v00001814d00000681sv*sd*bc*sc*i*
alias: pci:v00001814d00000601sv*sd*bc*sc*i*
depends:
vermagic: 2.6.28-12-netbook-eeepc SMP mod_unload modversions 586
parm: mac:rt28xx: wireless mac addr (charp)

Revision history for this message
answers (answersguy) wrote :

Compiled the new 2.1.2.0 module using the link in the original post and the readme file instructions included in the archive. The error message no longer appears in the syslogs and the wireless card works flawlessly connecting to WEP, WPA, WPA2 and unencrypted connections using the NetworkManager Applet 0.7.0.100.

[ oxyph: ~ ]$ modinfo rt2860sta
filename: /lib/modules/2.6.28-12-netbook-eeepc/kernel/drivers/staging/rt2860/rt2860sta.ko
version: 2.1.2.0
license: GPL
srcversion: 355B81DA42995AB567BD9A0
alias: pci:v00001432d00007768sv*sd*bc*sc*i*
alias: pci:v00001432d00007748sv*sd*bc*sc*i*
alias: pci:v00001432d00007738sv*sd*bc*sc*i*
alias: pci:v00001432d00007727sv*sd*bc*sc*i*
alias: pci:v00001432d00007758sv*sd*bc*sc*i*
alias: pci:v00001432d00007728sv*sd*bc*sc*i*
alias: pci:v00001432d00007708sv*sd*bc*sc*i*
alias: pci:v00001A3Bd00001059sv*sd*bc*sc*i*
alias: pci:v00001814d00000781sv*sd*bc*sc*i*
alias: pci:v00001814d00000701sv*sd*bc*sc*i*
alias: pci:v00001814d00000681sv*sd*bc*sc*i*
alias: pci:v00001814d00000601sv*sd*bc*sc*i*
depends:
vermagic: 2.6.28-12-netbook-eeepc SMP mod_unload modversions 586
parm: mac:rt28xx: wireless mac addr (charp)

Revision history for this message
Anthony Hook (anthonyhook) wrote :

My girlfriend is having this problem on Ubuntu Karmic Koala 9.10, 2.6.31-13-generic and is occasionally unable to connected to an open(not secured) wifi connection on campus.

dmesg reports:
...
[ 38.384025] ==>rt_ioctl_siwfreq::SIOCSIWFREQ[cmd=0x8b04] (Channel=11)
[ 38.384119] ERROR!!! RTMPCancelTimer failed, Timer hasn't been initialize!
[ 48.403300] ==>rt_ioctl_siwfreq::SIOCSIWFREQ[cmd=0x8b04] (Channel=11)
[ 48.403403] ERROR!!! RTMPCancelTimer failed, Timer hasn't been initialize!
...

$ modinfo rt2860sta
filename: /lib/modules/2.6.31-13-generic/kernel/drivers/staging/rt2860/rt2860sta.ko
version: 1.8.1.1
license: GPL
srcversion: 1C1D2752CED2C3EC1543E1D
alias: pci:v00001A3Bd00001059sv*sd*bc*sc*i*
alias: pci:v00001814d00000781sv*sd*bc*sc*i*
alias: pci:v00001814d00000701sv*sd*bc*sc*i*
alias: pci:v00001814d00000681sv*sd*bc*sc*i*
alias: pci:v00001814d00000601sv*sd*bc*sc*i*
depends:
staging: Y
vermagic: 2.6.31-13-generic SMP mod_unload modversions 586
parm: mac:rt28xx: wireless mac addr (charp)

Revision history for this message
MedO (smaxein) wrote :

syslog seems to suggest that the x crash really was related to the update-manager problem, I attached the messages from a few minutes before the crash up to the last message before the next boot.

In particular, this message appears at the same time the X server disappeared:
AptDaemon.Worker: CRITICAL: Killing child since timeout of 600 s

Revision history for this message
MedO (smaxein) wrote :

Sorry about that, this was supposed to go to bug #448086. Ignore or delete (if possible) the previous message.

Revision history for this message
steve. (launchpad-coles) wrote :

I'm also getting this with ubuntu 9.10 kernel 2.6.31-17-generic on an Eeepc 1000H

ERROR!!! RTMPCancelTimer failed, Timer hasn't been initialize!

It happens randomly about 20 to 50 times a day when connected to our University Wireless network.
Connection information shows WPA/WPA2, EAP-TTLS, PAP

It connects to the network but it is very slow to connect and repeatedly disconnects.

This is an improvement on previous versions of Ubuntu as it can now connect to this University network even if it is not reliable. Lack of support for TKIP on WPA Enterprise seemed to be the issue before.

When connecting at home using WPA PSK it is still very reliable and does not drop out.

Revision history for this message
DavidDay (dday376) wrote :

Getting this on ubuntu 9.10 using WMP600N Wireless Adapter and WICD:

$ uname -r -s -v
Linux 2.6.31-16-generic #53-Ubuntu SMP Tue Dec 8 04:02:15 UTC 2009

$ lsmod |grep 2860
rt2860sta 585580 1

$ modinfo rt2860sta
filename: /lib/modules/2.6.31-16-generic/kernel/drivers/staging/rt2860/rt2860sta.ko
version: 1.8.1.1
license: GPL
srcversion: 1C1D2752CED2C3EC1543E1D
alias: pci:v00001A3Bd00001059sv*sd*bc*sc*i*
alias: pci:v00001814d00000781sv*sd*bc*sc*i*
alias: pci:v00001814d00000701sv*sd*bc*sc*i*
alias: pci:v00001814d00000681sv*sd*bc*sc*i*
alias: pci:v00001814d00000601sv*sd*bc*sc*i*
depends:
staging: Y
vermagic: 2.6.31-16-generic SMP mod_unload modversions
parm: mac:rt28xx: wireless mac addr (charp)

$ dmesg
[64836.303135] ERROR!!! RTMPCancelTimer failed, Timer hasn't been initialize!
[64843.671051] ===>rt_ioctl_giwscan. 6(6) BSS returned, data->length = 798
[64843.716457] sky2 eth0: disabling interface
[64843.730609] sky2 eth0: enabling interface
[64843.731865] ADDRCONF(NETDEV_UP): eth0: link is not ready
[64843.815180] RX DESC ffff880055038000 size = 2048
[64843.815437] <-- RTMPAllocTxRxRingMemory, Status=0
[64843.818425] --> Error 2 opening /etc/Wireless/RT2860STA/RT2860STA.dat
[64843.818427] 1. Phy Mode = 0
[64843.818428] 2. Phy Mode = 0
[64843.833742] 3. Phy Mode = 0
[64843.835852] MCS Set = 00 00 00 00 00
[64843.837404] <==== RTMPInitialize, Status=0
[64843.837465] 0x1300 = 000a4200
[64843.871646] ==>rt_ioctl_siwfreq::SIOCSIWFREQ[cmd=0x8b04] (Channel=6)

rictec (rictec)
description: updated
Revision history for this message
Brendan (schismoid) wrote :
Download full text (3.2 KiB)

I can confirm that I'm seeing the same bug on Ubuntu 9.10 on an eeePC 901

$ uname -r -s -v
Linux 2.6.31-17-generic #54-Ubuntu SMP Thu Dec 10 16:20:31 UTC 2009

$ modinfo rt2860sta
filename: /lib/modules/2.6.31-17-generic/kernel/drivers/staging/rt2860/rt2860sta.ko
version: 1.8.1.1
license: GPL
srcversion: 2DB10B2D13BA8040F82A25A
alias: pci:v00001A3Bd00001059sv*sd*bc*sc*i*
alias: pci:v00001814d00000781sv*sd*bc*sc*i*
alias: pci:v00001814d00000701sv*sd*bc*sc*i*
alias: pci:v00001814d00000681sv*sd*bc*sc*i*
alias: pci:v00001814d00000601sv*sd*bc*sc*i*
depends:
staging: Y
vermagic: 2.6.31-17-generic SMP mod_unload modversions 586
parm: mac:rt28xx: wireless mac addr (charp)

dmesg:
[32441.841956] <==== RTMPInitialize, Status=0
[32441.842038] 0x1300 = 000a4260
[32441.942926] ==>rt_ioctl_siwfreq::SIOCSIWFREQ[cmd=0x8b04] (Channel=11)
[32447.013601] ===>rt_ioctl_giwscan. 6(6) BSS returned, data->length = 644
[32447.014052] ==>rt_ioctl_siwfreq::SIOCSIWFREQ[cmd=0x8b04] (Channel=11)
[32452.713071] ra0: no IPv6 routers present
[32458.073038] ERROR!!! RTMPCancelTimer failed, Timer hasn't been initialize!
[32466.460268] ===>rt_ioctl_giwscan. 5(5) BSS returned, data->length = 553
[32466.460529] ==>rt_ioctl_siwfreq::SIOCSIWFREQ[cmd=0x8b04] (Channel=11)
[32477.532774] ERROR!!! RTMPCancelTimer failed, Timer hasn't been initialize!
[32482.533070] ===>rt_ioctl_giwscan. 5(5) BSS returned, data->length = 553
[32482.533344] ==>rt_ioctl_siwfreq::SIOCSIWFREQ[cmd=0x8b04] (Channel=11)
[32567.614215] ERROR!!! RTMPCancelTimer failed, Timer hasn't been initialize!

I tried downloading the newer ralink driver from here: http://www.ralinktech.com/support.php?s=2
I picked the "RT2860PCI/mPCI/CB/PCIe(RT2760/RT2790/RT2860/RT2890)" option.

However, I can't get it to compile properly:

/home/username/Downloads/2009_0918_RT2860_Linux_STA_v2.2.0.0/os/linux/../../os/linux/rt_linux.c: In function ‘RtmpOSNetDevAttach’:
/home/username/Downloads/2009_0918_RT2860_Linux_STA_v2.2.0.0/os/linux/../../os/linux/rt_linux.c:1689: error: ‘struct net_device’ has no member named ‘open’
/home/username/Downloads/2009_0918_RT2860_Linux_STA_v2.2.0.0/os/linux/../../os/linux/rt_linux.c:1690: error: ‘struct net_device’ has no member named ‘stop’
/home/username/Downloads/2009_0918_RT2860_Linux_STA_v2.2.0.0/os/linux/../../os/linux/rt_linux.c:1691: error: ‘struct net_device’ has no member named ‘hard_start_xmit’
/home/username/Downloads/2009_0918_RT2860_Linux_STA_v2.2.0.0/os/linux/../../os/linux/rt_linux.c:1692: error: ‘struct net_device’ has no member named ‘do_ioctl’
/home/username/Downloads/2009_0918_RT2860_Linux_STA_v2.2.0.0/os/linux/../../os/linux/rt_linux.c:1702: error: ‘struct net_device’ has no member named ‘get_stats’
/home/username/Downloads/2009_0918_RT2860_Linux_STA_v2.2.0.0/os/linux/../../os/linux/rt_linux.c:1736: error: ‘struct net_device’ has no member named ‘validate_addr’
make[2]: *** [/home/username/Downloads/2009_0918_RT2860_Linux_STA_v2.2.0.0/os/linux/../../os/linux/rt_linux.o] Error 1
make[1]: *** [_module_/home/username/Downloads/2009_0918_RT2860_Linux_STA_v2.2.0.0/os/linux] Error 2
make[1]...

Read more...

Revision history for this message
TTimo (ttimo) wrote :

Try the attached patch. Comes from http://ubuntuforums.org/showthread.php?t=1285828 with my own hacking for 2.6.32 since it was originally for 2.6.31 .. seems to work fine so far.

Revision history for this message
TTimo (ttimo) wrote :

Try the attached patch. Comes from http://ubuntuforums.org/showthread.php?t=1285828 with my own hacking for 2.6.32 since it was originally for 2.6.31 .. seems to work fine so far.

Revision history for this message
TTimo (ttimo) wrote :

Unfortunately I get the same connection drops, although I am no longer seeing the 'RTMPCancelTimer failed' lines in the log anymore

Revision history for this message
TTimo (ttimo) wrote :

2.3.0.0 version of the driver released in Jan 2010 compiles fine against the latest 2.6.32 and the problems I had seem to have disappeared.

Revision history for this message
Scott Ferguson (scottwferg) wrote :

What steps did you go through to compile the driver? I did a simple make/make install and it's not doing it for me.

Revision history for this message
TTimo (ttimo) wrote :

The latest in the 2.3.x series I got from the ralink website didn't need any patching/modifications .. it just compiled straight for me, produced a working module .. no problem so far, no more connection drops. I am not using Ubuntu though, I am using Debian, but I don't think the kernel images and headers would be that different?

Revision history for this message
Proboscide99 (apoppi) wrote :

Hi TTimo, I'm trying to replace my older 1.8.0.0 driver version.

I downloaded and compiled the 2.3.0.0 version, then issued the commands rmmod rt2860sta and insmod rt2860sta without any error.

But when I check the driver version with modinfo, I still read 1.8.0.0 (even after rebooting the machine).

Only manually copying the rt2860sta.ko over the old one (located in /lib/modules/2.6.29.4/kernel/drivers/staging/rt2860/rt2860sta.ko) made the job.

Since I'm not an expert, I'm worried about the possibility to have an instable device. I'm doing this on a backtrack 4 pre-final.

May you tell me what you think?

Thanks a lot and best regards

Revision history for this message
chris_c (c-camacho) wrote :

I'm seeing this bug after upgrading to 10.04 - wireless was previously working just fine...

Revision history for this message
chris_c (c-camacho) wrote :

I can confirm that compiling from source ( 2010_01_29_RT2860_Linux_STA_v2.3.0.0 ) from manufacturers website fixes this issue

Please be good chaps and comment out -DDBG from config.mk to stop the log spam that is also an issue...

I needed to add an alias to ra0 ?

could this be marked as URGENT and actually assigned to someone as network connectivity is critical, fixing this bug may also help with the numerous other ralink bugs currently marked incomplete....

Revision history for this message
scottku (scottku) wrote :

I also found that installing from source (as chris_c describes in comment #18) fixes this problem for me for my wireless card on Lucid.

Revision history for this message
Patrick Nagel (mail-patrick-nagel) wrote :

This still does not seem to be fixed. AFAIK this affects a lot of EeePC users.

Revision history for this message
aanno (thomas-pasch) wrote :

Still got this issue with 2.6.32-23-generic on lucid. For me, it feels that this has a critical impact on performance. My system seems to freeze regularly for 1 to 5 seconds, especially in conjunction with some IO load.

Revision history for this message
Mathiasdm (mathias-demare-gmail) wrote :

I'm seeing this issue too. Every time this log message appears in my logs, my network connection fails, and I have to reboot before being able to reconnect to the network.

Aug 16 16:21:27 mathias-desktop kernel: [26720.993130] ERROR!!! RTMPCancelTimer failed, Timer hasn't been initialize!

I also get the 'BSS returned' spam, but that's a different issue.

Revision history for this message
Mathiasdm (mathias-demare-gmail) wrote :

Oh, forgot to mention, I have this issue on Karmic.

Revision history for this message
L3ttuce (ifearx) wrote :

Where did you guys get the source for the rt2860sta 2.3.0 driver? I can't seem to find it anywhere.

Revision history for this message
scottku (scottku) wrote :
Revision history for this message
penalvch (penalvch) wrote :

marijus, thank you for reporting this and helping make Ubuntu better. 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 <replace-with-bug-number>

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.

Changed in linux (Ubuntu):
status: Confirmed → Incomplete
tags: added: needs-upstream-testing
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in linux (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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