[PATCH] powerpc: fix os-term usage on kernel panic
Linas Vepstas
linas at austin.ibm.com
Tue Dec 4 06:32:11 EST 2007
On Thu, Nov 29, 2007 at 11:41:47AM +0100, Olaf Hering wrote:
> On Wed, Nov 28, Linas Vepstas wrote:
>
> > On Wed, Nov 28, 2007 at 12:00:37PM +0100, Olaf Hering wrote:
> > > On Tue, Nov 27, Will Schmidt wrote:
>
> > > > > - if (panic_timeout)
> > > > > - return;
> > >
> > > This change is wrong. Booting with panic=123 really means the system
> > > has to reboot in 123 seconds after a panic.
> >
> > And it does.
>
> Have you ever tried it? Current state is that the JS20 hangs after
> panic,
It should printout the "Rebooting in timeout_wait seconds ..."
Then it should wait timeout_wait number of seconds, as usual,
and *then* call the hypervisor.
> simply because it calls into the hypervisor (or whatever).
The hypervisor is not supposed to return at this point. Its supposed
to reboot. Appearently, its not rebooting. Either we are using it
wrong, or the hypervisor is buggy on some systems. It did work on
the machines I was on; but I did not try power5's or blades.
> So, please restore the panic_timeout check.
The problem with this check was that was that the value was never
ever set, and so the branch was never ever taken.
--linas
More information about the Linuxppc-dev
mailing list