USB webcam UVC driver crashing

From: bob
Date: Thu May 10 2012 - 19:23:58 EST


Hi. I have a USB webcam ID 1e4e:0102. I can start it and it runs (I can start various webcam applications eg: cheese, mplayer, guvcview), and it works ok for a few minutes, but then crashes. When it crashes, it usually breaks all of USB too, and occasionally the whole machine. It can be the only application running and crash the machine (but in one instance it was 1150 seconds after starting, in another instance 453 seconds after starting). Some information from kern.log:

kernel: [ 2208.550294] uvcvideo: USB2.0 Camera: SOF 3205.208526 y 990206793 ts 2209.328418 buf ts 2209.338209 (x1 210698240/143/1165 x2 212795392/175/1196 y1 1000000000 y2 1032005663)
kernel: [ 2208.550300] uvcvideo: uvc_v4l2_ioctl(VIDIOC_QBUF)
kernel: [ 2208.550853] uvcvideo: uvc_v4l2_poll
kernel: [ 2208.558228] uvcvideo: frame 9819 stats: 0/1/252 packets, 0/0/252 pts (!early initial), 251/252 scr, last pts/stc/sof 3153758598/3154922431/1196
kernel: [ 2208.590196] uvcvideo: Frame complete (EOF found).
kernel: [ 2208.590199] uvcvideo: EOF in empty payload.
kernel: [ 2208.590219] uvcvideo: uvc_v4l2_poll
kernel: [ 2208.590226] uvcvideo: uvc_v4l2_ioctl(VIDIOC_DQBUF)
kernel: [ 2208.590234] uvcvideo: USB2.0 Camera: PTS 3154958118 y 3245.189468 SOF 3245.189468 (x1 2147717982 x2 2148648054 y1 213188608 y2 215220224 SOF offset 0)
May 10 11:54:39 Freedom kernel: [ 2208.590241] uvcvideo: USB2.0 Camera: SOF 3245.189468 y 990198914 ts 2209.368408 buf ts 2209.378207 (x1 213319680/183/1205 x2 215416832/215/1236 y1 1000000000 y2 1031969188)
kernel: [ 2208.590246] uvcvideo: uvc_v4l2_ioctl(VIDIOC_QBUF)
kernel: [ 2208.590759] uvcvideo: uvc_v4l2_poll
kernel: [ 2208.598215] uvcvideo: frame 9820 stats: 0/1/253 packets, 0/0/253 pts (!early initial), 252/253 scr, last pts/stc/sof 3154958118/3156122524/1236
kernel: [ 2208.630178] uvcvideo: Frame complete (EOF found).
kernel: [ 2208.630181] uvcvideo: EOF in empty payload.
kernel: [ 2208.630201] uvcvideo: uvc_v4l2_poll
kernel: [ 2208.630207] uvcvideo: uvc_v4l2_ioctl(VIDIOC_DQBUF)
kernel: [ 2208.630215] uvcvideo: USB2.0 Camera: PTS 3156157638 y 3285.170364 SOF 3285.170364 (x1 2147718555 x2 2148648626 y1 215810048 y2 217841664 SOF offset 0)
...(rinse, repeat)...

Some of uvcdynctrl -v -l:
Listing available devices:
video2 Hauppauge WinTV-HVR1800 [cx23885[0], PCI:0000:07:00.0]
video1 Hauppauge WinTV-HVR1800 [cx23885, PCIe:0000:07:00.0]
video0 USB2.0 Camera [uvcvideo, usb-0000:00:1a.7-5.1]

I also have a snip of dmesg.log, but its similar to the kern.log posted above.

Sorry for the long post. My system: Linux Freedom 3.4.0-rc6 #1 SMP PREEMPT Mon May 7 17:11:54 MDT 2012 x86_64 x86_64 x86_64 GNU/Linux
Its not a debug kernel (but I can build one and re-run things if needed).
Its not a new bug, its been doing it for several kernels. I have a different webcam that doesn't crash (doesn't use the UVC drivers), but the images it produces are drech.

Please mail me directly as I'm not on the list.

TIA,
Bob


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