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

  1. Path: sparky!uunet!lhdsy1!usho93!usho93.hou281.chevron.com!hjgwi
  2. From: hjgwi@usho93.hou281.chevron.com (Jay G. Williamson)
  3. Newsgroups: comp.unix.ultrix
  4. Subject: "mount device busy" error on tape drives
  5. Keywords: tape, tz
  6. Message-ID: <1992Aug12.085647@usho93.hou281.chevron.com>
  7. Date: 12 Aug 92 13:56:47 GMT
  8. Sender: news@usho93.hou281.chevron.com (USENET News System)
  9. Distribution: usa
  10. Organization: Chevron
  11. Lines: 37
  12.  
  13. We have some software that dies sometimes while accessing some 8mm
  14. drives.  When this happens, the tape drives become unaccessable.
  15. Attempting to access it will return with "mount device busy". The
  16. only way to clear this up is to reboot the machine.  I would assume
  17. that there is some byte in the kernel that signifies that the tape
  18. drive is still busy but I do not know what it is or exactly how to
  19. access this value to change it.
  20.  
  21. In the system include file, /sys/io/scsi/mips/scsivar.h, there is a
  22. SZ_BUSY status byte.  It is not clear whether this is for a device
  23. or for the whole SCSI bus.  Even if this is the byte value to unset,
  24. it still looks like a challenge to find where in the structure to unset
  25. this.  Even more challenging (to me at least) is how to find where
  26. this structure starts within the kernel.  I can imagine the sudo code
  27. below but I still have alot of unknowns with no more ideas on how to
  28. get these unknowns.
  29.  
  30. open (/dev/kmem)
  31. addr of struct == OFFSET_TO_TAPE_STRUCT
  32. remove_busy_bits (struct->some_flag)
  33.  
  34. ** Is this possible ?
  35. ** Has this already been done by someone ?
  36. ** If it has not, can someone give me any help with the unknowns and
  37.     the technique to alter the flag ??
  38.  
  39. INFO:
  40.     DECstation 5100
  41.     Ultrix 4.2b
  42.  
  43. I will summarize if there is any interest.
  44.  
  45. Thanks in advance,
  46. -- 
  47. Jay Williamson         Office: 2301 Hayes Rd.      Phone: 713-596-3139
  48. UNIX Sys Admin         Houston, Tx                 hjgwi@hou281.chevron.com
  49. Chevron Info Tech.
  50.