Subject: Re: Help with badsect request
To: Phil Knaack <flipk@idea.exnet.iastate.edu>
From: John C. Hayward <John.C.Hayward@wheaton.edu>
List: current-users
Date: 12/31/1996 18:28:48
On Tue, 31 Dec 1996, Phil Knaack wrote:

> >Dear NetBSDers,
> >   I have NetBSD-current kernel (last weeks) on a i386 and my wd drive
> >on an EIDE controler is developing some bad sectors.  When I attempt
> >to badsect /usr/BAD XXXXXX it comes back with /dev/wd0e busy.  This is
> >true even in single user mode just after mounting the /usr file system.
> >   The disk is a Western Digital AC31600 (1.6Gig).
> >   The disk is shared by NetBSD and Win-95.
> >   Any suggestions on how to mark some sectors bad?
> 
> 	Strange .. not ten seconds before I read your message I was marking
> some sectors bad on a machine across the office. =-)
> 
> 	You need a newer badsect, because the version you're using tries to
> access the block device rather than the character device.
Thanks for the pointer.  While my kernel is current most of my userland is
back at 2.0 (I think).  I remade badsect and was able to mark 6 of my 8
badsectors.

johnh...