BUG: null pointer deref in dmar_ir_support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello

The following was done with a vanilla 2.6.34-rc2 kernel.
The bug was not present in 2.6.30.5.

regards
Jan

[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[ 0.000000] Linux version 2.6.34-rc2 (root@debian) (gcc version 4.4.3 20100108 (prerelease) (Debian 4.4.2-9) ) #4 SMP Fri Mar 26 18:40:26 CET 2010
[    0.000000] Command line: root=/dev/sda3 ro console=ttyS0,19200
[    0.000000] BIOS-provided physical RAM map:
[    0.000000]  BIOS-e820: 0000000000000000 - 000000000009f800 (usable)
[    0.000000]  BIOS-e820: 000000000009f800 - 00000000000a0000 (reserved)
[    0.000000]  BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
[    0.000000]  BIOS-e820: 0000000000100000 - 000000007fff0000 (usable)
[    0.000000]  BIOS-e820: 000000007fff0000 - 000000007fff3000 (ACPI NVS)
[    0.000000]  BIOS-e820: 000000007fff3000 - 0000000080000000 (ACPI data)
[    0.000000]  BIOS-e820: 00000000e0000000 - 00000000f0000000 (reserved)
[    0.000000]  BIOS-e820: 00000000fec00000 - 0000000100000000 (reserved)
[    0.000000] NX (Execute Disable) protection: active
[    0.000000] DMI 2.3 present.
[ 0.000000] Phoenix BIOS detected: BIOS may corrupt low RAM, working around it.
[    0.000000] No AGP bridge found
[    0.000000] last_pfn = 0x7fff0 max_arch_pfn = 0x400000000
[ 0.000000] x86 PAT enabled: cpu 0, old 0x7040600070406, new 0x7010600070106
[    0.000000] init_memory_mapping: 0000000000000000-000000007fff0000
[    0.000000] ACPI: RSDP 00000000000f7c60 00014 (v00 Nvidia)
[ 0.000000] ACPI: RSDT 000000007fff3040 00030 (v01 Nvidia AWRDACPI 42302E31 AWRD 00000000) [ 0.000000] ACPI: FACP 000000007fff30c0 00074 (v01 Nvidia AWRDACPI 42302E31 AWRD 00000000) [ 0.000000] ACPI: DSDT 000000007fff3180 06A16 (v01 NVIDIA AWRDACPI 00001000 MSFT 0100000E)
[    0.000000] ACPI: FACS 000000007fff0000 00040
[ 0.000000] ACPI: SSDT 000000007fff9cc0 000D6 (v01 PTLTD POWERNOW 00000001 LTP 00000001) [ 0.000000] ACPI: MCFG 000000007fff9e00 0003C (v01 Nvidia AWRDACPI 42302E31 AWRD 00000000)
[    0.000000] Scanning NUMA topology in Northbridge 24
[    0.000000] No NUMA configuration found
[    0.000000] Faking a node at 0000000000000000-000000007fff0000
[    0.000000] Initmem setup node 0 0000000000000000-000000007fff0000
[    0.000000]   NODE_DATA [0000000001891180 - 000000000189617f]
[    0.000000] Zone PFN ranges:
[    0.000000]   DMA      0x00000010 -> 0x00001000
[    0.000000]   DMA32    0x00001000 -> 0x00100000
[    0.000000]   Normal   empty
[    0.000000] Movable zone start PFN for each node
[    0.000000] early_node_map[2] active PFN ranges
[    0.000000]     0: 0x00000010 -> 0x0000009f
[    0.000000]     0: 0x00000100 -> 0x0007fff0
[    0.000000] Nvidia board detected. Ignoring ACPI timer override.
[    0.000000] If you got timer trouble try acpi_use_timer_override
[    0.000000] ACPI: PM-Timer IO Port: 0x4008
[    0.000000] SMP: Allowing 1 CPUs, 0 hotplug CPUs
[ 0.000000] PM: Registered nosave memory: 000000000009f000 - 00000000000a0000 [ 0.000000] PM: Registered nosave memory: 00000000000a0000 - 00000000000f0000 [ 0.000000] PM: Registered nosave memory: 00000000000f0000 - 0000000000100000 [ 0.000000] Allocating PCI resources starting at 80000000 (gap: 80000000:60000000)
[    0.000000] Booting paravirtualized kernel on bare hardware
[ 0.000000] setup_percpu: NR_CPUS:512 nr_cpumask_bits:512 nr_cpu_ids:1 nr_node_ids:1 [ 0.000000] PERCPU: Embedded 29 pages/cpu @ffff880001a00000 s88616 r8192 d21976 u2097152
[    0.000000] pcpu-alloc: s88616 r8192 d21976 u2097152 alloc=1*2097152
[    0.000000] pcpu-alloc: [0] 0
[ 0.000000] Built 1 zonelists in Node order, mobility grouping on. Total pages: 516991
[    0.000000] Policy zone: DMA32
[    0.000000] Kernel command line: root=/dev/sda3 ro console=ttyS0,19200
[    0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes)
[    0.000000] Checking aperture...
[    0.000000] No AGP bridge found
[    0.000000] Node 0: aperture @ 342000000 size 32 MB
[    0.000000] Aperture beyond 4GB. Ignoring.
[    0.000000] Subtract (37 early reservations)
[    0.000000]   #1 [0001000000 - 0001890564]   TEXT DATA BSS
[    0.000000]   #2 [000009f800 - 0000100000]   BIOS reserved
[    0.000000]   #3 [0001891000 - 000189115d]             BRK
[    0.000000]   #4 [0000010000 - 0000012000]      TRAMPOLINE
[    0.000000]   #5 [0000012000 - 0000016000]     ACPI WAKEUP
[    0.000000]   #6 [0000016000 - 0000018000]         PGTABLE
[    0.000000]   #7 [0001891180 - 0001896180]       NODE_DATA
[    0.000000]   #8 [0001896180 - 0001897180]         BOOTMEM
[    0.000000]   #9 [0001890580 - 0001890700]         BOOTMEM
[    0.000000]   #10 [0002098000 - 0002099000]         BOOTMEM
[    0.000000]   #11 [0002099000 - 000209a000]         BOOTMEM
[    0.000000]   #12 [0002200000 - 0003e00000]        MEMMAP 0
[    0.000000]   #13 [0001890700 - 0001890880]         BOOTMEM
[    0.000000]   #14 [0001897180 - 00018a3180]         BOOTMEM
[    0.000000]   #15 [00018a4000 - 00018a5000]         BOOTMEM
[    0.000000]   #16 [0001890880 - 0001890a78]         BOOTMEM
[    0.000000]   #17 [0001890a80 - 0001890ae8]         BOOTMEM
[    0.000000]   #18 [0001890b00 - 0001890b68]         BOOTMEM
[    0.000000]   #19 [0001890b80 - 0001890be8]         BOOTMEM
[    0.000000]   #20 [0001890c00 - 0001890c68]         BOOTMEM
[    0.000000]   #21 [0001890c80 - 0001890ce8]         BOOTMEM
[    0.000000]   #22 [0001890d00 - 0001890d68]         BOOTMEM
[    0.000000]   #23 [0001890d80 - 0001890de8]         BOOTMEM
[    0.000000]   #24 [0001890e00 - 0001890e68]         BOOTMEM
[    0.000000]   #25 [0001890e80 - 0001890ea0]         BOOTMEM
[    0.000000]   #26 [0001890ec0 - 0001890ee6]         BOOTMEM
[    0.000000]   #27 [0001890f00 - 0001890f26]         BOOTMEM
[    0.000000]   #28 [0001a00000 - 0001a1d000]         BOOTMEM
[    0.000000]   #29 [0001890f40 - 0001890f48]         BOOTMEM
[    0.000000]   #30 [0001890f80 - 0001890f88]         BOOTMEM
[    0.000000]   #31 [0001890fc0 - 0001890fc4]         BOOTMEM
[    0.000000]   #32 [00018a3180 - 00018a3188]         BOOTMEM
[    0.000000]   #33 [00018a31c0 - 00018a3310]         BOOTMEM
[    0.000000]   #34 [00018a3340 - 00018a33c0]         BOOTMEM
[    0.000000]   #35 [00018a33c0 - 00018a3440]         BOOTMEM
[    0.000000]   #36 [00018a5000 - 00018ad000]         BOOTMEM
[ 0.000000] Memory: 2058924k/2097088k available (3094k kernel code, 452k absent, 37712k reserved, 3638k data, 616k init)
[    0.000000] Hierarchical RCU implementation.
[    0.000000] NR_IRQS:33024 nr_irqs:256
[    0.000000] Console: colour VGA+ 80x25
[    0.000000] console [ttyS0] enabled
[    0.000000] Fast TSC calibration using PIT
[    0.000000] Detected 2010.186 MHz processor.
[ 0.012005] Calibrating delay loop (skipped), value calculated using timer frequency.. 4020.37 BogoMIPS (lpj=8040744)
[    0.020141] Security Framework initialized
[    0.024006] SELinux:  Disabled at boot.
[ 0.028210] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes) [ 0.033366] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes)
[    0.036694] Mount-cache hash table entries: 256
[    0.040179] Initializing cgroup subsys ns
[    0.044005] Initializing cgroup subsys cpuacct
[    0.048006] Initializing cgroup subsys devices
[    0.052003] Initializing cgroup subsys freezer
[    0.056003] Initializing cgroup subsys net_cls
[    0.060059] mce: CPU supports 5 MCE banks
[    0.064012] Performance Events: AMD PMU driver.
[    0.072004] ... version:                0
[    0.076002] ... bit width:              48
[    0.080002] ... generic registers:      4
[    0.084002] ... value mask:             0000ffffffffffff
[    0.088002] ... max period:             00007fffffffffff
[    0.092002] ... fixed-purpose events:   0
[    0.096002] ... event mask:             000000000000000f
[    0.100024] SMP alternatives: switching to UP code
[    0.110450] Freeing SMP alternatives: 25k freed
[    0.112019] ACPI: Core revision 20100121
[    0.126062] ACPI: setting ELCR to 0200 (from 0828)
[    0.132031] Setting APIC routing to flat
[    0.136003] weird, boot CPU (#0) not listed by the BIOS.
[    0.140001] SMP motherboard not detected.
[ 0.144012] BUG: unable to handle kernel NULL pointer dereference at 0000000000000025
[    0.148000] IP: [<ffffffff81199c96>] dmar_ir_support+0xb/0x14
[    0.148000] PGD 0
[    0.148000] Oops: 0000 [#1] SMP
[    0.148000] last sysfs file:
[    0.148000] CPU 0
[    0.148000] Modules linked in:
[    0.148000]
[ 0.148000] Pid: 1, comm: swapper Not tainted 2.6.34-rc2 #4 A8N-SLI Premium/System Product Name [ 0.148000] RIP: 0010:[<ffffffff81199c96>] [<ffffffff81199c96>] dmar_ir_support+0xb/0x14
[    0.148000] RSP: 0018:ffff88007fbe3e30  EFLAGS: 00010046
[ 0.148000] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 000000000000004c [ 0.148000] RDX: ffffffff81762338 RSI: 0000000000000046 RDI: 0000000000000010 [ 0.148000] RBP: ffff88007fbe3e30 R08: 0000000000000002 R09: 000000000000000a [ 0.148000] R10: 0000000000000005 R11: 0000000000000000 R12: 0000000000000010 [ 0.148000] R13: 0000000000000246 R14: 0000000000000000 R15: 000000000000e850 [ 0.148000] FS: 0000000000000000(0000) GS:ffff880001a00000(0000) knlGS:0000000000000000
[    0.148000] CS:  0010 DS: 0000 ES: 0000 CR0: 000000008005003b
[ 0.148000] CR2: 0000000000000025 CR3: 0000000001625000 CR4: 00000000000006f0 [ 0.148000] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 0.148000] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 [ 0.148000] Process swapper (pid: 1, threadinfo ffff88007fbe2000, task ffff88007fbde740)
[    0.148000] Stack:
[ 0.148000] ffff88007fbe3e40 ffffffff816d1f01 ffff88007fbe3e50 ffffffff816b7fa6 [ 0.148000] <0> ffff88007fbe3ea0 ffffffff816b8095 ffff88007fbe3ec0 ffffffff8130122e [ 0.148000] <0> ffff880000000008 ffff88007fbe3ed0 ffffffff8168ec20 0000000000000200
[    0.148000] Call Trace:
[    0.148000]  [<ffffffff816d1f01>] intr_remapping_supported+0x12/0x45
[    0.148000]  [<ffffffff816b7fa6>] enable_IR+0x9/0x5d
[    0.148000]  [<ffffffff816b8095>] enable_IR_x2apic+0x9b/0x1b6
[    0.148000]  [<ffffffff8130122e>] ? printk+0x3c/0x3e
[    0.148000]  [<ffffffff816b81f7>] APIC_init_uniprocessor+0x47/0x105
[    0.148000]  [<ffffffff816b62cf>] native_smp_prepare_cpus+0x190/0x365
[    0.148000]  [<ffffffff816ab5f5>] kernel_init+0x71/0x1f0
[    0.148000]  [<ffffffff810097e4>] kernel_thread_helper+0x4/0x10
[    0.148000]  [<ffffffff816ab584>] ? kernel_init+0x0/0x1f0
[    0.148000]  [<ffffffff810097e0>] ? kernel_thread_helper+0x0/0x10
[ 0.148000] Code: ff c7 06 00 00 00 00 48 8b 04 fd 80 ba 42 81 eb 0d c7 06 02 00 00 00 48 c7 c0 e8 30 4a 81 c9 c3 48 8b 05 0e 4c 56 00 55 48 89 e5 <0f> b6 40 25 c9 83 e0 01 c3 55 48 89 e5 e8 7c 8f 16 00 c9 c3 55
[    0.148000] RIP  [<ffffffff81199c96>] dmar_ir_support+0xb/0x14
[    0.148000]  RSP <ffff88007fbe3e30>
[    0.148000] CR2: 0000000000000025
[    0.148000] ---[ end trace 4eaa2a86a8e2da22 ]---
[    0.148000] Kernel panic - not syncing: Attempted to kill init!
[    0.148000] Pid: 1, comm: swapper Tainted: G      D    2.6.34-rc2 #4
[    0.148000] Call Trace:
[    0.148000]  [<ffffffff81301172>] panic+0x73/0xf3
[    0.148000]  [<ffffffff810ab7da>] ? perf_event_exit_task+0x27/0x12d
[    0.148000]  [<ffffffff810493ef>] do_exit+0x75/0x72d
[    0.148000]  [<ffffffff81046285>] ? spin_unlock_irqrestore+0x9/0xb
[    0.148000]  [<ffffffff81046dde>] ? kmsg_dump+0x126/0x140
[    0.148000]  [<ffffffff8100c8d8>] oops_end+0xba/0xc2
[    0.148000]  [<ffffffff8102c87c>] no_context+0x1f7/0x206
[    0.148000]  [<ffffffff8102ca0a>] __bad_area_nosemaphore+0x17f/0x1a2
[    0.148000]  [<ffffffff8102ca3b>] bad_area_nosemaphore+0xe/0x10
[    0.148000]  [<ffffffff8102cc8b>] do_page_fault+0x12a/0x261
[    0.148000]  [<ffffffff8130304e>] ? common_interrupt+0xe/0x13
[    0.148000]  [<ffffffff81303335>] page_fault+0x25/0x30
[    0.148000]  [<ffffffff81199c96>] ? dmar_ir_support+0xb/0x14
[    0.148000]  [<ffffffff816d1f01>] intr_remapping_supported+0x12/0x45
[    0.148000]  [<ffffffff816b7fa6>] enable_IR+0x9/0x5d
[    0.148000]  [<ffffffff816b8095>] enable_IR_x2apic+0x9b/0x1b6
[    0.148000]  [<ffffffff8130122e>] ? printk+0x3c/0x3e
[    0.148000]  [<ffffffff816b81f7>] APIC_init_uniprocessor+0x47/0x105
[    0.148000]  [<ffffffff816b62cf>] native_smp_prepare_cpus+0x190/0x365
[    0.148000]  [<ffffffff816ab5f5>] kernel_init+0x71/0x1f0
[    0.148000]  [<ffffffff810097e4>] kernel_thread_helper+0x4/0x10
[    0.148000]  [<ffffffff816ab584>] ? kernel_init+0x0/0x1f0
[    0.148000]  [<ffffffff810097e0>] ? kernel_thread_helper+0x0/0x10

--
To unsubscribe from this list: send the line "unsubscribe linux-pci" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [DMA Engine]     [Linux Coverity]     [Linux USB]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Greybus]

  Powered by Linux