[comp.sys.mips] Formatting Hitachi drives

mscritsm@isis.cs.du.edu (Milton Scritsmier) (06/26/91)

We have some high capacity Hitachi SCSI drives which we would like to add
to our Mips 120-5, running version 4.51 of the OS.  While the drive is not
officially supported by Mips, it seems to be a CCS or SCSI-2 compatible
drive.  When we try to format these drives as unit 3, lun 0, we get
an error message which says:

   SCSI 310:  Device is wrong type.  Cannot open dkis(0,3,10).

This seems to suggest that the system format command needs to see some
header on a drive on which we are trying to destroy all the data during the
format command!  Is there some way around this paradox?  Is there a method
for formatting and prepping a SCSI drive which is not supported by Mips?

rogerk@mips.com (Roger B.A. Klorese) (06/27/91)

In article <1991Jun26.020922.10872@mnemosyne.cs.du.edu> mscritsm@isis.UUCP (Milton Scritsmier) writes:
>We have some high capacity Hitachi SCSI drives which we would like to add
>to our Mips 120-5, running version 4.51 of the OS.  While the drive is not
>officially supported by Mips, it seems to be a CCS or SCSI-2 compatible
>drive.  When we try to format these drives as unit 3, lun 0, we get
>an error message which says:
>
>   SCSI 310:  Device is wrong type.  Cannot open dkis(0,3,10).
>
>This seems to suggest that the system format command needs to see some
>header on a drive on which we are trying to destroy all the data during the
>format command!  Is there some way around this paradox?  Is there a method
>for formatting and prepping a SCSI drive which is not supported by Mips?

The M/120 is SCSI, not SCSI-2, which may be part of your problem.

What is actually going on is that the open routine in the common_scsi
driver is checking what device type the drive self-identifies as, and
it doesn't seem to say it's a disk.  This does not require any data
to be on the disk; this is done by the SCSI ID string.

You can check what the device seems to be by connecting it up to the
system and booting with the "showconfig" option:

	>> boot dkis()unix showconfig

This should show the SCSI ID string for each device.  Alternatively,
you should be able to use the /etc/devstr command under RISC/os:

	% /etc/devstr /dev/dsk/isc0d3vh

You should see a line like

IMPRIMIS-94601-15        -1250-00032265-Copyright (c-DISK
                                                     ^^^^

This is the relevant field.  If it identifies as a disk, we'll need to
look further.
-- 
ROGER B.A. KLORESE                                  MIPS Computer Systems, Inc.
MS 6-05    930 DeGuigne Dr.   Sunnyvale, CA  94088              +1 408 524-7421
rogerk@mips.COM                               {ames,decwrl,pyramid}!mips!rogerk
"Stupidity is evil waiting to happen." -- Clay Bond