Tenda w322p wireless can't find any networks.

Hi, I am using 11.3 (64-bit gnome) and have a new Tenda w322p wireless n card, this works absolutely fine under windows, but I also bought it due to reviews saying it worked with linux.
The card appears in network settings as RaLink WLAN controller and uses kernel module rt2800pci, I have also tried typing in the network ssid etc manually but it hangs on exiting network manager (will post what it says later, after writing this)
I used drivers from here:Ralink corp., and used the rt3062 one(5th one down?)

for lspci

00:00.0 Host bridge: Intel Corporation 82X38/X48 Express DRAM Controller (rev 01)
00:01.0 PCI bridge: Intel Corporation 82X38/X48 Express Host-Primary PCI Express Bridge (rev 01)
00:06.0 PCI bridge: Intel Corporation 82X38/X48 Express Host-Secondary PCI Express Bridge (rev 01)
00:1a.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #4 (rev 02)
00:1a.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #5 (rev 02)
00:1a.2 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #6 (rev 02)
00:1a.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #2 (rev 02)
00:1c.0 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 1 (rev 02)
00:1c.2 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 3 (rev 02)
00:1c.3 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 4 (rev 02)
00:1c.4 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 5 (rev 02)
00:1d.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #3 (rev 02)
00:1d.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #1 (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 92)
00:1f.0 ISA bridge: Intel Corporation 82801IR (ICH9R) LPC Interface Controller (rev 02)
00:1f.2 IDE interface: Intel Corporation 82801IR/IO/IH (ICH9R/DO/DH) 4 port SATA IDE Controller (rev 02)
00:1f.3 SMBus: Intel Corporation 82801I (ICH9 Family) SMBus Controller (rev 02)
00:1f.5 IDE interface: Intel Corporation 82801I (ICH9 Family) 2 port SATA IDE Controller (rev 02)
01:00.0 VGA compatible controller: nVidia Corporation GT200 [GeForce GTX 280] (rev a1)
02:00.0 Audio device: Creative Labs X-Fi Titanium series [EMU20k2] (rev 03)
03:00.0 IDE interface: Marvell Technology Group Ltd. 88SE6121 SATA II Controller (rev b1)
04:00.0 Ethernet controller: Marvell Technology Group Ltd. 88E8056 PCI-E Gigabit Ethernet Controller (rev 12)
05:00.0 Ethernet controller: Marvell Technology Group Ltd. 88E8056 PCI-E Gigabit Ethernet Controller (rev 12)
07:00.0 Multimedia controller: Philips Semiconductors SAA7130 Video Broadcast Decoder (rev 01)
07:01.0 Network controller: RaLink Device 3062
07:03.0 FireWire (IEEE 1394): VIA Technologies, Inc. VT6306/7/8 [Fire II(M)] IEEE 1394 OHCI Controller (rev c0)

lspci -n:

00:00.0 0600: 8086:29e0 (rev 01)
00:01.0 0604: 8086:29e1 (rev 01)
00:06.0 0604: 8086:29e9 (rev 01)
00:1a.0 0c03: 8086:2937 (rev 02)
00:1a.1 0c03: 8086:2938 (rev 02)
00:1a.2 0c03: 8086:2939 (rev 02)
00:1a.7 0c03: 8086:293c (rev 02)
00:1c.0 0604: 8086:2940 (rev 02)
00:1c.2 0604: 8086:2944 (rev 02)
00:1c.3 0604: 8086:2946 (rev 02)
00:1c.4 0604: 8086:2948 (rev 02)
00:1d.0 0c03: 8086:2934 (rev 02)
00:1d.1 0c03: 8086:2935 (rev 02)
00:1d.2 0c03: 8086:2936 (rev 02)
00:1d.7 0c03: 8086:293a (rev 02)
00:1e.0 0604: 8086:244e (rev 92)
00:1f.0 0601: 8086:2916 (rev 02)
00:1f.2 0101: 8086:2920 (rev 02)
00:1f.3 0c05: 8086:2930 (rev 02)
00:1f.5 0101: 8086:2926 (rev 02)
01:00.0 0300: 10de:05e1 (rev a1)
02:00.0 0403: 1102:000b (rev 03)
03:00.0 0101: 11ab:6121 (rev b1)
04:00.0 0200: 11ab:4364 (rev 12)
05:00.0 0200: 11ab:4364 (rev 12)
07:00.0 0480: 1131:7130 (rev 01)
07:01.0 0280: 1814:3062
07:03.0 0c00: 1106:3044 (rev c0)

iwconfig

lo        no wireless extensions.

eth0      no wireless extensions.

eth1      no wireless extensions.

wlan0     IEEE 802.11bgn  ESSID:off/any  
          Mode:Managed  Access Point: Not-Associated   Tx-Power=20 dBm   
          Retry  long limit:7   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off

iwlist scan gives:

wlan0     No scan results

Hopefully that’s enough. I may have made a silly mistake by just installing the wrong drivers but I have tried several times to reinstall it etc. I have also had the same problem of not picking up networks in Ubuntu, not sure if the drivers are 64-bit compatible or something. Anyway over to you!
Thanks

Jon

It looks like you have the right driver. You may have to make a couple changes before you compile the driver.
Look at the 2nd post.
[ubuntu] problem with tenda w322p installation - Page 3 - Ubuntu Forums](http://ubuntuforums.org/showthread.php?p=9454745)

I am pretty sure this

Getting Your Wireless to Work

will be very helpful.

(Yes, I already “suspect” something, but I won’t make any guesses without facts.)

that script gave me

:******************

--- NWCollect is collecting networkconfiguration information into file collectNWData.txt ...
                                               
--- NWEliza is analyzing the system for common network configuration errors ...

!!! CND0120E: Network card wlan0 has no IP address
!!! CND0490E: No access point with your SSID detected on interface wlan0
!!! CND0380E: No WLANs detected on interface wlan0. Hardware and/or driver not configured properly
!!! CND0320E: WLAN turned off by hardware or software switch
!!! CND0310W: Classic network configuration with ifup was detected. Configuration with knetworkmanager is much easier
!!! CND0360E: Wireless connection tested with an existing wired connection on interface eth0. Unplug the cable and execute the script again

--- Go to http://www.linux-tips-and-tricks.de/CND#English to get more detailed instructions 
--- about the error/warning messages and how to fix the problems on your own.

--- If you are unsuccessful then place the contents of file collectNWData.txt in the net
--- (see http://www.linux-tips-and-tricks.de/CND_UPL#English for links) 
--- and then paste the nopaste link on your favorite Linux forum.

for CND0320E doing:
dmesg | egrep -i “radio.*disabled|radio.*switch.*on”
does nothing for me
Thanks
Jon

Gnah …

!!! CND0360E: **Wireless connection tested with an existing wired connection on interface eth0. Unplug the cable and execute the script agai**n

--- Go to http://www.linux-tips-and-tricks.de/CND#English to get more detailed instructions 
--- about the error/warning messages and how to fix the problems on your own.

--- **If you are unsuccessful then place the contents of file collectNWData.txt in the net
--- (see http://www.linux-tips-and-tricks.de/CND_UPL#English for links) 
--- and then paste the nopaste link on your favorite Linux forum.**

probably should have read it properly.
nopaste.info - free nopaste script and service

I also unplugged the cable I have connected, ran the script again, and got exactly the same ???

Of course you did:

BOOTPROTO='dhcp' 
**STARTMODE='onboot' **
--- /etc/sysconfig/network/ifcfg-eth1 
BOOTPROTO='dhcp' 
NAME='88E8056 PCI-E Gigabit Ethernet Controller' 
**STARTMODE='auto' 
USERCONTROL='no' **
--- /etc/sysconfig/network/ifcfg-wlan0 
BOOTPROTO='dhcp' 
NAME='RaLink WLAN controller' 
**STARTMODE='auto' 
USERCONTROL='no'**

The setting “auto” (or “onboot”) will always try to keep the interface up and not even check if a cable is connected (sounds stupid, but if there really is a cable all the time, this will save the system from starting a -then- unneeded service called “ifplugd”).

Set all interfaces to Startmode “on cable conect” (yes, even Wireless although ist may sound strange) and enable control for non root users for all interfaces (via YaST).

The ifcfg-eth0 file looks very strange, this has not been created by YaST “STARTMODE=‘onboot’” is deprecated.

So first, delete /etc/sysconfig/network/ifcfg-eth0 (as root) and reconfigure that interface via YaST as stated above.

With “on cable connect” and a sane ifcfg-file, the respective wired interface will be deactivated automatically when unplugging the cable.

Additionally, all of those Vendor drivers from Ralink show the same warnings when compiling on x86_64, I don’t know if this has real consequences when using them, but at the moment, this is of no concern

35: PCI 701.0: 0282 WLAN controller 
  Model: "RaLink WLAN controller" 
  Vendor: pci 0x1814 "RaLink" 
  Device: pci 0x3062 
  SubVendor: pci 0x1814 "RaLink" 
  SubDevice: pci 0x3062 
  Driver: "rt2800pci" 
  Driver Modules: "rt2800pci" 
  Device File: wlan0 
  Link detected: no 
    Driver Status: rt2800pci is active 
    Driver Activation Cmd: "modprobe rt2800pci"

as you are using the in-kernel driver rt2800pci (and there is no other driver available, so whatever you compiled/installed is not there any more).

There are several possibilities to test before actually using a self-compiled vendor driver, only if all of those fail, you should switch.

I would run you through these steps, if you are willing to play the “guinea pig” in order to get some information on this card and how to get it running.

Before starting with tests (and maybe even before changing your network setup), do a complete online update via YaST (you have internet access via cable, so you can use that connection) to get the latest distribution kernel (2.6.34.7-0.5 atm), as it will make testing the other (and maybe better) possibilities easier with an up to date 11.3.

This might take a little longer, but the outcome may help other users with the same card, if you only would want to use that driver downloaded from Ralink and compiled manually, then just say so and I will stay away from this thread to not disturb the “quick” solution (however, without the changes mentioned above, you will run into the same problems no matter which driver is used).

Coose your poison.

Right,
I have deleted ifcfg-eth0, and set all interfaces to start on cable connect, and enabled non root control, and I’ve done a full updateto 2.6.34.7-0.5.
Doing this update gave me the option:

http://i53.tinypic.com/rrjuc5.png

selecting the top option broke my installation (possibly quite obviously) so i chose the second option. Not sure if this is relevant at all.

I am perfectly willing to be a guinea pig.
Thanks

Jon

removing compat-wireless-kmp-desktop was the correct option as it is not compatible with kernel-desktop-2.6.34.7-0.5.

However, good to know you already tried compat-wireless as this would have been my first suggestion and maybe we should try again, but step by step.

I don’t know (obviously) how you installed compat-wireless but if you did by adding the driver:wireless repository, then you most certainly added the repo for openSUSE_11.3.

There are always (at least for most repositories offering kernel drivers as “kmp”-packages) two repositories for one openSUSE version, one for the kernel it was released with and one for updated kernels.

You will need internet connection (via cable) for the next steps.

So go to YaST => Software => Software Repositories and have a look if you have an entry pointing to driver:wireless.

Either edit that entry and change the end of the URL from

/repositories/driver:/wireless/openSUSE_11.3/

to

/repositories/driver:/wireless/11.3-update/

or delete that repo and add it as root on command line with

zypper ar -f -r http://download.opensuse.org/repositories/driver:/wireless/11.3-update/driver:wireless.repo 

which will give you

Adding repository 'Wireless Drivers (11.3-update)' [done]
Repository 'Wireless Drivers (11.3-update)' successfully added
Enabled: Yes
Autorefresh: Yes
URI: http://download.opensuse.org/repositories/driver:/wireless/11.3-update/

Now refresh that repo by calling (again, as root)

zypper refresh -r driver_wireless

This repo contains not only compat-wireless but some other packages, we will need for testing.

Now run

zypper se -s rt28x0-staging compat-wireless ralink-firmware

and post the output.

Before installing anything, I would like to have some information that might be relevant for several things as I am the maintainer of that compat-wireless packages from driver:wireless.

Please post the output of

/sbin/modinfo rt2800pci

rpm -q kernel-firmware

md5sum /lib/firmware/rt*.bin

After that, we will start testing.

I deleted the old rep and added the new one with terminal

output for zypper se -s rt28x0-staging compat-wireless ralink-firmware:

Loading repository data...
Reading installed packages...

S | Name                        | Type       | Version                  | Arch   | Repository                    
--+-----------------------------+------------+--------------------------+--------+-------------------------------
  | compat-wireless             | srcpackage | 2.6.36-9.1               | noarch | Wireless Drivers (11.3-update)
  | compat-wireless-kmp-default | package    | 2.6.36_k2.6.34.7_0.5-9.1 | x86_64 | Wireless Drivers (11.3-update)
  | compat-wireless-kmp-default | package    | 2.6.36_k2.6.34.7_0.5-9.1 | i586   | Wireless Drivers (11.3-update)
  | compat-wireless-kmp-desktop | package    | 2.6.36_k2.6.34.7_0.5-9.1 | x86_64 | Wireless Drivers (11.3-update)
  | compat-wireless-kmp-desktop | package    | 2.6.36_k2.6.34.7_0.5-9.1 | i586   | Wireless Drivers (11.3-update)
  | compat-wireless-kmp-pae     | package    | 2.6.36_k2.6.34.7_0.5-9.1 | i586   | Wireless Drivers (11.3-update)
  | compat-wireless-kmp-xen     | package    | 2.6.36_k2.6.34.7_0.5-9.1 | x86_64 | Wireless Drivers (11.3-update)
  | compat-wireless-kmp-xen     | package    | 2.6.36_k2.6.34.7_0.5-9.1 | i586   | Wireless Drivers (11.3-update)
v | compat-wireless-scripts     | package    | 2.6.36-9.1               | noarch | Wireless Drivers (11.3-update)
i | compat-wireless-scripts     | package    | 2.6.36-9.1               | noarch | (System Packages)             
  | ralink-firmware             | package    | 1.2-1.1                  | noarch | Wireless Drivers (11.3-update)
  | ralink-firmware             | srcpackage | 1.2-1.1                  | noarch | Wireless Drivers (11.3-update)
  | rt28x0-staging              | srcpackage | 2.6.36-1.4               | noarch | Wireless Drivers (11.3-update)
  | rt28x0-staging-common       | package    | 2.6.36-1.4               | noarch | Wireless Drivers (11.3-update)
  | rt28x0-staging-kmp-default  | package    | 2.6.36_k2.6.34.7_0.5-1.4 | x86_64 | Wireless Drivers (11.3-update)
  | rt28x0-staging-kmp-default  | package    | 2.6.36_k2.6.34.7_0.5-1.4 | i586   | Wireless Drivers (11.3-update)
  | rt28x0-staging-kmp-desktop  | package    | 2.6.36_k2.6.34.7_0.5-1.4 | x86_64 | Wireless Drivers (11.3-update)
  | rt28x0-staging-kmp-desktop  | package    | 2.6.36_k2.6.34.7_0.5-1.4 | i586   | Wireless Drivers (11.3-update)
  | rt28x0-staging-kmp-pae      | package    | 2.6.36_k2.6.34.7_0.5-1.4 | i586   | Wireless Drivers (11.3-update)
  | rt28x0-staging-kmp-xen      | package    | 2.6.36_k2.6.34.7_0.5-1.4 | x86_64 | Wireless Drivers (11.3-update)
  | rt28x0-staging-kmp-xen      | package    | 2.6.36_k2.6.34.7_0.5-1.4 | i586   | Wireless Drivers (11.3-update)

for rpm -q kernel-firmware

kernel-firmware-20100617-2.2.noarch

for md5sum /lib/firmware/rt*.bin

99bce75086ea635a2f8288d9b835f787  /lib/firmware/rt2561.bin
2878d5eaa4ff907d4df36a834915aa53  /lib/firmware/rt2561s.bin
9998485bc152cf0f39dd61a33b92ad9b  /lib/firmware/rt2661.bin
7f55011396eff4983f26bb7dd7339fb3  /lib/firmware/rt2860.bin
e4b60f5bb4980a26cbac32be690451d6  /lib/firmware/rt2870.bin
7c540794d71ad684c1e97e80a59d8edf  /lib/firmware/rt3070.bin
faf3eb6379501e4282464bd68de9a7fe  /lib/firmware/rt3071.bin
0efb51d2d3f4be99cb491bca0dc025fb  /lib/firmware/rt3090.bin
bd733372ae21a010bf8a5511d7711c2d  /lib/firmware/rt73.bin

for /sbin/modinfo rt2800pci I get:

ERROR: modinfo: could not find module rt2800pci

not sure if this is intended

OK, no problems here.

Not really, this module should be there, it is not only part of compat-wireless, it is also part of the kernel (in an older version, that’s what compat-wireless is all about, newer drivers for older kernels).

Did you reboot after the update?

uname -r

should show you “2.6.34.7-0.5-desktop” and not “2.6.34-12-desktop”.

Rebooting is something you don’t do very often on Linux, however, there are a few exceptions, kernel updates are the most prominent ones.

I have 2.6.34.7-0.5-desktop

I went into YaST and under Software Management added compat-wireless-desktop (or something similar)then got:

filename:       /lib/modules/2.6.34.7-0.5-desktop/updates/drivers/net/wireless/rt2x00/rt2800pci.ko
license:        GPL
firmware:       rt2860.bin
description:    Ralink RT2800 PCI & PCMCIA Wireless LAN driver.
version:        2.3.0
author:         http://rt2x00.serialmonkey.com
srcversion:     4C6A1C7C68F8A400CE99167
alias:          pci:v00001814d00003593sv*sd*bc*sc*i*
alias:          pci:v00001814d00003592sv*sd*bc*sc*i*
alias:          pci:v00001814d00003562sv*sd*bc*sc*i*
alias:          pci:v00001814d00003062sv*sd*bc*sc*i*
alias:          pci:v00001814d00003060sv*sd*bc*sc*i*
alias:          pci:v00001462d0000891Asv*sd*bc*sc*i*
alias:          pci:v00001814d00003092sv*sd*bc*sc*i*
alias:          pci:v00001814d00003091sv*sd*bc*sc*i*
alias:          pci:v00001814d00003090sv*sd*bc*sc*i*
alias:          pci:v00001A3Bd00001059sv*sd*bc*sc*i*
alias:          pci:v00001432d00007768sv*sd*bc*sc*i*
alias:          pci:v00001432d00007758sv*sd*bc*sc*i*
alias:          pci:v00001432d00007748sv*sd*bc*sc*i*
alias:          pci:v00001432d00007738sv*sd*bc*sc*i*
alias:          pci:v00001432d00007728sv*sd*bc*sc*i*
alias:          pci:v00001432d00007727sv*sd*bc*sc*i*
alias:          pci:v00001432d00007708sv*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:        rt2x00lib,rt2800lib,rt2x00pci,eeprom_93cx6
vermagic:       2.6.34.7-0.5-desktop SMP preempt mod_unload modversions 
parm:           nohwcrypt:Disable hardware encryption. (bool)

Well, not really important, but I think I know, why rt2800pci is not there in the openSUSE-kernel 2.6.34 for 11.3.

zgrep RT2800 /proc/config.gz

I know the code for rt2800pci was added before 2.6.34 but maybe the people from openSUSE didn’t activate it.

Some background on this driver and compat-wireless and why I would like to test this driver first:

This driver is intended to become the standard driver for all Ralink “Draft-N” PCI-cards, but it is still under heavy development (again), so issues are still to be expected.

Actually, the drivers did not a get lot of attention (compared to other drivers) and development was rather slow for some time. This is about to change, some new developers and so I decided to activate it in compat-wireless although I was not sure about its stability/usability.

There are several possibilities and we will try to find out what it actually might be.

a) The driver is broken in this version

b) Issues with firmware loading

c) Although stating it supports your device

alias:          pci:v0000**1814**d0000**3062**sv*sd*bc*sc*i*

it does not (fully) support your device (at least) yet.

What you will have to do in order to get some information about what’s going on is as follows.

a) open two terminal windows

b) become root in both of them (su and password)

c) one terminal window will be your “monitor”, the other one will be your “command console”.

Always post the output from both consoles.

In your “monitor” console, type

tail -F /var/log/messages

and keep it running.

Now in your “command” console, type

modprobe -rv rt2800pci

iwconfig

modprobe -v rt2800pci

iwconfig

You should see a wireless device when rt2800pci is loaded, most likely it will be called “wlan0”, if not change the next commands accordingly.

ip link set dev wlan0 up

iwlist wlan0 scan

Most likely, you will get the “no scan results” again, this is mostly intended to give you some “practice” for the things to come.

As stated above, post the outputs from both console windows.

monitor

linux-v2cb:/home/jonathan # tail -F /var/log/messages
Nov  3 20:58:11 linux-v2cb gdm-simple-greeter[8830]: Gtk-WARNING: gtk_widget_size_allocate(): attempt to allocate widget with width 575 and height -1
Nov  3 20:58:11 linux-v2cb gdm-simple-greeter[8830]: Gtk-WARNING: gtk_widget_size_allocate(): attempt to allocate widget with width 575 and height -1
Nov  3 20:58:16 linux-v2cb gdm-simple-greeter[8830]: WARNING: Failed to send buffer
Nov  3 20:58:18 linux-v2cb pulseaudio[9009]: pid.c: Stale PID file, overwriting.
Nov  3 20:58:18 linux-v2cb polkitd(authority=local): Registered Authentication Agent for session /org/freedesktop/ConsoleKit/Session3 (system bus name :1.87 [/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1], object path /org/gnome/PolicyKit1/AuthenticationAgent, locale en_GB.utf8)
Nov  3 20:58:20 linux-v2cb pulseaudio[9119]: pid.c: Daemon already running.
Nov  3 20:58:20 linux-v2cb pulseaudio[9125]: pid.c: Daemon already running.
Nov  3 20:58:25 linux-v2cb kernel:   544.590681] lo: Disabled Privacy Extensions
Nov  3 20:59:02 linux-v2cb su: (to root) jonathan on /dev/pts/1
Nov  3 20:59:08 linux-v2cb su: (to root) jonathan on /dev/pts/0
Nov  3 21:00:02 linux-v2cb kernel:   641.707444] rt2800pci 0000:07:01.0: PCI INT A disabled
Nov  3 21:00:02 linux-v2cb ifdown:     wlan0     name: RaLink WLAN controller
Nov  3 21:00:02 linux-v2cb kernel:   641.758950] cfg80211: Calling CRDA to update world regulatory domain
Nov  3 21:00:02 linux-v2cb kernel:   641.763756] cfg80211: World regulatory domain updated:
Nov  3 21:00:02 linux-v2cb kernel:   641.763759]     (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
Nov  3 21:00:02 linux-v2cb kernel:   641.763761]     (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
Nov  3 21:00:02 linux-v2cb kernel:   641.763763]     (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
Nov  3 21:00:02 linux-v2cb kernel:   641.763766]     (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
Nov  3 21:00:02 linux-v2cb kernel:   641.763768]     (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
Nov  3 21:00:02 linux-v2cb kernel:   641.763770]     (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
Nov  3 21:00:02 linux-v2cb kernel:   641.780611] rt2800pci 0000:07:01.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
Nov  3 21:00:02 linux-v2cb kernel:   641.782783] phy0: Selected rate control algorithm 'minstrel'
Nov  3 21:00:02 linux-v2cb kernel:   641.783549] Registered led device: rt2800pci-phy0::radio
Nov  3 21:00:02 linux-v2cb kernel:   641.783621] Registered led device: rt2800pci-phy0::assoc
Nov  3 21:00:02 linux-v2cb kernel:   641.783915] Registered led device: rt2800pci-phy0::quality
Nov  3 21:00:02 linux-v2cb dhcpcd[9687]: wlan0: dhcpcd not running
Nov  3 21:00:02 linux-v2cb dhcpcd[9687]: wlan0: exiting
Nov  3 21:00:03 linux-v2cb dhclient: Bound to *:546
Nov  3 21:00:03 linux-v2cb ifup:     wlan0     device: RaLink Device 3062
Nov  3 21:00:03 linux-v2cb ifup:     wlan0     is controlled by ifplugd
Nov  3 21:01:01 linux-v2cb kernel:   701.123842] rt2800pci 0000:07:01.0: firmware: requesting rt2860.bin
Nov  3 21:01:01 linux-v2cb kernel:   701.143130] phy0 -> rt2800_wait_wpdma_ready: Error - WPDMA TX/RX busy, aborting.
Nov  3 21:01:01 linux-v2cb kernel:   701.143133] phy0 -> rt2800pci_set_device_state: Error - Device failed to enter state 4 (-5).


command

linux-v2cb:/home/jonathan # modprobe -rv rt2800pci
rmmod /lib/modules/2.6.34.7-0.5-desktop/updates/drivers/net/wireless/rt2x00/rt2800pci.ko
rmmod /lib/modules/2.6.34.7-0.5-desktop/updates/drivers/net/wireless/rt2x00/rt2800lib.ko
rmmod /lib/modules/2.6.34.7-0.5-desktop/kernel/lib/crc-ccitt.ko
rmmod /lib/modules/2.6.34.7-0.5-desktop/updates/drivers/net/wireless/rt2x00/rt2x00pci.ko
rmmod /lib/modules/2.6.34.7-0.5-desktop/updates/drivers/net/wireless/rt2x00/rt2x00lib.ko
rmmod /lib/modules/2.6.34.7-0.5-desktop/updates/net/mac80211/mac80211.ko
rmmod /lib/modules/2.6.34.7-0.5-desktop/updates/net/wireless/cfg80211.ko
rmmod /lib/modules/2.6.34.7-0.5-desktop/kernel/net/rfkill/rfkill.ko
rmmod /lib/modules/2.6.34.7-0.5-desktop/updates/drivers/misc/eeprom/eeprom_93cx6.ko
linux-v2cb:/home/jonathan # 
linux-v2cb:/home/jonathan # iwconfig
lo        no wireless extensions.

eth0      no wireless extensions.

eth1      no wireless extensions.

linux-v2cb:/home/jonathan # 
linux-v2cb:/home/jonathan # modprobe -v rt2800pci
insmod /lib/modules/2.6.34.7-0.5-desktop/updates/drivers/misc/eeprom/eeprom_93cx6.ko 
insmod /lib/modules/2.6.34.7-0.5-desktop/kernel/net/rfkill/rfkill.ko 
insmod /lib/modules/2.6.34.7-0.5-desktop/updates/net/wireless/cfg80211.ko 
insmod /lib/modules/2.6.34.7-0.5-desktop/updates/net/mac80211/mac80211.ko 
insmod /lib/modules/2.6.34.7-0.5-desktop/updates/drivers/net/wireless/rt2x00/rt2x00lib.ko 
insmod /lib/modules/2.6.34.7-0.5-desktop/updates/drivers/net/wireless/rt2x00/rt2x00pci.ko 
insmod /lib/modules/2.6.34.7-0.5-desktop/kernel/lib/crc-ccitt.ko 
insmod /lib/modules/2.6.34.7-0.5-desktop/updates/drivers/net/wireless/rt2x00/rt2800lib.ko 
insmod /lib/modules/2.6.34.7-0.5-desktop/updates/drivers/net/wireless/rt2x00/rt2800pci.ko 
linux-v2cb:/home/jonathan # 
linux-v2cb:/home/jonathan # iwconfig
lo        no wireless extensions.

eth0      no wireless extensions.

eth1      no wireless extensions.

wlan0     IEEE 802.11bgn  ESSID:off/any  
          Mode:Managed  Access Point: Not-Associated   Tx-Power=0 dBm   
          Retry  long limit:7   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          
linux-v2cb:/home/jonathan # ip link set dev wlan0 up
RTNETLINK answers: Input/output error
linux-v2cb:/home/jonathan # 
linux-v2cb:/home/jonathan # iwlist wlan0 scan
wlan0     Interface doesn't support scanning : Network is down

linux-v2cb:/home/jonathan # 

The monitoring console looks OK, however this is odd

ip link set dev wlan0 up
RTNETLINK answers: Input/output error

as your interface was “up” before.

Maybe it needs a few seconds to get ready after loading the module I show you how to test with my card as an example.

(command console)

ip set link dev wlan0 up

If you get this strange error again, try

ifconfig wlan0 up

To check if the interface is up

ifconfig wlan0
wlan0     Link encap:Ethernet  Hardware Adresse 00:11:22:AA:BB:CC 
**          BROADCAST 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 Sendewarteschlangenlänge:1000 
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

(Interface is down)

ifconfig wlan0

wlan0     Link encap:Ethernet  Hardware Adresse 00:11:22:AA:BB:CC 
**        UP  BROADCAST 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 Sendewarteschlangenlänge:1000 
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

(Interface is up).

If you are able to get the interface “UP”, just to be sure, run

iwlist wlan0 scan

AND

iw dev wlan0 scan

If iw is not installed yet, run “zypper install iw” as root.

If you don’t get any scanning results, we will try another firmware file next.

Again, two consoles, I will not explicitely mention the “monitor” console from now on.

Let’s see what we get now.

I’m running into some problems. I will post my terminals for you

monitor

linux-v2cb:/home/jonathan # tail -F /var/log/messages
Nov  3 22:12:57 linux-v2cb kernel:   258.890420] sd 6:0:0:0: [sdf] 15682559 512-byte logical blocks: (8.02 GB/7.47 GiB)
Nov  3 22:12:57 linux-v2cb kernel:   258.890913] sd 6:0:0:0: [sdf] Write Protect is off
Nov  3 22:12:57 linux-v2cb kernel:   258.890916] sd 6:0:0:0: [sdf] Mode Sense: 45 00 00 08
Nov  3 22:12:57 linux-v2cb kernel:   258.890918] sd 6:0:0:0: [sdf] Assuming drive cache: write through
Nov  3 22:12:57 linux-v2cb kernel:   258.892655] sd 6:0:0:0: [sdf] Assuming drive cache: write through
Nov  3 22:12:57 linux-v2cb kernel:   258.892660]  sdf: sdf1
Nov  3 22:12:57 linux-v2cb kernel:   258.894657] sd 6:0:0:0: [sdf] Assuming drive cache: write through
Nov  3 22:12:57 linux-v2cb kernel:   258.894660] sd 6:0:0:0: [sdf] Attached SCSI removable disk
Nov  3 22:14:12 linux-v2cb su: (to root) jonathan on /dev/pts/0
Nov  3 22:14:22 linux-v2cb su: (to root) jonathan on /dev/pts/1
Nov  3 22:14:44 linux-v2cb kernel:   365.612007] phy0 -> rt2800_wait_wpdma_ready: Error - WPDMA TX/RX busy, aborting.
Nov  3 22:14:44 linux-v2cb kernel:   365.612011] phy0 -> rt2800pci_set_device_state: Error - Device failed to enter state 4 (-5).

Message from syslogd@linux-v2cb at Nov  3 22:14:54 ...
 kernel:  375.732036] Oops: 0002 #1] SMP 

Message from syslogd@linux-v2cb at Nov  3 22:14:54 ...
 kernel:  375.732038] last sysfs file: /sys/devices/system/cpu/cpu3/cache/index2/shared_cpu_map

Message from syslogd@linux-v2cb at Nov  3 22:14:54 ...
 kernel:  375.732124] Stack:

Message from syslogd@linux-v2cb at Nov  3 22:14:54 ...
 kernel:  375.732135] Call Trace:

Message from syslogd@linux-v2cb at Nov  3 22:14:54 ...
 kernel:  375.732227] Code: 8d 04 c0 48 8d 04 c2 48 39 c5 74 54 48 89 ef e8 da ee ff ff 66 83 7d 2c 00 74 38 31 db 90 89 d8 48 8b 55 08 83 c3 01 48 8d 04 80 <48> c7 04 c2 00 00 00 00 48 8d 3c c5 00 00 00 00 49 8b 44 24 08 

Message from syslogd@linux-v2cb at Nov  3 22:14:54 ...
 kernel:  375.732258] CR2: 0000000000000000
Nov  3 22:14:54 linux-v2cb kernel:   375.732020] BUG: unable to handle kernel NULL pointer dereference at (null)
Nov  3 22:14:54 linux-v2cb kernel:   375.732025] IP: <ffffffffa049f13d>] rt2x00queue_init_queues+0x5d/0xa0 [rt2x00lib]
Nov  3 22:14:54 linux-v2cb kernel:   375.732032] PGD b32f4067 PUD b3253067 PMD 0 
Nov  3 22:14:54 linux-v2cb kernel:   375.732036] Oops: 0002 #1] SMP 
Nov  3 22:14:54 linux-v2cb kernel:   375.732038] last sysfs file: /sys/devices/system/cpu/cpu3/cache/index2/shared_cpu_map
Nov  3 22:14:54 linux-v2cb kernel:   375.732042] CPU 0 
Nov  3 22:14:54 linux-v2cb kernel:   375.732043] Modules linked in: nls_iso8859_1 nls_cp437 vfat fat usb_storage af_packet snd_pcm_oss snd_mixer_oss snd_seq snd_seq_device edd mperf fuse loop dm_mod tda18271 arc4 ecb tda10048 saa7134_dvb videobuf_dvb dvb_core tda8290 tea5767 tuner firewire_ohci rt2800pci rt2800lib crc_ccitt firewire_core saa7134 rt2x00pci ir_common v4l2_common crc_itu_t videodev rt2x00lib v4l1_compat snd_ctxfi snd_pcm v4l2_compat_ioctl32 mac80211 ohci1394 snd_timer videobuf_dma_sg videobuf_core cfg80211 ieee1394 ir_core tveeprom rfkill eeprom_93cx6 sr_mod sg cdrom asus_atk0110 snd pcspkr serio_raw soundcore sky2 i2c_i801 iTCO_wdt iTCO_vendor_support floppy x38_edac snd_page_alloc edac_core ext4 jbd2 crc16 sd_mod nouveau usbhid ata_generic uhci_hcd ttm ehci_hcd pata_marvell ata_piix drm_kms_helper ahci libata drm i2c_algo_bit button scsi_mod usbcore fan thermal processor thermal_sys [last unloaded: preloadtrace]
Nov  3 22:14:54 linux-v2cb kernel:   375.732091] 
Nov  3 22:14:54 linux-v2cb kernel:   375.732094] Pid: 10196, comm: ifconfig Not tainted 2.6.34.7-0.5-default #1 Rampage Extreme/Rampage Extreme
Nov  3 22:14:54 linux-v2cb kernel:   375.732096] RIP: 0010:<ffffffffa049f13d>]  <ffffffffa049f13d>] rt2x00queue_init_queues+0x5d/0xa0 [rt2x00lib]
Nov  3 22:14:54 linux-v2cb kernel:   375.732101] RSP: 0018:ffff8800b3387c88  EFLAGS: 00010202
Nov  3 22:14:54 linux-v2cb kernel:   375.732103] RAX: 0000000000000000 RBX: 0000000000000001 RCX: 0000000000000003
Nov  3 22:14:54 linux-v2cb kernel:   375.732105] RDX: 0000000000000000 RSI: 0000000000000292 RDI: ffff88012c378014
Nov  3 22:14:54 linux-v2cb kernel:   375.732107] RBP: ffff88012c378000 R08: 0000000000000020 R09: 0000000000000001
Nov  3 22:14:54 linux-v2cb kernel:   375.732109] R10: 0000000000000000 R11: 0000000000000001 R12: ffff88012cac53a0
Nov  3 22:14:54 linux-v2cb kernel:   375.732110] R13: ffff88012c378048 R14: ffff88012cac5010 R15: ffff8800b3387d08
Nov  3 22:14:54 linux-v2cb kernel:   375.732113] FS:  00007f1e6561e700(0000) GS:ffff880001e00000(0000) knlGS:0000000000000000
Nov  3 22:14:54 linux-v2cb kernel:   375.732115] CS:  0010 DS: 0000 ES: 0000 CR0: 000000008005003b
Nov  3 22:14:54 linux-v2cb kernel:   375.732117] CR2: 0000000000000000 CR3: 0000000037903000 CR4: 00000000000006f0
Nov  3 22:14:54 linux-v2cb kernel:   375.732119] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
Nov  3 22:14:54 linux-v2cb kernel:   375.732121] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
Nov  3 22:14:54 linux-v2cb kernel:   375.732123] Process ifconfig (pid: 10196, threadinfo ffff8800b3386000, task ffff8800b33724c0)
Nov  3 22:14:54 linux-v2cb kernel:   375.732124] Stack:
Nov  3 22:14:54 linux-v2cb kernel:   375.732125]  ffff88012bcc96c0 ffff88012cac53a0 0000000000000000 ffff88012bcc96c0
Nov  3 22:14:54 linux-v2cb kernel:   375.732128] <0> 0000000000000000 ffffffffa049cec5 ffff88012fb795e8 ffff88012cac53a0
Nov  3 22:14:54 linux-v2cb kernel:   375.732131] <0> ffff88012cac4460 ffffffffa049cf98 0000000cb3387e48 ffff88012bcc96d0
Nov  3 22:14:54 linux-v2cb kernel:   375.732135] Call Trace:
Nov  3 22:14:54 linux-v2cb kernel:   375.732150]  <ffffffffa049cec5>] rt2x00lib_probe_dev+0x485/0x500 [rt2x00lib]
Nov  3 22:14:54 linux-v2cb kernel:   375.732156]  <ffffffffa049cf98>] rt2x00lib_start+0x58/0xd0 [rt2x00lib]
Nov  3 22:14:54 linux-v2cb kernel:   375.732168]  <ffffffffa0421065>] ieee80211_open+0x395/0x780 [mac80211]
Nov  3 22:14:54 linux-v2cb kernel:   375.732182]  <ffffffff81384e4e>] __dev_open+0xae/0x100
Nov  3 22:14:54 linux-v2cb kernel:   375.732189]  <ffffffff8138544a>] __dev_change_flags+0x9a/0x180
Nov  3 22:14:54 linux-v2cb kernel:   375.732192]  <ffffffff813855e0>] dev_change_flags+0x20/0x70
Nov  3 22:14:54 linux-v2cb kernel:   375.732196]  <ffffffff813de700>] devinet_ioctl+0x640/0x700
Nov  3 22:14:54 linux-v2cb kernel:   375.732202]  <ffffffff8136db79>] sock_do_ioctl+0x29/0x60
Nov  3 22:14:54 linux-v2cb kernel:   375.732205]  <ffffffff8136dc20>] sock_ioctl+0x70/0x2b0
Nov  3 22:14:54 linux-v2cb kernel:   375.732209]  <ffffffff8113e799>] vfs_ioctl+0x39/0xc0
Nov  3 22:14:54 linux-v2cb kernel:   375.732213]  <ffffffff8113ed1f>] do_vfs_ioctl+0x5f/0x3c0
Nov  3 22:14:54 linux-v2cb kernel:   375.732216]  <ffffffff8113f100>] sys_ioctl+0x80/0xa0
Nov  3 22:14:54 linux-v2cb kernel:   375.732221]  <ffffffff81002efb>] system_call_fastpath+0x16/0x1b
Nov  3 22:14:54 linux-v2cb kernel:   375.732226]  <00007f1e65183e87>] 0x7f1e65183e87
Nov  3 22:14:54 linux-v2cb kernel:   375.732227] Code: 8d 04 c0 48 8d 04 c2 48 39 c5 74 54 48 89 ef e8 da ee ff ff 66 83 7d 2c 00 74 38 31 db 90 89 d8 48 8b 55 08 83 c3 01 48 8d 04 80 <48> c7 04 c2 00 00 00 00 48 8d 3c c5 00 00 00 00 49 8b 44 24 08 
Nov  3 22:14:54 linux-v2cb kernel:   375.732252] RIP  <ffffffffa049f13d>] rt2x00queue_init_queues+0x5d/0xa0 [rt2x00lib]
Nov  3 22:14:54 linux-v2cb kernel:   375.732257]  RSP <ffff8800b3387c88>
Nov  3 22:14:54 linux-v2cb kernel:   375.732258] CR2: 0000000000000000
Nov  3 22:14:54 linux-v2cb kernel:   375.732261] --- end trace fc04197c5f916e59 ]---


command

linux-v2cb:/home/jonathan # ip link set dev wlan0 up
RTNETLINK answers: Input/output error
linux-v2cb:/home/jonathan # ifconfig wlan0 up
Killed
linux-v2cb:/home/jonathan # 
Message from syslogd@linux-v2cb at Nov  3 22:14:54 ...
 kernel:  375.732036] Oops: 0002 #1] SMP 

Message from syslogd@linux-v2cb at Nov  3 22:14:54 ...
 kernel:  375.732038] last sysfs file: /sys/devices/system/cpu/cpu3/cache/index2/shared_cpu_map

Message from syslogd@linux-v2cb at Nov  3 22:14:54 ...
 kernel:  375.732124] Stack:

Message from syslogd@linux-v2cb at Nov  3 22:14:54 ...
 kernel:  375.732135] Call Trace:

Message from syslogd@linux-v2cb at Nov  3 22:14:54 ...
 kernel:  375.732227] Code: 8d 04 c0 48 8d 04 c2 48 39 c5 74 54 48 89 ef e8 da ee ff ff 66 83 7d 2c 00 74 38 31 db 90 89 d8 48 8b 55 08 83 c3 01 48 8d 04 80 <48> c7 04 c2 00 00 00 00 48 8d 3c c5 00 00 00 00 49 8b 44 24 08 

Message from syslogd@linux-v2cb at Nov  3 22:14:54 ...
 kernel:  375.732258] CR2: 0000000000000000



and just hangs after ‘ifconfig wlan0 up’, this causes linux to hang and i have to restart,

(included for completeness)
doing this i noticed i have a few boot options
opensuse - 11.3 2.6.34.7-0.5 (default) (what i have been using)
and
desktop – opensuse - 11.3 2.6.34.7-0.5
though both seem to do the exact same thing so not sure this means anything

OK, I think this looks pretty much like a driver issue and considering this driver is still under heavy development, I would say we forget that one for now.

So uninstall “compat-wireless-kmp-desktop” and “compat-wireless-scripts” for now.

zypper remove compat-wireless-kmp-desktop compat-wireless-scripts

Now the next step should be to test the “staging” driver rt2860sta.

Background:

In a nutshell, this driver is a “cleaned up” combined driver derived from the Ralink vendor drivers and for some devices although intended as a temporary solution until rt2800pci/usb will have matured, it is very often the better solution (at least now and/or if you are not a developer trying to improve rt2x00-drivers).

However, there is a little problem:

 modinfo rt2860sta
filename:       /lib/modules/2.6.31.14-0.4-desktop/updates/rt2860/rt2860sta.ko
version:        2.1.0.0
alias:          rt3090sta
license:        GPL
description:    RT2860/RT3090 Wireless Lan Linux Driver
author:         Jett Chen <jett_chen@ralinktech.com>
firmware:       rt3090.bin
firmware:       rt2860.bin
srcversion:     0C14C97C7AE1C169E345EFE
alias:          pci:v00001814d00003092sv*sd*bc*sc*i*
alias:          pci:v00001814d00003091sv*sd*bc*sc*i*
alias:          pci:v00001814d00003090sv*sd*bc*sc*i*
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:        crc-ccitt
vermagic:       2.6.31.14-0.4-desktop SMP preempt mod_unload modversions 
parm:           mac:rt28xx: wireless mac addr (charp)

your device ID is not amongst the supported ones (alias lines).

However, this does not necessarily mean the driver does not support your card, it just means it won’t recognize the card as “OK, I am in charge for that one”.

The list of supported devices is defined in the source code and before a device is added there, somebody needs to test with that device.

Guess who is going to do that now?

As a testing ground it makes sense to use the drivers from a recent kernel version, there are packages derived from 2.6.36 (latest stable kernel) called “rt28x0-staging-something” in driver:wireless, so run

zypper install rt28x0-staging-kmp-desktop

which will also pull in “rt28x0-staging-common” as a dependency.

After that the double consoles are needed again.

As stated before, the rt2860sta driver does not contain your device ID, so we have to tell the system to use this driver for your device.

(command console - as root)

modprobe -rv rt2800pci

modprobe -v rt2860sta

iwconfig

No wireless interface will be displayed as rt2800pci is not loaded and rt2860sta will not claim the device.

Now we tell the system to use rt2860sta for your device.

echo "1814 3062" > /sys/bus/pci/drivers/rt2860/new_id

iwconfig

If you have an interface wlan0 now, try

ifconfig wlan0 up

iwlist wlan0 scan

Again, post output from both consoles.

About this “hanging” of the system.

We are actually doing some “low-level” stuff here and try to force the kernel to use a driver for a device we don’t know it is compatible, so it might happen your system will become unstable again.

If you are lucky, you will have a working device by now, but we will see.

On 11/03/2010 05:36 PM, ThePuddingMaster wrote:
>
> I’m running into some problems. I will post my terminals for you
>
> Message from syslogd@linux-v2cb at Nov 3 22:14:54 …
> kernel: 375.732258] CR2: 0000000000000000
> Nov 3 22:14:54 linux-v2cb kernel: 375.732020] BUG: unable to handle kernel NULL pointer dereference at (null)
> Nov 3 22:14:54 linux-v2cb kernel: 375.732025] IP: <ffffffffa049f13d>] rt2x00queue_init_queues+0x5d/0xa0 [rt2x00lib]
> Nov 3 22:14:54 linux-v2cb kernel: 375.732032] PGD b32f4067 PUD b3253067 PMD 0

There is a bug in the driver. Usually a NULL pointer is the result of an
uninitialized variable, or a failure to check for something that has not yet
been setup.

I think I read that you got the driver from Ralink. You should use the
compat-wireless package for your kernel (uname -r). At least, if you get the
same error that way, it can be reported to the kernel developers.

Hi Larry,

Actually we were using rt2800pci from compat-wireless (repo driver:wireless, version 2.6.36 stable atm), I will mail H.Schaa and I. van Doorn about this issue.

Right

monitor

linux-v2cb:/home/jonathan # tail -F /var/log/messages
Nov  3 22:41:18 linux-v2cb kernel:   385.221130] phy0 -> rt2800_wait_wpdma_ready: Error - WPDMA TX/RX busy, aborting.
Nov  3 22:41:18 linux-v2cb kernel:   385.221133] phy0 -> rt2800pci_set_device_state: Error - Device failed to enter state 4 (-5).
Nov  3 22:48:01 linux-v2cb sudo: jonathan : no tty present and no askpass program specified ; TTY=unknown ; PWD=/home/jonathan ; USER=root ; COMMAND=/usr/bin/java -jar /home/jonathan/Documents/JDownloader/JDownloader.jar
Nov  3 22:48:03 linux-v2cb sudo: jonathan : no tty present and no askpass program specified ; TTY=unknown ; PWD=/home/jonathan ; USER=root ; COMMAND=/usr/bin/java -jar /home/jonathan/Documents/JDownloader/JDownloader.jar
Nov  3 22:48:18 linux-v2cb su: (to root) jonathan on /dev/pts/1
Nov  3 22:49:59 linux-v2cb pulseaudio[2677]: alsa-sink.c: ALSA woke us up to write new data to the device, but there was actually nothing to write!
Nov  3 22:49:59 linux-v2cb pulseaudio[2677]: alsa-sink.c: Most likely this is a bug in the ALSA driver 'snd_ctxfi'. Please report this issue to the ALSA developers.
Nov  3 22:49:59 linux-v2cb pulseaudio[2677]: alsa-sink.c: We were woken up with POLLOUT set -- however a subsequent snd_pcm_avail() returned 0 or another value < min_avail.
Nov  3 23:00:54 linux-v2cb su: (to root) jonathan on /dev/pts/4
Nov  3 23:01:07 linux-v2cb kernel:  1574.163101] lo: Disabled Privacy Extensions
Nov  3 23:05:25 linux-v2cb smartd[3996]: Device: /dev/sda [SAT], SMART Usage Attribute: 190 Airflow_Temperature_Cel changed from 60 to 61
Nov  3 23:05:25 linux-v2cb smartd[3996]: Device: /dev/sda [SAT], SMART Usage Attribute: 194 Temperature_Celsius changed from 118 to 121
Nov  3 23:05:25 linux-v2cb smartd[3996]: Device: /dev/sdc [SAT], SMART Usage Attribute: 194 Temperature_Celsius changed from 112 to 110
Nov  3 23:05:25 linux-v2cb smartd[3996]: Device: /dev/sdd [SAT], SMART Prefailure Attribute: 1 Raw_Read_Error_Rate changed from 99 to 98

Message from syslogd@linux-v2cb at Nov  3 23:07:05 ...
 kernel: 1932.250164] Oops: 0002 #1] PREEMPT SMP 

Message from syslogd@linux-v2cb at Nov  3 23:07:05 ...
 kernel: 1932.250167] last sysfs file: /sys/devices/system/cpu/cpu3/cache/index2/shared_cpu_map

Message from syslogd@linux-v2cb at Nov  3 23:07:05 ...
 kernel: 1932.250256] Stack:

Message from syslogd@linux-v2cb at Nov  3 23:07:05 ...
 kernel: 1932.250268] Call Trace:

Message from syslogd@linux-v2cb at Nov  3 23:07:05 ...
 kernel: 1932.250364] Code: 8d 04 c0 48 8d 04 c2 48 39 c5 74 54 48 89 ef e8 da ee ff ff 66 83 7d 2c 00 74 38 31 db 90 89 d8 48 8b 55 08 83 c3 01 48 8d 04 80 <48> c7 04 c2 00 00 00 00 48 8d 3c c5 00 00 00 00 49 8b 44 24 08 

Message from syslogd@linux-v2cb at Nov  3 23:07:05 ...
 kernel: 1932.250396] CR2: 0000000000000000
Nov  3 23:07:05 linux-v2cb kernel:  1932.250148] BUG: unable to handle kernel NULL pointer dereference at (null)
Nov  3 23:07:05 linux-v2cb kernel:  1932.250153] IP: <ffffffffa05e70fd>] rt2x00queue_init_queues+0x5d/0xa0 [rt2x00lib]
Nov  3 23:07:05 linux-v2cb kernel:  1932.250161] PGD 103f02067 PUD 125298067 PMD 0 
Nov  3 23:07:05 linux-v2cb kernel:  1932.250164] Oops: 0002 #1] PREEMPT SMP 
Nov  3 23:07:05 linux-v2cb kernel:  1932.250167] last sysfs file: /sys/devices/system/cpu/cpu3/cache/index2/shared_cpu_map
Nov  3 23:07:05 linux-v2cb kernel:  1932.250171] CPU 1 
Nov  3 23:07:05 linux-v2cb kernel:  1932.250172] Modules linked in: rt2860sta rt2800pci rt2800lib crc_ccitt rt2x00pci rt2x00lib mac80211 cfg80211 rfkill eeprom_93cx6 af_packet vmsync vmblock snd_pcm_oss snd_mixer_oss snd_seq snd_seq_device edd mperf fuse loop dm_mod tda18271 arc4 tda10048 saa7134_dvb videobuf_dvb dvb_core ecb tda8290 tea5767 tuner firewire_ohci saa7134 firewire_core crc_itu_t ir_common v4l2_common videodev v4l1_compat snd_ctxfi v4l2_compat_ioctl32 snd_pcm videobuf_dma_sg videobuf_core ir_core sr_mod cdrom sg iTCO_wdt snd_timer tveeprom pcspkr serio_raw ohci1394 i2c_i801 asus_atk0110 ieee1394 iTCO_vendor_support floppy sky2 snd soundcore snd_page_alloc x38_edac edac_core ext4 jbd2 crc16 sd_mod ata_generic pata_marvell ata_piix nouveau ahci ttm drm_kms_helper libata scsi_mod drm i2c_algo_bit button fan thermal processor thermal_sys [last unloaded: eeprom_93cx6]
Nov  3 23:07:05 linux-v2cb kernel:  1932.250222] 
Nov  3 23:07:05 linux-v2cb kernel:  1932.250225] Pid: 14499, comm: ifconfig Not tainted 2.6.34.7-0.5-desktop #1 Rampage Extreme/Rampage Extreme
Nov  3 23:07:05 linux-v2cb kernel:  1932.250228] RIP: 0010:<ffffffffa05e70fd>]  <ffffffffa05e70fd>] rt2x00queue_init_queues+0x5d/0xa0 [rt2x00lib]
Nov  3 23:07:05 linux-v2cb kernel:  1932.250233] RSP: 0018:ffff880103e99c88  EFLAGS: 00010202
Nov  3 23:07:05 linux-v2cb kernel:  1932.250235] RAX: 0000000000000000 RBX: 0000000000000001 RCX: 0000000000000002
Nov  3 23:07:05 linux-v2cb kernel:  1932.250237] RDX: 0000000000000000 RSI: 0000000000000292 RDI: ffff880123240e14
Nov  3 23:07:05 linux-v2cb kernel:  1932.250238] RBP: ffff880123240e00 R08: 0000000000000020 R09: 0000000000000001
Nov  3 23:07:05 linux-v2cb kernel:  1932.250240] R10: 0000000000000000 R11: 0000000000000001 R12: ffff88008e2d93a0
Nov  3 23:07:05 linux-v2cb kernel:  1932.250242] R13: ffff880123240e48 R14: ffff88008e2d9010 R15: ffff880103e99d08
Nov  3 23:07:05 linux-v2cb kernel:  1932.250245] FS:  00007f05acf00700(0000) GS:ffff880001e80000(0000) knlGS:0000000000000000
Nov  3 23:07:05 linux-v2cb kernel:  1932.250247] CS:  0010 DS: 0000 ES: 0000 CR0: 000000008005003b
Nov  3 23:07:05 linux-v2cb kernel:  1932.250248] CR2: 0000000000000000 CR3: 0000000103e9b000 CR4: 00000000000006e0
Nov  3 23:07:05 linux-v2cb kernel:  1932.250251] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
Nov  3 23:07:05 linux-v2cb kernel:  1932.250252] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
Nov  3 23:07:05 linux-v2cb kernel:  1932.250255] Process ifconfig (pid: 14499, threadinfo ffff880103e98000, task ffff88011a3547c0)
Nov  3 23:07:05 linux-v2cb kernel:  1932.250256] Stack:
Nov  3 23:07:05 linux-v2cb kernel:  1932.250257]  ffff880090cdf6c0 ffff88008e2d93a0 0000000000000000 ffff880090cdf6c0
Nov  3 23:07:05 linux-v2cb kernel:  1932.250261] <0> 0000000000000000 ffffffffa05e4ed5 0000000000000000 ffff88008e2d93a0
Nov  3 23:07:05 linux-v2cb kernel:  1932.250264] <0> ffff88008e2d8460 ffffffffa05e4fa8 ffff880123b45980 ffff880090cdf6d0
Nov  3 23:07:05 linux-v2cb kernel:  1932.250268] Call Trace:
Nov  3 23:07:05 linux-v2cb kernel:  1932.250285]  <ffffffffa05e4ed5>] rt2x00lib_probe_dev+0x485/0x500 [rt2x00lib]
Nov  3 23:07:05 linux-v2cb kernel:  1932.250291]  <ffffffffa05e4fa8>] rt2x00lib_start+0x58/0xd0 [rt2x00lib]
Nov  3 23:07:05 linux-v2cb kernel:  1932.250302]  <ffffffffa0598475>] ieee80211_open+0x395/0x780 [mac80211]
Nov  3 23:07:05 linux-v2cb kernel:  1932.250318]  <ffffffff813c530e>] __dev_open+0xae/0x100
Nov  3 23:07:05 linux-v2cb kernel:  1932.250324]  <ffffffff813c591a>] __dev_change_flags+0x9a/0x180
Nov  3 23:07:05 linux-v2cb kernel:  1932.250328]  <ffffffff813c5ab0>] dev_change_flags+0x20/0x70
Nov  3 23:07:05 linux-v2cb kernel:  1932.250332]  <ffffffff81420bf0>] devinet_ioctl+0x640/0x700
Nov  3 23:07:05 linux-v2cb kernel:  1932.250337]  <ffffffff813ad0e9>] sock_do_ioctl+0x29/0x60
Nov  3 23:07:05 linux-v2cb kernel:  1932.250341]  <ffffffff813ad190>] sock_ioctl+0x70/0x2b0
Nov  3 23:07:05 linux-v2cb kernel:  1932.250345]  <ffffffff81134d99>] vfs_ioctl+0x39/0xc0
Nov  3 23:07:05 linux-v2cb kernel:  1932.250349]  <ffffffff81135330>] do_vfs_ioctl+0x70/0x3d0
Nov  3 23:07:05 linux-v2cb kernel:  1932.250352]  <ffffffff81135710>] sys_ioctl+0x80/0xa0
Nov  3 23:07:05 linux-v2cb kernel:  1932.250357]  <ffffffff81002ffb>] system_call_fastpath+0x16/0x1b
Nov  3 23:07:05 linux-v2cb kernel:  1932.250362]  <00007f05aca65e87>] 0x7f05aca65e87
Nov  3 23:07:05 linux-v2cb kernel:  1932.250364] Code: 8d 04 c0 48 8d 04 c2 48 39 c5 74 54 48 89 ef e8 da ee ff ff 66 83 7d 2c 00 74 38 31 db 90 89 d8 48 8b 55 08 83 c3 01 48 8d 04 80 <48> c7 04 c2 00 00 00 00 48 8d 3c c5 00 00 00 00 49 8b 44 24 08 
Nov  3 23:07:05 linux-v2cb kernel:  1932.250391] RIP  <ffffffffa05e70fd>] rt2x00queue_init_queues+0x5d/0xa0 [rt2x00lib]
Nov  3 23:07:05 linux-v2cb kernel:  1932.250395]  RSP <ffff880103e99c88>
Nov  3 23:07:05 linux-v2cb kernel:  1932.250396] CR2: 0000000000000000
Nov  3 23:07:05 linux-v2cb kernel:  1932.250399] --- end trace a68042e41a1327ff ]---


command

linux-v2cb:/home/jonathan # modprobe -rv rt2800pci
FATAL: Module rt2800pci not found.
linux-v2cb:/home/jonathan # 
linux-v2cb:/home/jonathan # modprobe -v rt2860sta
insmod /lib/modules/2.6.34.7-0.5-desktop/updates/rt2860/rt2860sta.ko 
linux-v2cb:/home/jonathan # 
linux-v2cb:/home/jonathan # iwconfig
lo        no wireless extensions.

eth0      no wireless extensions.

eth1      no wireless extensions.

wlan0     IEEE 802.11bgn  ESSID:off/any  
          Mode:Managed  Access Point: Not-Associated   Tx-Power=0 dBm   
          Retry  long limit:7   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          
linux-v2cb:/home/jonathan # echo "1814 3062" > /sys/bus/pci/drivers/rt2860/new_idlinux-v2cb:/home/jonathan # 
linux-v2cb:/home/jonathan # iwconfig
lo        no wireless extensions.

eth0      no wireless extensions.

eth1      no wireless extensions.

wlan0     IEEE 802.11bgn  ESSID:off/any  
          Mode:Managed  Access Point: Not-Associated   Tx-Power=0 dBm   
          Retry  long limit:7   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          
linux-v2cb:/home/jonathan # ifconfig wlan0 up
Killed
linux-v2cb:/home/jonathan # 
Message from syslogd@linux-v2cb at Nov  3 23:07:05 ...
 kernel: 1932.250164] Oops: 0002 #1] PREEMPT SMP 

Message from syslogd@linux-v2cb at Nov  3 23:07:05 ...
 kernel: 1932.250167] last sysfs file: /sys/devices/system/cpu/cpu3/cache/index2/shared_cpu_map

Message from syslogd@linux-v2cb at Nov  3 23:07:05 ...
 kernel: 1932.250256] Stack:

Message from syslogd@linux-v2cb at Nov  3 23:07:05 ...
 kernel: 1932.250268] Call Trace:

Message from syslogd@linux-v2cb at Nov  3 23:07:05 ...
 kernel: 1932.250364] Code: 8d 04 c0 48 8d 04 c2 48 39 c5 74 54 48 89 ef e8 da ee ff ff 66 83 7d 2c 00 74 38 31 db 90 89 d8 48 8b 55 08 83 c3 01 48 8d 04 80 <48> c7 04 c2 00 00 00 00 48 8d 3c c5 00 00 00 00 49 8b 44 24 08 

Message from syslogd@linux-v2cb at Nov  3 23:07:05 ...
 kernel: 1932.250396] CR2: 0000000000000000

I then ran it again after rebooting and got managed to get further (which i cant fit in this post)