From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from claranet-outbound-smtp01.uk.clara.net ([195.8.89.34]) by mail.linuxtv.org with esmtp (Exim 4.63) (envelope-from ) id 1MJBlv-0003hR-6I for linux-dvb@linuxtv.org; Tue, 23 Jun 2009 21:35:11 +0200 Received: from [79.123.74.191] (port=10695 helo=mail.onasticksoftware.net) by relay01.mail.eu.clara.net (relay.clara.net [213.253.3.41]:1025) with esmtp id 1MJBlM-0002kM-5b (Exim 4.69) for linux-dvb@linuxtv.org (return-path ); Tue, 23 Jun 2009 20:34:37 +0100 Received: from onasticksoftware.net (lapdog.onasticksoftware.net [192.168.0.3]) by mail.onasticksoftware.net (Postfix) with ESMTP id 4FE222F442A for ; Tue, 23 Jun 2009 20:34:34 +0100 (BST) Message-ID: Date: Tue, 23 Jun 2009 20:33:10 +0100 To: linux-dvb@linuxtv.org From: jon bird MIME-Version: 1.0 Subject: [linux-dvb] dvb v4l code break webcam drivers Reply-To: linux-media@vger.kernel.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: linux-dvb-bounces@linuxtv.org Errors-To: linux-dvb-bounces+mchehab=infradead.org@linuxtv.org List-ID: I replaced my stock Linux V4l/dvb drivers with the versions from cvs on linuxtv.org whilst attempting to resolve problems with my Nova-T stick (a red herring as it happens). However what I've discovered since is that they argue quite badly with drivers for the 2 webcams I have (of course the webcam drivers themselves may be at fault here but I thought it worth pointing out....). Replacing the linux kernel modules (2.6.26) resolves the problem and both these and the DVB side work. here's the log from the snapshot I took 2 days ago: Jun 22 17:17:55 fridge kernel: ------------[ cut here ]------------ Jun 22 17:17:55 fridge kernel: WARNING: at /opt2/data/kernel/v4l-dvb-6c50c4b2ef70/v4l/v4l2-dev.c:434 video_register_device_index+0x3a/0x354 [videodev]() Jun 22 17:17:55 fridge kernel: Modules linked in: gspca(+) videodev v4l1_compat af_packet nfsd exportfs usbserial ppdev parport_pc lp parport snd_pcm_oss snd_mixer_oss snd_via82xx snd_ac97_codec ac97_bus snd_pcm snd_timer snd_page_alloc snd_mpu401_uart snd_rawmidi snd_seq_device snd soundcore xt_TCPMSS xt_DSCP ipt_MASQUERADE ipt_LOG ipt_REDIRECT xt_state joydev evdev dvb_usb_dib0700 dib7000p dib7000m dvb_usb dvb_core firmware_class dib3000mc dibx000_common dib0070 uhci_hcd ohci_hcd ehci_hcd usbcore ipv6 8139too mii ipt_REJECT iptable_mangle iptable_nat nf_nat iptable_filter nf_conntrack_ipv4 nf_conntrack ip_tables mt2060 i2c_core sata_via libata dock 8250 serial_core Jun 22 17:17:55 fridge kernel: Pid: 3853, comm: modprobe Not tainted 2.6.26 #9 Jun 22 17:17:55 fridge kernel: [warn_on_slowpath+62/91] warn_on_slowpath+0x3e/0x5b Jun 22 17:17:55 fridge kernel: [] warn_on_slowpath+0x3e/0x5b Jun 22 17:17:55 fridge kernel: [__wake_up+15/21] __wake_up+0xf/0x15 Jun 22 17:17:55 fridge kernel: [] __wake_up+0xf/0x15 Jun 22 17:17:55 fridge kernel: [wake_up_klogd+43/45] wake_up_klogd+0x2b/0x2d Jun 22 17:17:55 fridge kernel: [] wake_up_klogd+0x2b/0x2d Jun 22 17:17:55 fridge kernel: [] usb_internal_control_msg+0x54/0x61 [usbcore] Jun 22 17:17:55 fridge kernel: [] usb_control_msg+0x7e/0x8b [usbcore] Jun 22 17:17:55 fridge kernel: [printk+14/17] printk+0xe/0x11 Jun 22 17:17:55 fridge kernel: [] printk+0xe/0x11 Jun 22 17:17:55 fridge kernel: [] spca5xx_getcapability+0xa2/0xad [gspca] Jun 22 17:17:55 fridge kernel: [] video_register_device_index+0x3a/0x354 [videodev] Jun 22 17:17:55 fridge kernel: [] video_register_device+0x7/0x9 [videodev] Jun 22 17:17:55 fridge kernel: [] spca5xx_probe+0x1f4/0x287 [gspca] Jun 22 17:17:55 fridge kernel: [] usb_probe_interface+0xb3/0xde [usbcore] Jun 22 17:17:55 fridge kernel: [__driver_attach+0/85] __driver_attach+0x0/0x55 Jun 22 17:17:55 fridge kernel: [] __driver_attach+0x0/0x55 Jun 22 17:17:55 fridge kernel: [really_probe+112/226] really_probe+0x70/0xe2 Jun 22 17:17:55 fridge kernel: [] really_probe+0x70/0xe2 Jun 22 17:17:55 fridge kernel: [driver_probe_device+54/62] driver_probe_device+0x36/0x3e Jun 22 17:17:55 fridge kernel: [] driver_probe_device+0x36/0x3e Jun 22 17:17:55 fridge kernel: [__driver_attach+55/85] __driver_attach+0x37/0x55 Jun 22 17:17:55 fridge kernel: [] __driver_attach+0x37/0x55 Jun 22 17:17:55 fridge kernel: [bus_for_each_dev+53/89] bus_for_each_dev+0x35/0x59 Jun 22 17:17:55 fridge kernel: [] bus_for_each_dev+0x35/0x59 Jun 22 17:17:55 fridge kernel: [driver_attach+17/19] driver_attach+0x11/0x13 Jun 22 17:17:55 fridge kernel: [] driver_attach+0x11/0x13 Jun 22 17:17:55 fridge kernel: [__driver_attach+0/85] __driver_attach+0x0/0x55 Jun 22 17:17:55 fridge kernel: [] __driver_attach+0x0/0x55 Jun 22 17:17:55 fridge kernel: [bus_add_driver+138/306] bus_add_driver+0x8a/0x132 Jun 22 17:17:55 fridge kernel: [] bus_add_driver+0x8a/0x132 Jun 22 17:17:55 fridge kernel: [driver_register+104/136] driver_register+0x68/0x88 Jun 22 17:17:55 fridge kernel: [] driver_register+0x68/0x88 Jun 22 17:17:55 fridge kernel: [] usb_register_driver+0x52/0x9c [usbcore] Jun 22 17:17:55 fridge kernel: [] usb_spca5xx_init+0x14/0x31 [gspca] Jun 22 17:17:55 fridge kernel: [] sys_init_module+0x84/0x173 Jun 22 17:17:55 fridge kernel: [syscall_call+7/11] syscall_call+0x7/0xb Jun 22 17:17:55 fridge kernel: [] syscall_call+0x7/0xb Jun 22 17:17:55 fridge kernel: ======================= Jun 22 17:17:55 fridge kernel: ---[ end trace be190c3dbfd1c67f ]--- this happens with the spca5xx webcam driver and the old Logitech quickcam express driver. -- == jon bird - software engineer == == == posted as: news 'at' onastick 'dot' clara.co.uk _______________________________________________ linux-dvb users mailing list For V4L/DVB development, please use instead linux-media@vger.kernel.org linux-dvb@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb