Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1161199AbXAMBMU (ORCPT ); Fri, 12 Jan 2007 20:12:20 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1161195AbXAMBMT (ORCPT ); Fri, 12 Jan 2007 20:12:19 -0500 Received: from wr-out-0506.google.com ([64.233.184.229]:37084 "EHLO wr-out-0506.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1161159AbXAMBMS (ORCPT ); Fri, 12 Jan 2007 20:12:18 -0500 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:x-enigmail-version:content-type:content-transfer-encoding; b=rI161ZlK4I9pQWW5AsWVwtP/33KAZ9y4rJUyIf/56CE0qOT0LUuuRi17hgXI22GwYebYmXQ9jzYdd+5A7jm+IhXCIaU48Qi6Hwk4NG2FotvfyWYG2zbZj6jluaMY5ktcXBj+kwrotPlgeyiYWAkv+Yg0JiYlawUKJ9o8TB0Sr7Y= Message-ID: <45A831EA.50601@gmail.com> Date: Sat, 13 Jan 2007 10:12:10 +0900 From: Tejun Heo User-Agent: Icedove 1.5.0.9 (X11/20061220) MIME-Version: 1.0 To: Faik Uygur CC: linux-kernel@vger.kernel.org, jgarzik@pobox.com, linux-ide@vger.kernel.org Subject: Re: ahci_softreset prevents acpi_power_off References: <200701111231.26819.faik@pardus.org.tr> In-Reply-To: <200701111231.26819.faik@pardus.org.tr> X-Enigmail-Version: 0.94.1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2158 Lines: 60 Hello, Faik Uygur wrote: > We have a Sony PCG-6H1M laptop. It started failing to poweroff with our switch > from 2.6.16 stable series kernels to 2.6.18 stable series. Rebooting works. > > While searching for the cause, I have found these reported bug reports in the > kernel bugzilla which may be related to this bug: > > http://bugzilla.kernel.org/show_bug.cgi?id=6982 > http://bugzilla.kernel.org/show_bug.cgi?id=7447 Seems mostly unrelated. > According to git bisect, this is the first bad commit: > > 4658f79bec0b51222e769e328c2923f39f3bda77 is first bad commit > commit 4658f79bec0b51222e769e328c2923f39f3bda77 > Author: Tejun Heo > Date: Wed Mar 22 21:07:03 2006 +0900 > > [PATCH] ahci: add softreset > > Now that libata is smart enought to handle both soft and hard resets, > add softreset method. > > Signed-off-by: Tejun Heo > Signed-off-by: Jeff Garzik > > :040000 040000 ba0a16d0ef82b6577bb61cfb18e6d9df9ee0984e > d0fc78d8f9bbe238f98ac8964562a33e64b30605 M drivers > > With v2.6.20-rc4 from git, it is still failing to poweroff. By not compiling > CONFIG_SCSI_SATA_AHCI, it successfully powers off. > > Also with CONFIG_SCSI_SATA_AHCI, reverting this patch manually by setting > softreset to NULL in ata_do_eh calls in ahci.c makes the machine poweroff. Wow, this is one of the most amazing error report. ahci softreset preventing system halt? > I have attached the dmesg output with defined ATA_DEBUG, ATA_VERBOSE_DEBUG > if it helps. Also you may find lspci output attached. > > Please let me know if anything else is needed. Does everything else work okay? Can you access devices attached to ahci? What happens when you try to shutdown? If possible, please post dmesg of shutting down. You can store it easily using netconsole (Documentation/networking/netconsole.txt). Thanks. -- tejun - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/