Hi all, I just fixed a similar bug for the m5603c-mt9v011 branch. The bug was actually caused by a bad memcpy which used to overwrite some members of the cam structure instead of just updating current_fmt in VIDIOC_S_FMT. I have that fixed for my m5603c-mt9v011 and I've also applied it for the m5602-ov9650-2. A bit strange...
Regards, Ilyes Gouta. 2008/4/21 Erik Andrén <[EMAIL PROTECTED]>: > Hi, > There's currently some regressions on that branch. > I'll try to sort them out tonight if I find the time. > > Regards, > Erik > > 2008/4/21, naudar <[EMAIL PROTECTED]>: > > > > > > > > Hello, > > I'm using a Packard Bell MX36 laptop with an m5602 Webcam on Mandriva 2008 > Spring and a 2.6.24.4 kernel. > > I tryed the last m5602-ov9650-2 ( 134 ) and my webcam is well recognized > > > > dmseg : > > > > Linux video capture interface: v2.00 > > > /home/arnaud/test_webcam/m560x-driver/m560x/branches/m5602-ov9650-2/m5602.c: > usb_m5602_init - WebCam driver startup > > > /home/arnaud/test_webcam/m560x-driver/m560x/branches/m5602-ov9650-2/m5602.c: > BisonCam webcam found. > > > /home/arnaud/test_webcam/m560x-driver/m560x/branches/m5602-ov9650-2/m5602.c: > Probing for an ov9650 sensor > > > /home/arnaud/test_webcam/m560x-driver/m560x/branches/m5602-ov9650-2/m5602.c: > m5602_probe - m5602 WebCam driver is now controlling video device 0 > > usbcore: registered new interface driver m5602 > > > /home/arnaud/test_webcam/m560x-driver/m560x/branches/m5602-ov9650-2/m5602.c: > 0.1.0:M5602 Webcam Driver > > > /home/arnaud/test_webcam/m560x-driver/m560x/branches/m5602-ov9650-2/m5602_v4l2.c: > BisonCam on /dev/video0 opened > > > > Before this version, the sensor was not recognized and I had to use > force=1 when I loaded the module. > > > > The Bayer mode just show me a black picture and the fps is 0 or 1. > > The problem is that LiveCam crash when I try the RGB mode and dmesg send > me : > > > > > /home/arnaud/test_webcam/m560x-driver/m560x/branches/m5602-ov9650-2/m5602_v4l2.c: > BisonCam on /dev/video0 opened > > BUG: unable to handle kernel NULL pointer dereference at virtual address > 00000044 > > printing eip: f8ca8500 *pde = 00000000 > > Oops: 0000 [#1] SMP > > Modules linked in: m5602 videodev v4l2_common v4l1_compat ipt_IFWLOG > ipt_psd ip_set_iptree iptable_raw xt_comment xt_policy ipt_ULOG ipt_TTL > ipt_ttl ipt_TOS ipt_tos ipt_set ipt_SAME ipt_REJECT ipt_REDIRECT ipt_recent > ipt_owner ipt_NETMAP ipt_MASQUERADE ipt_LOG ipt_iprange ipt_ECN ipt_ecn > ipt_CLUSTERIP ipt_ah ipt_addrtype nf_nat_tftp nf_nat_snmp_basic nf_nat_sip > nf_nat_pptp nf_nat_proto_gre nf_nat_irc nf_nat_h323 nf_nat_ftp nf_nat_amanda > ts_kmp nf_conntrack_amanda nf_conntrack_tftp nf_conntrack_sip > nf_conntrack_proto_sctp nf_conntrack_pptp nf_conntrack_proto_gre > nf_conntrack_netlink nf_conntrack_netbios_ns nf_conntrack_irc > nf_conntrack_h323 nf_conntrack_ftp ip_set_portmap ip_set_macipmap > ip_set_ipmap ip_set_iphash ip_set xt_tcpmss xt_pkttype xt_physdev xt_NFQUEUE > xt_NFLOG xt_multiport xt_MARK xt_mark fglrx(P) xt_mac xt_limit xt_length > xt_helper xt_hashlimit ip6_tables xt_DSCP xt_dscp xt_dccp xt_conntrack > xt_CONNMARK xt_connmark xt_CLASSIFY xt_tcpudp xt_state iptable_nat nf_nat > nf_conntrack_ipv4 nf_conntrack iptable_mangle nfnetlink iptable_filter > ip_tables x_tables wlan_wep af_packet snd_seq_dummy snd_seq_oss > snd_seq_midi_event snd_seq snd_seq_device snd_pcm_oss ipv6 snd_mixer_oss > binfmt_misc loop fuse dm_mirror dm_mod cpufreq_ondemand cpufreq_conservative > cpufreq_powersave freq_table nvram 8139cp rtc_cmos wlan_scan_sta usbmouse > ath_rate_sample 8139too usbhid mii ff_memless serio_raw pcspkr snd_hda_intel > ide_cd snd_pcm snd_timer snd_page_alloc snd_hwdep snd soundcore i2c_piix4 > i2c_core video output ac battery thermal asus_laptop led_class processor > button shpchp ath_pci pci_hotplug wlan ath_hal(P) ati_agp agpgart wacom > joydev evdev sg ide_disk ide_generic atiixp ide_core ata_piix ahci libata > sd_mod scsi_mod ext3 jbd uhci_hcd ohci_hcd ehci_hcd usbcore > > > > Pid: 8291, comm: livecam Tainted: P (2.6.24.4-laptop-1mnb #1) > > EIP: 0060:[<f8ca8500>] EFLAGS: 00210246 CPU: 0 > > EIP is at v4l_m5602_ioctl+0x930/0x1a10 [m5602] > > EAX: 00000000 EBX: 00000000 ECX: 00980902 EDX: 00000000 > > ESI: c0445624 EDI: e8a21000 EBP: f07fff54 ESP: f07ffbb4 > > DS: 007b ES: 007b FS: 00d8 GS: 0033 SS: 0068 > > Process livecam (pid: 8291, ti=f07fe000 task=f7fe85d0 task.ti=f07fe000) > > Stack: 00000000 00000008 00000004 00000000 00000008 00000000 00000000 > 00000304 > > f07ffe54 e8a21000 e8a21000 00000000 00000000 00000001 e99870c0 > 00000000 > > f7fe85d0 c0126800 00100100 00200200 f2ac7198 efbe1240 00000000 > f7fe85d0 > > Call Trace: > > [<c010645a>] show_trace_log_lvl+0x1a/0x30 > > [<c010651b>] show_stack_log_lvl+0xab/0xd0 > > [<c01065fd>] show_registers+0xbd/0x1c0 > > [<c010682e>] die+0x12e/0x260 > > [<c012287f>] do_page_fault+0x33f/0x650 > > [<c0341e9a>] error_code+0x72/0x78 > > [<c019a5d8>] do_ioctl+0x88/0xa0 > > [<c019a80f>] vfs_ioctl+0x21f/0x2a0 > > [<c019a8e3>] sys_ioctl+0x53/0x70 > > [<c010532e>] sysenter_past_esp+0x6b/0xa1 > > ======================= > > Code: 8b 5f 04 0f 85 41 0d 00 00 8b 8d 00 ff ff ff 31 d2 eb 0c 83 c2 01 83 > fa 22 0f 84 bf f7 ff ff 85 c9 74 f0 89 d0 c1 e0 06 8d 04 90 <3b> 4c 03 44 75 > e2 8d 74 03 44 b9 11 00 00 00 8b bd 80 fc ff ff > > EIP: [<f8ca8500>] v4l_m5602_ioctl+0x930/0x1a10 [m5602] SS:ESP > 0068:f07ffbb4 > > ---[ end trace f35727d1ca416d13 ]--- > > > > I hope it can help you. > > Regards, > > Arnaud > > > > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > > Don't miss this year's exciting event. There's still time to save $100. > > Use priority code J8TL2D2. > > > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone > > _______________________________________________ > > M560x-driver-devel mailing list > > [email protected] > > https://lists.sourceforge.net/lists/listinfo/m560x-driver-devel > > > > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > Don't miss this year's exciting event. There's still time to save $100. > Use priority code J8TL2D2. > > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone > _______________________________________________ > M560x-driver-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/m560x-driver-devel > > ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ M560x-driver-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/m560x-driver-devel
