Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - General
User Name
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.


  Search this Thread
Old 04-29-2007, 12:39 PM   #1
Registered: Apr 2004
Posts: 391

Rep: Reputation: 30
kernel vermagic

env kernel 2.6.12

i recompile the kernel to change from M686

now i get vermagic error when i load modules...
the EXTRAVERSION parameter in the Makefile
is correct infact modules are installed in the same old libary...
in the past this kernel was recopiled succesfully...

a sample of the error:

evdev: version magic "2.6.12-12mdk PENTIUMIII gcc-4.0" should be "2.6.12-12mdk 686 gcc-4.0"

as you know the name of the kernel is unchanged
2.6.12-12mdk but the machine name is PENTIUMIII instead of 686 ...
but this is what i have changed to my kernel ,because the machine is a PENTIUMIII intel celeron coppermine....

any help will be appreciated

Old 04-29-2007, 02:59 PM   #2
HCL Maintainer
Registered: Jan 2006
Distribution: (H)LFS, Gentoo
Posts: 2,450

Rep: Reputation: 77
Have you tried recompiling the affected modules?
Old 04-29-2007, 04:13 PM   #3
LQ Guru
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 555Reputation: 555Reputation: 555Reputation: 555Reputation: 555Reputation: 555
Yes, definitely recompile the modules if you haven't. The kernel name may be the same, but the innards of it are not, and the OS knows this.
Old 04-30-2007, 05:36 AM   #4
Registered: Apr 2004
Posts: 391

Original Poster
Rep: Reputation: 30


to be more precise.
here what happened
1) make bzImage ...runs fine.
2) i added the vmlinuz anf the to boot
directory and update lilo
3)linux boots up fine
4)make modules runs fine
5)make modules_install runs fine..the module are installed in the right library...
6)at this point when i boot linux i get the error described in the first update.

what make me "crazy" that processor type is a kernel parameter...infact
kernel code compiled as modules reflect this...but the system still has 686
as machine type..

so kernel modules where already recompiled.
"uname -m" return 686 as machine type...

any help will be appreciated ...

thanks in advance

Old 04-30-2007, 02:16 PM   #5
Registered: Apr 2004
Posts: 391

Original Poster
Rep: Reputation: 30



the README file on the kernel source directory
instruct to execute
make install
make modules_install

this fix the problem.

i followed the old procedure,but this seems to lacks about machine name.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
LXer: Howto: build Linux kernel module against installed kernel w/o full kernel source tree LXer Syndicated Linux News 0 09-03-2006 08:21 PM
kernel includes at /usr/src/linux/include do not match current kernel. blanny Red Hat 1 03-09-2006 07:53 AM
Kernel-Patch Debian Logo 2.6.2 not correctly working for custom kernel 2.6.11 smp deepclutch Debian 3 06-27-2005 03:59 AM
kernel panic: try passing init= option to kernel...installation with Red Hat 9 kergen Linux - Hardware 1 09-30-2004 03:28 AM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 11:13 PM.

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