Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 12-03-2002, 11:08 PM   #1
LQ Newbie
Registered: Nov 2002
Location: Austin
Distribution: All
Posts: 25

Rep: Reputation: 15
Question kernel compile

Hello, I am not very new to linux, but am to this site, so forgive me if my post is messed up
I am having a problem with compiling a new kernel, let me explain

I am running an old Packard Bell with a PentiumII 200Mhz processor with 48MB of RAM and probably generic everything else. I also am using Turbolinx 6.5 which has the 2.2.18-2 kernel.

I downloaded the linux-2.4.18.tar.gz kernel and put it in a directory I created (/root/linux). I ran 'tar xzvf filename' to unpack. I then read the /linux/Documentation/Changes file to get the correct development releases. Everything I had seemed compatible except gcc, it called for gcc-2.95.3 and I was using 2.95.2. So I downloaded and installed the tarball for gcc-2.95.3. It seemed to go ok. When I do a 'gcc -v' it says "gcc version 2.95.3 20010315 (release)" The other utilities (ie: make, binutils, etc...) seemed up to date, except glibc ( it calls for 2.2 and I have 2.1.3-32) and I can't seem to patch or update it.

Anyway, I cd to the linux directory, run make menuconfig, make dep, make clean, make bzImage, make modules, make modules_install. Everything seems to go fine. I then copy /linux/arch/i386/boot/bzImage to /boot. Then edit lilo.conf and add the new kernel

Then run lilo, and get no errors. When I reboot, and choose the new kernel it gets as far as
"Loading bzimage .........." and that's it.

I can't figure out what I'm doing wrong.

Also, I added a number to the Extraversion line in the Makefile so it created a separate directory in /lib/modules. I didn't do anything to /usr/src.

Thanks for the Help

Old 12-04-2002, 06:13 AM   #2
Senior Member
Registered: Oct 2002
Location: Belgium
Distribution: Debian, Free/OpenBSD
Posts: 1,123

Rep: Reputation: 47
Could be a number of things, I usually get such an 'error' when I selected something that's not compatible with my hardware, for example, the last time I got that, I was installing lm_sensors in the 2.4.20 kernel. I selected the wrong VIA chipset and got 'Loading 2.4.20...". I selected the right chipset and everything was ok again.
I'd check everything again and try to find out what hardware is inside your box, not everything will be generic I think
Old 12-04-2002, 08:53 AM   #3
LQ Newbie
Registered: Nov 2002
Location: Austin
Distribution: All
Posts: 25

Original Poster
Rep: Reputation: 15
kernel compile

Thanks for the advice, I'll give it a shot.

I got this PC from my sister and I don't know what's inside it. Is there any good way to tell with out installing windows?


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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
upgraded kernel, won't let me compile kernel once Suspend2 patches are applied microsoft/linux Linux - Laptop and Netbook 3 10-02-2005 02:37 PM
I want to compile 2.6 kernel and keep everything from 2.4 intact (dual kernel system) sina_kish Linux - Software 7 02-02-2005 09:01 AM
Kernel Problems. Howto Compile a new kernel from 4.2 with backwards compatibility ? ShoCkwave Linux - General 2 06-19-2004 06:02 AM
can i compile just one kernel module whithout recompiling the whole kernel? edman007 Linux - Software 3 02-17-2004 03:05 PM
Kernel 2.4.23 compile causes kernel panics on ATA RAID-1 (mirror) array Raptor Ramjet Slackware 3 12-18-2003 01:40 PM > Forums > Linux Forums > Linux - Software

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

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration