Subject: Re: Rash of "sd0(aha0:0:0): medium error, info = NNNNNN (decimal)" errors
To: None <earle@isolar.tujunga.ca.us>
From: John F. Woods <jfw@jfwhome.funhouse.com>
List: port-i386
Date: 04/22/1995 09:47:36
>Apr 21 23:29:01 /netbsd: sd0(aha0:0:0): medium error, info = 441482 (decimal)
>Apr 21 23:29:01 /netbsd: sd0(aha0:0:0): medium error, info = 441482 (decimal)
>Apr 21 23:29:22 /netbsd: sd0(aha0:0:0): medium error, info = 441494 (decimal)
>Apr 21 23:29:23 /netbsd: sd0(aha0:0:0): medium error, info = 441494 (decimal)
>Apr 21 23:29:29 /netbsd: sd0(aha0:0:0): medium error, info = 441496 (decimal)

>As I'm a SPARC person by nature and a NetBSD/i386 neophyte, any suggestions
>regarding how & what to do to deal with this would be appreciated.  My naive
>reading says that the disk is returning a hard media error at those blocks,
>and somehow I'll have to do a sort | uniq on those "info" numbers to glean a
>list of numbers that (I presume) will have to be fed to "badsect" or "bad144"
>or somesuch ... Yes?

Yup.  If you have DOS installed (or have a DOS boot diskette), your adaptec
should have come with a utility to scan for bad blocks and remap them.