NFS or ATA driver causes FS corruption?

Kris Kennaway kris at obsecurity.org
Mon Mar 1 19:12:28 PST 2004


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-amd64/attachments/20040301/e77950a3/attachment.bin


More information about the freebsd-amd64 mailing list