RE: 3.19 kernel: BUG: unable to handle kernel NULL pointer dereference

From: Justin Piszcz
Date: Fri Feb 27 2015 - 10:53:48 EST




> -----Original Message-----
> From: Justin Piszcz [mailto:jpiszcz@xxxxxxxxxxxxxxx]
> Sent: Friday, February 27, 2015 9:54 AM
> To: linux-kernel@xxxxxxxxxxxxxxx
> Subject: 3.19 kernel: BUG: unable to handle kernel NULL pointer
dereference
>
> Hello,
>
> With kernel 3.15, I do not recall having any issues, with 3.19, I am
getting
> a kernel crash when I copy files over NFS from machine A to B.
> Is this a known issue?
>
> I suspect it has to do something with this:
> Feb 27 09:31:20 remote-host [ 15.745342] dmar: DRHD: handling fault
status
> reg 2
> Feb 27 09:31:20 remote-host [ 15.745361] dmar: DMAR:[DMA Read] Request
> device [04:00.0] fault addr 0 #012[ 15.745361] DMAR:[fault reason 06]
PTE
> Read access is not set
>

[ .. ]

Here is another crash with debugging enabled:

Feb 27 10:44:42 remote-host
Feb 27 10:44:42 remote-host [ 2256.999876] RIP
Feb 27 10:44:42 remote-host [<ffffffff814e4d01>] intel_unmap_sg+0x1/0x10
Feb 27 10:44:42 remote-host [ 2257.002194] RSP <ffff880c3fc03e38>
Feb 27 10:44:42 remote-host [ 2257.003562] CR2: 0000000000000010
Feb 27 10:44:43 remote-host [ 2258.263414] ---[ end trace 8c48fd88f48d9b7a
]---
Feb 27 10:44:43 remote-host [ 2258.263421] Kernel panic - not syncing: Fatal
exception in interrupt
Feb 27 10:44:43 remote-host [ 2258.266476] Kernel Offset: 0x0 from
0xffffffff81000000 (relocation range: 0xffffffff80000000-0xffffffff9fffffff)
Feb 27 10:44:43 remote-host [ 2258.270538] drm_kms_helper: panic occurred,
switching back to text console
Feb 27 10:44:43 remote-host [ 2258.273269] ---[ end Kernel panic - not
syncing: Fatal exception in interrupt
Feb 27 10:44:43 remote-host [ 2258.273278] ------------[ cut here
]------------
Feb 27 10:44:43 remote-host [ 2258.273284] WARNING: CPU: 6 PID: 0 at
arch/x86/kernel/smp.c:124 native_smp_send_reschedule+0x61/0x70()
Feb 27 10:44:43 remote-host [ 2258.273289] CPU: 6 PID: 0 Comm: swapper/6
Tainted: G D 3.19.0 #3
Feb 27 10:44:43 remote-host [ 2258.273292] Hardware name: Supermicro
X8DTH-i/6/iF/6F/X8DTH, BIOS 2.1b 05/04/12
Feb 27 10:44:43 remote-host [ 2258.273295] ffffffff81c08a23
Feb 27 10:44:43 remote-host ffff880c3fc03820
Feb 27 10:44:43 remote-host ffffffff818b4dc6
Feb 27 10:44:43 remote-host ffffffff81e45698
Feb 27 10:44:43 remote-host
Feb 27 10:44:43 remote-host [ 2258.273306] 0000000000000000
Feb 27 10:44:43 remote-host ffff880c3fc03860
Feb 27 10:44:43 remote-host ffffffff810d8f8b
Feb 27 10:44:43 remote-host 0000000000000001
Feb 27 10:44:43 remote-host
Feb 27 10:44:43 remote-host [ 2258.273318] 0000000000000000
Feb 27 10:44:43 remote-host ffff880627c11a40
Feb 27 10:44:43 remote-host 0000000000000006
Feb 27 10:44:43 remote-host ffff880624632410
Feb 27 10:44:43 remote-host
Feb 27 10:44:43 remote-host [ 2258.273330] Call Trace:
Feb 27 10:44:43 remote-host [ 2258.273333] <IRQ>
Feb 27 10:44:43 remote-host [<ffffffff818b4dc6>] dump_stack+0x45/0x57
Feb 27 10:44:43 remote-host [ 2258.273346] [<ffffffff810d8f8b>]
warn_slowpath_common+0x7b/0xc0
Feb 27 10:44:43 remote-host [ 2258.273350] [<ffffffff810d90a5>]
warn_slowpath_null+0x15/0x20
Feb 27 10:44:43 remote-host [ 2258.273355] [<ffffffff810690d1>]
native_smp_send_reschedule+0x61/0x70
Feb 27 10:44:43 remote-host [ 2258.273363] [<ffffffff81107141>]
trigger_load_balance+0x141/0x1f0
Feb 27 10:44:43 remote-host [ 2258.273367] [<ffffffff810fa320>]
scheduler_tick+0x90/0xd0
Feb 27 10:44:43 remote-host [ 2258.273373] [<ffffffff81123bbc>]
update_process_times+0x4c/0x60
Feb 27 10:44:43 remote-host [ 2258.273380] [<ffffffff81131d90>]
tick_sched_handle.isra.18+0x20/0x50
Feb 27 10:44:43 remote-host [ 2258.273384] [<ffffffff81131dff>]
tick_sched_timer+0x3f/0x80
Feb 27 10:44:43 remote-host [ 2258.273389] [<ffffffff811240cf>]
__run_hrtimer.isra.32+0x4f/0x130
Feb 27 10:44:43 remote-host [ 2258.273394] [<ffffffff81124a2f>]
hrtimer_interrupt+0xef/0x240
Feb 27 10:44:43 remote-host [ 2258.273399] [<ffffffff8106ae17>]
local_apic_timer_interrupt+0x37/0x60
Feb 27 10:44:43 remote-host [ 2258.273403] [<ffffffff8106b3ec>]
smp_apic_timer_interrupt+0x3c/0x50
Feb 27 10:44:43 remote-host [ 2258.273407] [<ffffffff818bcbea>]
apic_timer_interrupt+0x6a/0x70
Feb 27 10:44:43 remote-host [ 2258.273412] [<ffffffff818b3ede>] ?
panic+0x18f/0x1cd
Feb 27 10:44:43 remote-host [ 2258.273416] [<ffffffff818b3eda>] ?
panic+0x18b/0x1cd
Feb 27 10:44:43 remote-host [ 2258.273421] [<ffffffff81042b83>]
oops_end+0x83/0xa0
Feb 27 10:44:43 remote-host [ 2258.273426] [<ffffffff8107440b>]
no_context+0x13b/0x390
Feb 27 10:44:43 remote-host [ 2258.273431] [<ffffffff8107477d>]
__bad_area_nosemaphore+0x11d/0x240
Feb 27 10:44:43 remote-host [ 2258.273434] [<ffffffff810748ae>]
bad_area_nosemaphore+0xe/0x10
Feb 27 10:44:43 remote-host [ 2258.273438] [<ffffffff81074b7e>]
__do_page_fault+0x9e/0x4f0
Feb 27 10:44:43 remote-host [ 2258.273443] [<ffffffff814e062b>] ?
dma_pte_clear_level+0x11b/0x1a0
Feb 27 10:44:43 remote-host [ 2258.273447] [<ffffffff8107500c>]
do_page_fault+0xc/0x10
Feb 27 10:44:43 remote-host [ 2258.273451] [<ffffffff818bd372>]
page_fault+0x22/0x30
Feb 27 10:44:43 remote-host [ 2258.273455] [<ffffffff814e4d00>] ?
intel_unmap+0x1f0/0x1f0
Feb 27 10:44:43 remote-host [ 2258.273460] [<ffffffff814e4d01>] ?
intel_unmap_sg+0x1/0x10
Feb 27 10:44:43 remote-host [ 2258.273468] [<ffffffff81409901>] ?
blk_complete_request+0x11/0x20
Feb 27 10:44:43 remote-host [ 2258.273472] [<ffffffff81611100>] ?
scsi_dma_unmap+0x50/0x70
Feb 27 10:44:43 remote-host [ 2258.273476] [<ffffffff8161bc45>]
twl_interrupt+0x415/0x700
Feb 27 10:44:43 remote-host [ 2258.273480] [<ffffffff81118ac0>]
handle_irq_event_percpu+0x60/0x110
Feb 27 10:44:43 remote-host [ 2258.273484] [<ffffffff81118ba5>]
handle_irq_event+0x35/0x60
Feb 27 10:44:43 remote-host [ 2258.273489] [<ffffffff8111ba16>]
handle_edge_irq+0xa6/0x150
Feb 27 10:44:43 remote-host [ 2258.273492] [<ffffffff8104154d>]
handle_irq+0x1d/0x40
Feb 27 10:44:43 remote-host [ 2258.273496] [<ffffffff8104135a>]
do_IRQ+0x4a/0xe0
Feb 27 10:44:43 remote-host [ 2258.273500] [<ffffffff818bc92a>]
common_interrupt+0x6a/0x6a
Feb 27 10:44:43 remote-host [ 2258.273503] <EOI>
Feb 27 10:44:43 remote-host [<ffffffff81759c48>] ?
cpuidle_enter_state+0x48/0xc0
Feb 27 10:44:43 remote-host [ 2258.273511] [<ffffffff81759c3d>] ?
cpuidle_enter_state+0x3d/0xc0
Feb 27 10:44:43 remote-host [ 2258.273516] [<ffffffff81759d92>]
cpuidle_enter+0x12/0x20
Feb 27 10:44:43 remote-host [ 2258.273520] [<ffffffff8110cce2>]
cpu_startup_entry+0x272/0x2f0
Feb 27 10:44:43 remote-host [ 2258.273524] [<ffffffff81069b5a>]
start_secondary+0x13a/0x150
Feb 27 10:44:43 remote-host [ 2258.273528] ---[ end trace 8c48fd88f48d9b7b
]---
Feb 27 10:46:09 atom rsyslogd: -- MARK --

Justin.

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