mArt
Posts: 5
Joined: Wed Nov 30, 2011 7:44 pm

Re: Debian ARM on Raspberry Pi

Sun May 13, 2012 11:47 am

Hi there,

I've been trying to compile in the gspca module (webcam), using the following steps:

GIT'ed the source down
Copied /boot/config.gz into source directory, unzipped, renamed to .config
Ran, 'make menuconfig', selected V4L2 and gspca modules.
Did a 'make modules'
Copied the .ko files to /lib/modules/3.1.9+/kernel/drivers/media/video directories.

When I tried to do a modprobe, gspca_main, I get the following error:

FATAL: Error inserting gspca_main (/lib/modules/3.1.9+/kernel/drivers/media/video/gspca/gspca_main.ko): Invalid module format

I'm a bit stuck now. Can anyone give me any pointers on how to continue?

If it helps, looking at the modinfo of gspca_main, I get the following:

filename: /lib/modules/3.1.9+/kernel/drivers/media/video/gspca/gspca_main.ko
version: 2.13.0
license: GPL
description: GSPCA USB Camera Driver
author: Jean-François Moine <http://moinejf.free.fr>
srcversion: F5A8F963C5415A8B2D1B316
depends: videodev
vermagic: 3.1.9+ mod_unload modversions ARMv6

Thanks!

ait
Posts: 118
Joined: Sun Oct 30, 2011 6:51 pm

Re: Debian ARM on Raspberry Pi

Sun May 13, 2012 4:38 pm

did you do
depmod -a

mArt
Posts: 5
Joined: Wed Nov 30, 2011 7:44 pm

Re: Debian ARM on Raspberry Pi

Sun May 13, 2012 5:46 pm

Yup, sure did. Sorry, forgot that from the list of steps taken :-)

Max

Re: Debian ARM on Raspberry Pi

Mon May 14, 2012 11:05 pm

mArt wrote:When I tried to do a modprobe, gspca_main, I get the following error:

FATAL: Error inserting gspca_main (/lib/modules/3.1.9+/kernel/drivers/media/video/gspca/gspca_main.ko): Invalid module format
Try loading the module a little more forceful with "modprobe -f modulename" or "insmod /path/to/your/module.ko"
Check dmesg if it still fails.

mArt
Posts: 5
Joined: Wed Nov 30, 2011 7:44 pm

Re: Debian ARM on Raspberry Pi

Tue May 15, 2012 8:29 am

Cheers Max,

I finally see some signs of something!

doing insmod, I get the following message in syslog:

gspca_main: no symbol version for module_layout

Something to go on at least :-)

alanrpi
Posts: 8
Joined: Wed May 16, 2012 5:05 pm

Re: Debian ARM on Raspberry Pi

Wed May 16, 2012 5:07 pm

Hello. I've been trying to get 3G USB modem to work with Raspberry Pi and Debian, but I keep getting this error in /var/log/messages

May 16 19:59:53 raspberrypi pppd[10049]: pppd 2.4.5 started by root, uid 0
May 16 19:59:55 raspberrypi pppd[10049]: Serial connection established.
May 16 19:59:55 raspberrypi pppd[10049]: Using interface ppp0
May 16 19:59:55 raspberrypi pppd[10049]: Connect: ppp0 <--> /dev/ttyUSB0
May 16 19:59:59 raspberrypi pppd[10049]: CHAP authentication succeeded
May 16 19:59:59 raspberrypi pppd[10049]: CHAP authentication succeeded
May 16 19:59:59 raspberrypi pppd[10049]: kernel does not support PPP filtering
May 16 20:00:01 raspberrypi pppd[10049]: Modem hangup
May 16 20:00:01 raspberrypi pppd[10049]: Connection terminated.

How could I have this feature?

error404
Posts: 351
Joined: Wed Dec 21, 2011 11:49 pm

Re: Debian ARM on Raspberry Pi

Tue May 22, 2012 5:56 pm

I think you probably need the CONFIG_PPP_FILTER option enabled in your kernel.

marmrk
Posts: 16
Joined: Fri May 25, 2012 6:29 pm

Re: Debian ARM on Raspberry Pi

Sat May 26, 2012 2:51 pm

error404 wrote:I think you probably need the CONFIG_PPP_FILTER option enabled in your kernel.
Does this mean that the kernel must be recompiled?

lancethepants
Posts: 2
Joined: Sun Feb 05, 2012 6:41 am

Re: Debian ARM on Raspberry Pi

Sat May 26, 2012 10:34 pm

Would like to see kernel support for ebtables if possible.

error404
Posts: 351
Joined: Wed Dec 21, 2011 11:49 pm

Re: Debian ARM on Raspberry Pi

Sun May 27, 2012 4:46 am

marmrk wrote:
error404 wrote:I think you probably need the CONFIG_PPP_FILTER option enabled in your kernel.
Does this mean that the kernel must be recompiled?
It does. IMO the Debian kernel doesn't seem to be configured very appropriately.

roleez
Posts: 1
Joined: Sat Oct 29, 2011 2:17 pm

Re: Debian ARM on Raspberry Pi

Mon Jun 04, 2012 6:26 am

gspca "kernel module is invalid" managed to eliminate errors?
I have same problem.

Return to “Debian”

Who is online

Users browsing this forum: No registered users and 2 guests