====================================== | | WAIT TIMEOUT stdout | | [ 2393.882965][ C3] irq 4: nobody cared (try booting with the "irqpoll" option) [ 2393.883710][ C3] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 2393.884086][ C3] Call Trace: [ 2393.884228][ C3] [ 2393.884322][ C3] dump_stack_lvl (lib/dump_stack.c:107) [ 2393.884509][ C3] __report_bad_irq (kernel/irq/spurious.c:214) [ 2393.884681][ C3] note_interrupt (kernel/irq/spurious.c:423) [ 2393.884858][ C3] handle_irq_event (kernel/irq/handle.c:198 kernel/irq/handle.c:210) [ 2393.885028][ C3] handle_edge_irq (kernel/irq/chip.c:833) [ 2393.885202][ C3] __common_interrupt (./include/linux/irqdesc.h:161 arch/x86/kernel/irq.c:238 arch/x86/kernel/irq.c:257) [ 2393.885378][ C3] common_interrupt (arch/x86/kernel/irq.c:247 (discriminator 14)) [ 2393.885552][ C3] [ 2393.885642][ C3] [ 2393.885730][ C3] asm_common_interrupt (./arch/x86/include/asm/idtentry.h:640) [ 2393.885896][ C3] RIP: 0010:_raw_spin_unlock_irqrestore (./include/linux/spinlock_api_smp.h:152 kernel/locking/spinlock.c:194) [ 2393.886119][ C3] Code: 10 e8 91 f8 a3 fd 48 89 ef e8 a9 80 a4 fd 81 e3 00 02 00 00 75 1d 9c 58 f6 c4 02 75 29 48 85 db 74 01 fb 65 ff 0d 35 5a 75 5e <74> 0e 5b 5d c3 cc cc cc cc e8 af 3f c6 fd eb dc 0f 1f 44 00 00 5b All code ======== 0: 10 e8 adc %ch,%al 2: 91 xchg %eax,%ecx 3: f8 clc 4: a3 fd 48 89 ef e8 a9 movabs %eax,0xa480a9e8ef8948fd b: 80 a4 d: fd std e: 81 e3 00 02 00 00 and $0x200,%ebx 14: 75 1d jne 0x33 16: 9c pushf 17: 58 pop %rax 18: f6 c4 02 test $0x2,%ah 1b: 75 29 jne 0x46 1d: 48 85 db test %rbx,%rbx 20: 74 01 je 0x23 22: fb sti 23: 65 ff 0d 35 5a 75 5e decl %gs:0x5e755a35(%rip) # 0x5e755a5f 2a:* 74 0e je 0x3a <-- trapping instruction 2c: 5b pop %rbx 2d: 5d pop %rbp 2e: c3 ret 2f: cc int3 30: cc int3 31: cc int3 32: cc int3 33: e8 af 3f c6 fd call 0xfffffffffdc63fe7 38: eb dc jmp 0x16 3a: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 3f: 5b pop %rbx Code starting with the faulting instruction =========================================== 0: 74 0e je 0x10 2: 5b pop %rbx 3: 5d pop %rbp 4: c3 ret 5: cc int3 6: cc int3 7: cc int3 8: cc int3 9: e8 af 3f c6 fd call 0xfffffffffdc63fbd e: eb dc jmp 0xffffffffffffffec 10: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 15: 5b pop %rbx [ 2393.886719][ C3] RSP: 0018:ffffc90000befa88 EFLAGS: 00000286 [ 2393.886944][ C3] RAX: 0000000000000002 RBX: 0000000000000200 RCX: 1ffffffff49d3dc5 [ 2393.887198][ C3] RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffffa1aa5ca1 [ 2393.887448][ C3] RBP: ffffffffa5838820 R08: 0000000000000001 R09: fffffbfff49cd684 [ 2393.887700][ C3] R10: ffffffffa4e6b427 R11: 0000000000000000 R12: 0000000000000b68 [ 2393.887957][ C3] R13: ffffffffa5838930 R14: ffffffffa5838820 R15: ffff888005640000 [ 2393.888216][ C3] ? _raw_spin_unlock_irqrestore (./include/linux/spinlock_api_smp.h:151 kernel/locking/spinlock.c:194) [ 2393.888443][ C3] uart_write (drivers/tty/serial/serial_core.c:74 drivers/tty/serial/serial_core.c:616) [ 2393.888578][ C3] process_output_block (drivers/tty/n_tty.c:574) [ 2393.888749][ C3] ? lockdep_hardirqs_on_prepare.part.0 (kernel/locking/lockdep.c:4300 kernel/locking/lockdep.c:4359) [ 2393.888965][ C3] n_tty_write (drivers/tty/n_tty.c:2380) [ 2393.889149][ C3] ? __pfx_n_tty_write (drivers/tty/n_tty.c:2350) [ 2393.889323][ C3] ? __pfx_woken_wake_function (kernel/sched/wait.c:439) [ 2393.889495][ C3] ? lock_acquire (./include/trace/events/lock.h:24 kernel/locking/lockdep.c:5725) [ 2393.889660][ C3] ? iterate_tty_write (drivers/tty/tty_io.c:954 drivers/tty/tty_io.c:973) [ 2393.889840][ C3] iterate_tty_write (drivers/tty/tty_io.c:1021) [ 2393.890017][ C3] file_tty_write.constprop.0 (drivers/tty/tty_io.c:1096) [ 2393.890184][ C3] vfs_write (./include/linux/fs.h:2085 fs/read_write.c:497 fs/read_write.c:590) [ 2393.890312][ C3] ? __pfx___lock_release (kernel/locking/lockdep.c:5406) [ 2393.890479][ C3] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5719) [ 2393.890645][ C3] ? __pfx_vfs_write (fs/read_write.c:571) [ 2393.890818][ C3] ? clockevents_program_event (kernel/time/clockevents.c:326) [ 2393.890988][ C3] ? kvm_clock_get_cycles (./arch/x86/include/asm/preempt.h:94 arch/x86/kernel/kvmclock.c:80 arch/x86/kernel/kvmclock.c:86) [ 2393.891154][ C3] ? __fget_light (./include/linux/atomic/atomic-arch-fallback.h:479 ./include/linux/atomic/atomic-instrumented.h:50 fs/file.c:1145) [ 2393.891336][ C3] ksys_write (fs/read_write.c:643) [ 2393.891470][ C3] ? __pfx_ksys_write (fs/read_write.c:633) [ 2393.891647][ C3] do_syscall_64 (arch/x86/entry/common.c:52 arch/x86/entry/common.c:83) [ 2393.891815][ C3] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:129) [ 2393.892023][ C3] RIP: 0033:0x7f73dd011957 [ 2393.892189][ C3] Code: 0b 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 f3 0f 1e fa 64 8b 04 25 18 00 00 00 85 c0 75 10 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 51 c3 48 83 ec 28 48 89 54 24 18 48 89 74 24 All code ======== 0: 0b 00 or (%rax),%eax 2: f7 d8 neg %eax 4: 64 89 02 mov %eax,%fs:(%rdx) 7: 48 c7 c0 ff ff ff ff mov $0xffffffffffffffff,%rax e: eb b7 jmp 0xffffffffffffffc7 10: 0f 1f 00 nopl (%rax) 13: f3 0f 1e fa endbr64 17: 64 8b 04 25 18 00 00 mov %fs:0x18,%eax 1e: 00 1f: 85 c0 test %eax,%eax 21: 75 10 jne 0x33 23: b8 01 00 00 00 mov $0x1,%eax 28: 0f 05 syscall 2a:* 48 3d 00 f0 ff ff cmp $0xfffffffffffff000,%rax <-- trapping instruction 30: 77 51 ja 0x83 32: c3 ret 33: 48 83 ec 28 sub $0x28,%rsp 37: 48 89 54 24 18 mov %rdx,0x18(%rsp) 3c: 48 rex.W 3d: 89 .byte 0x89 3e: 74 24 je 0x64 Code starting with the faulting instruction =========================================== 0: 48 3d 00 f0 ff ff cmp $0xfffffffffffff000,%rax 6: 77 51 ja 0x59 8: c3 ret 9: 48 83 ec 28 sub $0x28,%rsp d: 48 89 54 24 18 mov %rdx,0x18(%rsp) 12: 48 rex.W 13: 89 .byte 0x89 14: 74 24 je 0x3a [ 2393.892764][ C3] RSP: 002b:00007ffd165c7778 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 2393.893025][ C3] RAX: ffffffffffffffda RBX: 000055d301742070 RCX: 00007f73dd011957 [ 2393.893270][ C3] RDX: 0000000000000001 RSI: 000055d301742070 RDI: 0000000000000001 [ 2393.893525][ C3] RBP: 0000000000000001 R08: 0000000000000000 R09: 0000000000002000 [ 2393.893767][ C3] R10: 0000000000000001 R11: 0000000000000246 R12: 000055d30172e590 Finger prints: dump_stack_lvl:__report_bad_irq:note_interrupt:handle_irq_event