LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 04-29-2007, 12:39 PM   #1
bong.mau
Member
 
Registered: Apr 2004
Posts: 290

Rep: Reputation: 30
kernel vermagic


hi
env kernel 2.6.12

i recompile the kernel to change from M686
to PENTIUMIII

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

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

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

Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
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
bong.mau
Member
 
Registered: Apr 2004
Posts: 290

Original Poster
Rep: Reputation: 30
update..

hi

to be more precise.
here what happened
1) make bzImage ...runs fine.
2) i added the vmlinuz anf the system.map 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"..is 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

Maurizio
 
Old 04-30-2007, 02:16 PM   #5
bong.mau
Member
 
Registered: Apr 2004
Posts: 290

Original Poster
Rep: Reputation: 30
fixed

hi

Fixed

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

this fix the problem.

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


Reply

Tags
fixed


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


All times are GMT -5. The time now is 01:42 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration