====================================== | [ 51.030147][ C1] common_startup_64 (arch/x86/kernel/head_64.S:421) | [ 51.030329][ C1] | [ 51.030410][ C1] | [ 51.030410][ C1] stack backtrace: [ 51.030795][ C1] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 51.031095][ C1] Call Trace: [ 51.031200][ C1] [ 51.031284][ C1] dump_stack_lvl (lib/dump_stack.c:117) [ 51.031532][ C1] print_irq_inversion_bug.part.0 (kernel/locking/lockdep.c:4024) [ 51.031709][ C1] ? common_startup_64 (arch/x86/kernel/head_64.S:421) [ 51.031847][ C1] ? __pfx_print_irq_inversion_bug.part.0 (kernel/locking/lockdep.c:4024) [ 51.032020][ C1] ? __pfx_usage_skip (kernel/locking/lockdep.c:2264) [ 51.032241][ C1] ? __pfx_usage_match (kernel/locking/lockdep.c:2256) [ 51.032388][ C1] ? arch_stack_walk (arch/x86/kernel/stacktrace.c:24) [ 51.032528][ C1] mark_lock_irq (kernel/locking/lockdep.c:4244) [ 51.032674][ C1] ? __pfx_mark_lock_irq (kernel/locking/lockdep.c:4207) [ 51.032811][ C1] ? stack_trace_save (kernel/stacktrace.c:123) [ 51.032948][ C1] ? save_trace (kernel/locking/lockdep.c:586) [ 51.033085][ C1] mark_lock (kernel/locking/lockdep.c:4678) [ 51.033191][ C1] mark_usage (kernel/locking/lockdep.c:4567) [ 51.033312][ C1] __lock_acquire (kernel/locking/lockdep.c:5091) [ 51.033454][ C1] ? trace_rcu_dyntick (./include/trace/events/rcu.h:480 (discriminator 52)) [ 51.033593][ C1] ? __pfx_br_forward_delay_timer_expired (net/bridge/br_stp_timer.c:80) bridge [ 51.033868][ C1] lock_acquire.part.0 (kernel/locking/lockdep.c:467 kernel/locking/lockdep.c:5756) [ 51.034093][ C1] ? br_forward_delay_timer_expired (net/bridge/br_stp_timer.c:87) bridge [ 51.034432][ C1] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5719) [ 51.034567][ C1] ? trace_lock_acquire (./include/trace/events/lock.h:24 (discriminator 52)) [ 51.034738][ C1] ? br_forward_delay_timer_expired (net/bridge/br_stp_timer.c:87) bridge [ 51.034947][ C1] ? lock_acquire (kernel/locking/lockdep.c:5727) [ 51.035078][ C1] ? br_forward_delay_timer_expired (net/bridge/br_stp_timer.c:87) bridge [ 51.035295][ C1] _raw_spin_lock (./include/linux/spinlock_api_smp.h:134 kernel/locking/spinlock.c:154) [ 51.035432][ C1] ? br_forward_delay_timer_expired (net/bridge/br_stp_timer.c:87) bridge [ 51.035637][ C1] br_forward_delay_timer_expired (net/bridge/br_stp_timer.c:87) bridge [ 51.035842][ C1] ? __pfx_br_forward_delay_timer_expired (net/bridge/br_stp_timer.c:80) bridge [ 51.036167][ C1] call_timer_fn (kernel/time/timer.c:1793) [ 51.036352][ C1] ? call_timer_fn (./include/linux/lockdep.h:31 kernel/time/timer.c:1783) [ 51.036584][ C1] ? call_timer_fn (./include/linux/lockdep.h:31 kernel/time/timer.c:1783) [ 51.036719][ C1] ? __pfx_call_timer_fn (kernel/time/timer.c:1770) [ 51.036857][ C1] ? mark_lock (kernel/locking/lockdep.c:4656 (discriminator 3)) [ 51.037081][ C1] __run_timers (kernel/time/timer.c:1845 kernel/time/timer.c:2418) [ 51.037295][ C1] ? __pfx_br_forward_delay_timer_expired (net/bridge/br_stp_timer.c:80) bridge [ 51.037535][ C1] ? __pfx___run_timers (kernel/time/timer.c:2389) [ 51.037680][ C1] ? do_raw_spin_lock (./arch/x86/include/asm/atomic.h:115 ./include/linux/atomic/atomic-arch-fallback.h:2170 ./include/linux/atomic/atomic-instrumented.h:1302 ./include/asm-generic/qspinlock.h:111 kernel/locking/spinlock_debug.c:116) [ 51.037918][ C1] ? __pfx_do_raw_spin_lock (kernel/locking/spinlock_debug.c:114) [ 51.038060][ C1] ? lock_acquire (kernel/locking/lockdep.c:5727) [ 51.038385][ C1] ? run_timer_softirq (kernel/time/timer.c:2429 kernel/time/timer.c:2422 kernel/time/timer.c:2438 kernel/time/timer.c:2448) [ 51.038522][ C1] run_timer_softirq (kernel/time/timer.c:2430 kernel/time/timer.c:2422 kernel/time/timer.c:2438 kernel/time/timer.c:2448) [ 51.038654][ C1] __do_softirq (kernel/softirq.c:554) [ 51.038796][ C1] irq_exit_rcu (kernel/softirq.c:428 kernel/softirq.c:633 kernel/softirq.c:645) [ 51.038980][ C1] sysvec_apic_timer_interrupt (arch/x86/kernel/apic/apic.c:1043 arch/x86/kernel/apic/apic.c:1043) [ 51.039119][ C1] [ 51.039191][ C1] [ 51.039260][ C1] asm_sysvec_apic_timer_interrupt (./arch/x86/include/asm/idtentry.h:702) [ 51.039439][ C1] RIP: 0010:default_idle (./arch/x86/include/asm/irqflags.h:37 ./arch/x86/include/asm/irqflags.h:72 arch/x86/kernel/process.c:743) [ 51.039663][ C1] Code: 4c 01 c7 4c 29 c2 e9 72 ff ff ff 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 66 90 0f 00 2d a3 30 35 00 fb f4 c3 cc cc cc cc 66 66 2e 0f 1f 84 00 00 00 00 00 90 90 90 90 90 All code ======== 0: 4c 01 c7 add %r8,%rdi 3: 4c 29 c2 sub %r8,%rdx 6: e9 72 ff ff ff jmp 0xffffffffffffff7d b: 90 nop c: 90 nop d: 90 nop e: 90 nop f: 90 nop 10: 90 nop 11: 90 nop 12: 90 nop 13: 90 nop 14: 90 nop 15: 90 nop 16: 90 nop 17: 90 nop 18: 90 nop 19: 90 nop 1a: 90 nop 1b: f3 0f 1e fa endbr64 1f: 66 90 xchg %ax,%ax 21: 0f 00 2d a3 30 35 00 verw 0x3530a3(%rip) # 0x3530cb 28: fb sti 29: f4 hlt 2a:* fa cli <-- trapping instruction 2b: c3 ret 2c: cc int3 2d: cc int3 2e: cc int3 2f: cc int3 30: 66 66 2e 0f 1f 84 00 data16 cs nopw 0x0(%rax,%rax,1) 37: 00 00 00 00 3b: 90 nop 3c: 90 nop 3d: 90 nop 3e: 90 nop 3f: 90 nop Code starting with the faulting instruction =========================================== 0: fa cli 1: c3 ret 2: cc int3 3: cc int3 4: cc int3 5: cc int3 6: 66 66 2e 0f 1f 84 00 data16 cs nopw 0x0(%rax,%rax,1) d: 00 00 00 00 11: 90 nop 12: 90 nop 13: 90 nop 14: 90 nop 15: 90 nop [ 51.040151][ C1] RSP: 0018:ffffc9000014fdf8 EFLAGS: 00000246 [ 51.040421][ C1] RAX: 00000000000fb593 RBX: 1ffff92000029fc1 RCX: ffffffffa790e9d5 [ 51.040625][ C1] RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffffa52aa4a4 [ 51.040824][ C1] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c1709c [ 51.041034][ C1] R10: ffff8880360b84e3 R11: ffff8880360bdc80 R12: 0000000000000000 [ 51.041316][ C1] R13: ffff888001b7a300 R14: dffffc0000000000 R15: 0000000000000000 [ 51.041531][ C1] ? ct_kernel_exit.constprop.0 (kernel/context_tracking.c:147) [ 51.041748][ C1] ? cpuidle_idle_call (kernel/sched/idle.c:192) [ 51.041893][ C1] default_idle_call (./include/linux/cpuidle.h:143 kernel/sched/idle.c:118) [ 51.042029][ C1] cpuidle_idle_call (kernel/sched/idle.c:192) [ 51.042255][ C1] ? __pfx_cpuidle_idle_call (kernel/sched/idle.c:168) [ 51.042404][ C1] ? tsc_verify_tsc_adjust (arch/x86/kernel/tsc_sync.c:59) [ 51.042547][ C1] do_idle (kernel/sched/idle.c:332) [ 51.042650][ C1] cpu_startup_entry (kernel/sched/idle.c:429 (discriminator 1)) [ 51.042785][ C1] start_secondary (arch/x86/kernel/smpboot.c:201 arch/x86/kernel/smpboot.c:281) [ 51.042925][ C1] ? __pfx_start_secondary (arch/x86/kernel/smpboot.c:231) Finger prints: common_startup_64:dump_stack_lvl:mark_lock_irq:mark_lock