Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 643080 - sys-kernel/gentoo-sources-4.14.*: Crash after rfkill event
Summary: sys-kernel/gentoo-sources-4.14.*: Crash after rfkill event
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL:
Whiteboard: linux-4.16
Keywords:
Depends on:
Blocks:
 
Reported: 2018-01-02 08:51 UTC by d.rauber
Modified: 2018-06-30 14:57 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
/var/log/messages (messages,18.54 KB, text/plain)
2018-01-02 08:51 UTC, d.rauber
Details
lspci (lspci,2.57 KB, text/plain)
2018-01-02 08:52 UTC, d.rauber
Details
log for kernel 4.14.14 (bug_14,20.33 KB, text/plain)
2018-01-23 10:43 UTC, d.rauber
Details
dmesg (file_643080.txt,50.58 KB, text/plain)
2018-01-23 14:30 UTC, d.rauber
Details

Note You need to log in before you can comment on or make changes to this bug.
Description d.rauber 2018-01-02 08:51:45 UTC
Created attachment 512694 [details]
/var/log/messages

Hi,

my Dell Latitude E7450 crashes with gentoo 4.14 kernels (4.14.8-r1 and 4.14.7) directly after login. This happens only when the laptop is in the docking station. Same thing happens when I try to login first and put it in the docking station afterwards.

This seems to be caused by an rfkill event as the wifi is automatically disabled when putting it into the docking station.

No problems are observed as long as the docking station is not used.
Kernels up to 4.12.12 are working flawless.

Jan  2 09:10:24 etkbox systemd[1]: Started Load/Save RF Kill Switch Status.
Jan  2 09:10:24 etkbox kernel: Timeout waiting for hardware access (CSR_GP_CNTRL 0x000403d8)
Jan  2 09:10:24 etkbox kernel: ------------[ cut here ]------------
Jan  2 09:10:24 etkbox kernel: WARNING: CPU: 1 PID: 1433 at drivers/net/wireless/intel/iwlwifi/pcie/trans.c:1874 iwl_trans_pcie_grab_nic_access+0xda/0xe0 [iwlwifi]

Full log attached.
Comment 1 d.rauber 2018-01-02 08:52:52 UTC
Created attachment 512696 [details]
lspci
Comment 2 Alice Ferrazzi Gentoo Infrastructure gentoo-dev 2018-01-05 10:02:20 UTC
please move to a more recent kernel 
4.14.8-r1 and 4.14.7 have been masked
Comment 3 Alice Ferrazzi Gentoo Infrastructure gentoo-dev 2018-01-05 21:59:05 UTC
you could solve the problem by moving to a more recent kernel ?
Comment 4 d.rauber 2018-01-23 09:31:24 UTC
Hi,

sorry for the late reply, I've been on vacation for the last weeks. I'm currently back on kernel 4.12.12 which is working flawless for me.  

I'm gonna check again with a 4.14.14 kernel and will report if it works.
Comment 5 d.rauber 2018-01-23 10:41:54 UTC
Hi, Still not working with 4.14.14. Logfile attached.
Comment 6 d.rauber 2018-01-23 10:43:22 UTC
Created attachment 516038 [details]
log for kernel 4.14.14
Comment 7 Mike Pagano gentoo-dev 2018-01-23 13:21:42 UTC
Please post your entire dmesg. Can you also tell me what firmware version you are using?

Look for: Loaded firmware version: XXXX 

in dmesg
Comment 8 d.rauber 2018-01-23 14:30:16 UTC
Created attachment 516050 [details]
dmesg

dmesg attached. 

Firmware version:
[    2.523231] iwlwifi 0000:02:00.0: loaded firmware version 29.610311.0 op_mode iwlmvm
Comment 9 Mike Pagano gentoo-dev 2018-03-13 17:42:13 UTC
(In reply to d.rauber from comment #8)
> Created attachment 516050 [details]
> dmesg
> 
> dmesg attached. 
> 
> Firmware version:
> [    2.523231] iwlwifi 0000:02:00.0: loaded firmware version 29.610311.0
> op_mode iwlmvm

Do you have a dmesg with the crash?
Comment 10 Mike Pagano gentoo-dev 2018-03-13 17:42:43 UTC
(In reply to Mike Pagano from comment #9)
> (In reply to d.rauber from comment #8)
> > Created attachment 516050 [details]
> > dmesg
> > 
> > dmesg attached. 
> > 
> > Firmware version:
> > [    2.523231] iwlwifi 0000:02:00.0: loaded firmware version 29.610311.0
> > op_mode iwlmvm
> 
> Do you have a dmesg with the crash?

Nevermind, there's enough here
Comment 11 Mike Pagano gentoo-dev 2018-03-13 19:41:20 UTC
(In reply to Mike Pagano from comment #10)
> (In reply to Mike Pagano from comment #9)
> > (In reply to d.rauber from comment #8)
> > > Created attachment 516050 [details]
> > > dmesg
> > > 
> > > dmesg attached. 
> > > 
> > > Firmware version:
> > > [    2.523231] iwlwifi 0000:02:00.0: loaded firmware version 29.610311.0
> > > op_mode iwlmvm
> > 
> > Do you have a dmesg with the crash?
> 
> Nevermind, there's enough here

This looks like the fix:

https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git/commit/drivers/net/wireless/intel/iwlwifi/fw/file.h?id=2eabc84d2f8e4f36d3719eeb6a330e10c46c8da7

It's in 4.16, but I haven't tried to see if it can be applied cleanly to < 4.16
Comment 12 d.rauber 2018-03-14 11:56:44 UTC
To me it seems it's already fixed in 4.15 because I don't see this crash there anymore. Unfortunately, I'm running into another (unrelated) crash now when using the docking station:

https://bugzilla.redhat.com/show_bug.cgi?id=1549042
Comment 13 Mike Limansky 2018-06-15 10:56:40 UTC
> https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git/
> commit/drivers/net/wireless/intel/iwlwifi/fw/file.
> h?id=2eabc84d2f8e4f36d3719eeb6a330e10c46c8da7
> 
> It's in 4.16, but I haven't tried to see if it can be applied cleanly to <
> 4.16

It looks like it is already available in the latest 4.14.x
Comment 14 Mike Pagano gentoo-dev 2018-06-30 14:57:59 UTC
Original problem appears to be solved going by last comment.