From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751060AbXCYOQc (ORCPT ); Sun, 25 Mar 2007 10:16:32 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751149AbXCYOQc (ORCPT ); Sun, 25 Mar 2007 10:16:32 -0400 Received: from www17.your-server.de ([213.133.104.17]:2288 "EHLO www17.your-server.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751060AbXCYOQb (ORCPT ); Sun, 25 Mar 2007 10:16:31 -0400 Message-ID: <46068473.9020704@m3y3r.de> Date: Sun, 25 Mar 2007 16:17:23 +0200 From: Thomas Meyer User-Agent: Thunderbird 1.5.0.10 (X11/20070302) MIME-Version: 1.0 To: "Rafael J. Wysocki" CC: "Eric W. Biederman" , Linux Kernel Mailing List , linux-pci@atrey.karlin.mff.cuni.cz, Greg Kroah-Hartman , Tony Luck , Andrew Morton , Len Brown Subject: Re: [3/5] 2.6.21-rc4: known regressions (v2) References: <46065FED.8030206@m3y3r.de> <200703251428.03382.rjw@sisk.pl> In-Reply-To: <200703251428.03382.rjw@sisk.pl> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Authenticated-Sender: thomas@m3y3r.de Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Rafael J. Wysocki schrieb: > On Sunday, 25 March 2007 14:03, Eric W. Biederman wrote: > >> Thomas Meyer writes: >> >> >>> Eric W. Biederman schrieb: >>> >>>> Thomas could you verify the patch below makes the problem go away >>>> for you. >>>> >>>> >>> The patch solves the problem. I'm writing this after the third suspend >>> and resume cycle. >>> msi irq stays enabled for libata device: >>> cat /sys/devices/pci0000\:00/0000\:00\:1f.2/irq >>> 218 >>> >>> The first suspend to disk is ok. The second suspend to disk has a >>> strange behaviour: >>> 1.) write pm image >>> 2.) the system disable the non-boot cpus again (i guess this happens in >>> power_down()) >>> > > Yes, in kernel/power/disk.c:power_down() . > > Please comment out the disable_nonboot_cpus() in there and retest (but please > test the latest Linus' tree). > > Without disable_nonboot_cpus in power_down the computer powers down without the mysterious "wait for the next interrupt" hang. >>> 3.) the system doesn't power down. >>> 4.) pressing any key and the system powers down. >>> >>> The same is true for the third suspend cycle. Maybe an acpi problem? >>> >> Sounds possible. You could probably verify it isn't my patch but running >> an unpatched kernel without msi support. As I think the crash you saw should >> only be reproducible when using devices that support msi. >> >> Unless I hear different I'm going to assume that this second case is a >> completely different problem. >> > > I think it is different too. > Yes, it's a different problem