Re: [CFT] kexec syscall for 2.5.43 (linux booting linux)

Kasper Dupont (kasperd@daimi.au.dk)
Mon, 28 Oct 2002 09:48:05 +0100


"Eric W. Biederman" wrote:
>
> I believe it is inappropriate to assume the interrupt
> controller is going to be used by dos when it is shut down.

If Linux was booted by LILO or SYSLINUX, there will be no DOS
in memory. But the BIOS interrupt vector table and other data
structures are in the first physical memory page which is not
touched by Linux, so I'd expect the BIOS to be usable if we
can just leave the hardware in a usable state. Booting to DOS
from Linux might actually be possible.

OTOH if Linux was booted by LOADLIN, there will have been a
DOS in memory. DOS has changed interrupt vectors to point to
DOS own code in segment 0x70, but that code will be outside
the first physical page and will thus have been overwritten
by Linux. In this case neither DOS nor BIOS routines can be
used reliable. Any INT instruction can potentially crash,
this lead to problems with kmonte, does kexec have the same
problem?

-- 
Kasper Dupont -- der bruger for meget tid på usenet.
For sending spam use mailto:aaarep@daimi.au.dk
Don't do this at home kids: touch -- -rf
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/