Laurent Pinchart wrote: > Hi Ioannis, > > >> I have a fuji finepix e550 which is "recognised" by the uvc driver. When I >> plug in the camera I see this messages in dmesg: >> >> usb 2-1: new full speed USB device using uhci_hcd and address 5 >> usb 2-1: configuration #1 chosen from 1 choice >> uvcvideo: Found UVC 1.00 device USB Web Camera (04cb:0172) >> >> and a device node is created: >> /dev/video0 >> >> (and a symlink /dev/video to it) >> >> unfortunately it does work. It fails with the following error message: >> > [snip] > > This is definitely a bug in the UVC driver. It should not crash. > > Could you please set the trace parameter to 127 ? > > echo 127 > /sys/modules/uvcvideo/parameters/trace > > Then try to plug your camera and let the kernel crash :-) I'll need the dmesg > output (you can leave out the syslog output) with all the uvcvideo messages > and the crash dump. > > Cheers, > > Laurent Pinchart > gladly :)
here you go: uvcvideo: Probing generic UVC device 1 uvcvideo: Found format MJPEG. uvcvideo: - 352x288 (10.0 fps) uvcvideo: Found UVC 1.00 device USB Web Camera (04cb:0172) uvcvideo: Scanning UVC chain: OT 3 <- Unit 2 <- IT 1 uvcvideo: Found a valid video chain (1 -> 3). uvcvideo: UVC device initialized. uvcvideo: uvc_v4l2_open uvcvideo: uvc_v4l2_ioctl v4l1 ioctl VIDIOCGCAP, dir=r- (0x803c7601) v4l2 ioctl VIDIOC_QUERYCAP, dir=r- (0x80685600) v4l2 ioctl VIDIOC_ENUMINPUT, dir=rw (0xc04c561a) v4l2 ioctl VIDIOC_ENUMINPUT, dir=rw (0xc04c561a) v4l2 ioctl VIDIOC_ENUM_FMT, dir=rw (0xc0405602) v4l2 ioctl VIDIOC_TRY_FMT, dir=rw (0xc0cc5640) uvcvideo: Trying format 0x47504a4d (MJPG): 10000x10000. uvcvideo: Using default frame interval 100000.0 us (10.0 fps). uvcvideo: uvc_v4l2_ioctl v4l1 ioctl VIDIOCGPICT, dir=r- (0x800e7606) v4l2 ioctl VIDIOC_QUERYCTRL, dir=rw (0xc0445624) uvcvideo: Control 0x00980900 not found. v4l2 ioctl VIDIOC_QUERYCTRL, dir=rw (0xc0445624) uvcvideo: Control 0x00980903 not found. v4l2 ioctl VIDIOC_QUERYCTRL, dir=rw (0xc0445624) uvcvideo: Control 0x00980901 not found. v4l2 ioctl VIDIOC_QUERYCTRL, dir=rw (0xc0445624) uvcvideo: Control 0x00980902 not found. v4l2 ioctl VIDIOC_QUERYCTRL, dir=rw (0xc0445624) uvcvideo: Control 0x00980910 not found. v4l2 ioctl VIDIOC_G_FMT, dir=rw (0xc0cc5604) BUG: unable to handle kernel paging request at virtual address ffffffe2 printing eip: f8f13af7 *pde = 00004067 Oops: 0000 [#1] SMP last sysfs file: /devices/system/cpu/cpu0/cpufreq/scaling_cur_freq Modules linked in: uvcvideo(U) videodev v4l1_compat v4l2_common autofs4 hidp rfcomm l2cap vmnet(U) vmmon(U) sunrpc i8k ip_conntrack_netbios_ns ipt_REJECT iptable_filter ip_tables xt_state ip_conntrack nfnetlink xt_tcpudp ip6table_filter ip6_tables x_tables cpufreq_ondemand video sbs i2c_ec dock button battery asus_acpi ac ipv6 parport_pc lp parport snd_intel8x0m snd_intel8x0 snd_ac97_codec snd_ac97_bus snd_seq_dummy snd_seq_oss snd_seq_midi_event snd_seq nvidia(U) snd_seq_device snd_pcm_oss ide_cd snd_mixer_oss snd_pcm hci_usb joydev snd_timer ohci1394 tg3 cdrom ieee1394 pcspkr i2c_core snd ndiswrapper(U) bluetooth soundcore serio_raw snd_page_alloc dm_snapshot dm_zero dm_mirror dm_mod ext3 jbd ehci_hcd ohci_hcd uhci_hcd CPU: 0 EIP: 0060:[<f8f13af7>] Tainted: P VLI EFLAGS: 00210282 (2.6.18-1.2869.fc6 #1) EIP is at uvc_v4l2_do_ioctl+0x5c0/0xadf [uvcvideo] eax: 00000000 ebx: d0e1fec0 ecx: e220520c edx: ffffffe0 esi: c0cc5604 edi: 00000008 ebp: d82c2030 esp: c8799848 ds: 007b es: 007b ss: 0068 Process camE (pid: 9269, ti=c8799000 task=cc662030 task.ti=c8799000) Stack: 00000000 00000000 c0612dda 00000000 c64d0a40 000006cd d3db7e00 d400dd1c f723d730 f723d730 c65c4c80 000006cd 000f4240 00000000 cc662140 c180a4e0 000f4240 00000000 00000000 00000032 00008000 00008000 000b71b0 000000d0 Call Trace: [<f8e74d13>] v4l_compat_translate_ioctl+0xb7b/0x1b48 [v4l1_compat] [<f8f13f88>] uvc_v4l2_do_ioctl+0xa51/0xadf [uvcvideo] [<f8e7cbc8>] video_usercopy+0x172/0x237 [videodev] [<f8f1311f>] uvc_v4l2_ioctl+0x3b/0x41 [uvcvideo] [<c047f204>] do_ioctl+0x4c/0x62 [<c047f464>] vfs_ioctl+0x24a/0x25c [<c047f4c2>] sys_ioctl+0x4c/0x66 [<c0404013>] syscall_call+0x7/0xb DWARF2 unwinder stuck at syscall_call+0x7/0xb Leftover inexact backtrace: ======================= Code: 00 83 3b 01 8b 48 4c 8b 50 50 0f 85 d0 04 00 00 85 c9 0f 84 c8 04 00 00 85 d2 0f 84 c0 04 00 00 8b 41 04 bf 08 00 00 00 89 43 0c <0f> b7 42 02 89 43 04 0f b7 42 04 c7 43 10 01 00 00 00 89 43 08 EIP: [<f8f13af7>] uvc_v4l2_do_ioctl+0x5c0/0xadf [uvcvideo] SS:ESP 0068:c8799848 <3>BUG: sleeping function called from invalid context at kernel/rwsem.c:20 in_atomic():0, irqs_disabled():1 [<c04051db>] dump_trace+0x69/0x1af [<c0405339>] show_trace_log_lvl+0x18/0x2c [<c04058ed>] show_trace+0xf/0x11 [<c04059ea>] dump_stack+0x15/0x17 [<c0439482>] down_read+0x12/0x20 [<c04315e1>] blocking_notifier_call_chain+0xe/0x29 [<c0427638>] do_exit+0x1b/0x776 [<c040588e>] die+0x29d/0x2c2 [<c0615835>] do_page_fault+0x408/0x4db [<c0404b85>] error_code+0x39/0x40 DWARF2 unwinder stuck at error_code+0x39/0x40 Leftover inexact backtrace: [<f8e6007b>] rfcomm_run+0x414/0x10d2 [rfcomm] [<f8f13af7>] uvc_v4l2_do_ioctl+0x5c0/0xadf [uvcvideo] [<c0612dda>] schedule+0x9b6/0x9dd [<f8f13537>] uvc_v4l2_do_ioctl+0x0/0xadf [uvcvideo] [<c0420768>] __cond_resched+0x25/0x3c [<c0612e2b>] cond_resched+0x2a/0x31 [<f8f13537>] uvc_v4l2_do_ioctl+0x0/0xadf [uvcvideo] [<f8e74d13>] v4l_compat_translate_ioctl+0xb7b/0x1b48 [v4l1_compat] [<c0614640>] _spin_lock_irqsave+0x9/0xd [<c042e24e>] lock_timer_base+0x15/0x2f [<c042e364>] __mod_timer+0x9e/0xa8 [<c04562af>] mempool_alloc+0x37/0xd8 [<c04e2d6a>] cfq_set_request+0x221/0x345 [<c04e21d3>] cfq_add_crq_rb+0xba/0xc3 [<c061461d>] _read_unlock_irq+0x5/0x7 [<c0471073>] __find_get_block_slow+0x11f/0x129 [<c047139d>] __find_get_block+0x15c/0x166 [<c04713e2>] __getblk+0x3b/0x2a3 [<f8850000>] __journal_remove_journal_head+0xce/0x192 [jbd] [<f8887e34>] ext3_get_blocks_handle+0xc0/0x93d [ext3] [<c0472b82>] __bread+0x10/0xa9 [<f8887c31>] ext3_get_branch+0x79/0xcb [ext3] [<c061461d>] _read_unlock_irq+0x5/0x7 [<c0471073>] __find_get_block_slow+0x11f/0x129 [<f8887e34>] ext3_get_blocks_handle+0xc0/0x93d [ext3] [<c047139d>] __find_get_block+0x15c/0x166 [<f8891606>] ext3fs_dirhash+0xf9/0x1c7 [ext3] [<f888bbbf>] dx_probe+0x95/0x2d8 [ext3] [<c04068d1>] do_IRQ+0xb0/0xbc [<c04e7ffd>] vsnprintf+0x459/0x495 [<c053e819>] vt_console_print+0x0/0x224 [<c042516a>] release_console_sem+0x183/0x1c2 [<c0436aa9>] autoremove_wake_function+0x15/0x35 [<c041d78c>] __wake_up_common+0x2f/0x53 [<c041e760>] enqueue_task+0x29/0x39 [<c04257f5>] printk+0x1f/0x95 [<f8e6cae2>] v4l_printk_ioctl+0xa5/0xf4 [v4l2_common] [<f8f13f88>] uvc_v4l2_do_ioctl+0xa51/0xadf [uvcvideo] [<f8f13537>] uvc_v4l2_do_ioctl+0x0/0xadf [uvcvideo] [<c06146f2>] __reacquire_kernel_lock+0x35/0x46 [<c0436aa9>] autoremove_wake_function+0x15/0x35 [<c041d78c>] __wake_up_common+0x2f/0x53 [<c041e580>] __wake_up+0x2a/0x3d [<f8e7cbc8>] video_usercopy+0x172/0x237 [videodev] [<c04c16f7>] inode_has_perm+0x5b/0x63 [<c045f0d0>] __handle_mm_fault+0x7e7/0x860 [<c04257f5>] printk+0x1f/0x95 [<f8f1311f>] uvc_v4l2_ioctl+0x3b/0x41 [uvcvideo] [<f8f13537>] uvc_v4l2_do_ioctl+0x0/0xadf [uvcvideo] [<c047f204>] do_ioctl+0x4c/0x62 [<c047f464>] vfs_ioctl+0x24a/0x25c [<c047f4c2>] sys_ioctl+0x4c/0x66 [<c0404013>] syscall_call+0x7/0xb ======================= uvcvideo: uvc_v4l2_release _______________________________________________ Linux-uvc-devel mailing list Linux-uvc-devel@lists.berlios.de https://lists.berlios.de/mailman/listinfo/linux-uvc-devel