======================================
| xx__-> echo $?
| 0
| xx__-> [ 1378.979979][ T5746] tc (5746) used greatest stack depth: 23880 bytes left
| [ 1384.765780][ C0] irq 51: nobody cared (try booting with the "irqpoll" option)
[ 1384.766316][ C0] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011
[ 1384.766319][ C0] Call Trace:
[ 1384.766322][ C0]
[ 1384.766324][ C0] dump_stack_lvl (lib/dump_stack.c:123)
[ 1384.766337][ C0] __report_bad_irq (kernel/irq/spurious.c:205)
[ 1384.766348][ C0] note_interrupt (kernel/irq/spurious.c:407)
[ 1384.766356][ C0] handle_irq_event (kernel/irq/handle.c:198 kernel/irq/handle.c:210)
[ 1384.766362][ C0] handle_edge_irq (kernel/irq/chip.c:791)
[ 1384.766373][ C0] __common_interrupt (./include/linux/irqdesc.h:173 arch/x86/kernel/irq.c:254 arch/x86/kernel/irq.c:266 arch/x86/kernel/irq.c:292)
[ 1384.766384][ C0] common_interrupt (arch/x86/kernel/irq.c:285 (discriminator 14))
[ 1384.766390][ C0]
[ 1384.766391][ C0]
[ 1384.766395][ C0] asm_common_interrupt (./arch/x86/include/asm/idtentry.h:693)
[ 1384.766400][ C0] RIP: 0010:_raw_spin_unlock_irqrestore (./include/linux/spinlock_api_smp.h:152 kernel/locking/spinlock.c:194)
[ 1384.766408][ C0] Code: 74 24 10 e8 81 08 7c fd 48 89 ef e8 39 5b 7c fd 81 e3 00 02 00 00 75 29 9c 58 f6 c4 02 75 35 48 85 db 74 01 fb bf 01 00 00 00 fa 18 70 fd 65 8b 05 53 bb b3 02 85 c0 74 0e 5b 5d c3 cc cc cc
All code
========
0: 74 24 je 0x26
2: 10 e8 adc %ch,%al
4: 81 08 7c fd 48 89 orl $0x8948fd7c,(%rax)
a: ef out %eax,(%dx)
b: e8 39 5b 7c fd call 0xfffffffffd7c5b49
10: 81 e3 00 02 00 00 and $0x200,%ebx
16: 75 29 jne 0x41
18: 9c pushf
19: 58 pop %rax
1a: f6 c4 02 test $0x2,%ah
1d: 75 35 jne 0x54
1f: 48 85 db test %rbx,%rbx
22: 74 01 je 0x25
24: fb sti
25: bf 01 00 00 00 mov $0x1,%edi
2a:* e8 fa 18 70 fd call 0xfffffffffd701929 <-- trapping instruction
2f: 65 8b 05 53 bb b3 02 mov %gs:0x2b3bb53(%rip),%eax # 0x2b3bb89
36: 85 c0 test %eax,%eax
38: 74 0e je 0x48
3a: 5b pop %rbx
3b: 5d pop %rbp
3c: c3 ret
3d: cc int3
3e: cc int3
3f: cc int3
Code starting with the faulting instruction
===========================================
0: e8 fa 18 70 fd call 0xfffffffffd7018ff
5: 65 8b 05 53 bb b3 02 mov %gs:0x2b3bb53(%rip),%eax # 0x2b3bb5f
c: 85 c0 test %eax,%eax
e: 74 0e je 0x1e
10: 5b pop %rbx
11: 5d pop %rbp
12: c3 ret
13: cc int3
14: cc int3
15: cc int3
[ 1384.766411][ C0] RSP: 0018:ffffc9000110faa0 EFLAGS: 00000206
[ 1384.766415][ C0] RAX: 0000000000000006 RBX: 0000000000000200 RCX: 0000000000000040
[ 1384.766417][ C0] RDX: 0000000000000000 RSI: ffffffff9f8aef1c RDI: 0000000000000001
[ 1384.766419][ C0] RBP: ffffffffa27ba080 R08: 0000000000000001 R09: 0000000000000001
[ 1384.766421][ C0] R10: ffffffffa0800ed7 R11: ffff888005a88970 R12: 00000000ffffffff
[ 1384.766423][ C0] R13: 0000000000000001 R14: ffffffffa27ba188 R15: 00000000ffffffff
[ 1384.766440][ C0] uart_write (drivers/tty/serial/serial_core.c:74 drivers/tty/serial/serial_core.c:92 drivers/tty/serial/serial_core.c:88 drivers/tty/serial/serial_core.c:637)
[ 1384.766452][ C0] process_output_block (drivers/tty/n_tty.c:561)
[ 1384.766458][ C0] ? _raw_spin_unlock_irqrestore (./include/linux/spinlock_api_smp.h:151 kernel/locking/spinlock.c:194)
[ 1384.766466][ C0] n_tty_write (drivers/tty/n_tty.c:2378)
[ 1384.766478][ C0] ? __pfx_n_tty_write (drivers/tty/n_tty.c:2348)
[ 1384.766484][ C0] ? __pfx_woken_wake_function (kernel/sched/wait.c:439)
[ 1384.766491][ C0] ? lock_acquire (./include/trace/events/lock.h:24 kernel/locking/lockdep.c:5834)
[ 1384.766496][ C0] ? iterate_tty_write (drivers/tty/tty_io.c:939 drivers/tty/tty_io.c:958)
[ 1384.766508][ C0] iterate_tty_write (drivers/tty/tty_io.c:1007)
[ 1384.766515][ C0] ? tty_ldisc_ref_wait (drivers/tty/tty_ldisc.c:244)
[ 1384.766523][ C0] file_tty_write.constprop.0 (drivers/tty/tty_io.c:1081)
[ 1384.766531][ C0] vfs_write (fs/read_write.c:593 fs/read_write.c:686)
[ 1384.766541][ C0] ? do_raw_spin_unlock (./arch/x86/include/asm/atomic.h:23 ./include/linux/atomic/atomic-arch-fallback.h:457 ./include/linux/atomic/atomic-instrumented.h:33 ./include/asm-generic/qspinlock.h:57 kernel/locking/spinlock_debug.c:101 kernel/locking/spinlock_debug.c:141)
[ 1384.766548][ C0] ? __pfx_vfs_write (fs/read_write.c:667)
[ 1384.766555][ C0] ? __pfx_do_raw_spin_lock (kernel/locking/spinlock_debug.c:114)
[ 1384.766567][ C0] ? rcu_is_watching (./include/linux/context_tracking.h:128 kernel/rcu/tree.c:745)
[ 1384.766577][ C0] ksys_write (fs/read_write.c:738)
[ 1384.766581][ C0] ? __pfx_ksys_write (fs/read_write.c:728)
[ 1384.766592][ C0] do_syscall_64 (arch/x86/entry/syscall_64.c:63 arch/x86/entry/syscall_64.c:94)
[ 1384.766598][ C0] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130)
[ 1384.766601][ C0] RIP: 0033:0x7f131ef91b77
[ 1384.766606][ C0] 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
[ 1384.766608][ C0] RSP: 002b:00007ffe0ee00c18 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
[ 1384.766611][ C0] RAX: ffffffffffffffda RBX: 00005570a06ef3f0 RCX: 00007f131ef91b77
[ 1384.766613][ C0] RDX: 0000000000000001 RSI: 00005570a06ef3f0 RDI: 0000000000000001
[ 1384.766615][ C0] RBP: 0000000000000001 R08: 0000000000000000 R09: 0000000000002000
[ 1384.766616][ C0] R10: 0000000000000001 R11: 0000000000000246 R12: 00005570a06da5e0
Finger prints:
__report_bad_irq:note_interrupt:handle_irq_event:handle_edge_irq:__common_interrupt