Problem with 624f

2 views
Skip to first unread message

Stefan

unread,
May 8, 2008, 5:53:21 AM5/8/08
to microdia
I'm having difficulty loading the Microdia driver on my system after
following the steps provided here:
http://www.indragunawan.com/2008/04/microdia-webcam-ubuntu-710-gutsy/#comment-45.

I'm able to build the HEAD of the driver without any obvious problems,
but get the following error when trying to load the driver:

> sudo insmod microdia.ko
insmod: error inserting ‘microdia.ko’: -1 Unknown symbol in module

> sudo modprobe microdia
FATAL: Error inserting microdia (/lib/modules/2.6.24-16-generic/kernel/
drivers/media/video/usbvideo/microdia.ko): Unknown symbol in module,
or unknown parameter (see dmesg)

My dmesg output looks like this:

[ 156.287528] Linux video capture interface: v2.00
[ 156.422861] microdia: disagrees about version of symbol
video_devdata
[ 156.422867] microdia: Unknown symbol video_devdata
[ 156.423120] microdia: disagrees about version of symbol
video_unregister_device
[ 156.423123] microdia: Unknown symbol video_unregister_device
[ 156.423199] microdia: disagrees about version of symbol
video_device_alloc
[ 156.423202] microdia: Unknown symbol video_device_alloc
[ 156.423234] microdia: disagrees about version of symbol
video_register_device
[ 156.423236] microdia: Unknown symbol video_register_device
[ 156.423346] microdia: disagrees about version of symbol
video_device_release
[ 156.423349] microdia: Unknown symbol video_device_release
[ 239.997767] microdia: disagrees about version of symbol
video_devdata
[ 239.997772] microdia: Unknown symbol video_devdata
[ 239.998020] microdia: disagrees about version of symbol
video_unregister_device
[ 239.998023] microdia: Unknown symbol video_unregister_device
[ 239.998094] microdia: disagrees about version of symbol
video_device_alloc
[ 239.998096] microdia: Unknown symbol video_device_alloc
[ 239.998128] microdia: disagrees about version of symbol
video_register_device
[ 239.998131] microdia: Unknown symbol video_register_device
[ 239.998240] microdia: disagrees about version of symbol
video_device_release
[ 239.998243] microdia: Unknown symbol video_device_release

I'm running Ubntu 8.04:

> uname -a
Linux mediacentre 2.6.24-16-generic #1 SMP Thu Apr 10 13:23:42 UTC
2008 i686 GNU/Linux

I built and loaded this driver successfully on Ubuntu 8.04 running in
VMWare at work (just for fun), but can't get it going on my home
machine. I would like to try building the v4l2-experimental branch,
but don't know how to check it out.

I would be hugely appreciate any help on this.
Many thanks
Stef

JoJo jojo

unread,
May 8, 2008, 7:59:32 AM5/8/08
to micr...@googlegroups.com

Brian Johnson

unread,
May 8, 2008, 8:06:40 AM5/8/08
to micr...@googlegroups.com
Also to checkout th v4l2 branch run the following command from your
checked out repo

git checkout --track -b v4l2-experimental origin/v4l2-experimental

Stefan

unread,
May 8, 2008, 8:29:15 AM5/8/08
to microdia
Gentlemen
Many thanks for the your help on this and your work on the drivers.
I've since managed to build the drivers on my laptop (Kubuntu 8.04)
and load successfully, but I get no picture when testing the webcam in
Skype.
On my Ubuntu machine (the desktop), I do the following and get exactly
the same errors popping up in dmesg.

528 git clone http://repo.or.cz/r/microdia.git
529 cd microdia/
530 git checkout --track -b v4l2-experimental origin/v4l2-
experimental
531 make
532 sudo modprobe videodev
533 sudo modprobe compat-ioctl32
534 sudo insmod microdia.ko

insmod: error inserting 'microdia.ko': -1 Unknown symbol in module

All of the above commands execute without hassle, except the last one
that gives the "Unknown symbol message".

dmesg output:

[12213.987632] microdia: disagrees about version of symbol
video_devdata
[12213.987638] microdia: Unknown symbol video_devdata
[12213.987886] microdia: disagrees about version of symbol
video_unregister_device
[12213.987889] microdia: Unknown symbol video_unregister_device
[12213.987972] microdia: disagrees about version of symbol
video_device_alloc
[12213.987975] microdia: Unknown symbol video_device_alloc
[12213.988014] microdia: disagrees about version of symbol
video_register_device
[12213.988017] microdia: Unknown symbol video_register_device
[12213.988138] microdia: disagrees about version of symbol
video_device_release
[12213.988140] microdia: Unknown symbol video_device_release

I'm assuming that this means that I'm missing a module. Strange that
I've got it loading on two other machines, but not the desktop. I
tried copying the microdia.ko from my Kuibuntu laptop onto the Ubuntu
desktop, but got the same error, so I'm convinced it's a problem with
the Ubuntu machine.
How do I find out all the dependencies of the microdia module?
Is there any other info that I could post that might make solving my
problem easier?
Stefan

On May 8, 10:06 pm, "Brian Johnson" <brij...@gmail.com> wrote:
> Also to checkout th v4l2 branch run the following command from your
> checked out repo
>
> git checkout --track -b v4l2-experimental origin/v4l2-experimental
>
> On Thu, May 8, 2008 at 7:59 AM, JoJo jojo <onetwoj...@gmail.com> wrote:
>
> >  Hi Stefan
>
> >  The solution is listed here
> >  https://groups.google.com/group/microdia/web/testing-microdia-driver-...
>
> >  -JoJo
>
> >  On Thu, May 8, 2008 at 3:23 PM, Stefan <stefanadelb...@gmail.com> wrote:
>
> >  >  I'm having difficulty loading the Microdia driver on my system after
> >  >  following the steps provided here:
> >  >  http://www.indragunawan.com/2008/04/microdia-webcam-ubuntu-710-gutsy/....

Stefan

unread,
May 8, 2008, 8:36:08 AM5/8/08
to microdia
OK, I answered one of my own questions...

$ sudo modprobe --show-depends microdia
insmod /lib/modules/2.6.24-16-generic/kernel/drivers/media/video/v4l1-
compat.ko
insmod /lib/modules/2.6.24-16-generic/kernel/drivers/i2c/i2c-core.ko
insmod /lib/modules/2.6.24-16-generic/kernel/drivers/media/video/v4l2-
common.ko
insmod /lib/modules/2.6.24-16-generic/kernel/drivers/media/video/
videodev.ko
insmod /lib/modules/2.6.24-16-generic/kernel/drivers/usb/core/
usbcore.ko
insmod /lib/modules/2.6.24-16-generic/kernel/drivers/media/video/
usbvideo/microdia.ko

Seems like all of these modules are loaded:

$ sudo insmod /lib/modules/2.6.24-16-generic/kernel/drivers/media/
video/v4l1-compat.ko
insmod: error inserting '/lib/modules/2.6.24-16-generic/kernel/drivers/
media/video/v4l1-compat.ko': -1 File exists
$ sudo insmod /lib/modules/2.6.24-16-generic/kernel/drivers/i2c/i2c-
core.ko
insmod: error inserting '/lib/modules/2.6.24-16-generic/kernel/drivers/
i2c/i2c-core.ko': -1 File exists
$ sudo insmod /lib/modules/2.6.24-16-generic/kernel/drivers/media/
video/v4l2-common.ko
insmod: error inserting '/lib/modules/2.6.24-16-generic/kernel/drivers/
media/video/v4l2-common.ko': -1 File exists
$ sudo insmod /lib/modules/2.6.24-16-generic/kernel/drivers/media/
video/videodev.ko
insmod: error inserting '/lib/modules/2.6.24-16-generic/kernel/drivers/
media/video/videodev.ko': -1 File exists
$ sudo insmod /lib/modules/2.6.24-16-generic/kernel/drivers/usb/core/
usbcore.ko
insmod: error inserting '/lib/modules/2.6.24-16-generic/kernel/drivers/
usb/core/usbcore.ko': -1 File exists
$ sudo insmod /lib/modules/2.6.24-16-generic/kernel/drivers/media/
video/usbvideo/microdia.ko
insmod: error inserting '/lib/modules/2.6.24-16-generic/kernel/drivers/
media/video/usbvideo/microdia.ko': -1 Unknown symbol in module

On May 8, 10:29 pm, Stefan <stefanadelb...@gmail.com> wrote:
> Gentlemen
> Many thanks for the your help on this and your work on the drivers.
> I've since managed to build the drivers on my laptop (Kubuntu 8.04)
> and load successfully, but I get no picture when testing the webcam in
> Skype.
> On my Ubuntu machine (the desktop), I do the following and get exactly
> the same errors popping up in dmesg.
>
>   528  git clonehttp://repo.or.cz/r/microdia.git

JoJo jojo

unread,
May 8, 2008, 9:47:19 AM5/8/08
to micr...@googlegroups.com
are you using a custom kernel instead of a distro kernel?
videodev support seems to be compiled into the kernel you are using,
you need to recompile (sorry) the kernel with the dependencies as a
loadable module

-JoJo

JoJo jojo

unread,
May 8, 2008, 10:10:38 AM5/8/08
to micr...@googlegroups.com
Hi Brian

Looks like a lot of users may want to try out the experimental branch.
I was wondering, is it about time we put up some documentation in the
pages section (regarding branches)?
And on that note where is our friendly neighbourhood documentation man
Grewater ;-)

also, would you like all users(who have a bit of functionality working
with HEAD)
to start using the experimental branch ?

-JoJo

Stefan

unread,
May 8, 2008, 8:23:08 PM5/8/08
to microdia
Hi JoJo
I'm using the latest Ubuntu 8.04 distro kernel, exactly the same one
as I built against in the VMWare Ubuntu 8.04 mentioned earlier (see
'uname -a' output below for the two machines):

The VMWare Ubuntu machine that worked: Linux stefan 2.6.24-16-generic
#1 SMP Thu Apr 10 13:23:42 UTC 2008 i686 GNU/Linux
The desktop that's giving the problems: Linux mediacentre 2.6.24-16-
generic #1 SMP Thu Apr 10 13:23:42 UTC 2008 i686 GNU/Linux

How do I analyse my kernel to see what modules/functionality are built/
compiled in? I would definitely prefer not to get my hands dirty with
recompiling the kernel, if I can possibly help it.

BTW - I'm a C++ developer and I've been looking for a way to put
something back into the open source community for a while now. Please
let me know if there are parts of this project that I might be able to
help out on.

Regards
Stefan

On May 8, 11:47 pm, "JoJo jojo" <onetwoj...@gmail.com> wrote:
> are you using a custom kernel instead of a distro kernel?
> videodev support seems to be compiled into the kernel you are using,
> you need to recompile (sorry) the kernel with the dependencies as a
> loadable module
>
> -JoJo
>
> On Thu, May 8, 2008 at 5:59 PM, Stefan <stefanadelb...@gmail.com> wrote:
>
> >  Gentlemen
> >  Many thanks for the your help on this and your work on the drivers.
> >  I've since managed to build the drivers on my laptop (Kubuntu 8.04)
> >  and load successfully, but I get no picture when testing the webcam in
> >  Skype.
> >  On my Ubuntu machine (the desktop), I do the following and get exactly
> >  the same errors popping up in dmesg.
>
> >   528  git clonehttp://repo.or.cz/r/microdia.git

Brian Johnson

unread,
May 8, 2008, 9:46:47 PM5/8/08
to micr...@googlegroups.com
Try doing a modinfo on the microdia driver and make sure the vermagic
line matches your current running kernel.

Stefan

unread,
May 8, 2008, 11:10:46 PM5/8/08
to microdia
I've done this on the Ubuntu VMWare machine (that successfully loads
the microdia driver, the one I'm running on my work computer):

stefan@stefan:~/Documents$ sudo modinfo microdia
[sudo] password for stefan:
filename: /lib/modules/2.6.24-16-generic/kernel/drivers/media/
video/usbvideo/microdia.ko
description: Microdia USB Video Camera
author: Nicolas VIVIEN
license: GPL
srcversion: 3961D3C56EE60E92BE96A0A
alias: usb:v0C45p6128d*dc*dsc*dp*ic*isc*ip*
alias: usb:v0C45p624Ed*dc*dsc*dp*ic*isc*ip*
alias: usb:v0C45p8105d*dc*dsc*dp*ic*isc*ip*
alias: usb:v0C45p62C0d*dc*dsc*dp*ic*isc*ip*
alias: usb:v0C45p627Bd*dc*dsc*dp*ic*isc*ip*
alias: usb:v0C45p624Fd*dc*dsc*dp*ic*isc*ip*
alias: usb:v0C45p613Cd*dc*dsc*dp*ic*isc*ip*
alias: usb:v0C45p613Bd*dc*dsc*dp*ic*isc*ip*
alias: usb:v0C45p62C0d*dc*dsc*dp*ic*isc*ip*
alias: usb:v0C45p6270d*dc*dsc*dp*ic*isc*ip*
alias: usb:v0C45p6260d*dc*dsc*dp*ic*isc*ip*
alias: usb:v0C45p6253d*dc*dsc*dp*ic*isc*ip*
alias: usb:v0C45p6242d*dc*dsc*dp*ic*isc*ip*
alias: usb:v0C45p60FEd*dc*dsc*dp*ic*isc*ip*
alias: usb:v0C45p608Fd*dc*dsc*dp*ic*isc*ip*
alias: usb:v0C45p6027d*dc*dsc*dp*ic*isc*ip*
depends: videodev,usbcore
vermagic: 2.6.24-16-generic SMP mod_unload 586
parm: flip_detect:int
parm: fps:Frames per second [10-30] (int)
parm: hflip:Horizontal image flip (int)
parm: vflip:Vertical image flip (int)
parm: brightness:Brightness setting (int)
parm: whiteness:Whiteness setting (int)
parm: exposure:Exposure setting (int)
parm: contrast:Contrast setting (int)

The vermagic line matches the running kernel. I'll give it a try on
the machine that's giving the problems once I'm home and see what
happens. Should be the same as above.
Thanks for the help.
Stefan

On May 9, 11:46 am, "Brian Johnson" <brij...@gmail.com> wrote:
> Try doing a modinfo on the microdia driver and make sure the vermagic
> line matches your current running kernel.
>

Stefan

unread,
May 9, 2008, 8:11:50 PM5/9/08
to microdia
As I suspected, I have matching vermagic line and kernel running on
the machine that's giving problems:

mediacentre@mediacentre:~/build/microdia$ sudo modinfo microdia
mediacentre@mediacentre:~/build/microdia$ uname -a
Linux mediacentre 2.6.24-16-generic #1 SMP Thu Apr 10 13:23:42 UTC
2008 i686 GNU/Linux

I noticed that microdia depands on usbcore, so I modprobed that toos,
but it didn't help.
I've got the latest code from the master branch and from the v4l
experimental branch, but the problem persists.
Any help on this would be much appreciated.
Stefan
> ...
>
> read more »

Stefan

unread,
May 9, 2008, 10:28:08 PM5/9/08
to microdia
OK, there is the difference that the kernel is compiled for i686 (it's
a 64bit CPU, Intel E6400) and the microdia driver has vermagic
expecting 585 kernel. Is this the problem? Do I really need to rebuild
the kernel as you mentioned earlier?
Stefan
> ...
>
> read more »

Stefan

unread,
May 13, 2008, 8:00:46 PM5/13/08
to microdia
Hi Everyone

I'm still having problems getting the microdia drivers running on my
Ubuntu 8.04 desktop at home (Intel E6400, distro unmodified kernel
2.6.24-16-generic). I've tried both master and v4l-experimental
branches. I get the following error messages:

> sudo insmod microdia.ko

insmod: error inserting ‘microdia.ko’: -1 Unknown symbol in module

> sudo cp microdia.ko /lib/modules/2.6.24-16-generic/kernel/
drivers/media/video/usbvideo/microdia.ko
> sudo depmod -a
> sudo modprobe microdia

FATAL: Error inserting microdia (/lib/modules/2.6.24-16-generic/
kernel/
drivers/media/video/usbvideo/microdia.ko): Unknown symbol in module,
or unknown parameter (see dmesg)

> dmesg

[ 239.997767] microdia: disagrees about version of symbol
video_devdata
[ 239.997772] microdia: Unknown symbol video_devdata
[ 239.998020] microdia: disagrees about version of symbol
video_unregister_device
[ 239.998023] microdia: Unknown symbol video_unregister_device
[ 239.998094] microdia: disagrees about version of symbol
video_device_alloc
[ 239.998096] microdia: Unknown symbol video_device_alloc
[ 239.998128] microdia: disagrees about version of symbol
video_register_device
[ 239.998131] microdia: Unknown symbol video_register_device
[ 239.998240] microdia: disagrees about version of symbol
video_device_release
[ 239.998243] microdia: Unknown symbol video_device_release

I've had success building and modprob'ing the microdia drivers on my
Kubuntu 8.04 laptop (Acer Acer Travelmate 4020LCi) and on an Ubuntu
8.04 installation running in VMWare on my work desktop (Dell Optiplex
GX620).

I would hugely appreciate any help that anyone can offer on this.
Many thanks
Stefan
> ...
>
> read more »

Gian Jaskulski

unread,
May 14, 2008, 8:09:05 AM5/14/08
to micr...@googlegroups.com
Did you insert videodev module right before insert the microdia module?

Stefan

unread,
May 14, 2008, 6:54:31 PM5/14/08
to microdia
Thanks for the reply, Gian.

These were the steps that I followed on my desktop Ubunutu 8.04
machine (Intel E6400) running unmodified distro kernel 2.6.24-16-
generic:

$ git clone http://repo.or.cz/r/microdia.git
$ cd microdia/
$ make
$ sudo modprobe videodev
$ sudo modprobe compat-ioctl32
$ sudo insmod microdia.ko

I also tried with the experimental branch:
$ git clone http://repo.or.cz/r/microdia.git
$ cd microdia/
$ git checkout --track -b v4l2-experimental origin/v4l2-experimental
$ make
$ sudo modprobe videodev
$ sudo modprobe compat-ioctl32
$ sudo insmod microdia.ko

In both cases I get the errors described in my post above. JoJo
mentioned that I might have a kernel with the videodev support
compiled into it and that I might need to recompile the kernel without
this support built in. I have not recompiled a kernel before and would
like to avoid it if I can.
I have followed these steps on other Ubuntu 8.04 and Kubuntu 8.04
installations and not had any problems.
I hugely appreciate any advice or help you could give.
Many thanks
Stefan

From: Stefan <stefanadelb...@gmail.com>
Date: Tue, 13 May 2008 17:00:46 -0700 (PDT)
Local: Wed, May 14 2008 10:00 am
Subject: Re: Problem with 624f
Reply | Reply to author | Forward | Print | Individual message | Show
original | Remove | Report this message | Find messages by this author
Hi Everyone

I'm still having problems getting the microdia drivers running on my
Ubuntu 8.04 desktop at home (Intel E6400, distro unmodified kernel
2.6.24-16-generic). I've tried both master and v4l-experimental
branches. I get the following error messages:

> sudo insmod microdia.ko

insmod: error inserting ‘microdia.ko’: -1 Unknown symbol in module

On May 14, 10:09 pm, "Gian Jaskulski" <gia...@gmail.com> wrote:
> Did you insert videodev module right before insert the microdia module?
>
> ...
>
> read more »

Brian Johnson

unread,
May 14, 2008, 7:26:43 PM5/14/08
to micr...@googlegroups.com
I'm still not sure why you are getting this error, according to the
errors you get it looks like a mismatch between the version of teh
symbols the kernel is using and the version your module thinks it was
compiled against. you could try uninsalling all linux-headers and
linux-image packages that are installed and then reinstalling the
latest ones to try and fix whatever seems to be confusing things.

JoJo jojo

unread,
May 15, 2008, 12:33:15 AM5/15/08
to micr...@googlegroups.com
Hi Stefan

Kindly attach the output of lsmod,
still haven't ruled out videodev, compiled in.

-JoJo

Gian Jaskulski

unread,
May 15, 2008, 10:31:10 AM5/15/08
to micr...@googlegroups.com
It will be good if you also post the result of dmesg.

Stefan

unread,
May 17, 2008, 6:58:03 PM5/17/08
to microdia
Hi guys
So, it turns out that I did have a modified kernel all along! My
mistake. I installed NVIDIA drivers off the NVIDIA site (for my
GeForce 8400) and as part of the installationg process, it recompiles
the kernel. As it turns out, the recompiled kernel breaks a few other
things (auto login, my Logitech keyboard "special" buttons, etc.), but
it also breaks something that affects the microdia drivers.
Let this be a lesson to all those using the NVIDIA drivers and a
modified kernel - expect some weirdness. Rather use nvidia-glx-new
which works sweetly and does seems to break (as many) things.
Thanks to all of you guys for your help on this. I've got some other
problems with my 624f now that I can get the microdia drivers
installed, but I'll post in another topic.
Stef

On May 16, 12:31 am, "Gian Jaskulski" <gia...@gmail.com> wrote:
> It will be good if you also post the result of dmesg.
>
> On Thu, May 15, 2008 at 1:33 AM, JoJo jojo <onetwoj...@gmail.com> wrote:
>
> > Hi Stefan
>
> > Kindly attach the output of lsmod,
> > still haven't ruled out videodev, compiled in.
>
> > -JoJo
>
> > On Thu, May 15, 2008 at 4:24 AM, Stefan <stefanadelb...@gmail.com> wrote:
>
> >> Thanks for the reply, Gian.
>
> >> These were the steps that I followed on my desktop Ubunutu 8.04
> >> machine (Intel E6400) running unmodified distro kernel 2.6.24-16-
> >> generic:
>
> >> $ git clonehttp://repo.or.cz/r/microdia.git
> >> $ cd microdia/
> >> $ make
> >> $ sudo modprobe videodev
> >> $ sudo modprobe compat-ioctl32
> >> $ sudo insmod microdia.ko
>
> >> I also tried with the experimental branch:
> >> $ git clonehttp://repo.or.cz/r/microdia.git
> >>> >  > expecting 585 kernel. Is this theproblem? Do I really need to rebuild
> ...
>
> read more »
Reply all
Reply to author
Forward
0 new messages