[comp.sys.amiga] SEAGATE ST 157N problem

markf@syma.sussex.ac.uk (Mark Foster) (08/24/89)

Help....!!

I am trying to get my ST 157N to format but it wont go past cylinder 557
It is supposed to be 615 cyls 26 sec/trk and 6 heads.

Can someone confirm that this is correct or maybe offer a little advice
as to what I may be doing wrong.

My mountlist entries are for two partitions DH0: and DH1: with DH0:
starting at cyl 0 to cyl 38 and DH1: for the rest.

This type of arrangement works fine for the ST 138N.

p.s. The system is an A500 with KS 1.2 and an Amdrive SCSI interface.

-- 
---Don't take life so seriously.----------///---You won't make it out alive.---
Mark Foster, Computing Service  |  C=    ///   | markf @ syma.sussex.ac.uk
University of Sussex, Falmer    |    \\\///    | mef   @ cluster.sussex.ac.uk
England. BN1 9QH +44 273 607418 |     \X//     | ccfa3 @ cluster.sussex.ac.uk

roadman@portia.Stanford.EDU (arthur walker) (08/25/89)

In article <1280@syma.sussex.ac.uk>, markf@syma.sussex.ac.uk (Mark Foster) writes:
> I am trying to get my ST 157N to format but it wont go past cylinder 557
> It is supposed to be 615 cyls 26 sec/trk and 6 heads.
> 
> Can someone confirm that this is correct or maybe offer a little advice
As with all SCSI, we don't really know how it's blocked out inside, but
seagate suggests a 6 x 26 x 608 for my 157N, which is just about perfect
for its advertised 94860 blocks available. SCSI INQUIRE does say 6 x 26 
x 608, but there's no guarantee.  94860 is really the important number;
My syquest drive tells me that the cartridges have 1275 cylinders, but 
for some reason its block sparing strategy on format was changed after those
numbers were fixed, and using a 2 x 34 model for surfaces and blocks, I
only get 1270 cylinders out of 86700 blocks.
  
> 
> My mountlist entries are for two partitions DH0: and DH1: with DH0:
> starting at cyl 0 to cyl 38 and DH1: for the rest.
> 
> This type of arrangement works fine for the ST 138N.
> 
> p.s. The system is an A500 with KS 1.2 and an Amdrive SCSI interface.
I don't know this vendor, but it sounds to me as though the DOS format
is what's hanging.  I think one or more sectors of the drive have gone
south since the last low format, and you should re-low-format the drive.
Its firmware will map the offending sector/s out.  

If you know someone with a mac, you can get a lot of info about bad sectors
with SCSI Evaluator.  You can even REASSIGN bad blocks without re-low-format
on drives which support it - and I believe the seagate drives do.  This can
be a life-saver when blocks go bad on a full volume...unless you are really
unlucky, you lose only the data on the sector and if you are clever you lose
the surrounding file at worst.

I say, redo the low-format.  If your vendor's prep software doesn't 
support an atomic format, do it on a friend's machine.  The low format is
host-independent.

art walker
roadman@portia.stanford.edu

kevin@cbmvax.UUCP (Kevin Klop) (08/26/89)

In article <1280@syma.sussex.ac.uk> markf@syma.sussex.ac.uk (Mark Foster) writes:
>I am trying to get my ST 157N to format but it wont go past cylinder 557
>It is supposed to be 615 cyls 26 sec/trk and 6 heads.

                   [ Stuff deleted ]

>My mountlist entries are for two partitions DH0: and DH1: with DH0:
>starting at cyl 0 to cyl 38 and DH1: for the rest.
>


What is your actual mountlist, and which controller are you using?

                                 -- Kevin --

----------
Kevin Klop		{uunet|rutgers|amiga}!cbmvax!kevin
Commodore-Amiga, Inc.

The number, 111-111-1111 has been changed.  The new number is:
134-253-2452-243556-678893-3567875645434-4456789432576-385972

Disclaimer: _I_ don't know what I said, much less my employer.

jms@tardis.Tymnet.COM (Joe Smith) (08/27/89)

In article <1280@syma.sussex.ac.uk> markf@syma.sussex.ac.uk (Mark Foster) writes:
>I am trying to get my ST 157N to format but it wont go past cylinder 557
>It is supposed to be 615 cyls 26 sec/trk and 6 heads.
>Can someone confirm that this is correct or maybe offer a little advice
>as to what I may be doing wrong.

The ST157N I got came with a printed copy of the test results dated
11/14/88.  It said that my particular drive had only 94860 blocks.
(Previously, Seagate had specified 95015 blocks for the ST157N).
Since 6*26*608=94848 and 6*26*609=95004, it looks like a large hunk
of the 609th cylinder is reserved for bad block replacements.

I decided to make DH0 smaller than 880K so it's entire contents could
be copied to a backup floppy.  I chose its size to end on a block number
that is a multiple of 6*26 and is a multiple of 2*11.  That way I could
have a virtual floppy starting on cylinder boundaries.

For the remainder of the disk, I chose numbers that would leave the
smallest number of unused blocks.

/* OverDrive Drive definition */
/* SEAGATE ST157N with 94860 blocks = 48,456,320 bytes. */

/* RES = blocks    0-  155 = cylinder 0 for boot block and disk label.    */
/* DH0 = blocks  156- 1715 = 780K OFS boot disk on cylinders 1-10.        */
/* DF4 = blocks 1716- 3475 = 1760 blocks for an 880K virtual floppy.      */
/* DH1 = blocks 3476-94820 = 45M FFS partition with 44 blocks per "cyl".  */

DH0:   Device = overdrive.device
   Unit = 1			/* Unit 1 = SCSI drive #0, name MUST be DH0: */
   Flags = 9 ; Surfaces = 6 ; BlocksPerTrack = 26 ; Reserved = 2
   LowCyl = 1  ;  HighCyl = 10   /* The boot block MUST match these values */
   Interleave = 0 ; Buffers = 32 ; BufMemType = 1 ; Stacksize = 4000
   DosType = 0x444F5300   /* Current boot block requires an OFS partition */
   Mount = 1
#

/* DF4 starts at ST157N cylinder 11 = block 1716 = floppy cylinder 78 */
/* DF4 ends at block 3475 = floppy cylinder 157 = ST157N cylinder 22.28 */

DF4:   Device = overdrive.device
   Unit = 1		 			/* emulate a floppy here */
   Flags = 9 ; Surfaces = 2 ; BlocksPerTrack = 11 ; Reserved = 2
   LowCyl = 78  ;  HighCyl = 157			/* 80 cylinders */
   Interleave = 0 ; Buffers = 5 ; BufMemType = 1 ; Stacksize = 4000
#

/* RES+DH0+DF4 = 11 * 6 * 26 + 80 * 2 * 11 = 3476 blocks = 4 * 11 * 79. */
/* 94860 = (4 * 11 * 2155) + 40.  Therefore by pretending there are 44  */
/* blocks per cylinder, all but 40 blocks can be accessed and there are */
/* no wasted blocks between DF4 and DH1.                                */

DH1:   Device = overdrive.device
   Unit = 1				/* 45 megabyte FFS partition */
   Flags = 9 ; Surfaces = 4 ; BlocksPerTrack = 11 ; Reserved = 2
   LowCyl = 79  ;  HighCyl = 2154   /* blocks 3476 thru 94819 */
   Interleave = 0 ; Buffers = 32 ; BufMemType = 1 ; Stacksize = 4000
   DosType = 0x444F5301 ; FileSystem = L:FastFileSystem
   GlobVec = -1 ; Mount = 1
#
-- 
Joe Smith (408)922-6220 | SMTP: JMS@F74.TYMNET.COM or jms@tymix.tymnet.com
McDonnell Douglas FSCO  | UUCP: ...!{ames,pyramid}!oliveb!tymix!tardis!jms
PO Box 49019, MS-D21    | PDP-10 support: My car's license plate is "POPJ P,"
San Jose, CA 95161-9019 | narrator.device: "I didn't say that, my Amiga did!"

thad@cup.portal.com (Thad P Floryan) (08/28/89)

Re: Joe Smith's comments about the ST157N ...

From the Seagate ST157N Product Manual, 36045-001, Rev.C, dated March 2, 1988,
page 2, the guaranteed number of 512-byte sectors for the ST157N is 94,860.


Thad Floryan [ thad@cup.portal.com (OR)  ..!sun!portal!cup.portal.com!thad ]