Hi
I have a Lenovo Thinkpad X300, which has a camera built into the lid:
Bus 007 Device 013: ID 17ef:4807 ChipsBnk
UVC claims it:
[ 645.960406] Linux video capture interface: v2.00
[ 645.979595] uvcvideo: Found UVC 1.00 device <unnamed> (17ef:4807)
[ 645.981414] usbcore: registered new interface driver uvcvideo
[ 645.981427] USB Video Class driver (v0.1.0)
However, accessing the device causes the kernel to oops (see attached).
I've tried the version in Ubuntu Hardy and UVC SVN, and they both seem
to oops in uvc_get_video_ctrl.
What can I do to help debug this so my camera works? :)
Cheers,
--
Chris Jones
[EMAIL PROTECTED]
www.tenshu.net
[ 645.996775] BUG: unable to handle kernel paging request at virtual address
fffffff0
[ 645.996788] printing eip: f8f234f2 *pde = 0047b067 *pte = 00000000
[ 645.996800] Oops: 0000 [#1] SMP
[ 645.996806] Modules linked in: uvcvideo compat_ioctl32 videodev v4l1_compat
v4l2_common e1000 iwl4965 iwlwifi_mac80211 cfg80211 tun af_packet i915 drm
binfmt_misc rfcomm l2cap bluetooth uinput ppdev acpi_cpufreq cpufreq_userspace
cpufreq_ondemand cpufreq_powersave cpufreq_conservative cpufreq_stats
freq_table bay dock sbs sbshc container iptable_filter ip_tables x_tables lp
parport loop arc4 ecb evdev thinkpad_acpi nvram psmouse serio_raw iTCO_wdt
iTCO_vendor_support ac battery snd_hda_intel snd_pcm_oss snd_mixer_oss video
output snd_pcm snd_page_alloc snd_hwdep snd_seq_dummy snd_seq_oss snd_seq_midi
snd_rawmidi snd_seq_midi_event button snd_seq snd_timer snd_seq_device snd
shpchp pci_hotplug intel_agp agpgart soundcore ext3 jbd mbcache sha256_generic
aes_i586 cbc blkcipher sg sd_mod sr_mod cdrom pata_acpi ata_generic ahci
ata_piix libata scsi_mod dm_crypt ehci_hcd uhci_hcd usbcore dm_mirror
dm_snapshot dm_mod thermal processor fan fbcon tileblit font bitblit softcursor
fuse
[ 645.996945]
[ 645.996950] Pid: 17560, comm: hald-probe-vide Not tainted (2.6.24-12-generic
#1)
[ 645.996956] EIP: 0060:[<f8f234f2>] EFLAGS: 00010246 CPU: 1
[ 645.996972] EIP is at uvc_get_video_ctrl+0x132/0x180 [uvcvideo]
[ 645.996978] EAX: 00000000 EBX: c83a6030 ECX: 00000000 EDX: f69967cc
[ 645.996983] ESI: 0000001a EDI: cf15b868 EBP: 0000001a ESP: cf15b7f0
[ 645.996988] DS: 007b ES: 007b FS: 00d8 GS: 0033 SS: 0068
[ 645.996994] Process hald-probe-vide (pid: 17560, ti=cf15a000 task=f709e5a0
task.ti=cf15a000)
[ 645.996998] Stack: 00000001 00000001 cf15b80a 0000001a 000003e8 c83a6030
00003436 00000000
[ 645.997012] 00000000 00000000 00000000 00000000 00000000 00000000
00000000 00000000
[ 645.997024] cf15b920 c83a6030 00000500 f8f23b2d 00000082 002e3436
002e3436 002e3436
[ 645.997037] Call Trace:
[ 645.997068] [<f8f23b2d>] uvc_probe_video+0xed/0x130 [uvcvideo]
[ 645.997109] [<f8f215de>] uvc_v4l2_try_format+0x22e/0x350 [uvcvideo]
[ 645.997150] [<f8f22567>] uvc_v4l2_do_ioctl+0xb77/0x1000 [uvcvideo]
[ 645.997192] [<f88eacd8>] v4l_compat_translate_ioctl+0x1aa8/0x2294
[v4l1_compat]
[ 645.997270] [<c012361b>] enqueue_entity+0x2b/0x60
[ 645.997287] [<c0123677>] enqueue_task_fair+0x27/0x30
[ 645.997297] [<c01223f2>] enqueue_task+0x12/0x30
[ 645.997312] [<c01266de>] try_to_wake_up+0x4e/0x350
[ 645.997336] [<c0210852>] __next_cpu+0x12/0x20
[ 645.997345] [<c0123bbd>] find_busiest_group+0x1bd/0x780
[ 645.997360] [<c012289b>] __wake_up_common+0x4b/0x80
[ 645.997397] [<c010436e>] __switch_to+0x9e/0x150
[ 645.997413] [<c031776a>] schedule+0x20a/0x600
[ 645.997432] [<c0136e97>] lock_timer_base+0x27/0x60
[ 645.997462] [<c019aece>] free_poll_entry+0xe/0x20
[ 645.997472] [<c019af00>] poll_freewait+0x20/0x60
[ 645.997483] [<c019b214>] do_sys_poll+0x2d4/0x330
[ 645.997497] [<c019bdc0>] __pollwait+0x0/0xe0
[ 645.997511] [<c01269e0>] default_wake_function+0x0/0x10
[ 645.997536] [<c016f7c0>] __alloc_pages+0x60/0x390
[ 645.997545] [<c019ffcc>] __d_lookup+0x8c/0x120
[ 645.997567] [<c012361b>] enqueue_entity+0x2b/0x60
[ 645.997574] [<c0118bee>] apic_wait_icr_idle+0xe/0x20
[ 645.997585] [<c0123677>] enqueue_task_fair+0x27/0x30
[ 645.997595] [<c01223f2>] enqueue_task+0x12/0x30
[ 645.997608] [<c0123371>] resched_task+0x51/0x60
[ 645.997617] [<c01266de>] try_to_wake_up+0x4e/0x350
[ 645.997646] [<c012289b>] __wake_up_common+0x4b/0x80
[ 645.997662] [<c0124a91>] __wake_up_sync+0x41/0x80
[ 645.997676] [<c02a0138>] __kfree_skb+0x8/0x80
[ 645.997684] [<c030d8f4>] unix_write_space+0x74/0x80
[ 645.997691] [<c030c4de>] unix_stream_recvmsg+0x1ce/0x550
[ 645.997708] [<c030c4de>] unix_stream_recvmsg+0x1ce/0x550
[ 645.997719] [<c030c4de>] unix_stream_recvmsg+0x1ce/0x550
[ 645.997730] [<c029fd91>] skb_dequeue+0x41/0x60
[ 645.997742] [<c030c56d>] unix_stream_recvmsg+0x25d/0x550
[ 645.997773] [<f8f21b22>] uvc_v4l2_do_ioctl+0x132/0x1000 [uvcvideo]
[ 645.997790] [<f8f219f0>] uvc_v4l2_do_ioctl+0x0/0x1000 [uvcvideo]
[ 645.997814] [<c0299be0>] sock_aio_read+0x120/0x130
[ 645.997836] [<f8eea127>] video_usercopy+0xc7/0x220 [videodev]
[ 645.997874] [<c017a237>] handle_mm_fault+0x387/0x730
[ 645.997884] [<c0141b80>] autoremove_wake_function+0x0/0x40
[ 645.997909] [<f8f21394>] uvc_v4l2_ioctl+0x44/0x60 [uvcvideo]
[ 645.997924] [<f8f219f0>] uvc_v4l2_do_ioctl+0x0/0x1000 [uvcvideo]
[ 645.997941] [<c019a638>] do_ioctl+0x78/0x90
[ 645.997954] [<c019a87e>] vfs_ioctl+0x22e/0x2b0
[ 645.997967] [<c019a956>] sys_ioctl+0x56/0x70
[ 645.997978] [<c01053c2>] sysenter_past_esp+0x6b/0xa9
[ 645.998005] =======================
[ 645.998008] Code: 8b 83 70 0d 00 00 0f b6 4f 02 3b 48 20 77 2c 8b 50 24 6b
c1 34 83 ea 34 01 c2 74 1f 0f b6 47 03 3b 42 2c 77 16 c1 e0 05 03 42 30 <8b> 40
f0 89 47 14 83 c4 3c 31 c0 5b 5e 5f 5d c3 31 c0 83 c4 3c
[ 645.998073] EIP: [<f8f234f2>] uvc_get_video_ctrl+0x132/0x180 [uvcvideo]
SS:ESP 0068:cf15b7f0
[ 645.998091] ---[ end trace d8748cede89575d5 ]---
_______________________________________________
Linux-uvc-devel mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/linux-uvc-devel