LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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

Closed Thread
 
Search this Thread
Old 10-02-2004, 11:59 AM   #1
bat_boy11112233
LQ Newbie
 
Registered: Oct 2004
Distribution: debian 3.1, suse linux 9.1
Posts: 7

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


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 the 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
- cp arch/i386/boot/bzImage /boot/vmlinuz
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.
Please, can anyone help.
Much much Thanks
p.s. sorry for my bad english, but I am only 14 years old.
 
Old 10-02-2004, 01:29 PM   #2
foo_bar_foo
Senior Member
 
Registered: Jun 2004
Posts: 2,553

Rep: Reputation: 51
HI,
first off if you compile support for the stuff in the initrd as included in the kernel as opposed to modules
then you no longer need initrd at all !

beyond that, when you use the mkinitrd command
put the name of the new kernel (not vmlinuz but the name in /lib/modules)
of the new kernel as the last argument like
mkinitrd -f --with=ext3 /boot/initrd 2.4.22-1.2188-nptl.custom
 
Old 10-03-2004, 10:05 AM   #3
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,foo_bar_foo
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
 
Old 10-03-2004, 10:10 AM   #4
trickykid
Guru
 
Registered: Jan 2001
Posts: 24,133

Rep: Reputation: 197Reputation: 197
Please do not post the same thread in more than one forum. Picking the most relevant forum and posting it once there makes it easier for other members to help you and keeps the discussion all in one place.

http://www.linuxquestions.org/rules.php
 
  


Closed Thread


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
kernel-module version mismatch, no init found bat_boy11112233 Linux - Newbie 4 10-03-2004 10:07 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


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

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