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

  1. Xref: sparky comp.unix.bsd:4277 comp.sys.ibm.pc.hardware:22016
  2. Path: sparky!uunet!mcsun!sun4nl!star.cs.vu.nl!kjb
  3. From: kjb@cs.vu.nl (Kees J. Bot)
  4. Newsgroups: comp.unix.bsd,comp.sys.ibm.pc.hardware
  5. Subject: Re: Another Adaptec Question
  6. Message-ID: <15776@star.cs.vu.nl>
  7. Date: 17 Aug 92 15:08:04 GMT
  8. References: <1992Aug14.192127.13801@adaptx1.UUCP> <7@tama.spec.co.jp> <1992Aug16.144341.24052@Informatik.TU-Muenchen.DE>
  9. Sender: news@cs.vu.nl
  10. Distribution: world,fj,spec
  11. Lines: 62
  12.  
  13. rommel@Informatik.TU-Muenchen.DE (Kai-Uwe Rommel) writes:
  14. >
  15. >In article <7@tama.spec.co.jp> amurai@tama.spec.co.jp (Atsushi Murai) writes:
  16. >>ariticle is not ..but) and Fujitsu M2266SA 1.2 GB Disks. Functionality
  17. >>is good but it looks like loosing a space about 200MB (above 1Gbyte).
  18. >>And some guy let me know about this is a known problem of 1542B and
  19. >>Adaptec will be fixed by new board - 1542C. (Oh well.....)
  20. >>Now a day, A lot of guys try to run 386BSD with this card without know
  21. >>this problem!!!
  22. >>
  23. >>My Question:
  24. >>
  25. >>  o Is this a hard ware limitaion or a firm ware one ?
  26. >>  o Is there any upgrade pass from 1542B to 1542C(?) ?
  27. >>  o When new board is available ?
  28. >>  o How about 174X for EISA bus ? (normal/extended mode)
  29. >
  30. >This is a *software* limitation of the operating system. Some OSes don't
  31. >handle disks with more than 1024 cylinders. The standard mapping of SCSI
  32. >disks on the 1542B is to 64 heads and 32 sectors per track, i.e. 1MB per
  33. >cylinder. So, if you have 1 drive >1GB, it exceeds the 1024 cylinder
  34. >range.
  35.  
  36. It has nothing to do with heads, sectors or cylinders.  The group 0 SCSI
  37. read/write commands allow only for a 21 bit block address limiting one
  38. to 2 megablocks, which is 1GB at the usual 512 bytes per block.
  39.  
  40. The group 1 SCSI read/write commands offer a 32 bit block address
  41. however, but not all O.S.'s are smart enough to use those commands.
  42.  
  43. >Adaptec has now a new mapping scheme with 256 heads and 64 sectors per
  44. >track, [etc...]
  45.  
  46. At least the 64 sectors per track number is wrong, you can't have more
  47. than 63 sectors on a track.  I don't like the 256 heads per track
  48. either, I know of one (1.5GB) disk with an AT interface that uses the
  49. top 2 head bits for two more cylinder bits.  This limits the number of
  50. heads per track to 64, but allows for 4096 cylinders.  I don't know if
  51. this is a normal way of addressing bigger disks under DOS.  Anyone?
  52.  
  53. >However, as said, Unix systems should generally be able to handle more
  54. >than 1024 (logical, in this case) cylinders. You may want to try this
  55. >first. The Unix file system code uses the BIOS only at boot time
  56. >to determine the drive geometry and to load the kernel.
  57.  
  58. The Adaptec 1542B card that I bought recently is temporarily installed
  59. in a PC at work with (hold your breath :-)) our spare Fujitsu M2266S
  60. attached to it.
  61.  
  62. After hacking group 1 support into the Minix SCSI driver I can now address
  63. all of the 2107704 sectors on the disk.  Note that the disk is only 5KB
  64. larger than 1GB, you lose a bit after formatting. :-(
  65.  
  66. I do not use the Adaptec BIOS by the way, there is a nice SCSI command
  67. to ask the drive how big it is and that is all the info you need with
  68. SCSI.  You can't even see more than two disks with the BIOS.
  69.  
  70. It's nice to be able to use the whole disk under a toy O.S. like Minix,
  71. something we do not dare do under SunOS yet.
  72. --
  73.                             Kees J. Bot  (kjb@cs.vu.nl)
  74.                   Systems Programmer, Vrije Universiteit Amsterdam
  75.