Eric W. Biederman wrote:
> Bari Ari <[EMAIL PROTECTED]> writes:
>
>> Has anyone worked on a way that if LinuxBIOS boots from Flash or DOC and
>> when it jumps to the Linux kernel on the main hard drive and the main
>> hard drive kernel/data is corrupted or just plain dead the LinuxBIOS
>> would be able to jump to a secondary hard drive, flash drive or CDROM in
>> the system with a backup kernel so that the system will still run
>
> I've played with ideas for automatic recovery but I haven't done
> anything with them yet. At least with the DS10 I have two kernels
> that you can switch between with a jumper on the board.
>
> What we can do that is cheap is to put a checksum in our rom image,
> so we can catch corruption before the image is loaded. I've been
> thinking about adding that in the PT_NOTE section of an elf image.
>
> To do more we'd need a watchdog timer.
>
> Eric
How about recovery via a checksum so that if the systems fails to load
the kernel it jumps to from LinuxBIOS you can recover via the keyboard
with some key combination so that you can choose another boot option
and/or at least see why it failed? This would not be handy for clusters
but would be nice for embedded apps like SBCs, webpads and set-top-boxes.
Bari