Hi Johannes,

On Wednesday 23 April 2008 10:16, Johannes Weißl wrote:
> Hello,
> 
> I have a Creative Live! Cam Optia and it is working fine with kernel
> 2.6.24.4 and uvc svn203. But after unplugging (and plug in again) the
> webcam, as soon as I start an application that uses the webcam, I get a
> kernel Oops and the webcam is unusable until reboot.
> 
> My system is a IBM Thinkpad T42p, with Debian Lenny. I also postet a bug
> report, but the mailing list seems to be the prefered way. Useful
> information (as requested in a post earlier) is attached.
> 
> dmesg output:
> 
> uvcvideo: Found UVC 1.00 device Live! Cam Optia (041e:4057)
> videodev: "" has no release callback. Please fix your driver for proper 
sysfs support, see http://lwn.net/Articles/36850/

That's very strange. Are you sure you're using svn203 and not a driver 
installed by your distribution ? Could you please post more of the kernel 
log ? I need all messages related to the UVC driver, including messages 
printed when the driver is loaded and messages related to the first 
plug/unplug of the camera.

> input: Live! Cam Optia as /class/input/input9
> BUG: unable to handle kernel NULL pointer dereference at virtual address 
00000030
> printing eip: f9e050a5 *pde = 00000000
> Oops: 0000 [#1] PREEMPT
> Modules linked in: michael_mic arc4 ieee80211_crypt_tkip uvcvideo 
compat_ioctl32 videodev v4l1_compat v4l2_common radeon drm binfmt_misc rfcomm 
l2cap bluetooth nfsd exportfs uinput ppdev lp ipv6 xt_tcpudp xt_state 
iptable_filter nf_conntrack_ftp nf_conntrack_ipv4 nf_conntrack ip_tables 
x_tables acpi_cpufreq cpufreq_userspace cpufreq_stats cpufreq_ondemand 
cpufreq_conservative cpufreq_powersave freq_table rpcsec_gss_krb5 auth_rpcgss 
nfs lockd sunrpc deflate zlib_deflate twofish twofish_common camellia serpent 
blowfish des_generic ecb xcbc sha1_generic crypto_null af_key fuse 
snd_seq_oss snd_seq_midi_event snd_seq snd_seq_device loop fbcon font bitblit 
softcursor radeonfb fb_ddc i2c_algo_bit cfbcopyarea i2c_core cfbimgblt 
cfbfillrect irtty_sir sir_dev 8250_pci joydev 8250_pnp pcmcia irda crc_ccitt 
parport_pc parport 8250 serial_core snd_intel8x0 snd_pcm_oss snd_mixer_oss 
snd_intel8x0m snd_ac97_codec ac97_bus snd_pcm snd_timer rtc psmouse snd 
soundcore snd_page_alloc ipw2200 ieee80211 ieee80211_crypt firmware_class 
yenta_socket rsrc_nonstatic pcmcia_core rng_core battery ac video output 
thinkpad_acpi hwmon intel_agp agpgart evdev button nvram sha256_generic 
aes_generic aes_i586 cbc blkcipher dm_crypt dm_mod e1000 ehci_hcd uhci_hcd 
usbcore thermal processor fan
> 
> Pid: 3268, comm: mplayer Not tainted (2.6.24.4 #1)
> EIP: 0060:[<f9e050a5>] EFLAGS: 00010246 CPU: 0
> EIP is at video_open+0xc5/0x1d0 [videodev]
> EAX: 00000000 EBX: f9e05640 ECX: f9e05640 EDX: f6b78b80
> ESI: 00000000 EDI: f6b78b80 EBP: f69b169c ESP: dfab5ec0
> DS: 007b ES: 007b FS: 0000 GS: 0033 SS: 0068
> Process mplayer (pid: 3268, ti=dfab4000 task=f6b2c540 task.ti=dfab4000)
> Stack: dfad4ec0 c023844f 00000000 c0172bb2 dfad4ec0 f9e04fe0 00000000 
f69b169c
> c017323c f6b78b80 00008003 f6b78b80 00000000 f69b169c f7bb9400 c016e473
> f7f47a80 f6b78b80 00008002 dfab5f30 f751c000 c016e635 f6b78b80 c0173140
> Call Trace:
> [<c023844f>] kobject_get+0xf/0x20
> [<c0172bb2>] cdev_get+0x22/0x90
> [<f9e04fe0>] video_open+0x0/0x1d0 [videodev]
> [<c017323c>] chrdev_open+0xfc/0x1e0
> [<c016e473>] __dentry_open+0xd3/0x1e0
> [<c016e635>] nameidata_to_filp+0x35/0x40
> [<c0173140>] chrdev_open+0x0/0x1e0
> [<c016e68b>] do_filp_open+0x4b/0x60
> [<c016e302>] get_unused_fd_flags+0x52/0xe0
> [<c016e6ec>] do_sys_open+0x4c/0xe0
> [<c016e7bc>] sys_open+0x1c/0x20
> [<c010425e>] sysenter_past_esp+0x5f/0x85
> =======================
> Code: 40 08 a8 04 0f 85 03 01 00 00 8b 54 24 0c 31 c0 85 d2 0f 85 9e 00 00 
00 8d b4 26 00 00 00 00 8d bc 27 00 00 00 00 89 47 10 31 f6 <8b> 48 30 85 c9 
74 64 89 fa 89 e8 ff d1 85 c0 89 c6 74 58 8b 47
> EIP: [<f9e050a5>] video_open+0xc5/0x1d0 [videodev] SS:ESP 0068:dfab5ec0
> ---[ end trace 37b498d85eb51687 ]---
> 
Best regards,

Laurent Pinchart
_______________________________________________
Linux-uvc-devel mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/linux-uvc-devel

Reply via email to