mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Éric Brunet" <Eric.Brunet@lps.ens.fr>
To: mochel@osdl.org, linux-kernel@vger.kernel.org
Subject: Re: Power Management Update
Date: Mon, 1 Sep 2003 12:57:59 +0200	[thread overview]
Message-ID: <20030901105759.GA17637@lps.ens.fr> (raw)

To: mochel@osdl.org,linux-kernel@vger.kernel.org
Subject: Re: Power Management Update

(Resend. Seems it didn't get through the first time.)

In mailing-lists linux-kernel, you wrote:
>
>I'm pleased to announce the release of the first patchset of power
>management changes for 2.6.0. The purpose of this release is to give
>people a chance to review and test the PM code before it's sent on to
>Linus.

I gave this patch a try...  All data concerning my computer (config
files, boot messages, dsdt, etc.) is available on
<http://perso.nerim.net/~tudia/bug-reports>.

On my computer, echoing anything to /sys/power/state does nothing at all.
Not even a line in the logs.

On the text console (but with XFree and kde running in the background),

        echo 1 > /proc/acpi/sleep

        the screen blinks and the fan speed goes up. (fan speed is set by
        bios. Loading module i2c reinitialize the motherboard sensors and
        make fan speed go up too. But here, i2c was not loaded nor
        compiled in.) In the logs, I have:

Stopping tasks: ==================================================|
hdc: start_power_step(step: 0)
hdc: completing PM request, suspend
hda: start_power_step(step: 0)
hda: start_power_step(step: 1)
hda: complete_power_step(step: 1, stat: 50, err: 0)
hda: completing PM request, suspend
 hwsleep-0257 [16] acpi_enter_sleep_state: Entering sleep state [S1]
Back to C!
PM: Finishing up.
PCI: Setting latency timer of device 0000:00:1d.0 to 64
PCI: Setting latency timer of device 0000:00:1d.1 to 64
PCI: Setting latency timer of device 0000:00:1d.2 to 64
PCI: Setting latency timer of device 0000:00:1f.5 to 64
eth0: Setting half-duplex based on auto-negotiated partner ability 0000.
hda: Wakeup request inited, waiting for !BSY...
hda: start_power_step(step: 1000)
blk: queue df60d800, I/O limit 4095Mb (mask 0xffffffff)
hda: completing PM request, resume
hdc: Wakeup request inited, waiting for !BSY...
hdc: start_power_step(step: 1000)
hdc: completing PM request, resume
Restarting tasks... done

        Note that, sometimes, the computer waits after printing "Entering
        sleep state [S1]", and resumes if I hit the key. The screen is
        however fully lit, so I am not sure that this is a success.

        echo 3 > /proc/acpi/sleep

        Maybe the screen blinks a little bit, but I am not sure. It is so
        fast... In the logs, I have:

PM: Preparing system for suspend
Stopping tasks:
=========================================================|
Restarting tasks... done


        echo 4 > /proc/acpi/sleep

        Suspend is working, the computer writes things in the swapfile
        and shuts down. On resume, I have a kernel panic. I have hand
        written this:

Process swapper
Call queue:
        start_request
        ide_do_request
        __elv_do_drive_cmd
        generic_ide_suspend
        autoremove_wake_function
        printk
        suspend_device
        device_suspend
        prepare
        pm_resume
        do_initcalls
        init_workqueues
        init
        init
        kernel_thread_helper
Code: Bad EIP value
Kernel panic: Attemppted to kill init


Regards,

        Éric Brunet

             reply	other threads:[~2003-09-01 10:58 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-09-01 10:57 Éric Brunet [this message]
     [not found] <3F5F9509.8080708@btopenworld.com>
2003-09-10 22:51 ` Patrick Mochel
  -- strict thread matches above, loose matches on Subject: below --
2003-09-10 19:53 Subodh Shrivastava
2003-09-10 21:09 ` Patrick Mochel
2003-09-10 20:44   ` Subodh Shrivastava
2003-09-11  0:12     ` Greg KH
2003-09-10  0:38 Patrick Mochel
2003-09-10 13:04 ` Daniele Venzano
2003-09-10 18:10 ` Pavel Machek
2003-09-11  4:45 ` Michael Frank
2003-09-11  6:06 ` CaT
     [not found] <20030904224112.GA26556@lps.ens.fr>
     [not found] ` <Pine.LNX.4.33.0309041637440.940-100000@localhost.localdomain>
2003-09-07  9:54   ` Éric Brunet
2003-09-08 19:54     ` Patrick Mochel
2003-09-09 10:53       ` Éric Brunet
2003-09-09 15:54         ` Patrick Mochel
2003-08-30 21:25 Patrick Mochel
2003-08-31 12:31 ` Felipe Alfaro Solana
2003-08-31 13:04   ` Mathieu LESNIAK
2003-09-02 18:13     ` Patrick Mochel
2003-09-02 23:50       ` Éric Brunet
2003-09-02 23:59         ` Patrick Mochel
2003-09-03  9:41       ` Mathieu LESNIAK
2003-09-03 22:41         ` Patrick Mochel
2003-09-04  9:34           ` Éric Brunet
2003-09-04 19:34             ` Patrick Mochel
     [not found]           ` <20031013194127.GA16791@lps.ens.fr>
2003-10-18  9:48             ` =?unknown-8bit?Q?=C9ric?= Brunet
2003-08-31 21:28 ` Pavel Machek
2003-08-31 22:15 ` Pavel Machek

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20030901105759.GA17637@lps.ens.fr \
    --to=eric.brunet@lps.ens.fr \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mochel@osdl.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®