Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752287AbXBDKyU (ORCPT ); Sun, 4 Feb 2007 05:54:20 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752297AbXBDKyT (ORCPT ); Sun, 4 Feb 2007 05:54:19 -0500 Received: from wx-out-0506.google.com ([66.249.82.237]:21344 "EHLO wx-out-0506.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752284AbXBDKyT (ORCPT ); Sun, 4 Feb 2007 05:54:19 -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=uEPg4sKA8IY+Ay+L3J/KRADi+oL7GaHtdRnyvtx5GVsazw02TrtpvkgFrdv3gbfyGIJcZBRuZYMKKw39HEn1k7lUmIqMNkgDPZqONYULf/87lNWohKqdrxS72/KMb6vAdjrKQ8q4QTMw8L84l7vHC7HT/y/0qqgkuVJXYTS63dc= Message-ID: <45C5BB55.6040300@gmail.com> Date: Sun, 04 Feb 2007 19:54:13 +0900 From: Tejun Heo User-Agent: Icedove 1.5.0.9 (X11/20061220) MIME-Version: 1.0 To: Keenan Pepper CC: linux-kernel@vger.kernel.org Subject: Re: Timeouts on ICH7 PATA drive with ata_piix; ide_generic works perfectly References: <767314830702032132m4172ddfbmb2519ad90e7ae578@mail.gmail.com> <45C5AD27.5080008@gmail.com> In-Reply-To: <45C5AD27.5080008@gmail.com> 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: 2179 Lines: 50 Tejun Heo wrote: > Keenan Pepper wrote: >> I just upgraded the kernel on my System76 Gazelle laptop (basically an >> ASUS Z62FP without the Microsoft tax) and the hard drive began >> freezing every few minutes. I blacklisted ata_piix and the problem >> went away, so that really narrows down where the bug has to be. Here's >> the relevant part of the dmesg: >> >> [ 924.000000] ata1.01: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x2 >> frozen >> [ 924.000000] ata1.01: cmd a0/01:00:00:00:00/00:00:00:00:00/b0 tag 0 >> cdb 0x25 data 8 in >> [ 924.000000] res 40/00:03:00:00:00/00:00:00:00:00/b0 Emask >> 0x4 (timeout) >> [ 931.004000] ata1: port is slow to respond, please be patient (Status >> 0xd0) >> [ 954.028000] ata1: port failed to respond (30 secs, Status 0xd0) > > It seems that something is issuing READ_CAPACITY to your drive or trying > to open the device triggering media revalidation periodically and your > drive doesn't like it. Your harddisk is sharing the channel with the > ODD so it can't be accessed till the command times out and the ODD gets > recovered. > > * Does putting in a readable CD or DVD make any difference? > > * Does the problem occur in single mode where no HAL or whatever is running? > > PS: It *really* helps if you include full dmesg including the detection > messages and whole error messages when reporting bugs. If you need > snippet of it to explain, copy that part but keep the whole dmesg at the > end. Kernel developers are usually pretty good at filtering useful info > from tons of kernel messages. Auch, scrap the last paragraph. You actually did. Sorry about that. ;-) I see your controller is ICH7 and the errors are over ten minutes apart. It really seems that HAL, smartd, hddtemp or whatever is poking the dvd writer and it isn't happy about it. In addition to the above questions, you can read cd/dvd's using the drive, right? 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/