home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / unix / sysv386 / 12329 < prev    next >
Encoding:
Internet Message Format  |  1992-07-23  |  3.9 KB

  1. Path: sparky!uunet!crdgw1!rdsunx.crd.ge.com!ariel!davidsen
  2. From: davidsen@ariel.crd.GE.COM (william E Davidsen)
  3. Newsgroups: comp.unix.sysv386
  4. Subject: Re: sector remapping woes with 1542A/SCO Unix
  5. Message-ID: <1992Jul23.151720.21117@crd.ge.com>
  6. Date: 23 Jul 92 15:17:20 GMT
  7. References: <467@wurtel.hobby.nl> <1992Jul23.022212.14858@ksmith.uucp>
  8. Sender: usenet@crd.ge.com (Required for NNTP)
  9. Reply-To: davidsen@crd.ge.com (bill davidsen)
  10. Organization: GE Corporate R&D Center, Schenectady NY
  11. Lines: 64
  12. Nntp-Posting-Host: ariel.crd.ge.com
  13.  
  14. In article <1992Jul23.022212.14858@ksmith.uucp>, keith@ksmith.uucp (Keith Smith) writes:
  15.  
  16. | The root filesystem in SCO unix cannot lie beyond the 1024th cylinder,
  17. | translated or otherwise. 
  18.  
  19.   That's not without some minor exceptions. The problem lies in using
  20. the BIOS to boot the system, and the BIOS can't get beyond cylinder
  21. 1023 because there are only 10 bits to specify the cylinder number in
  22. the BIOS call. If translation is on, logical cylinders less than 1024
  23. work. However, when UNIX gets control there are problems describing the
  24. disk in translated terms. As a ground rule if the translation is done
  25. at the BIOS level, it will fail, if it's done by hardware in the
  26. controller it will work. You wind up with disks which look different to
  27. DOS and UNIX.
  28.  
  29.   2nd half of the problem. While the partition must start before 1024,
  30. it may continue past, providing the entire kernel lies below 1024. If
  31. it is above 1024, you get NO OS, if below it works, and if partially
  32. above you get some kernel read in and some random data. Then you get a
  33. partial boot until you execute whatever came from the low cylinders.
  34. Trust me, I didn't read this in a book somewhere... you can run for a
  35. year and then build a new kernel with only a few sectors up past 1023.
  36.  
  37.   As a general rule what you said is the best way to operate. Keeping
  38. the entire root partition under physical 1024 eleiminates having to
  39. find exceptions to get the system back up.
  40.  
  41. | >Why does SCO Unix think that a different sector translation is called
  42. | >for? On other machines (with, admittedly, 1542_B_ controllers) SCO
  43. | >Unix kindly uses the 64 head translation (in fact, the same installation
  44. | >floppies have been tried, to no avail).
  45.  
  46.   I think the problem lies in where the translation is done. If it's
  47. done in the BIOS the disk must be described to the UNIX software as
  48. untranslated. This *is* possible, but I don't (want to) remember the
  49. details. I have never seen anything like this on SCSI, but anything is
  50. possible. I would expect hdinit to see what the controller offers,
  51. although this is not always the case with ESDI and RLL drives, where you
  52. may have to force the configuration.
  53.  
  54. | Ahh,  morn, likely you need a BIOS upgrade for the controller.
  55. | also simply creating the first filesystem between 0 and 1023 and using
  56. | from 1024 to 1272 end as the swap area is an easy fix.
  57.  
  58.   Yes, anything which gets the kernel image low. Dell puts the boot
  59. partition low, with very little in it. This is nice because you can put
  60. a new kernel down there and be sure it's low. I *think* you could do
  61. this with SCO, read the kernel from a small low partiton and mount the
  62. larger partition on root. I bet it's really trickey and SCO isn't going
  63. to encourage people to do it, either.
  64.  
  65. | It will of course require manual fiddling with divvy ("Would you like to
  66. | make any manual adjustments"...) but it is not difficult.  Just set root
  67. | to use the entire area.  You will have to multiply out and get the track
  68. | numbers.  Track 0 is reserved.
  69.  
  70.   Too true. I wish all vendors would let you choose to work in tracks,
  71. cylinders, or MB when doing the divvy (by whatever name). There is no
  72. one "right" unit, although they all have been tried!
  73. -- 
  74. bill davidsen, GE Corp. R&D Center; Box 8; Schenectady NY 12345
  75.     It never ceases to amaze me that otherwise rational people, able to
  76.     understand calculus, compound interest, and the income tax form, can
  77.     continue to believe that poker is a game of chance.
  78.