Hi Joe,

On Tuesday 06 January 2009, jmk wrote:
> Hi,
>
> I¹ve been successfully using a Logitech QuickCam Pro 9000 with the
> linux-uvc module (iirc, linux-uvc-0.1.0_pre173) for a while. Recently, I
> installed the devel version of v4l in order to test out the new hd-pvr
> driver.
> Unfortunately, while the hd-pvr module is working nicely for me, it appears
> that the new version of uvcvideo isn¹t. Below is the dmesg output when the
> system attempts to load the module. Any suggestions on what might be
> causing the issue or what steps to take to work around it would be greatly
> appreciated.
>
> Thanks,
> Joe
>
> uvcvideo: Found UVC 1.00 device <unnamed> (046d:0990)
> ------------[ cut here ]------------
> kernel BUG at /h/downloads/multimedia/myth/hd-pvr/hdpvr/v4l/v4l2-dev.c:261!

Where did you get the source from ? I had a look at the 
http://hg.jannau.net/hdpvr/ repository, and v4l2-dev.c:261 tests for 
vdev->release being on NULL. This is quite unlikely, as the uvcvideo driver 
provides a release callback.

Could you please try the latest uvcvideo sources available from the 
linuxtv.org/hg/~pinchartl/uvcvideo repository ?

> invalid opcode: 0000 [#1] PREEMPT SMP
> Modules linked in: snd_usb_lib uvcvideo snd_rawmidi snd_hwdep sr_mod bttv
> ir_common videobuf_dma_sg videobuf_core btcx_risc geode_aes snd_seq_oss
> snd_seq_midi_event
>  snd_seq snd_seq_device snd_pcm_oss snd_mixer_oss lirc_serial lirc_dev
> dv1394 wm8775 cx25840 msp3400 saa7127 saa7115 tuner tea5767 tda8290
> tuner_xc2028 xc5000 tda9887 tuner_simple tuner_types mt20xx tea5761 ivtv
> snd_hda_intel snd_pcm firmware_class nvidia(P) snd_timer snd cx2341x hdpvr
> snd_page_alloc parport_pc videodev v4l2_compat_ioctl32 parport pl2303
> mct_u232 v4l1_compat usbserial v4l2_common forcedeth tveeprom ohci1394 sg
> k8temp i2c_nforce2
>
> Pid: 7305, comm: modprobe Tainted: P        (2.6.24-gentoo-r8 #3)
> EIP: 0060:[<f0fca538>] EFLAGS: 00010246 CPU: 0
> EIP is at video_register_device_index+0x408/0x450 [videodev]
> EAX: 00000000 EBX: 00000000 ECX: ffffffff EDX: ee937200
> ESI: ffffffff EDI: 00000000 EBP: dfb910c0 ESP: de2a5c6c
>  DS: 007b ES: 007b FS: 00d8 GS: 0033 SS: 0068
> Process modprobe (pid: 7305, ti=de2a4000 task=e3c90000 task.ti=de2a4000)
> Stack: 000035b6 00000010 000000c0 00000000 ee937200 ffffffff eeea8800
> 00000000
>        ffffffff 00000000 ee937200 00000001 dfb910c0 f0fca58f ffffffff
> f12f1ad1
>        ee937348 00000020 f12faa53 0000046d 00000990 df8ec000 df8ec030
> df8ec028
> Call Trace:
>  [<f0fca58f>] video_register_device+0xf/0x20 [videodev]
>  [<f12f1ad1>] uvc_simplify_fraction+0x6f1/0x790 [uvcvideo]
>  [<f12f27bf>] uvc_delete+0xc4f/0x1eb0 [uvcvideo]

The stacktrace appears to be corrupted.

>  [<c02fa01a>] idr_get_empty_slot+0xea/0x270
>  [<c02fa227>] ida_get_new_above+0x87/0x180
>  [<c03e5d65>] usb_probe_interface+0x75/0x100
>  [<c037f598>] driver_sysfs_add+0x58/0x80
>  [<c037f6ce>] driver_probe_device+0x8e/0x190
>  [<c04ccc3d>] klist_next+0x5d/0xa0
>  [<c037f910>] __driver_attach+0x80/0x90
>  [<c037eaaa>] bus_for_each_dev+0x3a/0x60
>  [<c037f536>] driver_attach+0x16/0x20
>  [<c037f890>] __driver_attach+0x0/0x90
>  [<c037ee5b>] bus_add_driver+0x8b/0x1e0
>  [<c03e5cf0>] usb_probe_interface+0x0/0x100
>  [<c03e58e5>] usb_register_driver+0x95/0x110
>  [<f127d06f>] init_module+0x6f/0x86 [uvcvideo]
>  [<c014a28b>] sys_init_module+0x16b/0x1930
>  [<c010437e>] sysenter_past_esp+0x5f/0x85
>  =======================
> Code: 15 fd f0 89 81 5c 01 00 00 e9 89 fc ff ff 8b 4c 24 38 b8 b0 15 fd f0
> 8b 54 24 10 89 8a b0 01 00 00 e8 0d 3c 50 cf e9 14 ff ff ff <0f> 0b eb fe
> bb c0 e9 fc f0 89 5c 24 04 c7 04 24 cf f0 fc f0 e8
> EIP: [<f0fca538>] video_register_device_index+0x408/0x450 [videodev] SS:ESP
> 0068:de2a5c6c
> ---[ end trace fae1aa80ab5d0dfd ]---

Best regards,

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

Reply via email to