Re: amd64-agp vs. swsusp

From: Rafael J. Wysocki
Date: Thu Jul 21 2005 - 15:09:19 EST


On Thursday, 21 of July 2005 17:24, Michal Schmidt wrote:
> Pavel Machek wrote:
> >>I'm trying to do something similar for x86_64. See the attached patch.
> >>Unfortunately, it doesn't help. The behaviour seems unchanged (resume
> >>still works iff amd64-agp wasn't loaded before suspend).
> >
> >
> > Are you sure problem is on level4_pgt? We probably use constant
> > level4_pgt but split pages at some deeper level. You may want try
> > saving 3rd-level table, instead.
>
> I'm not sure about that at all. That was just my attempt of cargocult
> programming :-)
> OK, I'll try saving the 3rd-level table. It'll take me some time to
> figure out how to do that, however :-)

I think the amd64-agp is the problem here. There are some memory mappings
that seem to require the hardware to be initialized before they can be used
safely (at least as far as I understand it).

Greets,
Rafael


--
- Would you tell me, please, which way I ought to go from here?
- That depends a good deal on where you want to get to.
-- Lewis Carroll "Alice's Adventures in Wonderland"
-
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/