LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   new kernel compile error (https://www.linuxquestions.org/questions/linux-newbie-8/new-kernel-compile-error-165561/)

gauravdawra 04-02-2004 09:16 PM

new kernel compile error
 
HI

I am running linux machine on 2.4.20-8(The red hat kernel which comes in shipping). It is working great. And all things are being configured.

Now i need to run 2.4.20 vanilla kernel for some project.First of all can i do that.

I am using the documentation on How to compile a new kernel. i am making new link

using ln -s linux-2.4.20 linux-2.4 in /usr/src directory.

ran make xconfig and loaded the configuration file from /usr/src/linux-2.4.20-8/.config

Saved it .

ran make dep

ran make

ran make modules

ran make modules_install

ran make bzImage

ran make install

Only error i get is that the image is too large to boot from the floppy disk. When i look into my /boot directory it has made the initrd-2.4.20.img and also System.map-2.4.20 also vmlinuz link to vminuz-2.4.20. But does not make "module-info-2.4.20"

Here are the contents of the boot directory expect the above i told you, which i deleted before POSTING this message as i am going to try it agian. So do not be confused

boot.b config-2.4.20-8smp kernel.h module-info System.map vmlinux-2.4.20-8
chain.b grub lost+found module-info-2.4.20-8 System.map-2.4.20 vmlinux-2.4.20-8smp
config-2.4.20 initrd-2.4.20-8.img message module-info-2.4.20-8smp System.map-2.4.20-8 vmlinuz-2.4.20-8
config-2.4.20-8 initrd-2.4.20-8smp.img message.ja os2_d.b System.map-2.4.20-8smp vmlinuz-2.4.20-8smp


:confused: :confused: :confused: :confused:


It also made the entry into the "boot/grub/menu.lst file"

But when i try to load this kernel it says CPU=0 and frquency 0 and HANGS there.................grrrrrrrrr


I also checked the /lib/modules/2.4.20/build/.config file it is fine and present.

Please suggest what i am going wrong?

Thanx..

Gaurav:mad:


All times are GMT -5. The time now is 09:58 PM.