LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
LinkBack Search this Thread
Old 10-28-2003, 10:29 AM   #1
Uchiha sasuke
LQ Newbie
 
Registered: Oct 2003
Posts: 21

Rep: Reputation: 15
Redhat 9 kernel problems


me using Redhat 9 , want to upgrate the kernel to 2.4.22 ,

" ....... The directory for the kernel source is /usr/src/linux-2.4/ instead of /usr/src/linux/ "

the weird thing for me is that there is no linux* directory in /usr/src

$ pwd
/usr/src
$ ls -F
debug/ redhat/ <---- there is no linux*
$ cd redhat
$ ls -F
BUILD/ RPMS/ SOURCES/ SPECS/ SRPMS/

So , wat's the problem ???
Thank you
ps : sorry , can't post the that website 'cause I don' t have enough posts
 
Old 10-28-2003, 10:48 AM   #2
lupin_the_3rd
Member
 
Registered: Oct 2003
Location: Memphis, TN
Distribution: Slackware current
Posts: 485

Rep: Reputation: 30
Unless you have kernel sources installed there won't be a /usr/src/linux*
Untar the 2.4.22 sources and mv them to /usr/src/... then create a symlink

ln-s /usr/src/linux-2.4.22 /usr/src/linux-2.4

compile your kernel
 
Old 10-28-2003, 03:13 PM   #3
Uchiha sasuke
LQ Newbie
 
Registered: Oct 2003
Posts: 21

Original Poster
Rep: Reputation: 15
I untar the linux-2.4.22.tar , move it to /usr/src
and I create a softlink link to it : linux-2.4 -> linux-2.4.22

# ls -l
total 12
drwxr-xr-x 2 root root 4096 Jan 24 2003 debug
lrwxrwxrwx 1 root root 12 Oct 28 16:19 linux-2.4 -> linux-2.4.22
drwxr-xr-x 15 james root 4096 Aug 25 07:44 linux-2.4.22
drwxr-xr-x 7 root root 4096 Oct 27 09:52 redhat
# cd linux-2.4
# ls -la
total 264
drwxr-xr-x 15 james root 4096 Aug 25 07:44 .
drwxr-xr-x 5 root root 4096 Oct 28 16:19 ..
drwxr-xr-x 20 james root 4096 Aug 25 07:44 arch
-rw-r--r-- 1 james root 18691 Aug 2 2002 COPYING
-rw-r--r-- 1 james root 81782 Aug 25 07:44 CREDITS
drwxr-xr-x 2 james root 4096 Aug 25 07:44 crypto
drwxr-xr-x 31 james root 4096 Aug 25 07:44 Documentation
drwxr-xr-x 40 james root 4096 Aug 25 07:44 drivers
drwxr-xr-x 47 james root 4096 Aug 25 07:44 fs
drwxr-xr-x 28 james root 4096 Aug 25 07:44 include
drwxr-xr-x 2 james root 4096 Aug 25 07:44 init
drwxr-xr-x 2 james root 4096 Aug 25 07:44 ipc
drwxr-xr-x 2 james root 4096 Aug 25 07:44 kernel
drwxr-xr-x 4 james root 4096 Aug 25 07:44 lib
-rw-r--r-- 1 james root 46953 Aug 25 07:44 MAINTAINERS
-rw-r--r-- 1 james root 19024 Aug 25 07:44 Makefile
drwxr-xr-x 2 james root 4096 Aug 25 07:44 mm
drwxr-xr-x 28 james root 4096 Aug 25 07:44 net
-rw-r--r-- 1 james root 14287 Aug 25 07:44 README
-rw-r--r-- 1 james root 2818 Jun 13 10:51 REPORTING-BUGS
-rw-r--r-- 1 james root 9291 Aug 2 2002 Rules.make
drwxr-xr-x 4 james root 4096 Aug 25 07:44 scripts
there is no .config file , what should I do ?

Last edited by Uchiha sasuke; 10-28-2003 at 03:15 PM.
 
Old 10-28-2003, 05:55 PM   #4
lupin_the_3rd
Member
 
Registered: Oct 2003
Location: Memphis, TN
Distribution: Slackware current
Posts: 485

Rep: Reputation: 30
copy your current config file from boot to /usr/src/linux-2.4

then make menuconfig and load configuration from file.
 
Old 10-28-2003, 09:27 PM   #5
Uchiha sasuke
LQ Newbie
 
Registered: Oct 2003
Posts: 21

Original Poster
Rep: Reputation: 15
thanks , where can I get my current .config file ?
sorry , I'm still new to Linux
 
Old 10-28-2003, 10:02 PM   #6
lupin_the_3rd
Member
 
Registered: Oct 2003
Location: Memphis, TN
Distribution: Slackware current
Posts: 485

Rep: Reputation: 30
It's in /boot... called 2.4.xx-config
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems installing redhat kernel clem_c_rock Linux - Enterprise 1 08-13-2004 09:52 AM
Problems compiling 2.6.x kernel on RedHat 8.0 africantiger Linux - Newbie 0 07-13-2004 09:42 PM
recompling a kernel in redhat, with problems riddlebox80 Linux - Distributions 2 08-11-2003 10:29 AM
More RedHat kernel problems Tuzinor Linux - General 1 12-06-2002 05:10 PM
RedHat 8.0 kernel 2.4.19 problems Tuzinor Linux - General 4 11-16-2002 04:40 AM


All times are GMT -5. The time now is 09:47 PM.

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
Open Source Consulting | Domain Registration