From: Dan L. <sit...@gm...> - 2007-10-08 14:23:19
|
He's looking for a more "official" way to compile it, like, against RHEL5/CentOS5 sources and probably even put it into an RPM so the system will handle it correctly. I don't know how to do this myself since with CentOS/RHEL I've always just let the system handle the kernel. (one of the reasons I even run it) --Dan On 10/6/07, Flavio <fbc...@gm...> wrote: > Hello Jay > > patches are always applied to sources. Once you've patched them, you > can compile. > First of all you need "bzcat" program on your Linux distribution and > Linux kernel sources in your /usr/src directory. > Go to your kernel root directory, (e.g. /usr/src/linux , where linux > is a symbolic link to your > current kernel source directory) and patch the sources. > > Practically you have to do that: > 1) cd /usr/src/linux > 2) move your skas-2.6.20-v9-pre9.patch.bz2 file in /usr/src/linux directory > you will do something like this: > mv /home/myHome/skas-2.6.20-v9-pre9.patch.bz2 . (the dot indicates the > current directory, that is /usr/src/linux). > 3) bzcat skas-2.6.20-v9-pre9.patch.bz2 | patch -p1 --dry-run > if no errors appear, repeat 3 again without --dry-run option. > 4) bzcat skas-2.6.20-v9-pre9.patch.bz2 | patch -p1 > > 5) You've done. Now compile your kernel as you like. (compiling the > kernel is not simple, if it's the first time. Look for documentations > on google!!! > > here you can find more info: > http://www.vdd-project.org/index.php?option=com_content&task=view&id=20&Itemid=51#Getting%20vanilla%20Linux%20kernel%20sources > > Good Luck! > > Flavio. > > Master degree student at Department of Computer Science (DIS) > University of Rome "La Sapienza" > url: http://www.vdd-project.org > > On 06/10/2007, Jay Shah <jay...@gm...> wrote: > > Hi All, > > > > I was wondering if someone could lend me a hand on applying the "SKAS" > > patch to my kernel? > > > > I've searched the internet, and as I've never compiled a kernel > > before, I don't want to risk breaking my system. Is currently is > > hosting users with cPanel on it (if that makes any difference). > > > > My current kernel is "2.6.9-55.0.6.ELsmp #1 SMP" (CentOS 4) which I > > keep tidy with "yum update" so I've never "patched" it myself, but I'm > > not sure if Yum has. I therefore don't have a kernel tree (etc.) to > > add the Arch what's not to. > > > > I would appreciate anything that would point me in the right > > direction. For example, a recommendation to "compile" my own working > > kernel first, then patch it? Any advice would be greatly greatly > > appreciated. > > > > Many Thanks In Advance, > > > > Jay > > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by: Splunk Inc. > > Still grepping through log files to find problems? Stop. > > Now Search log events and configuration files using AJAX and a browser. > > Download your FREE copy of Splunk now >> http://get.splunk.com/ > > _______________________________________________ > > User-mode-linux-user mailing list > > Use...@li... > > https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > User-mode-linux-user mailing list > Use...@li... > https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user > -- "Courage is like love; it must have hope to nourish it." -Napoleon Bonaparte -- "Courage is like love; it must have hope to nourish it." -Napoleon Bonaparte |