LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   kernel vermagic (https://www.linuxquestions.org/questions/linux-general-1/kernel-vermagic-549947/)

bong.mau 04-29-2007 12:39 PM

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

osor 04-29-2007 02:59 PM

Have you tried recompiling the affected modules?

GrapefruiTgirl 04-29-2007 04:13 PM

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.

bong.mau 04-30-2007 05:36 AM

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

bong.mau 04-30-2007 02:16 PM

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.


All times are GMT -5. The time now is 07:37 PM.