Subject: Re: Disklabel
To: None <jason@sprint.com.au, port-hp300@NetBSD.ORG>
From: Mike Hibler <mike@fast.cs.utah.edu>
List: port-hp300
Date: 01/27/1996 23:37:53
> Date: Sun, 28 Jan 1996 16:30:45 +1100 (EST)
> From: Jason Hodges <jason@sprint.com.au>
> To: port-hp300@NetBSD.ORG
> Subject: Disklabel
> 
> Could someone please send me their disklabel information for a HP-IB 
> drive of type 7959B.
> 
> I do not have anywhere all the necessary details about this drive that it 
> wants to know.. 
> 
> I'm glad I finally got SYS_INST to disklabel it!.. Now i just need the 
> information for it!
> 

Don't know exactly what info you need for NetBSD, but here is for 4.4bsd.
You want 21 sectors/track, 9 heads, 1572 cylinders, 3600 rpm, interleave
of 1, and 0 for everything else (except partitions of course :-).

For reference, this is from hp300/dev/rdreg.h:

/*
 * Several HP drives have an odd number of 256 byte sectors per track.
 * This makes it rather difficult to break them into 512 and 1024 byte blocks.
 * So...we just do like HPUX and don't bother to respect hardware track/head
 * boundries -- we just mold the disk so that we use the entire capacity.
 * HPUX also sometimes doen't abide by cylinder boundries, we attempt to
 * whenever possible.
 *
 * DISK         REAL (256 BPS)          HPUX (1024 BPS)         BSD (512 BPS)
 *              SPT x HD x CYL          SPT x HD x CYL          SPT x HD x CYL
 * -----        ---------------         ---------------         --------------
 * 7936:        123 x  7 x 1396          25 x  7 x 1716         123 x  7 x  698
 * 7937:        123 x 13 x 1396          25 x 16 x 1395         123 x 13 x  698
 *
 * 7957A:        63 x  5 x 1013          11 x  7 x 1036          22 x  7 x 1036
 * 7958A:        63 x  8 x 1013          21 x  6 x 1013          36 x  7 x 1013
 *
 * 7957B:        63 x  4 x 1269           9 x  7 x 1269          18 x  7 x 1269
 * 7958B:        63 x  6 x 1572          21 x  9 x  786          42 x  9 x  786
 * 7959B:        63 x 12 x 1572          21 x  9 x 1572          42 x  9 x 1572
 *
 * 2200A:       113 x  8 x 1449         113 x  2 x 1449         113 x  4 x 1449
 * 2203A:       113 x 16 x 1449         113 x  4 x 1449         113 x  8 x 1449
 */