RaLink RT2561/RT61 802.11g PCI not run on vanilla-2.6.24-rc3

Live forum: http://rt2x00.serialmonkey.com/viewtopic.php?t=4476

waldauf

01-12-2007 01:27:51

Hi, I'm trying run EDIMAX IEEE 802.11g like AP (for this reason I use rt2x00 which support manage mode) but I alway failed /. System doesn't work with my card.

[codeqnu2y29o]
# lspci
~
~
01:06.0 Network controller: RaLink RT2561/RT61 802.11g PCI
~
~
[/codeqnu2y29o]

My system is Gentoo (emerge --info[/urlqnu2y29o])
[codeqnu2y29o]

# uname -a
Linux medussa.sh.cvut.cz 2.6.24-rc3 #10 SMP Sat Nov 24 00:30:40 UTC 2007 x86_64 AMD Athlon(tm) 64 Processor 3000+ AuthenticAMD GNU/Linux
[/codeqnu2y29o]
I use vanilla-sources, because there is driver for my card ([url=http://notorola.sh.cvut.cz/~waldauf/stahuj/kernel_24-rc3_config.txtqnu2y29o]kernel .config[/urlqnu2y29o]).


In kernel I compiled driver like module and I haven't any problems with them
[codeqnu2y29o]
#modprobe -l
/lib/modules/2.6.24-rc3/kernel/drivers/net/wireless/rt2x00/rt61pci.ko
/lib/modules/2.6.24-rc3/kernel/drivers/net/wireless/rt2x00/rt2x00pci.ko
/lib/modules/2.6.24-rc3/kernel/drivers/net/wireless/rt2x00/rt2x00lib.ko
/lib/modules/2.6.24-rc3/kernel/net/ieee80211/ieee80211_crypt_wep.ko
/lib/modules/2.6.24-rc3/kernel/net/ieee80211/ieee80211_crypt_ccmp.ko
/lib/modules/2.6.24-rc3/kernel/net/ieee80211/ieee80211.ko
/lib/modules/2.6.24-rc3/kernel/net/ieee80211/ieee80211_crypt.ko
/lib/modules/2.6.24-rc3/kernel/net/ieee80211/ieee80211_crypt_tkip.ko
/lib/modules/2.6.24-rc3/kernel/net/mac80211/mac80211.ko

# lsmod
Module Size Used by
rt61pci 26048 0
eeprom_93cx6 4288 1 rt61pci
rt2x00pci 9664 1 rt61pci
rt2x00lib 19200 2 rt61pci,rt2x00pci
crc_itu_t 4160 1 rt2x00lib
mac80211 156820 3 rt61pci,rt2x00pci,rt2x00lib
ieee80211_crypt_wep 6720 0
ieee80211_crypt_tkip 11776 0
ieee80211_crypt_ccmp 8256 0
ieee80211 30792 0
ieee80211_crypt 7232 4 ieee80211_crypt_wep, ieee80211_crypt_tkip, ieee80211_crypt_ccmp,ieee80211
w83627ehf 24072 0
hwmon_vid 4736 1 w83627ehf
i2c_dev 8392 0
i2c_nforce2 7936 0
nvidia 7001204 44
i2c_core 21824 3 i2c_dev,i2c_nforce2,nvidia
[/codeqnu2y29o]

So this was my specification.


Now i try run card. I compile my kernel, add modules in /etc/modules.autoload.d/2.6, create link in /etc/init.d/net.wlan0.

In /etc/conf.d/net I have
[listqnu2y29o]
##############
### WLAN 0 ###
##############
modules_wlan0=( "iwconfig" )
#ifconfig_wlan0=( "192.168.0.1 netmask 255.255.255.0" )
#mode_wlan0="Master"
essid_wlan0="WLDF"
#channel_wlan0="1"
[/listuqnu2y29o]

And restart PC.

After restart I run wlan
[codeqnu2y29o]
# /etc/init.d/net.wlan0 restart
* Caching service dependencies ... [ ok ]
* Starting wlan0
SIOCSIFFLAGS: No such file or directory
SIOCSIFFLAGS: No such file or directory
SIOCSIFFLAGS: No such file or directory
* Configuring wireless network for wlan0
* Failed to configure wireless for wlan0

# ifconfig wlan0 up
SIOCSIFFLAGS: No such file or directory
[/codeqnu2y29o]

In /etc/udev/rules.d/# cat 70-persistent-net.rules missing eny wlan0
[codeqnu2y29o]
# This file was automatically generated by the /lib/udev/write_net_rules
# program, probably run by the persistent-net-generator.rules rules file.
#
# You can modify it, as long as you keep each rule on a single line.

# PCI device 0x10de:0x0269 (forcedeth)
SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:14:85:37:79:f6", NAME="eth0"

# PCI device 0x10b7:0x9200 (3c59x)
SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:04:75:ae:62:a6", NAME="eth1"
[/codeqnu2y29o]

This is very strange, so I look at dmesg
[codeqnu2y29o]
phy0 -> rt61pci_validate_eeprom: EEPROM recovery - NIC: 0xff80
phy0 -> rt61pci_validate_eeprom: EEPROM recovery - RSSI OFFSET BG: 0x0000
phy0 -> rt61pci_validate_eeprom: EEPROM recovery - RSSI OFFSET BG: 0x0000
phy0 -> rt2x00_set_chip: Info - Chipset detected - rt: 0301, rf: 0003, rev: 0002561c.
phy0: Selected rate control algorithm 'simple'
ISO 9660 Extensions: RRIP_1991A
Adding 1469936k swap on /dev/sda2. Priority:-1 extents:1 across:1469936k
eth1: setting full-duplex.
eth1: no IPv6 routers present
phy0 -> rt2x00lib_request_firmware: Info - Loading firmware file 'rt2561s.bin'.
phy0 -> rt2x00lib_request_firmware: Error - Failed to request Firmware.
phy0 -> rt2x00lib_request_firmware: Info - Loading firmware file 'rt2561s.bin'.
phy0 -> rt2x00lib_request_firmware: Error - Failed to request Firmware.
phy0 -> rt2x00lib_request_firmware: Info - Loading firmware file 'rt2561s.bin'.
phy0 -> rt2x00lib_request_firmware: Error - Failed to request Firmware.
phy0 -> rt2x00lib_request_firmware: Info - Loading firmware file 'rt2561s.bin'.
phy0 -> rt2x00lib_request_firmware: Error - Failed to request Firmware.
phy0 -> rt2x00mac_conf_tx: Info - Configured TX ring 0 - CWmin: 4, CWmax: 10, Aifs: 2.
phy0 -> rt2x00mac_conf_tx: Info - Configured TX ring 1 - CWmin: 4, CWmax: 10, Aifs: 2.
phy0 -> rt2x00mac_conf_tx: Info - Configured TX ring 2 - CWmin: 4, CWmax: 10, Aifs: 2.
phy0 -> rt2x00mac_conf_tx: Info - Configured TX ring 3 - CWmin: 4, CWmax: 10, Aifs: 2.
phy0 -> rt2x00mac_conf_tx: Info - Configured TX ring 4 - CWmin: 4, CWmax: 10, Aifs: 2.
phy0 -> rt2x00mac_conf_tx: Info - Configured TX ring 0 - CWmin: 4, CWmax: 10, Aifs: 2.
phy0 -> rt2x00mac_conf_tx: Info - Configured TX ring 1 - CWmin: 4, CWmax: 10, Aifs: 2.
phy0 -> rt2x00mac_conf_tx: Info - Configured TX ring 2 - CWmin: 4, CWmax: 10, Aifs: 2.
phy0 -> rt2x00mac_conf_tx: Info - Configured TX ring 3 - CWmin: 4, CWmax: 10, Aifs: 2.
phy0 -> rt2x00mac_conf_tx: Info - Configured TX ring 4 - CWmin: 4, CWmax: 10, Aifs: 2.
phy0 -> rt2x00mac_conf_tx: Info - Configured TX ring 0 - CWmin: 4, CWmax: 10, Aifs: 2.
phy0 -> rt2x00mac_conf_tx: Info - Configured TX ring 1 - CWmin: 4, CWmax: 10, Aifs: 2.
phy0 -> rt2x00mac_conf_tx: Info - Configured TX ring 2 - CWmin: 4, CWmax: 10, Aifs: 2.
phy0 -> rt2x00mac_conf_tx: Info - Configured TX ring 3 - CWmin: 4, CWmax: 10, Aifs: 2.
phy0 -> rt2x00mac_conf_tx: Info - Configured TX ring 4 - CWmin: 4, CWmax: 10, Aifs: 2.
phy0 -> rt2x00lib_request_firmware: Info - Loading firmware file 'rt2561s.bin'.
phy0 -> rt2x00lib_request_firmware: Error - Failed to request Firmware.
phy0 -> rt2x00lib_request_firmware: Info - Loading firmware file 'rt2561s.bin'.
phy0 -> rt2x00lib_request_firmware: Error - Failed to request Firmware.
phy0 -> rt2x00lib_request_firmware: Info - Loading firmware file 'rt2561s.bin'.
phy0 -> rt2x00lib_request_firmware: Error - Failed to request Firmware.
phy0 -> rt2x00lib_request_firmware: Info - Loading firmware file 'rt2561s.bin'.
phy0 -> rt2x00lib_request_firmware: Error - Failed to request Firmware.
phy0 -> rt2x00mac_conf_tx: Info - Configured TX ring 0 - CWmin: 4, CWmax: 10, Aifs: 2.
phy0 -> rt2x00mac_conf_tx: Info - Configured TX ring 1 - CWmin: 4, CWmax: 10, Aifs: 2.
phy0 -> rt2x00mac_conf_tx: Info - Configured TX ring 2 - CWmin: 4, CWmax: 10, Aifs: 2.
phy0 -> rt2x00mac_conf_tx: Info - Configured TX ring 3 - CWmin: 4, CWmax: 10, Aifs: 2.
phy0 -> rt2x00mac_conf_tx: Info - Configured TX ring 4 - CWmin: 4, CWmax: 10, Aifs: 2.
phy0 -> rt2x00mac_conf_tx: Info - Configured TX ring 0 - CWmin: 4, CWmax: 10, Aifs: 2.
phy0 -> rt2x00mac_conf_tx: Info - Configured TX ring 1 - CWmin: 4, CWmax: 10, Aifs: 2.
phy0 -> rt2x00mac_conf_tx: Info - Configured TX ring 2 - CWmin: 4, CWmax: 10, Aifs: 2.
phy0 -> rt2x00mac_conf_tx: Info - Configured TX ring 3 - CWmin: 4, CWmax: 10, Aifs: 2.
phy0 -> rt2x00mac_conf_tx: Info - Configured TX ring 4 - CWmin: 4, CWmax: 10, Aifs: 2.
phy0 -> rt2x00lib_request_firmware: Info - Loading firmware file 'rt2561s.bin'.
phy0 -> rt2x00lib_request_firmware: Error - Failed to request Firmware.
phy0 -> rt2x00lib_request_firmware: Info - Loading firmware file 'rt2561s.bin'.
phy0 -> rt2x00lib_request_firmware: Error - Failed to request Firmware.
phy0 -> rt2x00lib_request_firmware: Info - Loading firmware file 'rt2561s.bin'.
phy0 -> rt2x00lib_request_firmware: Error - Failed to request Firmware.
phy0 -> rt2x00mac_conf_tx: Info - Configured TX ring 0 - CWmin: 4, CWmax: 10, Aifs: 2.
phy0 -> rt2x00mac_conf_tx: Info - Configured TX ring 1 - CWmin: 4, CWmax: 10, Aifs: 2.
phy0 -> rt2x00mac_conf_tx: Info - Configured TX ring 2 - CWmin: 4, CWmax: 10, Aifs: 2.
phy0 -> rt2x00mac_conf_tx: Info - Configured TX ring 3 - CWmin: 4, CWmax: 10, Aifs: 2.
phy0 -> rt2x00mac_conf_tx: Info - Configured TX ring 4 - CWmin: 4, CWmax: 10, Aifs: 2.
phy0 -> rt2x00mac_conf_tx: Info - Configured TX ring 0 - CWmin: 4, CWmax: 10, Aifs: 2.
phy0 -> rt2x00mac_conf_tx: Info - Configured TX ring 1 - CWmin: 4, CWmax: 10, Aifs: 2.
phy0 -> rt2x00mac_conf_tx: Info - Configured TX ring 2 - CWmin: 4, CWmax: 10, Aifs: 2.
phy0 -> rt2x00mac_conf_tx: Info - Configured TX ring 3 - CWmin: 4, CWmax: 10, Aifs: 2.
phy0 -> rt2x00mac_conf_tx: Info - Configured TX ring 4 - CWmin: 4, CWmax: 10, Aifs: 2.
phy0 -> rt2x00lib_request_firmware: Info - Loading firmware file 'rt2561s.bin'.
phy0 -> rt2x00lib_request_firmware: Error - Failed to request Firmware.
phy0 -> rt2x00lib_request_firmware: Info - Loading firmware file 'rt2561s.bin'.
phy0 -> rt2x00lib_request_firmware: Error - Failed to request Firmware.
phy0 -> rt2x00lib_request_firmware: Info - Loading firmware file 'rt2561s.bin'.
phy0 -> rt2x00lib_request_firmware: Error - Failed to request Firmware.
phy0 -> rt2x00mac_conf_tx: Info - Configured TX ring 0 - CWmin: 4, CWmax: 10, Aifs: 2.
phy0 -> rt2x00mac_conf_tx: Info - Configured TX ring 1 - CWmin: 4, CWmax: 10, Aifs: 2.
phy0 -> rt2x00mac_conf_tx: Info - Configured TX ring 2 - CWmin: 4, CWmax: 10, Aifs: 2.
phy0 -> rt2x00mac_conf_tx: Info - Configured TX ring 3 - CWmin: 4, CWmax: 10, Aifs: 2.
phy0 -> rt2x00mac_conf_tx: Info - Configured TX ring 4 - CWmin: 4, CWmax: 10, Aifs: 2.
phy0 -> rt2x00mac_conf_tx: Info - Configured TX ring 0 - CWmin: 4, CWmax: 10, Aifs: 2.
phy0 -> rt2x00mac_conf_tx: Info - Configured TX ring 1 - CWmin: 4, CWmax: 10, Aifs: 2.
phy0 -> rt2x00mac_conf_tx: Info - Configured TX ring 2 - CWmin: 4, CWmax: 10, Aifs: 2.
phy0 -> rt2x00mac_conf_tx: Info - Configured TX ring 3 - CWmin: 4, CWmax: 10, Aifs: 2.
phy0 -> rt2x00mac_conf_tx: Info - Configured TX ring 4 - CWmin: 4, CWmax: 10, Aifs: 2.
phy0 -> rt2x00mac_conf_tx: Info - Configured TX ring 0 - CWmin: 4, CWmax: 10, Aifs: 2.
phy0 -> rt2x00mac_conf_tx: Info - Configured TX ring 1 - CWmin: 4, CWmax: 10, Aifs: 2.
phy0 -> rt2x00mac_conf_tx: Info - Configured TX ring 2 - CWmin: 4, CWmax: 10, Aifs: 2.
phy0 -> rt2x00mac_conf_tx: Info - Configured TX ring 3 - CWmin: 4, CWmax: 10, Aifs: 2.
phy0 -> rt2x00mac_conf_tx: Info - Configured TX ring 4 - CWmin: 4, CWmax: 10, Aifs: 2.
phy0 -> rt2x00lib_request_firmware: Info - Loading firmware file 'rt2561s.bin'.
phy0 -> rt2x00lib_request_firmware: Error - Failed to request Firmware.
[/codeqnu2y29o]

What that means? That vanilla-kernel with support for RaLink doesn't work and I must use ndiswrapper?


Thank for help


waldauf >-]
waldauf{a}centrum[dot]cz

saittam

01-12-2007 12:46:59

Your syslog has lots of messages saying the driver couldn't load the firmware. I'd suggest you install it -)

You can download it from
[url2f8cjx5p]http://www.ralinktech.com/ralink/Home/Support/Linux.html[/url2f8cjx5p]

Just pick your device, extract the firmware (IIRC, it's in the Module directory) and place it in /lib/firmware.

Btw. The rt61pci driver in 2.6.24-rc3 vanilla might have some issues. Current git should work fine, in fact, I'm posting this via my rt61pci wink

pin.oyako

04-01-2008 12:42:52

Your syslog has lots of messages saying the driver couldn't load the firmware. I'd suggest you install it -)

You can download it from
[urlueh6vlgx]http://www.ralinktech.com/ralink/Home/Support/Linux.html[/urlueh6vlgx]

Just pick your device, extract the firmware (IIRC, it's in the Module directory) and place it in /lib/firmware.

Btw. The rt61pci driver in 2.6.24-rc3 vanilla might have some issues. Current git should work fine, in fact, I'm posting this via my rt61pci wink[/quoteueh6vlgx]


jepp exactly what was missing with me. Thank you very much! Funny that I did not find this in any howto..

or maybe because rt2500 is not the same like rt2x00... anyhow, wireless is working perfekt on debian sid + gnome

Spy84464

04-01-2008 13:05:37


or maybe because rt2500 is not the same like rt2x00[/quote2mlr3ehr]That is rt2500 that is different from rt61, in the sense that it does not need an external firmware.

waldauf

04-01-2008 14:08:58

Your syslog has lots of messages saying the driver couldn't load the firmware. I'd suggest you install it -)

You can download it from
[urlpj8w7om0]http://www.ralinktech.com/ralink/Home/Support/Linux.html[/urlpj8w7om0]

Just pick your device, extract the firmware (IIRC, it's in the Module directory) and place it in /lib/firmware.

Btw. The rt61pci driver in 2.6.24-rc3 vanilla might have some issues. Current git should work fine, in fact, I'm posting this via my rt61pci wink[/quotepj8w7om0]


this help mee, thank you )