LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-21-2001, 12:14 AM   #1
vance
Member
 
Registered: Feb 2001
Location: San Francisco
Distribution: Mandrake 8.1 modified
Posts: 80

Rep: Reputation: 15
Question


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!
 
Old 02-21-2001, 01:27 PM   #2
cawaker
LQ Newbie
 
Registered: Jan 2001
Posts: 13

Rep: Reputation: 0
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
 
Old 02-22-2001, 11:40 AM   #3
vance
Member
 
Registered: Feb 2001
Location: San Francisco
Distribution: Mandrake 8.1 modified
Posts: 80

Original Poster
Rep: Reputation: 15
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.
 
Old 02-23-2001, 02:39 PM   #4
KevinJ
Member
 
Registered: Feb 2001
Location: Colorado Springs, CO
Distribution: Redhat v8.0 (soon to be Fedora? or maybe I will just go back to Slackware)
Posts: 857

Rep: Reputation: 30
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.

 
Old 02-23-2001, 04:54 PM   #5
devnull
Member
 
Registered: Feb 2001
Posts: 84

Rep: Reputation: 15
To upgrade a RH7 to 2.4.x you need also the newest modutils!
Check redhat.com.
 
Old 08-11-2001, 06:01 AM   #6
Fruitbat
LQ Newbie
 
Registered: Jun 2001
Location: UK
Posts: 29

Rep: Reputation: 15
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.
 
Old 08-11-2001, 09:48 AM   #7
isajera
Senior Member
 
Registered: Jun 2001
Posts: 1,635

Rep: Reputation: 45
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.
 
Old 04-02-2004, 09:19 PM   #8
gauravdawra
LQ Newbie
 
Registered: Apr 2004
Posts: 7

Rep: Reputation: 0
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
 
  


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
query for upgrading from rh7.3 to rh9 amit666 General 0 01-29-2004 12:32 AM
having problems upgrading kernel: RH7.3, 2.4.18 buckles Linux - Newbie 0 06-16-2003 10:24 AM
installing RH7.2 or 7.3 fails; RH7.1 & W2k work great river Linux - Software 4 05-24-2002 04:45 PM
Problems upgrading laptop to RH7.1!! ruttiger Linux - Software 2 10-21-2001 11:31 PM
Upgrading from RH7,0 to RH7,1 c0c0deuz Linux - Newbie 10 09-15-2001 12:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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

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