[64studio-devel] Missing "asm-x86_64/tsc.h" file in kernel headers 2.6.19 i386
Free Ekanayaka
free at 64studio.com
Tue Feb 27 10:01:48 UTC 2007
Hi Brad,
|--==> Brad Powell writes:
BP> Free,
BP> You are correct in that it appears I compiled the module with gcc-4.1, as that is what /usr/bin/gcc points to. However, I do not have gcc-4.0 installed on my system (a stock install of 64Studio 1.0.0 i386). Furthermore, I cannot find gcc-4.0 available as a package to install from the 64Studio or Debian stable/testing/unstable repositories. Am I missing something?
I've just checked, you're right, the 1.0.0 releases misses the gcc-4.0
packages, with which kernel 2.6.17-2-multimedia-486 was
compiled. That's a bug!
As a workaround you can use this APT source line (put it in sources.list):
deb http://snapshot.debian.net/archive pool gcc-4.0
and then
apt-get install gcc-4.0
and it should do the trick (remember to change the /usr/bin/gcc
symlink). Let us know, ciao!
Free
BP> Thank you for your assistance,
BP> Brad
BP> ----- Original Message ----
BP> From: Free Ekanayaka <free at 64studio.com>
BP> To: Brad Powell <bapowell at sbcglobal.net>
BP> Cc: 64studio-devel at 64studio.com
BP> Sent: Monday, February 26, 2007 3:51:59 AM
BP> Subject: Re: Missing "asm-x86_64/tsc.h" file in kernel headers 2.6.19 i386
|--==> 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?
BP> It seems that the problem is that you are compiling with gcc-4.1
BP> instead of gcc-4.0. Please check this:
BP> ls -l /usr/bin/gcc
BP> it should point to /usr/bin/gcc-4.0, if not please replace the
BP> link. Let me know, ciao!
BP> Free
More information about the 64studio-devel
mailing list