Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755331AbZJNRww (ORCPT ); Wed, 14 Oct 2009 13:52:52 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755168AbZJNRwv (ORCPT ); Wed, 14 Oct 2009 13:52:51 -0400 Received: from straum.hexapodia.org ([64.81.70.185]:6366 "EHLO straum.hexapodia.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752971AbZJNRwu (ORCPT ); Wed, 14 Oct 2009 13:52:50 -0400 Date: Wed, 14 Oct 2009 10:52:14 -0700 From: Andy Isaacson To: David Woodhouse Cc: Chris Wright , iommu@lists.linux-foundation.org, linux-ext4@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: DMAR regression in 2.6.31 leads to ext4 corruption? Message-ID: <20091014175214.GD6827@hexapodia.org> References: <20091009061729.GA31242@hexapodia.org> <20091010000926.GA17547@sequoia.sous-sol.org> <20091010014714.GG30557@hexapodia.org> <1255522166.4523.238.camel@macbook.infradead.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1255522166.4523.238.camel@macbook.infradead.org> User-Agent: Mutt/1.4.2.3i X-GPG-Fingerprint: 1914 0645 FD53 C18E EEEF C402 4A69 B1F3 68D2 A63F X-GPG-Key-URL: http://web.hexapodia.org/~adi/gpg.txt X-Domestic-Surveillance: money launder bomb tax evasion Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 3450 Lines: 76 On Wed, Oct 14, 2009 at 01:09:26PM +0100, David Woodhouse wrote: > On Fri, 2009-10-09 at 18:47 -0700, Andy Isaacson wrote: > > Well, we don't know for sure what happened on the previous boot where > > the filesystem corruption occurred. I'm imagining a nightmare scenario > > where GPU erroneous writes cause DMAR faults and handling them somehow > > causes AHCI DMA requests to get lost. > > Seems unlikely. The GPU faults happen whenever the GATT changes, because > it translates _every_ address in the GATT through the IOMMU right there > and then -- so if parts of the table are uninitialised, they'll cause > stray write faults. But no writes are actually _happening_. > > > I'm going to go ahead on the theory that the BIOS needs an update. > > I can't really imagine how that would help; how the BIOS would be > responsible for this. I'm more inclined to blame the drive. It's not an > SSD, is it? It's a Fujitsu (now serviced by Toshiba?) MHZ2160BH. smartctl says: Device Model: FUJITSU MHZ2160BH G1 Serial Number: K60WT8C2HHRS Firmware Version: 0084000A User Capacity: 160,041,885,696 bytes ... ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_ FAILED RAW_VALUE 1 Raw_Read_Error_Rate 0x000f 100 100 046 Pre-fail Always - 219593 2 Throughput_Performance 0x0005 100 100 030 Pre-fail Offline - 27721728 3 Spin_Up_Time 0x0003 100 100 025 Pre-fail Always - 0 4 Start_Stop_Count 0x0032 099 099 000 Old_age Always - 406 5 Reallocated_Sector_Ct 0x0033 100 100 024 Pre-fail Always - 8589934592000 7 Seek_Error_Rate 0x000f 100 100 047 Pre-fail Always - 112 8 Seek_Time_Performance 0x0005 100 100 019 Pre-fail Offline - 0 9 Power_On_Hours 0x0032 097 097 000 Old_age Always - 1598 10 Spin_Retry_Count 0x0013 100 100 020 Pre-fail Always - 0 12 Power_Cycle_Count 0x0032 100 100 000 Old_age Always - 284 192 Power-Off_Retract_Count 0x0032 100 100 000 Old_age Always - 78 193 Load_Cycle_Count 0x0032 100 100 000 Old_age Always - 1216 194 Temperature_Celsius 0x0022 100 100 000 Old_age Always - 38 (Lifetime Min/Max 21/46) 195 Hardware_ECC_Recovered 0x001a 100 100 000 Old_age Always - 247 196 Reallocated_Event_Count 0x0032 100 100 000 Old_age Always - 457965568 197 Current_Pending_Sector 0x0012 100 100 000 Old_age Always - 0 198 Offline_Uncorrectable 0x0010 100 100 000 Old_age Offline - 0 199 UDMA_CRC_Error_Count 0x003e 200 253 000 Old_age Always - 0 200 Multi_Zone_Error_Rate 0x000f 100 100 060 Pre-fail Always - 10448 203 Run_Out_Cancel 0x0002 100 100 000 Old_age Always - 1529011503750 240 Head_Flying_Hours 0x003e 200 200 000 Old_age Always - 0 -andy -- 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/