Re: Returing to real mode for powerdown (ax59pro)

Andi Kleen (ak-uu@muc.de)
08 Nov 1999 15:21:32 +0100


pavel@suse.cz (Pavel Machek) writes:

> Hi!
>
> Someone has code to dump kernel crashes to floppy. Sorry, I wforgot
> where to download that code.
>
> I want to use it: my ax59pro mainboard will oops on APM poweroff, and
> ACPI poweroff is NOP. In dos, apm does poweroff. So I tried to hook
> poweroff code into process just before jmp ffff:0000 but it did not
> work: seems we do not create sane-enough environment for APM to work.

My gigabyte SMP mainboard has the same problem since somewhere in the middle
of 2.3. It gets a fault when it tries to jump to the call gate to the APM
segment. I haven't investigated further yet, but I believe it is because
some APM LDT entries are incorrectly set up.

With 2.2 it works fine.

-Andi

-- 
This is like TV. I don't like TV.

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