Re: [proaudio] FATAL: Error inserting realtime module

[ Thread Index | Date Index | More lists.tuxfamily.org/proaudio Archives ]


Le Fri, 23 Mar 2007 14:20:15 -0700,
Brad Fuller <brad@xxxxxxxxxxxxxx> a écrit :

> I'm following the directions on the wiki for the RT kernel at:
> http://proaudio.tuxfamily.org/wiki/index.php?title=Realtime_%28RT%29_Kernel
> 
> and I'm at the point of modprobe'ing the realtime module:
> # modprobe realtime gid=18
> 
> But, I receive this error:
> 
> FATAL: Error inserting realtime
> (/lib/modules/2.6.16-rt29-tglx4/extra/realtime.ko): Invalid module format--
> 
> I've seen some messages after googling that the module might be compiled
> with a different version of the compiler, but I compiled the kernel and
> then the module seconds later. Does anyone know what this is and how to
> fix it?
> 
> thanks,
> brad
> 
> 
> 
Sometime, a simple reboot can fix it. But more generally, it mean at something
goes wrong when compiling the kernel or the realtime-lsm. It can append
sometime when you modify the config and recompile the kernel. It is
recommended in such cases to run mrproper as explained in the README in the
sources. For that, move your .config in another directory as the kernel sources
(it will be erased otherwise), issue a "make mrproper", move back the .config
file, run

make oldconfig; make

remove /lib/modules/2.6.16-rt29-tglx4

run "make modules_install and reinstall the kernel. Reinstall
the realtime-lsm.

If you are lucky, it will be enough to remove /lib/modules/2.6.16-rt29-tglx4,
"make modules_install" and reinstall the realtime-lsm.

Be sure at /usr/linux point on the right kernel sources too.

Ciao,
Dominique



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/