From owner-freebsd-amd64@FreeBSD.ORG Mon Mar 1 19:12:28 2004 Return-Path: Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3F64A16A4CE; Mon, 1 Mar 2004 19:12:28 -0800 (PST) Received: from mtaw6.prodigy.net (mtaw6.prodigy.net [64.164.98.56]) by mx1.FreeBSD.org (Postfix) with ESMTP id 130A843D31; Mon, 1 Mar 2004 19:12:28 -0800 (PST) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (b54d27750ee1fbe93a25159610e0e441@adsl-67-119-53-203.dsl.lsan03.pacbell.net [67.119.53.203]) by mtaw6.prodigy.net (8.12.10/8.12.10) with ESMTP id i223BTEn003912; Mon, 1 Mar 2004 19:11:29 -0800 (PST) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id BE12C511F7; Mon, 1 Mar 2004 19:12:26 -0800 (PST) Date: Mon, 1 Mar 2004 19:12:26 -0800 From: Kris Kennaway To: amd64@FreeBSD.org Message-ID: <20040302031226.GA670@xor.obsecurity.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="J2SCkAp4GZ/dPZZf" Content-Disposition: inline User-Agent: Mutt/1.4.2.1i cc: sos@FreeBSD.org Subject: NFS or ATA driver causes FS corruption? X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Mar 2004 03:12:28 -0000 --J2SCkAp4GZ/dPZZf Content-Type: text/plain; charset=us-ascii Content-Disposition: inline I'm seemingly able to repeat this here (/home/ncvs is a link to /xor/mnt2/ncvs): rot26# mount xor:/mnt2 /xor/mnt2 rot26# cd /usr/ports/x11-toolkits/gtk12 rot26# cvs -Rq diff -u cvs diff: in directory .: cvs diff: ignoring CVS/Root because it specifies a non-existent repository /home/ncvs cvs diff: No CVSROOT specified! Please use the `-d' option cvs [diff aborted]: or set the CVSROOT environment variable. rot26# ls /xor/mnt2 ls: /xor/mnt2: Input/output error rot26# ls /xor mnt2 mnt3 mnt4 mnt6 rot26# ls -l /xor ls: mnt2: Input/output error total 6 drwxr-xr-x 2 root wheel 512 Feb 28 22:37 mnt3 drwxr-xr-x 2 root wheel 512 Feb 28 20:32 mnt4 drwxr-xr-x 2 root wheel 512 Feb 28 23:50 mnt6 rot26# I rebooted and retried and the same thing happened again. Also, I'm seeing buffers not being flushed when I attempt a clean shutdown. There are error messages from the ATA driver logged during shutdown; I also see this on the two amd64 package machines at runtime, for example: ad0: WARNING - WRITE_DMA interrupt was seen but timeout fired LBA=9440 ad0: WARNING - WRITE_DMA interrupt was seen but timeout fired LBA=20736 ad0: WARNING - WRITE_DMA interrupt was seen but timeout fired LBA=117088 ad0: WARNING - WRITE_DMA interrupt was seen but timeout fired LBA=119760 ad0: WARNING - WRITE_DMA interrupt was seen but timeout fired LBA=49736 ad0: WARNING - WRITE_DMA interrupt was seen but timeout fired LBA=118184 ad0: WARNING - WRITE_DMA interrupt was seen but timeout fired LBA=211232 ad0: WARNING - WRITE_DMA interrupt was seen but timeout fired LBA=48336 swap_pager: indefinite wait buffer: device: ad0d, blkno: 36509, size: 4096 swap_pager: indefinite wait buffer: device: ad0d, blkno: 6033, size: 12288 ad0: WARNING - WRITE_DMA interrupt was seen but timeout fired LBA=35240 ad0: WARNING - WRITE_DMA interrupt was seen but timeout fired LBA=20904 ad0: WARNING - WRITE_DMA interrupt was seen but timeout fired LBA=117560 ad0: WARNING - WRITE_DMA interrupt was seen but timeout fired LBA=206664 ad0: WARNING - WRITE_DMA interrupt was seen but timeout fired LBA=30312 ad0: WARNING - READ_DMA interrupt was seen but timeout fired LBA=35593400 ad0: WARNING - WRITE_DMA interrupt was seen but timeout fired LBA=174496 ad0: WARNING - READ_DMA interrupt was seen but timeout fired LBA=34345128 ad0: WARNING - WRITE_DMA interrupt was seen but timeout fired LBA=384704 This machine has the following ATA controller: FreeBSD 5.2-CURRENT #3: Sun Feb 29 17:41:39 PST 2004 ... atapci0: port 0xd000-0xd00f at device 7.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata0: [MPSAFE] ata1: at 0x170 irq 15 on atapci0 ata1: [MPSAFE] Has anyone else seen this? Kris --J2SCkAp4GZ/dPZZf Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAQ/uaWry0BWjoQKURAsi7AJ9CqOb4NJJc4HOacyda1CWQDzgaMgCeOxlE udTlCb+DuuUE2W+xiSu3DR4= =2Wwx -----END PGP SIGNATURE----- --J2SCkAp4GZ/dPZZf--