Subject: Re: IBM DFHS-31080 SCSI drive problem
To: None <current-users@netbsd.org>
From: Christos Zoulas <christos@zoulas.com>
List: current-users
Date: 05/16/1999 20:19:08
In article <199905162002.QAA13107@link.link-systems.com> kwellsch@link.link-systems.com (Ken Wellsch) writes:
>I bought a couple IBM DFHS-31080 drives from ONSALE a few weeks ago
>and I've been unable to talk to them as anything but the whole-drive.
>Here is the dmesg description from an ss20 running 1.4:
>
>  probe(esp0:4:0): max sync rate 10.00Mb/s
>  sd1 at scsibus0 targ 4 lun 0: <IBM, DFHS, 18> SCSI2 0/direct fixed
>  sd1: 1074MB, 4385 cyl, 4 head, 125 sec, 512 bytes/sect x 2199878 sectors
>
>and here is my label:
>
>  # /dev/rsd1c:
>  type: SCSI
>  disk: DFHSS1F
>  label: 
>  flags:
>  bytes/sector: 512
>  sectors/track: 125
>  tracks/cylinder: 4
>  sectors/cylinder: 500
>  cylinders: 4385
>  total sectors: 2192500
>  rpm: 7200
>  interleave: 1
>  trackskew: 0
>  cylinderskew: 0
>  headswitch: 0		# milliseconds
>  track-to-track seek: 1	# milliseconds
>  drivedata: 0 
>
>  8 partitions:
>  #        size   offset     fstype   [fsize bsize   cpg]
>  a:   134000        0     unused        0     0         # (Cyl.    0 - 267)
>  b:   268000   134000       swap                        # (Cyl.  268 - 803)
>  c:  2192500        0     unused        0     0         # (Cyl.    0 - 4384)
>  d:  1790500   402000     unused        0     0         # (Cyl.  804 - 4384)
>
>Yet I can only "newfs" the "c" partition (i.e. full-drive) and I get this
>for say the "a" partition:
>
>  ss20# newfs /dev/rsd1a
>  newfs: /dev/rsd1a: open: Device not configured
>
>Ditto for partition "d".  I saw the same behavior on an Alpha box with
>a "bha" controller also running 1.4.
>
>Is the drive doing something funky or am I doing something stupid?

Set the partition type to 4.2BSD...

christos