lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <0f95ac7c-815a-cc99-b86e-cdf3180665f6@c2h2.net>
Date:   Mon, 5 Dec 2016 06:33:04 -0600
From:   David F <dfitz7@...2.net>
To:     Joerg Roedel <jroedel@...e.de>
Cc:     Adrian Hunter <adrian.hunter@...el.com>,
        linux-kernel@...r.kernel.org, Denis Bychkov <manover@...il.com>
Subject: Re: 4.3 kernel panics when MMC/SDHC card is inserted on thinkpad

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


View attachment "lspci.txt" of type "text/plain" (8238 bytes)

View attachment "dmesg-dmadebug-iommu_disabled.txt" of type "text/plain" (64786 bytes)

View attachment "dmesg_full_andnetcons_bug_triggered.txt" of type "text/plain" (73213 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ