public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
From: Stefano Sabatini <stefano.sabatini-lala@poste.it>
To: linux-dvb@linuxtv.org
Subject: [linux-dvb] v4l-dvb gspca modules conflict with standalone gspca module
Date: Sun, 19 Oct 2008 16:20:30 +0200	[thread overview]
Message-ID: <20081019142030.GA10261@geppetto> (raw)
In-Reply-To: <20081016190946.GB25806@geppetto>

On date Thursday 2008-10-16 21:09:46 +0200, Stefano Sabatini wrote:
> Hi all,
> 
> I'm having this problem when trying to compile the modules for linux
> 2.6.26 on a Debian system:
> 
> |stefano@geppetto ~/s/v4l-dvb> make 
> |make -C /home/stefano/src/v4l-dvb/v4l 
> |make[1]: Entering directory `/home/stefano/src/v4l-dvb/v4l'
> |No version yet, using 2.6.26-1-686
> |make[1]: Leaving directory `/home/stefano/src/v4l-dvb/v4l'
> |make[1]: Entering directory `/home/stefano/src/v4l-dvb/v4l'
> |scripts/make_makefile.pl
> |Updating/Creating .config
> |Preparing to compile for kernel version 2.6.26
> |
> |***WARNING:*** You do not have the full kernel sources installed.
> |This does not prevent you from building the v4l-dvb tree if you have the
> |kernel headers, but the full kernel source may be required in order to use
> |make menuconfig / xconfig / qconfig.
> |
> |If you are experiencing problems building the v4l-dvb tree, please try
> |building against a vanilla kernel before reporting a bug.
> |
> |Vanilla kernels are available at http://kernel.org.
> |On most distros, this will compile a newly downloaded kernel:
> 
> I'm on a Debian sytem with kernel and headers at version 2.6.26, so I
> suppose it should find the complete kernel tree.
> 
> |stefano@geppetto /l/modules> uname -a
> |Linux geppetto 2.6.26-1-686 #1 SMP Thu Oct 9 15:18:09 UTC 2008 i686 GNU/Linux
> |stefano@geppetto /l/modules> ls -l /lib/modules/
> |total 36
> |drwxr-xr-x 2 root root 4096 2008-10-14 20:08 2.6.21-2-686/
> |drwxr-xr-x 4 root root 4096 2008-08-23 13:04 2.6.22-2-686/
> |drwxr-xr-x 5 root root 4096 2008-10-13 08:57 2.6.22-3-486/
> |drwxr-xr-x 3 root root 4096 2008-10-13 08:57 2.6.22-3-686/
> |drwxr-xr-x 2 root root 4096 2008-09-24 20:11 2.6.24-etchnhalf.1-686/
> |drwxr-xr-x 2 root root 4096 2008-09-24 20:12 2.6.25-2-486/
> |drwxr-xr-x 3 root root 4096 2008-09-24 20:12 2.6.25-2-686/
> |drwxr-xr-x 3 root root 4096 2008-10-15 11:29 2.6.26-1-486/
> |drwxr-xr-x 4 root root 4096 2008-10-16 20:50 2.6.26-1-686/
> 
> Then when I attach a gspca webcam I get this output in dmesg:
> |[43518.309407] usb 2-2: USB disconnect, address 10
> |[43520.040151] usb 2-2: new full speed USB device using uhci_hcd and address 11
> |[43520.231991] usb 2-2: configuration #1 chosen from 1 choice
> |[43520.256243] usb 2-2: New USB device found, idVendor=046d, idProduct=08d9
> |[43520.256243] usb 2-2: New USB device strings: Mfr=0, Product=0, SerialNumber=0
> |[43520.290979] Linux video capture interface: v2.00
> |[43520.292764] gspca: disagrees about version of symbol video_devdata
> |[43520.292773] gspca: Unknown symbol video_devdata
> |[43520.293829] gspca: disagrees about version of symbol video_unregister_device
> |[43520.293829] gspca: Unknown symbol video_unregister_device
> |[43520.293829] gspca: disagrees about version of symbol video_device_alloc
> |[43520.293829] gspca: Unknown symbol video_device_alloc
> |[43520.293829] gspca: disagrees about version of symbol video_register_device
> |[43520.293829] gspca: Unknown symbol video_register_device
> |[43520.293829] gspca: disagrees about version of symbol video_usercopy
> |[43520.293829] gspca: Unknown symbol video_usercopy
> |[43520.293829] gspca: disagrees about version of symbol video_device_release
> |[43520.293829] gspca: Unknown symbol video_device_release
> |[43520.301833] gspca: main v2.3.0 registered
> |[43520.301833] gspca: disagrees about version of symbol video_devdata
> |[43520.301833] gspca: Unknown symbol video_devdata
> |[43520.301833] gspca: disagrees about version of symbol video_unregister_device
> |[43520.301833] gspca: Unknown symbol video_unregister_device
> |[43520.301833] gspca: disagrees about version of symbol video_device_alloc
> |[43520.301833] gspca: Unknown symbol video_device_alloc
> |[43520.301833] gspca: disagrees about version of symbol video_register_device
> |[43520.301833] gspca: Unknown symbol video_register_device
> |[43520.301833] gspca: disagrees about version of symbol video_usercopy
> |[43520.301833] gspca: Unknown symbol video_usercopy
> |[43520.301833] gspca: disagrees about version of symbol video_device_release
> |[43520.301833] gspca: Unknown symbol video_device_release
> |[43520.307220] gspca: probing 046d:08d9
> |[43521.944222] zc3xx: probe 2wr ov vga 0x0000
> |[43521.987916] zc3xx: probe sensor -> 11
> |[43521.987916] zc3xx: Find Sensor HV7131R(c)
> |[43521.992836] gspca: probe ok
> |[43521.992836] usbcore: registered new interface driver zc3xx
> |[43521.992836] zc3xx: registered
> 
> Strangely enough I don't have the same problem when I try to load
> another module from the same v4l-dvb source.
> 
> I'm using 4vl-dvb mercurial.
> 
> I'll be grateful for any help you can provide.

The problem seems to stem from some conflicts with the previous
installation of a standalone gspca kernel already installed.

On debian I previously installed the gspca module using the usual
module-assistant procedure (m-a a-i gspca), which generetes just one
gspca.ko file.

When installing the v4l-dv package it install many gscpa related
modules, which issue the "Unknown symbol" problem if the previous
gspca modules hasn't been removed.

So removing the old gspca.ko module seems to be the right fix.

BTW I wonder why v4l-dvb includes the gspca modules, which seem to be
related more to the gspca cameras than to DVB devices

Regards.

_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

  reply	other threads:[~2008-10-19 14:21 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-16 19:09 [linux-dvb] kernel sources location and gspca module version Stefano Sabatini
2008-10-19 14:20 ` Stefano Sabatini [this message]
2008-10-19 20:25   ` [linux-dvb] v4l-dvb gspca modules conflict with standalone gspca module Román
2008-10-20 19:36     ` Stefano Sabatini
2008-10-20 20:28       ` Thomas Kaiser
2008-10-21  7:28         ` Matthias Schwarzott
  -- strict thread matches above, loose matches on Subject: below --
2008-10-21 10:16 Eduard Huguet

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20081019142030.GA10261@geppetto \
    --to=stefano.sabatini-lala@poste.it \
    --cc=linux-dvb@linuxtv.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox