LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   [Question]make initrd error (https://www.linuxquestions.org/questions/linux-general-1/%5Bquestion%5Dmake-initrd-error-158811/)

frid 03-17-2004 02:05 AM

[Question]make initrd error
 
I complied kernel from 2.4 -> 2.6.3 yesterday

when I first enter linux with kernel 2.6.3 in got some problem

about Modules.

After I install module-init-tools ..the problem went away.

But when I make kernel today to add some config

Everything is fine(menuconfig,make,make modules,make modules_install,make bzImage) before make intall.

I got error when I type make install

error

[error log]

[root@mail linux-2.6.3-1]# make install
make[1]: `arch/i386/kernel/asm-offsets.s' is up to date.
CHK include/linux/compile.h
Kernel: arch/i386/boot/bzImage is ready
sh /usr/src/linux-2.6.3-1/arch/i386/boot/install.sh 2.6.4 arch/i386/boot/bzImage System.map ""
No module off found for kernel 2.6.4
make[1]: *** [install] Error 1
make: *** [install] Error 2

[/error log]

I think should be mkinitrd error , cause I got the same error message
('No module off found for kernel 2.6.4'),when I use mkinitrd to make initrd.

I don't know if is module-init-tools problm..

Can anyone give me some ideal to solve this problm?
or some URL-info to get new knowledge : )

thx all~

motub 03-17-2004 04:20 AM

How did 2.6.4 get involved in this? You're running 2.6.3, right? And you're rebuilding 2.6.3-- aren't you?

So where did 2.6.4 come from?

frid 03-17-2004 08:24 PM

Cause I change the Makefile ..
In order to not mix with original 2.6.3 I install yestday ^^a

AutOPSY 03-17-2004 10:18 PM

if you didnt patch the kernel why would you change the 2.6.3 to 2.6.4 .
that is not proper.

you can put 2.6.3-new without having to "mix" anything.

When you compile a kernel of the same version they adont mix. they are seperate entities.


frid 03-17-2004 11:08 PM

Thanks notice me about this ^^

I will not do this again @@...:cry:

It's just a tip for me , Let me not mix with the kernel I install before :)

Now I know i should change "EXTRAVERSION =" in Makefile ;)

-----

The Question is not solved yet,
I use mkinitrd("mkinitrd /boot/initrd-2.6.3-test2.img 2.6.3-test2")
still get the same error ("No module off found for kernel 2.6.3-test2")

I will check module-init-tools again if is it's problm:rolleyes:

motub 03-18-2004 02:36 AM

What version of module-init-tools are you using?

This thread on the Gentoo forums seems to suggest that the error is caused by versions above module-init-tools-3.0_pre5. So if your version is above that, you might want to downgrade, if possible.

On the other hand, this old mailing list archive speculates that the problem is caused by compiling SCSI support into the kernel, rather than as a module-- and that the kernel is looking for a SCSI module it can't find (because it's in the kernel rather than in the /modules directory).

And lastly, this old Mandrake Cooker mailing list archive post suggests that the issue may be a buggy highmem option in the kernel-- but it refers to older 2.4 series kernels and is probably not relevant to your situation.

So out of the three suspects produced by searching Google, I'm voting for the module-init-tools version and the SCSI thing as the two most worth checking.

I also wonder if you did a "make clean" before recompiling (again) once you had changed the Makefile (back). It's possible that this is an error left over from the original somewhat borked make (since you hadn't had module-init-tools installed, etc).

frid 03-18-2004 11:29 PM

hi !~..thx for replying me ~

I use module-init-tools-3.0-pre9 <-My version

I will try to read the infomation you gave :)

I will post Step when I solve this problm :D

Thx alot ~

frid 03-31-2004 02:02 AM

hi !~
Thx all ...I seems solved this problem
[My Step]
1.Change module-init-tools version to "module-init-tools-3.0-pre5"
2.Change mkinitrd version to "3.4.28-1"
[/My Step]

But It come another problem
After I find in google , I found that I didn't config in loop device option
and then I solve this problem after I recomplie the kernel.
Now I got another problem XD
After I boot from my new kernel It shows "No init found"
[My Grub config]
title REd Hat Linux (2.6.3-test3)
root (hd0,0)
kernel /vmlinuz-2.6.3-test3 ro root=LABEL=/
initrd /initrd-2.6.3-test3.img
[/My Grub config]

I sure that I had been config in my file type (ext3)
I also sure that I will fix this problem , But not today :p

Thx all again ^^

motub 03-31-2004 03:22 AM

Does this file

initrd /initrd-2.6.3-test3.img

actually exist under that exact name in the location it is said to be?

frid 03-31-2004 07:26 PM

hi !`..thx for reply me~

I think i solve this problem~~

I change grub.conf

[grub.conf]

boot=/dev/hda
default=0
timeout=10
splashimage=(hd0,0)/grub/splash.xpm.gz

title REd Hat Linux (2.6.3-test3)
root (hd0,0)
kernel /vmlinuz-2.6.3-test3 ro root=/dev/hda5
initrd /initrd-2.6.3-test3.img

[/grub.conf]

Donno why can not use orgin set root=LABEL=/

Maybe find the answer other day :D

Go class ^^ thx all

ps. my hda5 is "/"


All times are GMT -5. The time now is 10:29 PM.