Re: Patrick's Test9 suspend code.

From: Pavel Machek (pavel_at_suse.cz)
Date: 11/17/03

  • Next message: Pavel Machek: "Re: Corrected drivermodel for i8042.c"
    Date:	Mon, 17 Nov 2003 09:42:43 +0100
    To: Rob Landley <rob@landley.net>
    
    

    Hi!

    > > Strange, they should be pretty much the same, functionality-wise.
    >
    > Well, I gave your code another try. It blanked the screen during the
    > "powering down devices" stage so I didn't see what it did after that, but a
    > full minute later it had stopped accessing the hard drive for rather a long
    > time, but the power was still on (except for the screen), so I switched it
    > off. On reboot, it didn't resume from swap (normal boot with fsck instead)
    > but I had to do a mkswap to get my swap file back.

    If you had to re-mkswap, that means suspend was indeed
    successfull. Did you pass right resume= option? What did
    kernel say when it refused to resume?

    > covernor, probably. If I tell it to use the userspace governor, there's
    > still nothing in /sys/devices/system/cpu/cpu0, the directory is empty. Maybe
    > the documentation isn't up to date anymore, I don't know...) When I tried to
    > suspend with it, it sort of worked but the writing to disk phase (which never
    > caused a problem before) had a visible pause between each sector written, and
    > writing out the 3000 sectors took over 5 minutes, and the end result wasn't
    > something it could resume from anyway. Sigh...

    Hmm, I've seen something similar, but result was ok at the end.
    It only took very long time.

    > > * go with minimal config, turn off drivers like USB, AGP you don't
    > > really need
    >
    > usb and agp were both compiled in to the kernel that worked (not modular). It
    > never seemed to be dying due to the HARDWARE, it always shut all the hardware
    > down just fine...

    You really should try without AGP. It has no support => it
    will happily crash your machine at unrelated point during
    resume.
                                    Pavel

    -- 
    				Pavel
    Written on sharp zaurus, because my Velo1 broke. If you have Velo you don't need...
    -
    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/
    

  • Next message: Pavel Machek: "Re: Corrected drivermodel for i8042.c"

    Relevant Pages

    • Re: New mobo question
      ... >> I've ordered a new mobo as I'm having what appears to be data bus ... As far as I read him, he wants to build a kernel that runs on his new ... he has to just compile a kernel that includes hardware ... 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/ ...
      (Linux-Kernel)
    • Re: [PATCH] Configure IDE probe delays
      ... and anywhere in the code we take a big hit to make ... in the kernel where this would be useful. ... What about hardware that is ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: reiser4 plugins
      ... > PCI driver example to what we're discussing here. ... > around hardware bugs for a specific subset of hardware it needs to use ... > hardware is considered to be just fine in Linux kernel land aswell. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: 2.6.0-preX causes memory corruption
      ... which have occoured with Kernel 2.6.0-pre9/10 on my system. ... tar.bz2 files I still get the message thrown out that there is a problem ... this has problem exists on my old hardware as on my brand new ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: PCI-DMA: high address but no IOMMU - nForce4
      ... "The GART is AGP thingie, ... to get system to work with all 4 GB of memory by using ... with all of 2.6.14 series kernel versions for past week. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)