LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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-28-2002, 07:10 PM   #1
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Slack8 & Kernel 2.4.18


G'day, and me again :}

I d/led a kernel 2.4.18 (tgz) and am now wondering
how to make that work with my slackware. Yes, I've
rebuilt Kernels before, no, I'm not that new ...

When I run make menuconfig and make all my selections
for the newer kernel, then run my make dep and make
bzImage I am presented with make config instead of
just getting the kernel compiled, and after the second
(superfluous) configuration the compile ends with errors.

What have I done wrong? :) Do I need a special archive
that's suitable for Slack, which files in the archive from
kernel.org do I have to touch to make the make work on
Slack?

Cheers,
Tink
 
Old 04-28-2002, 11:15 PM   #2
sonikntails
Member
 
Registered: Apr 2002
Distribution: Gentoo Linux Baby!!!!
Posts: 32

Rep: Reputation: 15
I dont know what you might have done, but i just downloaded the tar.gz, ran menuconfig. than the standered make dep clean bzimage........ it worked fine for me then.

sonikntails
 
Old 04-29-2002, 07:24 AM   #3
sapilas
Member
 
Registered: Apr 2002
Location: Greece
Distribution: the best !
Posts: 176

Rep: Reputation: 30
yeap it sounds crazy . .

follow the details of README file . . .

It worked for me too..

make dep ; make clean ; make bzImage

 
Old 04-29-2002, 08:22 AM   #4
Richard James
LQ Newbie
 
Registered: Apr 2002
Location: Australia
Distribution: Slackware
Posts: 21

Rep: Reputation: 15
Kernel 2.4.18 will work on even slack 7.1 the way to get it going is first to untar it. Then you copy the .config file from your old kernel directory to the new one.
#cp /usr/src/linux-2.4.5/.config /usr/src/linux-2.4.18

Then make menuconfig then make dep if you have to. Then make clean, make install, make modules, make modules_install.

Each step in the kernel compile is optional depending on what you have to do.

If you are trying to get new Nvidia drivers working you probably need make dep. If you haven't added anything but a new kernel option you don't really need make dep again. If you have just added a new module you don't need to recompile all the kernel or reboot you just need make modules, make modules_install.

You don't even have to compile your kernel as the root user or in /usr/src/linux you only need to run lilo, copy bzImage to vmlinuz, and make modules as root.

You can compile a kernel on one machine and copy it to another if you do it the right way.
 
Old 04-29-2002, 10:49 PM   #5
finegan
LQ Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 72
Re: Slack8 & Kernel 2.4.18

Quote:
Originally posted by Tinkster
G'day, and me again :}

When I run make menuconfig and make all my selections
for the newer kernel, then run my make dep and make
bzImage I am presented with make config instead of
just getting the kernel compiled, and after the second
(superfluous) configuration the compile ends with errors.
Not to accuse of making one of the dinky errors, but this is indicative of one of the most common mistakes... did you remember to rm the symlink from linux to linux-2.2.19 in /usr/src before you un'tar'ed the 2.4.18 package? Otherwise you dumped all of the new source in with the old source and well... if your base kernel was 2.2.19, you can accidently create 2 configs... er, yeah its a mess.

Cheers,

Finegan
 
Old 04-30-2002, 02:47 PM   #6
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067

Original Poster
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Smile

Hehe ... thanks, I not THAT daft

Actually Richards tip to copy the .config of the 2.4.5
kernel to the 2.4.18's directory solved the problem

Thanks Richard!

Cheers,
Tink
 
  


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
Phục hồi dữ liệu bị mất???, cứ pollsite General 1 06-27-2005 12:39 PM
FYI: Ndiswrapper, Kernel-Source 2.6.9-4, Linux-2.6.10 && Couple O' Questions Outabux Debian 0 12-29-2004 03:13 PM
Upgrade from working kernel-source-2.6.7-1 & -2 to kernel paniced -3 & -4 Outabux Debian 6 08-15-2004 01:36 PM
why does compiler matter? slack8.1 & current doublefailure Slackware 1 03-13-2003 11:31 PM
Sound Blaster Live Value & Slack8.0 milos Linux - Hardware 1 05-05-2002 09:56 PM

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

All times are GMT -5. The time now is 11: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
Open Source Consulting | Domain Registration