From owner-freebsd-current@FreeBSD.ORG Sun Mar 1 21:11:04 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2D83A1065670; Sun, 1 Mar 2009 21:11:04 +0000 (UTC) (envelope-from shuvaev@physik.uni-wuerzburg.de) Received: from mailrelay.rz.uni-wuerzburg.de (mailrelay.rz.uni-wuerzburg.de [132.187.3.28]) by mx1.freebsd.org (Postfix) with ESMTP id AAD508FC15; Sun, 1 Mar 2009 21:11:03 +0000 (UTC) (envelope-from shuvaev@physik.uni-wuerzburg.de) Received: from virusscan.mail (localhost [127.0.0.1]) by mailrelay.mail (Postfix) with ESMTP id 398C6A0763; Sun, 1 Mar 2009 22:11:02 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by virusscan.mail (Postfix) with ESMTP id 2C747A0760; Sun, 1 Mar 2009 22:11:02 +0100 (CET) Received: from mail.physik.uni-wuerzburg.de (wthp192.physik.uni-wuerzburg.de [132.187.40.192]) by mailmaster.uni-wuerzburg.de (Postfix) with ESMTP id 189E5A0754; Sun, 1 Mar 2009 22:11:02 +0100 (CET) Received: from localhost.my.domain ([132.187.37.34]) by mail.physik.uni-wuerzburg.de (Lotus Domino Release 8.0.2HF443) with ESMTP id 2009030122110168-35344 ; Sun, 1 Mar 2009 22:11:01 +0100 Received: by localhost.my.domain (sSMTP sendmail emulation); Sun, 1 Mar 2009 22:11:02 +0100 Date: Sun, 1 Mar 2009 22:11:02 +0100 From: Alexey Shuvaev To: Alexander Motin Message-ID: <20090301211102.GA1559@wep4034.physik.uni-wuerzburg.de> References: <49A99EA7.4000202@errno.com> <49A9A09A.2070900@freebsd.org> <49A9AA83.1030300@freebsd.org> <49A9ACF2.3090101@FreeBSD.org> MIME-Version: 1.0 In-Reply-To: Organization: Universitaet Wuerzburg User-Agent: Mutt/1.5.18 (2008-05-17) X-MIMETrack: Itemize by SMTP Server on domino1/uni-wuerzburg(Release 8.0.2HF443 | November 25, 2008) at 03/01/2009 10:11:01 PM, Serialize by Router on domino1/uni-wuerzburg(Release 8.0.2HF443 | November 25, 2008) at 03/01/2009 10:11:02 PM, Serialize complete at 03/01/2009 10:11:02 PM Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Virus-Scanned: by amavisd-new at uni-wuerzburg.de Cc: freebsd-current@freebsd.org Subject: Re: ata problems @ r189170 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Mar 2009 21:11:04 -0000 On Sun, Mar 01, 2009 at 11:37:53AM -0600, Richard Todd wrote: > Alexander Motin writes: > > > Looks like while fixing small problems I have found bigger ones. Try > > please this patch against HEAD, it reverts r189166, r189091 and > > partially r188903: > > > > http://people.freebsd.org/~mav/ata.rollback.patch > > > > If it works, I will stop for some time to cool down and search for > > better solution. > > I too found problems with the "new" ATA code you'd tried -- not any > obvious error messages or timeouts from the ATA system, but it was > obviously sometimes returning corrupt data, as evidenced by ZFS giving > checksum errors. (Yay for ZFS for catching this!) Moving to the > current (post-r189195) code that has your aforementioned rollback patch seems > to have fixed the problem, and I've been "zfs scrubbing" the disks without any > sign of errors. So something in the patches you reverted apparently can > cause silent data corruption that could go unnoticed without a higher-level > checksum like ZFS has. Something you might want to watch out for when > reworking those patches.... > > If it matters, this is on a Core2Duo system in amd64 mode, with a > Intel DP965LT motherboard; the SATA controller is, if I recall right, > ICH8: > > atapci1: port 0x3108-0x310f,0x3114-0x3117,0x3100-0x3107,0x3110-0x3113,0x3020-0x303f mem 0xe8325000-0xe83257ff irq 19 at device 31.2 on pci0 > > atapci1@pci0:0:31:2: class=0x010601 card=0x514d8086 chip=0x28248086 rev=0x02 hdr=0x00 > Ahhh... Just rebuilding world in order to replace totally broken / filesystem. (This was ufs2). amd64 core2duo system, atapci1@pci0:0:31:2 class=0x010601 card=0x82771043 chip=0x29238086 rev=0x02 hdr=0x00 (hand transcribed) ICH9 AHCI controller. FYI, Alexey.