Re: Backtrace problems from a signal handler

2005-07-26 Thread Keith Owens
On Mon, 25 Jul 2005 15:29:12 +1000, Keith Owens <[EMAIL PROTECTED]> wrote: >gdb with libunwind support does not unwind correctly if a signal >handler calls another function which then takes a core dump. > >SuSE SLES9 SP2. gdb-6.3-16.4. libunwind-0.98.5-3.2. gcc 3.3.3. David Mosberger suggested

Re: [patch] properly stop devices before poweroff

2005-07-26 Thread Andrew Morton
[EMAIL PROTECTED] wrote: > > Andrew Morton wrote: > > "Luck, Tony" <[EMAIL PROTECTED]> wrote: > > > > > > I started on my OLS homework from Andrew ... and began looking > > > into what is going on here. > > > > > > > Thanks ;) I guess we'll end up with a better kernel, even though you appear > >

Re: [patch] properly stop devices before poweroff

2005-07-26 Thread tony . luck
Andrew Morton wrote: > "Luck, Tony" <[EMAIL PROTECTED]> wrote: > > > > I started on my OLS homework from Andrew ... and began looking > > into what is going on here. > > > > Thanks ;) I guess we'll end up with a better kernel, even though you appear > to be an innocent victim here. The "Badness

Re: [patch] properly stop devices before poweroff

2005-07-26 Thread Andrew Morton
"Luck, Tony" <[EMAIL PROTECTED]> wrote: > > I started on my OLS homework from Andrew ... and began looking > into what is going on here. > Thanks ;) I guess we'll end up with a better kernel, even though you appear to be an innocent victim here. > > Andrew: How did you get the squitty font on i

RE: [patch] properly stop devices before poweroff

2005-07-26 Thread Luck, Tony
I started on my OLS homework from Andrew ... and began looking into what is going on here. The story so far: Pavel added calls to device_suspend() to three of the cases in the sys_reboot() path. This stopped ia64 from being able to shutdown. There is a oops with a stacktrace pointing back at the

Re: [PATCH 2.6.13-rc3] fix unaligned memory access in snsc_event.c

2005-07-26 Thread Andreas Schwab
Greg Howard <[EMAIL PROTECTED]> writes: > I've added a new function to the file that copies a (big-endian) > integer out of a byte buffer and into a little-endian integer > variable. How about using get_unaligned? Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products Gmb

[PATCH 2.6.13-rc3] fix unaligned memory access in snsc_event.c

2005-07-26 Thread Greg Howard
Hi Tony, It's been pointed out that environmental events from the system controllers on Altix machines cause the kernel to complain about unaligned memory accesses. This turns out to be because "be32_to_cpup()" didn't do everything I thought/hoped it did. I've added a new function to the file tha