Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!swrinde!cs.utexas.edu!uunet!mcsun!hp4nl!hgatenl!tedux!wiesje!baron From: baron@wiesje.hobby.nl (Wim `Blue Baron' van Dorst) Newsgroups: comp.os.minix Subject: Seagate ST225 problems: THE solution Keywords: HD ST225 Message-ID: <9103318410@wiesje.hobby.nl> Date: 31 Mar 91 19:24:57 GMT Organization: Minix Hobbynet Host Lines: 115 Hello *, Several people of late have been asking about Seagate ST225 Hard Disks, and discussed all kind of problems. The patch below solves all these, as these problems stem from two things only: 1 The ST225 has only 1 drive type instead of two, and it is different from the default ones. 2 The OMTI controller, often found in combination with the ST225, doesn't know about the proper drive parameters combination. I have checked all 128 combinations, and there is no good one in. So I picked the best drive parameter combination, set the drive type accordingly, and hard coded the rest (No. Heads == 4). Below is included the patch for the xt_wini.c. This HD driver now runs on Wiesje (my 8088 XT) for about four years (started on Minix 1.1), and has shown no further problems. NOTE that the drive parameter information is now hardcoded in the driver as there is no other way :-(, which makes the driver useless for other hard disks, but this is the only way to get the ST225 to work properly. If this patch is useful for you, please drop me a line stating so. I always like to hear of a good job done. Met vriendelijke groeten, Wim `Blue Baron' van Dorst. --------------------------------------------------------------------- Blue Baron = Wim van Dorst, Voice (+31) 074-443937, (+31) 02152-42319 (-: baron@wiesje.hobby.nl tgcpwd@urc.tue.nl :-) --------------------------------------------------------------------- table !"#$%&'()*+,-./0123456789:;<=>? @ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_ begin 644 wini.cdiff.Z M'YV-*@*"B.&BAHL8,%[@H?/E3AHW:5R,23 E#!T00>#( 2$CQL <.A#J@('Cz M8PX8"EJH!"$FC)PW;A0R= A1(D6+R]!@#9(P8(WGF.*D@H-&C2%44%5B#y M)(L:,6B .*H A%40-+^\J4,'!1R78=K :>'#C9PO8_*P2;&C*@BW"5ZH .'Dx MC0L0;\R 0%,F#)DY4U\H"'$UZ]:N7^6$'5OV+%^_<]BZA2L7Q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