home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / sys / sun / misc / 3784 < prev    next >
Encoding:
Text File  |  1992-08-19  |  3.4 KB  |  70 lines

  1. Newsgroups: comp.sys.sun.misc
  2. Path: sparky!uunet!charon.amdahl.com!pacbell.com!mips!sdd.hp.com!usc!sol.ctr.columbia.edu!The-Star.honeywell.com!umn.edu!lynx!zia.aoc.nrao.edu!rmilner
  3. From: rmilner@zia.aoc.nrao.edu (Ruth Milner)
  4. Subject: Re: 4.1.2 miniroot and EXB 8200SX problem?
  5. Message-ID: <1992Aug19.184334.6097@zia.aoc.nrao.edu>
  6. Reply-To: rmilner@zia.aoc.nrao.edu (Ruth Milner)
  7. Organization: National Radio Astronomy Observatory, Socorro NM
  8. References: <1992Aug14.191255.17903@noao.edu> <1992Aug15.013216.11112@kpc.com>
  9. Date: Wed, 19 Aug 92 18:43:34 GMT
  10. Lines: 58
  11.  
  12. In article <1992Aug15.013216.11112@kpc.com> mjacob@kpc.COM (Matthew Jacob) writes:
  13. >>st0:    Generic Drive, Vendor=<EXABYTE>
  14. >>    Unknown type- assuming 0.25 inch cartridge
  15. >>    Fixed record length (1024 byte blocks) I/O
  16. >
  17. >Unfortunately, the inquiry data of:
  18. >
  19. >    'EXABYTE 8200SX'
  20. >
  21. >neither matches "EXABYTE EXB-8500" nor "EXABYTE EXB-8200", which is
  22. >what the fallback table in 4.1.2 has for exabytes. 
  23. >
  24. >If you can't make a new kernel, you're hosed. If you can, edit
  25. >the table in /sys/scsi/targets/st_conf.c as appropriate.
  26. >I'd also complain to your exabyte rep.
  27. >
  28. >I'd also file a bug at Sun (Hah! fixed in NT! :-;)
  29.  
  30. There should be no reason why the administrator of the system couldn't make
  31. a new kernel. st_conf.c is part of the binary distribution, and the C compiler
  32. is bundled. When you do change it, be aware that any Sun which builds with
  33. that module won't recognize an 8500 if you install one, since it will match
  34. the entry for the 8200. You might be able to get around it by juggling the
  35. order of table entries and tape device types (in stdef.h) so the 8500 would
  36. match first (assuming the table is searched sequentially), but I wouldn't
  37. count on it.
  38.  
  39. When you do make the change, be sure to edit the preceding field as well,
  40. which is the number of characters in the string you're matching against. If
  41. you leave it too long, it will probably pad your string with blanks, or nulls,
  42. and it still won't match.
  43.  
  44. Note that Sun *had* to change the string they match against in order to
  45. determine whether the drive is an 8200 or an 8500, and therefore support
  46. the 8500's special features (e.g. dual-density). What else could they have
  47. matched against? I don't think there's any easy way the tape table could do 
  48. matching of "8500" or "8200" anywhere in the I.D. string. Doing so would
  49. probably involve a substantial rewrite in the driver code.
  50.  
  51. The *real* culprit is the reseller who changed the PROM so that it no longer
  52. produces the usual string. Do complain to them about this change (what does 
  53. "SX" really mean, anyway?). Do they *really* understand how Suns configure 
  54. devices, and are they really "up" on SunOS? If so, at the very least they 
  55. should include instructions on how to change st_conf.c and rebuild your kernel 
  56. (which should not be necessary for a device as commonly-supported as Exabyte).
  57.  
  58. It could simply be that up to this point it has always worked, and they 
  59. haven't tested it on SunOS 4.1.2 yet. They could have it return "EXABYTE 
  60. EXB-8200SX" if they really need to get their fancy-shmancy model number in 
  61. there, and then it would still work. It should be pretty easy for them to 
  62. change it so that it does, and send you a new PROM (or a firmware load tape 
  63. if their 8200 supports it).
  64.  
  65. I'd be willing to bet this breaks other systems' autoconfiguration as well,
  66. not just Suns'. 
  67. -- 
  68. Ruth Milner                          NRAO/VLA                  Socorro NM
  69. Computing Division Head      rmilner@zia.aoc.nrao.edu
  70.