You are not logged in.

#1 2010-04-09 22:22:22

cwheeldon19
Member
Registered: 2010-04-09
Posts: 6

Kernel 2.6.33 and rt2860

Hi,

I'm running arch on an eee pc 901, and everything was working great until I updated to the 2.6.33 kernel today. I found that upon rebooting my wireless was no longer working. I'm not quite sure why, but the device wlan0 is present in iwconfig but not ifconfig. running 'ifconfig wlan0 up' results in SIOCSIFFLAGS: No such file or directory. I saw another thread in which a similar issue was discussed but for a broadcom driver; however it seemed that the issue was fairly specific to that driver. Below I have posted some messages that i get:

dmesg | tail
rt2800pci 0000:01:00.0: firmware: requesting rt2860.bin
phy0 -> rt2x00lib_request_firmware: Error - Failed to request Firmware.
lsmod | grep 'rt'
rt2860sta             506252  0 
rt2800pci               8235  0 
rt2800lib              19181  1 rt2800pci
rt2x00usb               6607  1 rt2800lib
rt2x00pci               4309  1 rt2800pci
crc_ccitt               1067  1 rt2800pci
rt2x00lib              22084  4 rt2800pci,rt2800lib,rt2x00usb,rt2x00pci
mac80211              153100  3 rt2x00usb,rt2x00pci,rt2x00lib
cfg80211              107930  2 rt2x00lib,mac80211
led_class               1933  2 rt2x00lib,eeepc_laptop
iTCO_vendor_support     1485  1 iTCO_wdt
agpgart                23480  2 drm,intel_agp
eeprom_93cx6             984  1 rt2800pci
usbcore               120133  5 uvcvideo,rt2x00usb,uhci_hcd,ehci_hcd
rtc_cmos                7614  0 
rtc_core               11883  1 rtc_cmos
rtc_lib                 1450  1 rtc_core

It seems strange to me that so many different modules appear to be loaded in relation to the wireless. I tried preventing rt2x00pci from loading in rc.conf but this had no effect.

Hope you can help,
Thanks,
Chris

Offline

#2 2010-04-09 22:32:19

delcake
Member
Registered: 2008-07-28
Posts: 62

Re: Kernel 2.6.33 and rt2860

This happened to me as well with my eeepc 1000H. I incidentally had kernel-netbook from AUR compiled, which is also 2.6.33 but it works there. I guess that just means that our module is selected in kernel-netbook by default but didn't get enabled in this run of 2.6.33-ARCH.

Offline

#3 2010-04-09 22:34:46

Cdh
Member
Registered: 2009-02-03
Posts: 1,098

Re: Kernel 2.6.33 and rt2860

When trying 2.6.34 I was missing the firmware file.
It should be in /lib/firmware/rt2860.bin

If it is not you need to download the driver from ralinktech, extract this file and put it there.
You get it here:
http://www.ralinktech.com/support.php?s=2

"Firmware RT28XX/RT30XX PCI/mPCI/PCIe/CardBus series (RT2760/RT2790/RT2860/RT2890/RT3060/RT3062/RT3562/RT2860/RT2760/RT2890/RT2790/RT3090)"


฿ 18PRsqbZCrwPUrVnJe1BZvza7bwSDbpxZz

Offline

#4 2010-04-09 22:49:22

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Kernel 2.6.33 and rt2860

I have no experience with your hardware, but it seems to me that you have two drivers loaded for one device - rt2860sta, from the kernel's staging area, and rt2800pci, from the mainline rt2x00 driver series. That is never good. Blacklist the one you don't want, and try again - or blacklist each in turn, and see which gives the best results.

Also, rt2800pci is looking for a specific firmware file - rt2860.bin - which doesn't seem to be provided by any Arch package. I'm sure the devs will remedy that, but in the meantime you can get the firmware here.

Offline

#5 2010-04-09 23:06:07

Cdh
Member
Registered: 2009-02-03
Posts: 1,098

Re: Kernel 2.6.33 and rt2860

No he can't.

The requested URL /data/drivers/RT2860_Firmware_V11.zip was not found on this server.

This seems to be a very old webpage you linked to.

I did some PKGBUILD
http://omploader.org/vNDN1eg/rt2860-firmware.tar.gz

Let's see if this URL is changing.


฿ 18PRsqbZCrwPUrVnJe1BZvza7bwSDbpxZz

Offline

#6 2010-04-10 00:05:43

cwheeldon19
Member
Registered: 2010-04-09
Posts: 6

Re: Kernel 2.6.33 and rt2860

Hi again,

Thankyou for your help. I do not have a firmware file at the location mentioned. However, I followed tomk's advice. Whilst running, I unloaded the rt2x00* and rt2800* modules and then reloaded the rt2860 module... success! However I am unable to prevent the rt2x00 and rt2800 related modules loading at boot. I put the names of all of them in the modules=() in rc.conf, preceeded with ! to no avail. Any ideas, the guys on irc reckon it might be related to udev...

Thankyou

Offline

#7 2010-04-10 00:28:37

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Kernel 2.6.33 and rt2860

No idea why rc.conf blacklisting didn't work for you - it works fine here, although for other unrelated modules. Any chance you're loading them in your initramfs image? You shouldn't be, but it might be worth checking.

Assuming you're not, try /etc/modprobe.d/* blacklisting instead.

Offline

#8 2010-04-10 00:29:06

cwheeldon19
Member
Registered: 2010-04-09
Posts: 6

Re: Kernel 2.6.33 and rt2860

I managed to get it working by blacklisting the modules in /etc/modprobe.d/modprobde.conf
Thanks for the help

Last edited by cwheeldon19 (2010-04-10 00:29:45)

Offline

#9 2010-04-10 05:44:01

jasonwryan
Forum & Wiki Admin
From: .nz
Registered: 2009-05-09
Posts: 19,339
Website

Re: Kernel 2.6.33 and rt2860

On my Eee 901, I just had to blacklist rt2800pci in /etc/rc.conf - thanks for the pointer tomk.


Arch + dwm   •   Mercurial repos  •   Github

Registered Linux User #482438

Offline

#10 2010-04-10 08:00:30

Ogion
Member
From: Germany
Registered: 2007-12-11
Posts: 367

Re: Kernel 2.6.33 and rt2860

Same problem for me on my Eee 1000H and same solution worked (preventing the rt2800.pci and its companions from being loaded).
Thanks for the tip

Ogion


(my-dotfiles)
"People willing to trade their freedom for temporary security deserve neither and will lose both." - Benjamin Franklin
"Enlightenment is man's leaving his self-caused immaturity." - Immanuel Kant

Offline

#11 2010-04-10 08:17:17

Cdh
Member
Registered: 2009-02-03
Posts: 1,098

Re: Kernel 2.6.33 and rt2860

You say that you use the rt2860sta that comes with the kernel without the firmware? How does this work?


฿ 18PRsqbZCrwPUrVnJe1BZvza7bwSDbpxZz

Offline

#12 2010-04-10 09:03:19

cwheeldon19
Member
Registered: 2010-04-09
Posts: 6

Re: Kernel 2.6.33 and rt2860

I'm not sure. Where should the firmware file be located? I have nothing that looks like the file in /lib/firmware.

Offline

#13 2010-04-10 10:03:57

ehlo
Member
From: England
Registered: 2010-04-04
Posts: 65

Re: Kernel 2.6.33 and rt2860

rt2x00 is supposed to replace rt2860sta, and so rt2x00 is the one I'd rather be using. Will the ralink firmware packages in the repos be updated to properly load firmware for the new modules?

Edit: It seems that rt71, rt61 and rt2870 firmware for rt2x00 is in the repos but not rt2860 sad

Last edited by ehlo (2010-04-10 10:06:26)

Offline

#14 2010-04-10 10:28:02

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Kernel 2.6.33 and rt2860

ehlo - I'm sure the devs will get to it. Check the bugtracker to see if it's been requested - if not, post the request yourself.

And yes, the rt2x00 drivers should be preferred over anything in staging.

Offline

#15 2010-04-10 14:13:34

Cdh
Member
Registered: 2009-02-03
Posts: 1,098

Re: Kernel 2.6.33 and rt2860

rt2800pci can scan for networks but cannot connect on my eee 1000h. It always times out.
Only rt2860sta works...


฿ 18PRsqbZCrwPUrVnJe1BZvza7bwSDbpxZz

Offline

#16 2010-04-10 14:29:56

hyness
Member
Registered: 2009-06-06
Posts: 6

Re: Kernel 2.6.33 and rt2860

I'm also having trouble with the 2800pci driver.  I installed the v26 firmware from the PKGBUILD in this thread, and it does scan as Cdh says, but will not connect...

$ dmesg | grep rt2800pci
rt2800pci 0000:04:01.0: PCI INT A -> GSI 18 (level, low) -> IRQ 18
Registered led device: rt2800pci-phy0::radio
Registered led device: rt2800pci-phy0::assoc
Registered led device: rt2800pci-phy0::quality
rt2800pci 0000:04:01.0: firmware: requesting rt2860.bin
phy0 -> rt2800pci_mcu_status: Error - MCU request failed, no response from hardware

Should it really be loading all these modules just to use rt2800pci?

$ lsmod | grep 'rt'
rt2800pci               9547  0 
rt2800lib              21101  1 rt2800pci
rt2x00usb               7607  1 rt2800lib
rt2x00pci               5005  1 rt2800pci
crc_ccitt               1307  1 rt2800pci
rt2x00lib              25148  4 rt2800pci,rt2800lib,rt2x00usb,rt2x00pci
led_class               2609  1 rt2x00lib
mac80211              171772  3 rt2x00usb,rt2x00pci,rt2x00lib
cfg80211              126658  2 rt2x00lib,mac80211
iTCO_vendor_support     1873  1 iTCO_wdt
eeprom_93cx6            1352  1 rt2800pci
usbcore               144604  6 usbhid,rt2x00usb,usb_storage,uhci_hcd,ehci_hcd
rtc_cmos                8990  0 
rtc_core               14439  1 rtc_cmos
rtc_lib                 1842  1 rtc_core

The rt2860sta driver does work, but only at G speed not N.  I also tried the ralink 2.3.0.0 driver, but  it is even slower than the kernel driver.  With 2.6.32 kernel, I was able to get N speed from their 2.1.2.0 driver, but that one won't compile anymore.  I've had nothing but trouble with this card for the last year.

I'm very tempted to just buy another card, but I'm not sure which one to buy.

Offline

#17 2010-04-10 16:20:51

liticovjesac
Member
From: Stockholm-Belgrade-Köln
Registered: 2008-07-16
Posts: 91

Re: Kernel 2.6.33 and rt2860

Had a same problem since 2.36.32 and this thread finally helped me.
I disabled both rt2800pci and rt2x00pci in rc.conf. After reboot no luck. Than i noticed that card name is change from ra0 to wlan0 so i had to change that in wicd and it works!
I guess that that network interface name should be changed even in rc.conf
thanx!

Offline

#18 2010-04-10 16:57:49

Dirk Sohler
Member
From: Hamburg, Germany
Registered: 2009-10-03
Posts: 109

Re: Kernel 2.6.33 and rt2860

I simply added

!rt2800pci !rt2x00pci !rt2800usb !rt2x00usb

to the MODULES list in rc.conf and rebooted.

et voila: it works!

Offline

#19 2010-04-10 17:02:36

Moppa
Member
Registered: 2008-10-21
Posts: 7

Re: Kernel 2.6.33 and rt2860

I only added "!rt2800pci !rt2x00pci" to the MODULES directive and my EeePC 1000H works.

Interface name: wlan0

Thanks for the info guys!

Offline

#20 2010-04-11 06:47:13

oupsemma
Member
Registered: 2010-01-01
Posts: 70

Re: Kernel 2.6.33 and rt2860

Same problem here with Arch on eeepc 1000H, and also with Fedora 13. Thanks for the tip!

It seems that our rt2860 is without future, and that getting use to rt2x00/rt2800 will soon be required;
http://blogs.gnome.org/dcbw/2009/11/19/ … r-suckage/

Offline

#21 2010-04-11 09:38:06

cwheeldon19
Member
Registered: 2010-04-09
Posts: 6

Re: Kernel 2.6.33 and rt2860

Interesting, somewhat over-passionate though perhaps...Anyway, I might have a look at the rt2x00 driver and see if I can get that working instead of the "steaming pile of manure" staging driver...

Edit: That firmware package build worked, but then I have the same problem that other people have with rt2x00 - the inability to connect to WPA.

Last edited by cwheeldon19 (2010-04-11 10:21:54)

Offline

#22 2010-04-11 11:47:05

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Kernel 2.6.33 and rt2860

General impression seems to be 2860sta is the better choice for now. It would probably be helpful, though, if people tested the rt2x00 as well, see how it progresses. I remember similar situations with earlier rt2x00 drivers e.g. rt73 etc.

Offline

#23 2010-04-11 12:28:58

Ogion
Member
From: Germany
Registered: 2007-12-11
Posts: 367

Re: Kernel 2.6.33 and rt2860

I unloaded the rt2860sta and modprobed the rt2800pci (which loads half a dozen other modules automatically) and tried connecting my wlan with netcfg, but it didn't work.

This is what netcfg said:

SIOCSIFFLAGS: No such file or directory
Could not set interface 'wlan0' UP

 > WPA Authentication/Association Failed

In dmesg i found this:

rt2800pci 0000:01:00.0: firmware: requesting rt2860.bin
phy0 -> rt2x00lib_request_firmware: Error - Failed to request Firmware.
rt2800pci 0000:01:00.0: firmware: requesting rt2860.bin
phy0 -> rt2x00lib_request_firmware: Error - Failed to request Firmware.

Ogion

EDIT:
@Cdh: Your link/PKGBUILD worked, however even with the firmware, and dmesg saying

rt2800pci 0000:01:00.0: firmware: requesting rt2860.bin

netcfg wasn't able to use the wlan to connect to an open wifi. (Although an iwlist wlan0 scan, while using the rt2800, did work and show the corret wlan-net).

I'm not really experienced enough in things wifi, and my netbooks wlan works out of the installed kernel with the rt2860sta, so i'm happy for now. tongue

Last edited by Ogion (2010-04-11 12:44:33)


(my-dotfiles)
"People willing to trade their freedom for temporary security deserve neither and will lose both." - Benjamin Franklin
"Enlightenment is man's leaving his self-caused immaturity." - Immanuel Kant

Offline

#24 2010-04-11 14:40:34

hyness
Member
Registered: 2009-06-06
Posts: 6

Re: Kernel 2.6.33 and rt2860

Has anyone got the 2.6.33 rt2860sta to connect at 802.11n speed (e.g.: a speed above 54 mb/s)?

Offline

#25 2010-04-11 14:57:02

cwheeldon19
Member
Registered: 2010-04-09
Posts: 6

Re: Kernel 2.6.33 and rt2860

Hyness, I think the conclusion was that rt2860sta can't connect to wireless n networks, the best it can do is g (i think).

Offline

Board footer

Powered by FluxBB