I am not able to see these with v3.9 but with v3.10 I can easily seem them. And I can only see them when I build the kernel with these options: CONFIG_DEBUG_MUTEXES=y CONFIG_DEBUG_LOCK_ALLOC=y CONFIG_PROVE_LOCKING=y CONFIG_DEBUG_SPINLOCK_SLEEP=y Attached is the full serial log, but here are the excerpts: (XEN) HVM1: 130MB medium detected (XEN) HVM1: Booting from 0000:7c00 [ 182.836965] BUG: scheduling while atomic: qemu-dm/3621/0x00000101 [ 182.863930] no locks held by qemu-dm/3621. [ 182.888475] Modules linked in: dm_multipath dm_mod xen_evtchn iscsi_boot_sysfs iscsi_tcp libiscsi_tcp libiscsi scsi_transport_iscsi libcrc32c crc32c nouveau mxm_wmi radeon ttm sg sr_mod sd_mod cdrom ahci libahci mperf crc32c_intel libata scsi_mod fbcon tilebli xen_blkfront xen_netfront fb_sys_fops sysimgblt sysfillrect syscopyarea xenfs xen_privcmd [ 183.012005] CPU: 0 PID: 3621 Comm: qemu-dm Not tainted 3.9.0upstream-10936-g51a26ae #1 [ 183.042583] Hardware name: LENOVO ThinkServer TS130/ , BIOS 9HKT47AUS 01/10/2012 [ 183.073531] 0000000000000000 ffff88007fa03c38 ffffffff8169d092 ffff88007fa03c58 [ 183.104037] ffffffff810c23d5 ffff88007fa14b00 ffff88007fa14b00 ffff88007fa03ce8 [ 183.134392] ffffffff8169f16f 000000010e4341c0 ffff880012405fd8 ffff880012404000 [ 183.164498] Call Trace: [ 183.189376] [] dump_stack+0x19/0x1b [ 183.217888] [] __schedule_bug+0x65/0x90 [ 183.246280] [] __schedule+0x81f/0x840 [ 183.274147] [] schedule+0x24/0x70 [ 183.301306] [] schedule_hrtimeout_range_clock+0xc0/0x160 [ 183.330515] [] ? update_rmtp+0x80/0x80 [ 183.357663] [] ? hrtimer_start_range_ns+0xf/0x20 [ 183.385601] [] schedule_hrtimeout_range+0xe/0x10 [ 183.413258] [] usleep_range+0x3b/0x40 [ 183.439494] [] e1000_irq_enable+0x1ad/0x1e0 [e1000e] [ 183.467222] [] e1000e_poll+0x178/0x2e0 [e1000e] [ 183.494288] [] ? net_rx_action+0xd8/0x280 [ 183.520433] [] net_rx_action+0x135/0x280 [ 183.546316] [] __do_softirq+0x119/0x2d0 [ 183.571792] [] irq_exit+0xed/0x100 [ 183.596388] [] xen_evtchn_do_upcall+0x2f/0x40 [ 183.621833] [] xen_do_hypervisor_callback+0x1e/0x30 [ 183.647781] [] ? xen_hypercall_xen_version+0xa/0x20 [ 183.674269] [] ? xen_hypercall_xen_version+0xa/0x20 [ 183.699930] [] ? xen_force_evtchn_callback+0xd/0x10 [ 183.725964] [] ? check_events+0x12/0x20 [ 183.750676] [] ? xen_irq_enable_direct_rel[ 183.776451] [] ? system_call_after_swapgs+0x19/0x60 [ 183.802194] NOHZ: local_softirq_pending 282 [ 183.827712] sh (3751) used greatest stack depth: 2344 [ 184.035913] BUG: scheduling while atomic: qemu-dm/3621/0x00000101 [ 184.035916] BUG: scheduling while atomic: sshd/3582/0x00000604 [ 184.035918] 7 locks held by sshd/3582: [ 184.035924] #0: (sk_lock-AF_INET){+.+.+.}, at: [] tcp_sendmsg[ 184.035927] #1: (rcu_read_lock){.+.+..}, at: [] ip_queue_xmit+0x0/0x510 [ 184.035930] #2: (rcu_read_lock_bh){.+....}, at: [] ip_finish_output2+0x7b/0x3e0 [ 184.035933] #3: (r..}, at: [] dev_queue_xmit+0x0/0x690 [ 184.035937] #4: (rcu_read_lock){.+.+..}, at: [] br_dev_xmit+0x0/0x1b0 [ 184.035939] #5: (rcu_read_lock_bh){.+....}, at: [] dev_queue_xmit+0x0/0x690 [ 184.035943] #6: (_xmit_ETHER#2){+.-...}, at: [] sch_direct_xmit+0xb7/0x280 And so on. It keeps on happening when QEMU runs and at some point the kernel crashes due to corruption: [ 204.049337] #0: (rcu_read_lock){.+.+..}, at: [] fget_light+0x3b/0x150 [ 204.072019] BUG: unable to handle kernel paging request at 00000002e66c9780 [ 204.093663] IP: [] task_curr+0x12/0x30 [ 204.113615] PGD 69dac067 PUD 0 [ 204.131150] Thread overran stack, or stack corrupted [ 204.150870] Oops: 0000 [#1] SMP [ 204.168495] Modules linked in: dm_multipath dm_mod xen_evtchn iscsi_boot_sysfs iscsi_tcp libiscsi_tcp libiscsi scsi_transportd_mod cdrom ahci libahci mperf crc32c_intel libata scsi_mod fbcon tileblit font bitblit i915 softcursor e1000e drm_kms_helper video tpm_tis wmi xen_blkfront xen_netfront fb_sys_fops sysimgblt sysfillrec syscopyarea xenfs xen_privcmd [ 204.270133] CPU: 0 PID: 3621 Comm: qemu-dm Tainted: G W 3.9.0upstream-10936-g51a26ae #1 [ 204.296935] Hardware name: LENOVO ThinkServer TS130/ , BIOS 9HKT47AUS 01/10/2012 [ 204.323074] task: ffff88006c942200 ti: ffff880012404000 task.ti: ffff880012404000 [ 204.348978] RIP: e030:[] complete_signal+0x146/0x220 [ 204.813972] [] send_sigqueue+0xcb/0x1e0 [ 204.839795] [] posix_timer_event+0x7f/0xc0 [ 204.865905] [] ? posix_timers_register_clock+0xe0/0xe0 [ 204.893286] [] ? lock_release+0xf0/0x250 [ 204.919256] [] posix_timer_fn+0x56/0xe0 [ 204.945028] [] __run_hrtimer+0x6f/0x220 [ 204.970792] [] ? posix_timer_event+0xc0/0xc0 [ 204.997134] [] hrtimer_interrupt+0x10e/0x290 [ 205.023520] [] xen_timer_interrupt+0x2f/0x1b0 [ 205.049996] [] handle_irq_event_percpu+0x7c/0x240 [ 205.077010] [] handle_percpu_irq+0x49/0x70 [ 205.103378] [] __xen_evtchn_do_upcall+0x38d/0x3a0 [ 205.130601] [] ? trace_hardirqs_off+0xd/0x10 [ 205.157356] [] ? irqtime_account_irq+0xe7/0x100 [ 205.184300] [] xen_evtchn_do_upcall+0x2a/0x40 [ 205.211032] [] xen_do_hypervisor_callback+0x1e/0x30 [ 205.238212] [] ? xen_hypercall_xen_version+0xa/0x20 [ 205.265131] [] ? xen_hypercall_xen_version+0xa/0x20 [ 205.291516] [] ? xen_force_evtchn_callback+0xd/0x10 [ 205.317653] [] ? check_events+0x12/0x20 [ 205.342515] [] ? xen_restore_fl_direct_reloc+0x4/0x4 [ 205.368739] [] ? vprintk_emit+0x251/0x520 [ 205.393899] [] ? xen_restore_fl_direct+0 [ 205.419209] [] ? printk+0x48/0x4a [ 205.442402] [] ? fget_light+0x3b/0x150 [ 205.465431] [] ? fget_light+0x3b/0x150 [ 205.487665] [] ? print_lock+0x55/0xb0 [ 205.509345] [] ? lockdep_print_held_locks+0x[ 205.532297] [] ? debug_show_held_locks+0x15/0x30 [ 205.554631] [] ? __schedule_bug+0x4f/0x90 [ 205.575915] [] ? __schedule+0x81f/0x840 [ 205.596715] [] ? schedule+0x24/0x70 [ 205.616849] [] ? schedule_hrtimeout_range_clock+0xc0/0x160 [ 205.639418] [] ? update_rmtp+0x80/0x80 [ 205.660007] [] ? hrtimer_start_range_ns+0xf/0x20 [ 205.681604] [] ? schedule_hrtimeout_range+0xe/0x10 [ 205.703486] [] ? usleep_range+0[ 205.724082] [] ? e1000e_update_tdt_wa+0x55/0xe0 [e1000e] [ 205.746269] [] ? e1000_xm[ 205.768163] [] ? dev_queue_xmit_nit+0x202/0x280 [ 205.789490] [] ? net_tx_action+0x2[ 205.810349] [] ? dev_hard_start_xmit+0x308/0x5a0 [ 205.831671] [] ? sch_direct_xmit+[ 205.852275] [] ? dev_queue_xmit+0x189/0x690 [ 205.872734] [] ? dev_loopback_xmit+0x1e0/0x1e0 [ 205.893410] [] ? br_dev_queue_push_xmit+0x55/0x70 [ 205.914143] [] ? br_forward_finish+0x1d/0x60 [ 205.934283] [] ? br_netpoll_setup+0x90/0x90 [ 205.954247] [] ? __br_deliver+0x40/0x1 [ 205.973967] [] ? br_deliver+0x3d/0x50 [ 205.993208] [] ? br_dev_xmit+0x18e/0x1b0 [ 206.012589] [] ? br_netpoll_setup+0x90/0x90 [ 206.032322] [] ? dev_hard_start_xmit+0[ 206.052573] [] ? dev_queue_xmit+0x2d7/0x690 [ 206.072298] [] ? dev_loopback_xmit+0x1e0/0x1e0 [ 206.092421] [] ? ip_finish_output2+0x1d0/0x3e0 [ 206.112370] [] ? ip_finish_output2+[ 206.132015] [] ? nf_hook_slow+0x134/0x190 [ 206.151307] [] ? ip_fragment+0x8a0/0x8a0[ 206.170420] [] ? ip_finish_output+0xae/0x200 [ 206.189796] [] ? ip_output+0x54/0xe0[ 206.208336] [] ? ip_local_out+0x28/0x80 [ 206.227053] [] ? ip_queue_xmit+0x18b/0x510[ 206.245981] [] ? ip_send_unicast_reply+0x390/0x390 [ 206.265688] [] ? tcp_transmit_skb+0x465/0x880 [ 206.285137] [] ? tcp_send_ack+0xec/0x120 [ 206.304062] [] ? __tcp_ack_snd_check+0x59[ 206.323558] [] ? tcp_rcv_established+0x22c/0x810 [ 206.343227] [] ? tcp_v4_do_rcv+0x[ 206.362232] [] ? tcp_v4_rcv+0x5e1/0x7f0 [ 206.380800] [] ? lock_acquire+0xb0/0x120 [ 206.399462] [] ? ip_local_deliver_finish+0x43/0x350 [ 206.419330] [] ? ip_local_deliver+0x80/0x80 [ 206.438526] [] ? ip_local_deliver_finish+0xf8/0x350 [ 206.458487] [] ? ip_local_deliver_finish+0x43/0x350 [ 206.478270] [] ? ip_local_deliver+0x42/0x80 [ 206.497093] [] ? ip_rcv_finish+0x18c/0x4b0 [ 206.515770] [] ? ip_rcv+0x219/0x310 [ 206.533777] [] ? __netif_receive_skb_core+0x6ca/0x850 [ 206.553680] [] ? __netif_receive_skb_core+0x101/0x850 [ 206.573385] [] ? __netif_receive_skb+0x1d/0x70 [ 206.592123] [] ? netif_receive_skb+[ 206.610742] [] ? br_handle_frame_finish+0x1cd/0x2c0 [ 206.629932] [] ? lock_acquire+[ 206.648109] [] ? br_handle_frame+0x1aa/0x290 [ 206.666609] [] ? br_handle_local_finish+0x40/0x40 [ 206.685485] [] ? __netif_receive_skb_core+0x2f9/0x850 [ 206.704771] [] ? __netif_rec[ 206.723887] [] ? inet_gso_send_check+0x160/0x160 [ 206.742506] [] ? __netif_receive_[ 206.761026] [] ? netif_receive_skb+0x20/0x120 [ 206.779387] [] ? inet_gro_complete+0xf3/0x140 [ 206.797749] [] ? inet_gso_send_check+0x160/0x160 [ 206.816318] [] ? lock_release+0xf0/0x250 [ 206.834163] [] ? napi_gro_complete+0x11c/ [ 206.852682] [] ? napi_gro_complete+0x20/0x140 [ 206.871004] [] ? lock_release+0xf0/0x250 [ 206.888823] [] ? dev_gro_receive+0x2d6/0x430 [ 206.907056] [] ? dev_gro_receive+0x1f8/0x430 [ 206.925189] [] ? kmem_cache_free+0x123/0x370 [ 206.943303] [] ? trace_hardirqs_on_ca[ 206.962279] [] ? napi_gro_receive+0x56/0x150 [ 206.980487] [] ? e1000_receive_skb+0x75/0xf0 [e1000e] [ 206.999791] [] ? e1000_clean_rx_irq+0x298/0x4a0 [e1000e] [ 207.019536] [] ? e1000e_poll+0x88/0x2e0 [e1000e] [ 207.038513] [] ? net_rx_action+0xd8/0x280 [ 207.056877] [] ? net_rx_action+0x135/0x280 [ 207.075231] [] ? __do_softirq+0x119/0x2d0 [ 207.093466] [] ? irq_exit+0xed/0x100 [ 207.111271] [] ? xen_evtchn_do_upcall+0x2f/0x[ 207.130320] [] ? xen_do_hypervisor_callback+0x1e/0x30 [ 207.149980] [] ? fget_light+[ 207.168130] [] ? fget_light+0x71/0x150 [ 207.186070] [] ? fget_light+0x3b/0x150 [ 207.203830] [] ? do_select+0x36e/0x6e0 [ 207.221524] [] ? select_estimate_accuracy+007.240538] [] ? poll_freewait+0x90/0x90 [ 207.258534] [] ? __pollwait+0xf0/0xf0 [ 207.276217] [] ? net_rps_action_and_irq_enable+0x8d/0xa0 [ 207.295849] [] ? __irq_get_desc_lock+0x62/0xb0 [ 207.314629] [] ? __wake_up+0x2d/0x7 [ 207.332497] [] ? __lock_acquire+0x7be/0x17e0 [ 207.351329] [] ? __lock_acquire+0x219[ 207.370039] [] ? lock_release_non_nested+0xa8/0x360 [ 207.389539] [] ? do_raw_spin_u[ 207.408549] [] ? might_fault+0x4e/0xa0 [ 207.426757] [] ? might_fault+0x4e/0xa0 [ 207.444973] [] ? might_fault+0x4e/0xa0 [ 207.463071] [] ? lock_release+0xf0/0x250 [ 207.481346] [] ? core_sys_select+0x21c/0x350 [ 207.499957] [] ? core_sys_select+0x48/0x350 [ 207.518281] [] ? xen_clocksource_read+0x39/0x50 [ 207.536978] [] ? lock_release_non_nested+0xa8/0x360 [ 207.556248] [] ? trace_hardirqs_off+0xd/0x10 [ 207.574735] [] ? rcu_irq_exit+0x87/0xe0 [ 207.592900] [] ? might_fault+0x4e/0xa0 [ 207.610858] [] ? xen_clocksource_read+0x39/0x50 [ 207.629792] [] ? xen_clocksource_g[ 207.649195] [] ? ktime_get_ts+0x47/0xf0 [ 207.667330] [] ? SyS_select+0x42/0x110 [ 207.685402] [] ? system_call_fastpath+0x16/0x1b [ 207.704362] Code: 5f c9 c3 66 0f 1f 44 00 00 55 31 c000 48 89 e5 8b 52 18 <48> 8b 14 d5 80 87 cb 81 48 39 bc 10 98 08 00 00 c9 0f 94 c0 0f [ 207.749634] RIP [[ 207.768941] RSP [ 207.786147] CR2: 00000002e66c9780 [ 207.803299] ---[ end trace f347e5b235e48095 ]--- [ 207.821933] Kernel panic - not syncing: Fatal exception in interrupt (XEN) Domain 0 crashed: 'noreboot' set - not rebooting. If anybody has some time to do a bit of git bisect to help identify the culprit it would be very much welcomed.