Zoran zr364xx connect and disconnect problems

Bug #630568 reported by Peter McKenna
20
This bug affects 3 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

APPLIES TO
Kernel 2.6.32-24-generic Ubuntu Release 10.04 for Netbook. The same problems occure on Kernel 2.6.32-24-generic Ubuntu Release 10.04 and Ubuntu Release 8.04.3 on Live CD.

The zr364xx driver has the following problems:-

1. After connecting as a USB Storage device, unplugging without unmounting crashes the camcorder.
2. Webcam functionality does not work at all.

DETAIL - I've delimited relevant sections from syslog with ==========
1)
When plugging a camcorder into USB the following appears in the syslog
==========
Sep 5 03:38:42 localhost kernel: [34514.876576] usb 1-1: new high speed USB device using ehci_hcd and address 3
Sep 5 03:38:42 localhost kernel: [34515.024583] hub 1-0:1.0: unable to enumerate USB device on port 1
Sep 5 03:38:49 localhost kernel: [34521.648618] usb 1-1: new high speed USB device using ehci_hcd and address 4
Sep 5 03:38:49 localhost kernel: [34521.781953] usb 1-1: configuration #1 chosen from 1 choice
Sep 5 03:38:49 localhost kernel: [34522.080732] Initializing USB Mass Storage driver...
==========
The camcorder requires a selection be made on the device choosing to connect as a USB storage device or a webcam. Choosing USB storage device appears to works fine. The camcorder also connects as a CDROM which contails the windows driver install files.
==========
Sep 5 11:12:05 localhost kernel: [ 2432.486678] scsi6 : SCSI emulation for USB Mass Storage devices
Sep 5 11:12:05 localhost kernel: [ 2432.487397] usb-storage: device found at 4
Sep 5 11:12:05 localhost kernel: [ 2432.487408] usb-storage: waiting for device to settle before scanning
Sep 5 11:12:05 localhost kernel: [ 2432.487469] usbcore: registered new interface driver usb-storage
Sep 5 11:12:05 localhost kernel: [ 2432.487483] USB Mass Storage support registered.
Sep 5 11:12:10 localhost kernel: [ 2437.505674] usb-storage: device scan complete
Sep 5 11:12:10 localhost kernel: [ 2437.514505] scsi 6:0:0:0: Direct-Access ZORAN COACH6 (I62) 1.10 PQ: 0 ANSI: 0 CCS
Sep 5 11:12:10 localhost kernel: [ 2437.522124] scsi 6:0:0:1: CD-ROM ZORAN COACH6 (I62) 1.10 PQ: 0 ANSI: 0 CCS
Sep 5 11:12:10 localhost kernel: [ 2437.533122] sd 6:0:0:0: Attached scsi generic sg1 type 0
Sep 5 11:12:10 localhost kernel: [ 2437.543941] sr0: scsi3-mmc drive: 0x/0x caddy
Sep 5 11:12:10 localhost kernel: [ 2437.543954] Uniform CD-ROM driver Revision: 3.20
Sep 5 11:12:10 localhost kernel: [ 2437.545255] sr 6:0:0:1: Attached scsi CD-ROM sr0
Sep 5 11:12:10 localhost kernel: [ 2437.548345] sr 6:0:0:1: Attached scsi generic sg2 type 5
Sep 5 11:12:10 localhost kernel: [ 2437.550573] sd 6:0:0:0: [sdb] 3913728 512-byte logical blocks: (2.00 GB/1.86 GiB)
Sep 5 11:12:10 localhost kernel: [ 2437.552948] sd 6:0:0:0: [sdb] Write Protect is off
Sep 5 11:12:10 localhost kernel: [ 2437.552960] sd 6:0:0:0: [sdb] Mode Sense: 00 06 00 00
Sep 5 11:12:10 localhost kernel: [ 2437.552968] sd 6:0:0:0: [sdb] Assuming drive cache: write through
Sep 5 11:12:10 localhost kernel: [ 2437.554941] sd 6:0:0:0: [sdb] Assuming drive cache: write through
Sep 5 11:12:10 localhost kernel: [ 2437.554957] sdb: sdb1
Sep 5 11:12:10 localhost kernel: [ 2437.560974] sd 6:0:0:0: [sdb] Assuming drive cache: write through
Sep 5 11:12:10 localhost kernel: [ 2437.560992] sd 6:0:0:0: [sdb] Attached SCSI disk
Sep 5 11:12:10 localhost kernel: [ 2437.592940] sr0: Hmm, seems the drive doesn't support multisession CD's
Sep 5 11:12:10 localhost kernel: [ 2437.980919] ISO 9660 Extensions: Microsoft Joliet Level 1
============
However, upon disconnect the camcorder freezes and can only be reset by taking out the battery. This does not happen on Windows XP. Everything works fine. It also does not seem to happen if you unmount the device and wait a few seconds before unplugging.

2)
When reconnected and the webcam connection option is selected, the following error occurs
============
Sep 5 11:25:28 localhost kernel: [ 3235.788195] usb 1-1: new high speed USB device using ehci_hcd and address 9
Sep 5 11:25:28 localhost kernel: [ 3235.921973] usb 1-1: configuration #1 chosen from 1 choice
Sep 5 11:25:28 localhost kernel: [ 3235.923760] usb-storage: probe of 1-1:1.0 failed with error -5
Sep 5 11:25:28 localhost kernel: [ 3235.993308] zr364xx 1-1:1.0: Zoran 364xx compatible webcam plugged
Sep 5 11:25:28 localhost kernel: [ 3235.993321] zr364xx 1-1:1.0: model 0595:4343 detected
Sep 5 11:25:28 localhost kernel: [ 3235.993332] usb 1-1: 320x240 mode selected
Sep 5 11:25:28 localhost kernel: [ 3235.993757] usb 1-1: Zoran 364xx controlling video device 1
Sep 5 11:25:28 localhost kernel: [ 3235.993833] usbcore: registered new interface driver zr364xx
Sep 5 11:25:28 localhost kernel: [ 3235.994445] zr364xx: Zoran 364xx
Sep 5 11:25:29 localhost kernel: [ 3236.624789] usb 1-1: Failed sending control message, error -110.
Sep 5 11:25:29 localhost kernel: [ 3236.624804] usb 1-1: error during open sequence: 5
============
The device does not appear as an available webcam in any application. The module does appear to load. This is from lsmod
============
Module Size Used by
zr364xx 17893 0
videobuf_vmalloc 5586 1 zr364xx
videobuf_core 16356 2 zr364xx,videobuf_vmalloc
....
videodev 34361 2 zr364xx,uvcvideo
============
When disconnected a bug appears in the syslog related to a kernel NULL pointer dereference
============
Sep 5 11:31:28 localhost kernel: [ 3596.003568] usb 1-1: USB disconnect, address 9
Sep 5 11:31:28 localhost kernel: [ 3596.008557] BUG: unable to handle kernel NULL pointer dereference at (null)
Sep 5 11:31:28 localhost kernel: [ 3596.008578] IP: [<c058bcfa>] __mutex_lock_slowpath+0x8a/0x130
Sep 5 11:31:28 localhost kernel: [ 3596.008603] *pde = 00000000
Sep 5 11:31:28 localhost kernel: [ 3596.008613] Oops: 0002 [#1] SMP
Sep 5 11:31:28 localhost kernel: [ 3596.008623] last sysfs file: /sys/devices/pci0000:00/0000:00:04.1/usb1/1-1/1-1:1.0/uevent
Sep 5 11:31:28 localhost kernel: [ 3596.008634] Modules linked in: zr364xx videobuf_vmalloc videobuf_core nls_iso8859_1 nls_cp437 vfat fat nls_utf8 isofs usb_storage michael_mic arc4 binfmt_misc ppdev snd_hda_codec_nvhdmi snd_hda_codec_idt snd_hda_intel snd_hda_codec snd_hwdep snd_pcm_oss snd_mixer_oss snd_pcm fbcon tileblit font bitblit softcursor snd_seq_dummy vga16fb snd_seq_oss lib80211_crypt_tkip snd_seq_midi snd_rawmidi snd_seq_midi_event snd_seq snd_timer snd_seq_device snd qcserial nvidia(P) uvcvideo vgastate soundcore psmouse wl(P) usbserial videodev v4l1_compat serio_raw snd_page_alloc shpchp lib80211 agpgart i2c_nforce2 video output lp parport forcedeth ahci
Sep 5 11:31:28 localhost kernel: [ 3596.008785]
Sep 5 11:31:28 localhost kernel: [ 3596.008797] Pid: 30, comm: khubd Tainted: P (2.6.32-24-generic #42-Ubuntu) HP Mini 311-1000
Sep 5 11:31:28 localhost kernel: [ 3596.008808] EIP: 0060:[<c058bcfa>] EFLAGS: 00010246 CPU: 1
Sep 5 11:31:28 localhost kernel: [ 3596.008819] EIP is at __mutex_lock_slowpath+0x8a/0x130
Sep 5 11:31:28 localhost kernel: [ 3596.008828] EAX: 00000000 EBX: d934a4a4 ECX: d934a4ac EDX: f68b1db4
Sep 5 11:31:28 localhost kernel: [ 3596.008837] ESI: d934a4a8 EDI: d934a4b4 EBP: f68b1dcc ESP: f68b1da8
Sep 5 11:31:28 localhost kernel: [ 3596.008846] DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0068
Sep 5 11:31:28 localhost kernel: [ 3596.008856] Process khubd (pid: 30, ti=f68b0000 task=f68a8000 task.ti=f68b0000)
Sep 5 11:31:28 localhost kernel: [ 3596.008864] Stack:
Sep 5 11:31:28 localhost kernel: [ 3596.008869] ec324ed0 d934a4ac f68a8000 d934a4ac 00000000 00002fb2 d934a4a4 c4801e00
Sep 5 11:31:28 localhost kernel: [ 3596.008891] <0> d934a400 f68b1ddc c058bc55 d934a4a4 c4801e00 f68b1dec f82f85a9 c4801e1c
Sep 5 11:31:28 localhost kernel: [ 3596.008914] <0> c4801e00 f68b1e0c f830d26d c04485c1 00000000 dfb7b800 c4801e00 c4801e1c
Sep 5 11:31:28 localhost kernel: [ 3596.008939] Call Trace:
Sep 5 11:31:28 localhost kernel: [ 3596.008952] [<c058bc55>] ? mutex_lock+0x25/0x40
Sep 5 11:31:28 localhost kernel: [ 3596.008971] [<f82f85a9>] ? videobuf_mmap_free+0x19/0x40 [videobuf_core]
Sep 5 11:31:28 localhost kernel: [ 3596.008987] [<f830d26d>] ? zr364xx_disconnect+0x2d/0x70 [zr364xx]
Sep 5 11:31:28 localhost kernel: [ 3596.009002] [<c04485c1>] ? usb_disable_interface+0x41/0x60
Sep 5 11:31:28 localhost kernel: [ 3596.009015] [<c044b759>] ? usb_unbind_interface+0xe9/0x130
Sep 5 11:31:28 localhost kernel: [ 3596.009031] [<c03e7a71>] ? __device_release_driver+0x51/0xb0
Sep 5 11:31:28 localhost kernel: [ 3596.009043] [<c03e7b95>] ? device_release_driver+0x25/0x40
Sep 5 11:31:28 localhost kernel: [ 3596.009056] [<c03e6e4b>] ? bus_remove_device+0x7b/0xa0
Sep 5 11:31:28 localhost kernel: [ 3596.009069] [<c03e52c7>] ? device_del+0xf7/0x180
Sep 5 11:31:28 localhost kernel: [ 3596.009081] [<c0448505>] ? usb_disable_device+0x85/0x100
Sep 5 11:31:28 localhost kernel: [ 3596.009095] [<c0442f9e>] ? usb_disconnect+0x9e/0x120
Sep 5 11:31:28 localhost kernel: [ 3596.009109] [<c04434fb>] ? hub_port_connect_change+0x8b/0x850
Sep 5 11:31:28 localhost kernel: [ 3596.009122] [<c0449145>] ? usb_control_msg+0xd5/0x130
Sep 5 11:31:28 localhost kernel: [ 3596.009135] [<c0440f50>] ? clear_port_feature+0x50/0x60
Sep 5 11:31:28 localhost kernel: [ 3596.009149] [<c0444465>] ? hub_events+0x1f5/0x510
Sep 5 11:31:28 localhost kernel: [ 3596.009164] [<c016797f>] ? finish_wait+0x4f/0x70
Sep 5 11:31:28 localhost kernel: [ 3596.009176] [<c04447ba>] ? hub_thread+0x3a/0x140
Sep 5 11:31:28 localhost kernel: [ 3596.009188] [<c0167810>] ? autoremove_wake_function+0x0/0x50
Sep 5 11:31:28 localhost kernel: [ 3596.009201] [<c0444780>] ? hub_thread+0x0/0x140
Sep 5 11:31:28 localhost kernel: [ 3596.009212] [<c0167584>] ? kthread+0x74/0x80
Sep 5 11:31:28 localhost kernel: [ 3596.009224] [<c0167510>] ? kthread+0x0/0x80
Sep 5 11:31:28 localhost kernel: [ 3596.009238] [<c0104087>] ? kernel_thread_helper+0x7/0x10
Sep 5 11:31:28 localhost kernel: [ 3596.009245] Code: 18 63 7f bd 90 8d 74 26 00 8d 73 04 89 f0 e8 de 11 00 00 8d 55 e8 8d 43 08 89 45 e0 8b 43 0c 89 53 0c 8b 4d e0 89 45 ec 89 4d e8 <89> 10 8b 45 e4 ba ff ff ff ff 89 45 f0 89 d0 87 03 83 f8 01 74
Sep 5 11:31:28 localhost kernel: [ 3596.009371] EIP: [<c058bcfa>] __mutex_lock_slowpath+0x8a/0x130 SS:ESP 0068:f68b1da8
Sep 5 11:31:28 localhost kernel: [ 3596.009388] CR2: 0000000000000000
Sep 5 11:31:28 localhost kernel: [ 3596.009398] ---[ end trace 7f1d85421ba47295 ]---
============
The module does not appear to be removed and attempts to remove it with module -r zr364xx just hang. The only way I could get it out of there was with a reboot.

I've tested this on Ubuntu 10.04 for Desktop, 10.04 for Netbook and 8.04 Live CD and I get the same results. The syslog output is below.
============
Sep 5 00:26:40 ubuntu kernel: [ 744.713782] usb 3-6: new high speed USB device using ehci_hcd and address 4
Sep 5 00:26:56 ubuntu kernel: [ 760.157999] usb 2-3: new full speed USB device using ohci_hcd and address 4
Sep 5 00:26:56 ubuntu kernel: [ 760.358453] usb 2-3: not running at top speed; connect to a high speed hub
Sep 5 00:26:56 ubuntu NetworkManager: <debug> [1283646416.319083] nm_hal_device_added(): New device added (hal udi is '/org/freedesktop/Hal/devices/usb_device_595_4343_ZORAN00000001').
Sep 5 00:26:56 ubuntu kernel: [ 760.376634] usb 2-3: configuration #1 chosen from 1 choice
Sep 5 00:26:56 ubuntu kernel: [ 760.411720] usb-storage: probe of 2-3:1.0 failed with error -5
Sep 5 00:26:56 ubuntu kernel: [ 760.676167] /build/buildd/linux-2.6.24/drivers/media/video/zr364xx.c: Zoran 364xx compatible webcam plugged
Sep 5 00:26:56 ubuntu kernel: [ 760.676179] /build/buildd/linux-2.6.24/drivers/media/video/zr364xx.c: model 0595:4343 detected
Sep 5 00:26:56 ubuntu kernel: [ 760.676836] /build/buildd/linux-2.6.24/drivers/media/video/zr364xx.c: 320x240 mode selected
Sep 5 00:26:56 ubuntu kernel: [ 760.677132] /build/buildd/linux-2.6.24/drivers/media/video/zr364xx.c: Zoran 364xx controlling video device 1
Sep 5 00:26:56 ubuntu kernel: [ 760.677414] usbcore: registered new interface driver zr364xx
Sep 5 00:26:56 ubuntu kernel: [ 760.677619] /build/buildd/linux-2.6.24/drivers/media/video/zr364xx.c: Zoran 364xx module loaded
Sep 5 00:26:56 ubuntu NetworkManager: <debug> [1283646416.644357] nm_hal_device_added(): New device added (hal udi is '/org/freedesktop/Hal/devices/usb_device_595_4343_ZORAN00000001_if0').
Sep 5 00:30:27 ubuntu kernel: [ 971.827686] /build/buildd/linux-2.6.24/drivers/media/video/zr364xx.c: Failed sending control message, error -110.
Sep 5 00:30:27 ubuntu kernel: [ 971.827697] /build/buildd/linux-2.6.24/drivers/media/video/zr364xx.c: error during open sequence: 5
Sep 5 00:37:22 ubuntu kernel: [ 1386.191429] usb 2-3: USB disconnect, address 4
Sep 5 00:37:22 ubuntu kernel: [ 1386.191712] /build/buildd/linux-2.6.24/drivers/media/video/zr364xx.c: Zoran 364xx webcam unplugged
Sep 5 00:37:22 ubuntu NetworkManager: <debug> [1283647042.452881] nm_hal_device_removed(): Device removed (hal udi is '/org/freedesktop/Hal/devices/usb_device_595_4343_ZORAN00000001_if0').
Sep 5 00:37:22 ubuntu NetworkManager: <debug> [1283647042.465850] nm_hal_device_removed(): Device removed (hal udi is '/org/freedesktop/Hal/devices/usb_device_595_4343_ZORAN00000001').
Sep 5 00:37:45 ubuntu kernel: [ 1409.638547] usb 3-6: new high speed USB device using ehci_hcd and address 5
Sep 5 00:38:01 ubuntu kernel: [ 1425.082744] usb 2-3: new full speed USB device using ohci_hcd and address 5
Sep 5 00:38:01 ubuntu kernel: [ 1425.282809] usb 2-3: not running at top speed; connect to a high speed hub
Sep 5 00:38:01 ubuntu kernel: [ 1425.300973] usb 2-3: configuration #1 chosen from 1 choice
Sep 5 00:38:01 ubuntu NetworkManager: <debug> [1283647081.579835] nm_hal_device_added(): New device added (hal udi is '/org/freedesktop/Hal/devices/usb_device_595_2002_ZORAN01234567').
Sep 5 00:38:01 ubuntu kernel: [ 1425.338825] scsi6 : SCSI emulation for USB Mass Storage devices
Sep 5 00:38:01 ubuntu kernel: [ 1425.340676] usb-storage: device found at 5
Sep 5 00:38:01 ubuntu kernel: [ 1425.340684] usb-storage: waiting for device to settle before scanning
Sep 5 00:38:01 ubuntu NetworkManager: <debug> [1283647081.694792] nm_hal_device_added(): New device added (hal udi is '/org/freedesktop/Hal/devices/usb_device_595_2002_ZORAN01234567_if0').
Sep 5 00:38:06 ubuntu kernel: [ 1430.364105] usb-storage: device scan complete
Sep 5 00:38:06 ubuntu kernel: [ 1430.375828] scsi 6:0:0:0: Direct-Access ZORAN COACH6 (I62) 1.10 PQ: 0 ANSI: 0 CCS
Sep 5 00:38:06 ubuntu kernel: [ 1430.386801] scsi 6:0:0:1: CD-ROM ZORAN COACH6 (I62) 1.10 PQ: 0 ANSI: 0 CCS
Sep 5 00:38:06 ubuntu kernel: [ 1430.405817] sd 6:0:0:0: [sdg] 3913728 512-byte hardware sectors (2004 MB)
Sep 5 00:38:06 ubuntu kernel: [ 1430.412792] sd 6:0:0:0: [sdg] Write Protect is off
Sep 5 00:38:06 ubuntu kernel: [ 1430.412806] sd 6:0:0:0: [sdg] Mode Sense: 00 06 00 00
Sep 5 00:38:06 ubuntu kernel: [ 1430.412810] sd 6:0:0:0: [sdg] Assuming drive cache: write through
Sep 5 00:38:06 ubuntu kernel: [ 1430.423790] sd 6:0:0:0: [sdg] 3913728 512-byte hardware sectors (2004 MB)
Sep 5 00:38:06 ubuntu kernel: [ 1430.430767] sd 6:0:0:0: [sdg] Write Protect is off
Sep 5 00:38:06 ubuntu kernel: [ 1430.430780] sd 6:0:0:0: [sdg] Mode Sense: 00 06 00 00
Sep 5 00:38:06 ubuntu kernel: [ 1430.430784] sd 6:0:0:0: [sdg] Assuming drive cache: write through
Sep 5 00:38:06 ubuntu kernel: [ 1430.430796] sdg: sdg1
Sep 5 00:38:06 ubuntu kernel: [ 1430.440971] sd 6:0:0:0: [sdg] Attached SCSI disk
Sep 5 00:38:06 ubuntu kernel: [ 1430.441048] sd 6:0:0:0: Attached scsi generic sg7 type 0
Sep 5 00:38:06 ubuntu kernel: [ 1430.451758] sr1: scsi3-mmc drive: 0x/0x caddy
Sep 5 00:38:06 ubuntu kernel: [ 1430.451878] sr 6:0:0:1: Attached scsi CD-ROM sr1
Sep 5 00:38:06 ubuntu kernel: [ 1430.451947] sr 6:0:0:1: Attached scsi generic sg8 type 5
Sep 5 00:38:06 ubuntu NetworkManager: <debug> [1283647086.821382] nm_hal_device_added(): New device added (hal udi is '/org/freedesktop/Hal/devices/usb_device_595_2002_ZORAN01234567_if0_scsi_host').
Sep 5 00:38:06 ubuntu NetworkManager: <debug> [1283647086.832525] nm_hal_device_added(): New device added (hal udi is '/org/freedesktop/Hal/devices/usb_device_595_2002_ZORAN01234567_if0_scsi_host_scsi_device_lun0').
Sep 5 00:38:06 ubuntu NetworkManager: <debug> [1283647086.897211] nm_hal_device_added(): New device added (hal udi is '/org/freedesktop/Hal/devices/usb_device_595_2002_ZORAN01234567_if0_scsi_host_scsi_device_lun0_scsi_generic').
Sep 5 00:38:06 ubuntu NetworkManager: <debug> [1283647086.941325] nm_hal_device_added(): New device added (hal udi is '/org/freedesktop/Hal/devices/usb_device_595_2002_ZORAN01234567_if0_scsi_host_scsi_device_lun1').
Sep 5 00:38:06 ubuntu kernel: [ 1430.696633] sr1: Hmm, seems the drive doesn't support multisession CD's
Sep 5 00:38:06 ubuntu NetworkManager: <debug> [1283647086.981470] nm_hal_device_added(): New device added (hal udi is '/org/freedesktop/Hal/devices/usb_device_595_2002_ZORAN01234567_if0_scsi_host_scsi_device_lun1_scsi_generic').
Sep 5 00:38:07 ubuntu NetworkManager: <debug> [1283647087.486961] nm_hal_device_added(): New device added (hal udi is '/org/freedesktop/Hal/devices/storage_serial_ZORAN_COACH_DSC_ZORAN01234567').
Sep 5 00:38:07 ubuntu NetworkManager: <debug> [1283647087.606372] nm_hal_device_added(): New device added (hal udi is '/org/freedesktop/Hal/devices/storage_serial_ZORAN_COACH_DSC_ZORAN01234567_0').
Sep 5 00:38:07 ubuntu NetworkManager: <debug> [1283647087.803836] nm_hal_device_added(): New device added (hal udi is '/org/freedesktop/Hal/devices/volume_part_1_size_4884480').
Sep 5 00:38:08 ubuntu NetworkManager: <debug> [1283647088.074773] nm_hal_device_added(): New device added (hal udi is '/org/freedesktop/Hal/devices/volume_uuid_3A1E_1F03').
Sep 5 00:38:08 ubuntu hald: mounted /dev/sdg1 on behalf of uid 999
=========
Sep 5 00:42:53 ubuntu hald: unmounted /dev/sdg1 from '/media/NO_NAME' on behalf of uid 999
=========

Just to be clear, all the functions work fine on windows XP with the Zoran Couch drivers provided. The camcorder connects and disconnects as a USB Storage device or a camcorder and works as expected on XP.

Shimi Chen (shimi-chen)
affects: ubuntu → linux (Ubuntu)
Revision history for this message
Brad Figg (brad-figg) wrote : Missing required logs.

This bug is missing log files that will aid in dianosing the problem. From a terminal window please run:

apport-collect 630568

and then change the status of the bug back to 'New'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for linux (Ubuntu) because there has been no activity for 60 days.]

Changed in linux (Ubuntu):
status: Incomplete → Expired
DarkJavi (darkjavi)
Changed in linux (Ubuntu):
status: Expired → New
Revision history for this message
DarkJavi (darkjavi) wrote :
Download full text (6.5 KiB)

This is still present on 10.04, 10.10, 11.04, 11.10 and 12.04.

I've got a poseidon cam clone, based on zoran chipset, this is lsusb:
Bus 002 Device 008: ID 0595:4343 Zoran Microelectronics, Ltd Digital Camera EX-20 DSC

When plugged it shows the contents of the usb card, but when you press the button on the cam to switch to webcam mode it fails, leaving the usb subsystem blocked(no new devices are detected).

*Dmesg when plugging the camera in storage mode:
[68912.198268] scsi26 : usb-storage 2-1:1.0
[68913.219315] scsi 26:0:0:0: Direct-Access ZORAN COACH6 (I62) 1.10 PQ: 0 ANSI: 0 CCS
[68913.219913] sd 26:0:0:0: Attached scsi generic sg5 type 0
[68913.222283] sd 26:0:0:0: [sde] 94912 512-byte logical blocks: (48.5 MB/46.3 MiB)
[68913.222795] sd 26:0:0:0: [sde] Write Protect is off
[68913.222798] sd 26:0:0:0: [sde] Mode Sense: 00 06 00 00
[68913.223419] sd 26:0:0:0: [sde] No Caching mode page present
[68913.223422] sd 26:0:0:0: [sde] Assuming drive cache: write through
[68913.225795] sd 26:0:0:0: [sde] No Caching mode page present
[68913.225798] sd 26:0:0:0: [sde] Assuming drive cache: write through
[68913.230558] sde: sde1
[68913.232787] sd 26:0:0:0: [sde] No Caching mode page present
[68913.232790] sd 26:0:0:0: [sde] Assuming drive cache: write through
[68913.232793] sd 26:0:0:0: [sde] Attached SCSI removable disk

*Then switching to webcam mode:

[68948.707330] usb 2-1: USB disconnect, device number 7
[68949.200050] usb 2-1: new high-speed USB device number 8 using ehci_hcd
[68949.334059] usb-storage: probe of 2-1:1.0 failed with error -5
[68949.351105] Linux video capture interface: v2.00
[68949.351773] zr364xx 2-1:1.0: Zoran 364xx compatible webcam plugged
[68949.351776] zr364xx 2-1:1.0: model 0595:4343 detected
[68949.351780] usb 2-1: 320x240 mode selected
[68949.351857] usb 2-1: Zoran 364xx controlling device video0
[68949.351876] usbcore: registered new interface driver zr364xx
[68949.351878] zr364xx: Zoran 364xx
[68949.394178] ehci_hcd 0000:00:13.2: force halt; handshake ffffc90000c78424 00004000 00000000 -> -110
[68949.394189] ehci_hcd 0000:00:13.2: HC died; cleaning up
[68949.394233] usb 2-1: USB disconnect, device number 8
[68949.394247] usb 2-2: usbfs: usb_submit_urb returned -110
[68949.400095] usb 2-1: Failed sending control message, error -108.
[68949.400104] usb 2-1: error during open sequence: 2
[68949.412018] BUG: unable to handle kernel NULL pointer dereference at (null)
[68949.412040] IP: [<ffffffff81657aea>] __mutex_lock_slowpath+0xaa/0x150
[68949.412054] PGD 0
[68949.412055] Oops: 0002 [#1] SMP
[68949.412058] CPU 1
[68949.412058] Modules linked in: zr364xx videodev v4l2_compat_ioctl32 videobuf_vmalloc videobuf_core nls_utf8 nls_iso8859_1 nls_cp437 isofs vfat fat pci_stub vboxpci(O) vboxnetadp(O) vboxnetflt(O) vboxdrv(O) bnep rfcomm bluetooth ppdev binfmt_misc vesafb usbhid hid snd_hda_codec_hdmi snd_hda_codec_realtek snd_seq_midi snd_rawmidi nvidia(P) snd_seq_midi_event snd_hda_intel snd_hda_codec snd_hwdep snd_seq snd_seq_device snd_pcm sp5100_tco snd_timer edac_core k10temp edac_mce_amd i2c_piix4 asus_atk0110 snd soundcore snd_page_alloc mac_hid wmi lp parport firewire_ohci firewire_core crc...

Read more...

Changed in linux (Ubuntu):
status: New → Confirmed
Revision history for this message
penalvch (penalvch) wrote :

Peter McKenna, thank you for reporting this bug and helping make Ubuntu better. This bug was reported a while ago and there hasn't been any activity in it recently. We were wondering if this is still an issue? If so, could you please execute the following at the Terminal as it will automatically gather and attach updated debug information to this report:
apport-collect -p linux <replace-with-bug-number>

Also, if you could test the latest upstream kernel available that would be great. It will allow additional upstream developers to examine the issue. Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Once you've tested the upstream kernel, please remove the 'needs-upstream-testing' tag. This can be done by clicking on the yellow pencil icon next to the tag located at the bottom of the bug description and deleting the 'needs-upstream-testing' text. Please let us know your results.

Thanks in advance.

tags: added: i386 lucid needs-upstream-testing
Changed in linux (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
DarkJavi (darkjavi) wrote : Re: [Bug 630568] Re: Zoran zr364xx connect and disconnect problems

This issue is there since (at least) ubuntu 10.04. And is still here since
that driver hasn't been updated since his creation.

I'm traveling and don't have access to that hardware, when I get back I'll
run the apport.

I'll be happy if at least could plug the camera without hanging the entire
usb subsystem.
El 26/03/2012 06:07, "Christopher M. Penalver" <email address hidden>
escribió:

> Peter McKenna, thank you for reporting this bug and helping make Ubuntu
> better. This bug was reported a while ago and there hasn't been any
> activity in it recently. We were wondering if this is still an issue? If
> so, could you please execute the following at the Terminal as it will
> automatically gather and attach updated debug information to this report:
> apport-collect -p linux <replace-with-bug-number>
>
> Also, if you could test the latest upstream kernel available that would be
> great. It will allow additional upstream developers to examine the issue.
> Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Once you've
> tested the upstream kernel, please remove the 'needs-upstream-testing' tag.
> This can be done by clicking on the yellow pencil icon next to the tag
> located at the bottom of the bug description and deleting the
> 'needs-upstream-testing' text. Please let us know your results.
>
> Thanks in advance.
>
> ** Tags added: i386 lucid needs-upstream-testing
>
> ** Changed in: linux (Ubuntu)
> Status: Confirmed => Incomplete
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/630568
>
> Title:
> Zoran zr364xx connect and disconnect problems
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/ubuntu/+source/linux/+bug/630568/+subscriptions
>

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for linux (Ubuntu) because there has been no activity for 60 days.]

Changed in linux (Ubuntu):
status: Incomplete → Expired
Revision history for this message
Richard Riley Gress (searchfgold67899) wrote :

This issue persists in releases up to 14.04.
I have a camera to test things on.

Changed in linux (Ubuntu):
status: Expired → Confirmed
Revision history for this message
penalvch (penalvch) wrote :

Richard Riley Gress, thank you for your comment. So your hardware and problem may be tracked, could you please file a new report with Ubuntu by executing the following in a terminal while booted into a Ubuntu repository kernel (not a mainline one) via:
ubuntu-bug linux

For more on this, please read the official Ubuntu documentation:
Ubuntu Bug Control and Ubuntu Bug Squad: https://wiki.ubuntu.com/Bugs/BestPractices#X.2BAC8-Reporting.Focus_on_One_Issue
Ubuntu Kernel Team: https://wiki.ubuntu.com/KernelTeam/KernelTeamBugPolicies#Filing_Kernel_Bug_reports
Ubuntu Community: https://help.ubuntu.com/community/ReportingBugs#Bug_reporting_etiquette

When opening up the new report, please feel free to subscribe me to it.

Thank you for your understanding.

Helpful bug reporting tips:
https://wiki.ubuntu.com/ReportingBugs

Changed in linux (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for linux (Ubuntu) because there has been no activity for 60 days.]

Changed in linux (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.