From: Sander Eikelenboom Subject: Hungtask on dom0 Date: Mon, 13 Jan 2014 17:17:12 +0100 Message-ID: <1981506151.20140113171712@eikelenboom.it> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta14.messagelabs.com ([193.109.254.103]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1W2kCS-0003bc-OI for xen-devel@lists.xenproject.org; Mon, 13 Jan 2014 16:17:16 +0000 List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Konrad Rzeszutek Wilk Cc: xen-devel List-Id: xen-devel@lists.xenproject.org Hi Konrad, Got an hungtask on dom0 after starting a guest with pci passthrough, this kernel has that pci branch from your tree. (it's not always happening .. so reproduceability is probably low ..) [ 5169.950009] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. [ 5169.959236] xenwatch D ffff88005908c240 0 46 2 0x00000000 [ 5169.969066] ffff88005917f828 0000000000000216 ffff88005908c240 0000000000013500 [ 5169.978392] ffff88005917ffd8 0000000000013500 ffff880059bbd2d0 ffff88005908c240 [ 5169.987680] ffffffff00000004 ffff880057c89b00 ffff88005908c9b0 0000000000000002 [ 5169.997103] Call Trace: [ 5170.006363] [] ? __lock_acquire+0x418/0x2220 [ 5170.015924] [] ? __lock_acquire+0x418/0x2220 [ 5170.025559] [] schedule+0x24/0x70 [ 5170.034841] [] schedule_timeout+0x1dc/0x240 [ 5170.044258] [] ? mark_held_locks+0x94/0x130 [ 5170.053321] [] ? _raw_spin_unlock_irq+0x2b/0x50 [ 5170.062429] [] ? trace_hardirqs_on_caller+0xfb/0x240 [ 5170.071479] [] wait_for_common+0xff/0x150 [ 5170.080617] [] ? _raw_spin_unlock_irqrestore+0x65/0x90 [ 5170.090064] [] ? try_to_wake_up+0x300/0x300 [ 5170.099121] [] wait_for_completion+0x18/0x20 [ 5170.108189] [] pcistub_get_pci_dev_by_slot+0xda/0x110 [ 5170.117341] [] xen_pcibk_export_device+0x34/0x120 [ 5170.126406] [] xen_pcibk_setup_backend+0x12d/0x320 [ 5170.135205] [] ? xenbus_gather+0x150/0x170 [ 5170.143741] [] xen_pcibk_be_watch+0x2a/0x40 [ 5170.152106] [] xen_pcibk_xenbus_probe+0x168/0x180 [ 5170.160471] [] xenbus_dev_probe+0x66/0x110 [ 5170.168892] [] driver_probe_device+0x75/0x210 [ 5170.176443] [] ? __driver_attach+0xb0/0xb0 [ 5170.184074] [] __device_attach+0x4b/0x60 [ 5170.191277] [] bus_for_each_drv+0x4e/0xa0 [ 5170.198475] [] device_attach+0x98/0xb0 [ 5170.205675] [] bus_probe_device+0xb0/0xe0 [ 5170.212841] [] device_add+0x3bb/0x5b0 [ 5170.219943] [] ? device_pm_sleep_init+0x4d/0x80 [ 5170.227050] [] device_register+0x19/0x20 [ 5170.234258] [] xenbus_probe_node+0x141/0x170 [ 5170.241277] [] ? bus_for_each_dev+0x76/0xa0 [ 5170.248280] [] xenbus_dev_changed+0x1d0/0x1e0 [ 5170.255316] [] ? xs_watch+0x60/0x60 [ 5170.262238] [] backend_changed+0x16/0x20 [ 5170.269271] [] xenwatch_thread+0x3d/0x120 [ 5170.276671] [] ? __init_waitqueue_head+0x60/0x60 [ 5170.283670] [] kthread+0xdf/0x100 [ 5170.290776] [] ? _raw_spin_unlock_irq+0x2b/0x50 [ 5170.297911] [] ? __init_kthread_worker+0x70/0x70 [ 5170.305132] [] ret_from_fork+0x7c/0xb0 [ 5170.312352] [] ? __init_kthread_worker+0x70/0x70 [ 5170.319611] 3 locks held by xenwatch/46: [ 5170.326974] #0: (xenwatch_mutex){+.+.+.}, at: [] xenwatch_thread+0x7e/0x120 [ 5170.334363] #1: (&__lockdep_no_validate__){......}, at: [] device_attach+0x18/0xb0 [ 5170.341976] #2: (&pdev->dev_lock){+.+.+.}, at: [] xen_pcibk_setup_backend+0x30/0x320 -- Sander