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

  1. Path: sparky!uunet!dtix!darwin.sura.net!mips!odin!sgihub!zola!zuni!anchor!olson
  2. From: olson@anchor.esd.sgi.com (Dave Olson)
  3. Newsgroups: comp.sys.sgi
  4. Subject: Re: Crimson, symmon, kp scsi 0
  5. Keywords: irix debugging symmon
  6. Message-ID: <or33jog@zuni.esd.sgi.com>
  7. Date: 21 Aug 92 02:18:14 GMT
  8. References: <2887@contex.contex.com>
  9. Sender: news@zuni.esd.sgi.com (Net News)
  10. Organization: Silicon Graphics, Inc.  Mountain View, CA
  11. Lines: 47
  12.  
  13. In <2887@contex.contex.com> james@sam.contex.com (James McQueston) writes:
  14. | I have installed setup my kernel to make symmon available
  15. | according to the instructions in "IRIX Device Driver Programming Guide,"
  16. | Document Number 007-0911-020, 3/92.
  17. | When I enter symmon by typing ^A and then type:
  18. |     kp scsi 0
  19. | I get:
  20. |     WD93A controller at 0xb7f08007
  21. |     AUX 0x0 ...
  22. |     .
  23. |     .
  24. |     .
  25. |     CMD 0x8 DATA 0xff <and then it hangs right here>
  26. | What I mean by <and then it hangs right there> is that the cursor
  27. | is left at then end of "0xff" and no newline seems to be output.
  28. | Not only that, but now symmon is dead, and ^A will not bring it back.
  29.  
  30. Sounds like somebody didn't test symmon adequately (or more accurately,
  31. the code in idbg.o that prints scsi data structures).  I guess you
  32. are out of luck.  For all I know, the same happens in 4.0.5, although
  33. I *do* know it isn't a problem on r4k indigos with 4.0.5D.
  34.  
  35. | Is this a known problem on Crimson, or is there something
  36. | wrong with my IO3 board?
  37.  
  38. It isn't an i/o board problem.  It is almost certainly a software
  39. bug.
  40.  
  41. | We have a timing - related problem that may be a bug in IRIX or
  42. | in our specific hardware that is evidenced by a temporally tempramental
  43. | set of: 6 x read(80 bytes), ioctl(forward space file), n x read(8192 bytes),
  44. | ioctl(forward space file) 6 x read(80 bytes).  And that is why I want
  45. | to know whether "kp scsi 0" is supposed to work.
  46.  
  47. kp scsi 0 is somewhat risky, in that it can cause you to lose SCSI
  48. interrupts, since reading the chip status register is what clears
  49. them (AUX register having bit 7 set indicates an interrupt was pending).
  50.  
  51. kp scsi 0 isn't likely to help much with target type problems anyway,
  52. it is mainly an aid to people working on the driver.  "kp scsi 1", or
  53. "kp scsi 2" is far more likely to be helpful.
  54. --
  55. Let no one tell me that silence gives consent,  |   Dave Olson
  56. because whoever is silent dissents.             |   Silicon Graphics, Inc.
  57.     Maria Isabel Barreno                        |   olson@sgi.com
  58.