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-next>] [day] [month] [year] [list]
Message-ID: <20100829173216.GA19896@elte.hu>
Date:	Sun, 29 Aug 2010 19:32:16 +0200
From:	Ingo Molnar <mingo@...e.hu>
To:	"H. Peter Anvin" <hpa@...or.com>,
	Konrad Rzeszutek Wilk <konrad.wilk@...cle.com>
Cc:	linux-kernel@...r.kernel.org, Joerg Roedel <joerg.roedel@....com>,
	FUJITA Tomonori <fujita.tomonori@....ntt.co.jp>,
	Thomas Gleixner <tglx@...utronix.de>
Subject: pci_iommu_init() crash


FYI, -tip testing found a new boot crash, caused by the new x86/iommu 
commits:

6f44d03: x86, doc: Adding comments about .iommu_table and its neighbors.
ee1f284: x86, iommu: Utilize the IOMMU_INIT macros functionality.
4db77ff: x86, VT-d: Make Intel VT-d IOMMU use IOMMU_INIT_* macros.
22e6daf: x86, GART/AMD-VI: Make AMD GART and IOMMU use IOMMU_INIT_* macros.
d2aa232: x86, calgary: Make Calgary IOMMU use IOMMU_INIT_* macros.
5cb3a26: x86, xen-swiotlb: Make Xen-SWIOTLB use IOMMU_INIT_* macros.
c116c54: x86, swiotlb: Make SWIOTLB use IOMMU_INIT_* macros.
efa631c: x86, swiotlb: Simplify SWIOTLB pci_swiotlb_detect routine.
5bef80a: x86, iommu: Add proper dependency sort routine (and sanity check).
480125b: x86, iommu: Make all IOMMU's detection routines return a value.
0444ad9: x86, iommu: Add IOMMU_INIT macros, .iommu_table section, and iommu_table_entry structure

Crashlog is below, config attached. I've excluded x86/iommu from 
tip:master for now.

Thanks,

	Ingo

pci 0000:00:0b.0: Found disabled HT MSI Mapping
pci 0000:00:00.0: Found enabled HT MSI Mapping
pci 0000:00:00.0: Found enabled HT MSI Mapping
pci 0000:00:0c.0: Found disabled HT MSI Mapping
pci 0000:00:00.0: Found enabled HT MSI Mapping
pci 0000:00:00.0: Found enabled HT MSI Mapping
pci 0000:00:0d.0: Found disabled HT MSI Mapping
pci 0000:00:00.0: Found enabled HT MSI Mapping
pci 0000:00:00.0: Found enabled HT MSI Mapping
pci 0000:00:0e.0: Found disabled HT MSI Mapping
pci 0000:00:00.0: Found enabled HT MSI Mapping
pci 0000:01:00.0: Boot video device
PCI: CLS 32 bytes, default 64
initcall pci_apply_final_quirks+0x0/0xe6 returned 0 after 58593 usecs
calling  default_rootfs+0x0/0x65 @ 1
initcall default_rootfs+0x0/0x65 returned 0 after 0 usecs
calling  pci_iommu_init+0x0/0x48 @ 1
DMA-API: preallocated 32768 debug entries
DMA-API: debugging enabled by kernel config
BUG: unable to handle kernel paging request at 19da8955
IP: [<f4ffffff>] 0xf4ffffff
*pde = 00000000 
Oops: 0002 [#1] SMP DEBUG_PAGEALLOC
last sysfs file: 
Modules linked in:

Pid: 1, comm: swapper Not tainted 2.6.36-rc3-tip-01230-ga953007-dirty #30737 A8N-E/System Product Name
EIP: 0060:[<f4ffffff>] EFLAGS: 00010207 CPU: 0
EIP is at 0xf4ffffff
EAX: e8e58955 EBX: c1473a69 ECX: 00000000 EDX: 00000000
ESI: 00000000 EDI: 00000002 EBP: f5c49fa8 ESP: f5c49fa0
 DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0068
Process swapper (pid: 1, ti=f5c48000 task=f5c40000 task.ti=f5c48000)
Stack:
 c141a6c1 818a6e7e f5c49fd0 c100104c c13595c7 c141a689 00000001 00000000
<0> c141a689 c146ab1c 00000002 00000002 f5c49fe4 c1417340 00000000 c1417206
<0> 00000000 00000000 c1002c82 00000000 00000000 00000000 00000000 00000000
Call Trace:
 [<c141a6c1>] ? pci_iommu_init+0x38/0x48
 [<c100104c>] ? do_one_initcall+0x47/0x121
 [<c141a689>] ? pci_iommu_init+0x0/0x48
 [<c141a689>] ? pci_iommu_init+0x0/0x48
 [<c1417340>] ? kernel_init+0x13a/0x1bb
 [<c1417206>] ? kernel_init+0x0/0x1bb
 [<c1002c82>] ? kernel_thread_helper+0x6/0x10
Code: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 <00> 90 00 00 f5 30 ff ff f5 00 00 00 00 00 00 00 00 00 00 00 00 
EIP: [<f4ffffff>] 0xf4ffffff SS:ESP 0068:f5c49fa0
CR2: 0000000019da8955
---[ end trace e93713a9d40cd06c ]---
Kernel panic - not syncing: Fatal exception
Pid: 1, comm: swapper Tainted: G      D     2.6.36-rc3-tip-01230-ga953007-dirty #30737
Call Trace:
 [<c128bba3>] ? printk+0xf/0x14
 [<c128ba91>] panic+0x50/0x153
 [<c100506c>] oops_end+0x96/0xa5
 [<c1017e5d>] no_context+0x110/0x11a
 [<c1017f5a>] __bad_area_nosemaphore+0xf3/0xfb
 [<c10181cb>] ? do_page_fault+0x0/0x251
 [<c1017f6f>] bad_area_nosemaphore+0xd/0x10
 [<c10182d9>] do_page_fault+0x10e/0x251
 [<c10181cb>] ? do_page_fault+0x0/0x251
 [<c128e97c>] error_code+0x6c/0x74
 [<c141a6c1>] ? pci_iommu_init+0x38/0x48
 [<c100104c>] do_one_initcall+0x47/0x121
 [<c141a689>] ? pci_iommu_init+0x0/0x48
 [<c141a689>] ? pci_iommu_init+0x0/0x48
 [<c1417340>] kernel_init+0x13a/0x1bb
 [<c1417206>] ? kernel_init+0x0/0x1bb
 [<c1002c82>] kernel_thread_helper+0x6/0x10
Rebooting in 1 seconds..Press any key to enter the menu


View attachment "config" of type "text/plain" (64534 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ