Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Jan 2006 17:55:17 -0800
From:      "Gayn Winters" <gayn.winters@bristolsystems.com>
To:        <freebsd-questions@freebsd.org>
Subject:   RE: Disk error messages (ad0: HARD READ ERROR blk# xxxxxx)
Message-ID:  <040501c61008$c1d76760$6501a8c0@workdog>
In-Reply-To: <20060102235421.GA35523@main.dynode.net>

next in thread | previous in thread | raw e-mail | index | archive | help
> [mailto:owner-freebsd-questions@freebsd.org] On Behalf Of 
> Russell J. Wood
> Sent: Monday, January 02, 2006 3:54 PM
> To: freebsd-questions@freebsd.org
> Subject: Re: Disk error messages (ad0: HARD READ ERROR blk# xxxxxx)
> 
> 
> On Mon, Jan 02, 2006 at 11:15:08PM +0000, mtang@insightbb.com wrote:
> > Hi there,
> > 
> > On my screen, there were messages like the followings 
> comeing up. I have to 
> > reboot mutiple times to get it boot up normally. Does this 
> mean I have to 
> > replace the disk which is a relatively new disk (1-2 
> years)? Any simple way to 
> > fix it and to avoid the time consuming task?
> > 
> > 
> > ad0: 39205MB <Maxtor 6EXXXXX> [79656/16/63] at ata0-master WDMA2
> > ad0: HARD READ ERROR blk# 131199
> > ad0: HARD READ ERROR blk# 131199 status=59 error=40
> > ad0: DMA problem fallback to PIO mode
> > ad0: HARD READ ERROR blk# 11272319 status=59 error=40
> > ad0: HARD READ ERROR blk# 11272319 status=59 error=40
> > ad0: HARD READ ERROR blk# 11272319 status=59 error=40
> > ad0: HARD READ ERROR blk# 131199 status=59 error=40
> > ad0: HARD READ ERROR blk# 3473535 status=59 error=40
> > ad0: HARD READ ERROR blk# 9240703 status=59 error=40
> > ad0: HARD READ ERROR blk# 17367167 status=59 error=40
> > ad0: HARD READ ERROR blk# 17760383 status=59 error=40
> 
> I suspect that you have bad sectors on your hard disk drive 
> (and many of
> them). A good tool to use is Segate's Seatools
> (http://www.seagate.com/support/seatools/index.html). Just burn the
> Seatools Desktop edition to CDROM and boot from it.
> 
> - Russell

After you've checked for loose cables, you might want to take the drive
out and check it in another system (using the Seagate or other such
tools).  If indeed the problem is with DMA, the drive might be ok but
the MB is flakey.  Perhaps the PC or MB manufacturer has diagnosics with
which you can zero into the latter ugly possiblity.  In any case, get
yourself a backup asap (at least of the user data so that you can
recover from a fresh installation.)  Unless you are getting other types
of errors, it is probably still possible to copy the drive with dd using
bs=512b, and this would be your quickest fix of a hard drive problem.
Run fsck on your new disk after the copy.

Good luck,

-gayn

Bristol Systems Inc.
714/532-6776
www.bristolsystems.com 





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?040501c61008$c1d76760$6501a8c0>