Subject: Re: Funny
To: Todd Gruhn <tgruhn2@mail.com>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: netbsd-users
Date: 06/03/2004 23:45:05
On Thu, Jun 03, 2004 at 09:00:22PM +0800, Todd Gruhn wrote:
> 0 tn 4 sn 36), retrying
> Jun  3 08:17:01 gandalf /netbsd: wd0: (uncorrectable data error)
> Jun  3 08:17:01 gandalf /netbsd: wd0: transfer error, downgrading to Ultra-DMA mode 1
> Jun  3 08:17:01 gandalf /netbsd: wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 1 (using DMA data transf
> ers)
> Jun  3 08:17:01 gandalf /netbsd: wd0e: error reading fsbn 3034368 of 3034368-3034383 (wd0 bn 4193568; cn 416
> 0 tn 4 sn 36), retrying
> Jun  3 08:17:01 gandalf /netbsd: wd0: (uncorrectable data error)
> Jun  3 08:17:01 gandalf /netbsd: wd0: transfer error, downgrading to DMA mode 2
> Jun  3 08:17:01 gandalf /netbsd: wd0(pciide0:0:0): using PIO mode 4, DMA mode 2 (using DMA data transfers)
> Jun  3 08:17:01 gandalf /netbsd: wd0e: error reading fsbn 3034368 of 3034368-3034383 (wd0 bn 4193568; cn 416
> 0 tn 4 sn 36), retrying
> Jun  3 08:17:01 gandalf /netbsd: wd0: (uncorrectable data error)
> Jun  3 08:17:01 gandalf /netbsd: wd0: transfer error, downgrading to PIO mode 4
> Jun  3 08:17:01 gandalf /netbsd: wd0(pciide0:0:0): using PIO mode 4
> Jun  3 08:17:01 gandalf /netbsd: wd0e: error reading fsbn 3034368 of 3034368-3034383 (wd0 bn 4193568; cn 416
> 0 tn 4 sn 36), retrying
> Jun  3 08:17:01 gandalf /netbsd: wd0: (uncorrectable data error)
> Jun  3 08:17:01 gandalf /netbsd: wd0e: error reading fsbn 3034369 of 3034368-3034383 (wd0 bn 4193569; cn 416
> 0 tn 4 sn 37), retrying
> Jun  3 08:17:01 gandalf /netbsd: wd0: (uncorrectable data error)
> Jun  3 08:17:01 gandalf /netbsd: wd0e: error reading fsbn 3034368 of 3034368-3034383 (wd0 bn 4193568; cn 416
> 0 tn 4 sn 36)wd0: (uncorrectable data error)
> Jun  3 08:17:01 gandalf /netbsd: 
> Jun  3 08:17:03 gandalf root: /etc/rc: WARNING: Ignoring scratch file /etc/rc.d/snmpd~
> Jun  3 08:17:03 gandalf snmpd[184]: nlist err: neither total nor _total found. 
> Jun  3 08:17:04 gandalf snmpd[184]: /usr/local/share/snmp/snmpd.conf: line 100: Warning: Couldn't find devic
> e for disk /dev/wd0a 
> 
> 
> This happens at different times near the end of the boot process; and I don't recall this happening
> when I first installed the disk. Also, I don't ever remember the previous 3 disks EVER doing
> this (all were SCSI). Is this specific to ATA drives -- how they act. Or is something misconfigured
> in the kernel config file?

This is specific to ATA drives. "uncorrectable data error" is one of the
few error conditions an ATA drive can report.
This error mean that your drive has a bad block.
You can try to write to this block to try to remap it.

-- 
Manuel Bouyer <bouyer@antioche.eu.org>
     NetBSD: 26 ans d'experience feront toujours la difference
--