rt2x00.serialmonkey.com

Support forum for the rt2x00 project
It is currently Wed May 22, 2013 6:04 am

All times are UTC


Forum rules


Important: Read Project restructuring announcement regarding the pending removal of the legacy drivers from this project.



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 7 posts ] 
Author Message
PostPosted: Mon Sep 29, 2008 3:57 pm 
Offline

Joined: Mon Sep 29, 2008 3:50 pm
Posts: 4
Hi,

I have a DLINK DWL-510.

I download nigtly build here : http://rt2x00.serialmonkey.com/rt61-cvs-daily.tar.gz
I execute make & make install
I copy rt*.bin in /lib/firmware

width lsmod i can see rt61pci
I decide not to keep r61pci and not active rt61

iwlist scan find some Points
But if i make /etc/init.d/networking restart => WLAN1 NOT READY
and iwlist scan don't find any Points.


If i configure corretcly /etc/network/interface correctement and i reboot i get this message :
Code:
dmessg
[   18.061538] wlan1: Initial auth_alg=0
[   18.061543] wlan1: authenticate with AP 00:1e:4c:56:9d:69
[   18.077447] wlan1: RX authentication from 00:1e:4c:56:9d:69 (alg=0 transaction=2 status=0)
[   18.077447] wlan1: authenticated
[   18.077447] wlan1: associate with AP 00:1e:4c:56:9d:69
[   18.077447] wlan1: RX AssocResp from 00:1e:4c:56:9d:69 (capab=0x411 status=0 aid=1)
[   18.077447] wlan1: associated
[   18.077447] wlan1: switched to short barker preamble (BSSID=00:1e:4c:56:9d:69)
[   18.077624] ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready


And if i make /etc/init.d/networking restart => WLAN1 NOT READY => IWLIST SCAN (NONE)
Code:
dmessg
[   20.240444] lp: driver loaded but no devices found
[   20.252435] ppdev: user-space parallel port driver
[   22.552631] warning: `avahi-daemon' uses 32-bit capabilities (legacy support in use)
[   29.532177] wlan1: no IPv6 routers present
[   87.530090] wlan1: deauthenticate(reason=3)
[   87.569092] ADDRCONF(NETDEV_UP): wlan1: link is not ready
[   88.680640] wlan1: Initial auth_alg=0
[   88.680640] wlan1: authenticate with AP 00:1e:4c:56:9d:69
[   88.891899] wlan1: authenticate with AP 00:1e:4c:56:9d:69
[   89.090074] wlan1: authenticate with AP 00:1e:4c:56:9d:69
[   89.290066] wlan1: authentication with AP 00:1e:4c:56:9d:69 timed out



I can reproduce this case at any reboot.
Why restart makes error ?


Top
 Profile  
 
PostPosted: Mon Sep 29, 2008 4:08 pm 
Offline
Site Admin

Joined: Sun Jun 05, 2005 1:01 pm
Posts: 5905
Location: Haarlem, The Netherlands
You are using 2 drivers for the same piece of hardware, you must choose which driver you really want and put the other one on the module blacklist.

_________________
Regards,
Ivo van Doorn
Project Administrator
http://rt2x00.serialmonkey.com


Top
 Profile  
 
PostPosted: Tue Sep 30, 2008 7:53 am 
Offline

Joined: Mon Sep 29, 2008 3:50 pm
Posts: 4
No, I have already blacklist rt61

/etc/modrprob.d/blackilist => blacklist rt61
/etc/modules => #rt61


Top
 Profile  
 
PostPosted: Wed Oct 01, 2008 11:37 am 
Offline

Joined: Mon Sep 29, 2008 3:50 pm
Posts: 4
If i try with rt61 i have this error :
Code:
Oct  1 13:28:48 borne1 kernel: [  384.518090] kernel BUG at include/linux/timer.h:165!
Oct  1 13:28:48 borne1 kernel: [  384.518090] invalid opcode: 0000 [#1] SMP
Oct  1 13:28:48 borne1 kernel: [  384.518090] Modules linked in: binfmt_misc ppdev parport_pc lp parport video output ac battery ipv6 loop snd_hda_intel snd_seq_dummy snd_seq_oss snd_seq_midi snd_rawmidi snd_seq_midi_event snd_seq snd_pcm_oss snd_mixer_oss snd_seq_device snd_pcm psmouse snd_timer serio_raw snd k8temp soundcore pcspkr rt61 snd_page_alloc i2c_nforce2 firmware_class i2c_core button evdev ext3 jbd mbcache sd_mod ata_generic sata_nv ohci1394 ieee1394 forcedeth ide_pci_generic ohci_hcd ehci_hcd amd74xx usbcore ahci jmicron ide_core libata scsi_mod dock thermal processor fan thermal_sys
Oct  1 13:28:48 borne1 kernel: [  384.518090]
Oct  1 13:28:48 borne1 kernel: [  384.518090] Pid: 3287, comm: ifconfig Not tainted (2.6.26-1-686 #1)
Oct  1 13:28:48 borne1 kernel: [  384.518090] EIP: 0060:[<f09b7aab>] EFLAGS: 00010286 CPU: 1
Oct  1 13:28:48 borne1 kernel: [  384.518090] EIP is at LinkDown+0xe3/0x341 [rt61]
Oct  1 13:28:48 borne1 kernel: [  384.518090] EAX: ef7a9190 EBX: ef7a0000 ECX: 00000000 EDX: 00000068
Oct  1 13:28:48 borne1 kernel: [  384.518090] ESI: ef7a94b0 EDI: ef7a94d2 EBP: 00000000 ESP: eeb59ebc
Oct  1 13:28:48 borne1 kernel: [  384.518090]  DS: 007b ES: 007b FS: 00d8 GS: 0033 SS: 0068
Oct  1 13:28:48 borne1 kernel: [  384.518090] Process ifconfig (pid: 3287, ti=eeb58000 task=ef945140 task.ti=eeb58000)
Oct  1 13:28:48 borne1 kernel: [  384.518090] Stack: ef7a0000 ee3d9000 00001003 00000000 f09b0711 ee3d9000 00001042 c025885d
Oct  1 13:28:48 borne1 kernel: [  384.518090]        ee3d9000 c0258708 ee417200 00000000 ef720b80 ee3d9000 c02926f6 eeb59f24
Oct  1 13:28:48 borne1 kernel: [  384.518090]        bfbc478c 00008914 c041b060 ef720b8c 00000000 00000000 6e616c77 00000031
Oct  1 13:28:48 borne1 kernel: [  384.518090] Call Trace:
Oct  1 13:28:48 borne1 kernel: [  384.518090]  [<f09b0711>] rt61_close+0x13/0x9a [rt61]
Oct  1 13:28:48 borne1 kernel: [  384.518090]  [<c025885d>] dev_close+0x58/0x6f
Oct  1 13:28:48 borne1 kernel: [  384.518090]  [<c0258708>] dev_change_flags+0x92/0x13b
Oct  1 13:28:48 borne1 kernel: [  384.518090]  [<c02926f6>] devinet_ioctl+0x232/0x52c
Oct  1 13:28:48 borne1 kernel: [  384.518090]  [<c024e42b>] sock_ioctl+0x19f/0x1c1
Oct  1 13:28:48 borne1 kernel: [  384.518090]  [<c024e28c>] sock_ioctl+0x0/0x1c1
Oct  1 13:28:48 borne1 kernel: [  384.518090]  [<c017e1fc>] vfs_ioctl+0x1c/0x5d
Oct  1 13:28:48 borne1 kernel: [  384.518090]  [<c017e487>] do_vfs_ioctl+0x24a/0x261
Oct  1 13:28:48 borne1 kernel: [  384.518090]  [<c017e4df>] sys_ioctl+0x41/0x5a
Oct  1 13:28:48 borne1 kernel: [  384.518090]  [<c0103853>] sysenter_past_esp+0x78/0xb1
Oct  1 13:28:48 borne1 kernel: [  384.518090]  =======================
Oct  1 13:28:48 borne1 kernel: [  384.518090] Code: 00 75 09 c6 83 cc 39 01 00 00 eb 2b a1 40 db 36 c0 05 c4 09 00 00 83 bb 90 91 00 00 00 89 83 98 91 00 00 8d 83 90 91 00 00 74 04 <0f> 0b eb fe 8b 50 08 e8 13 1f 77 cf 0f b6 8b 58 94 00 00 8d 93
Oct  1 13:28:48 borne1 kernel: [  384.518090] EIP: [<f09b7aab>] LinkDown+0xe3/0x341 [rt61] SS:ESP 0068:eeb59ebc
Oct  1 13:28:48 borne1 kernel: [  384.533484] ---[ end trace 510b381a2d853b26 ]---


Another crash
Code:
Oct  1 14:02:04 borne1 kernel: [   79.006802] ------------[ cut here ]------------
Oct  1 14:02:04 borne1 kernel: [   79.006853] kernel BUG at include/linux/timer.h:165!
Oct  1 14:02:04 borne1 kernel: [   79.006890] invalid opcode: 0000 [#1] SMP
Oct  1 14:02:04 borne1 kernel: [   79.006967] Modules linked in: binfmt_misc ppdev parport_pc lp parport video output ac battery ipv6 loop snd_hda_intel snd_seq_dummy snd_pcm_oss snd_seq_oss snd_mixer_oss snd_pcm snd_seq_midi snd_rawmidi snd_seq_midi_event snd_seq psmouse snd_timer snd_seq_device serio_raw pcspkr snd k8temp rt61 soundcore snd_page_alloc i2c_nforce2 firmware_class i2c_core button evdev ext3 jbd mbcache sd_mod ata_generic sata_nv ohci1394 ieee1394 forcedeth amd74xx ohci_hcd ehci_hcd ide_pci_generic usbcore jmicron ide_core ahci libata scsi_mod dock thermal processor fan thermal_sys
Oct  1 14:02:04 borne1 kernel: [   79.008401]
Oct  1 14:02:04 borne1 kernel: [   79.008401] Pid: 2882, comm: ifconfig Not tainted (2.6.26-1-686 #1)
Oct  1 14:02:04 borne1 kernel: [   79.008401] EIP: 0060:[<f09abaab>] EFLAGS: 00010282 CPU: 0
Oct  1 14:02:04 borne1 kernel: [   79.008401] EIP is at LinkDown+0xe3/0x341 [rt61]
Oct  1 14:02:04 borne1 kernel: [   79.008401] EAX: ef7a9190 EBX: ef7a0000 ECX: 00000000 EDX: 00000068
Oct  1 14:02:04 borne1 kernel: [   79.008401] ESI: ef7a94b0 EDI: ef7a94d2 EBP: 00000000 ESP: ee19bebc
Oct  1 14:02:04 borne1 kernel: [   79.008401]  DS: 007b ES: 007b FS: 00d8 GS: 0033 SS: 0068
Oct  1 14:02:04 borne1 kernel: [   79.008401] Process ifconfig (pid: 2882, ti=ee19a000 task=ef8f9b00 task.ti=ee19a000)
Oct  1 14:02:04 borne1 kernel: [   79.008401] Stack: ef7a0000 ee40a400 00001003 00000000 f09a4711 ee40a400 00001042 c025885d
Oct  1 14:02:04 borne1 kernel: [   79.008401]        ee40a400 c0258708 ee2869c0 00000000 ef57d4c0 ee40a400 c02926f6 ee19bf24
Oct  1 14:02:04 borne1 kernel: [   79.008401]        bf8c946c 00008914 c041b060 ef57d4cc 00000000 00000000 6e616c77 00000031
Oct  1 14:02:04 borne1 kernel: [   79.008401] Call Trace:
Oct  1 14:02:04 borne1 kernel: [   79.008401]  [<f09a4711>] rt61_close+0x13/0x9a [rt61]
Oct  1 14:02:04 borne1 kernel: [   79.008401]  [<c025885d>] dev_close+0x58/0x6f
Oct  1 14:02:04 borne1 kernel: [   79.008401]  [<c0258708>] dev_change_flags+0x92/0x13b
Oct  1 14:02:04 borne1 kernel: [   79.008401]  [<c02926f6>] devinet_ioctl+0x232/0x52c
Oct  1 14:02:04 borne1 kernel: [   79.008401]  [<c024e42b>] sock_ioctl+0x19f/0x1c1
Oct  1 14:02:04 borne1 kernel: [   79.008401]  [<c024e28c>] sock_ioctl+0x0/0x1c1
Oct  1 14:02:04 borne1 kernel: [   79.008401]  [<c017e1fc>] vfs_ioctl+0x1c/0x5d
Oct  1 14:02:04 borne1 kernel: [   79.008401]  [<c017e487>] do_vfs_ioctl+0x24a/0x261
Oct  1 14:02:04 borne1 kernel: [   79.008401]  [<c017e4df>] sys_ioctl+0x41/0x5a
Oct  1 14:02:04 borne1 kernel: [   79.008401]  [<c0103853>] sysenter_past_esp+0x78/0xb1
Oct  1 14:02:04 borne1 kernel: [   79.008401]  =======================
Oct  1 14:02:04 borne1 kernel: [   79.008401] Code: 00 75 09 c6 83 cc 39 01 00 00 eb 2b a1 40 db 36 c0 05 c4 09 00 00 83 bb 90 91 00 00 00 89 83 98 91 00 00 8d 83 90 91 00 00 74 04 <0f> 0b eb fe 8b 50 08 e8 13 df 77 cf 0f b6 8b 58 94 00 00 8d 93
Oct  1 14:02:04 borne1 kernel: [   79.008401] EIP: [<f09abaab>] LinkDown+0xe3/0x341 [rt61] SS:ESP 0068:ee19bebc
Oct  1 14:02:04 borne1 kernel: [   79.008550] ---[ end trace 5cc017927dc744ab ]---


Top
 Profile  
 
PostPosted: Wed Oct 01, 2008 1:08 pm 
Offline

Joined: Mon Sep 29, 2008 3:50 pm
Posts: 4
I try another solution with rt61pci.

i download & compile http://linuxwireless.org/download/compat-wireless-2.6/

After installation the wifi is Ok, I try a /etc/init.d/networking restart and :
Code:
[   57.187762] wlan1: deauthenticating by local choice (reason=3)
[   57.228120] phy0 -> rt61pci_mcu_request: Error - mcu request error. Request 0x50 failed for token 0xff.
[   57.232118] ADDRCONF(NETDEV_UP): wlan1: link is not ready
[   58.311713] wlan1: authenticate with AP 00:1e:4c:56:9d:69
[   58.513338] wlan1: authenticate with AP 00:1e:4c:56:9d:69
[   58.668393] wlan1: authenticate with AP 00:1e:4c:56:9d:69
[   58.933380] wlan1: authentication with AP 00:1e:4c:56:9d:69 timed out


another /etc/init.d/networking restart just after :
Code:
[  458.926254] phy0 -> rt61pci_mcu_request: Error - mcu request error. Request 0x50 failed for token 0xff.
[  458.987190] ADDRCONF(NETDEV_UP): wlan1: link is not ready
[  459.042680] phy0 -> rt2x00queue_write_tx_frame: Error - Arrived at non-free entry in the non-full queue 0.
[  459.042682] Please file bug report to http://rt2x00.serialmonkey.com.


Top
 Profile  
 
PostPosted: Mon Oct 06, 2008 2:36 pm 
Offline

Joined: Fri Oct 03, 2008 9:52 pm
Posts: 1
Hi,

I can confirm this behaviour.

I have the same setup: Debian Lenny with kernel 2.6.26 and a DWL-G510 PCI card.

After the PC is booted all is fine. But when I make an 'ifdown wlan1' and afterwards an 'ifup wlan1' nothing works at all: no connection to the AP.

In the loggings there is nothing special, just what was reported here already.



Yesterday I observed another strange thing: the PC was booted with no active WLAN. Afterwards the WLAN was activated at the AP, and then the DWL tried to connect to that AP. I observed a very rhythmic process where the transmission speed went up to 54 mbps and quickly after that went down to 5 or even less mbps. The cycle took maybe 5 or 6 sec. of time. No way to connect to the internet with this phenomenon.



Under normal conditions, this all is not a problem. But when you are configuring a system, you get crazy because you don't know what's going on. So for the moment the message is:

If you configure a system with the above setting, make sure that you always start your testing with a new booted system. 'ifdown' and 'ifup' won't do it.

I hope somebody can fix this behavior.

Greetings
Stefan Padberg


Top
 Profile  
 
PostPosted: Mon Oct 06, 2008 7:47 pm 
Offline

Joined: Sun Jun 26, 2005 10:26 am
Posts: 1685
Location: Marseille, France
Hello,
Code:
[  459.042680] phy0 -> rt2x00queue_write_tx_frame: Error - Arrived at non-free entry in the non-full queue 0.

This is a recurring issue with rt2x00, Ivo is working on fixing it.
Please post such report in the rt2x00 section next time ;).

Regards,
Romain

_________________
RutilT developer


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 7 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group