[Voyage-linux] Compiling a kernel module for Voyage 0.6
Kim-man 'Punky' TSE
(spam-protected)
Tue Dec 8 09:34:07 HKT 2009
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.tops at 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 <package name>. 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 at 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
More information about the Voyage-linux
mailing list