Re: [REPOST] "apm: suspend: Unable to enter requested state" after 2.5.31 (incl. 2.6.0testX)

From: Stephen Rothwell (sfr@canb.auug.org.au)
Date: Wed Jul 30 2003 - 10:16:51 EST


On 30 Jul 2003 15:43:18 +0100 Alan Cox <alan@lxorguk.ukuu.org.uk> wrote:
>
> On Mer, 2003-07-30 at 02:05, Stephen Rothwell wrote:
> > > It might be 0x00009300, it might be set already, or it might be some other
> > > effect thats breaking your laptop of course
> >
> > The 0 above initialises the base and limit parts of the descriptor and
> > should be zero as it is filled in later (or should be).
>
> I thought the descriptor bits came in the first long word and the 16bit
> base/limit in the second ?

Not according to my book ... parts of the base and limit are spread around
in the second long word.

The 2.4 version of this is static in arch/i386/kernel/head.S and looks
like this:

        .quad 0x0040920000000000 /* 0x40 APM set up for bad BIOS's */

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/
-
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/



This archive was generated by hypermail 2b29 : Thu Jul 31 2003 - 22:00:46 EST