LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 04-13-2003, 06:11 PM   #1
cclavey
Member
 
Registered: Feb 2003
Location: N'England
Distribution: Slack 9
Posts: 194

Rep: Reputation: 30
Question Kernel Help


I have successfully compiled new kernels in the past, but not upgraded (.18 to .2.0). When I cd to /usr/src and run "make menuconfig" I get the return "bash: make: command not found". What am I doing wrong?

Thanks
 
Old 04-13-2003, 07:21 PM   #2
doublefailure
Member
 
Registered: Mar 2002
Location: ma
Distribution: slackware
Posts: 747

Rep: Reputation: 30
your system doesn't have 'make' command
you can go to slackware mirror and download package that contains the command.
 
Old 04-13-2003, 08:59 PM   #3
Excalibur
Senior Member
 
Registered: Jun 2002
Location: Northern VA, USA
Distribution: Ubuntu
Posts: 1,180

Rep: Reputation: 46
I would think you really need the entire slackware/d tree if you want to build a kernel.

Your sidebar and sig state Slack 9.0, but the message appears to refer to a desire to upgrade the kernel from 2.4.18 to 2.4.20. Is this correct? Slack 9.0 comes with 2.4.20. not 2.4.18. Slack 8.1 I think was based on 2.4.18.

In reference to your command issue. Your working directory needs to be the root of the kernel sources. So that if you extract the tar file from the /usr/src working directory, then the source should be in /usr/src/linux.

If it is Slack 9.0 then it most likely did not include the kernel sources. You will need to download the package from slackware-9.0/slackware/k tree. Use pkgtool to install it. The sources should then be available in /usr/src/linux. You will also need the config file for your current kernel if you want to begin with your current running kernel config. Copy the contig file to /usr/src/linux/.config. Note the period, it is a hidden file. Then run "make oldconfig" from the /usr/src/linux working directory. If kernel upgrade then just press enter at all the prompts. Proceed as normal with building a new kernel. There is a thread at the top of this forum in great detail.

Last edited by Excalibur; 04-13-2003 at 09:01 PM.
 
Old 04-14-2003, 06:12 AM   #4
cclavey
Member
 
Registered: Feb 2003
Location: N'England
Distribution: Slack 9
Posts: 194

Original Poster
Rep: Reputation: 30
Actually, although I do have Slack 9, I was working on an older 8.1 box. Thanks for the help.
 
  


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
Kernel 2.4 in Zipslack (Waring: unable to open an initial console | Kernel Panic...) kurtamos Linux - General 2 05-10-2006 12:58 PM
Kernel-Patch Debian Logo 2.6.2 not correctly working for custom kernel 2.6.11 smp deepclutch Debian 3 06-27-2005 03:59 AM
kernel panic: try passing init= option to kernel...installation with Red Hat 9 kergen Linux - Hardware 1 09-30-2004 03:28 AM
Unable to build NVIDIA kernel module / determin kernel version Night Ink Fedora 2 05-31-2004 04:54 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

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 06: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