Re: + elf-loader-crash-while-zero-filling-bss.patch added to -mm tree

2008-02-14 Thread Abel Bernabeu
2008/2/13, Daniel Jacobowitz <[EMAIL PROTECTED]>: > On Wed, Feb 13, 2008 at 12:15:06AM -0800, [EMAIL PROTECTED] wrote: > > Subject: Elf loader crash while zero-filling .bss > > From: "Abel Bernabeu" <[EMAIL PROTECTED]> > > > > I've finally fo

Re: + elf-loader-crash-while-zero-filling-bss.patch added to -mm tree

2008-02-14 Thread Abel Bernabeu
2008/2/13, Daniel Jacobowitz [EMAIL PROTECTED]: On Wed, Feb 13, 2008 at 12:15:06AM -0800, [EMAIL PROTECTED] wrote: Subject: Elf loader crash while zero-filling .bss From: Abel Bernabeu [EMAIL PROTECTED] I've finally found a solution for the crash in load_binary_elf I reported last

Re: [Patch] Elf loader crash while zero-filling .bss

2008-02-11 Thread Abel Bernabeu
2008/2/11, Abel Bernabeu <[EMAIL PROTECTED]>: > I've finally found a solution for the crash in load_binary_elf I > reported last week: > > http://lkml.org/lkml/2008/1/30/171 > > The attached patch solves my problem, but please test it yourself... > > set_brk(start,

[Patch] Elf loader crash while zero-filling .bss

2008-02-11 Thread Abel Bernabeu
I've finally found a solution for the crash in load_binary_elf I reported last week: http://lkml.org/lkml/2008/1/30/171 The attached patch solves my problem, but please test it yourself... set_brk(start, end) allocs just page aligned regions (by "colapsing" both extremes to the start of the

Re: [Patch] Elf loader crash while zero-filling .bss

2008-02-11 Thread Abel Bernabeu
2008/2/11, Abel Bernabeu [EMAIL PROTECTED]: I've finally found a solution for the crash in load_binary_elf I reported last week: http://lkml.org/lkml/2008/1/30/171 The attached patch solves my problem, but please test it yourself... set_brk(start, end) allocs just page aligned regions

[Patch] Elf loader crash while zero-filling .bss

2008-02-11 Thread Abel Bernabeu
I've finally found a solution for the crash in load_binary_elf I reported last week: http://lkml.org/lkml/2008/1/30/171 The attached patch solves my problem, but please test it yourself... set_brk(start, end) allocs just page aligned regions (by colapsing both extremes to the start of the page

Fwd: Elf loader crash while zero-filling .bss

2008-02-08 Thread Abel Bernabeu
-- Forwarded message -- From: Abel Bernabeu <[EMAIL PROTECTED]> Date: 08-feb-2008 18:54 Subject: Re: Elf loader crash while zero-filling .bss To: Andreas Schwab <[EMAIL PROTECTED]> 2008/2/8, Andreas Schwab <[EMAIL PROTECTED]>: > "Abel Bernabeu&q

Re: Elf loader crash while zero-filling .bss

2008-02-08 Thread Abel Bernabeu
2008/1/31, Abel Bernabeu <[EMAIL PROTECTED]>: > 2008/1/30, Abel Bernabeu <[EMAIL PROTECTED]>: > > > Now I am trying to execute some bigger C applications: in instance > > BusyBox. I've chosen the buildroot package in order to produce a small > > "distro&quo

Fwd: Elf loader crash while zero-filling .bss

2008-02-08 Thread Abel Bernabeu
-- Forwarded message -- From: Abel Bernabeu [EMAIL PROTECTED] Date: 08-feb-2008 18:54 Subject: Re: Elf loader crash while zero-filling .bss To: Andreas Schwab [EMAIL PROTECTED] 2008/2/8, Andreas Schwab [EMAIL PROTECTED]: Abel Bernabeu [EMAIL PROTECTED] writes: The offset

Re: Elf loader crash while zero-filling .bss

2008-02-08 Thread Abel Bernabeu
2008/1/31, Abel Bernabeu [EMAIL PROTECTED]: 2008/1/30, Abel Bernabeu [EMAIL PROTECTED]: Now I am trying to execute some bigger C applications: in instance BusyBox. I've chosen the buildroot package in order to produce a small distro. Then I've tried to boot the system using init=/bin

Re: Fwd: brk randomization breaks columns

2008-02-04 Thread Abel Bernabeu
2008/2/4, Jiri Kosina <[EMAIL PROTECTED]>: > Abel, I actually don't think you have chance to have any issues with > randomization, as the mentioned post talks about 2.6.22.10, which doesn't > randomize the brk start at all. You are rigth, my kernel just randomizes stack top. I've got a bit sick

Re: Fwd: brk randomization breaks columns

2008-02-04 Thread Abel Bernabeu
2008/2/4, Pavel Machek <[EMAIL PROTECTED]>: > > > > > > > I still don't seem to fully understand what is happening here -- > > > > aparently this is triggerable only with old programs linked against > > > > libc.so.5, and I am not able to trigger it with my trivial program when > > > > I link it

Re: Fwd: brk randomization breaks columns

2008-02-04 Thread Abel Bernabeu
2008/2/4, Pavel Machek [EMAIL PROTECTED]: I still don't seem to fully understand what is happening here -- aparently this is triggerable only with old programs linked against libc.so.5, and I am not able to trigger it with my trivial program when I link it against old libc.so.5,

Re: Fwd: brk randomization breaks columns

2008-02-04 Thread Abel Bernabeu
2008/2/4, Jiri Kosina [EMAIL PROTECTED]: Abel, I actually don't think you have chance to have any issues with randomization, as the mentioned post talks about 2.6.22.10, which doesn't randomize the brk start at all. You are rigth, my kernel just randomizes stack top. I've got a bit sick with

Re: Elf loader crash while zero-filling .bss

2008-01-31 Thread Abel Bernabeu
2008/1/30, Abel Bernabeu <[EMAIL PROTECTED]>: > Now I am trying to execute some bigger C applications: in instance > BusyBox. I've chosen the buildroot package in order to produce a small > "distro". > > Then I've tried to boot the system using init=/bin/sh b

Re: Elf loader crash while zero-filling .bss

2008-01-31 Thread Abel Bernabeu
2008/1/30, Abel Bernabeu [EMAIL PROTECTED]: Now I am trying to execute some bigger C applications: in instance BusyBox. I've chosen the buildroot package in order to produce a small distro. Then I've tried to boot the system using init=/bin/sh but I am getting a crash while loading this non

Elf loader crash while zero-filling .bss

2008-01-30 Thread Abel Bernabeu
[ The context I am relatively new into kernel hacking and I am trying to get Linux running on a ARM based SBC. I already did my work adding support for the board in my working copy of Linux 2.6.22.10. The kernel already boots and runs small assembler programs I've written for testing (with

Elf loader crash while zero-filling .bss

2008-01-30 Thread Abel Bernabeu
[ The context I am relatively new into kernel hacking and I am trying to get Linux running on a ARM based SBC. I already did my work adding support for the board in my working copy of Linux 2.6.22.10. The kernel already boots and runs small assembler programs I've written for testing (with