LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-01-2004, 03:31 PM   #1
bat_boy11112233
LQ Newbie
 
Registered: Oct 2004
Distribution: debian 3.1, suse linux 9.1
Posts: 7

Rep: Reputation: 0
kernel-module version mismatch, no init found


Hi to all. I am very new on this forum, but soon there is my first question:

I tried to compile my own kernel on Aurox 9.4, cause i would like to activate the direct framebuffer for a matrox millenium II.
I made following things: -make xconfig
after this I configured the kernel
then I run: -make dep
- make bzImage
- make modules
- make modules install
Everything worked fine
At next I called mkinitrd (under suse:mk_initrd):

mkinitrd -f --with=ext3 /boot/initrd 2.4.22-1.2188.nptl

Then I modificed the boot entry(/boot/grub/grub.conf):

title Aurox Linux
root (hd0,0)
kernel /boot/vmlinuz ro root=LABEL=/
hdc=ide-scsi rhgb
initrd /boot/initrd

And finally when I tried to boot this, I get:

Loading jbd.o : kernel-module version mismatch
/lib/jbd.o was compiled for Kernel version 2.4.22-1.2188-nptl
while this is 2.4.22-1.2188-nptl.custom.
ERROR /bin/insmod exited abnormally

Loading ext3.o : kernel-module version mismatch
/lib/ext3.o was compiled for Kernel version 2.4.22-1.2188-nptl
while this is 2.4.22-1.2188-nptl.custom.
ERROR /bin/insmod exited abnormally
Mounting /proc filesystem
Creating block devices
Creating root devices
Mounting root filesystem
mount: error 19 mounting ext3
pivot root: pivot-root (/sysroot,/sysroot/initrd) failed 2
umount /initrd/proc failed: 2
Freeing unused Kernel memory 140k freed
Kernel Panic: no init found Try to passing init=option to kernel

that`s it.
It would be great if anyone can help me.
Much much Thanks
p.s. sorry for my bad english, but I am only 14 years old.
 
Old 10-01-2004, 04:27 PM   #2
comprookie2000
Gentoo Developer
 
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,291
Blog Entries: 5

Rep: Reputation: 58
Before you did mkinitrd,what did you do,cp arch/i386/boot/bzImage/'etc etc' cp System.map 'etc etc' or something else?Also did you mv /etc/modules/'old kernel' out of the way or rename it old before installing the new kernel?
 
Old 10-02-2004, 11:30 AM   #3
bat_boy11112233
LQ Newbie
 
Registered: Oct 2004
Distribution: debian 3.1, suse linux 9.1
Posts: 7

Original Poster
Rep: Reputation: 0
kernel-module version mismatch, no init found

It`s great that you would like to help me. Before mkinitrd, I have done this:
cp arch/i386/boot/bzImage /boot/vmlinuz
I am quite sure, that I have done something wrong, cause this is the first time I tried to make my own kernel.
Do you got a solution for my problem?
 
Old 10-02-2004, 01:52 PM   #4
comprookie2000
Gentoo Developer
 
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,291
Blog Entries: 5

Rep: Reputation: 58
Did you cp System.map?
 
Old 10-03-2004, 10:07 AM   #5
bat_boy11112233
LQ Newbie
 
Registered: Oct 2004
Distribution: debian 3.1, suse linux 9.1
Posts: 7

Original Poster
Rep: Reputation: 0
much much thanks for your help,comprookie2000
now i got my problem: I tried : mkinitrd -f --with=ext3 /boot/initrd 2.4.22-1.2188.nptl
BUT: 2.4.22-1.2188.nptl is not my kernel version
i have 2.4.22-1.2188.nptlcustom
so i have to call: mkinitrd -f --with=ext3 /boot/initrd 2.4.22-1.2188.nptlcustom
sorry for my bad english, but i am only 14 years old
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
no init, kernel-module version mismatch bat_boy11112233 Linux - General 3 10-03-2004 10:10 AM
Kernel-module Version Mismatch !!! lionking_x Linux - Networking 1 02-02-2004 02:07 PM
Kernel-module Version Mismatch !!! lionking_x Linux - Software 1 02-02-2004 02:06 PM
Kernel-module Version Mismatch !!! lionking_x Linux - Newbie 1 02-02-2004 01:01 PM
kernel-module version mismatch louai Linux - General 2 01-08-2004 11:22 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:24 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