LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 12-20-2003, 10:59 AM   #1
robik
LQ Newbie
 
Registered: Dec 2003
Location: israel,Beer-sheva
Distribution: slackware 9.0/asplinux 9.2
Posts: 13

Rep: Reputation: 0
kernell compiling.


Hello!
I have compiled new kernel and i think that something is wrong. I compiled my kernel to support advanced IP routing and as i suppose the IP command is controlling the routing. But this command is not available. So i think that i done something wrong
In order to help you to help me here is what i have done when compiled
cp /usr/src/linux-2.4.20 /usr/src/linux-compiled
cd /linux-compiled
mcedit makefile( changed the version to 1 and line 74(uncommented))
make mrproper
make menuconfig( taked old configuration and added network futures)
make dep
make clean
make bzImage
make
make install
make modules
make modules_install
Gone to lilo.conf and added
image = /boot/vmlinuz.old
root = /dev/hda1
label = linux
read-only

After that gone to /boot and copied to there .config file from /usr/src/linux-compiled and created symlink config to .config.
The new system.map and vmlinuz and map are there, but i compiled the same version of kernel and maybe thats the problem. in boot i have this files

.config( copied from linux-compile new )
system.map( new )
system.map-ide-2.4.20 ( Mtime is old )
system.old ( old )
boot.0300 (old )
boot.0301 (old )
boot_message
@config --> .config (new )
map (new )
vmlinuz (new )
vmlinuz.old (old )
when i start lilo -v at the end it tells me
/boot/boot.0300 exists - no backup copy made
writing boot sector
Maybe I need to delete some old files from Boot?
The new version is booting without problem and
uname -r gives
Linux -4.201( the 1 i gived in makefile)
What i need to do? What this boot.0300 file is and where i need to take th new one?
Also in usr/src i have linux-2.4.20 and linux-compile


Thank to all of you!
 
Old 12-20-2003, 11:48 AM   #2
320mb
Senior Member
 
Registered: Nov 2002
Location: pikes peak
Distribution: Slackware, LFS
Posts: 2,577

Rep: Reputation: 47
goto Slackware.com and read the Slackware Essentials Book

You DO NOT have to................
Quote:
make
make install
make modules_install
 
Old 12-20-2003, 02:45 PM   #3
DaOne
Member
 
Registered: Jan 2003
Location: USA
Distribution: Slackware
Posts: 498

Rep: Reputation: 30
Quote:
Originally posted by 320mb
goto Slackware.com and read the Slackware Essentials Book

You DO NOT have to................
If you don't want to take the time to help, don't bother answering. If you disagree, then explain to me how your answer helped in any way.

robik ...I believe you have some of the steps out of order. You ran make install before you added the entries to lilo.conf if I am reading you correctly. When you run make install, it renames/copies the correct files to the correct locations and runs lilo for you. Look HERE and follow EXACTLY. You MUST do things in the proper order for a successful compile.
 
  


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
Various Compiling Errors (GCC compiling Openal, GUIlib, xmms-wma) gregorya Linux - Software 2 08-27-2004 05:03 AM
Compiling in ACPI support on Compaq 2135CA (system crashes while compiling) Dag Linux - Laptop and Netbook 20 07-30-2004 07:56 PM
Recompiling or Updating the Kernell ako Linux - Newbie 1 12-29-2003 03:09 AM
reconfiguring kernell to revive sound... renegade69 Linux - Laptop and Netbook 16 10-07-2003 01:10 AM
kernell panic: attempt to kill init arielus olahus Linux - Newbie 1 03-03-2002 05:43 AM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration