Skip to contentSkip to conversation

parisc-linux.org kernel

parisc-linux Alexander Gabert 5 participants 13 messages Apr 8, 2003 – Apr 10, 2003

lore
Share & tools
lore
#0 lore raw

hello

another question:

can you tell me the exact difference between:
www.kernel.org - linux-2.4.20 www.parisc-linux.org - parisc-linux-kernel-2.4.20-pa32

if there is no technical reason in keeping those kernel devels apart, why is it done?

it is important for me to get a working mainstream vanilla kernel.org. i heard that this kernel does not even boot...

thank you,

Alex

Signature · 6 lines
"... an experienced, industrious, ambitious, and often quite often
picturesque liar."
                -- Mark Twain

pub  1024/05E1A80C 2001/12/16 Alexander Gabert (http://nikita.ath.cx) <[email protected]>
          Key fingerprint =  2D 84 B0 CB F5 67 8A 22  8D 37 6E 6B 8A 3B 7F D6  05 E1 A8 0C
#1 lore raw
Quoted 3 lines · Alexander Gabert

can you tell me the exact difference between:
www.kernel.org - linux-2.4.20 www.parisc-linux.org - parisc-linux-kernel-2.4.20-pa32

a huge patch.

Quoted 2 lines

if there is no technical reason in keeping those kernel devels apart, why is it done?

because they're serving different needs.

Quoted 2 lines

it is important for me to get a working mainstream vanilla kernel.org. i heard that this kernel does not even boot...

it doesn't even compile.

Signature · 3 lines
"It's not Hollywood.  War is real, war is primarily not about defeat or
victory, it is about death.  I've seen thousands and thousands of dead bodies.
Do you think I want to have an academic debate on this subject?" -- Robert Fisk
#3 lore raw
In reply to Alexander Gabert
Quoted 7 lines · Alexander Gabert

i am asking because of www.grsecurity.net

i am tired defeating hunks they are putting in because they work in arch/parisc on the vanilla kernel.org kernel.

can't you talk to them and convince them to use "our" parisc-linux image for the grsecurity parisc patches in the future?

perhaps you should talk to them. tell them to work against the patches in http://www.kernel.org/linux/kernel/ports/parisc/v2.4/

Quoted 4 lines

if it would only be a matter of months when both kernels merge, it would not be necessary.
but i don`t want to spend my time messing with patches when i can do better things ...

bits and pieces are being merged from the parisc tree into marcelo's tree, but it's just not worth fighting to get this stuff merged. we're mostly merged for 2.5 and i'd rather spend my time working on that.

Signature · 3 lines
"It's not Hollywood.  War is real, war is primarily not about defeat or
victory, it is about death.  I've seen thousands and thousands of dead bodies.
Do you think I want to have an academic debate on this subject?" -- Robert Fisk
#2 lore raw
In reply to Matthew Wilcox

i am asking because of www.grsecurity.net

i am tired defeating hunks they are putting in because they work in arch/parisc on the vanilla kernel.org kernel.

can't you talk to them and convince them to use "our" parisc-linux image for the grsecurity parisc patches in the future?

the PaX pageexec folks are also hanging in there...

it would be very good to have a working security hardening patch for parisc-linux. at least one.

if it would only be a matter of months when both kernels merge, it would not be necessary.
but i don`t want to spend my time messing with patches when i can do better things ...

thank you,

bye,

Alex

Quoted 21 lines · Matthew Wilcox
Quoted 3 lines · Alexander Gabert

can you tell me the exact difference between:
www.kernel.org - linux-2.4.20 www.parisc-linux.org - parisc-linux-kernel-2.4.20-pa32

a huge patch.

Quoted 2 lines

if there is no technical reason in keeping those kernel devels apart, why is it done?

because they're serving different needs.

Quoted 2 lines

it is important for me to get a working mainstream vanilla kernel.org. i heard that this kernel does not even boot...

it doesn't even compile.

Signature · 3 lines
"It's not Hollywood.  War is real, war is primarily not about defeat or
victory, it is about death.  I've seen thousands and thousands of dead bodies.
Do you think I want to have an academic debate on this subject?" -- Robert Fisk
Signature · 6 lines
"... an experienced, industrious, ambitious, and often quite often
picturesque liar."
                -- Mark Twain

pub  1024/05E1A80C 2001/12/16 Alexander Gabert (http://nikita.ath.cx) <[email protected]>
          Key fingerprint =  2D 84 B0 CB F5 67 8A 22  8D 37 6E 6B 8A 3B 7F D6  05 E1 A8 0C
#4 lore raw
In reply to Matthew Wilcox
Quoted 2 lines · Matthew Wilcox

bits and pieces are being merged from the parisc tree into marcelo's tree, but it's just not worth fighting to get this stuff merged.

If anyone is interested in "fighting" to merge the outstanding parisc linux changes, I can help a bit. I just don't have as much time these days...hopefully more this summer.

To willy's credit, he's attempted to merge 2.4 parisc changes upstream at least twice but was torpedo'd both times.

Quoted 2 lines

we're mostly
merged for 2.5 and i'd rather spend my time working on that.

me too - I'd rather see you working on something you care about. I'm very happy to see you (and several others) taking good care of 2.5. And I think it's a bit much for anyone to do both - that's mostly why I *haven't* been doing much with 2.5.

thanks,
grant

#5 lore raw

hello from cold dark wet germany,

okay, after getting all the people together on one "desk", now here is the essential question to Brad and his team:
when will we have a 2.5.* Patch for grsecurity?

background:
Alan Cox and Matthew Wilcox wouldn`t mind if someone tries to merge both 2.4.*.
but i don`t mind if it takes 2 months or more until we have a kernel.org 2.5 patch that
a) the grsec patch applies without hunks on unified 2.5 parisc source
b) parisc-linux.org is then mainstreamed in 2.5 and will discontinue "split development"c) parisc-linux kernel _boots_ and _works_ and is _continued_ to be developed in _MAINSTREAM_ not in parisc-linux.org CVS
i want that to happen anyway. not just for grsec patches.
it is a sad joke that parisc-linux.org kernels are good and the kernel.org parisc source is just a silly excuse for not having the parisc-linux.org sources melt in. sorry for that.

Quoted 3 lines · Grant Grundler
Quoted 2 lines · Matthew Wilcox

bits and pieces are being merged from the parisc tree into marcelo's tree, but it's just not worth fighting to get this stuff merged.

right, in this stadium i can "oversee" the necessary patches:

i strip the nonparisc, multiplatform support away with a perl script, fiddle with about 3-4 hunks that have to be taken out because they already exist in parisc source (for example latest ptrace kernel exploit), another 6-10 "look at it and try to intelligently put it into the slightly different parisc source" and the rest is "make up" like double insertions, typos and the like :-)

Quoted 3 lines

If anyone is interested in "fighting" to merge the outstanding parisc linux changes, I can help a bit. I just don't have as much time these days...hopefully more this summer.

okay, i get you.

Quoted 2 lines

To willy's credit, he's attempted to merge 2.4 parisc changes upstream at least twice but was torpedo'd both times.

i don`t want to know ;-)

Quoted 2 lines
Quoted 2 lines

we're mostly
merged for 2.5 and i'd rather spend my time working on that.

okay, this basically means to wait for a 2.5.* grsec patch and in the meantime continue hacking in the grsec patches by hand, which is just what i would prefer as the way to go for the next months.

Quoted 7 lines

me too - I'd rather see you working on something you care about. I'm very happy to see you (and several others) taking good care of 2.5. And I think it's a bit much for anyone to do both - that's mostly why I *haven't* been doing much with 2.5.

thanks,
grant

with the help of the PaX team, yesterday i managed to get the 199f patch going on my 712, with all GRKERNSEC* options enabled but just a little PAGEEXEC "brute disabled routine" in binfmt_elf.c that inverses the behaviour of chpax -p, i will get into that later today when i come home.
http://nikita.ath.cx/users/pappy/grsec/199f/parisc-linux-2.4.20-pa32-grsecurity-1.9.9f-parisc-only.patch
thanks for your support and that you are dealing with this issue so friendly and open minded.

bye,

Alex

#6 lore raw
Quoted 8 lines · Alexander Gabert

background:
b) parisc-linux.org is then mainstreamed in 2.5 and will discontinue "split development"c) parisc-linux kernel _boots_ and _works_ and is _continued_ to be developed in _MAINSTREAM_ not in parisc-linux.org CVS
i want that to happen anyway. not just for grsec patches.
it is a sad joke that parisc-linux.org kernels are good and the kernel.org parisc source is just a silly excuse for not having the parisc-linux.org sources melt in. sorry for that.

No - you don't understand the roles of the various trees.

The CVS on parisc-linux.org will *always* be authoritative tree for parisc-linux. It should be considered a "developement" branch for kernel.org. This is true for nearly every architecture except i386 (and alpha?) which are maintained by issueing a patch against kernel.org.

Quoted 8 lines

right, in this stadium i can "oversee" the necessary patches:

i strip the nonparisc, multiplatform support away with a perl script, fiddle with about 3-4 hunks that have to be taken out because they already exist in parisc source (for example latest ptrace kernel exploit), another 6-10 "look at it and try to intelligently put it into the slightly different parisc source" and the rest is "make up" like double insertions, typos and the like :-)

Oh cool - so it's not as bad as I thought...can you run diffstat on the various "hunks" you've got?

Quoted 5 lines
Quoted 2 lines
Quoted 2 lines

we're mostly
merged for 2.5 and i'd rather spend my time working on that.

okay, this basically means to wait for a 2.5.* grsec patch and in the meantime continue hacking in the grsec patches by hand, which is just what

You hopefully won't have nearly the same problems as with 2.4. (grsec team working on stale arch/parisc code)

...

Quoted 5 lines

with the help of the PaX team, yesterday i managed to get the 199f patch going on my 712, with all GRKERNSEC* options enabled but just a little PAGEEXEC "brute disabled routine" in binfmt_elf.c that inverses the behaviour of chpax -p, i will get into that later today when i come home.
http://nikita.ath.cx/users/pappy/grsec/199f/parisc-linux-2.4.20-pa32-grsecurity-1.9.9f-parisc-only.patch

very cool.

Quoted 2 lines

thanks for your support and that you are dealing with this issue so friendly and open minded.

thanks too,
grant

#7 lore raw
In reply to Alexander Gabert
Quoted 3 lines

okay, after getting all the people together on one "desk", now here is the essential question to Brad and his team:
when will we have a 2.5.* Patch for grsecurity?

i can speak for the PaX part only, and the answer is that "i don't know". personally, i'll be interested in porting PaX to 2.6 when it's actually out and working stable (enough). but that's not the only limiting factor in our case, the several big changes to the linux VM make it absolutely not trivial to port PaX (huge page support, rmap, accounting, non-linear mappings, UML, etc). if you really need a timeframe, i'd say maybe in 6 months (give or take a few) i'll look at the situation again.

Quoted 4 lines
Quoted 2 lines

To willy's credit, he's attempted to merge 2.4 parisc changes upstream at least twice but was torpedo'd both times.

i don`t want to know ;-)

actually, i'd like to (feel free to answer off-list), since for all the other archs grsec/PaX runs on we could compile a working kernel from the vanilla tree - it just seems a mystery why parisc is an exception (not blaming anyone, just would like to see it more clear).

#8 lore raw
Quoted 4 lines · On Wed, Apr 09, 2003 at 07:23:15PM +0200, [email protected] wrote:

actually, i'd like to (feel free to answer off-list), since for all the other archs grsec/PaX runs on we could compile a working kernel from the vanilla tree - it just seems a mystery why parisc is an exception (not blaming anyone, just would like to see it more clear).

perhaps PaX doesn't support sparc32, m68k, arm, mips, mips64, ia64, s390, s390x or x86-64 since i know all those architectures have patches on top of the kernel.org tree.

Signature · 3 lines
"It's not Hollywood.  War is real, war is primarily not about defeat or
victory, it is about death.  I've seen thousands and thousands of dead bodies.
Do you think I want to have an academic debate on this subject?" -- Robert Fisk
#10 lore raw
In reply to [email protected]

Warning. If you reply to this message you get some arsehole reply from the mailing list software. I strongly recommend not working with this bunch of pricks who can't even run a mailing list.

On Wed, Apr 09, 2003 at 07:23:15PM +0200, [email protected] wrote:

Signature · 3 lines
"It's not Hollywood.  War is real, war is primarily not about defeat or
victory, it is about death.  I've seen thousands and thousands of dead bodies.
Do you think I want to have an academic debate on this subject?" -- Robert Fisk
#9 lore raw
In reply to Matthew Wilcox
Quoted 3 lines

perhaps PaX doesn't support sparc32, m68k, arm, mips, mips64, ia64, s390, s390x or x86-64 since i know all those architectures have patches on top of the kernel.org tree.

of the above sparc32 is supported right now (with the vanilla tree), ia64 and x86-84 could be supported (if we had the hw, and i don't know how well the vanilla tree works on them), for the rest there was either no interest so far or it's not possible (at least the non-exec pages, randomization is arch independent). anyway, once we get PaX on parisc to work, i think Alex will take care of the parisc-linux.org patches (he's already testing with that after all), so this won't be an issue.

#11 lore raw
In reply to [email protected]
Quoted 6 lines · On Wed, Apr 09, 2003 at 07:23:15PM +0200, [email protected] wrote:
Quoted 4 lines
Quoted 2 lines

To willy's credit, he's attempted to merge 2.4 parisc changes upstream at least twice but was torpedo'd both times.

i don`t want to know ;-)

actually, i'd like to (feel free to answer off-list),

Once the 2.4.20-preX bk tree that willy was using as "parent" was discarded by marcelo because of other bugs in patches. Or marcelo wouldn't accept the patch because he had a -pre candidate and didn't want to risk that. Just stuff like that.

Quoted 4 lines

since for all the
other archs grsec/PaX runs on we could compile a working kernel from the vanilla tree - it just seems a mystery why parisc is an exception (not blaming anyone, just would like to see it more clear).

As willy noted, parisc is not an exception. last time willy looked at merging, the 2.4 diff was something like 2 or 3MB. I'd hope it's a bit smaller since Alan Cox merge a bunch of stuff into his tree. But I haven't looked if/when Marcelo picked any of that up. For comparison, last I heard, the 2.5 diff is something like < 100KB.

grant

#12 lore raw
Quoted 6 lines · Grant Grundler
Quoted 1 line

actually, i'd like to (feel free to answer off-list),

Once the 2.4.20-preX bk tree that willy was using as "parent" was discarded by marcelo because of other bugs in patches. Or marcelo wouldn't accept the patch because he had a -pre candidate and didn't want to risk that. Just stuff like that.

And other people were patching things in the parisc-specific directories which conflicted with my patches ;-(

Quoted 5 lines

As willy noted, parisc is not an exception. last time willy looked at merging, the 2.4 diff was something like 2 or 3MB. I'd hope it's a bit smaller since Alan Cox merge a bunch of stuff into his tree. But I haven't looked if/when Marcelo picked any of that up. For comparison, last I heard, the 2.5 diff is something like < 100KB.

-rw-r--r-- 1 willy willy 202871 Apr 8 20:54 parisc-2.5.diff
although most of that is:
-rw-r--r-- 1 willy willy 170361 Mar 18 18:46 parisc-hil.diff

$ zcat ../ftp/cvs/patch-2.4.20-pa32.diff.gz |wc
  91100  503494 3691507

that's not the full story since a large chunk of that's been merged into 2.4.21-pre, but i have no idea how much would be remaining.

if anyone had the time, we could track 2.4.21-pre more closely. but it's just not worth it.

Signature · 3 lines
"It's not Hollywood.  War is real, war is primarily not about defeat or
victory, it is about death.  I've seen thousands and thousands of dead bodies.
Do you think I want to have an academic debate on this subject?" -- Robert Fisk