Skip to contentSkip to conversation

using bug reports on vendor kernels

DISCUSSION Oliver Neukum 7 participants 11 messages Aug 9, 2001 – Aug 10, 2001

lore
Share & tools
lore
#0 lore raw

Hi,

is there a site that would allow me to browse a list of patches added to vendor kernels (esp. RedHat). I need this to use an oops supplied by a user.

TIA
Oliver

#1 lore raw
Quoted 2 lines · In article <01080923020201.04501@idun> you wrote:

is there a site that would allow me to browse a list of patches added to vendor kernels (esp. RedHat). I need this to use an oops supplied by a user.

I mostly documented the patches in the Red Hat Linux 7.1 default kernel (2.4.2-2) at

http://people.redhat.com/arjanv/patches.html

But as this was a fair amount of work which nobody seemed to want, I haven't actually finished nor done the same for later released kernels....

Greetings,
Arjan van de Ven

#2 lore raw
In reply to Oliver Neukum
Quoted 2 lines · Oliver

is there a site that would allow me to browse a list of patches added to vendor kernels (esp. RedHat). I need this to use an oops supplied by a user.

You _should_ be able to simply get the RedHat source RPM, and have a look at the various patches that are applied to the base Linus kernel. At least that is how the Turbolinux and SuSE kernels are built (haven't looked at a RedHat kernel in a while, but I expect the same). Granted, some of the patch names are not exactly self explanitory (e.g. jumbo patches like -ac or -aa, which have their own documentation somewhere, often l-k).

Cheers, Andreas

Signature · 3 lines
Andreas Dilger  \ "If a man ate a pound of pasta and a pound of antipasto,
                 \  would they cancel out, leaving him still hungry?"
http://www-mddsp.enel.ucalgary.ca/People/adilger/               -- Dogbert
#3 lore raw

Am Donnerstag, 9. August 2001 23:31 schrieben Sie:

Quoted 11 lines
Quoted 3 lines · Oliver

is there a site that would allow me to browse a list of patches added to vendor kernels (esp. RedHat). I need this to use an oops supplied by a user.

You _should_ be able to simply get the RedHat source RPM, and have a look at the various patches that are applied to the base Linus kernel. At least that is how the Turbolinux and SuSE kernels are built (haven't looked at a RedHat kernel in a while, but I expect the same). Granted, some of the patch names are not exactly self explanitory (e.g. jumbo patches like -ac or -aa, which have their own documentation somewhere, often l-k).

It might do so. However the speed of my internet connectivity would make this a very, very slow task.
And the day after having completed that I'd be bound to get a bug report from a Mandrake user.

Regards
Oliver

#4 lore raw
In reply to Andreas Dilger
Quoted 4 lines · Oliver Neukum

It might do so. However the speed of my internet connectivity would make this a very, very slow task.
And the day after having completed that I'd be bound to get a bug report from a Mandrake user.

It sounds like you want an {ftp,http,...} server that allows you to look transparently into archives like zip, tar, cpio, rpm, etc. Do any of the standard ones do this? (ftp certainly can *create* .tar.)

Just don't ask for it in the kernel ...

[ducks under desk :-)]

Regards,

Bill Rugolsky

#6 lore raw
In reply to Oliver Neukum
Quoted 5 lines · On Thu, Aug 09, 2001 at 10:15:08PM +0100, [email protected] wrote:
Quoted 2 lines · In article <01080923020201.04501@idun> you wrote:

is there a site that would allow me to browse a list of patches added to vendor kernels (esp. RedHat). I need this to use an oops supplied by a user.

Quoted 7 lines

I mostly documented the patches in the Red Hat Linux 7.1 default kernel (2.4.2-2) at

http://people.redhat.com/arjanv/patches.html

But as this was a fair amount of work which nobody seemed to want, I haven't actually finished nor done the same for later released kernels....

The real question is why not include the documentation with the patch? As Linus will probably tell you, patch is pretty smart about stripping out stray commentary, e.g.,

patch -p1 < ~/mail/apply

Regards,

Bill Rugolsky

#7 lore raw
In reply to Oliver Neukum
Quoted 6 lines · Bill Rugolsky Jr.

The real question is why not include the documentation with the patch? As Linus will probably tell you, patch is pretty smart about stripping out stray commentary, e.g.,

patch -p1 < ~/mail/apply

Doesn't help the people who don't want to look at all the patches but just want an overview.... and the spec file where the patches are applied does have (mostly 1 liners) documentation.

#8 lore raw
In reply to Oliver Neukum
Quoted 6 lines · Arjan van de Ven
Quoted 4 lines · Bill Rugolsky Jr.

The real question is why not include the documentation with the patch? As Linus will probably tell you, patch is pretty smart about stripping out stray commentary, e.g.,

Quoted 6 lines
Quoted 2 lines

patch -p1 < ~/mail/apply

Doesn't help the people who don't want to look at all the patches but just want an overview.... and the spec file where the patches are applied does have (mostly 1 liners) documentation.

Well, my point is that the person creating the patch or adding it to the kernel should document it, thereby distributing the work. If formatted as a standard header, one could pull it all out with a favorite text processing tool, sed ... perl, and put it in a file, in say /usr/share/doc/kernel*/rh-patch-descriptions. :-)

Regards,

Bill Rugolsky

#9 lore raw
In reply to Oliver Neukum
Quoted 7 lines · Oliver Neukum

Hi,

is there a site that would allow me to browse a list of patches added to vendor kernels (esp. RedHat). I need this to use an oops supplied by a user.

TIA
Oliver

All of Red Hat's kernel SRPMs are available via FTP from ftp.redhat.com. Basically they start with a stock kernel, add a decent -acXX, apply vendor-specific drivers, and then any cleanups that exist or they wrote.

Signature · 1 line
Ignacio Vazquez-Abrams  <[email protected]>
#10 lore raw
In reply to Oliver Neukum

On Thu, Aug 09, 2001 at 10:46:35PM +0100, you [Arjan van de Ven] claimed:

Quoted 6 lines · Bill Rugolsky Jr.
Quoted 5 lines

The real question is why not include the documentation with the patch? As Linus will probably tell you, patch is pretty smart about stripping out stray commentary, e.g.,

Quoted 6 lines
Quoted 2 lines

patch -p1 < ~/mail/apply

Doesn't help the people who don't want to look at all the patches but just want an overview.... and the spec file where the patches are applied does have (mostly 1 liners) documentation.

I proposed this before, but what about having one standard PATCHES file in the kernel source tree, with all the applied pathes would touch

After having built a kernel, I could come back after months and see at one glance what patches I (or somebody else) had applied and in what order.

Something like

cat PATCHES
+++++++++++++++++
patch: ac5
summary: Alan Cox kernel patch collection
url: ftp://ftp.kernel.org/pub/linux/kernel/people/alan/2.2
date: 05.04.2001
email: [email protected]
+++++++++++++++++
patch: ide-04052001
summary: Hedrick IDE patch
url: ftp://ftp.kernel.org/pub/linux/kernel/people/hedrick/2.2
date: 05.04.2001
email: [email protected]
+++++++++++++++++
patch: proconfig
summary: /proc .config support
url: http://www.it.uc3m.es/~ptb/proconfig/
date: 06.08.2000
email: [email protected]

etc etc. Every applied patch would append its info to that file. I'm not sure, though, how that could be accomplished with patch, but if anything else fails, PATCHES/-directory might do the job. Although then you lose the apply order information.

And the compiled kernel could automagically have 2.2.18-ac5+ide-04052001+proconfig suffix (if that's feasible - it could become quite long.)

-- v --

[email protected]