*BSD News Article 58748


Return to BSD News archive

Newsgroups: comp.unix.bsd.netbsd.misc
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.mel.connect.com.au!munnari.OZ.AU!news.ecn.uoknor.edu!paladin.american.edu!zombie.ncsc.mil!news.mathworks.com!newsfeed.internetmci.com!in2.uu.net!utcsri!cdf.toronto.edu!marvin.cdf.toronto.edu!jdd
From: jdd@cdf.toronto.edu (John DiMarco)
Subject: Re: NetBSD 1.1 i386 bad144 confusion
Message-ID: <96Jan2.151835edt.9219@marvin.cdf.toronto.edu>
Originator: root@marvin
Sender: news@cdf.toronto.edu (Usenet News)
Nntp-Posting-Host: marvin
Organization: University of Toronto Computing Disciplines Facility
Date: Tue, 2 Jan 1996 20:18:32 GMT
Content-Length: 1079
Lines: 29

Back on December 19th, I wrote:
: Having discovered a couple of bad sectors on the (IDE) hard disk I'm using,
: I tried to remap them using "bad144 -a wd0 NNN NNN".  That seemed to
: work, and "bad144 wd0" lists the bad sectors I've specified, but they're 
: still apparently being used by the filesystem.  Any ideas?  

I promised to post a summary of the emailed responses I got.  Here is the
promised summary:

Only one person responded. He claimed that an IDE drive should be able to
forward bad-sectors when the drive is zeroed.  He suggested 

	dd if=/dev/zero of=/dev/yourdiskd

I tried that, to no effect. 

I ended up solving the problem by digging up a DOS-based hard drive utility,
and remapping the bad sectors using that. 

Thanks to Thomas Graichen <graichen@mail.physik.fu-berlin.de>

Regards,

John
--
John DiMarco <jdd@cdf.toronto.edu>                        Office: EA201B
Computing Disciplines Facility Systems Manager            Phone: 416-978-1928
University of Toronto                                     Fax:   416-978-1931
http://www.cdf.toronto.edu/~jdd