lkml.org 
[lkml]   [2004]   [Oct]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    SubjectRe: Totally broken PCI PM calls
    Date
    On Tuesday 12 October 2004 1:54 am, Pavel Machek wrote:
    > > > echo disk > /sys/power/state
    > >
    > > Oddly enough, neither of them work lately for me.
    > > They each resume immediately after writing the
    > > image to disk.
    >
    > dmesg would help....

    This is with /sys/power/disk set up for "shutdown";
    the system didn't actually shut down, it restarted
    the CPU right after snapshotting.

    Stopping tasks: ===================|
    Freeing
    memory: ........................................................................................................|
    Freezing CPUs (at 0)...ok
    PM: Attempting to suspend to disk.
    PM: snapshotting memory.
    Restarting CPUs...ok
    Restarting tasks... done
    eth0: Media Link On 10mbps half-duplex

    I've not had time to try that on other systems. Reverting
    the change to map PCI states didn't improve things.


    > > p.s. I find the /sys/power/disk file mildly cryptic, maybe
    > > other folk will find the attached patch slightly more
    > > informative about what this interface can do.
    > >
    >
    > Hmm, its interface change,

    To an file that was just added recently, making it more
    like the other file in that same directory.

    > and was not /sys expected to be "one file,
    > one value"?

    It is one value -- a set! OK, the active member
    of that set is distinguished. The power/state file
    could do the same thing (but the active state
    there would always be "on").


    - Dave
    -
    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/

    \
     
     \ /
      Last update: 2005-03-22 14:06    [W:0.023 / U:0.144 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site