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

Free Ekanayaka free at 64studio.com
Mon Feb 26 09:51:59 UTC 2007


|--==> Brad Powell writes:

  BP> Out of curiousity, I  installed 64Studio v1.0.0 from scratch and
  BP> tried   building the rt2570 driver    using the original  2.6.17
  BP> kernel.   It actually  built    just fine,  but when  I   try to
  BP> "modprobe" it, I get the following error: FATAL: Error inserting
  BP> rt2570
  BP> (/lib/modules/2.6.17-2-multimedia-486/kernel/drivers/net/wireless/rt2570.ko):
  BP> Invalid module format

  BP> The kernel output from dmesg shows:

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

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

It  seems that  the problem  is that   you are  compiling with gcc-4.1
instead of gcc-4.0. Please check this:

ls -l /usr/bin/gcc

it  should  point to   /usr/bin/gcc-4.0,  if not   please  replace the
link. Let me know, ciao!

Free




More information about the 64studio-devel mailing list