home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / unix / bsd / 4442 < prev    next >
Encoding:
Text File  |  1992-08-19  |  2.3 KB  |  57 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: Watch out for geometry translation
  6. Message-ID: <1072@galileo.rtn.ca.boeing.com>
  7. Date: 19 Aug 92 16:28:05 GMT
  8. References: <Aug.14.12.34.42.1992.8037@action.rutgers.edu> <45240001@hpycla.kobe.hp.com> <Aug.18.17.41.42.1992.4915@action.rutgers.edu>
  9. Organization: Boeing Commercial Airplane Group, Seattle
  10. Lines: 45
  11.  
  12. A disk drive which does geometry translation will hopelessly confuse
  13. 386BSD.
  14.  
  15. Background:
  16.  
  17. MessDOS has a hard limit of 10 bits for a cylinder number.  This
  18. prevents MessDOS from accessing cylinders beyond 1023.  Most large hard
  19. disks have more than 1024 cylinders.
  20.  
  21. So, to make these disks useable with MessDOS, the disk drive
  22. manufacturers invented geometry translation.  The way this works is the
  23. drive says that it has more heads than it really does, and less
  24. cylinders than it really does, so that the total number of sectors
  25. comes out the same but with less than 1024 cylinders.  When MessDOS
  26. asks for a particular track, sector, and cylinder, the drive silently
  27. translates this to the real location.  "Brain damage begets brain
  28. damage."
  29.  
  30. 386BSD gets the geometry and its partition info from the partition
  31. table and then TURNS OFF GEOMETRY TRANSLATION.  If geometry translation
  32. was on in the first place, 386BSD will get hopelessly lost, fail to
  33. find its disk label and panic.
  34.  
  35. Solution:
  36.  
  37. Make sure that geometry translation is turned off.  I was able to do
  38. this by running setup, specifying drive type 47 and keying in the real
  39. number of heads, etc.
  40.  
  41. If you don't know what your disk's real geometry is, you can find out
  42. with a little hacking.  I will post a patch when I get mwrite to work.
  43.  
  44. Disclaimer:
  45.  
  46. Not all reboot cycles are caused by geometry translation.
  47.  
  48. On my system, it would still work with geometry translation if I let
  49. 386BSD have the whole disk.  This is because the disk label is located
  50. on cylinder 0, head 0, sector 2 for both the real and the translated
  51. geometry.
  52. -- 
  53. ----------------------------------------------------------------------
  54. #include <standard_disclaimer.h>
  55. Dean M. Phillips                                        (206) 393-9333
  56. Boeing Commercial Airplane Group            dmp3592@galileo.boeing.com
  57.