[STAGING] RaLink Ra2860 not working

Bug #352268 reported by Guido
26
This bug affects 4 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Expired
Undecided
Unassigned
Nominated for Jaunty by David Parrish

Bug Description

Dear all,

I am not able to get my wireless working. I have installed the jaunty

gdi@mylaptop:/etc$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu jaunty (development branch)
Release: 9.04
Codename: jaunty

My laptop uses a RaLink Ra2860 wireless card

gdi@mylaptop:/etc$ lspci -s 02:00.0 -vv
02:00.0 Network controller: RaLink RT2860
        Subsystem: RaLink Device 2790
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 0, Cache Line Size: 64 bytes
        Interrupt: pin A routed to IRQ 16
        Region 0: Memory at f3000000 (32-bit, non-prefetchable) [size=64K]
        Capabilities: <access denied>
        Kernel driver in use: rt2860
        Kernel modules: rt2860sta

I also greped all the related stuff from dmesg

gdi@mylaptop:/etc$ dmesg | grep 2860
[ 7.900270] rt2860sta: module is from the staging directory, the quality is unknown, you have been warned.
[ 7.903283] rt2860 0000:02:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
[ 7.903638] rt2860 0000:02:00.0: setting latency timer to 64
[ 22.626302] --> Error 2 opening /etc/Wireless/RT2860STA/RT2860STA.dat
[ 4334.797994] --> Error 2 opening /etc/Wireless/RT2860STA/RT2860STA.dat
[ 8169.556176] rt2860 0000:02:00.0: PCI INT A disabled
[ 8171.480100] rt2860 0000:02:00.0: restoring config space at offset 0xf (was 0x1ff, writing 0x10b)
[ 8171.480133] rt2860 0000:02:00.0: restoring config space at offset 0x4 (was 0x0, writing 0xf3000000)
[ 8171.480139] rt2860 0000:02:00.0: restoring config space at offset 0x3 (was 0x0, writing 0x10)
[ 8171.480149] rt2860 0000:02:00.0: restoring config space at offset 0x1 (was 0x100000, writing 0x100107)
[ 8171.480181] rt2860 0000:02:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
[ 8175.662297] Modules linked in: usbhid ppdev bridge stp bnep input_polldev lp parport snd_hda_intel snd_pcm_oss snd_mixer_oss snd_pcm snd_seq_dummy snd_seq_oss snd_seq_midi snd_rawmidi snd_seq_midi_event snd_seq snd_timer uvcvideo snd_seq_device compat_ioctl32 videodev snd psmouse video v4l1_compat soundcore snd_page_alloc intel_agp pcspkr serio_raw nvidia(P) output iTCO_wdt iTCO_vendor_support rt2860sta(C) agpgart usb_storage r8169 mii fbcon tileblit font bitblitsoftcursor
[ 8177.421542] --> Error 2 opening /etc/Wireless/RT2860STA/RT2860STA.dat

Finally I grep deamons output for the wireless interface

gdi@mylaptop:/etc$ grep ra0 /var/log/daemon.log
Mar 31 09:21:58 mylaptop NetworkManager: <info> (ra0): now managed
Mar 31 09:21:58 mylaptop NetworkManager: <info> (ra0): device state change: 1 -> 2
Mar 31 09:21:58 mylaptop NetworkManager: <info> (ra0): bringing up device.
Mar 31 09:21:58 mylaptop NetworkManager: <info> (ra0): preparing device.
Mar 31 09:21:58 mylaptop NetworkManager: <info> (ra0): deactivating device (reason: 2).
Mar 31 09:21:58 mylaptop NetworkManager: <info> (ra0): device state change: 2 -> 3
Mar 31 09:21:58 mylaptop NetworkManager: <info> (ra0): supplicant interface state: starting -> ready
Mar 31 09:22:00 mylaptop avahi-daemon[2607]: Registering new address record for fe80::215:afff:fedd:596a on ra0.*.
Mar 31 09:23:15 mylaptop NetworkManager: <info> (ra0): driver does not support SSID scans (scan_capa 0x00).
Mar 31 09:23:15 mylaptop NetworkManager: <info> (ra0): new 802.11 WiFi device (driver: 'rt2860')
Mar 31 09:23:15 mylaptop NetworkManager: <info> (ra0): exported as /org/freedesktop/Hal/devices/net_pci_1814_781
Mar 31 09:23:15 mylaptop nm-system-settings: SCPlugin-Ifupdown: device added (udi: /org/freedesktop/Hal/devices/net_pci_1814_781, iface: ra0): not well known
Mar 31 09:23:15 mylaptop NetworkManager: <info> (ra0): supplicant manager state: down -> idle
Mar 31 09:23:20 mylaptop NetworkManager: <info> (ra0): device state change: 1 -> 2
Mar 31 09:23:20 mylaptop NetworkManager: <info> (ra0): bringing up device.
Mar 31 09:23:20 mylaptop NetworkManager: <info> (ra0): preparing device.
Mar 31 09:23:20 mylaptop NetworkManager: <info> (ra0): deactivating device (reason: 2).
Mar 31 09:23:20 mylaptop NetworkManager: <info> (ra0): device state change: 2 -> 3
Mar 31 09:23:20 mylaptop NetworkManager: <info> (ra0): supplicant interface state: starting -> ready
Mar 31 09:23:21 mylaptop avahi-daemon[2608]: Registering new address record for fe80::215:afff:fedd:596a on ra0.*.
Mar 31 10:35:10 mylaptop NetworkManager: <info> (ra0): device state change: 3 -> 2
Mar 31 10:35:10 mylaptop NetworkManager: <info> (ra0): deactivating device (reason: 0).
Mar 31 10:35:10 mylaptop NetworkManager: <info> (ra0): taking down device.
Mar 31 10:35:10 mylaptop avahi-daemon[2608]: Withdrawing address record for fe80::215:afff:fedd:596a on ra0.
Mar 31 10:35:12 mylaptop NetworkManager: <info> (ra0): bringing up device.
Mar 31 10:35:12 mylaptop NetworkManager: <info> (ra0): device state change: 2 -> 3
Mar 31 10:35:12 mylaptop NetworkManager: <info> (ra0): supplicant interface state: starting -> ready
Mar 31 10:35:13 mylaptop avahi-daemon[2608]: Registering new address record for fe80::215:afff:fedd:596a on ra0.*.
Mar 31 11:39:03 mylaptop NetworkManager: <info> (ra0): now unmanaged
Mar 31 11:39:03 mylaptop NetworkManager: <info> (ra0): device state change: 3 -> 1
Mar 31 11:39:03 mylaptop NetworkManager: <info> (ra0): cleaning up...
Mar 31 11:39:03 mylaptop NetworkManager: <info> (ra0): taking down device.
Mar 31 11:39:03 mylaptop avahi-daemon[2608]: Withdrawing address record for fe80::215:afff:fedd:596a on ra0.
Mar 31 11:51:37 mylaptop NetworkManager: <info> (ra0): now managed
Mar 31 11:51:37 mylaptop NetworkManager: <info> (ra0): device state change: 1 -> 2
Mar 31 11:51:37 mylaptop NetworkManager: <info> (ra0): bringing up device.
Mar 31 11:51:37 mylaptop NetworkManager: <info> (ra0): preparing device.
Mar 31 11:51:37 mylaptop NetworkManager: <info> (ra0): deactivating device (reason: 2).

At first glance everything should be fine. The driver gets loaded
gdi@mylaptop:/etc$ lsmod | grep 2860
rt2860sta 522968 1

and there are to me no obvious problems, except for the missing RT2860STA.dat file. This one I downloaded from RaLinks web page and placed it to the location, where it was expected, but this did not change anything so I removed it again.

Do I miss something obvious? Scanning for networks fails (wireless is working on my other laptop without problems)

ProblemType: Bug
Architecture: i386
DistroRelease: Ubuntu 9.04
MachineType: MEDION P6613
NonfreeKernelModules: nvidia
Package: linux-image-2.6.28-11-generic 2.6.28-11.38
ProcCmdLine: root=UUID=aa6d26e6-5632-4f18-91f0-232c95574e1b ro quiet splash
ProcEnviron:
 LANGUAGE=
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.28-11.38-generic
SourcePackage: linux
Staging Drivers: rt2860sta rt2870sta rt3070sta

Revision history for this message
Guido (dirkes) wrote :
Revision history for this message
chrisbuchholz (chrisbuchholz) wrote :

There's already a bug about this at: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/210725

Also, Stéphane Graber has, in his repo, the driver for the rt2860 card (the package is called rt2860-source). You can see it here: https://launchpad.net/~stgraber/+archive/ppa

Revision history for this message
Michael Schurter (schmichael) wrote :

Same problem here. NetworkManager sees it and shows available networks, but never connects. Can't get it to work with manual configuration either.

Had it working under Ubuntu 8.10 by compiling Ralink's provided driver by hand and manually configuring the interface via /etc/network/interfaces.

michael@harvey:~$ sudo lspci -s 04:00.0 -vv
04:00.0 Network controller: RaLink RT2860
 Subsystem: Foxconn International, Inc. Device e002
 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
 Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
 Latency: 0
 Interrupt: pin A routed to IRQ 17
 Region 0: Memory at 9ab00000 (32-bit, non-prefetchable) [size=64K]
 Capabilities: [40] Power Management version 3
  Flags: PMEClk- DSI- D1- D2- AuxCurrent=375mA PME(D0+,D1-,D2-,D3hot+,D3cold-)
  Status: D0 PME-Enable- DSel=0 DScale=0 PME+
 Capabilities: [50] Message Signalled Interrupts: Mask- 64bit+ Queue=0/5 Enable-
  Address: 0000000000000000 Data: 0000
 Capabilities: [70] Express (v1) Endpoint, MSI 00
  DevCap: MaxPayload 128 bytes, PhantFunc 0, Latency L0s <128ns, L1 unlimited
   ExtTag- AttnBtn- AttnInd- PwrInd- RBE+ FLReset-
  DevCtl: Report errors: Correctable- Non-Fatal- Fatal- Unsupported-
   RlxdOrd+ ExtTag- PhantFunc- AuxPwr- NoSnoop-
   MaxPayload 128 bytes, MaxReadReq 512 bytes
  DevSta: CorrErr+ UncorrErr- FatalErr- UnsuppReq+ AuxPwr- TransPend-
  LnkCap: Port #0, Speed 2.5GT/s, Width x1, ASPM L0s L1, Latency L0 <512ns, L1 <64us
   ClockPM+ Suprise- LLActRep- BwNot-
  LnkCtl: ASPM L1 Enabled; RCB 128 bytes Disabled- Retrain- CommClk+
   ExtSynch- ClockPM+ AutWidDis- BWInt- AutBWInt-
  LnkSta: Speed 2.5GT/s, Width x1, TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
 Capabilities: [100] Advanced Error Reporting <?>
 Kernel driver in use: rt2860
 Kernel modules: rt2860sta

Revision history for this message
Michael Schurter (schmichael) wrote :
Revision history for this message
Bryan Stephenson (acreda) wrote :

Michael, Guido: what security are you trying to connect to with the rt2860 driver:-
WEP
WPA (TKIP)
WPA2 (AES)
WPA2 (TKIP & AES)?

Revision history for this message
Michael Schurter (schmichael) wrote :

Bryan: WPA2 (TKIP & AES) in one location and WPA/WPA2 with just one of the ciphers in another location (forget if it was AES or TKIP, but only one worked with an old 802.11b Thinkpad so probably WPA+TKIP? Ping me again if you need to know).

At any rate, my card seems to work every now, and I have no clue why. It always worked with that WPA/WPA2 + 1 cipher network that worked with the old 802.11b laptop as well, but at first (meaning I tried a few times) it didn't work with the AES & TKIP network (like everyone else is reporting).

Now it seems to work everywhere.

Here's modinfo:

filename: /lib/modules/2.6.28-11-generic/kernel/drivers/staging/rt2860/rt2860sta.ko
version: 1.8.0.0
license: GPL
srcversion: 41B325B81DD5210E4BAE315
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.28-11-generic SMP mod_unload modversions 586
parm: mac:rt28xx: wireless mac addr (charp)

Note: Where "everywhere" means the 2 networks I mention above and some unsecured public ones. Let me know how I can be useful...

Revision history for this message
Guido (dirkes) wrote :

sorry for the late reply:

my card does not see any kind of network as the scans always return nothing.

looking into /var/log/daemon I see

Apr 30 08:21:24 mylaptop NetworkManager: <info> Sleeping...
Apr 30 08:21:24 mylaptop NetworkManager: <info> (ra0): now unmanaged
Apr 30 08:21:24 mylaptop NetworkManager: <info> (ra0): device state change: 3 -> 1
Apr 30 08:21:24 mylaptop NetworkManager: <info> (ra0): cleaning up...
Apr 30 08:21:24 mylaptop NetworkManager: <info> (ra0): taking down device.
Apr 30 08:21:24 mylaptop avahi-daemon[5006]: Withdrawing address record for fe80::215:afff:fedd:596a on ra0.
Apr 30 14:05:08 mylaptop NetworkManager: <info> Waking up...
Apr 30 14:05:08 mylaptop NetworkManager: <info> Unmanaged Device found; state CONNECTED forced. (see http://bugs.launchpad.net/bugs/191889)
Apr 30 14:05:08 mylaptop NetworkManager: <info> (ra0): now managed
Apr 30 14:05:08 mylaptop NetworkManager: <info> (ra0): device state change: 1 -> 2
Apr 30 14:05:08 mylaptop NetworkManager: <info> (ra0): bringing up device.
Apr 30 14:05:08 mylaptop NetworkManager: <info> (ra0): preparing device.
Apr 30 14:05:08 mylaptop NetworkManager: <info> (ra0): deactivating device (reason: 2).
Apr 30 14:05:08 mylaptop NetworkManager: <info> (ra0): device state change: 2 -> 3

what surprises me is the second last line "deactivating"...

Also the modinfo shows a different srcversion compared to Michaels reply:

filename: /lib/modules/2.6.28-11-generic/updates/dkms/rt2860sta.ko
version: 1.8.0.0
license: GPL
srcversion: E94663B5BE6BA03F8CC1CFB
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-11-generic SMP mod_unload modversions 586
parm: mac:rt28xx: wireless mac addr (charp)

...? I also tried to understand if the card is not activated properly by the bios, but I failed. I can choose to have the card deactivated or in the last OS state (which is choosen)...

Revision history for this message
^_Pepe_^ (jose-angel-fernandez-freire) wrote :

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 Karmic 9.10 release of Ubuntu? ISO CD images are
available from http://cdimage.ubuntu.com/releases/ .

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

apport-collect -p linux 352268

Thanks in advance

tags: added: jaunty
Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
enteroskopie (tobias-kempter) wrote : apport-collect data

Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: tobias 2136 F.... pulseaudio
 /dev/snd/controlC1: tobias 2136 F.... pulseaudio
CRDA: Error: [Errno 2] No such file or directory
Card0.Amixer.info:
 Card hw:0 'Intel'/'HDA Intel at 0xdb300000 irq 22'
   Mixer name : 'Realtek ALC262'
   Components : 'HDA:10ec0262,1a461405,00100302'
   Controls : 22
   Simple ctrls : 12
Card1.Amixer.info:
 Card hw:1 'Camera'/'Vimicro Corp. Sirius USB2.0 Camera at usb-0000:00:1a.7-3, high speed'
   Mixer name : 'USB Mixer'
   Components : 'USB0ac8:3343'
   Controls : 2
   Simple ctrls : 1
DistroRelease: Ubuntu 9.10
HibernationDevice: RESUME=UUID=b6845070-2f58-43b2-a622-6aed3151241a
MachineType: Zepto Mythos
NonfreeKernelModules: nvidia
Package: linux (not installed)
ProcCmdLine: root=UUID=bdf802d4-3717-4044-a4c5-8054309769b1 ro quiet splash
ProcEnviron:
 SHELL=/bin/bash
 PATH=(custom, user)
 LANG=de_AT.UTF-8
 LANGUAGE=de_AT.UTF-8
ProcVersionSignature: Ubuntu 2.6.31-18.55-generic
RelatedPackageVersions:
 linux-backports-modules-2.6.31-18-generic N/A
 linux-firmware 1.26
RfKill:
 0: phy0: Wireless LAN
  Soft blocked: no
  Hard blocked: no
Uname: Linux 2.6.31-18-generic x86_64
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare
WpaSupplicantLog:

dmi.bios.date: 07/08/2008
dmi.bios.version: A15H
dmi.board.asset.tag: Base Board Asset Tag
dmi.board.name: Zepto
dmi.board.vendor: Zepto
dmi.board.version: AURA_V0.27-EC23
dmi.chassis.asset.tag: Chassis Asset Tag
dmi.chassis.type: 1
dmi.chassis.vendor: Zepto
dmi.chassis.version: Zepto
dmi.modalias: dmi:bvn:bvrA15H:bd07/08/2008:svnZepto:pnMythos:pvrA15H:rvnZepto:rnZepto:rvrAURA_V0.27-EC23:cvnZepto:ct1:cvrZepto:
dmi.product.name: Mythos
dmi.product.version: A15H
dmi.sys.vendor: Zepto

Revision history for this message
enteroskopie (tobias-kempter) wrote : AlsaDevices.txt
Revision history for this message
enteroskopie (tobias-kempter) wrote : AplayDevices.txt
Revision history for this message
enteroskopie (tobias-kempter) wrote : ArecordDevices.txt
Revision history for this message
enteroskopie (tobias-kempter) wrote : BootDmesg.txt
Revision history for this message
enteroskopie (tobias-kempter) wrote : Card0.Amixer.values.txt
Revision history for this message
enteroskopie (tobias-kempter) wrote : Card0.Codecs.codec.0.txt
Revision history for this message
enteroskopie (tobias-kempter) wrote : Card1.Amixer.values.txt
Revision history for this message
enteroskopie (tobias-kempter) wrote : CurrentDmesg.txt
Revision history for this message
enteroskopie (tobias-kempter) wrote : IwConfig.txt
Revision history for this message
enteroskopie (tobias-kempter) wrote : Lspci.txt
Revision history for this message
enteroskopie (tobias-kempter) wrote : Lsusb.txt
Revision history for this message
enteroskopie (tobias-kempter) wrote : PciMultimedia.txt
Revision history for this message
enteroskopie (tobias-kempter) wrote : ProcCpuinfo.txt
Revision history for this message
enteroskopie (tobias-kempter) wrote : ProcInterrupts.txt
Revision history for this message
enteroskopie (tobias-kempter) wrote : ProcModules.txt
Revision history for this message
enteroskopie (tobias-kempter) wrote : UdevDb.txt
Revision history for this message
enteroskopie (tobias-kempter) wrote : UdevLog.txt
Revision history for this message
enteroskopie (tobias-kempter) wrote : WifiSyslog.txt
Revision history for this message
enteroskopie (tobias-kempter) wrote : XsessionErrors.txt
Changed in linux (Ubuntu):
status: Incomplete → New
tags: added: apport-collected
Revision history for this message
^_Pepe_^ (jose-angel-fernandez-freire) wrote : Re: RaLink Ra2860 not working

enteroskopie,

I can see, from your logs, that you're using amd64 kernel, and original reporter i386. Although it can be the same bug, please, can you confirm that you have same hardware and same sympthoms as original reporter?

Thanks in advance

Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
Christian Loos (cloos) wrote :

I have an up to date and fresh karmic installation on my MSI Wind U100 and wireless is working.
But it's an i686 kernel.
Linux netbook 2.6.31-17-generic #54-Ubuntu SMP Thu Dec 10 16:20:31 UTC 2009 i686 GNU/Linux

tags: added: staging
description: updated
summary: - RaLink Ra2860 not working
+ [STAGING] RaLink Ra2860 not working
Revision history for this message
Jeremy Foshee (jeremyfoshee) wrote :

This bug report was marked as Incomplete and has not had any updated comments for quite some time. As a result this bug is being closed. Please reopen if this is still an issue in the current Ubuntu release http://www.ubuntu.com/getubuntu/download . Also, please be sure to provide any requested information that may have been missing. To reopen the bug, click on the current status under the Status column and change the status back to "New". Thanks.

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

tags: added: kj-expired
Changed in linux (Ubuntu):
status: Incomplete → Expired
Revision history for this message
penalvch (penalvch) wrote :

Guido, 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? If so, could you please test for this with the latest development release of Ubuntu? ISO images are available from http://cdimage.ubuntu.com/daily-live/current/ .

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

apport-collect -p linux <replace-with-bug-number>

Also, could you please test the latest upstream kernel available (not the daily folder, but the one all the way at the bottom) following https://wiki.ubuntu.com/KernelMainlineBuilds ? It will allow additional upstream developers to examine the issue. Once you've tested the upstream kernel, please comment on which kernel version specifically you tested. If this bug is fixed in the mainline kernel, please add the following tags:
kernel-fixed-upstream
kernel-fixed-upstream-VERSION-NUMBER

where VERSION-NUMBER is the version number of the kernel you tested. For example:
kernel-fixed-upstream-v3.12-rc7

This can be done by clicking on the yellow circle with a black pencil icon next to the word Tags located at the bottom of the bug description. As well, please remove the tag:
needs-upstream-testing

If the mainline kernel does not fix this bug, please add the following tags:
kernel-bug-exists-upstream
kernel-bug-exists-upstream-VERSION-NUMBER

As well, please remove the tag:
needs-upstream-testing

Once testing of the upstream kernel is complete, please mark this bug's Status as Confirmed. Please let us know your results. Thank you for your understanding.

Changed in linux (Ubuntu):
status: Expired → Incomplete
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.