[yocto] kernel bug?: BUG: scheduling while atomic: swapper/2/0/0x00000002
Tapia, Rafael
Rafael.Tapia at nov.com
Fri Feb 23 09:23:08 PST 2018
I am looking for help in trying to understand this error and why it halts my system. Can someone point me in the right direction?
My setup:
distro : poky
version : 2.1.3
branch : krogoth
arch : m64 corei7
date built : Tue Nov 14 03:58:54 CST 2017
builder : yocto-HP-Pavilion-dv7-Notebook-PC
sandbox : /home/yocto/krogoth-111417-ss/poky/build
boot opts : BOOT_IMAGE=/vmlinuz label=boot root=/dev/sda2 rootwait rootfstype=ext4 video=vesafb vga=0x312 console=ttyS0
processors : 4
snapshot: (full log in attachment)
[132373.660672] BUG: scheduling while atomic: swapper/2/0/0x00000002
[132373.660676] Modules linked in:
[132373.660684] Preemption disabled at:[<ffffffff819a6cb2>] schedule_preempt_disabled+0x22/0x30
[132373.660685]
[132373.660688] CPU: 2 PID: 0 Comm: swapper/2 Not tainted 4.4.26-rt19-yocto-preempt-rt #1
[132373.660689] Hardware name: /_, BIOS 5.6.5 09/10/2014
[132373.660693] 0000000000000000 ffff88013aa5bd20 ffffffff813d1410 ffff88013fd15a40
[132373.660696] 0000000000015a40 ffff88013aa5bd30 ffffffff81096d77 ffff88013aa5bd78
[132373.660698] ffffffff819a678d ffff88013aa5bd50 ffff88013aa50000 ffff88013aa5c000
[132373.660699] Call Trace:
[132373.660705] [<ffffffff813d1410>] dump_stack+0x4f/0x6f
[132373.660709] [<ffffffff81096d77>] __schedule_bug+0x57/0xa0
[132373.660712] [<ffffffff819a678d>] __schedule+0x53d/0x5a0
[132373.660715] [<ffffffff819a683b>] schedule+0x4b/0xe0
[132373.660718] [<ffffffff819a82db>] rt_spin_lock_slowlock+0x1cb/0x2e0
[132373.660722] [<ffffffff819a9cb8>] rt_spin_lock+0x38/0x40
[132373.660725] [<ffffffff8108b58a>] try_to_grab_pending+0xca/0x220
[132373.660727] [<ffffffff8108bd46>] cancel_delayed_work+0x26/0xe0
[132373.660731] [<ffffffff8115a4c9>] quiet_vmstat+0x49/0x60
[132373.660735] [<ffffffff810b2971>] cpu_startup_entry+0x41/0x3a0
[132373.660739] [<ffffffff81037751>] start_secondary+0xf1/0x100
[132373.660765] ------------[ cut here ]------------
[132373.660766] ------------[ cut here ]------------
...
[132382.060430] ------------[ cut here ]------------
[132382.060434] WARNING: CPU: 3 PID: 36 at /home/yocto/krogoth-111417-ss/poky/build/tmp/work-shared/intel-corei7-64/kernel-source/include/linux/uaccess.h:15 __probe_kernel_read+0xac/0xb0()
[132382.060435] Modules linked in:
[132382.060437] CPU: 3 PID: 36 Comm: ("¥ÿÿ@³ÿÿÿ Tainted: G D W 4.4.26-rt19-yocto-preempt-rt #1
[132382.060438] Hardware name: /_, BIOS 5.6.5 09/10/2014
[132382.060441] 0000000000000000 ffff88013fd83b78 ffffffff813d1410 0000000000000000
[132382.060444] 0000000000000009 ffff88013fd83bb0 ffffffff81073c92 ffff88013aa51bc0
[132382.060446] 0000000000000000 ffffffffffffffff ffffffff8109e8db ffff88013fd83c0f
[132382.060447] Call Trace:
[132382.060450] <IRQ> [<ffffffff813d1410>] dump_stack+0x4f/0x6f
[132382.060454] [<ffffffff81073c92>] warn_slowpath_common+0x82/0xd0
[132382.060457] [<ffffffff8109e8db>] ? scheduler_tick+0x6b/0x100
[132382.060459] [<ffffffff81073d9a>] warn_slowpath_null+0x1a/0x30
[132382.060462] [<ffffffff811402bc>] __probe_kernel_read+0xac/0xb0
[132382.060465] [<ffffffff8109e8db>] ? scheduler_tick+0x6b/0x100
[132382.060468] [<ffffffff8109e8dc>] ? scheduler_tick+0x6c/0x100
[132382.060471] [<ffffffff81006cf0>] show_regs+0x120/0x180
[132382.060473] [<ffffffff81007595>] __die+0xa5/0xe0
[132382.060476] [<ffffffff810439a0>] no_context+0xe0/0x350
[132382.060479] [<ffffffff81043c8a>] __bad_area_nosemaphore+0x7a/0x1f0
[132382.060482] [<ffffffff8109b1bb>] ? resched_curr+0x2b/0x100
[132382.060484] [<ffffffff8109792f>] ? migrate_disable+0xcf/0xe0
[132382.060487] [<ffffffff81043e13>] bad_area_nosemaphore+0x13/0x20
[132382.060489] [<ffffffff8104406e>] __do_page_fault+0x7e/0x360
[132382.060492] [<ffffffff810979c7>] ? migrate_enable+0x87/0x150
[132382.060494] [<ffffffff819a99b8>] ? _raw_spin_unlock_irqrestore+0x18/0x50
[132382.060497] [<ffffffff8104438c>] do_page_fault+0xc/0x10
[132382.060500] [<ffffffff819abfa2>] page_fault+0x22/0x30
[132382.060503] [<ffffffff8109e8c7>] ? scheduler_tick+0x57/0x100
[132382.060507] [<ffffffff810d3c17>] update_process_times+0x27/0x60
[132382.060510] [<ffffffff810e3c86>] tick_sched_handle.isra.13+0x36/0x50
[132382.060512] [<ffffffff810e4443>] tick_sched_timer+0x43/0x80
[132382.060515] [<ffffffff810d47b4>] __hrtimer_run_queues+0x114/0x3e0
[132382.060518] [<ffffffff810e4400>] ? tick_sched_do_timer+0x40/0x40
[132382.060520] [<ffffffff810d5689>] hrtimer_interrupt+0xb9/0x220
[132382.060523] [<ffffffff81038c56>] local_apic_timer_interrupt+0x36/0x60
[132382.060526] [<ffffffff819ac86d>] smp_apic_timer_interrupt+0x3d/0x50
[132382.060529] [<ffffffff819aaf3f>] apic_timer_interrupt+0x7f/0x90
[132382.060531] <EOI>
[132382.060531] ---[ end trace 000000000000008a ]---
[132382.060532] 00
[132382.060536] RIP [<ffffffff8109e8c7>] scheduler_tick+0x57/0x100
[132382.060536] RSP <ffff88013fd83e30>
[132382.060537] CR2: 0000000000000080
[132382.060539] ---[ end trace 000000000000008b ]---
[132383.146315] Shutting down cpus with NMI
[132383.146320] Kernel Offset: disabled
Thank you,
Rafael
Rafael Tapia | Embedded Software Engineer, M/D TotcoTM
NOV Wellbore Technologies
WellSite Services
1200 Cypress Creek Rd | Cedar Park, TX 78613
T 512.540.5408
E Rafael.Tapia at nov.com<mailto:Rafael.Tapia at nov.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20180223/7c3fd2f2/attachment.html>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: crashOnCorvalent_120_022318.txt
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20180223/7c3fd2f2/attachment.txt>
More information about the yocto
mailing list