LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 03-22-2007, 12:20 PM   #1
macaal
LQ Newbie
 
Registered: Dec 2006
Posts: 18

Rep: Reputation: 0
patch question


hallo everybody...!!!

I've install debian etch at my laptop...sucessfull.!
now I want to upgrate my kernel... for a higher one...!!!
i run the Linux 2.6.18-4-k7 #1 SMP Wed Feb 21 16:48:19 UTC 2007 i686 GNU/Linux
kernel ...
the question is that if I can it patch-it with the patch that the www.kernel.org offers currend patch is the 2.6.20.3 or must I patch it firs with others patches????
 
Old 03-22-2007, 12:44 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
first, WHY do you want to do this? if you have no specific reason to, i'd suggest you should wait until you do have a reason.

you can not patch an existing binary kernel, the patches at kernel.org are to step from the previous release to the next. you personally will probably never have a valid reason to want to do this. i'd advise you stick with standard kernels available via apt.

you're free to compile your own kernels of course, but YMMV.
 
Old 03-22-2007, 01:11 PM   #3
nx5000
Senior Member
 
Registered: Sep 2005
Location: Out
Posts: 3,307

Rep: Reputation: 57
I agree with acid_kewpie, take care it's a big operation.

You should NEVER upgrade a kernel. A good rule is to always keep a rescue one.
So what you can do is to add another one: you can have 2 kernels in /boot and in grub you choose the one you want.

Debian hasn't created any official (==fully tested) binary package yet, but there is an unofficial debian repository which contains the 2.6.20.3 made 4 days ago.


Add this to your repository list (/etc/apt/sources.list)

Then
apt-get update
apt-get install linux-image-2.6.20-1-k7
<this will install the new binary kernel and update grub, and still leave the other one>

Reboot...


edit:
ahhh I just saw you have etch, not sure if it will allow you to do this because it's supposed to be for sid (unstable)

Last edited by nx5000; 03-22-2007 at 01:13 PM.
 
Old 03-22-2007, 01:12 PM   #4
macaal
LQ Newbie
 
Registered: Dec 2006
Posts: 18

Original Poster
Rep: Reputation: 0
reply

thanks, at all i think i have understanding ...

thank you all... hope that some day i can do sooo...free.. what i want!!!

Last edited by macaal; 03-22-2007 at 01:16 PM.
 
Old 03-22-2007, 01:19 PM   #5
nx5000
Senior Member
 
Registered: Sep 2005
Location: Out
Posts: 3,307

Rep: Reputation: 57
Did you try my tip? I have installed a kernel from overthere works like a charm.

edit:
if it doesn't work, try this:
Quote:
apt-get install -t sid linux-image-2.6.20-1-k7

Last edited by nx5000; 03-22-2007 at 01:21 PM.
 
Old 03-22-2007, 01:32 PM   #6
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Linux 11 (Bullseye)
Posts: 3,407

Rep: Reputation: 141Reputation: 141
In addition to the above, I can validate that 2.6.20.3 works just fine with Debian Etch. I got the source from kernel.org and it compiled with no problems, no surprises. One issue I've had with 2.6.20 has been that madwifi wouldn't work with it. But, madwifi 0.9.3 takes care of that problem.

By the way, I've got 8 bootable kernels. I generally don't remove older ones until I'm sure a later kernel won't cause a problem. But, even I admit that this is a few too many. Guess I'll have to remove some of them.
 
Old 03-22-2007, 01:38 PM   #7
nx5000
Senior Member
 
Registered: Sep 2005
Location: Out
Posts: 3,307

Rep: Reputation: 57
Quote:
ls -1 /boot/vm*
vmlinuz-2.6.18-4-686
vmlinuz-2.6.20-1-686
vmlinuz-2.6.20.1+antio+lowlat
vmlinuz-2.6.20.1+antio+nopreempt+300
vmlinuz-2.6.20.1+antio+volontary
vmlinuz-2.6.20.2+ipt+cfq
vmlinuz-2.6.20.3perso
vmlinuz-2.6.20+antio+nopreempt+1000+bootsplash
vmlinuz-2.6.21-rc2+ipt

Hum playing around with IO+scheduler+HZ and an old 2.6.21 rc..
 
Old 03-22-2007, 01:57 PM   #8
macaal
LQ Newbie
 
Registered: Dec 2006
Posts: 18

Original Poster
Rep: Reputation: 0
hey

i've lilo
do this automatic update it too...???
 
Old 03-22-2007, 02:00 PM   #9
nx5000
Senior Member
 
Registered: Sep 2005
Location: Out
Posts: 3,307

Rep: Reputation: 57
Quote:
Originally Posted by macaal
i've lilo
do this automatic update it too...???
Yes, it's designed for grub, zipl, elilo, yaboot, lilo, silo, quik, palo, vmelilo, nettrom, arcboot or delo but I'm using grub so can't tell you.

Last edited by nx5000; 03-22-2007 at 02:02 PM.
 
  


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
patch question inverted.gravity Linux From Scratch 8 10-28-2006 10:41 AM
patch question eagle683 Linux - Newbie 2 06-15-2005 02:16 PM
Yet another Orinoco patch question wheelboy Linux - Wireless Networking 2 05-10-2005 10:16 PM
patch kernel question zuessh Linux - General 16 12-20-2003 08:42 PM
OpenSSH, patch question sopiaz57 Linux - Security 1 11-05-2003 09:26 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

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