Re: [PATCH] boot: small change of halt method

From: Grzegorz Kulewski
Date: Thu Aug 24 2006 - 17:12:55 EST


On Fri, 25 Aug 2006, Oleg Verych wrote:
H. Peter Anvin wrote:
Andrew Brukhov wrote:

> I'm new here.
> After reading boot code i'm immidiatly change this string:
...
> + * Small fix of halt method Andrew Brukhov, Aug. 2006 > */
>
<http://www.zip.com.au/~akpm/linux/patches/stuff/tpp.txt>


while (1)
asm volatile("hlt");

... since HLT only pauses until interrupt.

Why not to have a reboot here?
Testing and getting such errors on my laptop, it needs a power cycle.

And what if hlt is buggy? I have at least one pIII tualatin based server that has some strange mainboard problem and will work only if nohlt is passed to the kernel.


Thanks,

Grzegorz Kulewski

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/