Re: [Voyage-linux] Compiling a kernel module for Voyage 0.6

2009-12-07 Thread Kim-man 'Punky' TSE

And this file as well:

/usr/src/linux-headers-2.6.26-voyage/include/config/kernel.release


Kim-man 'Punky' TSE wrote:

Hi Benny,

Meanwhile, please change UTS_RELEASE to "2.6.26-486-voyage" in 
/usr/src/linux-headers-2.6.26-voyage/include/linux/utsrelease.h.


I will repackage it for correct version.

Regards,
Punky


benny.t...@skynet.be wrote:

Hi,

I'm trying to update the Sierra Wireless USB driver for kernel 2.6.26 
in Voyage Version: 0.6 (Build Date 20090708) and I get an 'Invalid 
module format' error.


This is what I do after a clean installation of Voyage 0.6:
- download 
http://fr.voyage.hk/dists/0.6/linux/linux-headers-2.6.26-voyage_6.0-2_i386.deb 
and install it using dpkg -i . This installs the 
package in /usr/src/linux-headers-2.6.26-voyage
- make sierra.c. The make file points to 
/usr/src/linux-headers-2.6.26-voyage for the kernel headers; build is 
successful

- when I try to install sierra.ko, I get this error message:
[ 1693.833588] sierra: version magic '2.6.26-voyage preempt 
mod_unload 486 ' should be '2.6.26-486-voyage preempt mod_unload 486 '
FATAL: Error inserting sierra 
(/lib/modules/2.6.26-486-voyage/kernel/drivers/usb/serial/sierra.ko): 
Invalid module format


modinfo sierra returns 'vermagic:   2.6.26-voyage preempt 
mod_unload 486'

uname -r returns '2.6.26-486-voyage'

Do I use the wrong kernel headers (can't find another package ...)? 
Do I make a mistake somewhere?


Thanks in advance,

Benny




___
Voyage-linux mailing list
Voyage-linux@list.voyage.hk
http://list.voyage.hk/mailman/listinfo/voyage-linux
  






--
Regards,
Punky

Voyage Solutions (http://solution.voyage.hk)
* Embedded Solutions and Systems
 - Mesh Networking, Captive Portal, IP Surveillance, VoIP/PBX
 - Network Engineering, Development Platform and Consultation
 
	



___
Voyage-linux mailing list
Voyage-linux@list.voyage.hk
http://list.voyage.hk/mailman/listinfo/voyage-linux


Re: [Voyage-linux] Compiling a kernel module for Voyage 0.6

2009-12-07 Thread Kim-man 'Punky' TSE

Hi Benny,

Meanwhile, please change UTS_RELEASE to "2.6.26-486-voyage" in 
/usr/src/linux-headers-2.6.26-voyage/include/linux/utsrelease.h.


I will repackage it for correct version.

Regards,
Punky


benny.t...@skynet.be wrote:

Hi,

I'm trying to update the Sierra Wireless USB driver for kernel 2.6.26 
in Voyage Version: 0.6 (Build Date 20090708) and I get an 'Invalid 
module format' error.


This is what I do after a clean installation of Voyage 0.6:
- download 
http://fr.voyage.hk/dists/0.6/linux/linux-headers-2.6.26-voyage_6.0-2_i386.deb 
and install it using dpkg -i . This installs the package 
in /usr/src/linux-headers-2.6.26-voyage
- make sierra.c. The make file points to 
/usr/src/linux-headers-2.6.26-voyage for the kernel headers; build is 
successful

- when I try to install sierra.ko, I get this error message:
[ 1693.833588] sierra: version magic '2.6.26-voyage preempt mod_unload 
486 ' should be '2.6.26-486-voyage preempt mod_unload 486 '
FATAL: Error inserting sierra 
(/lib/modules/2.6.26-486-voyage/kernel/drivers/usb/serial/sierra.ko): 
Invalid module format


modinfo sierra returns 'vermagic:   2.6.26-voyage preempt 
mod_unload 486'

uname -r returns '2.6.26-486-voyage'

Do I use the wrong kernel headers (can't find another package ...)? Do 
I make a mistake somewhere?


Thanks in advance,

Benny




___
Voyage-linux mailing list
Voyage-linux@list.voyage.hk
http://list.voyage.hk/mailman/listinfo/voyage-linux
  



--
Regards,
Punky

Voyage Solutions (http://solution.voyage.hk)
* Embedded Solutions and Systems
 - Mesh Networking, Captive Portal, IP Surveillance, VoIP/PBX
 - Network Engineering, Development Platform and Consultation
 
	



___
Voyage-linux mailing list
Voyage-linux@list.voyage.hk
http://list.voyage.hk/mailman/listinfo/voyage-linux


RE: [Voyage-linux] Compiling a kernel module for Voyage 0.6

2009-12-07 Thread Robbert
Hi Benny,

 

Last time I got similar problem, please check this link:

http://www.mail-archive.com/voyage-linux@list.voyage.hk/msg03290.html

 

Although I have installed the module successfully, it didn't work properly,
lots of error popup when you plug in the modem. I have to change back to
Voyage 0.5 in the end.

 

Robbert

 

  _  

From: voyage-linux-bounces+rma=vmsys@list.voyage.hk
[mailto:voyage-linux-bounces+rma=vmsys@list.voyage.hk] On Behalf Of
benny.t...@skynet.be
Sent: Tuesday, December 08, 2009 4:11 AM
To: voyage-li...@voyage.hk
Subject: [Voyage-linux] Compiling a kernel module for Voyage 0.6

 

Hi,

I'm trying to update the Sierra Wireless USB driver for kernel 2.6.26 in
Voyage Version: 0.6 (Build Date 20090708) and I get an 'Invalid module
format' error.

This is what I do after a clean installation of Voyage 0.6:
- download
http://fr.voyage.hk/dists/0.6/linux/linux-headers-2.6.26-voyage_6.0-2_i386.d
eb and install it using dpkg -i . This installs the package in
/usr/src/linux-headers-2.6.26-voyage
- make sierra.c. The make file points to
/usr/src/linux-headers-2.6.26-voyage for the kernel headers; build is
successful
- when I try to install sierra.ko, I get this error message:
[ 1693.833588] sierra: version magic '2.6.26-voyage preempt mod_unload 486 '
should be '2.6.26-486-voyage preempt mod_unload 486 '
FATAL: Error inserting sierra
(/lib/modules/2.6.26-486-voyage/kernel/drivers/usb/serial/sierra.ko):
Invalid module format 

modinfo sierra returns 'vermagic:   2.6.26-voyage preempt mod_unload
486'
uname -r returns '2.6.26-486-voyage'

Do I use the wrong kernel headers (can't find another package ...)? Do I
make a mistake somewhere?

Thanks in advance,

Benny



No virus found in this incoming message.
Checked by AVG - www.avg.com
Version: 8.5.426 / Virus Database: 270.14.96/2549 - Release Date: 12/06/09
19:37:00

___
Voyage-linux mailing list
Voyage-linux@list.voyage.hk
http://list.voyage.hk/mailman/listinfo/voyage-linux


[Voyage-linux] Compiling a kernel module for Voyage 0.6

2009-12-07 Thread benny . tops
undefined___
Voyage-linux mailing list
Voyage-linux@list.voyage.hk
http://list.voyage.hk/mailman/listinfo/voyage-linux