====================================== | 0 | xx__-> [ 30.876208][ T258] ip (258) used greatest stack depth: 24080 bytes left | [ 41.452800][ C0] BUG: spinlock bad magic on CPU#0, swapper/0/0 | [ 41.453056][ C0] lock: noop_qdisc+0x240/0x300, .magic: 00000000, .owner: swapper/0/0, .owner_cpu: 0 [ 41.453655][ C0] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 41.454037][ C0] Call Trace: [ 41.454180][ C0] [ 41.454272][ C0] dump_stack_lvl (lib/dump_stack.c:122) [ 41.454451][ C0] do_raw_spin_unlock (kernel/locking/spinlock_debug.c:100 kernel/locking/spinlock_debug.c:141) [ 41.454631][ C0] _raw_spin_unlock (./arch/x86/include/asm/preempt.h:94 ./include/linux/spinlock_api_smp.h:143 kernel/locking/spinlock.c:186) [ 41.454805][ C0] __dev_xmit_skb (./include/net/sch_generic.h:226 ./include/net/sch_generic.h:217 net/core/dev.c:3879) [ 41.454974][ C0] ? __pfx___dev_xmit_skb (net/core/dev.c:3784) [ 41.455157][ C0] ? __dev_queue_xmit (./include/linux/bottom_half.h:20 ./include/linux/rcupdate.h:890 net/core/dev.c:4348) [ 41.455344][ C0] ? lock_acquire (kernel/locking/lockdep.c:5732) [ 41.455521][ C0] ? __dev_queue_xmit (./include/linux/bottom_half.h:20 ./include/linux/rcupdate.h:890 net/core/dev.c:4348) [ 41.455705][ C0] __dev_queue_xmit (net/core/dev.c:4389) [ 41.455875][ C0] ? __lock_release (kernel/locking/lockdep.c:5435) [ 41.456034][ C0] ? ip6_finish_output2 (./include/net/neighbour.h:542 net/ipv6/ip6_output.c:137) [ 41.456216][ C0] ? __pfx___lock_release (kernel/locking/lockdep.c:5411) [ 41.456385][ C0] ? __pfx___dev_queue_xmit (net/core/dev.c:4332) [ 41.456551][ C0] ? mark_held_locks (kernel/locking/lockdep.c:4273) [ 41.456718][ C0] ? eth_header (net/ethernet/eth.c:100) [ 41.456899][ C0] ? neigh_resolve_output (./include/linux/netdevice.h:3159 net/core/neighbour.c:1560 net/core/neighbour.c:1545) [ 41.457081][ C0] ip6_finish_output2 (./include/net/neighbour.h:542 net/ipv6/ip6_output.c:137) [ 41.457254][ C0] ip6_finish_output (net/ipv6/ip6_output.c:211 net/ipv6/ip6_output.c:222) [ 41.457429][ C0] ? ip6_local_out (net/ipv6/output_core.c:154) [ 41.457591][ C0] ip6_send_skb (net/ipv6/ip6_output.c:1960) [ 41.457762][ C0] icmp6_send (net/ipv6/icmp.c:624) [ 41.457946][ C0] ? __pfx_icmp6_send (net/ipv6/icmp.c:448) [ 41.458119][ C0] ? __pfx_validate_chain (kernel/locking/lockdep.c:3824) [ 41.458285][ C0] ? hlock_class (./arch/x86/include/asm/bitops.h:227 ./arch/x86/include/asm/bitops.h:239 ./include/asm-generic/bitops/instrumented-non-atomic.h:142 kernel/locking/lockdep.c:227) [ 41.458465][ C0] ? __pfx___lock_release (kernel/locking/lockdep.c:5411) [ 41.458633][ C0] ? lock_acquire.part.0 (kernel/locking/lockdep.c:466 kernel/locking/lockdep.c:5761) [ 41.458798][ C0] ? ip6_link_failure (./include/linux/skbuff.h:1141 net/ipv6/route.c:2801) [ 41.458961][ C0] ip6_link_failure (./include/linux/skbuff.h:1141 net/ipv6/route.c:2801) [ 41.459126][ C0] ndisc_error_report (./include/net/dst.h:429 net/ipv6/ndisc.c:731) [ 41.459295][ C0] neigh_invalidate (net/core/neighbour.c:1061) [ 41.459465][ C0] neigh_timer_handler (net/core/neighbour.c:1162 (discriminator 2)) [ 41.459631][ C0] ? __pfx_neigh_timer_handler (net/core/neighbour.c:1085) [ 41.459799][ C0] call_timer_fn (kernel/time/timer.c:1792) [ 41.459965][ C0] ? call_timer_fn (./include/linux/lockdep.h:31 kernel/time/timer.c:1782) [ 41.460128][ C0] ? call_timer_fn (./include/linux/lockdep.h:31 kernel/time/timer.c:1782) [ 41.460287][ C0] ? __pfx_call_timer_fn (kernel/time/timer.c:1769) [ 41.460564][ C0] ? mark_lock (kernel/locking/lockdep.c:4655 (discriminator 3)) [ 41.460691][ C0] __run_timers (kernel/time/timer.c:1844 kernel/time/timer.c:2417) [ 41.460853][ C0] ? __pfx_neigh_timer_handler (net/core/neighbour.c:1085) [ 41.461019][ C0] ? __pfx___run_timers (kernel/time/timer.c:2388) [ 41.461185][ C0] ? do_raw_spin_lock (./arch/x86/include/asm/atomic.h:107 ./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) [ 41.461362][ C0] ? __pfx_do_raw_spin_lock (kernel/locking/spinlock_debug.c:114) [ 41.461534][ C0] ? lock_acquire (kernel/locking/lockdep.c:5732) [ 41.461702][ C0] ? run_timer_softirq (kernel/time/timer.c:2428 kernel/time/timer.c:2421 kernel/time/timer.c:2437 kernel/time/timer.c:2447) [ 41.461872][ C0] run_timer_softirq (kernel/time/timer.c:2429 kernel/time/timer.c:2421 kernel/time/timer.c:2437 kernel/time/timer.c:2447) [ 41.462041][ C0] handle_softirqs (kernel/softirq.c:554) [ 41.462210][ C0] irq_exit_rcu (kernel/softirq.c:589 kernel/softirq.c:428 kernel/softirq.c:637 kernel/softirq.c:649) [ 41.462339][ C0] sysvec_apic_timer_interrupt (arch/x86/kernel/apic/apic.c:1043 arch/x86/kernel/apic/apic.c:1043) [ 41.462534][ C0] [ 41.462619][ C0] [ 41.462706][ C0] asm_sysvec_apic_timer_interrupt (./arch/x86/include/asm/idtentry.h:702) [ 41.462918][ C0] RIP: 0010:default_idle (./arch/x86/include/asm/irqflags.h:37 ./arch/x86/include/asm/irqflags.h:92 arch/x86/kernel/process.c:743) [ 41.463094][ C0] 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 e3 e9 46 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 e3 e9 46 00 verw 0x46e9e3(%rip) # 0x46ea0b 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 [ 41.463692][ C0] RSP: 0018:ffffffffa4a07e00 EFLAGS: 00000242 [ 41.463914][ C0] RAX: 00000000000c3651 RBX: 1ffffffff4940fc2 RCX: ffffffffa39f2795 [ 41.464181][ C0] RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffffa12a6984 [ 41.464436][ C0] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c070a0 [ 41.464692][ C0] R10: ffff888036038503 R11: ffff88803603dd00 R12: 0000000000000000 [ 41.464952][ C0] R13: ffffffffa4a1d080 R14: dffffc0000000000 R15: 0000000000014770 [ 41.465209][ C0] ? ct_kernel_exit.constprop.0 (kernel/context_tracking.c:147) [ 41.465376][ C0] ? cpuidle_idle_call (kernel/sched/idle.c:186) [ 41.465549][ C0] default_idle_call (./include/linux/cpuidle.h:143 kernel/sched/idle.c:118) [ 41.465719][ C0] cpuidle_idle_call (kernel/sched/idle.c:186) [ 41.465892][ C0] ? __pfx_cpuidle_idle_call (kernel/sched/idle.c:168) [ 41.466066][ C0] ? tsc_verify_tsc_adjust (arch/x86/kernel/tsc_sync.c:59) [ 41.466235][ C0] do_idle (kernel/sched/idle.c:326) [ 41.466365][ C0] cpu_startup_entry (kernel/sched/idle.c:423 (discriminator 1)) [ 41.466530][ C0] rest_init (./include/linux/rcupdate.h:839 init/main.c:718) [ 41.466658][ C0] start_kernel (init/main.c:1053 (discriminator 1)) [ 41.466835][ C0] x86_64_start_reservations (arch/x86/kernel/head64.c:495) [ 41.467008][ C0] x86_64_start_kernel (arch/x86/kernel/head64.c:437 (discriminator 17)) Finger prints: do_raw_spin_unlock:_raw_spin_unlock:__dev_xmit_skb:__dev_queue_xmit:ip6_finish_output2