Re: 2.6.21.5 june 30th to july 1st date hang?

2007-07-06 Thread Ernie Petrides
On Friday, 6-Jul-2007 at 7:17 +0200, Thomas Gleixner wrote: > On Thu, 2007-07-05 at 19:12 -0400, Ernie Petrides wrote: > > On Thursday, 5-Jul-2007 at 16:49 MDT, Chris Friesen wrote: > > > > > Ernie Petrides wrote: > > > > > > > Only kernels built w

Re: 2.6.21.5 june 30th to july 1st date hang?

2007-07-06 Thread Ernie Petrides
On Friday, 6-Jul-2007 at 7:17 +0200, Thomas Gleixner wrote: On Thu, 2007-07-05 at 19:12 -0400, Ernie Petrides wrote: On Thursday, 5-Jul-2007 at 16:49 MDT, Chris Friesen wrote: Ernie Petrides wrote: Only kernels built with the CONFIG_HIGH_RES_TIMERS option enabled were

Re: 2.6.21.5 june 30th to july 1st date hang?

2007-07-05 Thread Ernie Petrides
On Thursday, 5-Jul-2007 at 16:49 MDT, Chris Friesen wrote: > Ernie Petrides wrote: > > > Only kernels built with the CONFIG_HIGH_RES_TIMERS option enabled were > > vulnerable. > > As I mentioned in my post to Thomas, we have high res timers disabled > and were st

Re: 2.6.21.5 june 30th to july 1st date hang?

2007-07-05 Thread Ernie Petrides
On Thursday, 5-Jul-2007 at 11:48 MDT, "Chris Friesen" wrote: > Clemens Koller wrote: > > > Okay, we all survived Y2K and this little glitch. Puh! ;-) > > Can you please explain in which configuration this problem got triggered. > > As far as I can tell many kernel versions contained the source

Re: 2.6.21.5 june 30th to july 1st date hang?

2007-07-05 Thread Ernie Petrides
On Thursday, 5-Jul-2007 at 16:49 MDT, Chris Friesen wrote: Ernie Petrides wrote: Only kernels built with the CONFIG_HIGH_RES_TIMERS option enabled were vulnerable. As I mentioned in my post to Thomas, we have high res timers disabled and were still affected. Granted, our kernel has

Re: 2.6.21.5 june 30th to july 1st date hang?

2007-07-05 Thread Ernie Petrides
On Thursday, 5-Jul-2007 at 11:48 MDT, Chris Friesen wrote: Clemens Koller wrote: Okay, we all survived Y2K and this little glitch. Puh! ;-) Can you please explain in which configuration this problem got triggered. As far as I can tell many kernel versions contained the source code bug.

Re: Bug in on_each_cpu?

2007-03-01 Thread Ernie Petrides
On Thursday, 1-Mar-2007 at 7:22 PST, Andrew Morton wrote: > On Thu, 01 Mar 2007 03:47:39 -0800 Zachary Amsden <[EMAIL PROTECTED]> wrote: > > > Rusty Russell wrote: > > > On Thu, 2007-03-01 at 03:34 -0800, Zachary Amsden wrote: > > > > > >> What would be really, really nice would be to

Re: Bug in on_each_cpu?

2007-03-01 Thread Ernie Petrides
On Thursday, 1-Mar-2007 at 7:22 PST, Andrew Morton wrote: On Thu, 01 Mar 2007 03:47:39 -0800 Zachary Amsden [EMAIL PROTECTED] wrote: Rusty Russell wrote: On Thu, 2007-03-01 at 03:34 -0800, Zachary Amsden wrote: What would be really, really nice would be to statically check all

[PATCH] tgid fixes for filp->f_owner.pid assignments

2007-02-02 Thread Ernie Petrides
IO signals. With current code, in a multi-threaded process, I think only the thread arming the SIGIO gets the signal, whereas it seems that the whole thread group should be signaled. This has only been compile-tested. Cheers. -ernie Signed-off-by: Ernie Petrides <[EMAIL PROTECTED]> --- lin

[PATCH] tgid fixes for filp-f_owner.pid assignments

2007-02-02 Thread Ernie Petrides
, in a multi-threaded process, I think only the thread arming the SIGIO gets the signal, whereas it seems that the whole thread group should be signaled. This has only been compile-tested. Cheers. -ernie Signed-off-by: Ernie Petrides [EMAIL PROTECTED] --- linux-2.6.19/drivers/char/tty_io.c.orig

[2.6 patch] minor conceptual fix for /proc/kcore header size

2005-02-02 Thread Ernie Petrides
Hi, folks. While investigating the 2.4 memory corruption problem fixed by the patch previously posted, it was noticed that the 2.6 version of get_kcore_size() inappropriately uses sizeof(struct memelfnote) in its calculation of the /proc/kcore ELF header size. What is actually stored in the

[2.4 patch] fix for memory corruption from /proc/kcore access

2005-02-02 Thread Ernie Petrides
Hi, Marcelo. A fairly nasty memory corruption potential exists when /proc/kcore is accessed and there are at least 62 vmalloc'd areas. The problem is that get_kcore_size() does not properly account for the elf_prstatus, elf_prpsinfo, and task_struct structure sizes in the fabricated ELF header,

[2.4 patch] fix for memory corruption from /proc/kcore access

2005-02-02 Thread Ernie Petrides
Hi, Marcelo. A fairly nasty memory corruption potential exists when /proc/kcore is accessed and there are at least 62 vmalloc'd areas. The problem is that get_kcore_size() does not properly account for the elf_prstatus, elf_prpsinfo, and task_struct structure sizes in the fabricated ELF header,

[2.6 patch] minor conceptual fix for /proc/kcore header size

2005-02-02 Thread Ernie Petrides
Hi, folks. While investigating the 2.4 memory corruption problem fixed by the patch previously posted, it was noticed that the 2.6 version of get_kcore_size() inappropriately uses sizeof(struct memelfnote) in its calculation of the /proc/kcore ELF header size. What is actually stored in the