Skip to content

Instantly share code, notes, and snippets.

@pfactum
Created May 8, 2019 10:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pfactum/04f6940ddd7c06b56664b35320b868b8 to your computer and use it in GitHub Desktop.
Save pfactum/04f6940ddd7c06b56664b35320b868b8 to your computer and use it in GitHub Desktop.
[ 9225.305695] ------------[ cut here ]------------
[ 9225.305699] ------------[ cut here ]------------
[ 9225.305707] DEBUG_LOCKS_WARN_ON(val > preempt_count())
[ 9225.305808] WARNING: CPU: 0 PID: 11923 at kernel/sched/bmq.c:2851 preempt_count_sub+0x5e/0xa0
[ 9225.318289] pvqspinlock: lock 0xffff8d43ff721980 has corrupted value 0x0!
[ 9225.327346] Modules linked in: joydev iTCO_wdt iTCO_vendor_support mousedev kvm_intel kvm bochs_drm ttm drm_kms_helper irqbypass psmouse pcspkr
drm i2c_i801 lpc_ich input_leds intel_agp syscopyarea intel_gtt sysfillrect qemu_fw_cfg evdev sysimgblt fb_sys_fops agpgart mac_hid nls_iso8859_1
nls_cp437 vfat fat 9p fscache ip_tables x_tables xfs dm_thin_pool dm_persistent_data dm_bio_prison dm_bufio libcrc32c crc32c_generic dm_crypt alg
if_skcipher af_alg dm_mod crct10dif_pclmul crc32_pclmul crc32c_intel ghash_clmulni_intel raid10 md_mod aesni_intel serio_raw atkbd aes_x86_64 ahci
crypto_simd libps2 sr_mod libahci cryptd cdrom sd_mod glue_helper libata i8042 serio 9pnet_virtio 9pnet virtio_input virtio_scsi scsi_mod virtio_
blk virtio_net net_failover failover virtio_pci virtio_rng virtio_ring virtio rng_core
[ 9225.337492] WARNING: CPU: 2 PID: 23693 at kernel/locking/qspinlock_paravirt.h:499 __pv_queued_spin_unlock_slowpath+0xc0/0xd0
[ 9225.352603] CPU: 0 PID: 11923 Comm: burn_scheduler Not tainted 5.1.0-pf1 #1
[ 9225.366461] Modules linked in: joydev iTCO_wdt iTCO_vendor_support mousedev kvm_intel kvm bochs_drm ttm drm_kms_helper irqbypass psmouse pcspkr
drm i2c_i801 lpc_ich input_leds intel_agp syscopyarea intel_gtt sysfillrect qemu_fw_cfg evdev sysimgblt fb_sys_fops agpgart mac_hid nls_iso8859_1
nls_cp437 vfat fat 9p fscache ip_tables x_tables xfs dm_thin_pool dm_persistent_data dm_bio_prison dm_bufio libcrc32c crc32c_generic dm_crypt alg
if_skcipher af_alg dm_mod crct10dif_pclmul crc32_pclmul crc32c_intel ghash_clmulni_intel raid10 md_mod aesni_intel serio_raw atkbd aes_x86_64 ahci
crypto_simd libps2 sr_mod libahci cryptd cdrom sd_mod glue_helper libata i8042 serio 9pnet_virtio 9pnet virtio_input virtio_scsi scsi_mod virtio_
blk virtio_net net_failover failover virtio_pci virtio_rng virtio_ring virtio rng_core
[ 9225.491360] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 0.0.0 02/06/2015
[ 9225.516350] CPU: 2 PID: 23693 Comm: burn_scheduler Not tainted 5.1.0-pf1 #1
[ 9225.516353] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 0.0.0 02/06/2015
[ 9225.516376] RIP: 0010:__pv_queued_spin_unlock_slowpath+0xc0/0xd0
[ 9225.516381] Code: 07 00 48 63 7a 10 e8 1f 79 f9 ff 66 90 c3 8b 05 ca 55 26 01 85 c0 74 01 c3 8b 17 48 89 fe 48 c7 c7 f8 4f 29 9a e8 9a e2 fb ff
<0f> 0b c3 0f 0b 90 90 90 90 90 90 90 90 90 90 90 0f 1f 44 00 00 48
[ 9225.516383] RSP: 0018:ffffa3ee88317e90 EFLAGS: 00010086
[ 9225.516387] RAX: 0000000000000000 RBX: ffff8d43fae83380 RCX: 0000000000000000
[ 9225.516400] RDX: 0000000000000007 RSI: 0000000000000004 RDI: 00000000ffffffff
[ 9225.516404] RBP: ffffa3ee88317f38 R08: 0000000000000008 R09: ffffa3ee81c8f020
[ 9225.516406] R10: 0000000000000000 R11: 0000000000000001 R12: ffff8d43ff721980
[ 9225.516407] R13: 0000000000000000 R14: ffff8d43fbb6b380 R15: 0000000000000001
[ 9225.516410] FS: 00007f43c0aeb700(0000) GS:ffff8d43ff700000(0000) knlGS:0000000000000000
[ 9225.516412] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 9225.516414] CR2: 00007f43bf2e7e78 CR3: 000000003bd9e000 CR4: 0000000000100ee0
[ 9225.516422] Call Trace:
[ 9225.516464] __raw_callee_save___pv_queued_spin_unlock_slowpath+0x11/0x20
[ 9225.529011] RIP: 0010:preempt_count_sub+0x5e/0xa0
[ 9225.651181] .slowpath+0x9/0xe
[ 9225.688939] Code: 95 d4 66 c3 e8 03 5f 3c 00 85 c0 74 f6 8b 15 ed 33 27 01 85 d2 75 ec 48 c7 c6 56 3f 29 9a 48 c7 c7 38 da 27 9a e8 bc c0 fc ff
<0f> 0b c3 65 8b 05 08 95 d4 66 84 c0 75 bb e8 cf 5e 3c 00 85 c0 74
[ 9225.704342] _raw_spin_unlock_irq+0xa/0x30
[ 9225.719453] RSP: 0018:ffffa3ee84f4fdf0 EFLAGS: 00010286
[ 9225.730697] finish_task_switch+0x7e/0x2c0
[ 9225.730716] ? __switch_to+0x150/0x4f0
[ 9225.730725] schedule_tail+0xb/0x60
[ 9225.730741] ret_from_fork+0x8/0x40
[ 9225.730759] ---[ end trace 00b5f1fda97a8a0e ]---
[ 9225.730888] ------------[ cut here ]------------
[ 9225.730892] bmq: cpu[2] requeue task reside on cpu0
[ 9225.730924] WARNING: CPU: 2 PID: 23693 at kernel/sched/bmq.c:668 __schedule+0x184a/0x1d50
[ 9225.730926] Modules linked in: joydev iTCO_wdt iTCO_vendor_support mousedev kvm_intel kvm bochs_drm ttm drm_kms_helper irqbypass psmouse pcspkr
drm i2c_i801 lpc_ich input_leds intel_agp syscopyarea intel_gtt sysfillrect qemu_fw_cfg evdev sysimgblt fb_sys_fops agpgart mac_hid nls_iso8859_1
nls_cp437 vfat fat 9p fscache ip_tables x_tables xfs dm_thin_pool dm_persistent_data dm_bio_prison dm_bufio libcrc32c crc32c_generic dm_crypt alg
if_skcipher af_alg dm_mod crct10dif_pclmul crc32_pclmul crc32c_intel ghash_clmulni_intel raid10 md_mod aesni_intel serio_raw atkbd aes_x86_64 ahci
crypto_simd libps2 sr_mod libahci cryptd cdrom sd_mod glue_helper libata i8042 serio 9pnet_virtio 9pnet virtio_input virtio_scsi scsi_mod virtio_
blk virtio_net net_failover failover virtio_pci virtio_rng virtio_ring virtio rng_core
[ 9225.731019] CPU: 2 PID: 23693 Comm: burn_scheduler Tainted: G W 5.1.0-pf1 #1
[ 9225.731021] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 0.0.0 02/06/2015
[ 9225.731026] RIP: 0010:__schedule+0x184a/0x1d50
[ 9225.731029] Code: 3d 87 34 95 00 00 0f 85 a1 ef ff ff 41 8b 57 30 48 c7 c7 d8 47 29 9a c6 05 6f 34 95 00 01 41 8b b6 6c 03 00 00 e8 00 a5 6d ff
<0f> 0b e9 7c ef ff ff 49 8b 46 38 49 8d 56 38 48 39 d0 74 1f 41 8b
[ 9225.731031] RSP: 0018:ffffa3ee88317dd0 EFLAGS: 00010086
[ 9225.731034] RAX: 0000000000000000 RBX: 0000000000000002 RCX: 0000000000000000
[ 9225.731036] RDX: 0000000000000007 RSI: 0000000000000003 RDI: 00000000ffffffff
[ 9225.731037] RBP: ffffa3ee88317ed0 R08: 0000000000000000 R09: 0000000000000027
[ 9225.731039] R10: 000000000000027c R11: 00000000000137f4 R12: 000000000000001c
[ 9225.731041] R13: 0000000000000001 R14: ffff8d43ff721980 R15: ffff8d43fae83380
[ 9225.731044] FS: 00007f43c0aeb700(0000) GS:ffff8d43ff700000(0000) knlGS:0000000000000000
[ 9225.731046] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 9225.731048] CR2: 00007f43bf2e7e78 CR3: 000000003bd9e000 CR4: 0000000000100ee0
[ 9225.731056] Call Trace:
[ 9225.731078] ? invalid_op+0x14/0x20
[ 9225.731086] ? ___preempt_schedule+0x16/0x18
[ 9225.731090] preempt_schedule+0x53/0x90
[ 9225.731094] ___preempt_schedule+0x16/0x18
[ 9225.731121] schedule_tail+0x51/0x60
[ 9225.731125] ret_from_fork+0x8/0x40
[ 9225.731130] ---[ end trace 00b5f1fda97a8a0f ]---
[ 9225.731293] ------------[ cut here ]------------
[ 9225.731298] kernel BUG at kernel/sched/bmq.c:261!
[ 9225.731409] invalid opcode: 0000 [#1] PREEMPT SMP PTI
[ 9225.731415] CPU: 3 PID: 10 Comm: rcu_preempt Tainted: G W 5.1.0-pf1 #1
[ 9225.731426] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 0.0.0 02/06/2015
[ 9225.731438] RIP: 0010:__schedule+0x1be0/0x1d50
[ 9225.731442] Code: c7 c6 c0 f3 a7 9a 48 89 f7 e8 7c 52 ad ff 85 c0 0f 85 0d e6 ff ff f0 80 25 bc 0d ec 00 fe e9 00 e6 ff ff 0f 0b e9 d1 e6 ff ff
<0f> 0b 0f 0b 48 89 df 57 9d 0f 1f 44 00 00 e9 90 e9 ff ff 0f 0b 0f
[ 9225.731445] RSP: 0018:ffffa3ee801ebcf8 EFLAGS: 00010046
[ 9225.731449] RAX: 00000000000001f0 RBX: ffff8d43ff621ab8 RCX: 000000000000001c
[ 9225.731451] RDX: ffff8d43ff621b78 RSI: ffff8d43ff621b78 RDI: ffff8d43ff6219b0
[ 9225.731453] RBP: ffffa3ee801ebdf8 R08: ffff8d43f9690000 R09: 00000000000094b4
[ 9225.731455] R10: 000000000252d6be R11: 0000000000000042 R12: ffff8d43ff621980
[ 9225.731456] R13: 0000000000000001 R14: ffff8d43ff7a1980 R15: 0000000000000003
[ 9225.731460] FS: 0000000000000000(0000) GS:ffff8d43ff780000(0000) knlGS:0000000000000000
[ 9225.731462] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 9225.731464] CR2: 00000000004c94c0 CR3: 000000003a9c0000 CR4: 0000000000100ee0
[ 9225.731472] Call Trace:
[ 9225.731498] ? schedule_timeout+0x1ff/0x410
[ 9225.731503] schedule+0x37/0x160
[ 9225.731508] schedule_timeout+0x1ff/0x410
[ 9225.731515] ? collect_expired_timers+0x270/0x270
[ 9225.731521] rcu_gp_kthread+0x603/0x1000
[ 9225.731548] ? rcu_note_context_switch+0x500/0x500
[ 9225.731553] kthread+0x158/0x180
[ 9225.731570] ? kthread_park+0x80/0x80
[ 9225.731574] ret_from_fork+0x35/0x40
[ 9225.731580] Modules linked in: joydev iTCO_wdt iTCO_vendor_support mousedev kvm_intel kvm bochs_drm ttm drm_kms_helper irqbypass psmouse pcspkr
drm i2c_i801 lpc_ich input_leds intel_agp syscopyarea intel_gtt sysfillrect qemu_fw_cfg evdev sysimgblt fb_sys_fops agpgart mac_hid nls_iso8859_1
nls_cp437 vfat fat 9p fscache ip_tables x_tables xfs dm_thin_pool dm_persistent_data dm_bio_prison dm_bufio libcrc32c crc32c_generic dm_crypt alg
if_skcipher af_alg dm_mod crct10dif_pclmul crc32_pclmul crc32c_intel ghash_clmulni_intel raid10 md_mod aesni_intel serio_raw atkbd aes_x86_64 ahci
crypto_simd libps2 sr_mod libahci cryptd cdrom sd_mod glue_helper libata i8042 serio 9pnet_virtio 9pnet virtio_input virtio_scsi scsi_mod virtio_
blk virtio_net net_failover failover virtio_pci virtio_rng virtio_ring virtio rng_core
[ 9225.731663] ---[ end trace 00b5f1fda97a8a10 ]---
[ 9225.731668] RIP: 0010:__schedule+0x1be0/0x1d50
[ 9225.731671] Code: c7 c6 c0 f3 a7 9a 48 89 f7 e8 7c 52 ad ff 85 c0 0f 85 0d e6 ff ff f0 80 25 bc 0d ec 00 fe e9 00 e6 ff ff 0f 0b e9 d1 e6 ff ff
<0f> 0b 0f 0b 48 89 df 57 9d 0f 1f 44 00 00 e9 90 e9 ff ff 0f 0b 0f
[ 9225.731673] RSP: 0018:ffffa3ee801ebcf8 EFLAGS: 00010046
[ 9225.731676] RAX: 00000000000001f0 RBX: ffff8d43ff621ab8 RCX: 000000000000001c
[ 9225.731678] RDX: ffff8d43ff621b78 RSI: ffff8d43ff621b78 RDI: ffff8d43ff6219b0
[ 9225.731680] RBP: ffffa3ee801ebdf8 R08: ffff8d43f9690000 R09: 00000000000094b4
[ 9225.731682] R10: 000000000252d6be R11: 0000000000000042 R12: ffff8d43ff621980
[ 9225.731684] R13: 0000000000000001 R14: ffff8d43ff7a1980 R15: 0000000000000003
[ 9225.731687] FS: 0000000000000000(0000) GS:ffff8d43ff780000(0000) knlGS:0000000000000000
[ 9225.731689] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 9225.731691] CR2: 00000000004c94c0 CR3: 000000003a9c0000 CR4: 0000000000100ee0
[ 9225.731704] note: rcu_preempt[10] exited with preempt_count 2
[ 9227.760313] RAX: 0000000000000000 RBX: ffff8d43ff721980 RCX: 0000000000000000
[ 9227.777977] RDX: 000000000000002a RSI: ffffffff9aa8252a RDI: 0000000000000246
[ 9227.795890] RBP: 0000000000000000 R08: ffffffff9aa82500 R09: 000000000000002a
[ 9227.817025] R10: ffffffff9aa828e0 R11: 0000000000002e93 R12: ffffffff9a53c260
[ 9227.829284] R13: ffff8d43fae83380 R14: ffff8d43fae83418 R15: 0000000000000000
[ 9227.851422] FS: 0000000001394880(0000) GS:ffff8d43ff600000(0000) knlGS:0000000000000000
[ 9227.870735] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 9227.886478] CR2: 00007fe51403d000 CR3: 000000003bd9e000 CR4: 0000000000100ef0
[ 9227.906663] Call Trace:
[ 9227.913400] _raw_spin_unlock_irqrestore+0x20/0x40
[ 9227.923921] __set_cpus_allowed_ptr+0x10f/0x320
[ 9227.940918] ? _raw_spin_lock_irqsave+0x25/0x50
[ 9227.954722] sched_setaffinity+0x191/0x1e0
[ 9227.965604] __x64_sys_sched_setaffinity+0x8c/0xc0
[ 9227.980062] do_syscall_64+0x5b/0x170
[ 9227.992222] entry_SYSCALL_64_after_hwframe+0x44/0xa9
[ 9228.009188] RIP: 0033:0x406263
[ 9228.017583] Code: f7 d8 64 89 01 b8 ff ff ff ff eb c4 66 2e 0f 1f 84 00 00 00 00 00 90 f3 0f 1e fa b9 cb 00 00 00 8b bf d0 02 00 00 89 c8 0f 05
<48> 89 c2 f7 d8 81 fa 00 f0 ff ff 77 1a 64 c7 04 25 38 00 00 00 00
[ 9228.066752] RSP: 002b:00007ffcd06f9e78 EFLAGS: 00000246 ORIG_RAX: 00000000000000cb
[ 9228.083409] RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000406263
[ 9228.112702] RDX: 00007ffcd06f9e80 RSI: 0000000000000080 RDI: 0000000000005c8d
[ 9228.131741] RBP: 00007ffcd06fa0f0 R08: 0000000000000000 R09: 00007f43bf2e8700
[ 9228.148069] R10: 00007f43bf2e89d0 R11: 0000000000000246 R12: 00007ffcd06fa080
[ 9228.171699] R13: 0000000000000004 R14: 00007ffcd06f9e80 R15: 0000000000000000
[ 9228.192044] ---[ end trace 00b5f1fda97a8a11 ]---
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment