From: "Éric Brunet" <Eric.Brunet@lps.ens.fr>
To: Patrick Mochel <mochel@osdl.org>, benh@kernel.crashing.org
Cc: Mathieu LESNIAK <maverick@eskuel.com>,
Felipe Alfaro Solana <felipe_alfaro@linuxmail.org>,
LKML <linux-kernel@vger.kernel.org>
Subject: Re: Power Management Update
Date: Wed, 3 Sep 2003 01:50:24 +0200 [thread overview]
Message-ID: <20030902235023.GA21645@lps.ens.fr> (raw)
In-Reply-To: <Pine.LNX.4.44.0309021108040.5614-100000@cherise>
On Tue, Sep 02, 2003 at 11:13:24AM -0700, Patrick Mochel wrote:
> I encountered this problem by having an IDE CD-ROM, but not having the
> ide-cd drier compiled in. The patch below is from Benh, who wrote the IDE
> power managment handlers.
>
> He mentioned producing a cleaner patch, but this should at least fix the
> Oops. Please give it a try and report if it helps or not.
I was waiting for Ben's « new patch later today », but I finally gave a
try to this one
> ===== drivers/ide/ide-io.c 1.21 vs edited =====
> --- 1.21/drivers/ide/ide-io.c Mon Sep 1 10:21:10 2003
> +++ edited/drivers/ide/ide-io.c Tue Sep 2 09:58:19 2003
> @@ -609,6 +609,22 @@
> EXPORT_SYMBOL(execute_drive_cmd);
>
> /**
> + * do_start_power_step - wrapper on subdriver start_power_step()
> + *
> + * This is called by start_request instead of directly calling
> + * the subdriver's start_power_step() to deal with either no
> + * subdriver or no start_power_step method in the subdriver
> + * properly.
> + */
[snip]
The result is a panic at different place when resuming from suspend to
disk. Hand written partial debugging info:
EIP is at swsusp_arch_suspend
eax: 07200720 ebx: 07200720 ecx: c1700000 edx=esi=edi=ebp=0 esp=df793fac
Process swapper
Call trace:
swsusp_restore
pm_resume
do_initcalls
init_workqueues
init
init
kernel_thread_helper
Code: 8a 04 02 88 04 1a 0f 20 d8 0f 22 d8 a1 18 70 37 c0 8d 50 01
Panic: attempted to kill init !
Complete (?) information on my computer and kernel logs at
http://perso.nerim.net/~tudia/bug-reports
By the way, how comes the computer suspends when echoing 4 to
/proc/acpi/sleep, and nothing happens when echoing disk to
/sys/power/state ? Aren't those two things supposed to be equivalent ?
Regards,
Éric Brunet
next prev parent reply other threads:[~2003-09-02 23:51 UTC|newest]
Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
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
2003-08-31 23:04 ` Power Managment Fix [was Re: Power Management Update] Pavel Machek
2003-09-01 10:57 Power Management Update Éric Brunet
[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-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
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
[not found] <3F5F9509.8080708@btopenworld.com>
2003-09-10 22:51 ` Patrick Mochel
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=20030902235023.GA21645@lps.ens.fr \
--to=eric.brunet@lps.ens.fr \
--cc=benh@kernel.crashing.org \
--cc=felipe_alfaro@linuxmail.org \
--cc=linux-kernel@vger.kernel.org \
--cc=maverick@eskuel.com \
--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
Powered by JetHome