LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 07-07-2005, 01:24 AM   #1
iansoundz
Member
 
Registered: Jul 2005
Location: Arlington, VA
Distribution: CentOS 4.1 Kernel 2.6.9-11.EL
Posts: 77

Rep: Reputation: 15
Version magic!?!


I have upgraded my kernel from 2.4.x to 2.6.8.1

I did this upgrade so I could use a module that only works with 2.6 kernels.

After performing make and inserting module I would get:

Error inserting 'sgi_hostid.ko': Invalid module format!

I then did a: tail -f /var/log/messages to see what the problem is and saw this:

Local host kernel: sgi_hostid: version magic '2.6.8.1 preempt k7 gcc 3.2' should be '2.6.8.1 preempt k7 gcc 3.2'

So what's going on here?!?! I do have kernel version 2.6.8.1. I do have a k7 processor (AMD Athlon) and I definitely have gcc version 3.2

So then I do a: cat /proc/cpuinfo and get this:

Vendor_id: AuthenticAMD
CPU family: 6
model: 4
etc...

Since I have a k7, shouldn't I see "CPU family" as saying "7"? Does this mean my kernel thinks I have a K6 family of AMD?? What does "model" mean? Could this have anything to do with the mysterious "preempt" error from /var/log/messages? I also noticed that CPU frequency is reported as 850.0 mghz - this is incorrect, I have a 1.33 mghz (hmm?)

I have been trying to compile this module forever and it is driving me crazy. I have posted this issue twice before on this forum and searched the web for possible solutions but I am still without a clue.

I was told by a friend that I should upgrade procfs with preempt. What is preempt? I have upgraded procfs to the newest version.

Any ideas, suggestions, hints, tips, recommendations, procedures, methods, or possibilites are very much welcome!

Last edited by iansoundz; 07-07-2005 at 01:38 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Regarding distribution + kernel version + gcc version + glib version. JCipriani Linux - General 8 04-19-2008 02:54 PM
version magic error fotisaueb Linux - General 0 08-24-2004 11:02 AM
Building Kernel (mdkcustom) -- Magic Version error! NachoKB Mandriva 1 08-05-2004 03:29 PM
Version magic problem (ndiswrapper) Nonixnarrez Linux - Software 0 06-30-2004 03:03 AM
Xfree Error (EE) module ABI minor version (7) is newer than the server's version (6) jimdaworm Slackware 0 10-17-2003 05:26 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 05:25 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration