Oops unplugging Logitech QuickCam Pro 4000
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
The attached oops occurred after plugging the camera in, trying to access the device, running a program which failed to select it, killing the program then unplugging the camera.
It had been previously working okay, with a few suspend/resume cycles in between then and the oops, however.
lsusb:
> Bus 005 Device 004: ID 046d:08b2 Logitech, Inc. QuickCam Pro 4000
Error message from OpenCV program, using v4l1compat.so:
> select timeout
libv4l-0: 0.6.0-1
libcv1: 1.0.0-6.2ubuntu1
ProblemType: KernelOops
Annotation: Your system might become unstable now and might need to be restarted.
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/
/dev/snd/
CRDA: Error: [Errno 2] No such file or directory
Card0.Amixer.info:
Card hw:0 'Intel'/'HDA Intel at 0xf8220000 irq 17'
Mixer name : 'Analog Devices AD1984'
Components : 'HDA:11d41984,
Controls : 29
Simple ctrls : 18
Card1.Amixer.info:
Card hw:1 'U0x46d0x8b2'/'USB Device 0x46d:0x8b2 at usb-0000:00:1d.0-1, full speed'
Mixer name : 'USB Mixer'
Components : 'USB046d:08b2'
Controls : 2
Simple ctrls : 1
Card1.Amixer.
Simple mixer control 'Mic',0
Capabilities: cvolume cvolume-joined cswitch cswitch-joined
Capture channels: Mono
Limits: Capture 0 - 3
Mono: Capture 0 [0%] [30.00dB] [on]
Date: Sat Oct 24 12:28:54 2009
DistroRelease: Ubuntu 9.10
Failure: oops
HibernationDevice: RESUME=
MachineType: LENOVO 766734M
Package: linux-image-
PccardctlIdent:
Socket 0:
no product info available
PccardctlStatus:
Socket 0:
no card
ProcCmdLine: root=UUID=
ProcVersionSign
RelatedPackageV
linux-
linux-firmware 1.24
SourcePackage: linux
Tags: kernel-oops
Title: [232963.885533] ------------[ cut here ]------------
Uname: Linux 2.6.31-14-generic x86_64
WpaSupplicantLog:
dmi.bios.date: 12/28/2007
dmi.bios.vendor: LENOVO
dmi.bios.version: 7NETA6WW (2.06 )
dmi.board.name: 766734M
dmi.board.vendor: LENOVO
dmi.board.version: Not Available
dmi.chassis.
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.
dmi.modalias: dmi:bvnLENOVO:
dmi.product.name: 766734M
dmi.product.
dmi.sys.vendor: LENOVO
Definitely a suspend/resume issue, I can reproduce the camera failing to work (but not the oops) by doing a suspend/resume.
After resuming, I'm getting the following in kern.log:
> Oct 24 20:49:58 localhost kernel: [23531.320070] usb 3-2: new full speed USB device using uhci_hcd and address 41
> Oct 24 20:49:58 localhost kernel: [23531.860070] usb 3-2: device not accepting address 41, error -71
> Oct 24 20:49:58 localhost kernel: [23531.920126] hub 3-0:1.0: unable to enumerate USB device on port 2
> Oct 24 20:50:13 localhost kernel: [23546.750093] hub 1-0:1.0: unable to enumerate USB device on port 2
After unloading/reloading pwc.ko and videodev.ko, it gets a bit further, but still does not work:
> Oct 24 21:11:36 localhost kernel: [24830.015689] Linux video capture interface: v2.00 40]/730/ 740/750 & PCVC830/840. pci0000: 00/0000: 00:1d.0/ usb5/5- 2/input/ input11
> Oct 24 21:11:36 localhost kernel: [24830.022038] pwc: Philips webcam module version 10.0.13 loaded.
> Oct 24 21:11:36 localhost kernel: [24830.022045] pwc: Supports Philips PCA645/646, PCVC675/680/690, PCVC720[
> Oct 24 21:11:36 localhost kernel: [24830.022051] pwc: Also supports the Askey VC010, various Logitech Quickcams, Samsung MPC-C10 and MPC-C30,
> Oct 24 21:11:36 localhost kernel: [24830.022056] pwc: the Creative WebCam 5 & Pro Ex, SOTEC Afina Eye and Visionite VCS-UC300 and VCS-UM100.
> Oct 24 21:11:36 localhost kernel: [24830.022123] usbcore: registered new interface driver Philips webcam
> Oct 24 21:11:43 localhost kernel: [24836.480092] usb 5-2: new full speed USB device using uhci_hcd and address 4
> Oct 24 21:11:43 localhost kernel: [24836.767349] usb 5-2: configuration #1 chosen from 1 choice
> Oct 24 21:11:43 localhost kernel: [24836.772692] pwc: Logitech QuickCam 4000 Pro USB webcam detected.
> Oct 24 21:11:43 localhost kernel: [24836.772777] pwc: Registered as /dev/video0.
> Oct 24 21:11:43 localhost kernel: [24837.062269] input: PWC snapshot button as /devices/
> Oct 24 21:11:58 localhost kernel: [24851.820083] usb 3-2: new full speed USB device using uhci_hcd and address 59
> Oct 24 21:11:58 localhost kernel: [24852.002573] usb 3-2: configuration #1 chosen from 1 choice
> Oct 24 21:11:59 localhost kernel: [24852.185401] usb 3-2: usbfs: USBDEVFS_CONTROL failed cmd rhythmbox rqt 128 rq 6 len 255 ret -71
> Oct 24 21:11:59 localhost kernel: [24852.186423] usb 3-2: usbfs: USBDEVFS_CONTROL failed cmd rhythmbox rqt 128 rq 6 len 1024 ret -71
> Oct 24 21:11:59 localhost kernel: [24852.290148] usb 3-2: USB disconnect, address 59
> Oct 24 21:12:46 localhost kernel: [24900.030089] hub 1-0:1.0: unable to enumerate USB device on port 2
> Oct 24 21:12:59 localhost kernel: [24913.102604] hub 1-0:1.0: unable to enumerate USB device on port 2
> Oct 24 21:13:02 localhost kernel: [24915.142588] hub 1-0:1.0: unable to enumerate USB device on port 2
> Oct 24 21:14:03 localhost kernel: [24977.070077] usb 3-2: new full speed USB device using uhci_hcd and address 60
> Oct 24 21:14:04 localhost kernel: [24977.220409] usb 3-2: device descriptor read/all, error -71
> Oct 24 21:14:04 localhost kernel: [24977.280104] hub 3-0:1.0: unable to enumerate USB device on port 2
> Oct 24 21:14:34 local...