[64studio-devel] Missing "asm-x86_64/tsc.h" file in kernel headers 2.6.19 i386

Brad Powell bapowell at sbcglobal.net
Sat Feb 24 21:23:49 UTC 2007


Out of curiousity, I installed 64Studio v1.0.0 from scratch and tried building the rt2570 driver using the original 2.6.17 kernel.  It actually built just fine, but when I try to "modprobe" it, I get the following error:

FATAL: Error inserting rt2570 (/lib/modules/2.6.17-2-multimedia-486/kernel/drivers/net/wireless/rt2570.ko): Invalid module format

The kernel output from dmesg shows:

rt2570: version magic '2.6.17-2-multimedia-486 preempt mod_unload 486 gcc-4.1' should be '2.6.17-2-multimedia-486 preempt mod_unload 486 gcc-4.0'rt2570: no version for "struct_module" found: kernel tainted.
rt2570: no version magic, tainting kernel.
rt2570: Unknown symbol there_is_no_init_MUTEX_LOCKED_for_RT_semaphores

Any ideas on how I might be able to fix this?

Brad


----- Original Message ----
From: Free Ekanayaka <free at 64studio.com>
To: Quentin Harley <qharley at wbs.co.za>
Cc: Brad Powell <bapowell at sbcglobal.net>; 64studio-devel at 64studio.com
Sent: Tuesday, February 20, 2007 3:43:44 AM
Subject: Re: Missing "asm-x86_64/tsc.h" file in kernel headers 2.6.19 i386

|--==> Quentin Harley writes:

  QH> Brad Powell wrote:
  >>The rt2570 driver references asm-i386/tsc.h, so I think the 
  >>architecture version of my driver is okay.  The problem seems to be 
  >>that with my 64Studio 2.6.19 i386 kernel headers, the file 
  >>asm-i386/tsc.h references a tsc.h file that's part of the x86_64 
  >>kernel headers.  It looks like the reference was intentional, but that 
  >>the necessary x86_64 header file(s) were simply excluded from the i386 
  >>header package.

  QH> One of those... So lets hope Free see this soon

I think I ran into the same bug while trying to (unsuccessfully) build
the nvidia drivers. There's probably  a bug in the linux-kbuild-2.6.19
package, I have to further investigate this..

Ciao,

Free





-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.64studio.com/pipermail/64studio-devel/attachments/20070224/60db6495/attachment.htm 


More information about the 64studio-devel mailing list