What are kernel patches for?

2009-06-23 Thread lee
Hi,

what are kernel patches for when they cannot be applied? I'm getting:


l...@cat:~/inst/KERNEL/linux-2.6.29.4$ patch -p1  patch-2.6.29.5 
patching file Documentation/filesystems/Locking
Reversed (or previously applied) patch detected!  Assume -R? [n]


I haven't applied a patch previously, and I guess that the creator of
the patch didn't confuse the directories. I used to just download a
new kernel when I wanted to update, since there were usually a number
of versions in between, but in this case, there's only 2.6.29.5 and
then 2.6.30, so I wanted to apply the patches. So how do I apply these
patches?

2.6.29.4 sometimes seems to lock up, i. e. it seems that as soon as
disk access is involved, whatever tries to access the disk just
freezes. When that happens, I can only press the reset button. Maybe
that's fixed now.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: What are kernel patches for?

2009-06-23 Thread Kumar Appaiah
On Tue, Jun 23, 2009 at 12:41:45PM -0600, lee wrote:
 Hi,
 
 what are kernel patches for when they cannot be applied? I'm getting:
 
 
 l...@cat:~/inst/KERNEL/linux-2.6.29.4$ patch -p1  patch-2.6.29.5 
 patching file Documentation/filesystems/Locking
 Reversed (or previously applied) patch detected!  Assume -R? [n]

I believe that the patch-2.6.29.x applies against the tree of 2.6.29,
which is why some hunks would already be present if you try to apply
it against 2.6.29.4.

The easiest solution is to get the full 2.6.29.5 tree, or get the
2.6.29 tarball and then apply this patch. Someone correct me if I am
wrong.

Thanks.

Kumar


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: What are kernel patches for?

2009-06-23 Thread lee
On Tue, Jun 23, 2009 at 01:44:21PM -0500, Kumar Appaiah wrote:
 On Tue, Jun 23, 2009 at 12:41:45PM -0600, lee wrote:
  Hi,
  
  what are kernel patches for when they cannot be applied? I'm getting:
  
  
  l...@cat:~/inst/KERNEL/linux-2.6.29.4$ patch -p1  patch-2.6.29.5 
  patching file Documentation/filesystems/Locking
  Reversed (or previously applied) patch detected!  Assume -R? [n]
 
 I believe that the patch-2.6.29.x applies against the tree of 2.6.29,
 which is why some hunks would already be present if you try to apply
 it against 2.6.29.4.
 
 The easiest solution is to get the full 2.6.29.5 tree, or get the
 2.6.29 tarball and then apply this patch. Someone correct me if I am
 wrong.

My understanding is that patch-2.6.29.5 is supposed to patch (the full
source tree of) 2.6.29.4 to kernel version 2.6.29.5, the idea being
that it saves you from having to download the current full source
tree. Isn't that so? If I need to download the full source again, I'd
download 2.6.30 and won't need to patch anything.

If you're right and some things that would be patched are already
present in their patched form, why isn't there an option to just skip
the parts that are already present and don't need to be patched?

The reason I want to patch this time is that don't want to go through
all the configuration again but go with what I have and only
(hopefully) get the freezing problem fixed with the new version. And I
don't trust make oldconfig or something --- it might apply the
configuration, but I'd still have to go through and check.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: What are kernel patches for?

2009-06-23 Thread Kumar Appaiah
On Tue, Jun 23, 2009 at 01:30:43PM -0600, lee wrote:
  I believe that the patch-2.6.29.x applies against the tree of 2.6.29,
  which is why some hunks would already be present if you try to apply
  it against 2.6.29.4.
  
  The easiest solution is to get the full 2.6.29.5 tree, or get the
  2.6.29 tarball and then apply this patch. Someone correct me if I am
  wrong.
 
 My understanding is that patch-2.6.29.5 is supposed to patch (the full
 source tree of) 2.6.29.4 to kernel version 2.6.29.5, the idea being
 that it saves you from having to download the current full source
 tree. Isn't that so? If I need to download the full source again, I'd
 download 2.6.30 and won't need to patch anything.
 
 If you're right and some things that would be patched are already
 present in their patched form, why isn't there an option to just skip
 the parts that are already present and don't need to be patched?

Look at the alternatives to patch section here. Specifically, the
interdiff part:

http://www.mjmwired.net/kernel/Documentation/applying-patches.txt

That should handle your problem.

HTH.

Kumar


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: What are kernel patches for?

2009-06-23 Thread Sven Joachim
On 2009-06-23 21:30 +0200, lee wrote:

 On Tue, Jun 23, 2009 at 01:44:21PM -0500, Kumar Appaiah wrote:
 
 I believe that the patch-2.6.29.x applies against the tree of 2.6.29,
 which is why some hunks would already be present if you try to apply
 it against 2.6.29.4.
 
 The easiest solution is to get the full 2.6.29.5 tree, or get the
 2.6.29 tarball and then apply this patch. Someone correct me if I am
 wrong.

 My understanding is that patch-2.6.29.5 is supposed to patch (the full
 source tree of) 2.6.29.4 to kernel version 2.6.29.5, the idea being
 that it saves you from having to download the current full source
 tree. Isn't that so?

No, it is as Kumar said. And you don't have to download the full source
if you have 2.6.29 already.  With your proposal, you would need 2.6.29,
_every_ patch-2.6.29.y and apply them consecutively -- this becomes
rather tedious if y is large.

 If I need to download the full source again, I'd
 download 2.6.30 and won't need to patch anything.

I always download linux-2.6.x.tar.bz2 and patch-2.6.x.y.bz2.

 The reason I want to patch this time is that don't want to go through
 all the configuration again but go with what I have and only
 (hopefully) get the freezing problem fixed with the new version. And I
 don't trust make oldconfig or something --- it might apply the
 configuration, but I'd still have to go through and check.

Actually, make oldconfig is the best you can do to check every new
kernel option.  It takes a bit of time if going from 2.6.x to 2.6.x+1,
but for most questions asked you can just press Enter.

Sven


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: What are kernel patches for?

2009-06-23 Thread lee
On Tue, Jun 23, 2009 at 02:53:25PM -0500, Kumar Appaiah wrote:
 On Tue, Jun 23, 2009 at 01:30:43PM -0600, lee wrote:
   I believe that the patch-2.6.29.x applies against the tree of 2.6.29,
   which is why some hunks would already be present if you try to apply
   it against 2.6.29.4.
   
   The easiest solution is to get the full 2.6.29.5 tree, or get the
   2.6.29 tarball and then apply this patch. Someone correct me if I am
   wrong.
  
  My understanding is that patch-2.6.29.5 is supposed to patch (the full
  source tree of) 2.6.29.4 to kernel version 2.6.29.5, the idea being
  that it saves you from having to download the current full source
  tree. Isn't that so? If I need to download the full source again, I'd
  download 2.6.30 and won't need to patch anything.
  
  If you're right and some things that would be patched are already
  present in their patched form, why isn't there an option to just skip
  the parts that are already present and don't need to be patched?
 
 Look at the alternatives to patch section here. Specifically, the
 interdiff part:
 
 http://www.mjmwired.net/kernel/Documentation/applying-patches.txt
 
 That should handle your problem.

Thanks, I've seen that and it told me what the error message I got can
mean, but it doesn't solve the problem:


 157 If you get Reversed (or previously applied) patch detected!
Assume -R? [n] 158 then patch detected that the change contained in
the patch seems to have 159 already been made.  160 If you actually
did apply this patch previously and you just re-applied it 161 in
error, then just say [n]o and abort this patch. If you applied this
patch 162 previously and actually intended to revert it, but forgot to
specify -R, 163 then you can say [y]es here to make patch revert it
for you.  164 This can also happen if the creator of the patch
reversed the source and 165 destination directories when creating the
patch, and in that case reverting 166 the patch will in fact apply it.


So am I to assume that the creator of the patch reversed the
directories and that the patch is useless to me? It's very well
possible, but it doesn't seem likely.



189  You can use the `interdiff' program 
(http://cyberelk.net/tim/patchutils/) to
190 generate a patch representing the differences between two patches and 
then
191 apply the result.


Generating a patch representing the differences between two patches is
not at all what I'm trying to do.

I'm not sure if I should try one of the other alternatives. That the
default way of applying the patch yields unexpected results may
indicate that there is something wrong with either the patch or the
source tree to be patched. In that case, it is not possible to achieve
the desired results simply by using a different program to operate on
the very same files unless the desired results would be generated by
chance. That the desired results would be generated by chance seems
even more unlikely than the creator of the patch having confused the
directories.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: What are kernel patches for?

2009-06-23 Thread lee
On Tue, Jun 23, 2009 at 10:09:22PM +0200, Sven Joachim wrote:
 On 2009-06-23 21:30 +0200, lee wrote:
 
  On Tue, Jun 23, 2009 at 01:44:21PM -0500, Kumar Appaiah wrote:
  
  I believe that the patch-2.6.29.x applies against the tree of 2.6.29,
  which is why some hunks would already be present if you try to apply
  it against 2.6.29.4.
  
  The easiest solution is to get the full 2.6.29.5 tree, or get the
  2.6.29 tarball and then apply this patch. Someone correct me if I am
  wrong.
 
  My understanding is that patch-2.6.29.5 is supposed to patch (the full
  source tree of) 2.6.29.4 to kernel version 2.6.29.5, the idea being
  that it saves you from having to download the current full source
  tree. Isn't that so?
 
 No, it is as Kumar said. And you don't have to download the full source
 if you have 2.6.29 already.

Aha! Then this is the problem, I don't have 2.6.x, only a Debian
kernel 2.6.24 and a standard kernel 2.6.29.4. So I would have to
download 2.6.29 and then apply the patch-2.6.30?

I'll try that; I don't mind downloading, only starting from scratch
with a new configuration so shortly after I switched to 2.6.29.4. I'll
apply 2.6.30 and use make oldconfig and see what happens ...

 With your proposal, you would need 2.6.29, _every_ patch-2.6.29.y
 and apply them consecutively -- this becomes rather tedious if y is
 large.

With the way I was thinking it works, you would already have a 2.6.29
or a 2.6.29.x kernel and then apply one patch after another to get to
the .x you want. Like in my case, I would start with the 2.6.29.4 I
already have and apply 2.6.29.5 and 2.6.30: only two patches.

How many patches you would have to apply would only depend on how
large the gap is --- and if it was a large gap like from 2.6.24 to
2.6.30, I'd download the full 2.6.30 anyway and it won't matter.

  If I need to download the full source again, I'd
  download 2.6.30 and won't need to patch anything.
 
 I always download linux-2.6.x.tar.bz2 and patch-2.6.x.y.bz2.

That seems to be the better way since I could keep applying the
patches from there ...

 Actually, make oldconfig is the best you can do to check every new
 kernel option.  It takes a bit of time if going from 2.6.x to 2.6.x+1,
 but for most questions asked you can just press Enter.

Ok, let's hope it works just fine :)


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: What are kernel patches for?

2009-06-23 Thread lee
On Tue, Jun 23, 2009 at 10:09:22PM +0200, Sven Joachim wrote:
 No, it is as Kumar said. And you don't have to download the full source
 if you have 2.6.29 already.  With your proposal, you would need 2.6.29,
 _every_ patch-2.6.29.y and apply them consecutively -- this becomes
 rather tedious if y is large.

PS:

Now I'm confused. Which source am I supposed to patch to get 2.6.30?
2.6.0? 2.6.29? Which source will I be supposed to patch if there is a
2.6.30.1 at some time, the 2.6.29 or the 2.6.30?

You can also download a patch-2.6.0 ... So how do you know to what
version a patch can be applied if patches aren't supposed to be
applied to the previous version?

Maybe I should download 2.6.0 and apply patch-2.6.30 to that? But then
again, what if they make a 2.6.30.1? Apply that to 2.6.0 or to 2.6.30?


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: What are kernel patches for?

2009-06-23 Thread Kumar Appaiah
On Tue, Jun 23, 2009 at 04:09:51PM -0600, lee wrote:
  Look at the alternatives to patch section here. Specifically, the
  interdiff part:
  
  http://www.mjmwired.net/kernel/Documentation/applying-patches.txt
  
  That should handle your problem.
 
 Thanks, I've seen that and it told me what the error message I got can
 mean, but it doesn't solve the problem:

[snip]

 
 189You can use the `interdiff' program 
 (http://cyberelk.net/tim/patchutils/) to
 190   generate a patch representing the differences between two patches and 
 then
 191   apply the result.
 
 
 Generating a patch representing the differences between two patches is
 not at all what I'm trying to do.

Er, it precisely _is_ what you want to do. You have 2.6.29.4, and the
patch for 2.6.29.5. What you can do is to download the patch which
takes 2.6.29 to 2.6.29.4 and the patch which takes 2.6.29 to 2.6.29.5,
and apply the _difference_ between them to your tree consisting of
2.6.29.4.

I hope it's clear, or I can try to explain it again.

Kumar
-- 
Kumar Appaiah


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: What are kernel patches for?

2009-06-23 Thread Andreas Juch
Am Tue, 23 Jun 2009 16:31:51 -0600
schrieb lee l...@yun.yagibdah.de:

 On Tue, Jun 23, 2009 at 10:09:22PM +0200, Sven Joachim wrote:
  No, it is as Kumar said. And you don't have to download the full
  source if you have 2.6.29 already.  With your proposal, you would
  need 2.6.29, _every_ patch-2.6.29.y and apply them consecutively --
  this becomes rather tedious if y is large.
 
 PS:
 
 Now I'm confused. Which source am I supposed to patch to get 2.6.30?
 2.6.0? 2.6.29? Which source will I be supposed to patch if there is a
 2.6.30.1 at some time, the 2.6.29 or the 2.6.30?

You can download 2.6.30 directly:
http://kernel.org/pub/linux/kernel/v2.6/linux-2.6.30.tar.bz2

If you want to patch your 2.6.29 sources, use this:
http://kernel.org/pub/linux/kernel/v2.6/patch-2.6.30.bz2

 You can also download a patch-2.6.0 ... So how do you know to what
 version a patch can be applied if patches aren't supposed to be
 applied to the previous version?

The x.y.z.a patches are applied to the previous x.y.z sources. The only
difference are new x.y.z patches. They are applied to x.y.z-1 sources.

 Maybe I should download 2.6.0 and apply patch-2.6.30 to that? But then
 again, what if they make a 2.6.30.1? Apply that to 2.6.0 or to 2.6.30?

No. Either patch 2.6.29 with patch-2.6.30 or directly download 2.6.30.
On the kernel.org website you have to click the 'F' link to get the
full sources instead of patches. If they make 2.6.30.1 (they probably
will), you need to patch 2.6.30 sources with the 2.6.30.1 patch. It's
very easy...

Andreas


signature.asc
Description: PGP signature


Re: where are the debian kernel patches?

2007-04-28 Thread Hugo Vanwoerkom

Joey Hess wrote:

Hugo Vanwoerkom wrote:

Installing the source package for Sid linux-2.6 gets you
linux-2.6_2.6.20-3.dsc
linux-2.6_2.6.20.orig.tar.gz
linux-2.6_2.6.20-3.diff.gz

Does that mean that the original is 2.6.20.3?


No, the -3 is the number of uploads of the debian package of 2.6.20.
2.6.20-3 actually contains upstream version 2.6.20.7 as you can see in
the changelog.


And are the patches all in linux-2.6_2.6.20-3.diff.gz?


Well, it contains them and when applied creates files in debian/patches/
containing the individual patches.


Are those patches better described anywhere?


Most of the individual patches contain a comment at the top of the file
and have some sort of informative filename. I would read the changelog
for more details though.



Thanks Joey

Hugo


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




where are the debian kernel patches?

2007-04-27 Thread Hugo Vanwoerkom

Hi,

Installing the source package for Sid linux-2.6 gets you
linux-2.6_2.6.20-3.dsc
linux-2.6_2.6.20.orig.tar.gz
linux-2.6_2.6.20-3.diff.gz

Does that mean that the original is 2.6.20.3?
And are the patches all in linux-2.6_2.6.20-3.diff.gz?

Are those patches better described anywhere?

So you would get the same effect by generating 2.6.20.3 yourself and 
applying linux-2.6_2.6.20-3.diff?


Hugo


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: where are the debian kernel patches?

2007-04-27 Thread Joey Hess
Hugo Vanwoerkom wrote:
 Installing the source package for Sid linux-2.6 gets you
 linux-2.6_2.6.20-3.dsc
 linux-2.6_2.6.20.orig.tar.gz
 linux-2.6_2.6.20-3.diff.gz
 
 Does that mean that the original is 2.6.20.3?

No, the -3 is the number of uploads of the debian package of 2.6.20.
2.6.20-3 actually contains upstream version 2.6.20.7 as you can see in
the changelog.

 And are the patches all in linux-2.6_2.6.20-3.diff.gz?

Well, it contains them and when applied creates files in debian/patches/
containing the individual patches.

 Are those patches better described anywhere?

Most of the individual patches contain a comment at the top of the file
and have some sort of informative filename. I would read the changelog
for more details though.

-- 
see shy jo


signature.asc
Description: Digital signature


[Resolu] Help: c'est quoi ce /usr/src/kernel-patches?

2005-09-11 Thread Gurvan Huiban
On Sunday 11 September 2005 06:58, Philippe Marzouk wrote:
  Si j'ai bien compris, les sources du noyau n'arrivent plus patchees a
  la sauce Debian, mais en kit (le noyau (presque) original + un gros
  paquet de patch).
 
  Les patches sont appliques avant compilation par make-kpkg et retires
  lors d'un make-kpkg clean.

 Le paquet linux-source-2.6.12 contient les sources déjà patchées comme
 c'était le cas avec le paquet kernel-source pour les noyaux précédents.

Tiens, oui. Pour le coup je me sens bete...

Cela dit, je trouve la doc moyennement bien faite: la doc de 
linux-patch-debian-2.6.12 renvoit vers l'option --added-patches de make-kpkg; 
qui applique a la volee des patches, et tout et tout.

Bref, si j'ai bien compris, pour les gens comme moi, pas la peine d'installer 
linux-tree-2.6.xx (qui vient avec linux-patch-debian), mais on peut se 
contenter de linux-source-2.6.xx

Merci!

-- 

Gurvan Huiban

  Let's go party! Coffee for everyone!!!
 (self-citation)



Re: [Resolu] Help: c'est quoi ce /usr/src/kernel-patches?

2005-09-11 Thread Jean-Luc Coulon (f5ibh)

Le 11.09.2005 15:35:13, Gurvan Huiban a écrit :

On Sunday 11 September 2005 06:58, Philippe Marzouk wrote:
  Si j'ai bien compris, les sources du noyau n'arrivent plus
patchees a
  la sauce Debian, mais en kit (le noyau (presque) original + un
gros
  paquet de patch).
 
  Les patches sont appliques avant compilation par make-kpkg et
retires
  lors d'un make-kpkg clean.

 Le paquet linux-source-2.6.12 contient les sources déjà patchées
comme
 c'était le cas avec le paquet kernel-source pour les noyaux
précédents.

Tiens, oui. Pour le coup je me sens bete...

Cela dit, je trouve la doc moyennement bien faite: la doc de
linux-patch-debian-2.6.12 renvoit vers l'option --added-patches de
make-kpkg;
qui applique a la volee des patches, et tout et tout.

Bref, si j'ai bien compris, pour les gens comme moi, pas la peine
d'installer
linux-tree-2.6.xx (qui vient avec linux-patch-debian), mais on peut se

contenter de linux-source-2.6.xx


Si on veut le noyau tel que le conçoit Debian, oui.
Mais il se peut que pour des raisons particulières, vous désiriez  
ajouter/retracher des patches. Dans ce cas, il paut être plus facile de  
modifier la liste des patches et de partir d'un linux-tree plutôt que  
de dépatcher [tm] un noyau Debian 


Bref, on vous laisse le choix. linux-source étant *la* solution pour  
99% des gens (IMHO)




Merci!


J-L


pgpDtd8GmNN3i.pgp
Description: PGP signature


Help: c'est quoi ce /usr/src/kernel-patches?

2005-09-10 Thread Gurvan Huiban
Bonjour la liste

voulant faire d'une pierre moultes coups (ocuper mon samedi soir (il y a 
vraiment des gens bizarres ici!), passer a un noyau qui compile avec gcc-4, 
etc.), je me suis mis en tete de passer au kernel 2.6.12. Je precise que, 
adepte du travail artisanal, je compile moi-meme mes noyaux. Donc, je 
telecharge le linux-tree-2.6.12.

Et la, c'est le drame.

Si j'ai bien compris, les sources du noyau n'arrivent plus patchees a la sauce 
Debian, mais en kit (le noyau (presque) original + un gros paquet de patch). 
Les patches sont appliques avant compilation par make-kpkg et retires lors 
d'un make-kpkg clean.

Je suis perplexe.

Possedant un portable, j'ai pris l'habitude d'appliquer quelques tonnes de 
patches a mon noyau avant compilation. Je procedais ainsi: telechargement des 
sources Debian, applicage de patches supplementaires, compilation, 
installation, joie.

Comment je fais pour appliquer (et ne serait-ce que verifier si je peux 
appliquer) mes millions de patches supplementaires? Des fois, ces patches me 
donnent quelques options supplementaires dans la configuration du noyau: 
comment je fais pour selectionner ces options? Pour les gens qui (comme moi) 
affinent leur configuration de noyau (ou corrigent les erreurs), n'est-ce 
point un peu du gachis que d'appliquer/retirer n fois les patches aux 
sources?

En bref parce que je m'apercois que je commence a etre trop long:
- comment je fais pour generer rapidement les sources patchees a la sauce 
debian? J'ai bien tente un:
ALL_PATCH_DIR=/usr/src/kernel-patches/all/2.6.12/ ; make-kpkg  --added_patches 
debian debian 
mais ca n'a pas marche

- Vous en pensez quoi, vous, de cette nouvelle organisation?

Merci!
-- 

Gurvan Huiban

  Let's go party! Coffee for everyone!!!
 (self-citation)


-- 
Pensez � lire la FAQ de la liste avant de poser une question :
http://wiki.debian.net/?DebianFrench

Pensez � rajouter le mot ``spam'' dans vos champs From et Reply-To:

To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Help: c'est quoi ce /usr/src/kernel-patches?

2005-09-10 Thread Philippe Marzouk
On Sun, Sep 11, 2005 at 03:43:23AM +0200, Gurvan Huiban wrote:
 Bonjour la liste
 
 Si j'ai bien compris, les sources du noyau n'arrivent plus patchees a
 la sauce Debian, mais en kit (le noyau (presque) original + un gros
 paquet de patch). 

 Les patches sont appliques avant compilation par make-kpkg et retires lors 
 d'un make-kpkg clean.
 

Le paquet linux-source-2.6.12 contient les sources déjà patchées comme
c'était le cas avec le paquet kernel-source pour les noyaux précédents.

Philippe


-- 
Pensez à lire la FAQ de la liste avant de poser une question :
http://wiki.debian.net/?DebianFrench

Pensez à rajouter le mot ``spam'' dans vos champs From et Reply-To:

To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Debian Kernel-Patches auf vanilla kernel anweden

2005-02-01 Thread Michelle Konzack
Am 2005-02-01 01:49:47, schrieb Sven Hartge:
 Michelle Konzack [EMAIL PROTECTED] wrote:

  Einfacher ist es, sich den Sourcecode des Kernel-Moduls zu beschaffen
  und dann als externes modul des Debian-Kernels zu kompilieren.
 
 Leider ist es mir nicht vergönnt, mit Modulen arbyten zu können (nicht
 fragen).

Dann kompiliere ihn doch IN den Kernel.
Mach ich ja auch...

Seit ein paar Wochen habe ich nun einen 3w9xxx im kernel...
Dank eines andern Linuxers, der mir ermöglicht hatte mit
nem Mini-ISO das V...e System zu booten.

 S°

Greetings
Michelle

-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/ 
Michelle Konzack   Apt. 917  ICQ #328449886
   50, rue de Soultz MSM LinuxMichi
0033/3/8845235667100 Strasbourg/France   IRC #Debian (irc.icq.com)


signature.pgp
Description: Digital signature


Debian Kernel-Patches auf vanilla kernel anweden

2005-01-31 Thread Sven Hartge
Hallo.

Ich bin in der wenig beneidenswerten Situation, einen aktuellen 2.6.10
für ein System bauen zu müssen, das den acenic-Treiber für
Tigon-2-basierte Netzkarten enthalten muss.

Dieser ist im kernel-source-2.6.10 wg. des Firmware-BLOBs leider nicht
enthalten.

Allerdings würde ich gerne die von den Debianern geleistete Vorarbeit in
Form ihrer Kernel-Patches für 2.6.10 benutzen, so daß ich mir den Siff
nicht einzeln aus LKML und Co. zusammen suchen muss.

Über einen kurzen Hinweis bzgl. einer möglichweise optimaleren
Vorgehensweise, als alles manuell zu applien wäre ich mehr als erfreut
(und sicher nicht nur ich, ich weiss, das einige Leute auch in dieser
bzw. einer ähnlichen Lage stecken).

S°

-- 
BOFH excuse #58:

high pressure system failure


-- 
Haeufig gestellte Fragen und Antworten (FAQ): 
http://www.de.debian.org/debian-user-german-FAQ/

Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)



Re: Debian Kernel-Patches auf vanilla kernel anweden

2005-01-31 Thread Michelle Konzack
Am 2005-02-01 00:07:05, schrieb Sven Hartge:
 Hallo.

 Allerdings würde ich gerne die von den Debianern geleistete Vorarbeit in
 Form ihrer Kernel-Patches für 2.6.10 benutzen, so daß ich mir den Siff
 nicht einzeln aus LKML und Co. zusammen suchen muss.

Ich denke, das wird nicht so einfach sein.

Einfacher ist es, sich den Sourcecode des Kernel-Moduls zu beschaffen
und dann als externes modul des Debian-Kernels zu kompilieren.

 S°

Greetings
Michelle

-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/ 
Michelle Konzack   Apt. 917  ICQ #328449886
   50, rue de Soultz MSM LinuxMichi
0033/3/8845235667100 Strasbourg/France   IRC #Debian (irc.icq.com)


signature.pgp
Description: Digital signature


Re: Debian Kernel-Patches auf vanilla kernel anweden

2005-01-31 Thread Sven Hartge
Michelle Konzack [EMAIL PROTECTED] wrote:

 Allerdings würde ich gerne die von den Debianern geleistete Vorarbeit
 in Form ihrer Kernel-Patches für 2.6.10 benutzen, so daß ich mir den
 Siff nicht einzeln aus LKML und Co. zusammen suchen muss.

 Ich denke, das wird nicht so einfach sein.

 Einfacher ist es, sich den Sourcecode des Kernel-Moduls zu beschaffen
 und dann als externes modul des Debian-Kernels zu kompilieren.

Leider ist es mir nicht vergönnt, mit Modulen arbyten zu können (nicht
fragen).

S°

-- 
BOFH excuse #144:

Too few computrons available.


-- 
Haeufig gestellte Fragen und Antworten (FAQ): 
http://www.de.debian.org/debian-user-german-FAQ/

Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)



which kernel patches should I apply while compiling Debian kernels?

2004-11-20 Thread H. S.
This may sound like a dumb question but should one apply debian kernel 
patches to a Debian source kernel before compiling one? e.g. I am right 
now working on kernel source of 2.6.9. Are the patches included in this 
source or should I select and install the ones listed by:
$ COLUMNS=160 dpkg -l kernel-patch*

specially the ones which are kernel-patch-string?
And how is kernel-patch-debian-2.6.9 related to kernel-source-2.6.9?
thanks,
-HS
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: which kernel patches should I apply while compiling Debian kernels?

2004-11-20 Thread Ron Johnson
On Sat, 2004-11-20 at 11:47 -0500, H. S. wrote:
 This may sound like a dumb question but should one apply debian kernel 
 patches to a Debian source kernel before compiling one? e.g. I am right 
 now working on kernel source of 2.6.9. Are the patches included in this 
 source or should I select and install the ones listed by:
 $ COLUMNS=160 dpkg -l kernel-patch*
 
 specially the ones which are kernel-patch-string?

kernel-source-2.6.9 already has the patches applied.

 And how is kernel-patch-debian-2.6.9 related to kernel-source-2.6.9?
 
 thanks,
 -HS
 
 

-- 
-
Ron Johnson, Jr.
Jefferson, LA USA
PGP Key ID 8834C06B

It is useless for the sheep to pass resolutions in favor of
vegetarianism, while the wolf remains of a different opinion.
Dean William R Inge



signature.asc
Description: This is a digitally signed message part


Re: which kernel patches should I apply while compiling Debian kernels?

2004-11-20 Thread Hugo Vanwoerkom
H. S. wrote:
This may sound like a dumb question but should one apply debian kernel 
patches to a Debian source kernel before compiling one? e.g. I am right 
now working on kernel source of 2.6.9. Are the patches included in this 
source or should I select and install the ones listed by:
$ COLUMNS=160 dpkg -l kernel-patch*

specially the ones which are kernel-patch-string?
And how is kernel-patch-debian-2.6.9 related to kernel-source-2.6.9?
thanks,
-HS

And what exactly do the patches do?
E.g: SG_IO-safe-commands-1: READ_BUFFER_CAPACITY as read-ok command
H.
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: which kernel patches should I apply while compiling Debian kernels?

2004-11-20 Thread Hugo Vanwoerkom
H. S. wrote:
This may sound like a dumb question but should one apply debian kernel 
patches to a Debian source kernel before compiling one? e.g. I am right 
now working on kernel source of 2.6.9. Are the patches included in this 
source or should I select and install the ones listed by:
$ COLUMNS=160 dpkg -l kernel-patch*

specially the ones which are kernel-patch-string?
And how is kernel-patch-debian-2.6.9 related to kernel-source-2.6.9?
thanks,
-HS

I have the list of Debian patches and descriptions (if present) attached.
I stand to be corrected: attachment doesn't work.
So...
It is also here: http://esquipulas.homeunix.com/index.php?p=55
But the server may be down.
If you email me I can send it to you. I unzipped all the patches and 
grepped the description.

H.
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Kernel-Patches für Notebook Kernel

2004-08-30 Thread Tobias Kraus
Am Montag, 30. August 2004 19:52 schrieb imre-news:
Hallo Imre,
 Ich verwende den 2.6.7 kernel mit einen Patch für den Dothan
 Centrino. Habe unter http://tuxmobil.org/centrino.html nachgelesen.
 Also ich habe cpufreqd nach der normalen installation nicht zum
 laufenbekommen,erst nachdem ich speedstep-centrino.c ersetzt hab

Aahhh ja, hab offensichtlich noch einen Banias. 
Deshalb...

 und einen neuen kernel gemacht hab.
 ACPI wird bei mir schön geladen, kann aber noch nicht so viel
 darüber sagen weil ich zZ ziemlich viel zu tun hab. Werde noch das
 acpi4asus ausprobieren um zu sehen wie ich das am besten nutzen
 kann.

Hab einen IBM mit einer kaputten DSDT. Aber das betrifft Dich ja 
nicht...


 Haufenweise Info für Notebooks gibt es unter tuxmobil.org

kennn ich, trotzdem danke!

 Es gibt auch eine grafische ausgabe für gnome und Co.
 http://acpiw.sourceforge.net/
 Für wmaker gibt es auch was, fällt mir jetzt der name aber nicht
 ein.

 Grüsse Imre

Gruß, Tobias

-- 
Diese Email-Adresse dient nur als Spam-Ziel.
Nachrichten an diese Adresse werden nicht gelesen!

This email address is a spam-tarpit.
Mails sent to this address are not read!



Kernel-Patches für Notebook Kernel

2004-08-28 Thread imre-news
Hallo!

Seit ein paar Tagen spiele ich hier mit einen Asus S5600N rum. Debian
Netinstall erkennt fast alles. Nach angepasster Kernel klappt es sogar mit
dem Touchpad und cpufreqd. Jetzt wollte ich einen endgültigen Kernel machen
und ich frage mich welche Kernel-Patch ich einbauen soll. Mir sind die
Energiesparfunktionen wichtig. Da ich den neuen Centrino hab, weiss ich,
dass ich den speedstep-centrino.c unter
src/arch/i386/kernel/cpu/cpufreq/speedstep-centrion.c ersetzen muss.
Ausserden gibt es noch ein speedstep.patch.
Lässt ich das eine Button links oben auch irgendwie einsetzen um zwischen
CPU Performance zu wächseln??
Für ein paar tipps danke ich euch.

Grüsse Imre



-- 
Haeufig gestellte Fragen und Antworten (FAQ): 
http://www.de.debian.org/debian-user-german-FAQ/

Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)



Kernel patches??

2004-06-11 Thread Ishwar Rattan

How do the patches work? If I want to apply patch-2.6.7-rc3.gz, does
it apply to kernel-2.6.6 sources directly or all the previous patches
have to applied first? (Is the 2.6.7-rc3 patch cumulative??)

-ishwar


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Kernel patches??

2004-06-11 Thread Florian Ernst
Hello!

Please don't just reply to a previous posting in order to start a new
thread. Instead, compose a new mail inserting the list address.

On Fri, Jun 11, 2004 at 01:56:01PM -0400, Ishwar Rattan wrote:
 How do the patches work? If I want to apply patch-2.6.7-rc3.gz, does
 it apply to kernel-2.6.6 sources directly or all the previous patches
 have to applied first? (Is the 2.6.7-rc3 patch cumulative??)

This file looks like you have downloaded it from kernel.org. Extensive
documentation can be found there, i.e. it says about your type of
patch (kernel prepatch):
Prepatches are the equivalent to alpha releases for Linux; they live
in the testing directories in the archives. They should be applied
using the patch(1) utility to the source code of the previous full
release.

HTH,
Flo


signature.asc
Description: Digital signature


Applying Kernel patches

2004-03-07 Thread Bill Moseley
I've patched my kernel.org kernel from one version to the next, but now
I have one machine running 2.4.21 that I'd like to upgrade.

Is there a way to get a patch generated (patch-o-matic kind of thing) to
patch from 2.4.21 to 2.4.25?

I also have machines running 2.4.24.

Or is it time to move to 2.6.3?  I have not be paying much attention to
all the 2.6 posts on debian-user, but I guess I need new modutils
package, right?  Is there a debian 2.6 upgrade primer around?

Thanks,



-- 
Bill Moseley
[EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Applying Kernel patches

2004-03-07 Thread Pigeon
On Sun, Mar 07, 2004 at 11:57:57AM -0800, Bill Moseley wrote:
 I've patched my kernel.org kernel from one version to the next, but now
 I have one machine running 2.4.21 that I'd like to upgrade.
 
 Is there a way to get a patch generated (patch-o-matic kind of thing) to
 patch from 2.4.21 to 2.4.25?

I'm not going to say flat out that it doesn't exist, but I've never
heard of it. But I don't think there's anything to stop you getting
the four patches and applying them in succession to the 2.4.21 source
to get you up to 2.4.25.

 I also have machines running 2.4.24.

Would it not be easiest to get the source off one of these machines,
put it on the 2.4.21 box and patch it up to 2.4.25?

 Or is it time to move to 2.6.3?  I have not be paying much attention to
 all the 2.6 posts on debian-user, but I guess I need new modutils
 package, right?  Is there a debian 2.6 upgrade primer around?

The recent thread Kernel 2.6.3 again contains a pretty good list of
what packages need to be upgraded. For woody, backports will be
required. The most important one is to get module-init-tools, but
others such as e2fsprogs are also fairly important.

2.6 has ALSA built in, and it appears to me that the Debian ALSA
packages haven't yet come to terms with this as regards dependencies,
so you may end up with some unnecessary cruft, config inconsistencies
and the like. I may be wrong here, though, as I've only looked into
this very superficially.

Before taking the plunge I'd recommend googling for the type numbers
of your MB chipset and any cards you have in conjunction with 2.6,
to see if there are any lurking nasties that might bite with your
hardware; ditto for critical packages you'll be using.

-- 
Pigeon

Be kind to pigeons
Get my GPG key here: http://pgp.mit.edu:11371/pks/lookup?op=getsearch=0x21C61F7F


pgp0.pgp
Description: PGP signature


Re: Applying Kernel patches

2004-03-07 Thread Pedro M.
Pigeon escribió:

On Sun, Mar 07, 2004 at 11:57:57AM -0800, Bill Moseley wrote:
 

I've patched my kernel.org kernel from one version to the next, but now
I have one machine running 2.4.21 that I'd like to upgrade.
Is there a way to get a patch generated (patch-o-matic kind of thing) to
patch from 2.4.21 to 2.4.25?
   

I'm not going to say flat out that it doesn't exist, but I've never
heard of it. But I don't think there's anything to stop you getting
the four patches and applying them in succession to the 2.4.21 source
to get you up to 2.4.25.
 

How can one do it using Synaptic ???.

Using Pack / Find and typing :

kernel-image

and selecting the kernels from the actual ( you can see it typing uname 
-r in a terminal ) to the destination one ( i.e. the last ).

Later, one would execute changes in synaptic to upgrade the kernel ( is 
it OK ? ).

Program like Synaptic would offer a more simple solution ( i.e. 
automatic selection of intermediate packages ).

I also have machines running 2.4.24.

 

Or is it time to move to 2.6.3?  

I would like to see www.debian.net/kernel/last to see the last kernel 
vesion ( with links to woody, unstable and testing).


The recent thread Kernel 2.6.3 again contains a pretty good list of
what packages need to be upgraded. For woody, backports will be
required. The most important one is to get module-init-tools, but
others such as e2fsprogs are also fairly important.
 

This would be interesting include this list in kernel-core package.

Regards.

--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



make-kpkg and kernel patches

2003-12-12 Thread Ross Boylan
I am trying to apply kernel patches with make-kpkg, but am running into
difficulties, particularly on repeated runs.

First, I am not able to find the .rej files when patches fail to apply. 
I thought this might have been from a subsequent make-kpkg clean, but
even without that, they're not there.  Are these automatically cleaned
out?  If so, how can I diagnose problems applying patches?

Second, the patches that apply on later runs differ from those on
earlier runs, as well as the success of the patches.  My preliminary
theory is that as soon as make-kpkg has an error while applying a patch,
it abandons attempting to apply all subsequent patches.  Is that
correct?

Here's an example, starting in new, just untarred directory (2.4.21):
 export PATCH_THE_KERNEL=YES
 make-kpkg --rootcmd fakeroot --revision rb.1 --append-to-version advncd
configure
results include

START applying patch Debian Logo
Testing whether Debian Logo patch for 2.4.21 applies (dry run):
Debian Logo patch for 2.4.21 succeeded
Removing empty files after patching:
Done.
END applying patch Debian Logo
START applying patch Linux device-mapper
Testing whether Linux device-mapper patch for 2.4.21 applies (dry
run):
1 out of 2 hunks FAILED -- saving rejects to file mm/filemap.c.rej
Linux device-mapper patch for 2.4.21 does not apply cleanly
run-parts: /usr/src/kernel-patches/all//apply/device-mapper exited with
return code 1
-
  make-kpkg --rootcmd fakeroot --revision rb.1 --append-to-version
advncd clean
 make-kpkg --rootcmd fakeroot --revision rb.1 --append-to-version advncd
configure
output is now
--
START applying patch Debian Logo
Testing whether Debian Logo patch for 2.4.21 applies (dry run):
1 out of 1 hunk FAILED -- saving rejects to file
drivers/video/fbcon.c.rej
1 out of 1 hunk FAILED -- saving rejects to file
include/linux/linux_logo.h.rej
Debian Logo patch for 2.4.21 does not apply cleanly
run-parts: /usr/src/kernel-patches/all//apply/debianlogo exited with
return code 1
--
This time I looked for the .rej file before cleaning, but it still
wasn't there.

My guess is that the previous application of the patch is still in
place, causing the 2nd patch attempt to fail.

So what's going on?  And what's the right way to do repeated make-kpkg
runs in the presence of kernel patches?

Thanks.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: make-kpkg and kernel patches

2003-12-12 Thread Ross Boylan
After reading the fine source I can now answer some, but not all, of my
questions.  I understand more about why it's failing, but don't know how
to make it work right or diagnose the failures (well, I probably could
diagnose them by untarring the patch file and comparing it to the
target, though that seems awkward).

make-kpkg provides some pre-processing around the standard invocation of
debian/rules.  That file does the patching during its macro scan.  It
looks in several places, with a representative one like this:

if [ -n $(ALL_PATCH_DIR) -a \
 -d $(ALL_PATCH_APPLY)  ]; then   \
run-parts --exit-on-error $(ALL_PATCH_APPLY);   \
(cd $(ALL_PATCH_APPLY); ls -1)  applied_patches;\
echo done   stamp-patch;\


On Fri, 2003-12-12 at 12:45, Ross Boylan wrote:
 I am trying to apply kernel patches with make-kpkg, but am running into
 difficulties, particularly on repeated runs.
 
 First, I am not able to find the .rej files when patches fail to apply. 
 I thought this might have been from a subsequent make-kpkg clean, but
 even without that, they're not there.  Are these automatically cleaned
 out?  If so, how can I diagnose problems applying patches?
The invoked patch file says
patch --force --dry-run $PATCH_OPTIONS -p$STRIPLEVEL
--dry-run doesn't touch any files.  Presumably this includes not
generating the .rej files.

 
 Second, the patches that apply on later runs differ from those on
 earlier runs, as well as the success of the patches.  My preliminary
 theory is that as soon as make-kpkg has an error while applying a patch,
 it abandons attempting to apply all subsequent patches.  Is that
 correct?
Yes.  The makefile snippet at the top says --exit-on-error, so it gives
up on the first failure.

Why it's not the same on the later runs is less clear.  There appear to
be mechanisms for removing patches and tracking which patches have been
applied; none of them seem to help.
 
 Here's an example, starting in new, just untarred directory (2.4.21):
  export PATCH_THE_KERNEL=YES
  make-kpkg --rootcmd fakeroot --revision rb.1 --append-to-version advncd
 configure
 results include
 
 START applying patch Debian Logo
 Testing whether Debian Logo patch for 2.4.21 applies (dry run):
 Debian Logo patch for 2.4.21 succeeded
 Removing empty files after patching:
 Done.
 END applying patch Debian Logo
 START applying patch Linux device-mapper
 Testing whether Linux device-mapper patch for 2.4.21 applies (dry
 run):
 1 out of 2 hunks FAILED -- saving rejects to file mm/filemap.c.rej
 Linux device-mapper patch for 2.4.21 does not apply cleanly
 run-parts: /usr/src/kernel-patches/all//apply/device-mapper exited with
 return code 1
 -
   make-kpkg --rootcmd fakeroot --revision rb.1 --append-to-version
 advncd clean
  make-kpkg --rootcmd fakeroot --revision rb.1 --append-to-version advncd
 configure
 output is now
 --
 START applying patch Debian Logo
 Testing whether Debian Logo patch for 2.4.21 applies (dry run):
 1 out of 1 hunk FAILED -- saving rejects to file
 drivers/video/fbcon.c.rej
 1 out of 1 hunk FAILED -- saving rejects to file
 include/linux/linux_logo.h.rej
 Debian Logo patch for 2.4.21 does not apply cleanly
 run-parts: /usr/src/kernel-patches/all//apply/debianlogo exited with
 return code 1
 --
 This time I looked for the .rej file before cleaning, but it still
 wasn't there.
 
 My guess is that the previous application of the patch is still in
 place, causing the 2nd patch attempt to fail.
 
 So what's going on?  And what's the right way to do repeated make-kpkg
 runs in the presence of kernel patches?
 
 Thanks.
-- 
Ross Boylan  wk:  (415) 502-4031
530 Parnassus Avenue (Library) rm 115-4  [EMAIL PROTECTED]
Dept of Epidemiology and Biostatistics   fax: (415) 476-9856
University of California, San Francisco
San Francisco, CA 94143-0840 hm:  (415) 550-1062


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



security updates. What about Kernel patches

2003-08-28 Thread Vincent Dupont
Hi,

I'm staring with Debian and find the security updates very usefull with
apt-get
It's very comfortable to keep one's packages up to date
But what happens when a package update concerns the Kernel? Should the
kernel be re-compiled or not?? is it automatically re-compiled?

Vincent


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: security updates. What about Kernel patches

2003-08-28 Thread Greg Bolshaw
The kernel doesn't get upgraded with an `apt-get upgrade`, it must be 
done manually:

`apt-cache search kernel-image-2.4.18` (or whichever version you want). 
Pick one, and `apt-get install` it. The lilo entry for the current 
kernel will be renamed LinuxOLD, and a Linux entry created for the 
new kernel. The new kernel will be set as the default.

Greg

Vincent Dupont wrote:

Hi,

I'm staring with Debian and find the security updates very usefull with
apt-get
It's very comfortable to keep one's packages up to date
But what happens when a package update concerns the Kernel? Should the
kernel be re-compiled or not?? is it automatically re-compiled?
Vincent

 



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: security updates. What about Kernel patches

2003-08-28 Thread Rob Weir
[Please don't top quote!  It makes your message harder to read,
especially in long threads.]

On Thu, Aug 28, 2003 at 01:03:47PM +0100, Greg Bolshaw wrote:
 
 Vincent Dupont wrote:
 Hi,
 
 I'm staring with Debian and find the security updates very usefull with
 apt-get
 It's very comfortable to keep one's packages up to date
 But what happens when a package update concerns the Kernel? Should the
 kernel be re-compiled or not?? is it automatically re-compiled?

 The kernel doesn't get upgraded with an `apt-get upgrade`, it must be 
 done manually:

Of course, you'll know about this immediately when you get a mail from
the debian-security-announce list which you've already subscibed to from
http://lists.debian.org/, right? :-)

-- 
Rob Weir [EMAIL PROTECTED] | [EMAIL PROTECTED]  |  Do I look like I want a CC?
Words of the day:Hacker kibo Dateline Rubin NORAD Delta Force president


pgp0.pgp
Description: PGP signature


Applying kernel patches in make-kpkg

2003-02-09 Thread ronin2
I've been using kernel-package to make kernel debs for a while and I'm
delighted with it.

Now I'd like to build a 2.4.19 kernel with the XFS (journalling file
system) patches installed. I have a 2.4.19 source tree with a symlink to
/usr/src/linux. I have installed the kernel-patch-xfs deb, and it created
the directory /usr/src/kernel-patches/all/xfs with three
kernel-patchgz files.

I have edited /etc/kernel-pkg.conf and added the lines
patch_the_kernel=yes and config_target=menuconfig.

I did make-kpkg --added-patches xfs kernel_image modules_image.
menuconfig started but I couldn't see any XFS options in the file systems
section; when I installed the kernel image and tried to boot with the new
kernel it panicked on the root file system.

It appears to me the patches aren't being applied. I've looked in the
kernel-package and kernel-patch-xfs docs for clues, but I haven't found
any.

Any ideas where I'm going astray?

Kevin


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: Applying kernel patches in make-kpkg

2003-02-09 Thread sean finney
On Sun, Feb 09, 2003 at 06:39:11PM -0500, [EMAIL PROTECTED] wrote:
 I have edited /etc/kernel-pkg.conf and added the lines
 patch_the_kernel=yes and config_target=menuconfig.

i could be way off, but this is what i have in my kernel-pkg.conf:

patch_the_kernel := YES

perhaps it's either case sensitive or requires the static assignment?
i don't have a config_target set, but imagine it would work the same
if that's your problem.


hth
sean



msg29789/pgp0.pgp
Description: PGP signature


Re: Applying kernel patches in make-kpkg

2003-02-09 Thread Alex Malinovich
On Sun, 2003-02-09 at 18:28, sean finney wrote:
 On Sun, Feb 09, 2003 at 06:39:11PM -0500, [EMAIL PROTECTED] wrote:
  I have edited /etc/kernel-pkg.conf and added the lines
  patch_the_kernel=yes and config_target=menuconfig.
 
 i could be way off, but this is what i have in my kernel-pkg.conf:
 
 patch_the_kernel := YES
 
 perhaps it's either case sensitive or requires the static assignment?
 i don't have a config_target set, but imagine it would work the same
 if that's your problem.

Personally, I just use the environment variable approach each time I
compile:

Thief:/usr/src# PATCH_THE_KERNEL=YES make-kpkg --revision=Thief.20
kernel_image

A good way to test if a kernel patch is working is to try applying it
manually. I don't remember the directory off the top of my head, but
it's something along the lines of /usr/src/patches/patch-name/patch.
Look around your src tree to find it. There was a problem a few weeks
ago with the LPP not applying to the new 2.4.20 packages that I
discovered by trying to apply it directly. With make-kpkg, you can never
be sure that the problem lies specifically in the patching process. Good
luck.

-Alex



signature.asc
Description: This is a digitally signed message part


Re: Applying kernel patches in make-kpkg

2003-02-09 Thread Manoj Srivastava
sean == sean finney [EMAIL PROTECTED] writes:

  On Sun, Feb 09, 2003 at 06:39:11PM -0500, [EMAIL PROTECTED] wrote:
  I have edited /etc/kernel-pkg.conf and added the lines
  patch_the_kernel=yes and config_target=menuconfig.

  i could be way off, but this is what i have in my kernel-pkg.conf:

  patch_the_kernel := YES

  perhaps it's either case sensitive or requires the static assignment?
  i don't have a config_target set, but imagine it would work the same
  if that's your problem.

Ulp. This could be the issue -- this has been fixed in recent
 versions of kernel-package, but older versions were case sensitive. 

Try setting it to YES, or upgrading to the latest
 kernel-package.

manoj
-- 
Outside of a dog, a book is a man's best friend.  Inside a dog it's
too dark to read. Groucho Marx
Manoj Srivastava   [EMAIL PROTECTED]  http://www.debian.org/%7Esrivasta/
1024R/C7261095 print CB D9 F4 12 68 07 E4 05  CC 2D 27 12 1D F5 E8 6E
1024D/BF24424C print 4966 F272 D093 B493 410B  924B 21BA DABB BF24 424C


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




kernel patches kill usb?

2003-02-03 Thread Matt Price
hi everyone,

I'm trying to install demudi on my woody amd k7 box, but in order to do so I have to 
re-roll
my kernel, and it's giving my trouble.  here's the situation:

the demudi kernel is patched with: Posix capability; low-latency; and
acpi.
I need: full support for nvidia graphics; and usb input support (no
serial or ps/2 ports on my box)

so, I reinstalled the 21.4.18 source, the nvidia-kernel-src and
nvidia-glx-src packages (I had to install nvidia once before).  Then I
installed kernel-patch-demudi, which in effect installs low-latency,
capability, and acpi patches.

then I copied my old config file to /usr/src/linux/.config (after
linking linux to kernel-source-2.4.18, of ocurse), and ran make
menuconfig.  The only settings I changed had to do with acpi power
management (I turned it on) and latency control (turned it on too).

then I followed the instructions for nvidia support (involves building
and installing two packages)

then I made a new grub entry in menu.lst and rebootead.  
After a couple of screwups, I got the system to boot and start X
(Yay!).  But for some reason USB is broken.  

So, question:  does anyone know if any of these patches has knwon
incompatibilities with usb support, or if they introduce new
mouse/keyboard/usb options within config?  If so, does anyone know
what I shou
ld do?  I've looked through the options, and it seems to me that
everything is checked about right... but I can't be 100l% sure.  

Another question:  can modconf or modprobe change the de1fault status
of a module for a kernel that _isn't currently running_?  I was
wondering whether the problem might be that the necessary modules
aren't loading for some reason, but I 3don't know how I would fix
that.  


thanks as usual!!!
matt


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: IDE disk corruption - A7M266-D; which kernel patches? or other solution

2003-01-24 Thread David Dumortier
Hello

WARNING : don't follow thread, perhaps out of subject.

briefly, I've got same chipset, excepted a spurious message at boot, have
no problems, 48Mo/s with DMA on ata5 'if remember fine) on HD and good rate
on (RW-)CD's.

Running 2.4.20 but 2.4.18 fine (customs kernel)

Hop'it'elp

David Dumortier


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: IDE disk corruption - A7M266-D; which kernel patches? or othersolution

2003-01-22 Thread Chris Lale


Pigeon wrote:

On Sun, Jan 19, 2003 at 05:53:54PM -0700, Al Davis wrote:


I have since installed Debian, with 2.4.20-bf2.4, and now I 
wonder if it is safe to re-enable DMA.


I have a VIA 82C686 southbridge, and 2.4.20 enables its VIA
southbridge workaround when it boots. So presumably the problem has
been addressed to some extent. So far I've had no corruption, but so
far is only about a week with this MB.

I only noticed that boot message today; it may therefore be the case
that earlier kernels had a workaround too; but maybe 2.4.20's has been
updated.


I don't know if this is relevant. I have a VIA chipset too. The PC has 
been running happily on a 2.2 kernel with DMA enabled. I upgraded to 
stock Debian kernel 2.4.18-k7 a couple of weeks ago. 'dmesg | grep VIA' 
shows the following boot messages:

PCI: Using IRQ router VIA [1106/0686] at 00:07.0
VP_IDE: VIA vt82c686b (rev 40) IDE UDMA100 controller on pci00:07.1

No sign of any disc corruption. The PC is rebooted several times a day.

Cheers,

--
Chris Lale [EMAIL PROTECTED]


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: IDE disk corruption - A7M266-D; which kernel patches? or other solution

2003-01-21 Thread Pigeon
On Sun, Jan 19, 2003 at 05:53:54PM -0700, Al Davis wrote:
 I was getting disk corruption with an older kernel (2.4.8 or 
 2.4.18,  Mandrake).  A colleague said it might have something 
 to do with a hardware bug (south bridge VIA VT82C686).  He also 
 said there was a fix in recent kernels.  I thought it was bad 
 memory.  It did have CONFIG_BLK_DEV_VIA82CXXX=y .  The 
 workaround was to disable DMA.  As expected, it has now been 
 reliable but slow.  
 
 I have since installed Debian, with 2.4.20-bf2.4, and now I 
 wonder if it is safe to re-enable DMA.

I have a VIA 82C686 southbridge, and 2.4.20 enables its VIA
southbridge workaround when it boots. So presumably the problem has
been addressed to some extent. So far I've had no corruption, but so
far is only about a week with this MB.

I only noticed that boot message today; it may therefore be the case
that earlier kernels had a workaround too; but maybe 2.4.20's has been
updated.

My previous MB had a VIA VT82C596B. Using the same HD, I had ONE
instance of disk corruption - something scribbled all over the boot
sector of the DOS partition while Linux was running. That was either
with kernel 2.2.12 or 2.4.8. It only happened the once, so I never
found out what actually caused it.

I think there are a lot of VIA chipsets out there but most people
don't have problems; presumably some other factor is needed to make
the bug show up. Wonder what?

Pigeon


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: IDE disk corruption - A7M266-D; which kernel patches? or other solution

2003-01-21 Thread nate
Pigeon said:

 I think there are a lot of VIA chipsets out there but most people
 don't have problems; presumably some other factor is needed to make the
 bug show up. Wonder what?

not entirely related but thought to mention ..

about a year and a half ago I was looking for a MB to get an Athlon 1300
to run with. I wanted a MB that supported SDRAM, and at least at the time
there were very few. I settled originally on the Asus A7A266. I transplanted
everything from my P3-800 except the MB/CPU/RAM to the new A7A266 including
the PCI Promise ATA/100 controller card. I purchased 3x256MB Kingston PC133
memory sticks for the board.

But the system suffered from massive disk curroption. I traced it down to
the point where I could reproduce it with a few commands:

mke2fs /dev/hde5
mount /dev/hde5 /mnt
umount /mnt
e2fsck /dev/hde5

(where /dev/hde5 was whatever partition I was testing and /mnt was the
mountpoint, I don't remember exactly what directory I was using but it
doesn't matter).

running the e2fsck after the umount showed MASSIVE filesystem curroption,
and I hadn't even written any files to the disk! just mounted it and
immediately unmounted it.

eventually I gave up and replaced the board with a Tyan board(which maxxed
out at 1300, so I can't upgrade the CPU). That was about a year and a half
ago, not a glitch since. Well excluding having my IBM IDE drives fail, which
I later replaced with a 9GB SCSI disk. So sick of having IDE drives fail!

one of my former co workers later told me(~6 months ago) that  the particular
board I have(A7A266) apparently had some problems, I'm not sure what rev
was affected and if I had the affected rev or not. I never did try the onboard
IDE controller.

crazy shit.

nate



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: IDE disk corruption - A7M266-D; which kernel patches? or other solution

2003-01-20 Thread Hanasaki JiJi
A bit off topic here.. sorry
Others ahve expressed problems with Asus based on memory issues.  Anyone 
have any thoughts?

The recent comment was on the A7V8X being very picky with RAM.  My 
friend picked up a different KT400 based system and popped in the same 
PC2700 (not PC3200) that didnt work in Ausus and it ran like a champ.

Daniel Barclay wrote:
Pigeon wrote:


On Sat, Jan 18, 2003 at 11:27:28AM -0500, Daniel Barclay wrote:


I'm getting disk corruption if I try to enable DMA mode for my IDE
disks.



...


If you have a VIA chipset try making sure that VIA chipset support is
included in the kernel.



No, it's an Asus A7M266-D, which has an AMD 768(?) southbridge chip.

Daniel




--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: IDE disk corruption - A7M266-D; which kernel patches? or other solution

2003-01-19 Thread Pigeon
On Sat, Jan 18, 2003 at 11:27:28AM -0500, Daniel Barclay wrote:
 I'm getting disk corruption if I try to enable DMA mode for my IDE
 disks.
 
 I get mesages like:
   hdc: timeout waiting for DMA
   ide_dmaproc: chipset supported ide_dma_timeout func. only: 14
   hdc: status error: status=0x58 { DriveReady, SeekComplete, DataRequest }
   hdc: drive not ready for command
 
 
 The linux-kernel mailing list archives seem to indicate that there
 is a patch for a kernel bug that can cause disk corruption.
 
 Does anybody know which 2.4.x kernel patches are supposed to fix that?
 
 Or is the problem something else?

If you have a VIA chipset try making sure that VIA chipset support is
included in the kernel.

Pigeon


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: IDE disk corruption - A7M266-D; which kernel patches? or other solution

2003-01-19 Thread Al Davis

 On Sat, Jan 18, 2003 at 11:27:28AM -0500, Daniel Barclay 
wrote:
  I'm getting disk corruption if I try to enable DMA mode for
  my IDE disks.

On Saturday 18 January 2003 04:14 pm, Pigeon wrote:
 If you have a VIA chipset try making sure that VIA chipset
 support is included in the kernel.

How do I find out?

I am using the one on the woody bf2.4 cd.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]





Re: IDE disk corruption - A7M266-D; which kernel patches? or othersolution

2003-01-19 Thread Ron Johnson
On Sun, 2003-01-19 at 13:42, Al Davis wrote:
  On Sat, Jan 18, 2003 at 11:27:28AM -0500, Daniel Barclay 
 wrote:
   I'm getting disk corruption if I try to enable DMA mode for
   my IDE disks.
 
 On Saturday 18 January 2003 04:14 pm, Pigeon wrote:
  If you have a VIA chipset try making sure that VIA chipset
  support is included in the kernel.
 
 How do I find out?
 
 I am using the one on the woody bf2.4 cd.

Well, 1st, do you know which chipset the A7V266-D runs?
Btw, the ASUS web site only mentions the A7V266-C.
http://usa.asus.com/mb/socketa/a7v266-c/overview.htm

-- 
++
| Ron Johnson, Jr. mailto:[EMAIL PROTECTED]  |
| Jefferson, LA  USA   http://members.cox.net/ron.l.johnson  |
||
| Basically, I got on the plane with a bomb. Basically, I   |
|  tried to ignite it. Basically, yeah, I intended to damage |
|  the plane.   |
|RICHARD REID, who tried to blow up American Airlines|
|  Flight 63 |
++


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: IDE disk corruption - A7M266-D; which kernel patches? or othersolution

2003-01-19 Thread Donald Spoon
Al Davis wrote:

On Sat, Jan 18, 2003 at 11:27:28AM -0500, Daniel Barclay 

wrote:


I'm getting disk corruption if I try to enable DMA mode for
my IDE disks.



On Saturday 18 January 2003 04:14 pm, Pigeon wrote:


If you have a VIA chipset try making sure that VIA chipset
support is included in the kernel.



How do I find out?

I am using the one on the woody bf2.4 cd.




The lspci command should show you which chipset you have.  For example 
here is mine (Via Chipset):

00:00.0 Host bridge: VIA Technologies, Inc. VT8367 [KT266]
00:01.0 PCI bridge: VIA Technologies, Inc. VT8367 [KT266 AGP]
00:0a.0 VGA compatible controller: 3Dfx Interactive, Inc. Voodoo 3 (rev 01)
00:0b.0 Ethernet controller: Realtek Semiconductor Co., Ltd. 
RTL-8139/8139C (rev 10)
00:11.0 ISA bridge: VIA Technologies, Inc. VT8233 PCI to ISA Bridge
00:11.1 IDE interface: VIA Technologies, Inc. Bus Master IDE (rev 06)
00:11.2 USB Controller: VIA Technologies, Inc. USB (rev 1b)
00:11.3 USB Controller: VIA Technologies, Inc. USB (rev 1b)
00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT8233 AC97 
Audio Controller (rev 30)

Some of the lines are probably wrapped due to this mailer, but you 
should get the idea.

Cheers,
-Don Spoon-


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: IDE disk corruption - A7M266-D; which kernel patches? or other solution

2003-01-19 Thread Wayne Topa
Al Davis([EMAIL PROTECTED]) is reported to have said:
 
  On Sat, Jan 18, 2003 at 11:27:28AM -0500, Daniel Barclay 
 wrote:
   I'm getting disk corruption if I try to enable DMA mode for
   my IDE disks.
 
 On Saturday 18 January 2003 04:14 pm, Pigeon wrote:
  If you have a VIA chipset try making sure that VIA chipset
  support is included in the kernel.
 
 How do I find out?
 
 I am using the one on the woody bf2.4 cd.

lspci will show if you have VIA and

grep VIA /usr/src/linux/.config will show if you have enabled it.

-- 
Nobody said computers were going to be polite.
___


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: IDE disk corruption - A7M266-D; which kernel patches? or other solution

2003-01-19 Thread Bob Proulx
Ron Johnson wrote:
 Well, 1st, do you know which chipset the A7V266-D runs?
 Btw, the ASUS web site only mentions the A7V266-C.
 http://usa.asus.com/mb/socketa/a7v266-c/overview.htm

Try this url for the dual model.  (D is for dual.)

  http://usa.asus.com/mb/socketa/a7m266-d/overview.htm

Bob



msg24987/pgp0.pgp
Description: PGP signature


Re: IDE disk corruption - A7M266-D; which kernel patches? or other solution

2003-01-19 Thread Bob Proulx
Wayne Topa wrote:
 Al Davis([EMAIL PROTECTED]) is reported to have said:
  How do I find out?
  I am using the one on the woody bf2.4 cd.
 
 lspci will show if you have VIA and
 
 grep VIA /usr/src/linux/.config will show if you have enabled it.

If you are using the bf24 kernel then the config is installed in /boot.

  grep VIA /boot/config-2.4.18-bf2.4 
  CONFIG_BLK_DEV_VIA82CXXX=y
  CONFIG_VIA_RHINE=m
  CONFIG_AGP_VIA=y
  CONFIG_SOUND_VIA82CXXX=m

Lots of good documentation about the Debian way of installing kernels
in /usr/share/doc/kernel-package/*.

Bob



msg24989/pgp0.pgp
Description: PGP signature


Re: IDE disk corruption - A7M266-D; which kernel patches? or other solution

2003-01-19 Thread Al Davis
On Sunday 19 January 2003 02:48 pm, Bob Proulx wrote:
 Wayne Topa wrote:
  Al Davis([EMAIL PROTECTED]) is reported to have said:
   How do I find out?
 If you are using the bf24 kernel then the config is installed 
in /boot.
   grep VIA /boot/config-2.4.18-bf2.4
   CONFIG_BLK_DEV_VIA82CXXX=y
   CONFIG_VIA_RHINE=m
   CONFIG_AGP_VIA=y
   CONFIG_SOUND_VIA82CXXX=m

Thanks.  That is what I was looking for.

My real reason for asking ...

I was getting disk corruption with an older kernel (2.4.8 or 
2.4.18,  Mandrake).  A colleague said it might have something 
to do with a hardware bug (south bridge VIA VT82C686).  He also 
said there was a fix in recent kernels.  I thought it was bad 
memory.  It did have CONFIG_BLK_DEV_VIA82CXXX=y .  The 
workaround was to disable DMA.  As expected, it has now been 
reliable but slow.  

I have since installed Debian, with 2.4.20-bf2.4, and now I 
wonder if it is safe to re-enable DMA.


 Lots of good documentation about the Debian way of installing
 kernels in /usr/share/doc/kernel-package/*.

That module wasn't installed here.  I will look.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: IDE disk corruption - A7M266-D; which kernel patches? or other solution

2003-01-19 Thread Pigeon
On Sun, Jan 19, 2003 at 03:10:23PM -0600, Ron Johnson wrote:
 On Sun, 2003-01-19 at 13:42, Al Davis wrote:
   On Sat, Jan 18, 2003 at 11:27:28AM -0500, Daniel Barclay 
  wrote:
I'm getting disk corruption if I try to enable DMA mode for
my IDE disks.
  
  On Saturday 18 January 2003 04:14 pm, Pigeon wrote:
   If you have a VIA chipset try making sure that VIA chipset
   support is included in the kernel.
  
  How do I find out?
  
  I am using the one on the woody bf2.4 cd.
 
 Well, 1st, do you know which chipset the A7V266-D runs?
 Btw, the ASUS web site only mentions the A7V266-C.
 http://usa.asus.com/mb/socketa/a7v266-c/overview.htm

Argh, scratch that, sorry. 
His post said A7M266-D. This is a dual processor MB with AMD 762/768
chipset. Just had a look - rather nice.
http://www.asus.com/mb/socketa/a7m266-d/overview.htm
Don't know if this chipset has any problems myself; someone else might?

Pigeon


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: IDE disk corruption - A7M266-D; which kernel patches? or othersolution

2003-01-19 Thread Ron Johnson
On Sun, 2003-01-19 at 15:43, Bob Proulx wrote:
 Ron Johnson wrote:
  Well, 1st, do you know which chipset the A7V266-D runs?
  Btw, the ASUS web site only mentions the A7V266-C.
  http://usa.asus.com/mb/socketa/a7v266-c/overview.htm
 
 Try this url for the dual model.  (D is for dual.)
 
   http://usa.asus.com/mb/socketa/a7m266-d/overview.htm

Ack!!!  This is sooo my bad.  Selective reading on my part saw
him write A7V, not A7M.
^^

Apologies

-- 
++
| Ron Johnson, Jr. mailto:[EMAIL PROTECTED]  |
| Jefferson, LA  USA   http://members.cox.net/ron.l.johnson  |
||
| Basically, I got on the plane with a bomb. Basically, I   |
|  tried to ignite it. Basically, yeah, I intended to damage |
|  the plane.   |
|RICHARD REID, who tried to blow up American Airlines|
|  Flight 63 |
++


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: IDE disk corruption - A7M266-D; which kernel patches? or othersolution

2003-01-19 Thread Ron Johnson
On Sun, 2003-01-19 at 15:48, Bob Proulx wrote:
 Wayne Topa wrote:
  Al Davis([EMAIL PROTECTED]) is reported to have said:
   How do I find out?
   I am using the one on the woody bf2.4 cd.
  
  lspci will show if you have VIA and
  
  grep VIA /usr/src/linux/.config will show if you have enabled it.
 
 If you are using the bf24 kernel then the config is installed in /boot.
 
   grep VIA /boot/config-2.4.18-bf2.4 
   CONFIG_BLK_DEV_VIA82CXXX=y
   CONFIG_VIA_RHINE=m
   CONFIG_AGP_VIA=y
   CONFIG_SOUND_VIA82CXXX=m
 
 Lots of good documentation about the Debian way of installing kernels
 in /usr/share/doc/kernel-package/*.

But the A7M266-D doesn't use a Via chipset.  
From http://usa.asus.com/mb/socketa/a7m266-d/overview.htm :
The A7M266-D leverages the technology of the AMD 760MPX chipset

A quick google, and the *first* URL shown on the query:
http://www.google.com/search?hl=enlr=ie=UTF-8oe=UTF-8q=linux+amd+760mpx+dmabtnG=Google+Search
is
http://www.uwsg.iu.edu/hypermail/linux/kernel/0209.3/0382.html

Now, maybe this relates to your error, and maybe not, but it looks
like it has something to do with it.


-- 
++
| Ron Johnson, Jr. mailto:[EMAIL PROTECTED]  |
| Jefferson, LA  USA   http://members.cox.net/ron.l.johnson  |
||
| Basically, I got on the plane with a bomb. Basically, I   |
|  tried to ignite it. Basically, yeah, I intended to damage |
|  the plane.   |
|RICHARD REID, who tried to blow up American Airlines|
|  Flight 63 |
++


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: IDE disk corruption - A7M266-D; which kernel patches? or other solution

2003-01-19 Thread Daniel Barclay
Pigeon wrote:
 
 On Sat, Jan 18, 2003 at 11:27:28AM -0500, Daniel Barclay wrote:
  I'm getting disk corruption if I try to enable DMA mode for my IDE
  disks.
...
 If you have a VIA chipset try making sure that VIA chipset support is
 included in the kernel.

No, it's an Asus A7M266-D, which has an AMD 768(?) southbridge chip.

Daniel
-- 
Daniel Barclay
[EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: IDE disk corruption - A7M266-D; which kernel patches? or othersolution

2003-01-19 Thread Daniel Barclay
Ron Johnson wrote:
 
 On Sun, 2003-01-19 at 15:48, Bob Proulx wrote:
  ...
 ...
 But the A7M266-D doesn't use a Via chipset.
 From http://usa.asus.com/mb/socketa/a7m266-d/overview.htm :
 The A7M266-D leverages the technology of the AMD 760MPX chipset
 
 A quick google, and the *first* URL shown on the query:
 ...
 is
 http://www.uwsg.iu.edu/hypermail/linux/kernel/0209.3/0382.html
 
 Now, maybe this relates to your error, and maybe not, but it looks
 like it has something to do with it.

Interesting.  No, it doesn't seem to be the problem I'm having,
since I do use a PS/2 mouse.

Just for reference, my rev. 1.04 A7M266-D has a version B2 
southbridge (with fixed USB 1.1).


Daniel
-- 
Daniel Barclay
[EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




IDE disk corruption - A7M266-D; which kernel patches? or other solution

2003-01-18 Thread Daniel Barclay

I'm getting disk corruption if I try to enable DMA mode for my IDE
disks.

I get mesages like:
  hdc: timeout waiting for DMA
  ide_dmaproc: chipset supported ide_dma_timeout func. only: 14
  hdc: status error: status=0x58 { DriveReady, SeekComplete, DataRequest }
  hdc: drive not ready for command


The linux-kernel mailing list archives seem to indicate that there
is a patch for a kernel bug that can cause disk corruption.

Does anybody know which 2.4.x kernel patches are supposed to fix that?

Or is the problem something else?


Thanks,
Daniel
-- 
Daniel Barclay
[EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Kernel Patches

2003-01-08 Thread Leopold Palomo Avellaneda
Hola,

perduneu la meva ignorancia, però com puc aplicar un patch  al kernel?

a veure, faig servir la woody, amb el 2.4.18 i li voldria aplicar el patch per 
poguer muntar xfs.

Aleshores m'he instal·lat kernel-patch-xfs però ara no sé com aplicar-ho- Tinc 
els source del kernel també.

Gràcies.

Leo



Re: Kernel Patches

2003-01-08 Thread Antoni Bella Perez
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

A Dimecres 08 Gener 2003 13:48, Leopold Palomo Avellaneda va escriure:
 Hola,

 perduneu la meva ignorancia, però com puc aplicar un patch  al kernel?

 a veure, faig servir la woody, amb el 2.4.18 i li voldria aplicar el patch
 per poguer muntar xfs.

 Aleshores m'he instal·lat kernel-patch-xfs però ara no sé com aplicar-ho-
 Tinc els source del kernel també.

 Gràcies.

 Leo

  Hola

  Segurament a la doc del mateix pedaç hi va una referència al que demanes. En 
el meu cas l'he cercada a 
file:/usr/share/doc/kernel-patch-lowlatency-2.4/README-kernelpatch.Debian. 
És molt aconsellable el llegir-se aquests README, per a mi venen a ser 
gairabé com una FAQ.

  Aquesta opció sols l'he usat una vegada, potser algú amb més coneixements et 
podrà fer una referència més detallada.

  Toni
- -- 

  Sort

 Antoni Bella Perez  |
# http://www.terra.es/personal7/bella5/home.htm
## [EMAIL PROTECTED] ## i
col·laborador del projecte Debian en català: debian.org/index.ca.htm
Maquinari: - Pentium II 300MHz 128MB memòria 599.65 bogomips
Sistema:   - Debian GNU/Linux-2.4.19  -  XFree86 4.2.1-4

- -
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+HCqGGfXdVUGHvegRAgoyAJ9atJFgusuhfKlprjoYluxnhWELfQCcCkV/
TAb7phFA1MSbufar7Cnml0s=
=x4wh
-END PGP SIGNATURE-



Re: kernel-patches und Debian

2002-09-23 Thread Thomas Watz

Adrian Bunk schrieb am Samstag, 21. September 2002 12:52:
[...]
 
 die Debian-Kernel sind Kernel mit wenigen Patches (insb. verglichen mit
 den Kerneln von z.B. SuSE). Es kann aber trotzdem sein dass z.B. der
 2.4.20-pre7-Patch sich deswegen nicht ohne kleinere Probleme auf den
 Debian-Kernel anwenden laesst. Mit ein bisschen Handarbeit geht das zwar
 wohl, ich sehe aber keinen Grund warum du nicht einfach den Original
 Kernel verwenden solltest.

O.k. ich habe mir den Original-Kernel besorgt, und nach den Anleitungen des 
Kernel-HOWTO's gepatcht und danach mit make-kpkg problemlos wie immer den 
Kernel erzeugt und installiert. 

Also, es läuft nun 2.4.20-pre7-ac3. Ungern, aber er läuft und meine 
Festplatte ist um den Faktor 10 schneller, von 2,8 MB/sec auf 28 MB/sec. Es 
lohnt sich also.

Trotzdem weiß ich immer noch nicht so ganz, wie ich das patchen geschafft 
habe :-(=)

Den 2.4.20-pre7 einzuspielen ging problemlos mit

# zcat patch-2.4.20-pre7.gz | patch -p0 21 | tee patch.out

im Verzeichnis /usr/src

soweit ich mich erinnere.

Das patchen von 2.4.20-pre7-ac3 lief irgendwie ab, d.h. ich habe keine 
Ahnung, wie ich es geschafft habe. Ich habe wohl den oberen Befehl mit 
abgeändertem -p0/-p1 o.ä. benutzt und irgendwann lief es. 

Kann mir jemand mal *genau* sagen, wie es geht, bzw. ob es bessere Wege 
gibt? Auch wenn ich hoffe, das Ganze nicht mehr anwenden zu müssen :-)

Vielen Dank

Thomas

-- 
God said: tar xvzf universe.tar.gz - and the Universe was!



-- 
Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)




kernel-patches und Debian

2002-09-21 Thread Thomas Watz

Hallo,

ich arbeite hier mit einer testing/unstable Mischung und Kernel 2.4.19.

Ich habe ein recht neues MB Asus P4B533, daß leider unzureichend in bezug. 
auf IDE-Geschwindigkeit unterstüzt wird. Das soll wohl mal mit 2.4.20 
besser werden (schaun wir mal)

Ein Bekannter von mir hat nun den Kernelpatch 2.4.20-pre7 + 2.4.20-pre7-ac3 
(oder einen etwas frühereren, daß weiß ich jezt nicht so genau) aufgespielt 
(gleihes Board) und hat damit wieder vernünftige IDE/PCI Durchsätze. 
Allerdings meint er, daß patchen funktioniere nur mit den original-Kernel.

Daher jetzt meine Frage:

Muß ich mir wirklich den Original Kernel holen und kann dann erst patchen 
oder funktioniert es auch mit den Debian-Kernel? Hat das auch eine 
Auswirkung auf das Erstellen des Kernels mit make-kpkg?

Ich habe keine Lust zuviel zu werkeln und hinterher nicht zu wissen, was 
alles gelaufen ist. Allerdings ist mein Leidensdruck bez. der langsamen 
Festplatte schon sehr hoch.

Irgendwelche Tipps?

Vielen Dank

Thomas
-- 
God said: tar xvzf universe.tar.gz - and the Universe was!



-- 
Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)




Re: kernel-patches und Debian

2002-09-21 Thread Adrian Bunk

On Sat, 21 Sep 2002, Thomas Watz wrote:

 Hallo,

Hallo Thomas,

 ich arbeite hier mit einer testing/unstable Mischung und Kernel 2.4.19.

 Ich habe ein recht neues MB Asus P4B533, daß leider unzureichend in bezug.
 auf IDE-Geschwindigkeit unterstüzt wird. Das soll wohl mal mit 2.4.20
 besser werden (schaun wir mal)

 Ein Bekannter von mir hat nun den Kernelpatch 2.4.20-pre7 + 2.4.20-pre7-ac3
 (oder einen etwas frühereren, daß weiß ich jezt nicht so genau) aufgespielt
 (gleihes Board) und hat damit wieder vernünftige IDE/PCI Durchsätze.
 Allerdings meint er, daß patchen funktioniere nur mit den original-Kernel.

 Daher jetzt meine Frage:

 Muß ich mir wirklich den Original Kernel holen und kann dann erst patchen
 oder funktioniert es auch mit den Debian-Kernel? Hat das auch eine
 Auswirkung auf das Erstellen des Kernels mit make-kpkg?
...
 Irgendwelche Tipps?

die Debian-Kernel sind Kernel mit wenigen Patches (insb. verglichen mit
den Kerneln von z.B. SuSE). Es kann aber trotzdem sein dass z.B. der
2.4.20-pre7-Patch sich deswegen nicht ohne kleinere Probleme auf den
Debian-Kernel anwenden laesst. Mit ein bisschen Handarbeit geht das zwar
wohl, ich sehe aber keinen Grund warum du nicht einfach den Original
Kernel verwenden solltest.

 Vielen Dank

 Thomas

Gruss
Adrian

-- 

You only think this is a free country. Like the US the UK spends a lot of
time explaining its a free country because its a police state.
Alan Cox


--
Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)




Re: kernel-patches und Debian

2002-09-21 Thread Thomas Watz

Hallo Adrian,
Adrian Bunk schrieb am Samstag, 21. September 2002 12:52:
[...]
 Muß ich mir wirklich den Original Kernel holen und kann dann erst patchen
 oder funktioniert es auch mit den Debian-Kernel? Hat das auch eine
 Auswirkung auf das Erstellen des Kernels mit make-kpkg?
[...]
 die Debian-Kernel sind Kernel mit wenigen Patches (insb. verglichen mit
 den Kerneln von z.B. SuSE). Es kann aber trotzdem sein dass z.B. der
 2.4.20-pre7-Patch sich deswegen nicht ohne kleinere Probleme auf den
 Debian-Kernel anwenden laesst. Mit ein bisschen Handarbeit geht das zwar
 wohl, ich sehe aber keinen Grund warum du nicht einfach den Original
 Kernel verwenden solltest.

o.k., das hört sich schon mal beruhigend an. Ich weiß eben nicht, welche 
patches in den Debian Paketen drin sind und welche Dinge ich nicht habe 
bzw. welche Probleme ich bekomme, wenn ich den Original Kernel verwende.

Mir ist auch noch nicht klar, ob ich nun ohne Weiteres ein Debian-Paket aus 
dem Original-Kernel machen kann.

Handarbeit an den Kernel-Sourcen traue ich mir glaube ich nicht zu.

Danke für Deine Antwort

Thomas

-- 
God said: tar xvzf universe.tar.gz - and the Universe was!



-- 
Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)




Re: kernel-patches und Debian

2002-09-21 Thread Thomas Watz

Adrian Bunk schrieb am Samstag, 21. September 2002 14:44:
[...]
 o.k., das hört sich schon mal beruhigend an. Ich weiß eben nicht, welche
 patches in den Debian Paketen drin sind und welche Dinge ich nicht habe
 
   zless /usr/share/doc/kernel-image-2.4.18-*/README.Debian.1st.gz

o.k. Danke für den Hinweis, kannte ich noch nicht.
 
 bzw. welche Probleme ich bekomme, wenn ich den Original Kernel verwende.
 
 Keine.
 
 Mir ist auch noch nicht klar, ob ich nun ohne Weiteres ein Debian-Paket
 aus dem Original-Kernel machen kann.
 
 Ja.
 
   apt-get install kernel-package
   man make-kpkg

Kannte ich zwar, muß ich mich aber noch mal genauer mit beschäftigen. Das 
hatte ich bisher nur soweit getan, daß ich ein make-kpkg kernel_image  
machen konnte.

Danke für Deine Hinweise

Thomas

-- 
God said: tar xvzf universe.tar.gz - and the Universe was!



-- 
Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)




Application d'un patch via kernel-patches

2002-09-09 Thread CAPRON Romain
Bonjour à tous,

je voudrais savoir la méthode à suivre pour voir si un patch a été
correctement appliqué ou non lors de la création d'un package kernel-image.
J'ai crée un package kernel-image sous ma woody en appliquant le patche
debianlogo.
J'ai suivi la procédure de Xavier Poinsard que je remercie une fois de plus.
J'ai ajouté ma nouvelle version de noyau (2.4.19) dans la liste KVERSION du
script debianlogo dans le répertoire apply.
Néanmoins, au redémarrage, j'ai toujours l'image de tux et non le logo de
debian.

NB : ce n'est pas que ce soit moche, mais, avec cet exemple, je veux juste
comprendre où j'ai pu faire une (ou plusieurs :) ) erreur(s)...
Voici la procédure fournie par Xavier :

Xavier Poinsard a écrit:
 
 Je me suis compilé un noyau patché avec debianlogo et lowlatency
 Voici comment j'ai procédé (à l'aide des docs) :
à la Debian !
 * Installation des sources + patches voulus : apt-get install 
 kernel-source-2.4.19 kernel-patch-debianlogo kernel-patch-lowlatency-2.4 
  kernel-patch-scripts
 * positionner la variable d'environnement : PATCH_THE_KERNEL=AUTO
 * entrer son adresse : vi /etc/kernel-pkg.conf
 * décompresser les sources :
 cd /usr/src
 tar -xvjf kernel-source-2.4.19.tar.bz2
 cd kernel-source-2.4.19
 * Récuperer une config noyau : cp /boot/config-2.4.18-686 .config
 * Faire sa config perso : make xconfig
 * nettoyer : make-kpkg clean
 * construire le paquet (il va appliquer les patchs demandés, demander de 
 configurer les patch, compiler et contruire le paquet) :
 fakeroot make-kpkg --append_to_version -amoi --initrd 
 --revision=1:custom2.4.19.1 --added-patches lowlatency,debianlogo
kernel_image
 * Il ne reste plus qu'à installer le paquet en étant root.
 
 Si tu pars d'une config debian, tous les modules sont compilés.
 

D'avance, merci pour votre aide,

CAPRON Romain



Re: Application d'un patch via kernel-patches

2002-09-09 Thread Xavier Poinsard

CAPRON Romain a écrit:

Bonjour à tous,

je voudrais savoir la méthode à suivre pour voir si un patch a été
correctement appliqué ou non lors de la création d'un package kernel-image.
J'ai crée un package kernel-image sous ma woody en appliquant le patche
debianlogo.
J'ai suivi la procédure de Xavier Poinsard que je remercie une fois de plus.
J'ai ajouté ma nouvelle version de noyau (2.4.19) dans la liste KVERSION du
script debianlogo dans le répertoire apply.


Avec la version du patch présente dans unstable ou testing, le 2.4.19 
est supporté.



Néanmoins, au redémarrage, j'ai toujours l'image de tux et non le logo de
debian.

Tu as de la chance, je n'ai rien du tout...
Le problème pour moi doit être ailleurs, mais j'ai d'autres choses plus 
urgentes à faire fonctionner.




Comment utiliser les packages kernel-patches ?

2002-09-05 Thread CAPRON Romain
Bonjour,

j'ai déja posté quelquechose à ce sujet mais, apparement, personne n'a su me
répondre...
Une fois un package du type kernel-patche installé, il place le patche dans
/usr/src/patches.
Mais comment patcher les sources de mon noyau installée dans
/usr/src/linux-2.4.19 sans passer par la commande explicite patch ?
Quel est la méthode recommandée par Debian ?

Merci d'avance,

CAPRON Romain



Re: Comment utiliser les packages kernel-patches ?

2002-09-05 Thread Thomas Clavier

jeudi 5 septembre 2002, 15:12:47, CAPRON a écrit :

 Bonjour,

 j'ai déja posté quelquechose à ce sujet mais, apparement, personne n'a su me
 répondre...
 Une fois un package du type kernel-patche installé, il place le patche dans
 /usr/src/patches.
 Mais comment patcher les sources de mon noyau installée dans
 /usr/src/linux-2.4.19 sans passer par la commande explicite patch ?
 Quel est la méthode recommandée par Debian ?

j'avais pas compris ta question :((
en fait, c'est relativement simple, tu doit avoir un script par patch
dans /usr/src/kernel-patches/all/apply/ et il ne reste plus qu'a le
lancer :)

A+ tom

-- 
Thomas Clavier   http://www.tcweb.dyndns.org  .  .''`. 
Centre d'expertise RGO. : :' : 
Adventec Lille. `. `   
+33 3 20 18 53 02 - +33 6 09 25 59 67 .   `- Debian



RE: Comment utiliser les packages kernel-patches ?

2002-09-05 Thread CAPRON Romain
Merci Tom pour le renseignement !
Au fait, est ce que ces fameux scripts patchent les sources dans
/usr/src/linux ou /usr/src/linux-x.y.z ?

Encore une fois, merci.

CAPRON Romain

-Message d'origine-
De : Thomas Clavier [mailto:[EMAIL PROTECTED]
Envoyé : jeudi 5 septembre 2002 15:29
À : debian-user-french@lists.debian.org; CAPRON Romain
Objet : Re: Comment utiliser les packages kernel-patches ?



jeudi 5 septembre 2002, 15:12:47, CAPRON a écrit :

 Bonjour,

 j'ai déja posté quelquechose à ce sujet mais, apparement, personne n'a su
me
 répondre...
 Une fois un package du type kernel-patche installé, il place le patche
dans
 /usr/src/patches.
 Mais comment patcher les sources de mon noyau installée dans
 /usr/src/linux-2.4.19 sans passer par la commande explicite patch ?
 Quel est la méthode recommandée par Debian ?

j'avais pas compris ta question :((
en fait, c'est relativement simple, tu doit avoir un script par patch
dans /usr/src/kernel-patches/all/apply/ et il ne reste plus qu'a le
lancer :)

A+ tom

-- 
Thomas Clavier   http://www.tcweb.dyndns.org  .  .''`. 
Centre d'expertise RGO. : :' : 
Adventec Lille. `. `   
+33 3 20 18 53 02 - +33 6 09 25 59 67 .   `- Debian


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact
[EMAIL PROTECTED]



Re[2]: Comment utiliser les packages kernel-patches ?

2002-09-05 Thread Thomas Clavier

jeudi 5 septembre 2002, 15:35:40, CAPRON a écrit :

 Merci Tom pour le renseignement !
 Au fait, est ce que ces fameux scripts patchent les sources dans
 /usr/src/linux ou /usr/src/linux-x.y.z ?

 Encore une fois, merci.

de rien de rien, je crois qu'il faut se trouver à la racine de tes
sources du noyau pour que ça marche mais toujours si mes souvenir sont
bon  sinon, avec la technique de Xavier ça me parait encore plus
simple :))

a+ Tom

-- 
Thomas Clavier   http://www.tcweb.dyndns.org  .  .''`. 
Centre d'expertise RGO. : :' : 
Adventec Lille. `. `   
+33 3 20 18 53 02 - +33 6 09 25 59 67 .   `- Debian



Re: Comment utiliser les packages kernel-patches ?

2002-09-05 Thread Gregory SIMON
On Thu, 2002-09-05 at 15:12, CAPRON Romain wrote:
 Bonjour,

Bonjour,

 j'ai déja posté quelquechose à ce sujet mais, apparement, personne n'a su me
 répondre...
 Une fois un package du type kernel-patche installé, il place le patche dans
 /usr/src/patches.
 Mais comment patcher les sources de mon noyau installée dans
 /usr/src/linux-2.4.19 sans passer par la commande explicite patch ?
 Quel est la méthode recommandée par Debian ?

Voici une petite partie de /usr/share/doc/kernel-patch-debianlogo :

For generic instructions on using those patches, see
make-kpkg(8), its --added-patches option, and its PATCH_THE_KERNEL
environment variable.

(J'ai l'impression de me repeter ;-)

A+

 
 Merci d'avance,
 
 CAPRON Romain



signature.asc
Description: This is a digitally signed message part


kernel patches

2002-04-25 Thread Richard Kimber
I am reading up about Debian prior to installing 3.0 when it comes out.
(I'm moving over from Mandrake).
I'd be grateful if someone could point me to a document that explains the
nature of the kernel that is installed in the first instance and which
patches have been applied.  I'd like to work out in advance what the
kernel differences with Mandrake are likely to be, and find out whether I
shall have to recompile immediately, and which patches I'll need to apply
(e.g. will it already have supermount?).

Thanks,
- Richard.
-- 
Richard Kimber
Political Science Resourceshttp://www.psr.keele.ac.uk/

UK-Euro FAQ  http://www.psr.keele.ac.uk/docs/efaq.htm


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Where to find Debian kernel patches?

2001-11-13 Thread Osamu Aoki
On Mon, Nov 12, 2001 at 08:07:33PM -0800, Jeremy Zawodny wrote:
 There's s README.Debian file in the kernel-source packages which lists
 a variety of patches that have been applied to the source.
 
 Where can I find those patches?
I always wondered but never track down.  So I did.

After adding deb-src lines in /etc/apt/sources.list

# apt-get source kernel-source-2.x.y

Or browse through debian ftp site and download from /pool (with midnight
commander) and *.orig.gz *.dsc *.diff and play with dpkg-source -x 

This .diff is combined patch.  Unlike mc and glibc package, kernel does
not use indivisual package approoch but uses combined one which is
standard in debian  ;-)

-- 
~\^o^/~~~ ~\^.^/~~~ ~\^*^/~~~ ~\^_^/~~~ ~\^+^/~~~ ~\^:^/~~~ ~\^v^/~~~ 
+  Osamu Aoki [EMAIL PROTECTED], GnuPG-key: 1024D/D5DE453D  +
+  My debian quick-reference, http://www.aokiconsulting.com/quick/+



Where to find Debian kernel patches?

2001-11-12 Thread Jeremy Zawodny
There's s README.Debian file in the kernel-source packages which lists
a variety of patches that have been applied to the source.

Where can I find those patches?

Jeremy
-- 
Jeremy D. Zawodny |  Perl, Web, MySQL, Linux Magazine, Yahoo!
[EMAIL PROTECTED]  |  http://jeremy.zawodny.com/



Kernel-Package, Kernel-Patches, lots of questions

2001-06-09 Thread Marc Haber
Hi,

kernel-package supports kernel patches, as I learned short time ago.
But IMO, it lacks the documentation for this.

If i understand correctly:
- patches go into /usr/src/kernel-patches/$arch/$version/apply.
- If PATCH_THE_KERNEL is set, patches are automatically applied on 
make-kpkg.

But here are some questions:
(1)
How are patches handled that create new config options in the kernel
config? When make-kpkg runs, kernel config usually is already finished
- how am I supposed to activate the new options?

(2)
How can I choose which patches are to be applied? Are all patches
applied without me having a chance to choose?

(3)
Can I see in the created .deb which patches have been applied?

(4)
Can patches be put elsewhere than in /usr/src/kernel-patches?

(5)
Where is the documentation about module-hooks mentioned in
kernel-package(5)?

Greetings
Marc

-- 
-- !! No courtesy copies, please !! -
Marc Haber  |Questions are the | Mailadresse im Header
Karlsruhe, Germany  | Beginning of Wisdom  | Fon: *49 721 966 32 15
Nordisch by Nature  | Lt. Worf, TNG Rightful Heir | Fax: *49 721 966 31 29



Re: Applying kernel patches

2001-03-25 Thread Carlos Laviola

On 24-Mar-2001 Nate Amsden wrote:
 Hall Stevenson wrote:
 
 I apologize that this isn't directly Debian-related, but I know there
 are some people around who probably know the answer...
 
 I'm currently running kernel 2.4.2-ac20. I just downloaded the patch for
 2.4.2-ac24. My question is, can I apply this patch against my current
 source tree (2.4.2-ac20) ??
 
 When I applied the ac20 patch, I did it against a 2.4.2 tree.
 
 i don't beleive so, you need to patch it against a plain 2.4.2. this is
 (i imagine) so if you want patch ac24 you don't have to do 24 patches
 to get to that level.

patch -p1 -R  patch-2.4.2-ac20
then
patch -p1  patch-2.4.2-ac24

All ac patches are made against the vanilla kernel they refer to - that means
that you have to unpatch the older ones in order to patch the vanilla kernel
with new ones. BTW, following ac is 100% insane :)

 
 nate
 
 
 -- 
:::
 ICQ: 75132336
 http://www.aphroland.org/
 http://www.linuxpowered.net/
 [EMAIL PROTECTED]
 
 
 -- 
 To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]

-- 
Carlos Laviola - ICQ 55799523
pub  1024D/3516D372 2000-06-05 Carlos Laviola [EMAIL PROTECTED]
 Key fingerprint = 3BE1 6591 C78C 2AA4 31DD  AEEF 6406 0227 3516 D372



pgpawn8NEwWhp.pgp
Description: PGP signature


Re: Applying kernel patches

2001-03-25 Thread Hall Stevenson
* Carlos Laviola ([EMAIL PROTECTED]) [010325 07:03]:
 
 On 24-Mar-2001 Nate Amsden wrote:
  Hall Stevenson wrote:
  
  I apologize that this isn't directly Debian-related, but I know there
  are some people around who probably know the answer...
  
  I'm currently running kernel 2.4.2-ac20. I just downloaded the patch for
  2.4.2-ac24. My question is, can I apply this patch against my current
  source tree (2.4.2-ac20) ??
  
  When I applied the ac20 patch, I did it against a 2.4.2 tree.
  
  i don't beleive so, you need to patch it against a plain 2.4.2. this is
  (i imagine) so if you want patch ac24 you don't have to do 24 patches
  to get to that level.
 
 patch -p1 -R  patch-2.4.2-ac20
 then
 patch -p1  patch-2.4.2-ac24
 
 All ac patches are made against the vanilla kernel they refer to - that means
 that you have to unpatch the older ones in order to patch the vanilla kernel
 with new ones. BTW, following ac is 100% insane :)

Understand ... that's what I ended up doing since I saw that I still had
a tar.gz package of the vanilla 2.4.2 source. 

As for following Alan Cox's patches, I've had no problems myself ;-)
Then again, this is just my home PC and I don't have any special
requirements with it. Ultimately, I'm hoping to solve the problem of not
being able to use console while X is running. With the stock MGA driver,
my console fonts are terribly corrupt -- very blocky and huge. With
Matrox's MGA driver (or is it the kernel's SVGA driver ??), the fonts
are very square and blue in color.

At this point, I've removed framebuffer support for the 2.4.2-ac24
kernel (but haven't rebooted yet to see what happens). And yes, I know
that framebuffer support is *experimental*.

Regards and thanks
Hall



Applying kernel patches

2001-03-24 Thread Hall Stevenson

I apologize that this isn't directly Debian-related, but I know there
are some people around who probably know the answer...

I'm currently running kernel 2.4.2-ac20. I just downloaded the patch for
2.4.2-ac24. My question is, can I apply this patch against my current
source tree (2.4.2-ac20) ?? 

When I applied the ac20 patch, I did it against a 2.4.2 tree.

Thanks in advance
Hall



Re: Applying kernel patches

2001-03-24 Thread Nate Amsden
Hall Stevenson wrote:
 
 I apologize that this isn't directly Debian-related, but I know there
 are some people around who probably know the answer...
 
 I'm currently running kernel 2.4.2-ac20. I just downloaded the patch for
 2.4.2-ac24. My question is, can I apply this patch against my current
 source tree (2.4.2-ac20) ??
 
 When I applied the ac20 patch, I did it against a 2.4.2 tree.

i don't beleive so, you need to patch it against a plain 2.4.2. this is
(i imagine) so if you want patch ac24 you don't have to do 24 patches
to get to that level.

nate


-- 
:::
ICQ: 75132336
http://www.aphroland.org/
http://www.linuxpowered.net/
[EMAIL PROTECTED]



Kernel patches (Was: make-kpkg question)

2000-12-15 Thread Peter Hugosson-Miller
 you definitely do not want use the patches for 2.2.18 with any
 other kernel, unless you really know what you are doing (you
 would have to make sure that the files that the patch changes
 are unchanged between 2.2.18 and whatever you will use).

This brings up another question: According to what I understand
from the docs, if I already have the original 2.2.17 source
(apt-get kernel-source-2.2.17), then I can download the newest
patch-2.2.18-pre* from kernel.org and use it to get the latest
2.2.18 kernel source tree.

Is this correct, and if so, would I then be able to add patches
that are intended for 2.2.18 kernels on top of the resulting
source tree, and so on, and so on?

It's just that a complete kernel source tree is ip to 15 Megs
nowadays, whereas the patches are only 2.5 Megs. If the results
are the same, then its obviously preferable to save bandwidth
(not to mention download time), and use the patches instead.

--
Cheers
   .~.
   /V\
  // \\
 /(   )\
  ^`~´^
 hugge 



Re: Kernel patches (Was: make-kpkg question)

2000-12-15 Thread Alson van der Meulen
On Fri, Dec 15, 2000 at 01:50:34PM +0100, Peter Hugosson-Miller wrote:
  you definitely do not want use the patches for 2.2.18 with any
  other kernel, unless you really know what you are doing (you
  would have to make sure that the files that the patch changes
  are unchanged between 2.2.18 and whatever you will use).
 
 This brings up another question: According to what I understand
 from the docs, if I already have the original 2.2.17 source
 (apt-get kernel-source-2.2.17), then I can download the newest
 patch-2.2.18-pre* from kernel.org and use it to get the latest
 2.2.18 kernel source tree.
 
 Is this correct, and if so, would I then be able to add patches
 that are intended for 2.2.18 kernels on top of the resulting
 source tree, and so on, and so on?
 
 It's just that a complete kernel source tree is ip to 15 Megs
 nowadays, whereas the patches are only 2.5 Megs. If the results
 are the same, then its obviously preferable to save bandwidth
 (not to mention download time), and use the patches instead.
The kernel-source-2.2.17 in potato is some pre kernel, iirc, the one
in woody should be the final, but check it before attempting to apply
2.2.18 patch (no pre anymore, 2.2.18 is released).
-- 
,---.
 Name:   Alson van der Meulen  
 Personal:   [EMAIL PROTECTED]   
 School:   [EMAIL PROTECTED]
`---'
Go get your backup tape. (You do ha a backup tape?)
-



kernel patches

2000-07-22 Thread Art Edwards
I'm sure this is an old question, but I have found browsing the list
archives daunting. I'm attempting to build a new 2.2.15-ide kernel from
2.2.15 sources. I have found the ide patch. I downloaded it into /root
and used dpkg to install it. Is it now applied to the 2.2.15 source
tree? If not, what do I do to apply it? Finally, do I need to rerun make
xconfig after the patch?

Thanks


-- 
Arthur H. Edwards
712 Valencia Dr. NE
Abq. NM 87108

(505) 256-0834



Re: kernel patches

2000-07-22 Thread Jos Lemmerling
On Sat, 22 Jul 2000, Art Edwards wrote:

 I'm sure this is an old question, but I have found browsing the list
 archives daunting. I'm attempting to build a new 2.2.15-ide kernel from
 2.2.15 sources. I have found the ide patch. I downloaded it into /root
 and used dpkg to install it. Is it now applied to the 2.2.15 source
 tree? If not, what do I do to apply it? Finally, do I need to rerun make
 xconfig after the patch?
 
 Thanks

Sorry, no answers but more questions...
I downloaded the next patch (kernel-patch-2.2.15-ide_2405-1.deb)
and i was wondering if this patch includes previous patches.
Eg.
To use the Onstream DI30, Onstream provided a patch called 
ide_2_2_15.2124.patch.gz . Is this patch also ``added'' if i install
the debian-patch ??

TIA 
Jos Lemmerling



How to auto-apply kernel patches

1999-11-29 Thread ferret

I would have thought this were explained better..
I have kernel-package installed and have kernel source for 2.2.13 and the
kerneli package installed. The documentation for kernel-package states
that make-kpkg can apply the patches during build, then remove them during
clean. What I can't figure out is how I use kernel-package to configure
the kernel WITH the patches applied. is it meant to do that?

-- Ferret no baka



Re: Kernel patches needed for running Informix Dynamic Server Linux Edition

1999-05-15 Thread Adam Di Carlo
F. Fernandez [EMAIL PROTECTED] writes:
 I'd like to know where can I find the patches to recompile the kernel
 2.0.36 and/or 2.2.x so that the system supports more open files.
 
 [...]They also say that the 2.2.5 that comes with
 RH6.0 already has been patched to work with Informix and Oracle.
 
 Are those patches available in Debian? If not, anyone knows where
 to find them?

Pretty much any linux kernel works with Debian.  We provide images to
get people started but you don't have to run a stock Debian kernel
image to run Debian.  By no means.

In some cases, we provid kernel patch packages to solve problems,
generally, patches required for certain architectures.

I guess, basically, we just don't feel the need to provide this
functionality by default, since most people don't need it, and if you
do need it, tweaking the kernel and patching is so easy there's no
reason to provide a package.

I suggest you just

 . get the kernel-source package, or download sources from kernel.org
 or whereever you like to get kernel sources

 . ferret out the proper kernel patch for whatever kernel you are
running (I think it's just a tweak to an include file), then

 . use kernel-package to compile a new kernel

Voila.

--
.Adam Di [EMAIL PROTECTED]URL:http://www.onShore.com/


Kernel patches needed for running Informix Dynamic Server Linux Edition

1999-05-11 Thread F. Fernandez
Hi all!

I'm posting this message in debian-user and debian-testing since
it relates both to slink and to potato so excuse me if you 
get it twice.

I'd like to know where can I find the patches to recompile the kernel
2.0.36 and/or 2.2.x so that the system supports more open files.

I'm trying to install Informix IDS Linux Edition on a pair of
Debian systems (one with slink and other with potato) and the
database server breaks. People at Informix and other users say 
that some patches are needed and point me to a RedHat URL that
are useless to me. They also say that the 2.2.5 that comes with
RH6.0 already has been patched to work with Informix and Oracle.

Are those patches available in Debian? If not, anyone knows where
to find them?

Thanks in advance,

Fernando
-- 
Fernando Fernandez
http://despodata.pt/ddata/pessoal/ferdez.htm


Re: Kernel patches needed for running Informix Dynamic Server Linux Edition

1999-05-11 Thread J.H.M. Dassen
On Tue, May 11, 1999 at 12:02:56 +0100, F. Fernandez wrote:
 I'm posting this message in debian-user and debian-testing since it
 relates both to slink and to potato so excuse me if you get it twice.

At the moment, debian-user is the appropriate list for both slink and
potato. debian-testing is for pre-release testing, in particular during a
code freeze.

 I'd like to know where can I find the patches to recompile the kernel
 2.0.36 and/or 2.2.x so that the system supports more open files.

I've looked around at http://www.linuxhq.com/ but can't see them. I vaguely
recall that in 2.2.x, this type of resource should be configurable through a
/proc interface (/proc/sys/fs/file-nr ?).

 People at Informix and other users say that some patches are needed and
 point me to a RedHat URL that are useless to me. They also say that the
 2.2.5 that comes with RH6.0 already has been patched to work with Informix
 and Oracle.

Please provide that URL. It may well be useful to help us look for what you
need.

 Are those patches available in Debian?

Usually distributions don't tweak the kernel nearly as much as they do
regular programs, so I would be extremely surprised if these patches
wouldn't work on Debian.

In any case, the Red Hat kernel sources are readily available (e.g.
ftp://sunsite.org.uk:/pub/packages/redhat/redhat-6.0/SRPMS/SRPMS/kernel-2.2.5-16.src.rpm).
fakeroot alien --to-tgz kernel-2.2.5-16.src.rpm gives a .tar.gz for them,
containing these patches:
aic7xxx-5.1.15-2.2.5.patch.gz i386-2.2.3-compression.patch ibcs-2.1-rh.patch
kernel-2.2.6-alpha.patch kernel-2.2.6-ftruncate.patch
kernel-2.2.6-mmap.patch kernel-2.2.6-shm.patch kernel-2.2.6-x86.patch
linux-2.2.3-tlan.patch linux-2.2.4-DAC960.patch linux-2.2.5-aarp.patch
linux-2.2.5-accessSuSv2.patch linux-2.2.5-alan.patch linux-2.2.5-alan2.patch
linux-2.2.5-alpha-smp.patch linux-2.2.5-alpha.patch
linux-2.2.5-alphasem.patch linux-2.2.5-dac960include.patch
linux-2.2.5-defrag.patch linux-2.2.5-networking.patch
linux-2.2.5-nohang.patch linux-2.2.5-pci2000.patch
linux-2.2.5-raid-0.90-B.patch linux-2.2.5-ramdisk.patch
linux-2.2.5-silly.patch linux-2.2.5-sparc.patch
linux-2.2.5-sparc64-aic.patch linux-2.2.5-tokenring.patch
linux-2.2.6-nbd.patch nfsd-2.2.5-1.patch nfsd-2.2.5-file.patch
pcmcia-cs-3.0.9-script.patch smart2-0.9.9-for-2.2.3.patch

Unfortunately, there is no obvious patch that deals with the number of open
file descriptors.

Ray
-- 
ART  A friend of mine in Tulsa, Okla., when I was about eleven years old. 
I'd be interested to hear from him. There are so many pseudos around taking 
his name in vain. 
- The Hipcrime Vocab by Chad C. Mulligan 


Kernel patches

1999-03-14 Thread Doug Dine
Hi,

Where can I download patches for the Linux kernel? I have 2.0.36
currently and am seeing that everyone else has 2.2.x

Thanks.

Doug Dine

[EMAIL PROTECTED]
http://members.xoom.com/dougdine
http://members.xoom.com/loveless


NetZero - We believe in a FREE Internet.  Shouldn't you?
Get your FREE Internet Access and Email at
http://www.netzero.net/download.html


Re: Kernel patches

1999-03-14 Thread Alec Smith
http://www.kernel.org and look at the mirror list for latest versions.



On Sun, 14 Mar 1999, Doug Dine wrote:

 Hi,
 
 Where can I download patches for the Linux kernel? I have 2.0.36
 currently and am seeing that everyone else has 2.2.x
 
 Thanks.
 
 Doug Dine
 
 [EMAIL PROTECTED]
 http://members.xoom.com/dougdine
 http://members.xoom.com/loveless
 
 
 NetZero - We believe in a FREE Internet.  Shouldn't you?
 Get your FREE Internet Access and Email at
 http://www.netzero.net/download.html
 
 
 -- 
 Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED]  /dev/null
 
 


Re: Kernel patches

1999-03-14 Thread John Galt

AFAIK there's no patch path through the 2.0.x - 2.2.x barrier.  You
could try to install the kernel-source package of the kernel you wish to
upgrade to, or you could get the raw source from ftp.kernel.org, the
official site.

On Sun, 14 Mar 1999, Doug Dine wrote:

 Hi,
 
 Where can I download patches for the Linux kernel? I have 2.0.36
 currently and am seeing that everyone else has 2.2.x
 
 Thanks.
 
 Doug Dine
 
 [EMAIL PROTECTED]
 http://members.xoom.com/dougdine
 http://members.xoom.com/loveless
 
 
 NetZero - We believe in a FREE Internet.  Shouldn't you?
 Get your FREE Internet Access and Email at
 http://www.netzero.net/download.html
 
 
 -- 
 Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED]  /dev/null
 

Pardon me, but you have obviously mistaken me for someone who gives a
damn.
email [EMAIL PROTECTED]


Applying kernel patches

1999-01-22 Thread Bob Nielsen
I have the source for 2.2.0-pre2 and all the patches up to pre9.  When I
try to apply these patches with patch-kernel, I just get the result

Current kernel version is 2.2.0

I assume this is because the patch-kernel script won't handle the 'preX'
suffix.  It there a patch anywhere for the patch script?

Bob


Bob Nielsen Internet: [EMAIL PROTECTED]
Tucson, AZ  AMPRnet:  [EMAIL PROTECTED]
DM42nh  http://www.primenet.com/~nielsen


Re: Applying kernel patches

1999-01-22 Thread Ben Collins
On Fri, Jan 22, 1999 at 10:34:26AM -0700, Bob Nielsen wrote:
 I have the source for 2.2.0-pre2 and all the patches up to pre9.  When I
 try to apply these patches with patch-kernel, I just get the result

 Current kernel version is 2.2.0
 
 I assume this is because the patch-kernel script won't handle the 'preX'
 suffix.  It there a patch anywhere for the patch script?

Try this:

cd /usr/src
zcat patch-2.2.0-pre3.gz | patch -p0
(or)
cat patch-2.2.0-pre3 | patch -p0
(do this for each pre patch, starting from the lowest number)

Afterwards you will have a fully patched up pre9 source :)

-- 
--- -  -   ---  -  - - ---   
Ben Collins [EMAIL PROTECTED]  Debian GNU/Linux
UnixGroup Admin - Jordan Systems Inc. [EMAIL PROTECTED]
-- -- - - - ---   --- -- The Choice of the GNU Generation


Kernel patches

1998-01-26 Thread Mario Filipe
Hi

Can someone please point the place where i can get the kernel patches for the
via motherboard ?

thanks
---
Mario Filipe
[EMAIL PROTECTED]
http://neptuno.sc.uevora.pt/~mjnf


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Cyrix kernel patches

1997-09-30 Thread Will Lowe
I'm searching for the patches to the 2.0.30 kernel that enable the Cyrix
166+ chips to function as Pentiums instead of unknown 486s.  Now that
linuxhq.com is gone,  I don't know where to look.  

Any suggestions?

sunsite just has a bunch of patch#.tar.gz files;  no clue what's for what.

Thanks.

Will

[EMAIL PROTECTED]
   [EMAIL PROTECTED]
http://www.cis.udel.edu/~lowe/
*
Good Idea:  Feeding Stray Cats in the Park.
Bad Idea:   Feeding Stray Cats in the park ... to a bear.
* 


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .