* connection interrupted for rt61pci in master mode
@ 2012-01-28 14:45 trencan
2012-01-29 20:34 ` Helmut Schaa
` (3 more replies)
0 siblings, 4 replies; 13+ messages in thread
From: trencan @ 2012-01-28 14:45 UTC (permalink / raw)
To: linux-wireless
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.
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: connection interrupted for rt61pci in master mode
2012-01-28 14:45 connection interrupted for rt61pci in master mode trencan
@ 2012-01-29 20:34 ` Helmut Schaa
[not found] ` <1385650.dcoDil3T5I@helmutmobil.site>
` (2 subsequent siblings)
3 siblings, 0 replies; 13+ messages in thread
From: Helmut Schaa @ 2012-01-29 20:34 UTC (permalink / raw)
To: trencan; +Cc: linux-wireless
Am Samstag, 28. Januar 2012, 15:45:44 schrieb trencan@centrum.cz:
> 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?
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
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: connection interrupted for rt61pci in master mode
[not found] ` <1385650.dcoDil3T5I@helmutmobil.site>
@ 2012-01-30 18:18 ` trencan
2012-01-31 7:49 ` Helmut Schaa
0 siblings, 1 reply; 13+ messages in thread
From: trencan @ 2012-01-30 18:18 UTC (permalink / raw)
To: Helmut Schaa; +Cc: linux-wireless
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
______________________________________________________________
> Od: "Helmut Schaa" <helmut.schaa@googlemail.com>
> Komu: <trencan@centrum.cz>
> Datum: 29.01.2012 21:15
> Předmět: Re: connection interrupted for rt61pci in master mode
>
> CC: linux-wireless@vger.kernel.org
>Am Samstag, 28. Januar 2012, 15:45:44 schrieb trencan@centrum.cz:
>> 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?
>
>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
>
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: connection interrupted for rt61pci in master mode
2012-01-30 18:18 ` trencan
@ 2012-01-31 7:49 ` Helmut Schaa
2012-01-31 20:21 ` trencan
0 siblings, 1 reply; 13+ messages in thread
From: Helmut Schaa @ 2012-01-31 7:49 UTC (permalink / raw)
To: trencan; +Cc: linux-wireless
On Mon, Jan 30, 2012 at 7:18 PM, <trencan@centrum.cz> 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_DEBUGFS
CONFIG_RT2X00_DEBUG
Helmut
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: connection interrupted for rt61pci in master mode
2012-01-31 7:49 ` Helmut Schaa
@ 2012-01-31 20:21 ` trencan
2012-02-01 8:00 ` Helmut Schaa
0 siblings, 1 reply; 13+ messages in thread
From: trencan @ 2012-01-31 20:21 UTC (permalink / raw)
To: Helmut Schaa; +Cc: linux-wireless
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
______________________________________________________________
> Od: "Helmut Schaa" <helmut.schaa@googlemail.com>
> Komu: <trencan@centrum.cz>
> Datum: 31.01.2012 08:49
> Předmět: Re: connection interrupted for rt61pci in master mode
>
> CC: linux-wireless@vger.kernel.org
>On Mon, Jan 30, 2012 at 7:18 PM, <trencan@centrum.cz> 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_DEBUGFS
>CONFIG_RT2X00_DEBUG
>
>Helmut
>
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: connection interrupted for rt61pci in master mode
2012-01-31 20:21 ` trencan
@ 2012-02-01 8:00 ` Helmut Schaa
2012-02-02 8:04 ` Helmut Schaa
0 siblings, 1 reply; 13+ messages in thread
From: Helmut Schaa @ 2012-02-01 8:00 UTC (permalink / raw)
To: trencan; +Cc: linux-wireless
On Tue, Jan 31, 2012 at 9:21 PM, <trencan@centrum.cz> 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
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: connection interrupted for rt61pci in master mode
2012-02-01 8:00 ` Helmut Schaa
@ 2012-02-02 8:04 ` Helmut Schaa
2012-02-06 19:18 ` trencan
0 siblings, 1 reply; 13+ messages in thread
From: Helmut Schaa @ 2012-02-02 8:04 UTC (permalink / raw)
To: trencan; +Cc: linux-wireless
On Wed, Feb 1, 2012 at 9:00 AM, Helmut Schaa
<helmut.schaa@googlemail.com> wrote:
> On Tue, Jan 31, 2012 at 9:21 PM, <trencan@centrum.cz> 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
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: connection interrupted for rt61pci in master mode
2012-02-02 8:04 ` Helmut Schaa
@ 2012-02-06 19:18 ` trencan
0 siblings, 0 replies; 13+ messages in thread
From: trencan @ 2012-02-06 19:18 UTC (permalink / raw)
To: Helmut Schaa; +Cc: linux-wireless
[-- Attachment #1: Type: text/plain, Size: 1000 bytes --]
Hello,
I send another queue file, is there seen root cause of connection interrupted?
Thanks.
Michal
______________________________________________________________
> Od: "Helmut Schaa" <helmut.schaa@googlemail.com>
> Komu: <trencan@centrum.cz>
> Datum: 02.02.2012 09:04
> Předmět: Re: connection interrupted for rt61pci in master mode
>
> CC: linux-wireless@vger.kernel.org
>On Wed, Feb 1, 2012 at 9:00 AM, Helmut Schaa
><helmut.schaa@googlemail.com> wrote:
>> On Tue, Jan 31, 2012 at 9:21 PM, <trencan@centrum.cz> 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
>
[-- Attachment #2: queue.log --]
[-- Type: text/plain, Size: 228 bytes --]
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
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: connection interrupted for rt61pci in master mode
2012-01-28 14:45 connection interrupted for rt61pci in master mode trencan
2012-01-29 20:34 ` Helmut Schaa
[not found] ` <1385650.dcoDil3T5I@helmutmobil.site>
@ 2012-02-07 5:56 ` Andreas Hartmann
[not found] ` <4F30BEED.4010905@01019freenet.de>
3 siblings, 0 replies; 13+ messages in thread
From: Andreas Hartmann @ 2012-02-07 5:56 UTC (permalink / raw)
To: trencan; +Cc: linux-wireless
trencan@centrum.cz 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
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: connection interrupted for rt61pci in master mode
[not found] ` <4F30BEED.4010905@01019freenet.de>
@ 2012-02-07 6:14 ` trencan
2012-02-07 7:34 ` Andreas Hartmann
0 siblings, 1 reply; 13+ messages in thread
From: trencan @ 2012-02-07 6:14 UTC (permalink / raw)
To: Andreas Hartmann; +Cc: linux-wireless
Machine has "Intel Core i5-2500K" with 4 cores without Hyper-Threading.
Regards.
Michal
______________________________________________________________
> Od: "Andreas Hartmann" <andihartmann@01019freenet.de>
> Komu: <trencan@centrum.cz>
> Datum: 07.02.2012 07:07
> Předmět: Re: connection interrupted for rt61pci in master mode
>
>trencan@centrum.cz 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
>
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: connection interrupted for rt61pci in master mode
2012-02-07 6:14 ` trencan
@ 2012-02-07 7:34 ` Andreas Hartmann
2012-02-07 20:48 ` trencan
0 siblings, 1 reply; 13+ messages in thread
From: Andreas Hartmann @ 2012-02-07 7:34 UTC (permalink / raw)
To: Helmut Schaa; +Cc: trencan, linux-wireless
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
trencan@centrum.cz 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
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: connection interrupted for rt61pci in master mode
2012-02-07 7:34 ` Andreas Hartmann
@ 2012-02-07 20:48 ` trencan
2012-02-08 6:57 ` Andreas Hartmann
0 siblings, 1 reply; 13+ messages in thread
From: trencan @ 2012-02-07 20:48 UTC (permalink / raw)
To: Andreas Hartmann, Helmut Schaa; +Cc: linux-wireless
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
______________________________________________________________
> Od: "Andreas Hartmann" <andihartmann@01019freenet.de>
> Komu: Helmut Schaa <helmut.schaa@googlemail.com>
> Datum: 07.02.2012 08:37
> Předmět: Re: connection interrupted for rt61pci in master mode
>
> CC: "linux-wireless" <linux-wireless@vger.kernel.org>
>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
>
>trencan@centrum.cz 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
>
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: connection interrupted for rt61pci in master mode
2012-02-07 20:48 ` trencan
@ 2012-02-08 6:57 ` Andreas Hartmann
0 siblings, 0 replies; 13+ messages in thread
From: Andreas Hartmann @ 2012-02-08 6:57 UTC (permalink / raw)
To: trencan; +Cc: Helmut Schaa, linux-wireless
Hello Michal,
trencan@centrum.cz 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
^ permalink raw reply [flat|nested] 13+ messages in thread
end of thread, other threads:[~2012-02-08 7:00 UTC | newest]
Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-01-28 14:45 connection interrupted for rt61pci in master mode trencan
2012-01-29 20:34 ` Helmut Schaa
[not found] ` <1385650.dcoDil3T5I@helmutmobil.site>
2012-01-30 18:18 ` trencan
2012-01-31 7:49 ` Helmut Schaa
2012-01-31 20:21 ` trencan
2012-02-01 8:00 ` Helmut Schaa
2012-02-02 8:04 ` Helmut Schaa
2012-02-06 19:18 ` trencan
2012-02-07 5:56 ` Andreas Hartmann
[not found] ` <4F30BEED.4010905@01019freenet.de>
2012-02-07 6:14 ` trencan
2012-02-07 7:34 ` Andreas Hartmann
2012-02-07 20:48 ` trencan
2012-02-08 6:57 ` Andreas Hartmann
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.