Bug 1429135
Summary: | delayed crash in iwlwifi | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | N. R. Hayre <nrhayre> | ||||
Component: | kernel | Assignee: | Kernel Maintainer List <kernel-maint> | ||||
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | unspecified | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 25 | CC: | cz172638, dimitris.on.linux, extras-orphan, gansalmon, ichavero, itamar, jforbes, jonathan, kernel-maint, labbott, linuxwifi, linville, madhu.chinakonda, mchehab, than | ||||
Target Milestone: | --- | Keywords: | Reopened | ||||
Target Release: | --- | ||||||
Hardware: | x86_64 | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | kernel-4.9.13-201.fc25 kernel-4.10.9-100.fc24 kernel-4.10.9-200.fc25 | Doc Type: | If docs needed, set a value | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2017-04-14 22:19:03 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: |
|
Please disable IWLWIFI_PCIE_RTPM Is that a general recommendation across the board or just for testing? in general. It is disabled by default: config IWLWIFI_PCIE_RTPM bool "Enable runtime power management mode for PCIe devices" depends on IWLMVM && IWLWIFI_PCIE && PM && EXPERT default false help Say Y here to enable runtime power management for PCIe devices. If enabled, the device will go into low power mode when idle for a short period of time, allowing for improved power saving during runtime. Note that this feature requires a tight integration with the platform. It is not recommended to enable this feature without proper validation with the specific target platform. You really shouldn't enable that in a broad distro that will run on unknown platform. I also saw the dreaded: Mar 04 13:52:49 lepus kernel: WARNING: CPU: 3 PID: 231 at drivers/net/wireless/intel/iwlwifi/pcie/trans.c:1864 iwl_trans_pcie_grab_nic_access+0xeb/0xf0 [iwlwifi] Mar 04 13:52:49 lepus kernel: Timeout waiting for hardware access (CSR_GP_CNTRL 0xffffffff) Which is really a PCIe problem for which can't do much. But disabling RTPM is always a good thing to do. That option was off in Rawhide/f26 but was still on in F24/F25. I turned it off on those branches. It should show up in the next build (sometime this week I expect) Thank you all for the prompt attention to this. Indeed, after posting, I noted that crashes do not seem to happen on adapter power. RTPM was being modulated somewhere by a power-saving tool based on power source, as in: echo 'on' > '/sys/bus/pci/devices/0000:04:00.0/power/control'; I have since removed all such tools, and I'm watching and controlling this setting with PowerTOP. Is changing this setting equivalent to changing the kernel config param that Emmanuel mentions? This all stems from a quest for longer battery life. Regarding the statement that "... disabling RTPM is always a good thing to do," does that apply to all devices on PCI? Is there any power benefit to RTPM when it doesn't cause errors? I am unfamiliar with the ticket protocol here, but I would be fine with closing this, given the provided solution and the absence of further errors on my end. kernel-4.9.13-201.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2017-387ff46a66 kernel-4.9.13-101.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2017-2e1f3694b2 kernel-4.9.13-101.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-2e1f3694b2 kernel-4.9.13-201.fc25 has been pushed to the Fedora 25 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-387ff46a66 kernel-4.9.13-101.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report. kernel-4.9.13-201.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report. reopen the bug because this option is still enable in latest kernel-4.10.8-200.fc25.x86_64 Sorry, looks like this got missed in the rebase. It should be fixed in the 4.10.9 update when it pushes. kernel-4.10.9-200.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2017-3a9ec92dd6 kernel-4.10.9-100.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2017-502cf68d68 kernel-4.10.9-100.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-502cf68d68 kernel-4.10.9-200.fc25 has been pushed to the Fedora 25 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-3a9ec92dd6 kernel-4.10.9-100.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report. kernel-4.10.9-200.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report. |
Created attachment 1260001 [details] kernel messages from most recent boot, ending with iwlwifi crash. Description of problem: Wifi module crashes after some amount of time, usually less than a day, also seems to happen much faster for certain wireless routers. First message after failure is consistently: Mar 04 13:52:49 lepus kernel: iwlwifi 0000:04:00.0: Error sending STATISTICS_CMD: time out after 2000ms. Mar 04 13:52:49 lepus kernel: iwlwifi 0000:04:00.0: Timeout exiting D0i3 (As found in attached log.) Version-Release number of selected component (if applicable): Seems that the iwlwifi builds are sync'd with kernel releases, and this has been a problem since at least kernel 4.9.8 -- current (4.9.12). How reproducible: Normal boot, connect to any wifi, wait 0-24 hours. The kernel messages are pretty consistent, and the kernel log starting with the most recent boot is attached.