connection interrupted for rt61pci in master mode
Hello,
I have RaLink RT2561/RT61 802.11g PCI wireless card and use it in master mode as AP. I have latest Mandriva 2011.0 distro with kernel 2.6.38.7-desktop-1mnb2. Driver for wifi card is rt61pci. If I connect via wifi from another PC then after some small time I get connection interrupted and I must disconnect and reconnect again. I tried latest compat-wireless-3.3-rc1-2 and also latest hostapd-0.7.3, but still same issue. In previous Mandriva version 2010.2 I had kernel 2.6.33.7-desktop-2mnb, hostapd-0.6.7 and it worked perfectly. Hostapd uses driver=nl80211, mode=g, channel=11. There are no errors in messages. I know it is not issue of the client machine, since same behavior I have if I connect to AP with HTC smartphone. Is it any known bug of rt61pci driver or hostapd?
Thanks.
Regards.
Am Samstag, 28. Januar 2012, 15:45:44 schrieb [email protected]:
Quoted 4 lines
I have RaLink RT2561/RT61 802.11g PCI wireless card and use it in master mode as AP. I have latest Mandriva 2011.0 distro with kernel 2.6.38.7-desktop-1mnb2. Driver for wifi card is rt61pci. If I connect via wifi from another PC then after some small time I get connection
Quoted 8 lines
interrupted and I must disconnect and reconnect again. I tried latest compat-wireless-3.3-rc1-2 and also latest hostapd-0.7.3, but still same issue. In previous Mandriva version 2010.2 I had kernel 2.6.33.7-desktop-2mnb, hostapd-0.6.7 and it worked perfectly. Hostapd uses driver=nl80211, mode=g, channel=11. There are no errors in messages. I know it is not issue of the client machine, since same behavior I have if I connect to AP with HTC smartphone. Is it any known bug of rt61pci driver or hostapd?
Not known (to me) yet but might be a bug in rt61pci. Could you please provide the output of
cat /sys/kernel/debug/ieee80211/phy0/rt2800pci/queues/*
?
Thanks,
Helmut
A message that is not in the archive (sent off-list or not yet received): [email protected]
Hello,
I made the test again, got connection interrupted on client, but folder "/sys/kernel/debug/ieee80211/phy0/" was empty on server, no rt2800pci inside. Do I make anything wrongly?
Thanks.
Michal
______________________________________________________________
Quoted 28 lines
Od: "Helmut Schaa" <[email protected]>
Komu: <[email protected]>
Datum: 29.01.2012 21:15
Předmět: Re: connection interrupted for rt61pci in master modeCC: [email protected]
Am Samstag, 28. Januar 2012, 15:45:44 schrieb [email protected]:Quoted 4 lines
I have RaLink RT2561/RT61 802.11g PCI wireless card and use it in master mode as AP. I have latest Mandriva 2011.0 distro with kernel 2.6.38.7-desktop-1mnb2. Driver for wifi card is rt61pci. If I connect via wifi from another PC then after some small time I get connection
Quoted 8 lines
interrupted and I must disconnect and reconnect again. I tried latest compat-wireless-3.3-rc1-2 and also latest hostapd-0.7.3, but still same issue. In previous Mandriva version 2010.2 I had kernel 2.6.33.7-desktop-2mnb, hostapd-0.6.7 and it worked perfectly. Hostapd uses driver=nl80211, mode=g, channel=11. There are no errors in messages. I know it is not issue of the client machine, since same behavior I have if I connect to AP with HTC smartphone. Is it any known bug of rt61pci driver or hostapd?
Not known (to me) yet but might be a bug in rt61pci. Could you please provide the output of
cat /sys/kernel/debug/ieee80211/phy0/rt2800pci/queues/*?
Thanks,
Helmut
Quoted 3 lines · On Mon, Jan 30, 2012 at 7:18 PM, <[email protected]> wrote:
I made the test again, got connection interrupted on client, but folder "
/sys/kernel/debug/ieee80211/phy0/" was empty on server, no rt2800pci inside. Do I make anything wrongly?
Hmm, rt2x00 needs to be build with debug/debugfs support:
CONFIG_RT2X00_LIB_DEBUGFSCONFIG_RT2X00_DEBUG
Helmut
Hello,
I set CONFIG_RT2X00_LIB_DEBUGFS=y and CONFIG_RT2X00_DEBUG=y in config.mk. Then I saw 3 files in "/sys/kernel/debug/ieee80211/phy0/rt61pci/queue/" -r--r--r-- 1 root root 0 Jan 31 20:32 crypto
-r-------- 1 root root 0 Jan 31 20:32 dump
-r-------- 1 root root 0 Jan 31 20:32 queue
One of them "dump" was still continuosly growing. I stopped catting after connection interrupted occured. Do you need all them three? Should I send it only to your email? Packed dump file has 820kB. Queue and Crypto are of small sizes.
Thanks.
Michal
______________________________________________________________
Quoted 18 lines
Od: "Helmut Schaa" <[email protected]>
Komu: <[email protected]>
Datum: 31.01.2012 08:49
Předmět: Re: connection interrupted for rt61pci in master modeQuoted 3 lines · On Mon, Jan 30, 2012 at 7:18 PM, <[email protected]> wrote:
I made the test again, got connection interrupted on client, but folder "
/sys/kernel/debug/ieee80211/phy0/" was empty on server, no rt2800pci inside. Do I make anything wrongly?Hmm, rt2x00 needs to be build with debug/debugfs support:
CONFIG_RT2X00_LIB_DEBUGFSCONFIG_RT2X00_DEBUGHelmut
Quoted 1 line · On Tue, Jan 31, 2012 at 9:21 PM, <[email protected]> wrote:
One of them "dump" was still continuosly growing. I stopped catting after connection interrupted occured. Do you need all them three? Should I send it only to your email? Packed dump file has 820kB. Queue and Crypto are of small sizes.
I'd only like to see the content of "queue" when the problem happens. Helmut
Quoted 4 lines · Helmut Schaa
Quoted 1 line · On Tue, Jan 31, 2012 at 9:21 PM, <[email protected]> wrote:
One of them "dump" was still continuosly growing. I stopped catting after connection interrupted occured. Do you need all them three? Should I send it only to your email? Packed dump file has 820kB. Queue and Crypto are of small sizes.
I'd only like to see the content of "queue" when the problem happens.
Was the output you've send me from the time the problem occured? At least the queues are not stuck somehow, so must be something else ...
Helmut
Hello,
I send another queue file, is there seen root cause of connection interrupted?
Thanks.
Michal
______________________________________________________________
Quoted 9 lines
Od: "Helmut Schaa" <[email protected]>
Komu: <[email protected]>
Datum: 02.02.2012 09:04
Předmět: Re: connection interrupted for rt61pci in master modeQuoted 1 line · Helmut Schaa
On Tue, Jan 31, 2012 at 9:21 PM, <[email protected]> wrote:
Quoted 9 lines
Quoted 3 lines
Quoted 1 line
One of them "dump" was still continuosly growing. I stopped catting after connection interrupted occured. Do you need all them three? Should I send it only to your email? Packed dump file has 820kB. Queue and Crypto are of small sizes.
I'd only like to see the content of "queue" when the problem happens.
Was the output you've send me from the time the problem occured? At least the queues are not stuck somehow, so must be something else ...
Helmut
qid flags count limit length index dma done done
14 0x00000001 85823 32 0 31 31 31
0 0x00000001 161 32 0 1 0 1
1 0x00000001 0 32 0 0 0 0
2 0x00000001 17872 32 0 16 0 16
3 0x00000001 0 32 0 0 0 0
16 0x00000001 0 4 0 0 0 0
Quoted 12 lines · [email protected] schrieb:
Hello,
I have RaLink RT2561/RT61 802.11g PCI wireless card and use it in master mode as AP. I have latest Mandriva 2011.0 distro with kernel 2.6.38.7-desktop-1mnb2. Driver for wifi card is rt61pci. If I connect via wifi from another PC then after some small time I get connection interrupted and I must disconnect and reconnect again. I tried latest compat-wireless-3.3-rc1-2 and also latest hostapd-0.7.3, but still same issue. In previous Mandriva version 2010.2 I had kernel 2.6.33.7-desktop-2mnb, hostapd-0.6.7 and it worked perfectly. Hostapd uses driver=nl80211, mode=g, channel=11.
What about the machine rt61pci runs on? Does the machine have one single core cpu or is it a multi core / processor machine (smp)?
Regards,
Andreas
A message that is not in the archive (sent off-list or not yet received): [email protected]
Machine has "Intel Core i5-2500K" with 4 cores without Hyper-Threading.
Regards.
Michal
______________________________________________________________
Quoted 26 lines
Od: "Andreas Hartmann" <[email protected]>
Komu: <[email protected]>
Datum: 07.02.2012 07:07
Předmět: Re: connection interrupted for rt61pci in master modeQuoted 12 lines · [email protected] schrieb:
Hello,
I have RaLink RT2561/RT61 802.11g PCI wireless card and use it in master mode as AP. I have latest Mandriva 2011.0 distro with kernel 2.6.38.7-desktop-1mnb2. Driver for wifi card is rt61pci. If I connect via wifi from another PC then after some small time I get connection interrupted and I must disconnect and reconnect again. I tried latest compat-wireless-3.3-rc1-2 and also latest hostapd-0.7.3, but still same issue. In previous Mandriva version 2010.2 I had kernel 2.6.33.7-desktop-2mnb, hostapd-0.6.7 and it worked perfectly. Hostapd uses driver=nl80211, mode=g, channel=11.
What about the machine rt61pci runs on? Does the machine have one single core cpu or is it a multi core / processor machine (smp)?
Regards,
Andreas
Hello Helmut,
could it be potentially a problem with smp or does the fix you provided for rt2860 based wlan devices applies too for rt61pci?
I'm thinking about that, because I saw the same problems here some time ago. And probably I can see it too with rt2800usb [1].
@Michal:
Just to verify (or falsify) this hypothesis: Could you please reboot the machine with the additional kernel option maxcpus=0 (you can enter it in the grub console) to just use cpu 0 (please verify with "cat /proc/cpuinfo"). If the problem disappears, it's most probably smp related.
Another question: you didn't activate 802.11n. Is this correct?
Regards,
Andreas
Quoted 5 lines · [email protected] schrieb:
Machine has "Intel Core i5-2500K" with 4 cores without Hyper-Threading.
Regards.
Michal
Regards,
Andreas
[1]
http://rt2x00.serialmonkey.com/pipermail/users_rt2x00.serialmonkey.com/2012-February/004556.html
I tried maxcpus=0 and verified that really only one cpu core is used but didn't help (so not smp problem). I realized that sometimes when I see connection interrupted, then after few seconds it recovers and network is again functional. 802.11n is disabled. One more thing, when i do "ifup wlan0" I get following output:
NETLINK: Packet too small or truncated! 56!=16!=996
is it OK?
Regards.
Michal
______________________________________________________________
Quoted 42 lines
Od: "Andreas Hartmann" <[email protected]>
Komu: Helmut Schaa <[email protected]>
Datum: 07.02.2012 08:37
Předmět: Re: connection interrupted for rt61pci in master modeCC: "linux-wireless" <[email protected]> Hello Helmut,
could it be potentially a problem with smp or does the fix you provided for rt2860 based wlan devices applies too for rt61pci?
I'm thinking about that, because I saw the same problems here some time ago. And probably I can see it too with rt2800usb [1].
@Michal:
Just to verify (or falsify) this hypothesis: Could you please reboot the machine with the additional kernel option maxcpus=0 (you can enter it in the grub console) to just use cpu 0 (please verify with "cat/proc/cpuinfo"). If the problem disappears, it's most probably smp related.Another question: you didn't activate 802.11n. Is this correct?
Regards,
AndreasQuoted 5 lines · [email protected] schrieb:
Machine has "Intel Core i5-2500K" with 4 cores without Hyper-Threading.
Regards.
MichalRegards,
Andreas[1]
http://rt2x00.serialmonkey.com/pipermail/users_rt2x00.serialmonkey.com/2012-February/004556.html
Hello Michal,
Quoted 3 lines · [email protected] schrieb:
I tried maxcpus=0 and verified that really only one cpu core is used but didn't help (so not smp problem).
Thank you for examining! At least a smp related problem should be eliminated now!
Kind regards,
Andreas