* 2.6.25-rc6 hangs at resume after suspend to RAM on Mac mini Core Duo @ 2008-03-20 6:05 Tino Keitel 2008-03-20 10:10 ` Rafael J. Wysocki 2008-03-20 10:25 ` Andrew Morton 0 siblings, 2 replies; 31+ messages in thread From: Tino Keitel @ 2008-03-20 6:05 UTC (permalink / raw) To: linux-kernel 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 ^ permalink raw reply [flat|nested] 31+ messages in thread
* Re: 2.6.25-rc6 hangs at resume after suspend to RAM on Mac mini Core Duo 2008-03-20 6:05 2.6.25-rc6 hangs at resume after suspend to RAM on Mac mini Core Duo Tino Keitel @ 2008-03-20 10:10 ` Rafael J. Wysocki 2008-03-20 10:25 ` Andrew Morton 1 sibling, 0 replies; 31+ messages in thread From: Rafael J. Wysocki @ 2008-03-20 10:10 UTC (permalink / raw) To: Tino Keitel; +Cc: linux-kernel, Andrew Morton 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 ^ permalink raw reply [flat|nested] 31+ messages in thread
* Re: 2.6.25-rc6 hangs at resume after suspend to RAM on Mac mini Core Duo 2008-03-20 6:05 2.6.25-rc6 hangs at resume after suspend to RAM on Mac mini Core Duo Tino Keitel 2008-03-20 10:10 ` Rafael J. Wysocki @ 2008-03-20 10:25 ` Andrew Morton 2008-03-20 10:54 ` Tino Keitel 1 sibling, 1 reply; 31+ messages in thread From: Andrew Morton @ 2008-03-20 10:25 UTC (permalink / raw) To: Tino Keitel; +Cc: linux-kernel, Rafael J. Wysocki On Thu, 20 Mar 2008 07:05:50 +0100 Tino Keitel <tino.keitel@gmx.de> 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. ^ permalink raw reply [flat|nested] 31+ messages in thread
* Re: 2.6.25-rc6 hangs at resume after suspend to RAM on Mac mini Core Duo 2008-03-20 10:25 ` Andrew Morton @ 2008-03-20 10:54 ` Tino Keitel 2008-03-25 23:13 ` Tino Keitel 0 siblings, 1 reply; 31+ messages in thread From: Tino Keitel @ 2008-03-20 10:54 UTC (permalink / raw) To: Andrew Morton; +Cc: linux-kernel, Rafael J. Wysocki On Thu, Mar 20, 2008 at 03:25:01 -0700, Andrew Morton wrote: > On Thu, 20 Mar 2008 07:05:50 +0100 Tino Keitel <tino.keitel@gmx.de> 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 ^ permalink raw reply [flat|nested] 31+ messages in thread
* Re: 2.6.25-rc6 hangs at resume after suspend to RAM on Mac mini Core Duo 2008-03-20 10:54 ` Tino Keitel @ 2008-03-25 23:13 ` Tino Keitel 2008-03-28 23:03 ` Rafael J. Wysocki 0 siblings, 1 reply; 31+ messages in thread From: Tino Keitel @ 2008-03-25 23:13 UTC (permalink / raw) To: Andrew Morton, linux-kernel, Rafael J. Wysocki 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 <tino.keitel@gmx.de> 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 ^ permalink raw reply [flat|nested] 31+ messages in thread
* Re: 2.6.25-rc6 hangs at resume after suspend to RAM on Mac mini Core Duo 2008-03-25 23:13 ` Tino Keitel @ 2008-03-28 23:03 ` Rafael J. Wysocki 2008-03-31 21:28 ` Tino Keitel 0 siblings, 1 reply; 31+ messages in thread From: Rafael J. Wysocki @ 2008-03-28 23:03 UTC (permalink / raw) To: Tino Keitel; +Cc: Andrew Morton, linux-kernel, Len Brown, Pavel Machek 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 <tino.keitel@gmx.de> 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 ^ permalink raw reply [flat|nested] 31+ messages in thread
* Re: 2.6.25-rc6 hangs at resume after suspend to RAM on Mac mini Core Duo 2008-03-28 23:03 ` Rafael J. Wysocki @ 2008-03-31 21:28 ` Tino Keitel 2008-03-31 21:50 ` Pavel Machek 2008-04-01 6:23 ` Soeren Sonnenburg 0 siblings, 2 replies; 31+ messages in thread From: Tino Keitel @ 2008-03-31 21:28 UTC (permalink / raw) To: Rafael J. Wysocki; +Cc: Andrew Morton, linux-kernel, Len Brown, Pavel Machek 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 ^ permalink raw reply [flat|nested] 31+ messages in thread
* Re: 2.6.25-rc6 hangs at resume after suspend to RAM on Mac mini Core Duo 2008-03-31 21:28 ` Tino Keitel @ 2008-03-31 21:50 ` Pavel Machek 2008-03-31 22:01 ` Tino Keitel 2008-04-01 6:23 ` Soeren Sonnenburg 1 sibling, 1 reply; 31+ messages in thread From: Pavel Machek @ 2008-03-31 21:50 UTC (permalink / raw) To: Rafael J. Wysocki, Andrew Morton, linux-kernel, Len Brown 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 ^ permalink raw reply [flat|nested] 31+ messages in thread
* Re: 2.6.25-rc6 hangs at resume after suspend to RAM on Mac mini Core Duo 2008-03-31 21:50 ` Pavel Machek @ 2008-03-31 22:01 ` Tino Keitel 2008-03-31 22:17 ` Rafael J. Wysocki 0 siblings, 1 reply; 31+ messages in thread From: Tino Keitel @ 2008-03-31 22:01 UTC (permalink / raw) To: Pavel Machek; +Cc: Rafael J. Wysocki, Andrew Morton, linux-kernel, Len Brown 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 ^ permalink raw reply [flat|nested] 31+ messages in thread
* Re: 2.6.25-rc6 hangs at resume after suspend to RAM on Mac mini Core Duo 2008-03-31 22:01 ` Tino Keitel @ 2008-03-31 22:17 ` Rafael J. Wysocki 2008-04-01 8:04 ` Tino Keitel 0 siblings, 1 reply; 31+ messages in thread From: Rafael J. Wysocki @ 2008-03-31 22:17 UTC (permalink / raw) To: Tino Keitel; +Cc: Pavel Machek, Andrew Morton, linux-kernel, Len Brown 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 ^ permalink raw reply [flat|nested] 31+ messages in thread
* Re: 2.6.25-rc6 hangs at resume after suspend to RAM on Mac mini Core Duo 2008-03-31 22:17 ` Rafael J. Wysocki @ 2008-04-01 8:04 ` Tino Keitel 2008-04-01 21:03 ` Rafael J. Wysocki 0 siblings, 1 reply; 31+ messages in thread From: Tino Keitel @ 2008-04-01 8:04 UTC (permalink / raw) To: Rafael J. Wysocki; +Cc: Pavel Machek, Andrew Morton, linux-kernel, Len Brown On Tue, Apr 01, 2008 at 00:17:53 +0200, Rafael J. Wysocki wrote: > 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)? Thanks, I'll try this evening. What should I look for in the kernel messages? Regards, Tino ^ permalink raw reply [flat|nested] 31+ messages in thread
* Re: 2.6.25-rc6 hangs at resume after suspend to RAM on Mac mini Core Duo 2008-04-01 8:04 ` Tino Keitel @ 2008-04-01 21:03 ` Rafael J. Wysocki 0 siblings, 0 replies; 31+ messages in thread From: Rafael J. Wysocki @ 2008-04-01 21:03 UTC (permalink / raw) To: Tino Keitel; +Cc: Pavel Machek, Andrew Morton, linux-kernel, Len Brown On Tuesday, 1 of April 2008, Tino Keitel wrote: > On Tue, Apr 01, 2008 at 00:17:53 +0200, Rafael J. Wysocki wrote: > > 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)? > > Thanks, I'll try this evening. What should I look for in the kernel > messages? Any irregularities. Please just post the dmesg output if the system survives. If there are any oopes etc., you should see them. :-) Thanks, Rafael ^ permalink raw reply [flat|nested] 31+ messages in thread
* Re: 2.6.25-rc6 hangs at resume after suspend to RAM on Mac mini Core Duo 2008-03-31 21:28 ` Tino Keitel 2008-03-31 21:50 ` Pavel Machek @ 2008-04-01 6:23 ` Soeren Sonnenburg 2008-04-01 6:27 ` Tino Keitel 1 sibling, 1 reply; 31+ messages in thread From: Soeren Sonnenburg @ 2008-04-01 6:23 UTC (permalink / raw) To: Tino Keitel Cc: Rafael J. Wysocki, Andrew Morton, linux-kernel, Len Brown, Pavel Machek On Mon, 2008-03-31 at 23:28 +0200, 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. I am having the hang on resume problem too (macbook pro), cf. http://bugzilla.kernel.org/show_bug.cgi?id=10319, 2.6.24 was fine. Soeren -- For the one fact about the future of which we can be certain is that it will be utterly fantastic. -- Arthur C. Clarke, 1962 ^ permalink raw reply [flat|nested] 31+ messages in thread
* Re: 2.6.25-rc6 hangs at resume after suspend to RAM on Mac mini Core Duo 2008-04-01 6:23 ` Soeren Sonnenburg @ 2008-04-01 6:27 ` Tino Keitel 2008-04-01 6:38 ` Soeren Sonnenburg 2008-04-01 10:52 ` Pavel Machek 0 siblings, 2 replies; 31+ messages in thread From: Tino Keitel @ 2008-04-01 6:27 UTC (permalink / raw) To: Soeren Sonnenburg Cc: Rafael J. Wysocki, Andrew Morton, linux-kernel, Len Brown, Pavel Machek On Tue, Apr 01, 2008 at 06:23:11 +0000, Soeren Sonnenburg wrote: > On Mon, 2008-03-31 at 23:28 +0200, 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. > > I am having the hang on resume problem too (macbook pro), cf. > http://bugzilla.kernel.org/show_bug.cgi?id=10319, 2.6.24 was fine. What about 2.6.25-rc5? Up to this, resume works for me. -rc6 is broken. Regards, Tino ^ permalink raw reply [flat|nested] 31+ messages in thread
* Re: 2.6.25-rc6 hangs at resume after suspend to RAM on Mac mini Core Duo 2008-04-01 6:27 ` Tino Keitel @ 2008-04-01 6:38 ` Soeren Sonnenburg 2008-04-01 21:05 ` Rafael J. Wysocki 2008-04-01 10:52 ` Pavel Machek 1 sibling, 1 reply; 31+ messages in thread From: Soeren Sonnenburg @ 2008-04-01 6:38 UTC (permalink / raw) To: Tino Keitel Cc: Rafael J. Wysocki, Andrew Morton, linux-kernel, Len Brown, Pavel Machek On Tue, 2008-04-01 at 08:27 +0200, Tino Keitel wrote: > On Tue, Apr 01, 2008 at 06:23:11 +0000, Soeren Sonnenburg wrote: > > On Mon, 2008-03-31 at 23:28 +0200, 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. > > > > I am having the hang on resume problem too (macbook pro), cf. > > http://bugzilla.kernel.org/show_bug.cgi?id=10319, 2.6.24 was fine. > > What about 2.6.25-rc5? Up to this, resume works for me. -rc6 is broken. No never worked in 2.6.25 (at least from rc2 on) and still does not in rc7-current-git. But note that on console I could suspend to ram and resume but the display is not anymore coming back with s2ram - from within X it freezes though. Soeren ^ permalink raw reply [flat|nested] 31+ messages in thread
* Re: 2.6.25-rc6 hangs at resume after suspend to RAM on Mac mini Core Duo 2008-04-01 6:38 ` Soeren Sonnenburg @ 2008-04-01 21:05 ` Rafael J. Wysocki 2008-04-02 17:33 ` Soeren Sonnenburg 0 siblings, 1 reply; 31+ messages in thread From: Rafael J. Wysocki @ 2008-04-01 21:05 UTC (permalink / raw) To: Soeren Sonnenburg Cc: Tino Keitel, Andrew Morton, linux-kernel, Len Brown, Pavel Machek On Tuesday, 1 of April 2008, Soeren Sonnenburg wrote: > On Tue, 2008-04-01 at 08:27 +0200, Tino Keitel wrote: > > On Tue, Apr 01, 2008 at 06:23:11 +0000, Soeren Sonnenburg wrote: > > > On Mon, 2008-03-31 at 23:28 +0200, 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. > > > > > > I am having the hang on resume problem too (macbook pro), cf. > > > http://bugzilla.kernel.org/show_bug.cgi?id=10319, 2.6.24 was fine. > > > > What about 2.6.25-rc5? Up to this, resume works for me. -rc6 is broken. > > No never worked in 2.6.25 (at least from rc2 on) and still does not in > rc7-current-git. But note that on console I could suspend to ram and > resume but the display is not anymore coming back with s2ram - from > within X it freezes though. Please try -rc8. Thanks, Rafael ^ permalink raw reply [flat|nested] 31+ messages in thread
* Re: 2.6.25-rc6 hangs at resume after suspend to RAM on Mac mini Core Duo 2008-04-01 21:05 ` Rafael J. Wysocki @ 2008-04-02 17:33 ` Soeren Sonnenburg 2008-04-02 17:56 ` Rafael J. Wysocki 0 siblings, 1 reply; 31+ messages in thread From: Soeren Sonnenburg @ 2008-04-02 17:33 UTC (permalink / raw) To: Rafael J. Wysocki Cc: Tino Keitel, Andrew Morton, linux-kernel, Len Brown, Pavel Machek On Tue, 2008-04-01 at 23:05 +0200, Rafael J. Wysocki wrote: > On Tuesday, 1 of April 2008, Soeren Sonnenburg wrote: > > On Tue, 2008-04-01 at 08:27 +0200, Tino Keitel wrote: > > > On Tue, Apr 01, 2008 at 06:23:11 +0000, Soeren Sonnenburg wrote: > > > > On Mon, 2008-03-31 at 23:28 +0200, 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. > > > > > > > > I am having the hang on resume problem too (macbook pro), cf. > > > > http://bugzilla.kernel.org/show_bug.cgi?id=10319, 2.6.24 was fine. > > > > > > What about 2.6.25-rc5? Up to this, resume works for me. -rc6 is broken. > > > > No never worked in 2.6.25 (at least from rc2 on) and still does not in > > rc7-current-git. But note that on console I could suspend to ram and > > resume but the display is not anymore coming back with s2ram - from > > within X it freezes though. > > Please try -rc8. OK I did. Now not only the console stays black but blindly typing reboot/s2ram does not do anything after a resume... in this respect rc7 was better though not usable (as the display remained off). Soeren ^ permalink raw reply [flat|nested] 31+ messages in thread
* Re: 2.6.25-rc6 hangs at resume after suspend to RAM on Mac mini Core Duo 2008-04-02 17:33 ` Soeren Sonnenburg @ 2008-04-02 17:56 ` Rafael J. Wysocki 2008-04-02 18:42 ` Soeren Sonnenburg 0 siblings, 1 reply; 31+ messages in thread From: Rafael J. Wysocki @ 2008-04-02 17:56 UTC (permalink / raw) To: Soeren Sonnenburg Cc: Tino Keitel, Andrew Morton, linux-kernel, Len Brown, Pavel Machek, Felix Möller On Wednesday, 2 of April 2008, Soeren Sonnenburg wrote: > On Tue, 2008-04-01 at 23:05 +0200, Rafael J. Wysocki wrote: > > On Tuesday, 1 of April 2008, Soeren Sonnenburg wrote: > > > On Tue, 2008-04-01 at 08:27 +0200, Tino Keitel wrote: > > > > On Tue, Apr 01, 2008 at 06:23:11 +0000, Soeren Sonnenburg wrote: > > > > > On Mon, 2008-03-31 at 23:28 +0200, 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. > > > > > > > > > > I am having the hang on resume problem too (macbook pro), cf. > > > > > http://bugzilla.kernel.org/show_bug.cgi?id=10319, 2.6.24 was fine. > > > > > > > > What about 2.6.25-rc5? Up to this, resume works for me. -rc6 is broken. > > > > > > No never worked in 2.6.25 (at least from rc2 on) and still does not in > > > rc7-current-git. But note that on console I could suspend to ram and > > > resume but the display is not anymore coming back with s2ram - from > > > within X it freezes though. > > > > Please try -rc8. > > OK I did. Now not only the console stays black but blindly typing > reboot/s2ram does not do anything after a resume... in this respect rc7 > was better though not usable (as the display remained off). The Felix's MacBook suspends sucessfully with current -git, AFAICS. Perhaps you can compare .configs? Rafael ^ permalink raw reply [flat|nested] 31+ messages in thread
* Re: 2.6.25-rc6 hangs at resume after suspend to RAM on Mac mini Core Duo 2008-04-02 17:56 ` Rafael J. Wysocki @ 2008-04-02 18:42 ` Soeren Sonnenburg 0 siblings, 0 replies; 31+ messages in thread From: Soeren Sonnenburg @ 2008-04-02 18:42 UTC (permalink / raw) To: Rafael J. Wysocki Cc: Tino Keitel, Andrew Morton, linux-kernel, Len Brown, Pavel Machek, Felix Möller On Wed, 2008-04-02 at 19:56 +0200, Rafael J. Wysocki wrote: > On Wednesday, 2 of April 2008, Soeren Sonnenburg wrote: > > On Tue, 2008-04-01 at 23:05 +0200, Rafael J. Wysocki wrote: > > > On Tuesday, 1 of April 2008, Soeren Sonnenburg wrote: > > > > On Tue, 2008-04-01 at 08:27 +0200, Tino Keitel wrote: > > > > > On Tue, Apr 01, 2008 at 06:23:11 +0000, Soeren Sonnenburg wrote: > > > > > > On Mon, 2008-03-31 at 23:28 +0200, 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. > > > > > > > > > > > > I am having the hang on resume problem too (macbook pro), cf. > > > > > > http://bugzilla.kernel.org/show_bug.cgi?id=10319, 2.6.24 was fine. > > > > > > > > > > What about 2.6.25-rc5? Up to this, resume works for me. -rc6 is broken. > > > > > > > > No never worked in 2.6.25 (at least from rc2 on) and still does not in > > > > rc7-current-git. But note that on console I could suspend to ram and > > > > resume but the display is not anymore coming back with s2ram - from > > > > within X it freezes though. > > > > > > Please try -rc8. > > > > OK I did. Now not only the console stays black but blindly typing > > reboot/s2ram does not do anything after a resume... in this respect rc7 > > was better though not usable (as the display remained off). > > The Felix's MacBook suspends sucessfully with current -git, AFAICS. Perhaps > you can compare .configs? Well it suspends, since rc2/3 or so but it simply does not resume as it used to in 2.24. Anyway config is here http://nn7.de/debugging/config.gz . Also note that this is a macbookpro1,1 and that I have to use http://marc.info/?l=linux-kernel&m=120674502201007&w=4 to be able to boot. Soeren ^ permalink raw reply [flat|nested] 31+ messages in thread
* Re: 2.6.25-rc6 hangs at resume after suspend to RAM on Mac mini Core Duo 2008-04-01 6:27 ` Tino Keitel 2008-04-01 6:38 ` Soeren Sonnenburg @ 2008-04-01 10:52 ` Pavel Machek 2008-04-01 12:55 ` Tino Keitel 2008-04-01 18:37 ` Tino Keitel 1 sibling, 2 replies; 31+ messages in thread From: Pavel Machek @ 2008-04-01 10:52 UTC (permalink / raw) To: Soeren Sonnenburg, Rafael J. Wysocki, Andrew Morton, linux-kernel, Len Brown Hi! > > > [...] > > > > > > > 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. > > > > I am having the hang on resume problem too (macbook pro), cf. > > http://bugzilla.kernel.org/show_bug.cgi?id=10319, 2.6.24 was fine. > > What about 2.6.25-rc5? Up to this, resume works for me. -rc6 is broken. Any chance to bisect? -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html ^ permalink raw reply [flat|nested] 31+ messages in thread
* Re: 2.6.25-rc6 hangs at resume after suspend to RAM on Mac mini Core Duo 2008-04-01 10:52 ` Pavel Machek @ 2008-04-01 12:55 ` Tino Keitel 2008-04-01 18:37 ` Tino Keitel 1 sibling, 0 replies; 31+ messages in thread From: Tino Keitel @ 2008-04-01 12:55 UTC (permalink / raw) To: Pavel Machek Cc: Soeren Sonnenburg, Rafael J. Wysocki, Andrew Morton, linux-kernel, Len Brown On Tue, Apr 01, 2008 at 12:52:13 +0200, Pavel Machek wrote: > Hi! > > > > > [...] > > > > > > > > > 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. > > > > > > I am having the hang on resume problem too (macbook pro), cf. > > > http://bugzilla.kernel.org/show_bug.cgi?id=10319, 2.6.24 was fine. > > > > What about 2.6.25-rc5? Up to this, resume works for me. -rc6 is broken. > > Any chance to bisect? I'll try to find the time for a bisect his week. Regards, Tino ^ permalink raw reply [flat|nested] 31+ messages in thread
* Re: 2.6.25-rc6 hangs at resume after suspend to RAM on Mac mini Core Duo 2008-04-01 10:52 ` Pavel Machek 2008-04-01 12:55 ` Tino Keitel @ 2008-04-01 18:37 ` Tino Keitel 2008-04-01 19:06 ` Alan Stern 2008-04-01 20:06 ` David Brownell 1 sibling, 2 replies; 31+ messages in thread From: Tino Keitel @ 2008-04-01 18:37 UTC (permalink / raw) To: Pavel Machek, linux-usb Cc: Soeren Sonnenburg, Rafael J. Wysocki, Andrew Morton, linux-kernel, Len Brown On Tue, Apr 01, 2008 at 12:52:13 +0200, Pavel Machek wrote: > Hi! > > > > > [...] > > > > > > > > > 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. > > > > > > I am having the hang on resume problem too (macbook pro), cf. > > > http://bugzilla.kernel.org/show_bug.cgi?id=10319, 2.6.24 was fine. > > > > What about 2.6.25-rc5? Up to this, resume works for me. -rc6 is broken. > > Any chance to bisect? git-bisect revealed this: $ git bisect good e82cc1288fa57857c6af8c57f3d07096d4bcd9d9 is first bad commit commit e82cc1288fa57857c6af8c57f3d07096d4bcd9d9 Author: David Brownell <david-b@pacbell.net> Date: Fri Mar 7 13:49:42 2008 -0800 USB: fix ehci unlink regressions The recent EHCI driver update to split the IAA watchdog timer out from the other timers made several things work better, but not everything; and it created a couple new issues in bugzilla. Ergo this patch: - Handle a should-be-rare SMP race between the watchdog firing and (very late) IAA interrupts; - Remove a shouldn't-have-been-added WARN_ON() test; - Guard against one observed OOPS; - If this watchdog fires during clean HC shutdown, it should act as a NOP instead of interfering with the shutdown sequence; - Guard against silicon errata hypothesized by some vendors: * IAA status latch broken, but IAAD cleared OK; * IAAD wasn't cleared when IAA status got reported; The WARN_ON is in bugzilla as 10168; the OOPS as 10078; these are both regressions. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net> Tested-by: Gordon Farquharson <gordonfarquharson@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> :040000 040000 ff621bb62396fdf71c7b97877ddbb8542f57b871 251bc90076ea0b3a14d0b88dd250581fa815b5de M drivers For the linux-usb people: this commit breaks resume from suspend to RAM on my Mac mini Core Duo. It worked with 2.6.24, 2.6.25-rc5, and was broken since 2.6.25-rc6 (also with -rc7 and later). See http://lkml.org/lkml/2008/3/20/23 for more information. Regards, Tino ^ permalink raw reply [flat|nested] 31+ messages in thread
* Re: 2.6.25-rc6 hangs at resume after suspend to RAM on Mac mini Core Duo 2008-04-01 18:37 ` Tino Keitel @ 2008-04-01 19:06 ` Alan Stern 2008-04-01 20:25 ` Tino Keitel 2008-04-01 20:06 ` David Brownell 1 sibling, 1 reply; 31+ messages in thread From: Alan Stern @ 2008-04-01 19:06 UTC (permalink / raw) To: Tino Keitel Cc: Pavel Machek, linux-usb, Soeren Sonnenburg, Rafael J. Wysocki, Andrew Morton, linux-kernel, Len Brown On Tue, 1 Apr 2008, Tino Keitel wrote: > git-bisect revealed this: > > $ git bisect good > e82cc1288fa57857c6af8c57f3d07096d4bcd9d9 is first bad commit > commit e82cc1288fa57857c6af8c57f3d07096d4bcd9d9 > Author: David Brownell <david-b@pacbell.net> > Date: Fri Mar 7 13:49:42 2008 -0800 > > USB: fix ehci unlink regressions > For the linux-usb people: this commit breaks resume from suspend to RAM > on my Mac mini Core Duo. It worked with 2.6.24, 2.6.25-rc5, and was > broken since 2.6.25-rc6 (also with -rc7 and later). See > http://lkml.org/lkml/2008/3/20/23 for more information. Can you get any information out of the computer after the hang? It would help to see the dmesg log (with CONFIG_USB_DEBUG enabled) and an Alt-SysRq-T stack dump. Alan Stern ^ permalink raw reply [flat|nested] 31+ messages in thread
* Re: 2.6.25-rc6 hangs at resume after suspend to RAM on Mac mini Core Duo 2008-04-01 19:06 ` Alan Stern @ 2008-04-01 20:25 ` Tino Keitel 2008-04-01 21:02 ` Alan Stern 0 siblings, 1 reply; 31+ messages in thread From: Tino Keitel @ 2008-04-01 20:25 UTC (permalink / raw) To: Alan Stern Cc: Pavel Machek, linux-usb, Soeren Sonnenburg, Rafael J. Wysocki, Andrew Morton, linux-kernel, Len Brown On Tue, Apr 01, 2008 at 15:06:51 -0400, Alan Stern wrote: [...] > Can you get any information out of the computer after the hang? It > would help to see the dmesg log (with CONFIG_USB_DEBUG enabled) and an > Alt-SysRq-T stack dump. Looks difficult. The text console stays black after resume, and there is no serial interface. Regards, Tino ^ permalink raw reply [flat|nested] 31+ messages in thread
* Re: 2.6.25-rc6 hangs at resume after suspend to RAM on Mac mini Core Duo 2008-04-01 20:25 ` Tino Keitel @ 2008-04-01 21:02 ` Alan Stern 2008-04-01 21:06 ` Tino Keitel 0 siblings, 1 reply; 31+ messages in thread From: Alan Stern @ 2008-04-01 21:02 UTC (permalink / raw) To: Tino Keitel Cc: Pavel Machek, linux-usb, Soeren Sonnenburg, Rafael J. Wysocki, Andrew Morton, linux-kernel, Len Brown On Tue, 1 Apr 2008, Tino Keitel wrote: > On Tue, Apr 01, 2008 at 15:06:51 -0400, Alan Stern wrote: > > [...] > > > Can you get any information out of the computer after the hang? It > > would help to see the dmesg log (with CONFIG_USB_DEBUG enabled) and an > > Alt-SysRq-T stack dump. > > Looks difficult. The text console stays black after resume, and there > is no serial interface. Network console? SSH? Or even telnet? Alan Stern ^ permalink raw reply [flat|nested] 31+ messages in thread
* Re: 2.6.25-rc6 hangs at resume after suspend to RAM on Mac mini Core Duo 2008-04-01 21:02 ` Alan Stern @ 2008-04-01 21:06 ` Tino Keitel 2008-04-02 14:25 ` Alan Stern 2008-04-02 19:26 ` Alan Stern 0 siblings, 2 replies; 31+ messages in thread From: Tino Keitel @ 2008-04-01 21:06 UTC (permalink / raw) To: Alan Stern Cc: Pavel Machek, linux-usb, Soeren Sonnenburg, Rafael J. Wysocki, Andrew Morton, linux-kernel, Len Brown On Tue, Apr 01, 2008 at 17:02:36 -0400, Alan Stern wrote: > On Tue, 1 Apr 2008, Tino Keitel wrote: > > > On Tue, Apr 01, 2008 at 15:06:51 -0400, Alan Stern wrote: > > > > [...] > > > > > Can you get any information out of the computer after the hang? It > > > would help to see the dmesg log (with CONFIG_USB_DEBUG enabled) and an > > > Alt-SysRq-T stack dump. > > > > Looks difficult. The text console stays black after resume, and there > > is no serial interface. > > Network console? SSH? Or even telnet? Network is dead, too. Regards, Tino ^ permalink raw reply [flat|nested] 31+ messages in thread
* Re: 2.6.25-rc6 hangs at resume after suspend to RAM on Mac mini Core Duo 2008-04-01 21:06 ` Tino Keitel @ 2008-04-02 14:25 ` Alan Stern 2008-04-02 19:26 ` Alan Stern 1 sibling, 0 replies; 31+ messages in thread From: Alan Stern @ 2008-04-02 14:25 UTC (permalink / raw) To: Tino Keitel Cc: Pavel Machek, linux-usb, Soeren Sonnenburg, Rafael J. Wysocki, Andrew Morton, linux-kernel, Len Brown On Tue, 1 Apr 2008, Tino Keitel wrote: > > Network console? SSH? Or even telnet? > > Network is dead, too. Okay, then try this. Boot with "no_console_suspend" on the command line. Do "echo devices >/sys/power/pm_test" before starting the suspend. Then "echo mem >/sys/power/state", and while the system is paused try unplugging/replugging a USB device. Maybe that will provide usable information. Alan Stern ^ permalink raw reply [flat|nested] 31+ messages in thread
* Re: 2.6.25-rc6 hangs at resume after suspend to RAM on Mac mini Core Duo 2008-04-01 21:06 ` Tino Keitel 2008-04-02 14:25 ` Alan Stern @ 2008-04-02 19:26 ` Alan Stern 2008-04-02 19:47 ` Tino Keitel 1 sibling, 1 reply; 31+ messages in thread From: Alan Stern @ 2008-04-02 19:26 UTC (permalink / raw) To: Tino Keitel Cc: Pavel Machek, linux-usb, Soeren Sonnenburg, Rafael J. Wysocki, Andrew Morton, linux-kernel, Len Brown On Tue, 1 Apr 2008, Tino Keitel wrote: > On Tue, Apr 01, 2008 at 17:02:36 -0400, Alan Stern wrote: > > On Tue, 1 Apr 2008, Tino Keitel wrote: > > > > > On Tue, Apr 01, 2008 at 15:06:51 -0400, Alan Stern wrote: > > > > > > [...] > > > > > > > Can you get any information out of the computer after the hang? It > > > > would help to see the dmesg log (with CONFIG_USB_DEBUG enabled) and an > > > > Alt-SysRq-T stack dump. > > > > > > Looks difficult. The text console stays black after resume, and there > > > is no serial interface. > > > > Network console? SSH? Or even telnet? > > Network is dead, too. Tino, try this patch. It fixed Mark Lord's problem, which looked the same as yours. Alan Stern --- rc8/drivers/usb/host/ehci-hub.c 2008-03-11 11:18:40.000000000 -0400 +++ linux/drivers/usb/host/ehci-hub.c 2008-04-02 13:28:50.000000000 -0400 @@ -135,8 +135,6 @@ hcd->state = HC_STATE_QUIESCING; } ehci->command = ehci_readl(ehci, &ehci->regs->command); - if (ehci->reclaim) - end_unlink_async(ehci); ehci_work(ehci); /* Unlike other USB host controller types, EHCI doesn't have @@ -180,6 +178,9 @@ ehci_halt (ehci); hcd->state = HC_STATE_SUSPENDED; + if (ehci->reclaim) + end_unlink_async(ehci); + /* allow remote wakeup */ mask = INTR_MASK; if (!device_may_wakeup(&hcd->self.root_hub->dev)) ^ permalink raw reply [flat|nested] 31+ messages in thread
* Re: 2.6.25-rc6 hangs at resume after suspend to RAM on Mac mini Core Duo 2008-04-02 19:26 ` Alan Stern @ 2008-04-02 19:47 ` Tino Keitel 2008-04-02 20:37 ` Soeren Sonnenburg 0 siblings, 1 reply; 31+ messages in thread From: Tino Keitel @ 2008-04-02 19:47 UTC (permalink / raw) To: Alan Stern Cc: Pavel Machek, linux-usb, Soeren Sonnenburg, Rafael J. Wysocki, Andrew Morton, linux-kernel, Len Brown On Wed, Apr 02, 2008 at 15:26:44 -0400, Alan Stern wrote: > On Tue, 1 Apr 2008, Tino Keitel wrote: > > > On Tue, Apr 01, 2008 at 17:02:36 -0400, Alan Stern wrote: > > > On Tue, 1 Apr 2008, Tino Keitel wrote: > > > > > > > On Tue, Apr 01, 2008 at 15:06:51 -0400, Alan Stern wrote: > > > > > > > > [...] > > > > > > > > > Can you get any information out of the computer after the hang? It > > > > > would help to see the dmesg log (with CONFIG_USB_DEBUG enabled) and an > > > > > Alt-SysRq-T stack dump. > > > > > > > > Looks difficult. The text console stays black after resume, and there > > > > is no serial interface. > > > > > > Network console? SSH? Or even telnet? > > > > Network is dead, too. > > Tino, try this patch. It fixed Mark Lord's problem, which looked the > same as yours. Fine, it seems to solve the hang, I see no problems after the resume. Thanks a lot. Regards, Tino ^ permalink raw reply [flat|nested] 31+ messages in thread
* Re: 2.6.25-rc6 hangs at resume after suspend to RAM on Mac mini Core Duo 2008-04-02 19:47 ` Tino Keitel @ 2008-04-02 20:37 ` Soeren Sonnenburg 0 siblings, 0 replies; 31+ messages in thread From: Soeren Sonnenburg @ 2008-04-02 20:37 UTC (permalink / raw) To: Tino Keitel Cc: Alan Stern, Pavel Machek, linux-usb, Rafael J. Wysocki, Andrew Morton, linux-kernel, Len Brown On Wed, 2008-04-02 at 21:47 +0200, Tino Keitel wrote: > On Wed, Apr 02, 2008 at 15:26:44 -0400, Alan Stern wrote: > > On Tue, 1 Apr 2008, Tino Keitel wrote: > > > > > On Tue, Apr 01, 2008 at 17:02:36 -0400, Alan Stern wrote: > > > > On Tue, 1 Apr 2008, Tino Keitel wrote: > > > > > > > > > On Tue, Apr 01, 2008 at 15:06:51 -0400, Alan Stern wrote: > > > > > > > > > > [...] > > > > > > > > > > > Can you get any information out of the computer after the hang? It > > > > > > would help to see the dmesg log (with CONFIG_USB_DEBUG enabled) and an > > > > > > Alt-SysRq-T stack dump. > > > > > > > > > > Looks difficult. The text console stays black after resume, and there > > > > > is no serial interface. > > > > > > > > Network console? SSH? Or even telnet? > > > > > > Network is dead, too. > > > > Tino, try this patch. It fixed Mark Lord's problem, which looked the > > same as yours. > > Fine, it seems to solve the hang, I see no problems after the resume. > Thanks a lot. Using this patch fixes the hang for my macbookpro1,1 too. However the console stays black after resume, though I can s2ram multiple times and reboot... Soeren ^ permalink raw reply [flat|nested] 31+ messages in thread
* Re: 2.6.25-rc6 hangs at resume after suspend to RAM on Mac mini Core Duo 2008-04-01 18:37 ` Tino Keitel 2008-04-01 19:06 ` Alan Stern @ 2008-04-01 20:06 ` David Brownell 1 sibling, 0 replies; 31+ messages in thread From: David Brownell @ 2008-04-01 20:06 UTC (permalink / raw) To: tino.keitel, pavel, linux-usb; +Cc: sonne, rjw, linux-kernel, lenb, akpm > git-bisect revealed this: > > $ git bisect good > e82cc1288fa57857c6af8c57f3d07096d4bcd9d9 is first bad commit > commit e82cc1288fa57857c6af8c57f3d07096d4bcd9d9 > Author: David Brownell <david-b@pacbell.net> > Date: Fri Mar 7 13:49:42 2008 -0800 > > USB: fix ehci unlink regressions Most curious. Based on what I read earlier, I was wondering about the handling of the unlink watchdog during a known-dodgey path. Specifically: > The recent EHCI driver update to split the IAA watchdog timer out from > the other timers made several things work better, but not everything; > and it created a couple new issues in bugzilla. Ergo this patch: > > - Handle a should-be-rare SMP race between the watchdog firing > and (very late) IAA interrupts; > > - Remove a shouldn't-have-been-added WARN_ON() test; > > - Guard against one observed OOPS; > > - If this watchdog fires during clean HC shutdown, it should act > as a NOP instead of interfering with the shutdown sequence; This "fires during a clean shutdown" path. If there's any way this patch would affect resume handling, that's where I'd expect it to kick in. Virtually nothing else *could* cause problems there. If you'd like to experiment, modify the "if (...)" at the top of the ehci_iaa_watchdog() function and make it just check to see if there's an entry being reclaimed ... comment out the HC_IS_RUNNING() check. > - Guard against silicon errata hypothesized by some vendors: > * IAA status latch broken, but IAAD cleared OK; > * IAAD wasn't cleared when IAA status got reported; FWIW the former has been confirmed as existing on some current AMD/ATI chipsets (SB600 and SB700 are the numbers that come to mind). > The WARN_ON is in bugzilla as 10168; the OOPS as 10078; these are > both regressions. > > Signed-off-by: David Brownell <dbrownell@users.sourceforge.net> > Tested-by: Gordon Farquharson <gordonfarquharson@gmail.com> > Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> ^ permalink raw reply [flat|nested] 31+ messages in thread
end of thread, other threads:[~2008-04-02 20:44 UTC | newest] Thread overview: 31+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2008-03-20 6:05 2.6.25-rc6 hangs at resume after suspend to RAM on Mac mini Core Duo Tino Keitel 2008-03-20 10:10 ` Rafael J. Wysocki 2008-03-20 10:25 ` Andrew Morton 2008-03-20 10:54 ` Tino Keitel 2008-03-25 23:13 ` Tino Keitel 2008-03-28 23:03 ` Rafael J. Wysocki 2008-03-31 21:28 ` Tino Keitel 2008-03-31 21:50 ` Pavel Machek 2008-03-31 22:01 ` Tino Keitel 2008-03-31 22:17 ` Rafael J. Wysocki 2008-04-01 8:04 ` Tino Keitel 2008-04-01 21:03 ` Rafael J. Wysocki 2008-04-01 6:23 ` Soeren Sonnenburg 2008-04-01 6:27 ` Tino Keitel 2008-04-01 6:38 ` Soeren Sonnenburg 2008-04-01 21:05 ` Rafael J. Wysocki 2008-04-02 17:33 ` Soeren Sonnenburg 2008-04-02 17:56 ` Rafael J. Wysocki 2008-04-02 18:42 ` Soeren Sonnenburg 2008-04-01 10:52 ` Pavel Machek 2008-04-01 12:55 ` Tino Keitel 2008-04-01 18:37 ` Tino Keitel 2008-04-01 19:06 ` Alan Stern 2008-04-01 20:25 ` Tino Keitel 2008-04-01 21:02 ` Alan Stern 2008-04-01 21:06 ` Tino Keitel 2008-04-02 14:25 ` Alan Stern 2008-04-02 19:26 ` Alan Stern 2008-04-02 19:47 ` Tino Keitel 2008-04-02 20:37 ` Soeren Sonnenburg 2008-04-01 20:06 ` David Brownell
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox