2009-07-12 19:20:08

by Celejar

[permalink] [raw]
Subject: suspend to disk now broken

Hi,

A recent change to the kernel has apparently broken suspend to disk on
my machine. It still works fine in 2.6.30.1, but hangs during the
'devices' phase of suspension with 2.6.31-rc2. [I originally saw the
problem using the wireless-testing git repo, but I've subsequently
reproduced it using the mainline code from the kernel.org homepage.] I
saw a rumor that the problem may have something to do with recent
changes to the Intel graphics drivers, so I've tried to remove the
driver (i915) before suspending, but it won't come out.

The machine is an Acer Aspire 3690 laptop, with Intel motherboard and
chipsets and Broadcom networking. The last message seen on the console
during the failed suspend is:

Suspending console(s) (use no_console_suspend to debug)

The machine has no serial port, but I do have a Prolific USB-serial
converter; will that be useful?

I'm attaching the output of 'grep ^C .config', since I assume that it
contains relevant information.

Please cc. me on responses.

Celejar
--
mailmin.sourceforge.net - remote access via secure (OpenPGP) email
ssuds.sourceforge.net - A Simple Sudoku Solver and Generator


Attachments:
config-output (17.20 kB)

2009-07-12 20:19:55

by Rafael J. Wysocki

[permalink] [raw]
Subject: Re: suspend to disk now broken

On Sunday 12 July 2009, Celejar wrote:
> Hi,
>
> A recent change to the kernel has apparently broken suspend to disk on
> my machine. It still works fine in 2.6.30.1, but hangs during the
> 'devices' phase of suspension with 2.6.31-rc2. [I originally saw the
> problem using the wireless-testing git repo, but I've subsequently
> reproduced it using the mainline code from the kernel.org homepage.] I
> saw a rumor that the problem may have something to do with recent
> changes to the Intel graphics drivers, so I've tried to remove the
> driver (i915) before suspending, but it won't come out.
>
> The machine is an Acer Aspire 3690 laptop, with Intel motherboard and
> chipsets and Broadcom networking. The last message seen on the console
> during the failed suspend is:
>
> Suspending console(s) (use no_console_suspend to debug)
>
> The machine has no serial port, but I do have a Prolific USB-serial
> converter; will that be useful?
>
> I'm attaching the output of 'grep ^C .config', since I assume that it
> contains relevant information.
>
> Please cc. me on responses.

Do you use s2disk or 'echo disk > /sys/power/state'?

Rafael

2009-07-12 20:26:52

by Celejar

[permalink] [raw]
Subject: Re: suspend to disk now broken

On Sun, 12 Jul 2009 22:19:52 +0200
"Rafael J. Wysocki" <[email protected]> wrote:

> On Sunday 12 July 2009, Celejar wrote:
> > Hi,
> >
> > A recent change to the kernel has apparently broken suspend to disk on
> > my machine. It still works fine in 2.6.30.1, but hangs during the
> > 'devices' phase of suspension with 2.6.31-rc2. [I originally saw the

...

> Do you use s2disk or 'echo disk > /sys/power/state'?

First 'hibernate', then 's2disk', and finally 'echo ...' :) None work.

Celejar
--
mailmin.sourceforge.net - remote access via secure (OpenPGP) email
ssuds.sourceforge.net - A Simple Sudoku Solver and Generator

2009-07-12 20:56:00

by Rafael J. Wysocki

[permalink] [raw]
Subject: Re: suspend to disk now broken

On Sunday 12 July 2009, Celejar wrote:
> On Sun, 12 Jul 2009 22:19:52 +0200
> "Rafael J. Wysocki" <[email protected]> wrote:
>
> > On Sunday 12 July 2009, Celejar wrote:
> > > Hi,
> > >
> > > A recent change to the kernel has apparently broken suspend to disk on
> > > my machine. It still works fine in 2.6.30.1, but hangs during the
> > > 'devices' phase of suspension with 2.6.31-rc2. [I originally saw the
>
> ...
>
> > Do you use s2disk or 'echo disk > /sys/power/state'?
>
> First 'hibernate', then 's2disk', and finally 'echo ...' :) None work.

Please try to boot with init=/bin/bash and use the 'echo ...' method.

Rafael

2009-07-12 21:27:39

by Celejar

[permalink] [raw]
Subject: Re: suspend to disk now broken

On Sun, 12 Jul 2009 22:56:01 +0200
"Rafael J. Wysocki" <[email protected]> wrote:

> On Sunday 12 July 2009, Celejar wrote:
> > On Sun, 12 Jul 2009 22:19:52 +0200
> > "Rafael J. Wysocki" <[email protected]> wrote:
> >
> > > On Sunday 12 July 2009, Celejar wrote:
> > > > Hi,
> > > >
> > > > A recent change to the kernel has apparently broken suspend to disk on
> > > > my machine. It still works fine in 2.6.30.1, but hangs during the
> > > > 'devices' phase of suspension with 2.6.31-rc2. [I originally saw the

...

> Please try to boot with init=/bin/bash and use the 'echo ...' method.

Still fails, as before.

Celejar
--
mailmin.sourceforge.net - remote access via secure (OpenPGP) email
ssuds.sourceforge.net - A Simple Sudoku Solver and Generator

2009-07-13 01:39:27

by Rafael J. Wysocki

[permalink] [raw]
Subject: Re: suspend to disk now broken

On Sunday 12 July 2009, Celejar wrote:
> On Sun, 12 Jul 2009 22:56:01 +0200
> "Rafael J. Wysocki" <[email protected]> wrote:
>
> > On Sunday 12 July 2009, Celejar wrote:
> > > On Sun, 12 Jul 2009 22:19:52 +0200
> > > "Rafael J. Wysocki" <[email protected]> wrote:
> > >
> > > > On Sunday 12 July 2009, Celejar wrote:
> > > > > Hi,
> > > > >
> > > > > A recent change to the kernel has apparently broken suspend to disk on
> > > > > my machine. It still works fine in 2.6.30.1, but hangs during the
> > > > > 'devices' phase of suspension with 2.6.31-rc2. [I originally saw the
>
> ...
>
> > Please try to boot with init=/bin/bash and use the 'echo ...' method.
>
> Still fails, as before.

Do you use IDE drivers?

Rafael

2009-07-13 02:07:38

by Celejar

[permalink] [raw]
Subject: Re: suspend to disk now broken

On Mon, 13 Jul 2009 03:39:34 +0200
"Rafael J. Wysocki" <[email protected]> wrote:

> On Sunday 12 July 2009, Celejar wrote:
> > On Sun, 12 Jul 2009 22:56:01 +0200
> > "Rafael J. Wysocki" <[email protected]> wrote:
> >
> > > On Sunday 12 July 2009, Celejar wrote:
> > > > On Sun, 12 Jul 2009 22:19:52 +0200
> > > > "Rafael J. Wysocki" <[email protected]> wrote:
> > > >
> > > > > On Sunday 12 July 2009, Celejar wrote:
> > > > > > Hi,
> > > > > >
> > > > > > A recent change to the kernel has apparently broken suspend to disk on
> > > > > > my machine. It still works fine in 2.6.30.1, but hangs during the
> > > > > > 'devices' phase of suspension with 2.6.31-rc2. [I originally saw the

...

> Do you use IDE drivers?

Yes. The system uses IDE/PATA drivers (PIIX).

Celejar
--
mailmin.sourceforge.net - remote access via secure (OpenPGP) email
ssuds.sourceforge.net - A Simple Sudoku Solver and Generator

2009-07-13 22:45:37

by Rafael J. Wysocki

[permalink] [raw]
Subject: Re: suspend to disk now broken

On Monday 13 July 2009, Celejar wrote:
> On Mon, 13 Jul 2009 03:39:34 +0200
> "Rafael J. Wysocki" <[email protected]> wrote:
>
> > On Sunday 12 July 2009, Celejar wrote:
> > > On Sun, 12 Jul 2009 22:56:01 +0200
> > > "Rafael J. Wysocki" <[email protected]> wrote:
> > >
> > > > On Sunday 12 July 2009, Celejar wrote:
> > > > > On Sun, 12 Jul 2009 22:19:52 +0200
> > > > > "Rafael J. Wysocki" <[email protected]> wrote:
> > > > >
> > > > > > On Sunday 12 July 2009, Celejar wrote:
> > > > > > > Hi,
> > > > > > >
> > > > > > > A recent change to the kernel has apparently broken suspend to disk on
> > > > > > > my machine. It still works fine in 2.6.30.1, but hangs during the
> > > > > > > 'devices' phase of suspension with 2.6.31-rc2. [I originally saw the
>
> ...
>
> > Do you use IDE drivers?
>
> Yes. The system uses IDE/PATA drivers (PIIX).

If they are of the "old IDE" flavor, there've been some fixes merged recently.
Please check 2.6.31-rc3 when it's out (or the current mainline).

Best,
Rafael

2009-07-14 05:32:13

by Celejar

[permalink] [raw]
Subject: Re: suspend to disk now broken

On Tue, 14 Jul 2009 00:45:52 +0200
"Rafael J. Wysocki" <[email protected]> wrote:

> On Monday 13 July 2009, Celejar wrote:
> > On Mon, 13 Jul 2009 03:39:34 +0200
> > "Rafael J. Wysocki" <[email protected]> wrote:
> >
> > > On Sunday 12 July 2009, Celejar wrote:
> > > > On Sun, 12 Jul 2009 22:56:01 +0200
> > > > "Rafael J. Wysocki" <[email protected]> wrote:
> > > >
> > > > > On Sunday 12 July 2009, Celejar wrote:
> > > > > > On Sun, 12 Jul 2009 22:19:52 +0200
> > > > > > "Rafael J. Wysocki" <[email protected]> wrote:
> > > > > >
> > > > > > > On Sunday 12 July 2009, Celejar wrote:
> > > > > > > > Hi,
> > > > > > > >
> > > > > > > > A recent change to the kernel has apparently broken suspend to disk on
> > > > > > > > my machine. It still works fine in 2.6.30.1, but hangs during the
> > > > > > > > 'devices' phase of suspension with 2.6.31-rc2. [I originally saw the
> >
> > ...
> >
> > > Do you use IDE drivers?
> >
> > Yes. The system uses IDE/PATA drivers (PIIX).
>
> If they are of the "old IDE" flavor, there've been some fixes merged recently.
> Please check 2.6.31-rc3 when it's out (or the current mainline).

I built what I think is mainline:

git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git

and it works.

Thanks!

Celejar
--
mailmin.sourceforge.net - remote access via secure (OpenPGP) email
ssuds.sourceforge.net - A Simple Sudoku Solver and Generator

2009-07-14 16:14:01

by Rafael J. Wysocki

[permalink] [raw]
Subject: Re: suspend to disk now broken

On Tuesday 14 July 2009, Celejar wrote:
> On Tue, 14 Jul 2009 00:45:52 +0200
> "Rafael J. Wysocki" <[email protected]> wrote:
>
> > On Monday 13 July 2009, Celejar wrote:
> > > On Mon, 13 Jul 2009 03:39:34 +0200
> > > "Rafael J. Wysocki" <[email protected]> wrote:
> > >
> > > > On Sunday 12 July 2009, Celejar wrote:
> > > > > On Sun, 12 Jul 2009 22:56:01 +0200
> > > > > "Rafael J. Wysocki" <[email protected]> wrote:
> > > > >
> > > > > > On Sunday 12 July 2009, Celejar wrote:
> > > > > > > On Sun, 12 Jul 2009 22:19:52 +0200
> > > > > > > "Rafael J. Wysocki" <[email protected]> wrote:
> > > > > > >
> > > > > > > > On Sunday 12 July 2009, Celejar wrote:
> > > > > > > > > Hi,
> > > > > > > > >
> > > > > > > > > A recent change to the kernel has apparently broken suspend to disk on
> > > > > > > > > my machine. It still works fine in 2.6.30.1, but hangs during the
> > > > > > > > > 'devices' phase of suspension with 2.6.31-rc2. [I originally saw the
> > >
> > > ...
> > >
> > > > Do you use IDE drivers?
> > >
> > > Yes. The system uses IDE/PATA drivers (PIIX).
> >
> > If they are of the "old IDE" flavor, there've been some fixes merged recently.
> > Please check 2.6.31-rc3 when it's out (or the current mainline).
>
> I built what I think is mainline:
>
> git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git

Yes, this is the mainline.

> and it works.

Great, thanks for testing.

Best,
Rafael

2009-07-25 22:18:05

by Rafael J. Wysocki

[permalink] [raw]
Subject: Re: suspend to disk now broken

On Sunday 12 July 2009, Celejar wrote:
> Hi,
>
> A recent change to the kernel has apparently broken suspend to disk on
> my machine. It still works fine in 2.6.30.1, but hangs during the
> 'devices' phase of suspension with 2.6.31-rc2. [I originally saw the
> problem using the wireless-testing git repo, but I've subsequently
> reproduced it using the mainline code from the kernel.org homepage.] I
> saw a rumor that the problem may have something to do with recent
> changes to the Intel graphics drivers, so I've tried to remove the
> driver (i915) before suspending, but it won't come out.
>
> The machine is an Acer Aspire 3690 laptop, with Intel motherboard and
> chipsets and Broadcom networking. The last message seen on the console
> during the failed suspend is:
>
> Suspending console(s) (use no_console_suspend to debug)
>
> The machine has no serial port, but I do have a Prolific USB-serial
> converter; will that be useful?
>
> I'm attaching the output of 'grep ^C .config', since I assume that it
> contains relevant information.
>
> Please cc. me on responses.

Well, I guess it's still a problem with 2.6.31-rc4?

Rafael

2009-07-26 05:24:09

by Celejar

[permalink] [raw]
Subject: Re: suspend to disk now broken

On Sun, 26 Jul 2009 00:18:03 +0200
"Rafael J. Wysocki" <[email protected]> wrote:

> On Sunday 12 July 2009, Celejar wrote:
> > Hi,
> >
> > A recent change to the kernel has apparently broken suspend to disk on
> > my machine. It still works fine in 2.6.30.1, but hangs during the
> > 'devices' phase of suspension with 2.6.31-rc2. [I originally saw the

...

> Well, I guess it's still a problem with 2.6.31-rc4?

As we discussed earlier, the problem seems to have been resolved with
-rc3. I have just tested with -rc4, and that works fine, too.

Celejar
--
mailmin.sourceforge.net - remote access via secure (OpenPGP) email
ssuds.sourceforge.net - A Simple Sudoku Solver and Generator