WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] xen pci passthrough hung task instead of terminate

To: Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] xen pci passthrough hung task instead of terminate
From: Sander Eikelenboom <linux@xxxxxxxxxxxxxx>
Date: Sun, 25 Jul 2010 17:35:07 +0200
Cc:
Delivery-date: Sun, 25 Jul 2010 08:36:07 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Organization: Eikelenboom IT services
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Hi Konrad,

I have tried both your trees, together with some experimental usb3 stuff.
It seems to work apart from some usb3 problems after several hours of 
videograbbing, in the end it crashes the program, but instead of terminating it 
keeps hanging.
Since xen_evtchn is on the trace stack i'm wondering if any xen parts are 
causing it to hang instead of terminate.

--
Sander



Jul 25 16:54:26 security kernel: [26400.136170] "echo 0 > 
/proc/sys/kernel/hung_task_timeout_secs" disables this message.
Jul 25 16:54:26 security kernel: [26400.136191] motion        D 
ffffffff810049f9     0  1556      1 0x00000000
Jul 25 16:54:26 security kernel: [26400.136220]  ffff88001fce6800 
0000000000000286 0000000000000001 0000000000014580
Jul 25 16:54:26 security kernel: [26400.136254]  ffff88001e251fd8 
ffff88001e251fd8 ffff88001e088100 0000000000014580
Jul 25 16:54:26 security kernel: [26400.136285]  0000000000014580 
0000000000014580 ffff88001e088100 0000000000000001
Jul 25 16:54:26 security kernel: [26400.136316] Call Trace:
Jul 25 16:54:26 security kernel: [26400.136346]  [<ffffffff8142c33c>] ? 
__mutex_lock_slowpath+0xda/0x125
Jul 25 16:54:26 security kernel: [26400.136374]  [<ffffffff8142c1e1>] ? 
mutex_lock+0x12/0x28
Jul 25 16:54:26 security kernel: [26400.136399]  [<ffffffffa0015ea5>] ? 
videobuf_streamoff+0x13/0x34 [videobuf_core]
Jul 25 16:54:26 security kernel: [26400.136424]  [<ffffffff81005cc5>] ? 
xen_force_evtchn_callback+0x9/0xa
Jul 25 16:54:26 security kernel: [26400.136449]  [<ffffffffa008b5a8>] ? 
vidioc_streamoff+0x7e/0xb5 [em28xx]
Jul 25 16:54:26 security kernel: [26400.136473]  [<ffffffffa00355fe>] ? 
__video_do_ioctl+0x181f/0x3cc7 [videodev]
Jul 25 16:54:26 security kernel: [26400.136496]  [<ffffffff8100631f>] ? 
xen_restore_fl_direct_end+0x0/0x1
Jul 25 16:54:26 security kernel: [26400.136517]  [<ffffffff8142d2a4>] ? 
_raw_spin_unlock_irqrestore+0xc/0xd
Jul 25 16:54:26 security kernel: [26400.136539]  [<ffffffff81393cda>] ? 
sock_def_readable+0x3b/0x5d
Jul 25 16:54:26 security kernel: [26400.136561]  [<ffffffff81404296>] ? 
unix_dgram_sendmsg+0x428/0x4b2
Jul 25 16:54:26 security kernel: [26400.136580]  [<ffffffff810058fa>] ? 
xen_set_pte_at+0x196/0x1b6
Jul 25 16:54:26 security kernel: [26400.136600]  [<ffffffff810036bd>] ? 
__raw_callee_save_xen_make_pte+0x11/0x1e
Jul 25 16:54:26 security kernel: [26400.136620]  [<ffffffff81390c1e>] ? 
sock_sendmsg+0xd1/0xec
Jul 25 16:54:26 security kernel: [26400.136641]  [<ffffffff810b117c>] ? 
__do_fault+0x3eb/0x426
Jul 25 16:54:26 security kernel: [26400.136662]  [<ffffffffa0037d38>] ? 
video_ioctl2+0x292/0x32e [videodev]
Jul 25 16:54:26 security kernel: [26400.136684]  [<ffffffff8139271a>] ? 
sys_sendto+0x10d/0x127
Jul 25 16:54:26 security kernel: [26400.136702]  [<ffffffff81006332>] ? 
check_events+0x12/0x20
Jul 25 16:54:26 security kernel: [26400.136722]  [<ffffffffa003310b>] ? 
v4l2_ioctl+0x38/0x3a [videodev]
Jul 25 16:54:26 security kernel: [26400.136742]  [<ffffffff810d45be>] ? 
vfs_ioctl+0x69/0x92
Jul 25 16:54:26 security kernel: [26400.136760]  [<ffffffff810d4a6e>] ? 
do_vfs_ioctl+0x411/0x43c
Jul 25 16:54:26 security kernel: [26400.136779]  [<ffffffff810c874c>] ? 
vfs_write+0x134/0x169
Jul 25 16:54:26 security kernel: [26400.136797]  [<ffffffff810d4aea>] ? 
sys_ioctl+0x51/0x70
Jul 25 16:54:26 security kernel: [26400.136815]  [<ffffffff810086c2>] ? 
system_call_fastpath+0x16/0x1b


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>