Re: amd64-agp vs. swsusp

From: Rafael J. Wysocki
Date: Wed Jul 20 2005 - 04:16:57 EST


Hi,

On Tuesday, 19 of July 2005 23:26, Michal Schmidt wrote:
> Andreas Steinmetz wrote:
> > Michal Schmidt wrote:
> >>Does resuming from swsuspend work for anyone with amd64-agp loaded?
> >>
> >>On my system when I suspend with amd64-agp loaded, I get a spontaneous
> >>reboot on resume. It reboots immediately after reading the saved image
> >>from disk.
> >>This is 100% reproducible.
> >>
> >>Athlon 64 FX-53, Asus A8V Deluxe, Linux 2.6.13-rc3-mm1.
> >
> >
> > AMD Athlon(tm) 64 Processor 3000+, Acer Aspire
> >
> > Linux gringo 2.6.13-rc3-gringo #36 Sun Jul 17 15:57:17 CEST 2005 x86_64
> > unknown unknown GNU/Linux
> >
> > CONFIG_AGP=y
> > CONFIG_AGP_AMD64=y
> >
> > swsusp works for me. Could it be mm, agp as a module or some speciality
> ^^^^^^^^^^^^^^^
> That seems to be the problem!
> > of your hardware?
>
> I have rebuilt agpgart and amd64-agp into the kernel and now it has
> resumed successfully for the first time. Thank you for the hint!
>
> But I still wonder, why that makes a difference.

Before resume the module is not present. When it gets loaded from the
image it probably runs with the assumption that the hardware was initialized
which is not correct.

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/