[lkml]   [2003]   [Aug]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Subjectporting-problem, module snd_echoaudio: Unknown relocation: 0
Hi there,

I'm new to this list, and I'm new to kernel coding. But I read the
introductions about the kernel structures, Makefiles and Modules, so I
think I know at least a little bit.

I'm trying to port a device driver (snd-echoaudio, which is an
additional driver for alsa) from 2.4.x kernel (alsa) to 2.6.x.

I *think* it should work the way I've done it, but it's a little bit
messy as the kernel modules needs some C++ files for the hardware
access. Additionally, those files need some system libraries (they
depend on <endian.h>, <time.h> and stuff).

This was no problem with the 2.4-kernel, but I think they way they are
linked might be the problem here.

Everything compiles and links fine, but when I try to load the module
(yes, I read the build instructions for 2.5/2.6 modules...) I get this:
Error inserting 'sound/pci/echoaudio/snd-echoaudio.ko': -1 Invalid
module format

while /var/log/kern.log says:
kernel: module snd_echoaudio: Unknown relocation: 0

I really don't know what to look for anymore, so I decided to ask for
your help. When I strip the driver from everything except init and exit,
I can load it, so the general build incantation should be alright...


BTW: the 2.6-kernel improvements are great. Thanks to everyone!!

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:48    [W:0.031 / U:0.456 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site