LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 07-28-2003, 05:03 PM   #1
linen0ise
Member
 
Registered: Jul 2003
Distribution: slack...nothing but slack
Posts: 52

Rep: Reputation: 15
Unhappy kernel compiling probs


hi =)
i did the following to compile a new kernel (2.4.21)...

make mrproper
copied the config file from the scsi2.s kernel to /usr/src/linux/.config
make menuconfig
make dep
make clean
make bzImage
make modules
copied the bzimage and System map manually (make install doesn't work at all, I see the kernel 2.4.21 message at the login prompt, but uname -r shows 2.4.20)

make modules_install however seems to mess up my system...does anybody know how to get them install without make modules_install ?
sorry... I lost the bookmark where this was explained

Last edited by linen0ise; 07-28-2003 at 06:27 PM.
 
Old 07-28-2003, 05:21 PM   #2
tobyl
Member
 
Registered: Apr 2003
Location: uk
Distribution: slackware current
Posts: 768

Rep: Reputation: 64
you will need to run lilo after a recompile
 
Old 07-28-2003, 05:30 PM   #3
linen0ise
Member
 
Registered: Jul 2003
Distribution: slack...nothing but slack
Posts: 52

Original Poster
Rep: Reputation: 15
i did...
ran liloconfig and did a Recycle...
 
Old 07-28-2003, 05:38 PM   #4
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
Odd ... did you set the symlinks for
the source-trees properly?
linux@ -> linux-2.4.21
linux-2.4.20
linux-2.4.21
Also, if the Makefile for the
2.4.21 kernel is the right one you
should get distinct subdirectories in
/lib/modules ...
/lib/modules/2.4.20
/lib/modules/2.4.21

Cheers,
Tink
 
Old 07-28-2003, 06:09 PM   #5
linen0ise
Member
 
Registered: Jul 2003
Distribution: slack...nothing but slack
Posts: 52

Original Poster
Rep: Reputation: 15
I don't have the 2.4.20 source installed...yes the symlinks ok...
I got (almost) everything working by now...
the only problem I'm having now is that the network is messed up somehow...
which I don't understand...
I did a fresh install...used scsi2.s...network and internet connection worked fine...
then I installed the 2.4.21 sources...used the config from scsi2.s... added smp and highmem support and compiled the driver for the network card in the kernel instead of compiling it as a module (eepro100) and left everything else the way it was...
then commented the eepro100.o from the rc.network out and did a restart (after running lilo of course)...
the network card gets detected, eth0 is up but i can only connect to localhost...even after setting up the network again...
guess I'm either too stupid or did something wrong...anyway...I don't understand this =(
 
Old 07-28-2003, 06:14 PM   #6
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
Played with IPTables settings or the kernel
routing options? :)

Cheers,
Tink
 
Old 07-28-2003, 06:18 PM   #7
linen0ise
Member
 
Registered: Jul 2003
Distribution: slack...nothing but slack
Posts: 52

Original Poster
Rep: Reputation: 15
no =(
smp support, highmem support, driver for networkcard.
nothing else ='(
I'm frustrated.
Im beginning to think about using *yuck* redhat =(
 
Old 07-28-2003, 07:48 PM   #8
linen0ise
Member
 
Registered: Jul 2003
Distribution: slack...nothing but slack
Posts: 52

Original Poster
Rep: Reputation: 15
thanks all....got it working.
network didn't work because of some interference by the gigabit network adapter =)
 
  


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
does compiling from source avoid kernel version probs? disorderly Linux - Newbie 1 03-25-2005 04:28 PM
probs with compiling kdevelop app joeman3429 Programming 1 08-27-2004 07:41 PM
Compiling Kernel 2.4.22 probs GingerPrince Linux - General 1 09-24-2003 09:30 PM
Probs after compiling kernel BoonZie Slackware 9 01-09-2003 05:12 PM
Gnome 2 Compiling probs Hegemon Linux - General 3 10-04-2002 06:22 AM

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

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