home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / unix / bsd / 4488 < prev    next >
Encoding:
Internet Message Format  |  1992-08-20  |  3.2 KB

  1. Path: sparky!uunet!ogicse!uwm.edu!zaphod.mps.ohio-state.edu!moe.ksu.ksu.edu!maverick.ksu.ksu.edu!news
  2. From: brtmac@maverick.ksu.ksu.edu (Brett McCoy)
  3. Newsgroups: comp.unix.bsd
  4. Subject: Re: Endless boot cycle- suggestions?
  5. Message-ID: <17092lINNju6@maverick.ksu.ksu.edu>
  6. Date: 20 Aug 92 04:09:25 GMT
  7. Article-I.D.: maverick.17092lINNju6
  8. References: <Aug.14.12.34.42.1992.8037@action.rutgers.edu> <45240001@hpycla.kobe.hp.com>
  9.     <Aug.18.17.41.42.1992.4915@action.rutgers.edu>
  10.     <1072@galileo.rtn.ca.boeing.com>
  11. Organization: Kansas State University
  12. Lines: 56
  13. NNTP-Posting-Host: maverick.ksu.ksu.edu
  14. In-reply-to: dmp3592@galileo.rtn.ca.boeing.com's message of 19 Aug 92 16:28:05 GMT
  15.  
  16. In article <1072@galileo.rtn.ca.boeing.com> dmp3592@galileo.rtn.ca.boeing.com (Dean M. Phillips) writes:
  17.  
  18.  
  19. >A disk drive which does geometry translation will hopelessly confuse
  20. >386BSD.
  21. >
  22. >Background:
  23. >
  24. >MessDOS has a hard limit of 10 bits for a cylinder number.  This
  25. >prevents MessDOS from accessing cylinders beyond 1023.  Most large hard
  26. >disks have more than 1024 cylinders.
  27. >
  28. >So, to make these disks useable with MessDOS, the disk drive
  29. >manufacturers invented geometry translation.  The way this works is the
  30. >drive says that it has more heads than it really does, and less
  31. >cylinders than it really does, so that the total number of sectors
  32. >comes out the same but with less than 1024 cylinders.  When MessDOS
  33. >asks for a particular track, sector, and cylinder, the drive silently
  34. >translates this to the real location.  "Brain damage begets brain
  35. >damage."
  36. >
  37. >386BSD gets the geometry and its partition info from the partition
  38. >table and then TURNS OFF GEOMETRY TRANSLATION.  If geometry translation
  39. >was on in the first place, 386BSD will get hopelessly lost, fail to
  40. >find its disk label and panic.
  41.  
  42. This is not totally true.  I have a MAXTOR 7120/A IDE drive that has a
  43. true geometry of 1516 cyl, 4 heads and 42 sec/track.  However, there
  44. are a couple jumpers on it that you use to set the geometry that it
  45. reports when asked, one of which is 935 cyl, 16 heads and 17
  46. sec/track.  You can set the geometry to be anything in the BIOS so
  47. long as the total number of sectors comes out <= the real number.
  48.  
  49. My problem in getting 386BSD up was that I was using the above
  50. geometry in the BIOS, but the jumpers were set for a 1024 cyl, 16
  51. head, 14 sec/track geometry.  This did not make any difference until I
  52. tried using 386BSD.  The disklabel program on the fixit disk showed
  53. the geometry as reported by the drive and not the BIOS settings.
  54. Although I could get it to write a disklabel at the right place with
  55. the right stuff in it, it could never find it at boot time.
  56.  
  57. I finally figured this out last night and shorted the jumpers to make
  58. the drive say that it had 935 cyl, etc.  Now it all works fine, and it
  59. is using geometry translation.  My drive does not have any way to shut
  60. it off as far as I can tell.  It gives you a choice of 4 different
  61. translations, settable by jumpers, but none of them are for the real
  62. geometry.
  63.  
  64. I'm sure this isn't the same for all drives.  Some probably always
  65. return the real geometry when asked.  The MAXTOR just has a different
  66. idea of what REAL is.
  67.  
  68. ++Brett;
  69.  
  70. BTW, I have spec sheets for the 7120/A.  If anyone would like info
  71. like what the jumper settings are or anything like that, send me mail.
  72.