tags 427021 =
thanks

On Fri, Jun 01, 2007 at 02:16:28PM +0200, Romain Beauxis wrote:
> Le Friday 01 June 2007 14:08:27, vous avez écrit :
> > Romain Beauxis wrote:
> > > Did you actually *installed* the generated module ?
> >
> > Yes I did install (not installed) it. Who do you take me for?
> 
> Sorry for previous question, but I needed to ask...
> 
> > The only module in the package which got build was ov51x-jpeg, there
> > wasn't any ov51x_jpeg.
> 
> Naming with - or _ should not be an issue, they are the same
> 
> You should check wether the module has been built and installed for the good 
> kernel version you are using, some thing like comparing:
> dpkg -L ov51x-module-$yourversion
> and 
> uname -r

I installed this package on an etch system, and ran into the same bug:

<did the module-assistant dance with default options>

[EMAIL PROTECTED] uname -r
2.6.18-5-686
[EMAIL PROTECTED] dpkg -L ov51x-jpeg-modules-`uname -r`
/.
/usr
/usr/share
/usr/share/doc
/usr/share/doc/ov51x-jpeg-modules-2.6.18-5-686
/usr/share/doc/ov51x-jpeg-modules-2.6.18-5-686/changelog.Debian.gz
/lib
/lib/modules
/lib/modules/2.6.18-5-686
/lib/modules/2.6.18-5-686/kernel
/lib/modules/2.6.18-5-686/kernel/drivers
/lib/modules/2.6.18-5-686/kernel/drivers/usb
/lib/modules/2.6.18-5-686/kernel/drivers/usb/ov51x-jpeg.ko
[EMAIL PROTECTED]:~# modprobe ov51x-jpeg
FATAL: Module ov51x_jpeg not found.
[EMAIL PROTECTED]:~# depmod -a
[EMAIL PROTECTED]:~# modprobe ov51x-jpeg

(works).

So, you forget to run depmod -a in some way. Other -source packages do
this right somehow.

For example, the ov511 source package has in debian the attached
postinst.modules.in file containing depmod. I'm not aware how this
should be happening.

--Jeroen

-- 
Jeroen van Wolffelaar
[EMAIL PROTECTED] (also for Jabber & MSN; ICQ: 33944357)
http://Jeroen.A-Eskwadraat.nl
#! /bin/sh

set -e

if [ ! -e /dev/.devfsd ] && [ ! -e /dev/video0 ] ; then
    cd /dev
    ./MAKEDEV video
fi

if [ "`uname -r`" = "_KVERS_" ]; then
    /sbin/depmod -a
fi

#DEBHELPER#

exit 0

Reply via email to