Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Mar 2004 19:12:26 -0800
From:      Kris Kennaway <kris@obsecurity.org>
To:        amd64@FreeBSD.org
Cc:        sos@FreeBSD.org
Subject:   NFS or ATA driver causes FS corruption?
Message-ID:  <20040302031226.GA670@xor.obsecurity.org>

next in thread | raw e-mail | index | archive | help

--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: <AMD 8111 UDMA133 controller> 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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040302031226.GA670>