2008-03-20 06:05:27

by Tino Keitel

[permalink] [raw]
Subject: 2.6.25-rc6 hangs at resume after suspend to RAM on Mac mini Core Duo

Hi folks,

whereas I had working suspend with 2.6.25-rc5, I had a hang at resume
with git HEAD from March 19th (something after 2.6.25-rc6). I tried it
again and got another hang, so it seems to be reproducible.

Any hints what commit might have broke suspend? I won't have the time
to start a git bisect or any resume debugging using CONFIG_PM_TRACE_RTC
until next Tuesday.

This is a Mac mini Core Duo. Here is the lspci -nn output:

00:00.0 Host bridge [0600]: Intel Corporation Mobile 945GM/PM/GMS,
943/940GML and 945GT Express Memory Controller Hub [8086:27a0] (rev 03)

00:02.0 VGA compatible controller [0300]: Intel Corporation Mobile
945GM/GMS, 943/940GML Express Integrated Graphics Controller
[8086:27a2] (rev 03)

00:07.0 Performance counters [1101]: Intel Corporation Unknown device
[8086:27a3] (rev 03)

00:1b.0 Audio device [0403]: Intel Corporation 82801G (ICH7 Family)
High Definition Audio Controller [8086:27d8] (rev 02)

00:1c.0 PCI bridge [0604]: Intel Corporation 82801G (ICH7 Family) PCI
Express Port 1 [8086:27d0] (rev 02)

00:1c.1 PCI bridge [0604]: Intel Corporation 82801G (ICH7 Family) PCI
Express Port 2 [8086:27d2] (rev 02)

00:1d.0 USB Controller [0c03]: Intel Corporation 82801G (ICH7 Family)
USB UHCI Controller #1 [8086:27c8] (rev 02)

00:1d.1 USB Controller [0c03]: Intel Corporation 82801G (ICH7 Family)
USB UHCI Controller #2 [8086:27c9] (rev 02)

00:1d.2 USB Controller [0c03]: Intel Corporation 82801G (ICH7 Family)
USB UHCI Controller #3 [8086:27ca] (rev 02)

00:1d.3 USB Controller [0c03]: Intel Corporation 82801G (ICH7 Family)
USB UHCI Controller #4 [8086:27cb] (rev 02)

00:1d.7 USB Controller [0c03]: Intel Corporation 82801G (ICH7 Family)
USB2 EHCI Controller [8086:27cc] (rev 02)

00:1e.0 PCI bridge [0604]: Intel Corporation 82801 Mobile PCI Bridge
[8086:2448] (rev e2)

00:1f.0 ISA bridge [0601]: Intel Corporation 82801GBM (ICH7-M) LPC
Interface Bridge [8086:27b9] (rev 02)

00:1f.1 IDE interface [0101]: Intel Corporation 82801G (ICH7 Family)
IDE Controller [8086:27df] (rev 02)

00:1f.2 IDE interface [0101]: Intel Corporation 82801GBM/GHM (ICH7
Family) SATA IDE Controller [8086:27c4] (rev 02)

00:1f.3 SMBus [0c05]: Intel Corporation 82801G (ICH7 Family) SMBus
Controller [8086:27da] (rev 02)

01:00.0 Ethernet controller [0200]: Marvell Technology Group Ltd.
88E8053 PCI-E Gigabit Ethernet Controller [11ab:4362] (rev 22)

02:00.0 Ethernet controller [0200]: Atheros Communications, Inc. AR242x
802.11abg Wireless PCI Express Adapter [168c:001c] (rev 01)

03:03.0 FireWire (IEEE 1394) [0c00]: Agere Systems FW323 [11c1:5811]
(rev 61)

Regards,
Tino


2008-03-20 10:11:20

by Rafael J. Wysocki

[permalink] [raw]
Subject: Re: 2.6.25-rc6 hangs at resume after suspend to RAM on Mac mini Core Duo

On Thursday, 20 of March 2008, Tino Keitel wrote:
> Hi folks,

Hi,

> whereas I had working suspend with 2.6.25-rc5, I had a hang at resume
> with git HEAD from March 19th (something after 2.6.25-rc6). I tried it
> again and got another hang, so it seems to be reproducible.
>
> Any hints what commit might have broke suspend? I won't have the time
> to start a git bisect or any resume debugging using CONFIG_PM_TRACE_RTC
> until next Tuesday.

No ideas for now.

I have created a Bugzilla entry for this problem at:
http://bugzilla.kernel.org/show_bug.cgi?id=10291

Please add yourself to the CC list in there.

> This is a Mac mini Core Duo. Here is the lspci -nn output:
>
> 00:00.0 Host bridge [0600]: Intel Corporation Mobile 945GM/PM/GMS,
> 943/940GML and 945GT Express Memory Controller Hub [8086:27a0] (rev 03)
>
> 00:02.0 VGA compatible controller [0300]: Intel Corporation Mobile
> 945GM/GMS, 943/940GML Express Integrated Graphics Controller
> [8086:27a2] (rev 03)
>
> 00:07.0 Performance counters [1101]: Intel Corporation Unknown device
> [8086:27a3] (rev 03)
>
> 00:1b.0 Audio device [0403]: Intel Corporation 82801G (ICH7 Family)
> High Definition Audio Controller [8086:27d8] (rev 02)
>
> 00:1c.0 PCI bridge [0604]: Intel Corporation 82801G (ICH7 Family) PCI
> Express Port 1 [8086:27d0] (rev 02)
>
> 00:1c.1 PCI bridge [0604]: Intel Corporation 82801G (ICH7 Family) PCI
> Express Port 2 [8086:27d2] (rev 02)
>
> 00:1d.0 USB Controller [0c03]: Intel Corporation 82801G (ICH7 Family)
> USB UHCI Controller #1 [8086:27c8] (rev 02)
>
> 00:1d.1 USB Controller [0c03]: Intel Corporation 82801G (ICH7 Family)
> USB UHCI Controller #2 [8086:27c9] (rev 02)
>
> 00:1d.2 USB Controller [0c03]: Intel Corporation 82801G (ICH7 Family)
> USB UHCI Controller #3 [8086:27ca] (rev 02)
>
> 00:1d.3 USB Controller [0c03]: Intel Corporation 82801G (ICH7 Family)
> USB UHCI Controller #4 [8086:27cb] (rev 02)
>
> 00:1d.7 USB Controller [0c03]: Intel Corporation 82801G (ICH7 Family)
> USB2 EHCI Controller [8086:27cc] (rev 02)
>
> 00:1e.0 PCI bridge [0604]: Intel Corporation 82801 Mobile PCI Bridge
> [8086:2448] (rev e2)
>
> 00:1f.0 ISA bridge [0601]: Intel Corporation 82801GBM (ICH7-M) LPC
> Interface Bridge [8086:27b9] (rev 02)
>
> 00:1f.1 IDE interface [0101]: Intel Corporation 82801G (ICH7 Family)
> IDE Controller [8086:27df] (rev 02)
>
> 00:1f.2 IDE interface [0101]: Intel Corporation 82801GBM/GHM (ICH7
> Family) SATA IDE Controller [8086:27c4] (rev 02)
>
> 00:1f.3 SMBus [0c05]: Intel Corporation 82801G (ICH7 Family) SMBus
> Controller [8086:27da] (rev 02)
>
> 01:00.0 Ethernet controller [0200]: Marvell Technology Group Ltd.
> 88E8053 PCI-E Gigabit Ethernet Controller [11ab:4362] (rev 22)
>
> 02:00.0 Ethernet controller [0200]: Atheros Communications, Inc. AR242x
> 802.11abg Wireless PCI Express Adapter [168c:001c] (rev 01)
>
> 03:03.0 FireWire (IEEE 1394) [0c00]: Agere Systems FW323 [11c1:5811]
> (rev 61)

Thanks,
Rafael

2008-03-20 10:25:45

by Andrew Morton

[permalink] [raw]
Subject: Re: 2.6.25-rc6 hangs at resume after suspend to RAM on Mac mini Core Duo

On Thu, 20 Mar 2008 07:05:50 +0100 Tino Keitel <[email protected]> wrote:

> Hi folks,
>
> whereas I had working suspend with 2.6.25-rc5, I had a hang at resume
> with git HEAD from March 19th (something after 2.6.25-rc6). I tried it
> again and got another hang, so it seems to be reproducible.

Was 2.6.24 OK?

> Any hints what commit might have broke suspend? I won't have the time
> to start a git bisect or any resume debugging using CONFIG_PM_TRACE_RTC
> until next Tuesday.
>
> This is a Mac mini Core Duo.

I assume Linus doesn't use his any more ;)

> Here is the lspci -nn output:

Please try Linus's current tree - quite a few things got reverted today
which might have fixed this.

2008-03-20 10:54:07

by Tino Keitel

[permalink] [raw]
Subject: Re: 2.6.25-rc6 hangs at resume after suspend to RAM on Mac mini Core Duo

On Thu, Mar 20, 2008 at 03:25:01 -0700, Andrew Morton wrote:
> On Thu, 20 Mar 2008 07:05:50 +0100 Tino Keitel <[email protected]> wrote:
>
> > Hi folks,
> >
> > whereas I had working suspend with 2.6.25-rc5, I had a hang at resume
> > with git HEAD from March 19th (something after 2.6.25-rc6). I tried it
> > again and got another hang, so it seems to be reproducible.
>
> Was 2.6.24 OK?

Yes, mostly ok (some seldom failures).

>
> > Any hints what commit might have broke suspend? I won't have the time
> > to start a git bisect or any resume debugging using CONFIG_PM_TRACE_RTC
> > until next Tuesday.
> >
> > This is a Mac mini Core Duo.
>
> I assume Linus doesn't use his any more ;)

That's too bad.

> > Here is the lspci -nn output:
>
> Please try Linus's current tree - quite a few things got reverted today
> which might have fixed this.

OK, I'll try it.

Regards,
Tino

2008-03-25 23:28:12

by Tino Keitel

[permalink] [raw]
Subject: Re: 2.6.25-rc6 hangs at resume after suspend to RAM on Mac mini Core Duo

On Thu, Mar 20, 2008 at 11:54:32 +0100, Tino Keitel wrote:
> On Thu, Mar 20, 2008 at 03:25:01 -0700, Andrew Morton wrote:
> > On Thu, 20 Mar 2008 07:05:50 +0100 Tino Keitel <[email protected]> wrote:
> >
> > > Hi folks,
> > >
> > > whereas I had working suspend with 2.6.25-rc5, I had a hang at resume
> > > with git HEAD from March 19th (something after 2.6.25-rc6). I tried it
> > > again and got another hang, so it seems to be reproducible.
> >
> > Was 2.6.24 OK?
>
> Yes, mostly ok (some seldom failures).
>
> >
> > > Any hints what commit might have broke suspend? I won't have the time
> > > to start a git bisect or any resume debugging using CONFIG_PM_TRACE_RTC
> > > until next Tuesday.
> > >
> > > This is a Mac mini Core Duo.
> >
> > I assume Linus doesn't use his any more ;)
>
> That's too bad.
>
> > > Here is the lspci -nn output:
> >
> > Please try Linus's current tree - quite a few things got reverted today
> > which might have fixed this.
>
> OK, I'll try it.

I tried HEAD from yesterday, but resume still fails. So it looks like I
need to start a git bisect.

Regards,
Tino

2008-03-28 23:03:24

by Rafael J. Wysocki

[permalink] [raw]
Subject: Re: 2.6.25-rc6 hangs at resume after suspend to RAM on Mac mini Core Duo

On Wednesday, 26 of March 2008, Tino Keitel wrote:
> On Thu, Mar 20, 2008 at 11:54:32 +0100, Tino Keitel wrote:
> > On Thu, Mar 20, 2008 at 03:25:01 -0700, Andrew Morton wrote:
> > > On Thu, 20 Mar 2008 07:05:50 +0100 Tino Keitel <[email protected]> wrote:
> > >
> > > > Hi folks,
> > > >
> > > > whereas I had working suspend with 2.6.25-rc5, I had a hang at resume
> > > > with git HEAD from March 19th (something after 2.6.25-rc6). I tried it
> > > > again and got another hang, so it seems to be reproducible.
> > >
> > > Was 2.6.24 OK?
> >
> > Yes, mostly ok (some seldom failures).
> >
> > >
> > > > Any hints what commit might have broke suspend? I won't have the time
> > > > to start a git bisect or any resume debugging using CONFIG_PM_TRACE_RTC
> > > > until next Tuesday.
> > > >
> > > > This is a Mac mini Core Duo.
> > >
> > > I assume Linus doesn't use his any more ;)
> >
> > That's too bad.
> >
> > > > Here is the lspci -nn output:
> > >
> > > Please try Linus's current tree - quite a few things got reverted today
> > > which might have fixed this.
> >
> > OK, I'll try it.
>
> I tried HEAD from yesterday, but resume still fails. So it looks like I
> need to start a git bisect.

Can you please try to boot with acpi_new_pts_ordering and retest?

Thanks,
Rafael

2008-03-31 21:27:37

by Tino Keitel

[permalink] [raw]
Subject: Re: 2.6.25-rc6 hangs at resume after suspend to RAM on Mac mini Core Duo

On Sat, Mar 29, 2008 at 00:03:15 +0100, Rafael J. Wysocki wrote:

[...]

> Can you please try to boot with acpi_new_pts_ordering and retest?

I just tried current -git (a9edadbf790d72adf6ebed476cb5caf7743e7e4a),
without success. I still got the same hand at resume.

Regards,
Tino

2008-03-31 21:49:58

by Pavel Machek

[permalink] [raw]
Subject: Re: 2.6.25-rc6 hangs at resume after suspend to RAM on Mac mini Core Duo

On Mon 2008-03-31 23:28:12, Tino Keitel wrote:
> On Sat, Mar 29, 2008 at 00:03:15 +0100, Rafael J. Wysocki wrote:
>
> [...]
>
> > Can you please try to boot with acpi_new_pts_ordering and retest?
>
> I just tried current -git (a9edadbf790d72adf6ebed476cb5caf7743e7e4a),
> without success. I still got the same hand at resume.

You should put "acpi_new_pts_ordering" on kernel command line.
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

2008-03-31 22:01:17

by Tino Keitel

[permalink] [raw]
Subject: Re: 2.6.25-rc6 hangs at resume after suspend to RAM on Mac mini Core Duo

On Mon, Mar 31, 2008 at 23:50:27 +0200, Pavel Machek wrote:
> On Mon 2008-03-31 23:28:12, Tino Keitel wrote:
> > On Sat, Mar 29, 2008 at 00:03:15 +0100, Rafael J. Wysocki wrote:
> >
> > [...]
> >
> > > Can you please try to boot with acpi_new_pts_ordering and retest?
> >
> > I just tried current -git (a9edadbf790d72adf6ebed476cb5caf7743e7e4a),
> > without success. I still got the same hand at resume.
>
> You should put "acpi_new_pts_ordering" on kernel command line.

I did, just forgot to mention it.

Regards,
Tino

2008-03-31 22:18:28

by Rafael J. Wysocki

[permalink] [raw]
Subject: Re: 2.6.25-rc6 hangs at resume after suspend to RAM on Mac mini Core Duo

On Tuesday, 1 of April 2008, Tino Keitel wrote:
> On Mon, Mar 31, 2008 at 23:50:27 +0200, Pavel Machek wrote:
> > On Mon 2008-03-31 23:28:12, Tino Keitel wrote:
> > > On Sat, Mar 29, 2008 at 00:03:15 +0100, Rafael J. Wysocki wrote:
> > >
> > > [...]
> > >
> > > > Can you please try to boot with acpi_new_pts_ordering and retest?
> > >
> > > I just tried current -git (a9edadbf790d72adf6ebed476cb5caf7743e7e4a),
> > > without success. I still got the same hand at resume.
> >
> > You should put "acpi_new_pts_ordering" on kernel command line.
>
> I did, just forgot to mention it.

OK, thanks.

Have you tried to do:

# echo core > /sys/power/pm_test
# echo mem > /sys/power/state

(it's good to boot the kernel with no_console_suspend and do
"echo 8 > /proc/sys/kernel/printk" before that to see the messages)?

Rafael