Bug 875255 - iwlwifi: loosing connection from time to time
Summary: iwlwifi: loosing connection from time to time
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: kernel
Version: 7.1
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Stanislaw Gruszka
QA Contact: Red Hat Kernel QE team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-11-09 22:48 UTC by Matěj Cepl
Modified: 2014-10-20 11:44 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-10-20 11:44:20 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
data from abrt (3.30 KB, text/plain)
2012-11-09 22:48 UTC, Matěj Cepl
no flags Details
dmesg output (70.76 KB, text/plain)
2012-11-15 14:44 UTC, Matěj Cepl
no flags Details
fix rate scaling (1.73 KB, patch)
2013-01-09 20:49 UTC, Emmanuel Grumbach
no flags Details | Diff
output of dmesg (101.47 KB, text/plain)
2013-11-20 16:42 UTC, Matěj Cepl
no flags Details
output of journalctl (60.41 KB, text/plain)
2013-11-20 16:43 UTC, Matěj Cepl
no flags Details

Description Matěj Cepl 2012-11-09 22:48:52 UTC
Created attachment 641873 [details]
data from abrt

Description of problem:
From time to time, while being connected to my home network, I loose the connection and I have to reboot to have working wifi again.

I was trying to collect the necessary logs with abrt, but it failed repeatedly. The only thing I was able to do with it was save the attached log.

Version-Release number of selected component (if applicable):
Linux wycliff.ceplovi.cz 3.6.0-0.28.el7.x86_64 #1 SMP Thu Oct 4 11:18:08 EDT 2012 x86_64 x86_64 x86_64 GNU/Linux

How reproducible:
from time to time (like once a week or something like that)

Comment 2 Stanislaw Gruszka 2012-11-14 14:26:14 UTC
Can we get full dmesg when this problem happen?

Comment 3 Emmanuel Grumbach 2012-11-15 06:33:36 UTC
I would need the full log and debug flag TX_QUEUES:
please add debug=0x80000000 as a module parameter when you load iwlwifi.

Comment 4 Matěj Cepl 2012-11-15 11:21:26 UTC
(In reply to comment #3)
> I would need the full log and debug flag TX_QUEUES:
> please add debug=0x80000000 as a module parameter when you load iwlwifi.

Ehm, how would I do that?

Otherwise, yes, when I know how I will start collecting the data, and let's see whether I catch some.

Comment 5 Emmanuel Grumbach 2012-11-15 11:22:57 UTC
modprobe -r iwlwifi
modprobe iwlwifi debug=0x80000000

Comment 6 Stanislaw Gruszka 2012-11-15 11:29:50 UTC
Not sure if debug option is enabled in production kernel variant for RHEL7, if not kernel-debug should be installed.

Also RHEL7 kernel does not include fixes from 3.6 -stable (i.e. fixes from 3.6.1 up to 3.6.6). Is possible that one of iwlwifi or mac80211 fixes from there address this issue too, Emmanuel ?

Comment 7 Emmanuel Grumbach 2012-11-15 11:34:46 UTC
I don't know...
We have a print there, it is probably a fw bug, but I need to get some prints to be sure...
I also need IWLWIFI_DEBUG.
BTW - this fw bug is handled in driver, but apparently, we still WARN_ON when it happens... Will have to check.

Comment 8 Matěj Cepl 2012-11-15 14:44:07 UTC
Created attachment 645693 [details]
dmesg output

(In reply to comment #5)
> modprobe -r iwlwifi
> modprobe iwlwifi debug=0x80000000

Even with

Linux dhcppc5 3.6.0-0.29.el7.x86_64.debug #1 SMP Fri Nov 9 10:10:40 EST 2012 x86_64 x86_64 x86_64 GNU/Linux

I get

[   17.841948] iwlwifi: Unknown parameter `debug'

in dmesg.

Comment 9 Matěj Cepl 2012-11-15 14:45:28 UTC
Well, no wonder:

dhcppc5:~# grep IWLWIFI /boot/config-3.6.0-0.29.el7.x86_64.debug
CONFIG_IWLWIFI=m
# CONFIG_IWLWIFI_DEBUG is not set
# CONFIG_IWLWIFI_DEVICE_TRACING is not set
# CONFIG_IWLWIFI_P2P is not set
# CONFIG_IWLWIFI_EXPERIMENTAL_MFP is not set
dhcppc5:~#

Comment 11 Stanislaw Gruszka 2012-11-20 12:22:03 UTC
I just provided debug kernel to Matěj, waiting for debug logs ...

Comment 12 Stanislaw Gruszka 2013-01-07 08:31:55 UTC
I opened bug 877409 - request for compile iwlwifi debug facilities, when that will be solved we can proceed here.

Comment 13 Emmanuel Grumbach 2013-01-09 20:49:20 UTC
Created attachment 675866 [details]
fix rate scaling

can you please report back with this patch applied?
Thanks

Comment 14 Emmanuel Grumbach 2013-03-04 10:20:44 UTC
ping?

Comment 15 Stanislaw Gruszka 2013-03-04 11:02:04 UTC
RHEL7 will update kernel to 3.8 or maybe 3.9 or even some newer. So it's not worth to test the patches now. Once RHEL7 kernel version will establish, we will see if bug is still there.

Emmanuel , for now please ignore RHEL7 bug reports.

Comment 16 Stanislaw Gruszka 2013-11-20 08:49:54 UTC
Matěj, is this bug still reproducible on newer RHEL7 kernel (i.e kernel-3.10.0-53.el7 or later) ?

Comment 17 Matěj Cepl 2013-11-20 16:42:54 UTC
Created attachment 826743 [details]
output of dmesg

(In reply to Stanislaw Gruszka from comment #16)
> Matěj, is this bug still reproducible on newer RHEL7 kernel (i.e
> kernel-3.10.0-53.el7 or later) ?

a) Nightly gives me kernel-3.10.0-52.el7.x86_64
b) see attached dmesg output and journalctl one.

Comment 18 Matěj Cepl 2013-11-20 16:43:29 UTC
Created attachment 826745 [details]
output of journalctl

Comment 19 Stanislaw Gruszka 2013-11-21 16:27:43 UTC
-52.el7 kernel is fine for testing.

I do not see any wireless problems in the logs. There are frequent DHCP renewals, but that is caused by small lease time parameter (600 seconds). I recommend you to increase that value in AP settings.

Comment 21 Stanislaw Gruszka 2013-12-17 12:46:05 UTC
Matěj, is this problem still reproducible as described in comment 0 i.e. "From time to time, while being connected to my home network, I loose the connection and I have to reboot to have working wifi again" ?

On log you provided in comment 18, there are only frequent DHCP renewals, but there is no sign of connection lost ...

Comment 22 Matěj Cepl 2013-12-18 13:47:25 UTC
(In reply to Stanislaw Gruszka from comment #21)
> Matěj, is this problem still reproducible as described in comment 0 i.e.
> "From time to time, while being connected to my home network, I loose the
> connection and I have to reboot to have working wifi again" ?
> 
> On log you provided in comment 18, there are only frequent DHCP renewals,
> but there is no sign of connection lost ...

I am still loosing connection, but now it is usually sufficient to restart NetworkManager.service.

Comment 23 Stanislaw Gruszka 2014-01-07 10:24:36 UTC
I do not see any bad symptoms on updated logs, at least not on kernel/drivers side. Perhaps this bug should reassigned to NetworkManager ...

Comment 25 Emmanuel Grumbach 2014-10-20 06:34:59 UTC
Removing Intel as there is no evidence that there is a driver bug.

Comment 26 Stanislaw Gruszka 2014-10-20 11:44:20 UTC
I do not see possibly to fix this bug , sorry.


Note You need to log in before you can comment on or make changes to this bug.