Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Nov 1999 19:05:43 -0500 (EST)
From:      Wes Morgan <morganw@engr.sc.edu>
To:        FreeBSD-current@freebsd.org
Subject:   ATA and msdosfs problems / corruption
Message-ID:  <Pine.BSF.4.21.9911271840480.417-100000@volatile.by-tor.tacorp.net>

next in thread | raw e-mail | index | archive | help
When attempting to copy a large file over to a FAT partition, I had these
errors pop up:

Nov 27 16:26:59 volatile /kernel: ata0-master: ad_timeout: lost disk contact - resetting
Nov 27 16:28:17 volatile /kernel: ata0: resetting devices .. WARNING: WAIT_READY active=ATA_ACTIVE_ATA
Nov 27 16:28:17 volatile /kernel: done
Nov 27 16:28:18 volatile /kernel: ta0-master: ad_timeout: lost disk contact - resetting
Nov 27 16:28:18 volatile /kernel: ata0: resetting devices .. done
Nov 27 16:28:18 volatile /kernel: ata0-master: ad_timeout: lost disk contact - resetting
Nov 27 16:28:18 volatile /kernel: ata0: resetting devices .. done
Nov 27 16:28:18 volatile /kernel: ata0-master: ad_timeout: lost disk contact - resetting
Nov 27 16:28:19 volatile /kernel: ata0: resetting devices .. done
Nov 27 16:28:19 volatile /kernel: ata0-master: ad_timeout: lost disk contact - resetting
Nov 27 16:28:19 volatile /kernel: ata0: resetting devices .. done


The errors continue until the system either panicked and rebooted or just
plain rebooted, I was not at the console. However, the FAT volume was 
corrupted along with the boot loader (grub) overwritten to some
extent. I'm not 100% sure if it was just the partition table or the entire
volume. Next, I cvsup'd and built new kernel+modules, and the same error
happened, but there was no reboot and a couple new error showed up:

Nov 27 18:24:33 volatile /kernel: ad0: HARD WRITE error blk# 1912525 status=51 error=10

This error occurred for several different blocks.
The two drives are identified as:

ad0: <ST32140A/08.08.04> ATA-? disk at ata0 as master
ad0: 2015MB (4127760 sectors), 4095 cyls, 16 heads, 63 S/T, 512 B/S
ad0: 16 secs/int, 0 depth queue, DMA
ad1: <WDC AC418000D/J78OA30K> ATA-4 disk at ata0 as slave 
ad1: 17206MB (35239680 sectors), 34960 cyls, 16 heads, 63 S/T, 512 B/S
ad1: 16 secs/int, 31 depth queue, DMA

The motherboard is fairly old and does not support ATA/66 etc, and the
drive with the fat fs has been rock solid so I doubt it has suddenly gone
bad. I'd like to test this with DMA turned off, what flags will disable
that?

-- 
                                           _ __ ___ ____  ___ ___ ___
          Wesley N Morgan                       _ __ ___ | _ ) __|   \
          morganw@engr.sc.edu                       _ __ | _ \._ \ |) |
          FreeBSD: The Power To Serve                  _ |___/___/___/
Hi! I'm a .signature virus! Copy me into your ~/.signature to help me spread!





To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.9911271840480.417-100000>