PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Serveur - Sécurité et techniques > linux.debian.user > [OT] Kernel Upgrades
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
linux.debian.user debian-user@lists.debian.org.

[OT] Kernel Upgrades

Réponse
 
LinkBack Outils de la discussion
Vieux 05/06/2007, 18h10   #1
André Berger
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut [OT] Kernel Upgrades

Let me give you an example to illustrate what I would like to know:

Given, kernel 2.6.22 was out, and 2.6.21.3 was the latest previous
stable kernel. Is there a patch against 2.6.21.3, for an easy upgrade
to 2.6.22?

Thanks,

-André
  Réponse avec citation
Vieux 05/06/2007, 19h00   #2
Hugo Vanwoerkom
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: [OT] Kernel Upgrades

André Berger wrote:
> Let me give you an example to illustrate what I would like to know:
>
> Given, kernel 2.6.22 was out, and 2.6.21.3 was the latest previous
> stable kernel. Is there a patch against 2.6.21.3, for an easy upgrade
> to 2.6.22?
>


Are you referring to Debian packages or kernels from www.kernel.org?
The latter will publish a patch against 2.6.21 when 2.6.22 goes stable.

I save those patches to disk so it is very easy to generate a new kernel.

Hugo


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
  Réponse avec citation
Vieux 05/06/2007, 19h50   #3
André Berger
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: [OT] Kernel Upgrades

* Hugo Vanwoerkom (2007-06-05):
> André Berger wrote:
> > Let me give you an example to illustrate what I would like to know:
> > Given, kernel 2.6.22 was out, and 2.6.21.3 was the latest previous
> > stable kernel. Is there a patch against 2.6.21.3, for an easy upgrade
> > to 2.6.22?

>
> Are you referring to Debian packages or kernels from www.kernel.org?


Sorry: the kernel.org sources.

> The latter will publish a patch against 2.6.21 when 2.6.22 goes stable.


Could you point me to a URL please? Would I have to remove the
patches 1-3 (in my example) prior to using this patch against 2.6.21?

I've been using the incremental patches from
<http://www.kernel.org/pub/linux/kernel/v2.6/incr/>, but they only
work "within" a release cycle (2.6.21.1-2, for example). Not exactly
what I'm thinking of for my slow box.

-André

--
Our OS who art in CPU
UNIX be thy name
Thy programs run, thy syscalls done
In kernel as it is in user
  Réponse avec citation
Vieux 07/06/2007, 17h10   #4
Hugo Vanwoerkom
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: [OT] Kernel Upgrades

André Berger wrote:
> * Hugo Vanwoerkom (2007-06-05):
>> André Berger wrote:
>>> Let me give you an example to illustrate what I would like to know:
>>> Given, kernel 2.6.22 was out, and 2.6.21.3 was the latest previous
>>> stable kernel. Is there a patch against 2.6.21.3, for an easy upgrade
>>> to 2.6.22?

>> Are you referring to Debian packages or kernels from www.kernel.org?

>
> Sorry: the kernel.org sources.
>
>> The latter will publish a patch against 2.6.21 when 2.6.22 goes stable.

>
> Could you point me to a URL please? Would I have to remove the
> patches 1-3 (in my example) prior to using this patch against 2.6.21?
>
> I've been using the incremental patches from
> <http://www.kernel.org/pub/linux/kernel/v2.6/incr/>, but they only
> work "within" a release cycle (2.6.21.1-2, for example). Not exactly
> what I'm thinking of for my slow box.
>


So here:
http://www.kernel.org/
they now have:
The latest stable version of the Linux kernel is: 2.6.21.3
and that last piece refers to:
http://www.kernel.org/pub/linux/kern...h-2.6.21.3.bz2
which is a patch against the 2.6.21 kernel.
When 2.6.22 goes stable that line will read:
The latest stable version of the Linux kernel is: 2.6.22
and that last piece will refer *probably* to:
http://www.kernel.org/pub/linux/kern...tch-2.6.22.bz2
which *still* is a patch against the 2.6.21 kernel.

If I did not explain right or am wrong, get back please.

Hugo


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
  Réponse avec citation
Vieux 08/06/2007, 17h10   #5
André Berger
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: [OT] Kernel Upgrades

* Hugo Vanwoerkom (2007-06-07):
> André Berger wrote:
> > * Hugo Vanwoerkom (2007-06-05):
> >> André Berger wrote:
> >>> Let me give you an example to illustrate what I would like to know:
> >>> Given, kernel 2.6.22 was out, and 2.6.21.3 was the latest previous
> >>> stable kernel. Is there a patch against 2.6.21.3, for an easy upgrade
> >>> to 2.6.22?
> >> Are you referring to Debian packages or kernels from www.kernel.org?

> > Sorry: the kernel.org sources.
> >> The latter will publish a patch against 2.6.21 when 2.6.22 goes stable.

> > Could you point me to a URL please? Would I have to remove the
> > patches 1-3 (in my example) prior to using this patch against 2.6.21?
> > I've been using the incremental patches from
> > <http://www.kernel.org/pub/linux/kernel/v2.6/incr/>, but they only
> > work "within" a release cycle (2.6.21.1-2, for example). Not exactly
> > what I'm thinking of for my slow box.

>
> So here:
> http://www.kernel.org/
> they now have:
> The latest stable version of the Linux kernel is: 2.6.21.3
> and that last piece refers to:
> http://www.kernel.org/pub/linux/kern...h-2.6.21.3.bz2
> which is a patch against the 2.6.21 kernel.
> When 2.6.22 goes stable that line will read:
> The latest stable version of the Linux kernel is: 2.6.22
> and that last piece will refer *probably* to:
> http://www.kernel.org/pub/linux/kern...tch-2.6.22.bz2
> which *still* is a patch against the 2.6.21 kernel.


The thing is: both patches seem to apply to 2.6.21 not 2.6.21.* (your
ex. 1). So I would have to downgrade to 2.6.21 in order to use any of
these. Right?

-André
  Réponse avec citation
Vieux 08/06/2007, 18h40   #6
Hugo Vanwoerkom
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: [OT] Kernel Upgrades

André Berger wrote:
> * Hugo Vanwoerkom (2007-06-07):
>> André Berger wrote:
>>> * Hugo Vanwoerkom (2007-06-05):
>>>> André Berger wrote:
>>>>> Let me give you an example to illustrate what I would like to know:
>>>>> Given, kernel 2.6.22 was out, and 2.6.21.3 was the latest previous
>>>>> stable kernel. Is there a patch against 2.6.21.3, for an easy upgrade
>>>>> to 2.6.22?
>>>> Are you referring to Debian packages or kernels from www.kernel.org?
>>> Sorry: the kernel.org sources.
>>>> The latter will publish a patch against 2.6.21 when 2.6.22 goes stable.
>>> Could you point me to a URL please? Would I have to remove the
>>> patches 1-3 (in my example) prior to using this patch against 2.6.21?
>>> I've been using the incremental patches from
>>> <http://www.kernel.org/pub/linux/kernel/v2.6/incr/>, but they only
>>> work "within" a release cycle (2.6.21.1-2, for example). Not exactly
>>> what I'm thinking of for my slow box.

>> So here:
>> http://www.kernel.org/
>> they now have:
>> The latest stable version of the Linux kernel is: 2.6.21.3
>> and that last piece refers to:
>> http://www.kernel.org/pub/linux/kern...h-2.6.21.3.bz2
>> which is a patch against the 2.6.21 kernel.
>> When 2.6.22 goes stable that line will read:
>> The latest stable version of the Linux kernel is: 2.6.22
>> and that last piece will refer *probably* to:
>> http://www.kernel.org/pub/linux/kern...tch-2.6.22.bz2
>> which *still* is a patch against the 2.6.21 kernel.

>
> The thing is: both patches seem to apply to 2.6.21 not 2.6.21.* (your
> ex. 1). So I would have to downgrade to 2.6.21 in order to use any of
> these. Right?
>


If you created *once*, and do not have the pieces anymore, a 2.6.21.*,
then yes, you would have to downgrade to 2.6.21 for any of their patches
to apply.

Below is the script that I use to build a kernel, from their patches
since 2.6.9:

#!/bin/bash

set -x
FROMHD=hda6
ROOTDIR=`df / | xargs echo | awk '{ print $8 }' | cut -d / -f 3`
PLACE=/home/hugo/linux-2.6.21-2-build

cd $PLACE
tar -xjvf /hda10/backup.files/linux-2.6.9.tar.bz2
cd $PLACE/linux-2.6.9
patch -p1 < /hda10/backup.files/patch-2.6.10
cd $PLACE
mv $PLACE/linux-2.6.9 $PLACE/linux-2.6.10
cd $PLACE/linux-2.6.10
patch -p1 < /hda10/backup.files/patch-2.6.11
cd $PLACE
mv $PLACE/linux-2.6.10 $PLACE/linux-2.6.11
cd $PLACE/linux-2.6.11
patch -p1 < /hda10/backup.files/patch-2.6.12
cd $PLACE
mv $PLACE/linux-2.6.11 $PLACE/linux-2.6.12
cd $PLACE/linux-2.6.12
patch -p1 < /hda10/backup.files/patch-2.6.13
cd $PLACE
mv $PLACE/linux-2.6.12 $PLACE/linux-2.6.13
cd $PLACE/linux-2.6.13
patch -p1 < /hda10/backup.files/patch-2.6.14
cd $PLACE
mv $PLACE/linux-2.6.13 $PLACE/linux-2.6.14
cd $PLACE/linux-2.6.14
patch -p1 < /hda10/backup.files/patch-2.6.15
cd $PLACE
mv $PLACE/linux-2.6.14 $PLACE/linux-2.6.15
cd $PLACE/linux-2.6.15
patch -p1 < /hda10/backup.files/patch-2.6.16
cd $PLACE
mv $PLACE/linux-2.6.15 $PLACE/linux-2.6.16
cd $PLACE/linux-2.6.16
patch -p1 < /hda10/backup.files/patch-2.6.17
cd $PLACE
mv $PLACE/linux-2.6.16 $PLACE/linux-2.6.17
cd $PLACE/linux-2.6.17
patch -p1 < /hda10/backup.files/patch-2.6.18
cd $PLACE
mv $PLACE/linux-2.6.17 $PLACE/linux-2.6.18
cd $PLACE/linux-2.6.18
patch -p1 < /hda10/backup.files/patch-2.6.19
cd $PLACE
mv $PLACE/linux-2.6.18 $PLACE/linux-2.6.19
cd $PLACE/linux-2.6.19
patch -p1 < /hda10/backup.files/patch-2.6.20
cd $PLACE
mv $PLACE/linux-2.6.19 $PLACE/linux-2.6.20
cd $PLACE/linux-2.6.20
patch -p1 < /hda10/backup.files/patch-2.6.21

cd $PLACE
mv $PLACE/linux-2.6.20 $PLACE/linux-2.6.21
cd $PLACE/linux-2.6.21

exit





























--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 05h47.


Édité par : vBulletin®
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,14642 seconds with 14 queries