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.
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_DEBUGFS
CONFIG_RT2X00_DEBUG
Helmut
Am Samstag, 28. Januar 2012, 15:45:44 schrieb [email protected]:
> 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
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" <[email protected]>
> Komu: <[email protected]>
> Datum: 31.01.2012 08:49
> Předmět: Re: connection interrupted for rt61pci in master mode
>
> CC: [email protected]
>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_DEBUGFS
>CONFIG_RT2X00_DEBUG
>
>Helmut
>
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" <[email protected]>
> Komu: <[email protected]>
> Datum: 29.01.2012 21:15
> Předmět: Re: connection interrupted for rt61pci in master mode
>
> CC: [email protected]
>Am Samstag, 28. Januar 2012, 15:45:44 schrieb [email protected]:
>> 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
>
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" <[email protected]>
> Komu: Helmut Schaa <[email protected]>
> Datum: 07.02.2012 08:37
> Předmět: Re: connection interrupted for rt61pci in master mode
>
> CC: "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,
>Andreas
>
>[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
>
[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
[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
Hello Michal,
[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
Machine has "Intel Core i5-2500K" with 4 cores without Hyper-Threading.
Regards.
Michal
______________________________________________________________
> Od: "Andreas Hartmann" <[email protected]>
> Komu: <[email protected]>
> Datum: 07.02.2012 07:07
> Předmět: Re: connection interrupted for rt61pci in master mode
>
>[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
>
On Wed, Feb 1, 2012 at 9:00 AM, Helmut Schaa
<[email protected]> wrote:
> 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
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
Hello,
I send another queue file, is there seen root cause of connection interrupted?
Thanks.
Michal
______________________________________________________________
> Od: "Helmut Schaa" <[email protected]>
> Komu: <[email protected]>
> Datum: 02.02.2012 09:04
> Předmět: Re: connection interrupted for rt61pci in master mode
>
> CC: [email protected]
>On Wed, Feb 1, 2012 at 9:00 AM, Helmut Schaa
><[email protected]> wrote:
>> 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
>