FATAL: Error inserting gspca. Unknown symbol in module, or unknown parameter

Bug #160814 reported by baldahin
20
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gspca (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

Ubuntu 7.10 Gutsy
try to use Logitech QuickCam IM/Connect via gspca module http://mxhaard.free.fr/spca5xx.html

$ sudo modprobe gspca
FATAL: Error inserting gspca (/lib/modules/2.6.22-14-generic/ubuntu/media/gspcav1/gspca.ko): Unknown symbol in module, or unknown parameter (see dmesg)

$ dmesg
[ 2230.626418] gspca: disagrees about version of symbol video_devdata
[ 2230.626424] gspca: Unknown symbol video_devdata
[ 2230.626586] gspca: disagrees about version of symbol video_unregister_device
[ 2230.626589] gspca: Unknown symbol video_unregister_device
[ 2230.626668] gspca: disagrees about version of symbol video_device_alloc
[ 2230.626670] gspca: Unknown symbol video_device_alloc
[ 2230.626697] gspca: disagrees about version of symbol video_register_device
[ 2230.626699] gspca: Unknown symbol video_register_device
[ 2230.626842] gspca: disagrees about version of symbol video_device_release
[ 2230.626844] gspca: Unknown symbol video_device_release

Revision history for this message
skep (skep) wrote :

I have the same error with Logitech Quickcam Messenger (046d | 08da)

Revision history for this message
mciancio (mciancio) wrote :

Same error with Vimicro 0ac8:305b webcam. I used Ubuntu packages and http://mxhaard.free.fr/download.html tar.gz

Nov 8 16:08:09 localhost kernel: [11418.789782] gspca: disagrees about version of symbol video_device_release
Nov 8 16:08:09 localhost kernel: [11418.789790] gspca: Unknown symbol video_device_release

Revision history for this message
Josep Sànchez (papapep) wrote :

My cam (Logitech Communicate STX) worked perfectly with Edgy and Feisty, but with Gutsy there's no way.
After compiling the latest gspca driver, it shows the same error message as the first post:

$sudo modprobe gspca
FATAL: Error inserting gspca (/lib/modules/2.6.22-10-generic/kernel/drivers/usb/media/gspca.ko): Unknown symbol in module, or unknown parameter (see dmesg)

$dmesg
[ 5679.352000] Linux video capture interface: v2.00
[ 5679.384000] gspca: disagrees about version of symbol video_devdata
[ 5679.384000] gspca: Unknown symbol video_devdata
[ 5679.384000] gspca: disagrees about version of symbol video_unregister_device
[ 5679.384000] gspca: Unknown symbol video_unregister_device
[ 5679.388000] gspca: disagrees about version of symbol video_device_alloc
[ 5679.388000] gspca: Unknown symbol video_device_alloc
[ 5679.388000] gspca: disagrees about version of symbol video_register_device
[ 5679.388000] gspca: Unknown symbol video_register_device
[ 5679.388000] gspca: disagrees about version of symbol video_device_release
[ 5679.388000] gspca: Unknown symbol video_device_release

Revision history for this message
Nigel Pallett (nigelp) wrote :

I had the same problem, but I was able to resolve it by re-installing the packages:

linux-image-2.6.22-14-generic
linux-headers-2.6.22-14-generic
Then I ran "sudo depmod -a"

then I re-compiled gspca and thistime it worked ok when I ran "sudo modprobe gspca"

Revision history for this message
goliash (goliash) wrote :

The same problem, the reinstallation of kernel didn't help. I have Logitech 046d:0921.

Revision history for this message
mciancio (mciancio) wrote :

I had wrong headers installed: I re-installed all the kernel packages, uninstalled old headers, verified link in /usr/src and it worked (Ubuntu 7.10).
Now I've the following packages installed:

ii linux-headers-2.6.22-14 2.6.22-14.47 Header files related to Linux kernel version
ii linux-headers-2.6.22-14-generic 2.6.22-14.47 Linux kernel headers for version 2.6.22 on x
ii linux-headers-generic 2.6.22.14.21 Generic Linux kernel headers
ii linux-image-2.6.22-14-generic 2.6.22-14.47 Linux kernel image for version 2.6.22 on x86
ii linux-image-generic 2.6.22.14.21 Generic Linux kernel image
ii linux-libc-dev 2.6.22-14.47 Linux Kernel Headers for development
ii linux-restricted-modules-generic 2.6.22.14.21 Restricted Linux modules for generic kernels

ls -la /usr/src:
drwxr-xr-x 19 root root 4096 2007-12-19 14:08 linux-headers-2.6.22-14
drwxr-xr-x 5 root root 4096 2007-12-19 14:08 linux-headers-2.6.22-14-generic

I don't know if all the packages are needed, but it works.
Bye

Revision history for this message
markus haider (markus.haider) wrote :

I have the same problem with Logitech 046d:08d9

[ 52.934483] gspca: disagrees about version of symbol video_devdata
[ 52.934488] gspca: Unknown symbol video_devdata
[ 52.934652] gspca: disagrees about version of symbol video_unregister_device
[ 52.934654] gspca: Unknown symbol video_unregister_device
[ 52.934718] gspca: disagrees about version of symbol video_device_alloc
[ 52.934720] gspca: Unknown symbol video_device_alloc
[ 52.934746] gspca: disagrees about version of symbol video_register_device
[ 52.934748] gspca: Unknown symbol video_register_device
[ 52.934886] gspca: disagrees about version of symbol video_device_release
[ 52.934889] gspca: Unknown symbol video_device_release

I run Ubuntu 7.10 64 bit, and I was quite sure that the webcam once worked. After that I did a reinstall, and installed my dvb-t stick using video4linux. As I was trying to connect my webcam, I got the above errormessages.

Revision history for this message
Turgon (hormigon-pretensado-ubuntu) wrote :

 Hello. I managed to make my webcam work doing what Nigel Pallet suggested, but applications like Camorama and such can only access it if run as superuser.
 Best regards and thanks for your kind work.

Revision history for this message
Jesse Burt (avsa242) wrote :

This module loaded fine for me in hardy until updating today or yesterday (hadn't used it since before yesterday). I get the same Unknown symbols in my log.

Revision history for this message
HappyCamper (arno-cs) wrote :

Try runing
$ make menuconfig
(leave menuconfig immediately, saving config)
$ make dep

in the kernel source dir and recompile the driver. This solved it for me (Centos 5.1)

Revision history for this message
waustin (waustin) wrote :

This is neither new nor undecided. It's a real bug requiring a real fix. None of the above-mentioned tips seem to work. It's carried over into Hardy as well.

Revision history for this message
dolorose (rchan79) wrote :

I seem to have got it to work with some modification of Nigel Pallett comments

1.) Install linux kernel image and header for 386 (not just generic)
2.) In the header directory type <i>sudo make menuconfig</i>
3.) Save and exit
4.) type <i>sudo dep</i>
5.) type <i>sudo depmod -a</i>
6.) Install gspca source in the /usr/src/ directory.
7.) Type <i>sudo ./gspca_build</i>

Revision history for this message
Bon (ian-bonham) wrote :

Not sure if this is any help, but I was having exactly the same issue.
I found a solution on the Linux DVB Mailing list archive, so I thought I'd drop it in here in case it helps anyone else.

I had downloaded the V4L-DVB tree to get my Hauppauge HVR4000 working, and did not realise that building gspca after that meant the build was against the 2.6.24 media system, not the V4L tree I had built and installed.

To get around this, I had to go into the v4l-dvb source tree and run :
sudo make kernel-links. This patched the new v4l-dvb tree into the kernel headers.

Then I ran a "make oldconfig" and just set up the new drivers as modules or just pressed 'y' when I was not sure!

depmod -ae
depmod -a

(did both as was not sure of the difference)

Then back into the gspca tree and built it again. This time when I plugged the cam in, it moaned and bitched, but worked!

HTH someone,

Bon

Revision history for this message
frenchn00b (yellow-protoss) wrote :

" HappyCamper wrote on 2008-03-12: (permalink)

Try runing
$ make menuconfig
(leave menuconfig immediately, saving config)
$ make dep

in the kernel source dir and recompile the driver. This solved it for me (Centos 5.1"

which kernel did you choosed ?
could you please provide an url link to the kernel you download to compile it ? is it from the trunk ?
because if you take the very last : wget -N http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.27.8.tar.bz2

it is not working anymore to compile the gspca. :(

Best regards
__
https://bugs.launchpad.net/ubuntu/+source/gspca/+bug/273727

Revision history for this message
Evan Peck (colors) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. Please execute the following command, as it will automatically gather debugging information, in a terminal:
apport-collect 160814
When reporting bugs in the future please use apport by using 'ubuntu-bug' and the name of the package affected. You can learn more about this functionality at https://wiki.ubuntu.com/ReportingBugs.

Please also (in the description) include steps to reproduce the error.

For now it will be Incomplete.

Thank you again!

Changed in gspca (Ubuntu):
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for gspca (Ubuntu) because there has been no activity for 60 days.]

Changed in gspca (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.