Subject: disklabel trouble on a pmax(pmin?)
To: None <port-pmax@NetBSD.ORG>
From: James O'Kane <jo2y+@cs.cmu.edu>
List: port-pmax
Date: 02/01/1998 07:58:54
Hi,
	I was recently given a DECstation 2100 to play with. It had no hard drive
in it so I added a SCSI Seagate ST3283N. I've been successful in getting a
diskless boot to work over my network. My problem occurs when I try to use
disklabel. First I tried 

	disklabel /dev/rz0c -b rzboot -s bootrz

that is listed in the install manual, but that didn't work. What I finally
got to work partially was:
	
	disklabel -w -B -b /usr/mdec/rzboot -s /usr/mdec/bootrz /dev/rz0 rz23

The rz23 is a listing in /etc/disktab. I tried my hand at writing my own
entry to that 

	sg|Seagate:\
        :dt=SCSI:ty=winchester:ns#57:nt#5:nc#1689:\
        :pa#65536:oa#0:ba#8192:fa#1024:\
        :pb#98304:ob#65536:bb#8192:fb#1024:tb=swap:\
        :pc#485601:oc#0:bc#8192:fc#1024:\
        :pd#13674:od#163840:bd#8192:fd#1024:\
        :pe#13674:oe#177514:be#8192:fe#1024:\
        :pf#13676:of#191188:bf#8192:ff#1024:\
        :pg#41024:og#163840:bg#8192:fg#1024:

I get the error: partition c: partition extends past the end of unit. Here
are the specs of the drive from the seagate website.

                             ST-3283N


            UNFORMATTED CAPACITY _____________________
            FORMATTED CAPACITY (xx SECTORS) __________248.62
            AVERAGE SECTORS PER TRACK ________________57 rounded down
            ACTUATOR TYPE ____________________________ROTARY VOICE COIL
            TRACKS ___________________________________8,455
            CYLINDERS ________________________________1,689 (user)
            HEADS ____________________________________5
            DISCS (3.5 in) ___________________________3
            MEDIA TYPE _______________________________THIN FILM
            HEAD TYPE ________________________________THIN FILM
            RECORDING METHOD _________________________ZBR RLL (1,7)
            INTERNAL TRANSFER RATE (mbits/sec) _______15.0 to 24.4
            EXTERNAL TRANSFER RATE (mbyte/sec) _______4 Async
            EXTERNAL TRANSFER RATE (mbyte/sec) _______10 Sync
            SPINDLE SPEED (RPM) ______________________4,500
            AVERAGE LATENCY (mSEC) ___________________6.67
            BUFFER ___________________________________128 Kbyte SeaCache
             Read Look-Ahead Multisegmented cache
            INTERFACE ________________________________SCSI-2 Fast
            SECTORS PER DRIVE ________________________485,601
            TPI (TRACKS PER INCH) ____________________1,960
            BPI (BITS PER INCH) ______________________38,000
            AVERAGE ACCESS (ms) ______________________12
            SINGLE TRACK SEEK (ms) ___________________<4
            MAX FULL SEEK (ms) _______________________32
            MTBF (power-on hours) Office _____________250,000
            POWER REQUIREMENTS: +12V START-UP (amps) _1.5
            POWER MANAGEMENT (Watts):
                                ACTIVE _______________5.7
                                IDLE _________________3.0
                                STANDBY ______________1.0
            WRITE PRECOMP (cyl) ______________________N/A
            REDUCED WRITE CURRENT (cyl) ______________N/A
            LANDING ZONE (cyl) _______________________AUTO
            IBM AT DRIVE TYPE ________________________0

     Formatted at the factory with 2 alternate cylinders.  Total physical
     cylinders equal 1691.

     ZBR = Zone Bit Recording = Variable sectors per track

My concern would be the ZBR, but I don't know how to account for that.
Could someone help me debug my disktab entry or tell me that I should be
using something else?

Thanks
-james