LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-20-2003, 05:13 PM   #1
h/w
Senior Member
 
Registered: Mar 2003
Location: New York, NY
Distribution: Debian Testing
Posts: 1,286

Rep: Reputation: 46
patch/kernel/what do i have to do?


hi, i really need urgent help on this one.
the problem is this.

i have to install 2.4.22pre6
i have 2.4.20 - 19.9.

what do i have to do? apply only the patch? or get the latest linux kernel,which is 2.4.21, and apply the patch to that, and then build that?

if i have to apply the patch :
1. do i need to get the 2.4.21 patch and apply it as well, or will the 2.4.22 be enuff?
2. do i have to compile the whole thing from scratch after applying the patch?

if someone could be kind enough to give a step-by-step of what i should be doing, i wud be most thankful.

im getting stuck even at where i should place the kernel, as i dont know what exactly i should be doing here.
 
Old 08-20-2003, 05:30 PM   #2
h/w
Senior Member
 
Registered: Mar 2003
Location: New York, NY
Distribution: Debian Testing
Posts: 1,286

Original Poster
Rep: Reputation: 46
also, if i am to hget 2.4.21, do i need to get the entire source bz?
or just patch-2.4.21.

i have the source for 2.4.20 already built.

thnx!
 
Old 08-20-2003, 05:31 PM   #3
h/w
Senior Member
 
Registered: Mar 2003
Location: New York, NY
Distribution: Debian Testing
Posts: 1,286

Original Poster
Rep: Reputation: 46
yes, im ready to tear my hair out.
 
Old 08-20-2003, 05:35 PM   #4
contrasutra
LQ Guru
 
Registered: Mar 2003
Location: New Jersey
Distribution: Arch Linux
Posts: 1,445

Rep: Reputation: 47
You posted 3 times in 15 minutes. Calm down.

A patch has to be applied to the version right before it. To apply a 2.4.22 patch, it has to be on the 2.4.21 kernel.

if you dont have that, just grab the complete 2.4.22 source.

For a kernel compiling guide, check the Slackware Forum.
 
Old 08-20-2003, 05:36 PM   #5
leonscape
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Debian SID / KDE 3.5
Posts: 2,313

Rep: Reputation: 48
You need the previous full release to add a prepatch.

So you need to down load 2.4.21 source complete.

and unpack it into /usr/src

You Then need to set a symlink in /usr/src/ called linux linking to your new directory. You then need to apply the patch to the source and compile the new kernel. Installl and run it.

The latest for 22 is 2.4.22-rc2 by the way pre6 has quite a few bugs.
 
Old 08-20-2003, 05:45 PM   #6
h/w
Senior Member
 
Registered: Mar 2003
Location: New York, NY
Distribution: Debian Testing
Posts: 1,286

Original Poster
Rep: Reputation: 46
aha thnx guys - i got the 2.4.21 source. and the rc2 patch
can u also tell me this -
since /usr/src has permissions for root only, and since i want to place everything in /usr/src, and only do a "make install" as root, how do i set permissions.
do i need to make a new group and add myself to it? and how would i do this (i havent set permissions b4)? or can/should i add myself under the "root" group for this? uhhhhhhhhhhh!!!!!!

if u could tell me what and how to do it ...
 
Old 08-20-2003, 05:47 PM   #7
leonscape
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Debian SID / KDE 3.5
Posts: 2,313

Rep: Reputation: 48
DON'T add your self to root group, you should su to root to do this.

Adding your self to root would ruin some of the security that prevents virii in linux.
 
Old 08-20-2003, 05:49 PM   #8
h/w
Senior Member
 
Registered: Mar 2003
Location: New York, NY
Distribution: Debian Testing
Posts: 1,286

Original Poster
Rep: Reputation: 46
right.
how do i go about making a new group, giving the grp permissions on /usr/src, and then adding my username to it?
 
Old 08-20-2003, 06:00 PM   #9
Looking_Lost
Senior Member
 
Registered: Apr 2003
Location: Eire
Distribution: Slackware 12.0, OpenSuse 10.3
Posts: 1,120

Rep: Reputation: 45
Having you been doing any kernel compiling yourself or using the rpm's?

Just wondered if you ran up2date if it would do it all for you.
 
Old 08-20-2003, 06:04 PM   #10
leonscape
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Debian SID / KDE 3.5
Posts: 2,313

Rep: Reputation: 48
This will help with setting permissions and groups.

http://www.linuxpowered.com/html/editorials/file.html

Bookmark it I use it as a refrence all the time.
 
Old 08-20-2003, 06:13 PM   #11
h/w
Senior Member
 
Registered: Mar 2003
Location: New York, NY
Distribution: Debian Testing
Posts: 1,286

Original Poster
Rep: Reputation: 46
lookin_lost - yes, the 2.4.20 im runnin is via up2date. but i need to compile my own kernel - hence ...

leonscape - thnx for the link. im already saturated with reading on all this. i wanna take a break, but dammit, i have to get this thing done now - so, no break!

well, ill post back when im done with this.

thnx again.
 
  


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
Kernel Patch (Patch-2.6.13) ukez Linux - Hardware 4 08-30-2005 03:40 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
Unable to patch 2.6.11.7 kernel with Reiser4 mm patch SlackwareInAZ Slackware 9 04-26-2005 06:33 AM
debian-patch-debianlogo w/2.6.5 kernel-patch-lpp Outabux Debian 11 05-20-2004 01:21 PM
YaST Online Update + AMD kernel patch = kernel panic THX1138 Linux - General 3 10-26-2003 04:25 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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