home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / sys / sun / hardware / 5709 < prev    next >
Encoding:
Text File  |  1992-11-18  |  2.4 KB  |  57 lines

  1. Newsgroups: comp.sys.sun.hardware
  2. Path: sparky!uunet!gatech!paladin.american.edu!news.univie.ac.at!hp4at!mcsun!sunic!aun.uninett.no!news.uit.no!itek.norut.no!gudmund
  3. From: gudmund@itek.norut.no (Gudmundur Joekulsson)
  4. Subject: how to rezero SCSI-bus unit (sun-os 4.1.1)
  5. Sender: news@news.uit.no (USENET News System)
  6. Organization: FORUT Information Technology
  7. Date: Wed, 18 Nov 1992 11:33:48 GMT
  8. Message-ID: <1992Nov18.113348.14639@news.uit.no>
  9. Reply-To: gudmund@itek.norut.no (Gudmundur Joekulsson)
  10. Lines: 45
  11.  
  12. --
  13. Hi,
  14. A little explanation of the scenario first ...
  15. I am using a converter box attached to the scsi interface,
  16. converting to a serial V.11 interface to a network.
  17. Every now and then (when restarting a daemon operating with the 
  18. converter box after a previous daemon was killed in while in an
  19. active state) I get a read error on the device, and the system
  20. writes out error messages, telling it is retrying the command. Finaly it
  21. performes a 'rezero' and then the device is OK again.  But the
  22. daemon causing the reset hangs, and must be taken away, and a new
  23. one started.  This also takes time (too loooooong !).
  24.  
  25. I would like to be able to do something to force this
  26. 'rezero'-thing before starting the new daemon, avoiding
  27. the daemon hanging.  I have the feeling that it is the device
  28. driver that performs this retry/rezero ?  How do I comand it
  29. to rezero a certain unit on the bus ?
  30.  
  31. The system is SUN-OS 4.1.1, using the standard device driver 'esp'
  32. for the 'sd' devices.
  33.  
  34.  
  35. I have tried the ioctl requests listed in /usr/include/sun/dkio.h (or
  36. at least most of them) but they just get theyr info from the systems
  37. conf. and do not do anything with the physical device it self.
  38. I can of course write something to the device and thus make it fail
  39. and then reset by the system/driver, but the best thing would be
  40. to just reset it directly.  Hilfe Hilfe ...
  41.  
  42. OR if there is no such shell command or system call ...
  43.  
  44. Is there a way do 'probe' a specific target on the SCSI-bus, i.e. 
  45. something analogous to the boot ROM-mode: ROM> probe_SCSI, only from
  46. a UNIX shell and to just one of the targets/units on the bus ?
  47.  
  48.  
  49. How do I do this, any ideas are welcome
  50.  
  51. gudmundur
  52. ************************************************************************
  53. Gudmundur Joekulsson      
  54. gudmund@itek.norut.no
  55. FORUT IT AS                     Forhaapningen 21-b, po.box 2806 Elverhoy
  56. Norut gruppen            N-9001, TROMSO, NORWAY
  57.