Help answer threads with 0 replies.
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, 06:57 PM   #1
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

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



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 03: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 10:01 AM
Kernel Problems. Howto Compile a new kernel from 4.2 with backwards compatibility ? ShoCkwave Linux - General 2 06-19-2004 07:02 AM
can i compile just one kernel module whithout recompiling the whole kernel? edman007 Linux - Software 3 02-17-2004 04:05 PM
Kernel 2.4.23 compile causes kernel panics on ATA RAID-1 (mirror) array Raptor Ramjet Slackware 3 12-18-2003 02:40 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:46 PM.

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