LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   upgrading to 2.4.0 from rh7 (https://www.linuxquestions.org/questions/linux-software-2/upgrading-to-2-4-0-from-rh7-963/)

vance 02-21-2001 12:14 AM

i have rh linux 7 installed. i went and downloaded the 2.4.0 kernel at kernel.org and did the full installation. when i boot into my new kernel, it tells me it cannot find eth0, ppp0 nor my es1371 sound driver. it then hangs up for a long time at the sendmail initialization and finally boots.

anyone know what sort of things i should look into? i have been using linux for awhile, but still dont know my way around under the hood.

thanks in advance!

cawaker 02-21-2001 01:27 PM

kernel
 
you need to either compile the kernel with support for your hardware, or insert the right modules for your hardware. the best way would be to compile your own kernel and get rid of all the stuff you dont need, and only compile in support for ther stuff you do need. check the linux kernel HOWTO at http://www.linux.org/docs/ldp/howto/Kernel-HOWTO.html

vance 02-22-2001 11:40 AM

hey cawalker...
i did compile with the the ppp and eth modules and have tried about 9 different compilings...5 wouldn't boot and the other four are giving the same response. i will check out the how-to, though...i was following something from linuxnewbie for my current attempts.

KevinJ 02-23-2001 02:39 PM

2.4.0 on RH7
 
Yeah, it sounds like you're not compiling correctly or leaving something out.

You need to make sure you turn on support for whatever you need support for. By default, for instance, I think PPP and 3com Ethernet card support are not turned on when you compile a new 2.4 kernel. You have to turn it on.

make mrproper
make xconfig
make dep
make bzImage
make modules
make modules_install

The HOW-TO that was mentioned earlier is an excellent guide.


devnull 02-23-2001 04:54 PM

To upgrade a RH7 to 2.4.x you need also the newest modutils!
Check redhat.com.

Fruitbat 08-11-2001 06:01 AM

vance - did you ever resolve this problem. I am seeing the same symptoms (hangs for a couple of minutes at boot up when starting sendmail) I have isnstalled RH7.1 from scratch and I've had all sorts of netwroking problems. I'm sure it's something I've done because it hasn't always done it. I've not recompiled the kernal - all I have done is installed a new NIC driver using insmod. I don't think that is the cause though because it didn't start going wrong until much later.

isajera 08-11-2001 09:48 AM

ok... i can help a little here. the eth0, i don't know about, but the es1371 sound module should not be loaded directly into the kernel... compile it as a module instead. also, with ppp, the architecture for the ppp module changed significantly from the 2.2.x kernel series to the 2.4.x kernel, so you need to upgrade the pppd package. it helps if the ppp modules are also compiled as modules, and not directly into the kernel.

gauravdawra 04-02-2004 09:19 PM

new kernel compile error ( post #1)

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





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


All times are GMT -5. The time now is 09:42 AM.