LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 12-03-2002, 05:57 PM   #1
spate
LQ Newbie
 
Registered: Nov 2002
Location: Austin
Distribution: All
Posts: 25

Rep: Reputation: 15
Question kernel compile


Hello all, I am not new to linux, but am to this sight, 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 which I can't seem to update ( it needs 2.2 and I have 2.1.3-32)

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
image=/boot/bzImage
label=bzimage
root=/dev/hda5

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

Scott
 
  


Reply


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


All times are GMT -5. The time now is 12:28 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration