Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 875255

Summary: iwlwifi: loosing connection from time to time
Product: Red Hat Enterprise Linux 7 Reporter: Matěj Cepl <mcepl>
Component: kernelAssignee: Stanislaw Gruszka <sgruszka>
Status: CLOSED WONTFIX QA Contact: Red Hat Kernel QE team <kernel-qe>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.1CC: mcepl, peterm, sgruszka, toracat
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-10-20 11:44:20 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
data from abrt
none
dmesg output
none
fix rate scaling
none
output of dmesg
none
output of journalctl none

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.