home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / unix / bsd / 4740 < prev    next >
Encoding:
Text File  |  1992-08-26  |  3.6 KB  |  94 lines

  1. Path: sparky!uunet!bcstec!galileo!dmp3592
  2. From: dmp3592@galileo.rtn.ca.boeing.com (Dean M. Phillips)
  3. Newsgroups: comp.unix.bsd
  4. Subject: Re: Endless boot cycle- suggestions?
  5. Summary: Make all the geometries match.
  6. Keywords: IDE boot geometry translation
  7. Message-ID: <1095@galileo.rtn.ca.boeing.com>
  8. Date: 26 Aug 92 15:25:49 GMT
  9. References: <45240001@hpycla.kobe.hp.com> <Aug.18.17.41.42.1992.4915@action.rutgers.edu> <1072@galileo.rtn.ca.boeing.com>
  10. Organization: Boeing Commercial Airplane Group, Seattle
  11. Lines: 81
  12.  
  13. This is a correction to and an expansion on my previous article.
  14.  
  15. Since my original article I have had some conversations with some
  16. local IDE drive wizzards and Maxtor trying to understand what was
  17. going on.  In these conversations I learned that:
  18.  
  19. 1) My Maxtor 7120AT ALWAYS is in some kind of translation mode.
  20.  
  21. 2) The default geometry is jumper selectable between four different
  22. options.
  23.  
  24. 3) The computer can tell the drive to be any one of the available
  25. geometries that it wants (and possibly others) as long as the total
  26. number of sectors comes out about right and the drive will translate
  27. as required.
  28.  
  29. 4) On a DOS machine, the BIOS resets the drive and then sets it to
  30. translate from whatever geometry is in the CMOS.
  31.  
  32. Upon reading the 386BSD code, I found that after the bootstrap is
  33. loaded, it gets the MSDOS partition table from memory (already read by
  34. the bootstrap process) and uses that to compute the cylinder of its
  35. disklabel.  It then RESETS the drive to its DEFAULT GEOMETRY and
  36. attempts to read its disklabel from the previously computed data. (The
  37. comments in the code say that it is turning off translation.  This is
  38. not the case for a Maxtor 7120AT, and possibly other drives as well).
  39.  
  40. The result of this is that if the CMOS geometry does not match the
  41. default geometry, the bootstrap will not find the disk label.
  42.  
  43. To make things work requires the following:
  44.  
  45. 1) The drive geometry in the CMOS must match the default geometry of
  46. the drive.
  47.  
  48. 2) The partitions in the DOS partition table must end on a cylinder
  49. boundary (So that when the bootstrap uses the partition end-head and
  50. end-sector to get the number of sectors per track and number of heads,
  51. it will get the right answers).
  52.  
  53. 3) The disklabel geometry must match the default geometry of the
  54. drive.
  55.  
  56. All the above hinges on knowing the default geometry of your drive(s).
  57.  
  58. I suggest that you obtain a data sheet for your drive which gives you
  59. the geometry and jumper settings.  Call your favorite disk drive
  60. repair shop.  Now that I have this information I was able to put both
  61. my old Seagate ST157A and my new Maxtor 7120AT in my system in a
  62. master-slave configuration.
  63.  
  64. If you can't get the data sheets for your drives, you can proceede as
  65. follows:
  66.  
  67. 1) Get the IDEINFO program from your favorite DOS BBS or ftp site.
  68.  
  69. 2) Make a bootable MSDOS diskette and put IDEINFO.EXE on it.
  70.  
  71. 3) Run setup and tell the CMOS that there are NO hard disks in your
  72. system.  (This prevents the BIOS from telling your hard disk to use a
  73. translation other than the default translation.)
  74.  
  75. 4) Boot off the MSDOS diskette with IDEINFO.EXE and run IDEINFO.EXE
  76.  
  77. 5) IDEINFO.EXE will tell you what the power-on geometry of your drive
  78. is.  Write this info down.
  79.  
  80. 6) Run setup again, use drive type 47 and enter the geometry values
  81. that IDEINFO gives you.  Set the write precompensation and landing
  82. zone values to zero (an IDE drive does not use them).
  83.  
  84. 7) Install 386BSD (and MSDOS if required).
  85.  
  86. Good luck
  87.  
  88. Dean
  89. -- 
  90. ----------------------------------------------------------------------
  91. #include <standard_disclaimer.h>
  92. Dean M. Phillips                                        (206) 393-9333
  93. Boeing Commercial Airplane Group            dmp3592@galileo.boeing.com
  94.