public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
From: "Ozan Çağlayan" <ozan@pardus.org.tr>
To: Alan Stern <stern@rowland.harvard.edu>
Cc: linux-media@vger.kernel.org,
	linux-kernel <linux-kernel@vger.kernel.org>,
	linux-usb@vger.kernel.org
Subject: Re: uvcvideo causes ehci_hcd to halt
Date: Wed, 14 Oct 2009 11:16:27 +0300	[thread overview]
Message-ID: <4AD588DB.4050905@pardus.org.tr> (raw)
In-Reply-To: <Pine.LNX.4.44L0.0910131050460.3169-100000@iolanthe.rowland.org>

Alan Stern wrote On 13-10-2009 17:53:
> Can you add a dump_stack() call just after the ehci_err() line in 
> drivers/usb/host/ehci-hcd.c:handshake_on_error_set_halt()?  It should 
> provide some clues.
>
> At the same time (i.e., during the same test) you should collect a 
> usbmon trace.
>
> Alan Stern
>   

Hi. First the backtrace:

[  149.510272] uvcvideo: Found UVC 1.00 device BisonCam, NB Pro (5986:0203)
[  149.515017] input: BisonCam, NB Pro as
/devices/pci0000:00/0000:00:1d.7/usb1/1-5/1-5:1.0/input/input10
[  149.515588] usbcore: registered new interface driver uvcvideo
[  149.516247] USB Video Class driver (v0.1.0)
[  149.658012] Pid: 1137, comm: hald-probe-vide Tainted: G         C
2.6.31.4-128 #2
[  149.658012] Call Trace:
[  149.658012]  [<c0373f62>] handshake_on_error_set_halt+0x36/0x65
[  149.658012]  [<c0374073>] enable_periodic+0x32/0x72
[  149.658012]  [<c03741c9>] qh_link_periodic+0x116/0x11e
[  149.658012]  [<c0374665>] qh_schedule+0x120/0x12c
[  149.658012]  [<c03775d0>] intr_submit+0x8c/0x124
[  149.658012]  [<c0377d2a>] ehci_urb_enqueue+0x7a/0xa5
[  149.658012]  [<c036965f>] usb_hcd_submit_urb+0xbb/0x13c
[  149.658012]  [<c0369b1e>] usb_submit_urb+0x1f1/0x20d
[  149.658012]  [<f854aaff>] uvc_status_start+0x18/0x1a [uvcvideo]
[  149.658012]  [<f8546e23>] uvc_v4l2_open+0x8a/0xcf [uvcvideo]
[  149.658012]  [<f7c3d74a>] v4l2_open+0x68/0x7c [videodev]
[  149.658012]  [<c01c648e>] chrdev_open+0x125/0x13c
[  149.658012]  [<c01c28a9>] __dentry_open+0x119/0x207
[  149.658012]  [<c01c2a31>] nameidata_to_filp+0x2c/0x43
[  149.658012]  [<c01c6369>] ? chrdev_open+0x0/0x13c
[  149.658012]  [<c01ccc28>] do_filp_open+0x3e5/0x741
[  149.658012]  [<c01ccfe9>] ? getname+0x20/0xb7
[  149.658012]  [<c01d4be8>] ? alloc_fd+0x55/0xbe
[  149.658012]  [<c01c2699>] do_sys_open+0x4a/0xe2
[  149.658012]  [<c0435527>] ? do_page_fault+0x2d6/0x304
[  149.658012]  [<c01c2773>] sys_open+0x1e/0x26
[  149.658012]  [<c0103214>] sysenter_do_call+0x12/0x28
[  149.658012] ehci_hcd 0000:00:1d.7: force halt; handhake f7c66024
00004000 00000000 -> -110

And the usbmon trace during "modprobe uvcvideo" can be found at:

http://cekirdek.pardus.org.tr/~ozan/ivir/logs/usbmon.trace.bad

I also manage to not reproduce the problem so it's kinda racy. You can
find good/bad dmesg/usbmon traces at:

http://cekirdek.pardus.org.tr/~ozan/ivir/logs

Thanks,
Ozan Caglayan




  reply	other threads:[~2009-10-14  8:12 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-13  6:55 uvcvideo causes ehci_hcd to halt Ozan Çağlayan
2009-10-13 14:53 ` Alan Stern
2009-10-14  8:16   ` Ozan Çağlayan [this message]
2009-10-20  8:29     ` Ozan Çağlayan
2009-10-20 15:07       ` Alan Stern
2009-10-21  8:22         ` Ozan Çağlayan
2009-10-21 15:07           ` Alan Stern
2009-10-21 15:38             ` Ozan Çağlayan
2009-10-21 17:27             ` Laurent Pinchart
2009-10-21 20:09               ` Ozan Çağlayan
2009-10-21 23:38                 ` Laurent Pinchart
2009-10-22  1:36                   ` Alan Stern
2009-10-22 10:31                     ` Ozan Çağlayan
2009-10-22 14:05                       ` Alan Stern
2009-10-22 15:56                         ` Ozan Çağlayan
2009-10-22 20:03                           ` Alan Stern
2009-10-23  7:18                         ` Ozan Çağlayan
2009-10-23 22:14                           ` Alan Stern
2009-10-24  7:49                             ` Ozan Çağlayan
2009-10-24 12:04                               ` Alan Stern

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4AD588DB.4050905@pardus.org.tr \
    --to=ozan@pardus.org.tr \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-media@vger.kernel.org \
    --cc=linux-usb@vger.kernel.org \
    --cc=stern@rowland.harvard.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox