lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Tue, 3 Jan 2012 16:05:27 +0100
From:	Laurent Pinchart <laurent.pinchart@...asonboard.com>
To:	linux-uvc-devel@...ts.sourceforge.net
Cc:	Justin Piszcz <jpiszcz@...idpixels.com>,
	linux-kernel@...r.kernel.org
Subject: Re: [Linux-uvc-devel] 3.1.5: uvcvideo: Failed to resubmit video URB (-27).

Hi Justin,

(The linux-uvc-devel mailing list has been moved to SourceForge, I've CC'ed 
the new list)

On Tuesday 03 January 2012 15:21:02 Justin Piszcz wrote:
> Hello,
> 
> Using an Acer 7551-7442 here with the following built-in webcam:
> Bus 002 Device 004: ID 0402:9665 ALi Corp. Gateway Webcam
> 
> It seems motion locks up every day or so and I see this in the kernel logs:
> [378982.724053] uvcvideo: Failed to resubmit video URB (-27).
> [378982.724066] uvcvideo: Failed to resubmit video URB (-27).
> [378982.724079] uvcvideo: Failed to resubmit video URB (-27).
> [378982.724090] uvcvideo: Failed to resubmit video URB (-27).
> [378982.724101] uvcvideo: Failed to resubmit video URB (-27).
> [489148.723367] uvcvideo: Failed to resubmit video URB (-27).
> [489148.723379] uvcvideo: Failed to resubmit video URB (-27).
> [489148.723391] uvcvideo: Failed to resubmit video URB (-27).
> [489148.723403] uvcvideo: Failed to resubmit video URB (-27).
> [489148.723414] uvcvideo: Failed to resubmit video URB (-27).
>
> If I restart motion, it will usually start working again, I do not
> have this problem on other (retail) Logitech webcams, was curious if
> this a bug with the webcam (quirk?) or a problem in uvcvideo?

-27 is -EFBIG. As the uvcvideo driver set the ASAP isochronous scheduling flag 
when submitting URBs, this most probably results from a bug in the USB host 
controller hardware, from a bug in the USB host controller driver, or from a 
driver that blocks interrupts for several tens of milliseconds.

Which kernel version are you using ? An isochronous scheduling regression has 
been fixed recently between v3.2-rc3 and v3.2-rc5. You might want to try v3.2 
when it will be released.

> The camera is built-into the laptop screen at the top in the middle.
> 
> lsusb verbose:
> 
> Bus 002 Device 004: ID 0402:9665 ALi Corp. Gateway Webcam
> Device Descriptor:
>   bLength                18
>   bDescriptorType         1
>   bcdUSB               2.00
>   bDeviceClass          239 Miscellaneous Device
>   bDeviceSubClass         2 ?
>   bDeviceProtocol         1 Interface Association
>   bMaxPacketSize0        64
>   idVendor           0x0402 ALi Corp.
>   idProduct          0x9665 Gateway Webcam
>   bcdDevice            0.09
>   iManufacturer           3 XPB3L1K44
>   iProduct                1 1.3M WebCam
>   iSerial                 0
>   bNumConfigurations      1

Could you please send me the complete lsusb -v output for the device ? I'll 
then add it to the supported devices list.

-- 
Regards,

Laurent Pinchart
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ