Problems associating rt61 "Please file bug report to..."

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

fraz

20-05-2008 07:12:03

I may be doing something wrong but I'm having problems connecting to my AP.

I've done the following
ifconfig wlan0 up
iwlist wlan0 scan

[code2359g3cm]iwlist wlan0 scan
wlan0 Scan completed :
Cell 01 - Address: 00:04:ED:42:58:0E
ESSID:"noders"
Mode:Master
Frequency:2.412 GHz (Channel 1)
Channel:1
Quality=51/100 Signal level=-54 dBm
Encryption key:on
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
9 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s; 36 Mb/s
48 Mb/s; 54 Mb/s
Extra:tsf=00000143f0767998
Cell 02 - Address: 00:0F:B5:26:75:56
ESSID:"noona"
Mode:Master
Frequency:2.462 GHz (Channel 11)
Channel:11
Quality=52/100 Signal level=-44 dBm
Encryption key:off
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
24 Mb/s; 36 Mb/s; 54 Mb/s; 6 Mb/s; 9 Mb/s
12 Mb/s; 48 Mb/s
Extra:tsf=000000003c56e18d

[/code2359g3cm]

iwconfig wlan0 essid noders
iwconfig wlan0 key XXXXXXXXXXXXXXXXXXXXXXXX
iwconfig wlan0 ap 0004ED42580E

iwconfig wlan0
[code2359g3cm]wlan0 IEEE 802.11 ESSID:"noders"
Mode:Managed Frequency:2.412 GHz Access Point: 00:04:ED:42:58:0E
Tx-Power=8 dBm
Retry min limit:7 RTS thr:off Fragment thr=2352 B
Encryption key:XXXX-XXXX-XXXX-XXXX-XXXX-XXXX-XX
Link Quality:0 Signal level:0 Noise level:0
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0

[/code2359g3cm]

dhclient wlan0 complains that "receive_packet failed on wlan0 Network is down"
[code2359g3cm]Internet Software Consortium DHCP Client 2.0pl5
Copyright 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium.
All rights reserved.

Please contribute if you find this software useful.
For info, please visit http://www.isc.org/dhcp-contrib.html

wmaster0: unknown hardware address type 801
wmaster0: unknown hardware address type 801
Listening on LPF/wlan0/00:0e:2e:a5:11:e2
Sending on LPF/wlan0/00:0e:2e:a5:11:e2
Sending on Socket/fallback/fallback-net
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 4
receive_packet failed on wlan0: Network is down
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 4
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 10
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 14
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 7
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 9
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 11
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 2
No DHCPOFFERS received.
No working leases in persistent database.

Sleeping.

[/code2359g3cm]


dmesg then reports either
[code2359g3cm]phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 0 - CWmin: 4, CWmax: 10, Aifs: 2.
wlan0: Initial auth_alg=0
wlan0: authenticate with AP 00:04:ed:42:58:0e
wlan0: authenticate with AP 00:04:ed:42:58:0e
wlan0: authenticate with AP 00:04:ed:42:58:0e
wlan0: authentication with AP 00:04:ed:42:58:0e timed out
[/code2359g3cm]
or
[code2359g3cm]ADDRCONF(NETDEV_UP): wlan0: link is not ready
phy0 -> rt2x00queue_write_tx_frame: Error - Arrived at non-free entry in the non-full queue 0.
Please file bug report to http://rt2x00.serialmonkey.com.
------------[ cut here ]------------
WARNING: at net/mac80211/tx.c:1094 ___ieee80211_tx+0x35/0x60 [mac80211]()
Modules linked in: nfsd auth_rpcgss exportfs ac battery nfs lockd nfs_acl sunrpc ipv6 longhaul vt1211 hwmon_vid cryptoloop loop aes_i586 aes_generic snd_pcm_oss snd_mixer_oss arc4 ecb crypto_blkcipher rt61pci crc_itu_t rt2x00pci rt2x00lib firmware_class snd_via82xx rfkill gameport 8250_pnp input_polldev mac80211 snd_ac97_codec parport_pc parport 8250 serial_core ac97_bus snd_pcm snd_timer snd_page_alloc snd_mpu401_uart cfg80211 i2c_viapro pcspkr snd_rawmidi snd_seq_device eeprom_93cx6 i2c_core snd soundcore button evdev usbhid floppy via_rhine mii uhci_hcd ehci_hcd ohci1394 usbcore ieee1394 thermal processor fan thermal_sys
Pid: 3319, comm: rt61pci Tainted: G W 2.6.26-rc1limonia-wl #1
[<c0118e90>] warn_on_slowpath+0x40/0x70
[<c011005d>] handle_vm86_fault+0x41d/0x6b0
[<c011373f>] dequeue_entity+0xf/0xb0
[<c0119814>] printk+0x14/0x20
[<fd999035>] rt2x00queue_write_tx_frame+0x55/0xb0 [rt2x00lib]
[<fd998270>] rt2x00mac_tx+0x230/0x270 [rt2x00lib]
[<fd95b815>] ___ieee80211_tx+0x35/0x60 [mac80211]
[<fd95c72a>] ieee80211_master_start_xmit+0x1ba/0x250 [mac80211]
[<c0275ad4>] dev_hard_start_xmit+0x164/0x1c0
[<c02825b0>] __qdisc_run+0x80/0x130
[<c0277b36>] dev_queue_xmit+0x116/0x1f0
[<fd955f00>] ieee80211_sta_scan_work+0x0/0x180 [mac80211]
[<fd956047>] ieee80211_sta_scan_work+0x147/0x180 [mac80211]
[<fd955f00>] ieee80211_sta_scan_work+0x0/0x180 [mac80211]
[<c0124783>] run_workqueue+0x63/0xd0
[<c0124d10>] worker_thread+0x0/0xc0
[<c0124dbc>] worker_thread+0xac/0xc0
[<c01270f0>] autoremove_wake_function+0x0/0x30
[<c0124d10>] worker_thread+0x0/0xc0
[<c0126f56>] kthread+0x36/0x60
[<c0126f20>] kthread+0x0/0x60
[<c01048c7>] kernel_thread_helper+0x7/0x10
=======================
---[ end trace 35d05c54fa517770 ]---
BUG wmaster0 code -16 qlen 0
ADDRCONF(NETDEV_UP): wlan0: link is not ready
phy0 -> rt2x00queue_write_tx_frame: Error - Arrived at non-free entry in the non-full queue 0.
Please file bug report to http://rt2x00.serialmonkey.com.
BUG wmaster0 code -16 qlen 0
[/code2359g3cm]

Or on one occation early on
[code2359g3cm]
phy0 -> rt2x00lib_request_firmware: Info - Loading firmware file 'rt2561s.bin'.
firmware: requesting rt2561s.bin
phy0 -> rt2x00lib_request_firmware: Info - Firmware detected - version: 0.8.
ADDRCONF(NETDEV_UP): wlan0: link is not ready
phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 0 - CWmin: 4, CWmax: 10, Aifs: 2.
wlan0: Initial auth_alg=0
wlan0: authenticate with AP 00:04:ed:42:58:0e
wlan0: RX authentication from 00:04:ed:42:58:0e (alg=0 transaction=2 status=0)
wlan0: authenticated
wlan0: associate with AP 00:04:ed:42:58:0e
wlan0: RX AssocResp from 00:04:ed:42:58:0e (capab=0x431 status=0 aid=1)
wlan0: associated
ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
------------[ cut here ]------------
WARNING: at kernel/softirq.c:141 local_bh_enable+0x1f/0x60()
Modules linked in: nfsd auth_rpcgss exportfs ac battery nfs lockd nfs_acl sunrpc ipv6 longhaul vt1211 hwmon_vid cryptoloop loop aes_i586 aes_generic snd_pcm_oss snd_mixer_oss arc4 ecb crypto_blkcipher rt61pci crc_itu_t rt2x00pci rt2x00lib firmware_class snd_via82xx rfkill gameport 8250_pnp input_polldev mac80211 snd_ac97_codec parport_pc parport 8250 serial_core ac97_bus snd_pcm snd_timer snd_page_alloc snd_mpu401_uart cfg80211 i2c_viapro pcspkr snd_rawmidi snd_seq_device eeprom_93cx6 i2c_core snd soundcore button evdev usbhid floppy via_rhine mii uhci_hcd ehci_hcd ohci1394 usbcore ieee1394 thermal processor fan thermal_sys
Pid: 4859, comm: ifconfig Not tainted 2.6.26-rc1limonia-wl #1
[<c0118e90>] warn_on_slowpath+0x40/0x70
[<c0167331>] dput+0x21/0xc0
[<c01607bd>] __link_path_walk+0x94d/0xa60
[<c01de8f0>] vsnprintf+0x3e0/0x420
[<c01292a9>] enqueue_hrtimer+0xc9/0xe0
[<c0115e04>] hrtick_set+0x54/0x90
[<c02d06f7>] schedule+0x227/0x240
[<c011ca0f>] local_bh_enable+0x1f/0x60
[<fd94f2b9>] __sta_info_unlink+0xa9/0x140 [mac80211]
[<fd94f482>] sta_info_flush+0x72/0xd0 [mac80211]
[<fd94ce4d>] ieee80211_stop+0x4d/0x2d0 [mac80211]
[<c0125600>] wakeme_after_rcu+0x0/0x10
[<c0275f57>] dev_close+0x37/0x50
[<c0275e0f>] dev_change_flags+0x8f/0x140
[<c02ad808>] devinet_ioctl+0x228/0x510
[<c026bd4f>] sock_ioctl+0x19f/0x1d0
[<c026bbb0>] sock_ioctl+0x0/0x1d0
[<c0162766>] vfs_ioctl+0x16/0x50
[<c016298c>] do_vfs_ioctl+0x1ec/0x200
[<c0110a75>] do_page_fault+0x205/0x530
[<c01629e1>] sys_ioctl+0x41/0x60
[<c01037b2>] syscall_call+0x7/0xb
=======================
---[ end trace 35d05c54fa517770 ]---
ADDRCONF(NETDEV_UP): wlan0: link is not ready
ADDRCONF(NETDEV_UP): wlan0: link is not ready
[/code2359g3cm]

The same sorts of problems happen with WEP or without WEP (using a spare router).
I'm using a 0014.0 Network controller RaLink RT2561/RT61 802.11g PCI from Edimax. on Debian Lenny with a freshly compile kernel using git source.
Linux zest 2.6.26-rc1limonia-wl #1 Tue May 20 134401 EST 2008 i686 GNU/Linux
Kismet works, and I have previously managed to get a working link using the legacy rt61 driver on a different kernel compile.

Any ideas welcome!

fraz

21-05-2008 03:07:17

Just compiled the current legacy rt61 driver under the same kernel and now have a working connection. Best yet actually and can pull files across NFS at 2.84 MB/s ) and it brings up its own wireless connection on boot - wireless and headless EPIA-M.

I'm happy to help test the current rt2x00 if anyone has suggestions. )