Re: 4.3 kernel panics when MMC/SDHC card is inserted on thinkpad

2016-12-05 Thread David F
On 12/05/2016 04:20 AM, Joerg Roedel wrote:
> Hi David,
> 
> On Sun, Dec 04, 2016 at 06:57:57PM -0600, David F wrote:
>> Aug 19 13:32:20 taz [  156.425627] [ cut here ]
>> Aug 19 13:32:20 taz [  156.428136] kernel BUG at
>> drivers/iommu/intel-iommu.c:3682!
> 
> This BUG_ON triggered because the IOMMU driver can't find a domain for
> the device passed to intel_unmap. This looks like an IOMMU bug, but I am
> not 100% sure yet, because if there is no domain for a device the
> intel_map_page path returns 0 and the intel_unmap function should not be
> called.
> 
> I need a couple of things to track this down. Can you please build a
> kernel with CONFIG_DMA_API_DEBUG=y and boot the kernel with IOMMU
> disabled? Insert and remove an SD-Card with this kernel and send me a
> full dmesg.
> 
> Please also send me the output of 'lspci -v' and a full dmesg with IOMMU
> enabled and the BUG triggered.
> 
> 
> Thanks,
> 
>   Joerg
> 

Hello Joerg,

Thanks for looking at this.

I have attached the output you requested.

I did enable the DMA_API_DEBUG, but I did not notice any additional
output anywhere with this debug enabled. I verified it was enabled
looking at /proc/config.gz. My apologies if I missed something, but
hopefully the output is what you need.


Thanks,
David

# lspci -v

00:00.0 Host bridge: Intel Corporation 2nd Generation Core Processor Family 
DRAM Controller (rev 09)
Subsystem: Lenovo Device 21ce
Flags: bus master, fast devsel, latency 0
Capabilities: [e0] Vendor Specific Information: Len=0c 

00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core 
Processor Family Integrated Graphics Controller (rev 09) (prog-if 00 [VGA 
controller])
Subsystem: Lenovo Device 21ce
Flags: bus master, fast devsel, latency 0, IRQ 24
Memory at f000 (64-bit, non-prefetchable) [size=4M]
Memory at e000 (64-bit, prefetchable) [size=256M]
I/O ports at 5000 [size=64]
[virtual] Expansion ROM at 000c [disabled] [size=128K]
Capabilities: [90] MSI: Enable+ Count=1/1 Maskable- 64bit-
Capabilities: [d0] Power Management version 2
Capabilities: [a4] PCI Advanced Features
Kernel driver in use: i915

00:16.0 Communication controller: Intel Corporation 6 Series/C200 Series 
Chipset Family MEI Controller #1 (rev 04)
Subsystem: Lenovo Device 21ce
Flags: bus master, fast devsel, latency 0, IRQ 11
Memory at f2525000 (64-bit, non-prefetchable) [size=16]
Capabilities: [50] Power Management version 3
Capabilities: [8c] MSI: Enable- Count=1/1 Maskable- 64bit+

00:19.0 Ethernet controller: Intel Corporation 82579LM Gigabit Network 
Connection (rev 04)
Subsystem: Lenovo Device 21ce
Flags: bus master, fast devsel, latency 0, IRQ 26
Memory at f250 (32-bit, non-prefetchable) [size=128K]
Memory at f252b000 (32-bit, non-prefetchable) [size=4K]
I/O ports at 5080 [size=32]
Capabilities: [c8] Power Management version 2
Capabilities: [d0] MSI: Enable+ Count=1/1 Maskable- 64bit+
Capabilities: [e0] PCI Advanced Features
Kernel driver in use: e1000e

00:1a.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family 
USB Enhanced Host Controller #2 (rev 04) (prog-if 20 [EHCI])
Subsystem: Lenovo Device 21ce
Flags: bus master, medium devsel, latency 0, IRQ 16
Memory at f252a000 (32-bit, non-prefetchable) [size=1K]
Capabilities: [50] Power Management version 2
Capabilities: [58] Debug port: BAR=1 offset=00a0
Capabilities: [98] PCI Advanced Features
Kernel driver in use: ehci-pci

00:1b.0 Audio device: Intel Corporation 6 Series/C200 Series Chipset Family 
High Definition Audio Controller (rev 04)
Subsystem: Lenovo Device 21ce
Flags: bus master, fast devsel, latency 0, IRQ 27
Memory at f252 (64-bit, non-prefetchable) [size=16K]
Capabilities: [50] Power Management version 2
Capabilities: [60] MSI: Enable+ Count=1/1 Maskable- 64bit+
Capabilities: [70] Express Root Complex Integrated Endpoint, MSI 00
Capabilities: [100] Virtual Channel
Capabilities: [130] Root Complex Link
Kernel driver in use: snd_hda_intel

00:1c.0 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI 
Express Root Port 1 (rev b4) (prog-if 00 [Normal decode])
Flags: fast devsel
Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
I/O behind bridge: 2000-2fff
Memory behind bridge: dfa0-dfbf
Prefetchable memory behind bridge: dfc0-dfdf
Capabilities: [40] Express Root Port (Slot+), MSI 00
Capabilities: [80] MSI: Enable- Count=1/1 Maskable- 64bit-
Capabilities: [90] Subsystem: Lenovo Device 21ce
Capabilities: [a0] Power Management version 2
Kernel 

Re: 4.3 kernel panics when MMC/SDHC card is inserted on thinkpad

2016-12-05 Thread David F
On 12/05/2016 04:20 AM, Joerg Roedel wrote:
> Hi David,
> 
> On Sun, Dec 04, 2016 at 06:57:57PM -0600, David F wrote:
>> Aug 19 13:32:20 taz [  156.425627] [ cut here ]
>> Aug 19 13:32:20 taz [  156.428136] kernel BUG at
>> drivers/iommu/intel-iommu.c:3682!
> 
> This BUG_ON triggered because the IOMMU driver can't find a domain for
> the device passed to intel_unmap. This looks like an IOMMU bug, but I am
> not 100% sure yet, because if there is no domain for a device the
> intel_map_page path returns 0 and the intel_unmap function should not be
> called.
> 
> I need a couple of things to track this down. Can you please build a
> kernel with CONFIG_DMA_API_DEBUG=y and boot the kernel with IOMMU
> disabled? Insert and remove an SD-Card with this kernel and send me a
> full dmesg.
> 
> Please also send me the output of 'lspci -v' and a full dmesg with IOMMU
> enabled and the BUG triggered.
> 
> 
> Thanks,
> 
>   Joerg
> 

Hello Joerg,

Thanks for looking at this.

I have attached the output you requested.

I did enable the DMA_API_DEBUG, but I did not notice any additional
output anywhere with this debug enabled. I verified it was enabled
looking at /proc/config.gz. My apologies if I missed something, but
hopefully the output is what you need.


Thanks,
David

# lspci -v

00:00.0 Host bridge: Intel Corporation 2nd Generation Core Processor Family 
DRAM Controller (rev 09)
Subsystem: Lenovo Device 21ce
Flags: bus master, fast devsel, latency 0
Capabilities: [e0] Vendor Specific Information: Len=0c 

00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core 
Processor Family Integrated Graphics Controller (rev 09) (prog-if 00 [VGA 
controller])
Subsystem: Lenovo Device 21ce
Flags: bus master, fast devsel, latency 0, IRQ 24
Memory at f000 (64-bit, non-prefetchable) [size=4M]
Memory at e000 (64-bit, prefetchable) [size=256M]
I/O ports at 5000 [size=64]
[virtual] Expansion ROM at 000c [disabled] [size=128K]
Capabilities: [90] MSI: Enable+ Count=1/1 Maskable- 64bit-
Capabilities: [d0] Power Management version 2
Capabilities: [a4] PCI Advanced Features
Kernel driver in use: i915

00:16.0 Communication controller: Intel Corporation 6 Series/C200 Series 
Chipset Family MEI Controller #1 (rev 04)
Subsystem: Lenovo Device 21ce
Flags: bus master, fast devsel, latency 0, IRQ 11
Memory at f2525000 (64-bit, non-prefetchable) [size=16]
Capabilities: [50] Power Management version 3
Capabilities: [8c] MSI: Enable- Count=1/1 Maskable- 64bit+

00:19.0 Ethernet controller: Intel Corporation 82579LM Gigabit Network 
Connection (rev 04)
Subsystem: Lenovo Device 21ce
Flags: bus master, fast devsel, latency 0, IRQ 26
Memory at f250 (32-bit, non-prefetchable) [size=128K]
Memory at f252b000 (32-bit, non-prefetchable) [size=4K]
I/O ports at 5080 [size=32]
Capabilities: [c8] Power Management version 2
Capabilities: [d0] MSI: Enable+ Count=1/1 Maskable- 64bit+
Capabilities: [e0] PCI Advanced Features
Kernel driver in use: e1000e

00:1a.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family 
USB Enhanced Host Controller #2 (rev 04) (prog-if 20 [EHCI])
Subsystem: Lenovo Device 21ce
Flags: bus master, medium devsel, latency 0, IRQ 16
Memory at f252a000 (32-bit, non-prefetchable) [size=1K]
Capabilities: [50] Power Management version 2
Capabilities: [58] Debug port: BAR=1 offset=00a0
Capabilities: [98] PCI Advanced Features
Kernel driver in use: ehci-pci

00:1b.0 Audio device: Intel Corporation 6 Series/C200 Series Chipset Family 
High Definition Audio Controller (rev 04)
Subsystem: Lenovo Device 21ce
Flags: bus master, fast devsel, latency 0, IRQ 27
Memory at f252 (64-bit, non-prefetchable) [size=16K]
Capabilities: [50] Power Management version 2
Capabilities: [60] MSI: Enable+ Count=1/1 Maskable- 64bit+
Capabilities: [70] Express Root Complex Integrated Endpoint, MSI 00
Capabilities: [100] Virtual Channel
Capabilities: [130] Root Complex Link
Kernel driver in use: snd_hda_intel

00:1c.0 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI 
Express Root Port 1 (rev b4) (prog-if 00 [Normal decode])
Flags: fast devsel
Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
I/O behind bridge: 2000-2fff
Memory behind bridge: dfa0-dfbf
Prefetchable memory behind bridge: dfc0-dfdf
Capabilities: [40] Express Root Port (Slot+), MSI 00
Capabilities: [80] MSI: Enable- Count=1/1 Maskable- 64bit-
Capabilities: [90] Subsystem: Lenovo Device 21ce
Capabilities: [a0] Power Management version 2
Kernel 

Re: 4.3 kernel panics when MMC/SDHC card is inserted on thinkpad

2016-12-05 Thread Joerg Roedel
Hi David,

On Sun, Dec 04, 2016 at 06:57:57PM -0600, David F wrote:
> Aug 19 13:32:20 taz [  156.425627] [ cut here ]
> Aug 19 13:32:20 taz [  156.428136] kernel BUG at
> drivers/iommu/intel-iommu.c:3682!

This BUG_ON triggered because the IOMMU driver can't find a domain for
the device passed to intel_unmap. This looks like an IOMMU bug, but I am
not 100% sure yet, because if there is no domain for a device the
intel_map_page path returns 0 and the intel_unmap function should not be
called.

I need a couple of things to track this down. Can you please build a
kernel with CONFIG_DMA_API_DEBUG=y and boot the kernel with IOMMU
disabled? Insert and remove an SD-Card with this kernel and send me a
full dmesg.

Please also send me the output of 'lspci -v' and a full dmesg with IOMMU
enabled and the BUG triggered.


Thanks,

Joerg



Re: 4.3 kernel panics when MMC/SDHC card is inserted on thinkpad

2016-12-05 Thread Joerg Roedel
Hi David,

On Sun, Dec 04, 2016 at 06:57:57PM -0600, David F wrote:
> Aug 19 13:32:20 taz [  156.425627] [ cut here ]
> Aug 19 13:32:20 taz [  156.428136] kernel BUG at
> drivers/iommu/intel-iommu.c:3682!

This BUG_ON triggered because the IOMMU driver can't find a domain for
the device passed to intel_unmap. This looks like an IOMMU bug, but I am
not 100% sure yet, because if there is no domain for a device the
intel_map_page path returns 0 and the intel_unmap function should not be
called.

I need a couple of things to track this down. Can you please build a
kernel with CONFIG_DMA_API_DEBUG=y and boot the kernel with IOMMU
disabled? Insert and remove an SD-Card with this kernel and send me a
full dmesg.

Please also send me the output of 'lspci -v' and a full dmesg with IOMMU
enabled and the BUG triggered.


Thanks,

Joerg



Re: 4.3 kernel panics when MMC/SDHC card is inserted on thinkpad

2016-12-04 Thread David F
On 16/12/15 09:50, Adrian Hunter wrote:
> 
> 
> On 15/12/15 18:01, Ulf Hansson wrote:
>> +Adrian
>>
>> On 8 November 2015 at 23:05, Denis Bychkov  wrote:
>>> The only started in 4.3 kernel (at least RC-5), 4.2.x does not have
>>> this problem. The kernel panic happens immediately after the SDHC card
>>> is inserted, reproducibility is 100%. If the system boots up with the
>>> card already inserted, it will crash as soon as sdhci_pci module is
>>> loaded. If the module is unloaded/blacklisted, obviously, nothing
>>> happens as the system does not see the MMC card reader.
>>> The machine is Lenovo thinkpad T-510 laptop with Intel Westmere
>>> CPU/3400 series chipset running 64-bit kernel 4.3.0.
>>>
>>
>> Hi Denis,
>>
>> Thanks for reporting and sorry for the delay!
>>
>> Unfortunate, this isn't really my area of expertise and I don't have
>> the HW. In other words, I don't think I will be able to help much.
>>
>> Instead, I am looping in Adrian Hunter, who might be able to have a
>> look at this.
> 
> Have you tried bisecting to find the commit that causes this?
> 

Hello,

I have been experiencing the same panics when inserting SDHC cards.

My environment differs from Denis in the following way:
-Thinkpad T420 with i5-2520M

Apart from that, identical symptoms. Issue still present in 4.9-rc7.

I note that if you disable Intel VT-D in the BIOS, this issue does not
occur.

I ran the requested git bisect today between 4.2 and 4.3-rc1 and it
narrowed down to the following commit:

# git bisect bad
f303e50766298feac17c8715e29ecd14b2c12680 is the first bad commit
commit f303e50766298feac17c8715e29ecd14b2c12680
Author: Joerg Roedel 
Date:   Thu Jul 23 18:37:13 2015 +0200

iommu/vt-d: Avoid duplicate device_domain_info structures

When a 'struct device_domain_info' is created as an alias
for another device, this struct will not be re-used when the
real device is encountered. Fix that to avoid duplicate
device_domain_info structures being added.

Signed-off-by: Joerg Roedel 

:04 04 8f5a7521ef1cdbd8e82b625c5348a1210fe1bf5d
5d2a156956e5cadc9ab35c48b661bbd5fe9d5587 M  drivers


Below is my oops, I apologize if netconsole has formatted it badly:

Aug 19 13:32:20 taz [  156.425627] [ cut here ]
Aug 19 13:32:20 taz [  156.428136] kernel BUG at
drivers/iommu/intel-iommu.c:3682!
Aug 19 13:32:20 taz [  156.430630] invalid opcode:  [#1] PREEMPT SMP
Aug 19 13:32:20 taz [  156.433138] Modules linked in:
Aug 19 13:32:20 taz nf_nat_sip
Aug 19 13:32:20 taz nf_conntrack_sip
Aug 19 13:32:20 taz ebtable_filter
Aug 19 13:32:20 taz ebtables
Aug 19 13:32:20 taz uvcvideo
Aug 19 13:32:20 taz videobuf2_vmalloc
Aug 19 13:32:20 taz videobuf2_memops
Aug 19 13:32:20 taz videobuf2_v4l2
Aug 19 13:32:20 taz videobuf2_core
Aug 19 13:32:20 taz iwldvm
Aug 19 13:32:20 taz mac80211
Aug 19 13:32:20 taz iwlwifi
Aug 19 13:32:20 taz
Aug 19 13:32:20 taz [  156.435979] CPU: 0 PID: 0 Comm: swapper/0 Not
tainted 4.7.0-c2h2 #2
Aug 19 13:32:20 taz [  156.438694] Hardware name: LENOVO
4236AR1/4236AR1, BIOS 83ET78WW (1.48 ) 01/21/2016
Aug 19 13:32:20 taz [  156.441423] task: 8260e540 ti:
8260 task.ti: 8260
Aug 19 13:32:20 taz [  156.444155] RIP: 0010:[]
Aug 19 13:32:20 taz [] intel_unmap+0x1f3/0x200
Aug 19 13:32:20 taz [  156.446949] RSP: 0018:88041e203e38  EFLAGS:
00010046
Aug 19 13:32:20 taz [  156.449706] RAX:  RBX:
88040b8fc0a0 RCX: 0a98
Aug 19 13:32:20 taz [  156.452535] RDX:  RSI:
fffec000 RDI: 88040b8fc0a0
Aug 19 13:32:20 taz [  156.455411] RBP: 88041e203e68 R08:
 R09: 0010
Aug 19 13:32:20 taz [  156.458276] R10: 57b750b4 R11:
003b9aca R12: 0001
Aug 19 13:32:20 taz [  156.461125] R13: fffec000 R14:
fffec000 R15: 1000
Aug 19 13:32:20 taz [  156.464001] FS:  ()
GS:88041e20() knlGS:
Aug 19 13:32:20 taz [  156.466936] CS:  0010 DS:  ES:  CR0:
80050033
Aug 19 13:32:20 taz [  156.469913] CR2: 7f02dde4a000 CR3:
02607000 CR4: 000406f0
Aug 19 13:32:20 taz [  156.472917] Stack:
Aug 19 13:32:20 taz [  156.475883]  8800da7308a0
Aug 19 13:32:20 taz 1000
Aug 19 13:32:20 taz 0001
Aug 19 13:32:20 taz 88040b8fc0a0
Aug 19 13:32:20 taz
Aug 19 13:32:20 taz [  156.478991]  fffec000
Aug 19 13:32:20 taz 0001
Aug 19 13:32:20 taz 88041e203ea0
Aug 19 13:32:20 taz 816acb5e
Aug 19 13:32:20 taz
Aug 19 13:32:20 taz [  156.482132]  8800da730540
Aug 19 13:32:20 taz 88040bdf7cc8
Aug 19 13:32:20 taz 8800da730788
Aug 19 13:32:20 taz 0247
Aug 19 13:32:20 taz
Aug 19 13:32:20 taz [  156.485338] Call Trace:
Aug 19 13:32:20 taz [  156.488574]  
Aug 19 13:32:20 taz 156.488574]   ace:
30540a000 CR3: 02607000 CR4: 

Re: 4.3 kernel panics when MMC/SDHC card is inserted on thinkpad

2016-12-04 Thread David F
On 16/12/15 09:50, Adrian Hunter wrote:
> 
> 
> On 15/12/15 18:01, Ulf Hansson wrote:
>> +Adrian
>>
>> On 8 November 2015 at 23:05, Denis Bychkov  wrote:
>>> The only started in 4.3 kernel (at least RC-5), 4.2.x does not have
>>> this problem. The kernel panic happens immediately after the SDHC card
>>> is inserted, reproducibility is 100%. If the system boots up with the
>>> card already inserted, it will crash as soon as sdhci_pci module is
>>> loaded. If the module is unloaded/blacklisted, obviously, nothing
>>> happens as the system does not see the MMC card reader.
>>> The machine is Lenovo thinkpad T-510 laptop with Intel Westmere
>>> CPU/3400 series chipset running 64-bit kernel 4.3.0.
>>>
>>
>> Hi Denis,
>>
>> Thanks for reporting and sorry for the delay!
>>
>> Unfortunate, this isn't really my area of expertise and I don't have
>> the HW. In other words, I don't think I will be able to help much.
>>
>> Instead, I am looping in Adrian Hunter, who might be able to have a
>> look at this.
> 
> Have you tried bisecting to find the commit that causes this?
> 

Hello,

I have been experiencing the same panics when inserting SDHC cards.

My environment differs from Denis in the following way:
-Thinkpad T420 with i5-2520M

Apart from that, identical symptoms. Issue still present in 4.9-rc7.

I note that if you disable Intel VT-D in the BIOS, this issue does not
occur.

I ran the requested git bisect today between 4.2 and 4.3-rc1 and it
narrowed down to the following commit:

# git bisect bad
f303e50766298feac17c8715e29ecd14b2c12680 is the first bad commit
commit f303e50766298feac17c8715e29ecd14b2c12680
Author: Joerg Roedel 
Date:   Thu Jul 23 18:37:13 2015 +0200

iommu/vt-d: Avoid duplicate device_domain_info structures

When a 'struct device_domain_info' is created as an alias
for another device, this struct will not be re-used when the
real device is encountered. Fix that to avoid duplicate
device_domain_info structures being added.

Signed-off-by: Joerg Roedel 

:04 04 8f5a7521ef1cdbd8e82b625c5348a1210fe1bf5d
5d2a156956e5cadc9ab35c48b661bbd5fe9d5587 M  drivers


Below is my oops, I apologize if netconsole has formatted it badly:

Aug 19 13:32:20 taz [  156.425627] [ cut here ]
Aug 19 13:32:20 taz [  156.428136] kernel BUG at
drivers/iommu/intel-iommu.c:3682!
Aug 19 13:32:20 taz [  156.430630] invalid opcode:  [#1] PREEMPT SMP
Aug 19 13:32:20 taz [  156.433138] Modules linked in:
Aug 19 13:32:20 taz nf_nat_sip
Aug 19 13:32:20 taz nf_conntrack_sip
Aug 19 13:32:20 taz ebtable_filter
Aug 19 13:32:20 taz ebtables
Aug 19 13:32:20 taz uvcvideo
Aug 19 13:32:20 taz videobuf2_vmalloc
Aug 19 13:32:20 taz videobuf2_memops
Aug 19 13:32:20 taz videobuf2_v4l2
Aug 19 13:32:20 taz videobuf2_core
Aug 19 13:32:20 taz iwldvm
Aug 19 13:32:20 taz mac80211
Aug 19 13:32:20 taz iwlwifi
Aug 19 13:32:20 taz
Aug 19 13:32:20 taz [  156.435979] CPU: 0 PID: 0 Comm: swapper/0 Not
tainted 4.7.0-c2h2 #2
Aug 19 13:32:20 taz [  156.438694] Hardware name: LENOVO
4236AR1/4236AR1, BIOS 83ET78WW (1.48 ) 01/21/2016
Aug 19 13:32:20 taz [  156.441423] task: 8260e540 ti:
8260 task.ti: 8260
Aug 19 13:32:20 taz [  156.444155] RIP: 0010:[]
Aug 19 13:32:20 taz [] intel_unmap+0x1f3/0x200
Aug 19 13:32:20 taz [  156.446949] RSP: 0018:88041e203e38  EFLAGS:
00010046
Aug 19 13:32:20 taz [  156.449706] RAX:  RBX:
88040b8fc0a0 RCX: 0a98
Aug 19 13:32:20 taz [  156.452535] RDX:  RSI:
fffec000 RDI: 88040b8fc0a0
Aug 19 13:32:20 taz [  156.455411] RBP: 88041e203e68 R08:
 R09: 0010
Aug 19 13:32:20 taz [  156.458276] R10: 57b750b4 R11:
003b9aca R12: 0001
Aug 19 13:32:20 taz [  156.461125] R13: fffec000 R14:
fffec000 R15: 1000
Aug 19 13:32:20 taz [  156.464001] FS:  ()
GS:88041e20() knlGS:
Aug 19 13:32:20 taz [  156.466936] CS:  0010 DS:  ES:  CR0:
80050033
Aug 19 13:32:20 taz [  156.469913] CR2: 7f02dde4a000 CR3:
02607000 CR4: 000406f0
Aug 19 13:32:20 taz [  156.472917] Stack:
Aug 19 13:32:20 taz [  156.475883]  8800da7308a0
Aug 19 13:32:20 taz 1000
Aug 19 13:32:20 taz 0001
Aug 19 13:32:20 taz 88040b8fc0a0
Aug 19 13:32:20 taz
Aug 19 13:32:20 taz [  156.478991]  fffec000
Aug 19 13:32:20 taz 0001
Aug 19 13:32:20 taz 88041e203ea0
Aug 19 13:32:20 taz 816acb5e
Aug 19 13:32:20 taz
Aug 19 13:32:20 taz [  156.482132]  8800da730540
Aug 19 13:32:20 taz 88040bdf7cc8
Aug 19 13:32:20 taz 8800da730788
Aug 19 13:32:20 taz 0247
Aug 19 13:32:20 taz
Aug 19 13:32:20 taz [  156.485338] Call Trace:
Aug 19 13:32:20 taz [  156.488574]  
Aug 19 13:32:20 taz 156.488574]   ace:
30540a000 CR3: 02607000 CR4: 000406f0
Aug 19 13:32:20 taz [  156.488613]  []

Re: 4.3 kernel panics when MMC/SDHC card is inserted on thinkpad

2015-12-15 Thread Adrian Hunter
On 15/12/15 18:01, Ulf Hansson wrote:
> +Adrian
> 
> On 8 November 2015 at 23:05, Denis Bychkov  wrote:
>> The only started in 4.3 kernel (at least RC-5), 4.2.x does not have
>> this problem. The kernel panic happens immediately after the SDHC card
>> is inserted, reproducibility is 100%. If the system boots up with the
>> card already inserted, it will crash as soon as sdhci_pci module is
>> loaded. If the module is unloaded/blacklisted, obviously, nothing
>> happens as the system does not see the MMC card reader.
>> The machine is Lenovo thinkpad T-510 laptop with Intel Westmere
>> CPU/3400 series chipset running 64-bit kernel 4.3.0.
>>
>> (somewhat) relevant kernel configuration bits:
>> # CONFIG_CALGARY_IOMMU is not set
>> CONFIG_IOMMU_HELPER=y
>> CONFIG_VFIO_IOMMU_TYPE1=m
>> CONFIG_IOMMU_API=y
>> CONFIG_IOMMU_SUPPORT=y
>> # Generic IOMMU Pagetable Support
>> CONFIG_IOMMU_IOVA=y
>> # CONFIG_AMD_IOMMU is not set
>> CONFIG_INTEL_IOMMU=y
>> CONFIG_INTEL_IOMMU_DEFAULT_ON=y
>> CONFIG_INTEL_IOMMU_FLOPPY_WA=y
>> # CONFIG_IOMMU_STRESS is not set
>> CONFIG_KVM_INTEL=m
>> CONFIG_PCI_MMCONFIG=y
>> # Supported MMC/SDIO adapters
>> CONFIG_MMC=m
>> # CONFIG_MMC_DEBUG is not set
>> # CONFIG_MMC_CLKGATE is not set
>> # MMC/SD/SDIO Card Drivers
>> CONFIG_MMC_BLOCK=m
>> CONFIG_MMC_BLOCK_MINORS=8
>> CONFIG_MMC_BLOCK_BOUNCE=y
>> CONFIG_MMC_TEST=m
>> # MMC/SD/SDIO Host Controller Drivers
>> CONFIG_MMC_SDHCI=m
>> CONFIG_MMC_SDHCI_PCI=m
>> CONFIG_MMC_RICOH_MMC=y
>> CONFIG_MMC_SDHCI_ACPI=m
>>
>> Card reader device:
>> 0d:00.0 SD Host controller: Ricoh Co Ltd MMC/SD Host Controller (rev 01)
>> Subsystem: Lenovo MMC/SD Host Controller
>> Flags: bus master, fast devsel, latency 0, IRQ 16
>> Memory at f210 (32-bit, non-prefetchable) [size=256]
>> Capabilities: [50] MSI: Enable- Count=1/1 Maskable- 64bit+
>> Capabilities: [78] Power Management version 3
>> Capabilities: [80] Express Endpoint, MSI 00
>> Capabilities: [100] Virtual Channel
>> Capabilities: [800] Advanced Error Reporting
>> Kernel driver in use: sdhci-pci
>> Kernel modules: sdhci_pci
>>
>> The panic report caught via netconsole:
>>
>> [22946.904308] [ cut here ]
>> [22946.906564] kernel BUG at drivers/iommu/intel-iommu.c:3485!
>> [22946.908801] invalid opcode:  [#1] PREEMPT SMP
>> [22946.93] Modules linked in: netconsole dm_mod bnep
>> cpufreq_powersave cpufreq_stats cpufreq_conservative cpufreq_userspace
>> coretemp intel_powerclamp kvm_intel kvm crct10dif_pclmul crc32_pclmul
>> jitterentropy_rng hmac sha256_ssse3 sha256_generic drbg
>> snd_hda_codec_hdmi ansi_cprng gpio_ich iTCO_wdt iTCO_vendor_support
>> aesni_intel arc4 aes_x86_64 nouveau mxm_wmi lrw gf128mul glue_helper
>> ablk_helper iwldvm cryptd psmouse mac80211 uvcvideo serio_raw pcspkr
>> nd_e820 videobuf2_vmalloc ttm evdev videobuf2_memops i2c_algo_bit
>> mousedev btusb videobuf2_core btrtl drm_kms_helper v4l2_common mac_hid
>> btbcm videodev btintel drm snd_hda_codec_conexant bluetooth
>> snd_hda_codec_generic iwlwifi syscopyarea sysfillrect sysimgblt
>> fb_sys_fops snd_hda_intel snd_hda_codec cfg80211 snd_hda_core
>> snd_hwdep i2c_i801 thinkpad_acpi lpc_ich snd_pcm sg mfd_core nvram
>> i2c_core snd_timer intel_ips rfkill hwmon snd mei_me soundcore
>> intel_agp mei tpm_tis intel_gtt shpchp tpm agpgart battery rtc_cmos ac
>> video thermal wmi acpi_cpufreq button processor tp_smapi(O)
>> thinkpad_ec(O) autofs4 ext4 crc16 mbcache jbd2 btrfs xor hid_generic
>> usbhid hid raid6_pq sr_mod cdrom sd_mod uas usb_storage firewire_ohci
>> ahci libahci crc32c_intel libata atkbd sdhci_pci scsi_mod ehci_pci
>> sdhci ehci_hcd e1000e firewire_core mmc_core crc_itu_t ptp usbcore
>> usb_common pps_core
>> [22946.929431] CPU: 3 PID: 0 Comm: swapper/3 Tainted: G   O
>> 4.3.0-westmere #1
>> [22946.932551] Hardware name: LENOVO 4313CTO/4313CTO, BIOS 6MET92WW
>> (1.52 ) 09/26/2012
>> [22946.935701] task: 88023231a580 ti: 88023232c000 task.ti:
>> 88023232c000
>> [22946.938878] RIP: 0010:[]  []
>> intel_unmap+0x1d0/0x210
>> [22946.942117] RSP: 0018:88023bd83da8  EFLAGS: 00010046
>> [22946.945341] RAX:  RBX: 880231ea5580 RCX: 
>> 0002
>> [22946.948592] RDX:  RSI: fffebda0 RDI: 
>> 880231e7d098
>> [22946.951855] RBP: 88023bd83de0 R08:  R09: 
>> 
>> [22946.955131] R10: 563f08fc R11: 1849050d R12: 
>> 880231e7d098
>> [22946.958423] R13: 8800bacbbc20 R14: fffebda0 R15: 
>> 
>> [22946.961723] FS:  () GS:88023bd8()
>> knlGS:
>> [22946.965051] CS:  0010 DS:  ES:  CR0: 8005003b
>> [22946.968387] CR2: e4d9c0e0 CR3: 01a0c000 CR4: 
>> 06e0
>> [22946.971760] Stack:
>> [22946.975131]  8800bacbbc60  880231ea5580
>> 880231ea5580
>> [22946.978598]  

Re: 4.3 kernel panics when MMC/SDHC card is inserted on thinkpad

2015-12-15 Thread Ulf Hansson
+Adrian

On 8 November 2015 at 23:05, Denis Bychkov  wrote:
> The only started in 4.3 kernel (at least RC-5), 4.2.x does not have
> this problem. The kernel panic happens immediately after the SDHC card
> is inserted, reproducibility is 100%. If the system boots up with the
> card already inserted, it will crash as soon as sdhci_pci module is
> loaded. If the module is unloaded/blacklisted, obviously, nothing
> happens as the system does not see the MMC card reader.
> The machine is Lenovo thinkpad T-510 laptop with Intel Westmere
> CPU/3400 series chipset running 64-bit kernel 4.3.0.
>
> (somewhat) relevant kernel configuration bits:
> # CONFIG_CALGARY_IOMMU is not set
> CONFIG_IOMMU_HELPER=y
> CONFIG_VFIO_IOMMU_TYPE1=m
> CONFIG_IOMMU_API=y
> CONFIG_IOMMU_SUPPORT=y
> # Generic IOMMU Pagetable Support
> CONFIG_IOMMU_IOVA=y
> # CONFIG_AMD_IOMMU is not set
> CONFIG_INTEL_IOMMU=y
> CONFIG_INTEL_IOMMU_DEFAULT_ON=y
> CONFIG_INTEL_IOMMU_FLOPPY_WA=y
> # CONFIG_IOMMU_STRESS is not set
> CONFIG_KVM_INTEL=m
> CONFIG_PCI_MMCONFIG=y
> # Supported MMC/SDIO adapters
> CONFIG_MMC=m
> # CONFIG_MMC_DEBUG is not set
> # CONFIG_MMC_CLKGATE is not set
> # MMC/SD/SDIO Card Drivers
> CONFIG_MMC_BLOCK=m
> CONFIG_MMC_BLOCK_MINORS=8
> CONFIG_MMC_BLOCK_BOUNCE=y
> CONFIG_MMC_TEST=m
> # MMC/SD/SDIO Host Controller Drivers
> CONFIG_MMC_SDHCI=m
> CONFIG_MMC_SDHCI_PCI=m
> CONFIG_MMC_RICOH_MMC=y
> CONFIG_MMC_SDHCI_ACPI=m
>
> Card reader device:
> 0d:00.0 SD Host controller: Ricoh Co Ltd MMC/SD Host Controller (rev 01)
> Subsystem: Lenovo MMC/SD Host Controller
> Flags: bus master, fast devsel, latency 0, IRQ 16
> Memory at f210 (32-bit, non-prefetchable) [size=256]
> Capabilities: [50] MSI: Enable- Count=1/1 Maskable- 64bit+
> Capabilities: [78] Power Management version 3
> Capabilities: [80] Express Endpoint, MSI 00
> Capabilities: [100] Virtual Channel
> Capabilities: [800] Advanced Error Reporting
> Kernel driver in use: sdhci-pci
> Kernel modules: sdhci_pci
>
> The panic report caught via netconsole:
>
> [22946.904308] [ cut here ]
> [22946.906564] kernel BUG at drivers/iommu/intel-iommu.c:3485!
> [22946.908801] invalid opcode:  [#1] PREEMPT SMP
> [22946.93] Modules linked in: netconsole dm_mod bnep
> cpufreq_powersave cpufreq_stats cpufreq_conservative cpufreq_userspace
> coretemp intel_powerclamp kvm_intel kvm crct10dif_pclmul crc32_pclmul
> jitterentropy_rng hmac sha256_ssse3 sha256_generic drbg
> snd_hda_codec_hdmi ansi_cprng gpio_ich iTCO_wdt iTCO_vendor_support
> aesni_intel arc4 aes_x86_64 nouveau mxm_wmi lrw gf128mul glue_helper
> ablk_helper iwldvm cryptd psmouse mac80211 uvcvideo serio_raw pcspkr
> nd_e820 videobuf2_vmalloc ttm evdev videobuf2_memops i2c_algo_bit
> mousedev btusb videobuf2_core btrtl drm_kms_helper v4l2_common mac_hid
> btbcm videodev btintel drm snd_hda_codec_conexant bluetooth
> snd_hda_codec_generic iwlwifi syscopyarea sysfillrect sysimgblt
> fb_sys_fops snd_hda_intel snd_hda_codec cfg80211 snd_hda_core
> snd_hwdep i2c_i801 thinkpad_acpi lpc_ich snd_pcm sg mfd_core nvram
> i2c_core snd_timer intel_ips rfkill hwmon snd mei_me soundcore
> intel_agp mei tpm_tis intel_gtt shpchp tpm agpgart battery rtc_cmos ac
> video thermal wmi acpi_cpufreq button processor tp_smapi(O)
> thinkpad_ec(O) autofs4 ext4 crc16 mbcache jbd2 btrfs xor hid_generic
> usbhid hid raid6_pq sr_mod cdrom sd_mod uas usb_storage firewire_ohci
> ahci libahci crc32c_intel libata atkbd sdhci_pci scsi_mod ehci_pci
> sdhci ehci_hcd e1000e firewire_core mmc_core crc_itu_t ptp usbcore
> usb_common pps_core
> [22946.929431] CPU: 3 PID: 0 Comm: swapper/3 Tainted: G   O
> 4.3.0-westmere #1
> [22946.932551] Hardware name: LENOVO 4313CTO/4313CTO, BIOS 6MET92WW
> (1.52 ) 09/26/2012
> [22946.935701] task: 88023231a580 ti: 88023232c000 task.ti:
> 88023232c000
> [22946.938878] RIP: 0010:[]  []
> intel_unmap+0x1d0/0x210
> [22946.942117] RSP: 0018:88023bd83da8  EFLAGS: 00010046
> [22946.945341] RAX:  RBX: 880231ea5580 RCX: 
> 0002
> [22946.948592] RDX:  RSI: fffebda0 RDI: 
> 880231e7d098
> [22946.951855] RBP: 88023bd83de0 R08:  R09: 
> 
> [22946.955131] R10: 563f08fc R11: 1849050d R12: 
> 880231e7d098
> [22946.958423] R13: 8800bacbbc20 R14: fffebda0 R15: 
> 
> [22946.961723] FS:  () GS:88023bd8()
> knlGS:
> [22946.965051] CS:  0010 DS:  ES:  CR0: 8005003b
> [22946.968387] CR2: e4d9c0e0 CR3: 01a0c000 CR4: 
> 06e0
> [22946.971760] Stack:
> [22946.975131]  8800bacbbc60  880231ea5580
> 880231ea5580
> [22946.978598]  8800bacbbc20 0010 
> 88023bd83df0
> [22946.982064]  813cad22 88023bd83e48 c01090c2
> 

Re: 4.3 kernel panics when MMC/SDHC card is inserted on thinkpad

2015-12-15 Thread Ulf Hansson
+Adrian

On 8 November 2015 at 23:05, Denis Bychkov  wrote:
> The only started in 4.3 kernel (at least RC-5), 4.2.x does not have
> this problem. The kernel panic happens immediately after the SDHC card
> is inserted, reproducibility is 100%. If the system boots up with the
> card already inserted, it will crash as soon as sdhci_pci module is
> loaded. If the module is unloaded/blacklisted, obviously, nothing
> happens as the system does not see the MMC card reader.
> The machine is Lenovo thinkpad T-510 laptop with Intel Westmere
> CPU/3400 series chipset running 64-bit kernel 4.3.0.
>
> (somewhat) relevant kernel configuration bits:
> # CONFIG_CALGARY_IOMMU is not set
> CONFIG_IOMMU_HELPER=y
> CONFIG_VFIO_IOMMU_TYPE1=m
> CONFIG_IOMMU_API=y
> CONFIG_IOMMU_SUPPORT=y
> # Generic IOMMU Pagetable Support
> CONFIG_IOMMU_IOVA=y
> # CONFIG_AMD_IOMMU is not set
> CONFIG_INTEL_IOMMU=y
> CONFIG_INTEL_IOMMU_DEFAULT_ON=y
> CONFIG_INTEL_IOMMU_FLOPPY_WA=y
> # CONFIG_IOMMU_STRESS is not set
> CONFIG_KVM_INTEL=m
> CONFIG_PCI_MMCONFIG=y
> # Supported MMC/SDIO adapters
> CONFIG_MMC=m
> # CONFIG_MMC_DEBUG is not set
> # CONFIG_MMC_CLKGATE is not set
> # MMC/SD/SDIO Card Drivers
> CONFIG_MMC_BLOCK=m
> CONFIG_MMC_BLOCK_MINORS=8
> CONFIG_MMC_BLOCK_BOUNCE=y
> CONFIG_MMC_TEST=m
> # MMC/SD/SDIO Host Controller Drivers
> CONFIG_MMC_SDHCI=m
> CONFIG_MMC_SDHCI_PCI=m
> CONFIG_MMC_RICOH_MMC=y
> CONFIG_MMC_SDHCI_ACPI=m
>
> Card reader device:
> 0d:00.0 SD Host controller: Ricoh Co Ltd MMC/SD Host Controller (rev 01)
> Subsystem: Lenovo MMC/SD Host Controller
> Flags: bus master, fast devsel, latency 0, IRQ 16
> Memory at f210 (32-bit, non-prefetchable) [size=256]
> Capabilities: [50] MSI: Enable- Count=1/1 Maskable- 64bit+
> Capabilities: [78] Power Management version 3
> Capabilities: [80] Express Endpoint, MSI 00
> Capabilities: [100] Virtual Channel
> Capabilities: [800] Advanced Error Reporting
> Kernel driver in use: sdhci-pci
> Kernel modules: sdhci_pci
>
> The panic report caught via netconsole:
>
> [22946.904308] [ cut here ]
> [22946.906564] kernel BUG at drivers/iommu/intel-iommu.c:3485!
> [22946.908801] invalid opcode:  [#1] PREEMPT SMP
> [22946.93] Modules linked in: netconsole dm_mod bnep
> cpufreq_powersave cpufreq_stats cpufreq_conservative cpufreq_userspace
> coretemp intel_powerclamp kvm_intel kvm crct10dif_pclmul crc32_pclmul
> jitterentropy_rng hmac sha256_ssse3 sha256_generic drbg
> snd_hda_codec_hdmi ansi_cprng gpio_ich iTCO_wdt iTCO_vendor_support
> aesni_intel arc4 aes_x86_64 nouveau mxm_wmi lrw gf128mul glue_helper
> ablk_helper iwldvm cryptd psmouse mac80211 uvcvideo serio_raw pcspkr
> nd_e820 videobuf2_vmalloc ttm evdev videobuf2_memops i2c_algo_bit
> mousedev btusb videobuf2_core btrtl drm_kms_helper v4l2_common mac_hid
> btbcm videodev btintel drm snd_hda_codec_conexant bluetooth
> snd_hda_codec_generic iwlwifi syscopyarea sysfillrect sysimgblt
> fb_sys_fops snd_hda_intel snd_hda_codec cfg80211 snd_hda_core
> snd_hwdep i2c_i801 thinkpad_acpi lpc_ich snd_pcm sg mfd_core nvram
> i2c_core snd_timer intel_ips rfkill hwmon snd mei_me soundcore
> intel_agp mei tpm_tis intel_gtt shpchp tpm agpgart battery rtc_cmos ac
> video thermal wmi acpi_cpufreq button processor tp_smapi(O)
> thinkpad_ec(O) autofs4 ext4 crc16 mbcache jbd2 btrfs xor hid_generic
> usbhid hid raid6_pq sr_mod cdrom sd_mod uas usb_storage firewire_ohci
> ahci libahci crc32c_intel libata atkbd sdhci_pci scsi_mod ehci_pci
> sdhci ehci_hcd e1000e firewire_core mmc_core crc_itu_t ptp usbcore
> usb_common pps_core
> [22946.929431] CPU: 3 PID: 0 Comm: swapper/3 Tainted: G   O
> 4.3.0-westmere #1
> [22946.932551] Hardware name: LENOVO 4313CTO/4313CTO, BIOS 6MET92WW
> (1.52 ) 09/26/2012
> [22946.935701] task: 88023231a580 ti: 88023232c000 task.ti:
> 88023232c000
> [22946.938878] RIP: 0010:[]  []
> intel_unmap+0x1d0/0x210
> [22946.942117] RSP: 0018:88023bd83da8  EFLAGS: 00010046
> [22946.945341] RAX:  RBX: 880231ea5580 RCX: 
> 0002
> [22946.948592] RDX:  RSI: fffebda0 RDI: 
> 880231e7d098
> [22946.951855] RBP: 88023bd83de0 R08:  R09: 
> 
> [22946.955131] R10: 563f08fc R11: 1849050d R12: 
> 880231e7d098
> [22946.958423] R13: 8800bacbbc20 R14: fffebda0 R15: 
> 
> [22946.961723] FS:  () GS:88023bd8()
> knlGS:
> [22946.965051] CS:  0010 DS:  ES:  CR0: 8005003b
> [22946.968387] CR2: e4d9c0e0 CR3: 01a0c000 CR4: 
> 06e0
> [22946.971760] Stack:
> [22946.975131]  8800bacbbc60  880231ea5580
> 880231ea5580
> [22946.978598]  8800bacbbc20 0010 
> 88023bd83df0
> [22946.982064]  813cad22 88023bd83e48 

Re: 4.3 kernel panics when MMC/SDHC card is inserted on thinkpad

2015-12-15 Thread Adrian Hunter
On 15/12/15 18:01, Ulf Hansson wrote:
> +Adrian
> 
> On 8 November 2015 at 23:05, Denis Bychkov  wrote:
>> The only started in 4.3 kernel (at least RC-5), 4.2.x does not have
>> this problem. The kernel panic happens immediately after the SDHC card
>> is inserted, reproducibility is 100%. If the system boots up with the
>> card already inserted, it will crash as soon as sdhci_pci module is
>> loaded. If the module is unloaded/blacklisted, obviously, nothing
>> happens as the system does not see the MMC card reader.
>> The machine is Lenovo thinkpad T-510 laptop with Intel Westmere
>> CPU/3400 series chipset running 64-bit kernel 4.3.0.
>>
>> (somewhat) relevant kernel configuration bits:
>> # CONFIG_CALGARY_IOMMU is not set
>> CONFIG_IOMMU_HELPER=y
>> CONFIG_VFIO_IOMMU_TYPE1=m
>> CONFIG_IOMMU_API=y
>> CONFIG_IOMMU_SUPPORT=y
>> # Generic IOMMU Pagetable Support
>> CONFIG_IOMMU_IOVA=y
>> # CONFIG_AMD_IOMMU is not set
>> CONFIG_INTEL_IOMMU=y
>> CONFIG_INTEL_IOMMU_DEFAULT_ON=y
>> CONFIG_INTEL_IOMMU_FLOPPY_WA=y
>> # CONFIG_IOMMU_STRESS is not set
>> CONFIG_KVM_INTEL=m
>> CONFIG_PCI_MMCONFIG=y
>> # Supported MMC/SDIO adapters
>> CONFIG_MMC=m
>> # CONFIG_MMC_DEBUG is not set
>> # CONFIG_MMC_CLKGATE is not set
>> # MMC/SD/SDIO Card Drivers
>> CONFIG_MMC_BLOCK=m
>> CONFIG_MMC_BLOCK_MINORS=8
>> CONFIG_MMC_BLOCK_BOUNCE=y
>> CONFIG_MMC_TEST=m
>> # MMC/SD/SDIO Host Controller Drivers
>> CONFIG_MMC_SDHCI=m
>> CONFIG_MMC_SDHCI_PCI=m
>> CONFIG_MMC_RICOH_MMC=y
>> CONFIG_MMC_SDHCI_ACPI=m
>>
>> Card reader device:
>> 0d:00.0 SD Host controller: Ricoh Co Ltd MMC/SD Host Controller (rev 01)
>> Subsystem: Lenovo MMC/SD Host Controller
>> Flags: bus master, fast devsel, latency 0, IRQ 16
>> Memory at f210 (32-bit, non-prefetchable) [size=256]
>> Capabilities: [50] MSI: Enable- Count=1/1 Maskable- 64bit+
>> Capabilities: [78] Power Management version 3
>> Capabilities: [80] Express Endpoint, MSI 00
>> Capabilities: [100] Virtual Channel
>> Capabilities: [800] Advanced Error Reporting
>> Kernel driver in use: sdhci-pci
>> Kernel modules: sdhci_pci
>>
>> The panic report caught via netconsole:
>>
>> [22946.904308] [ cut here ]
>> [22946.906564] kernel BUG at drivers/iommu/intel-iommu.c:3485!
>> [22946.908801] invalid opcode:  [#1] PREEMPT SMP
>> [22946.93] Modules linked in: netconsole dm_mod bnep
>> cpufreq_powersave cpufreq_stats cpufreq_conservative cpufreq_userspace
>> coretemp intel_powerclamp kvm_intel kvm crct10dif_pclmul crc32_pclmul
>> jitterentropy_rng hmac sha256_ssse3 sha256_generic drbg
>> snd_hda_codec_hdmi ansi_cprng gpio_ich iTCO_wdt iTCO_vendor_support
>> aesni_intel arc4 aes_x86_64 nouveau mxm_wmi lrw gf128mul glue_helper
>> ablk_helper iwldvm cryptd psmouse mac80211 uvcvideo serio_raw pcspkr
>> nd_e820 videobuf2_vmalloc ttm evdev videobuf2_memops i2c_algo_bit
>> mousedev btusb videobuf2_core btrtl drm_kms_helper v4l2_common mac_hid
>> btbcm videodev btintel drm snd_hda_codec_conexant bluetooth
>> snd_hda_codec_generic iwlwifi syscopyarea sysfillrect sysimgblt
>> fb_sys_fops snd_hda_intel snd_hda_codec cfg80211 snd_hda_core
>> snd_hwdep i2c_i801 thinkpad_acpi lpc_ich snd_pcm sg mfd_core nvram
>> i2c_core snd_timer intel_ips rfkill hwmon snd mei_me soundcore
>> intel_agp mei tpm_tis intel_gtt shpchp tpm agpgart battery rtc_cmos ac
>> video thermal wmi acpi_cpufreq button processor tp_smapi(O)
>> thinkpad_ec(O) autofs4 ext4 crc16 mbcache jbd2 btrfs xor hid_generic
>> usbhid hid raid6_pq sr_mod cdrom sd_mod uas usb_storage firewire_ohci
>> ahci libahci crc32c_intel libata atkbd sdhci_pci scsi_mod ehci_pci
>> sdhci ehci_hcd e1000e firewire_core mmc_core crc_itu_t ptp usbcore
>> usb_common pps_core
>> [22946.929431] CPU: 3 PID: 0 Comm: swapper/3 Tainted: G   O
>> 4.3.0-westmere #1
>> [22946.932551] Hardware name: LENOVO 4313CTO/4313CTO, BIOS 6MET92WW
>> (1.52 ) 09/26/2012
>> [22946.935701] task: 88023231a580 ti: 88023232c000 task.ti:
>> 88023232c000
>> [22946.938878] RIP: 0010:[]  []
>> intel_unmap+0x1d0/0x210
>> [22946.942117] RSP: 0018:88023bd83da8  EFLAGS: 00010046
>> [22946.945341] RAX:  RBX: 880231ea5580 RCX: 
>> 0002
>> [22946.948592] RDX:  RSI: fffebda0 RDI: 
>> 880231e7d098
>> [22946.951855] RBP: 88023bd83de0 R08:  R09: 
>> 
>> [22946.955131] R10: 563f08fc R11: 1849050d R12: 
>> 880231e7d098
>> [22946.958423] R13: 8800bacbbc20 R14: fffebda0 R15: 
>> 
>> [22946.961723] FS:  () GS:88023bd8()
>> knlGS:
>> [22946.965051] CS:  0010 DS:  ES:  CR0: 8005003b
>> [22946.968387] CR2: e4d9c0e0 CR3: 01a0c000 CR4: 
>> 06e0
>> [22946.971760] Stack:
>> [22946.975131]  8800bacbbc60  880231ea5580
>> 880231ea5580