Subject: Re: Bad Sector on /usr
To: Brad Henry <bnh@dimension6.com>
From: Simon Burge <simonb@netbsd.org>
List: port-pmax
Date: 10/11/1999 09:22:12
"Brad Henry" wrote:

> Hey everyone, this isn't directly a pmax question, but it's giving me
> problems and i'm not sure what to do here.

Well, it is a pmax problem if you having problems running a command on a
pmax :-)

> I have a 1gb seagate scsi hd in my decstation 5000/120 running 1.4.1, and
> /usr (/dev/rz3d) has a bad block at 2102406.
>
> [[ scsictl problems deleted ]]

The problem is that scsictl using the MI SCSI layer, and 1.4.1 on the
pmax (or even -current) doesn't support MI SCSI yet.

Prehaps the easiest short-term solution is that if the block is in a
known file is to move that file somewhere safe and make it mode 000.

Another option is to try Tohru Nishimura's test MI SCSI kernel at
ftp.aist-nara.ac.jp:~ftp/pub/personal/nisimura/newasc.tgz.  This isn't
production code yet though...

Yet another option is to put the disk on a box with MI scsi (ie, just
about every other architecture that NetBSD supports) and use scsictl on
that box.

Simon.