Hello guys,
I've been trying to use this driver for quite some time, but never really get it to work on my MSI GX700 laptop. I don't know if this trace is sufficient for any investigation, but it's all I got from dmesg. If you tell me what else do you need I will try and get it for you. I really want toa have all my hardware work on linux, and the webcam is the last piece of the puzzle. Thanks in advance for any help provided.
gspca: probing 0402:5602
[ 807.183286] ALi m5602: Probing for a po1030 sensor
[ 807.228746] ALi m5602: Probing for a mt9m111 sensor
[ 807.244997] ALi m5602: Probing for a s5k4aa sensor
[ 807.269630] ALi m5602: Detected a s5k4aa sensor
[ 807.376360] gspca: probe ok
[ 821.798734] gspca: frame alloc failed
[ 881.168203] divide error: 0000 [#1] SMP
[ 881.168216] Modules linked in: gspca_m5602 gspca_main compat_ioctl32 videodev v4l1_compat binfmt_misc af_packet rfcomm sco bridge stp bnep l2cap bluetooth vboxdrv ppdev ipv6 tun acpi_cpufreq cpufreq_userspace cpufreq_stats cpufreq_powersave cpufreq_conservative cpufreq_ondemand freq_table sbs pci_slot sbshc container iptable_filter ip_tables x_tables sbp2 parport_pc lp parport pcspkr psmouse serio_raw arc4 ecb crypto_blkcipher sdhci_pci sdhci evdev mmc_core iwlagn iwlcore rfkill iTCO_wdt led_class iTCO_vendor_support mac80211 wmi battery ac cfg80211 nvidia(P) i2c_core video output snd_hda_intel snd_pcm_oss snd_mixer_oss snd_pcm snd_seq_dummy snd_seq_oss snd_seq_midi snd_rawmidi snd_seq_midi_event snd_seq snd_timer snd_seq_device snd soundcore button intel_agp snd_page_alloc agpgart shpchp pci_hotplug ext3 jbd mbcache sr_mod cdrom sd_mod crc_t10dif pata_acpi ata_generic sg usbhid hid usb_storage libusual ohci1394 r8169 ahci ieee1394 ata_piix libata scsi_mod dock uhci_hcd ehci_hcd usbcore thermal processor fan fbcon tileblit font bitblit softcursor fuse
[ 881.168446]
[ 881.168453] Pid: 9093, comm: camorama Tainted: P (2.6.27-7-server #1)
[ 881.168460] EIP: 0060:[<f8e6ba17>] EFLAGS: 00010246 CPU: 0
[ 881.168471] EIP is at v4l1_compat_get_picture+0xe7/0x210 [v4l1_compat]
[ 881.168477] EAX: ffffffff EBX: 00000000 ECX: f39d8004 EDX: 00000000
[ 881.168483] ESI: f08ea220 EDI: f39d8000 EBP: ee1e3dbc ESP: ee1e3da0
[ 881.168488] DS: 007b ES: 007b FS: 00d8 GS: 0033 SS: 0068
[ 881.168495] Process camorama (pid: 9093, ti=ee1e2000 task=f08b3240 task.ti=ee1e2000)
[ 881.168501] Stack: f39d8000 f41e16c0 ee1e3ed0 00000000 f08ea220 f8f08100 ee1e3ed0 ee1e3dcc
[ 881.168521] f8e6c2ba f8efa190 f08ea220 ee1e3ea4 f8efa49e ee1e3ed0 f8efa190 c01cd91a
[ 881.168539] ee1e3f04 ee1e3e34 ee1e3df8 c01c374e f08ea220 ee1e3e20 ee1e3e48 c01c4af1
[ 881.168557] Call Trace:
[ 881.168566] [<f8e6c2ba>] ? v4l_compat_translate_ioctl+0x28a/0x338 [v4l1_compat]
[ 881.168579] [<f8efa190>] ? __video_do_ioctl+0x0/0x3350 [videodev]
[ 881.168593] [<f8efa49e>] ? __video_do_ioctl+0x30e/0x3350 [videodev]
[ 881.168607] [<f8efa190>] ? __video_do_ioctl+0x0/0x3350 [videodev]
[ 881.168620] [<c01cd91a>] ? dput+0x8a/0x130
[ 881.168634] [<c01c374e>] ? path_to_nameidata+0x1e/0x50
[ 881.168644] [<c01c4af1>] ? __link_path_walk+0x561/0xb40
[ 881.168654] [<f8f0774f>] ? dev_open+0xaf/0x110 [gspca_main]
[ 881.168669] [<c01f13ee>] ? posix_acl_permission+0xe/0x150
[ 881.168685] [<c038c688>] ? unlock_kernel+0x28/0x2f
[ 881.168697] [<f8ef922e>] ? video_open+0xee/0x150 [videodev]
[ 881.168710] [<c0257152>] ? kobject_get+0x12/0x20
[ 881.168721] [<c01bd945>] ? chrdev_open+0xd5/0x190
[ 881.168732] [<c0194508>] ? file_ra_state_init+0x8/0x20
[ 881.168743] [<c01b5834>] ? kfree+0x14/0xd0
[ 881.168754] [<c025d604>] ? copy_to_user+0x14/0x120
[ 881.168765] [<f8efd663>] ? video_ioctl2+0x183/0x350 [videodev]
[ 881.168779] [<c01a0f20>] ? arch_get_unmapped_area_topdown+0x0/0x170
[ 881.168791] [<c01d2139>] ? expand_files+0x9/0x60
[ 881.168801] [<c01ea9ce>] ? inotify_inode_queue_event+0xe/0xe0
[ 881.168812] [<c01d2270>] ? alloc_fd+0xe0/0x100
[ 881.168821] [<c01c7a49>] ? vfs_ioctl+0x79/0x90
[ 881.168831] [<c01c7be6>] ? do_vfs_ioctl+0x66/0x1f0
[ 881.168841] [<c021cfe8>] ? cap_file_ioctl+0x8/0x10
[ 881.168852] [<c01c7ddb>] ? sys_ioctl+0x6b/0x70
[ 881.168862] [<c0109f03>] ? sysenter_do_call+0x12/0x2f
[ 881.168875] =======================
[ 881.168879] Code: 66 89 42 08 89 da 89 f0 c7 07 01 00 00 00 89 3c 24 ff 55 08 85 c0 89 45 f0 0f 88 7d 00 00 00 8b 5f 04 31 d2 8b 47 14 8d 44 c3 ff <f7> f3 8b 55 ec 66 89 42 0a 8b 47 0c ba 0e 00 00 00 3d 34 31 31
[ 881.168982] EIP: [<f8e6ba17>] v4l1_compat_get_picture+0xe7/0x210 [v4l1_compat] SS:ESP 0068:ee1e3da0
[ 881.169008] ---[ end trace 476587e6828575b0 ]---
Hello,
lines past the list of loaded modules are useless ;-)
You have a divide error (division by zero probably). Tell us how you have
installed/compiled the driver.
From v4l-dvb? Version?
What linux?
..
The problem is that gspca_main doesn't implement any check on the subdriver
linked to it. Particulary, if you don't compile them in the same way, you
may have different headers file used, giving some strange results.
Franck