home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / unix / aix / 13133 < prev    next >
Encoding:
Internet Message Format  |  1993-01-08  |  2.0 KB

  1. Path: sparky!uunet!spool.mu.edu!olivea!sgigate!odin!twilight!zuni!anchor!olson
  2. From: olson@anchor.esd.sgi.com (Dave Olson)
  3. Newsgroups: comp.unix.aix
  4. Subject: Re: Adding SCSI OSDISK
  5. Message-ID: <uk19il4@zuni.esd.sgi.com>
  6. Date: 8 Jan 93 09:05:40 GMT
  7. References: <1993Jan6.105119.1266@yvax.byu.edu> <19930107.062511.795@almaden.ibm.com> <C0I05H.1A5I@austin.ibm.com>
  8. Sender: news@zuni.esd.sgi.com (Net News)
  9. Organization: Silicon Graphics, Inc.  Mountain View, CA
  10. Lines: 30
  11.  
  12. In <C0I05H.1A5I@austin.ibm.com> swan@austin.ibm.com (Randal C. Swanberg) writes:
  13.  
  14.  
  15. | In article <19930107.062511.795@almaden.ibm.com>, russotto@vnet.ibm.com (Matthew T. Russotto) writes:
  16. | > 
  17. | > Many disks have a jumper which set whether they spin-up on power-on
  18. | > or only when they receive a SCSI start.  Would an request to spin up
  19. | > when the disk was already spun up give that result code?
  20. | > 
  21. | > Some disks always spin up on power up, and probably wouldn't like SCSI
  22. | > start at all... will such disks work with AIX?
  23. | All of the SCSI disks that we have experience with (i.e. IBM Japan 160MB, IBM
  24. | Havant 857MB, IBM Rochester 320MB, 400MB, 1 GB, MAXTOR 355MB, 670MB, Seagate 1GB,
  25. | ...and I'm sure there are others) basically no-op a SCSI Start-Unit if the disk
  26. | is already spun-up.
  27. | If a disk will not allow a Start-Unit when already spun-up, then the answer
  28. | is NO, it won't work with AIX.  The SCSI disk driver issues a Start-Unit command
  29. | on the first open() to the disk.  Basically I guess the assumption that the AIX
  30. | SCSI Driver makes is that a)the disk may be spun down and b)if it isn't the 
  31. | Start-Unit command will be a no-op, not an error.
  32.  
  33. But why fail at that point?  The obvious thing to do is to follow
  34. a startunit (failed or successful!) with a testunitready, and only
  35. cause a failure if the testunitready says the drive isn't ready...
  36. --
  37. Let no one tell me that silence gives consent,  |   Dave Olson
  38. because whoever is silent dissents.             |   Silicon Graphics, Inc.
  39.     Maria Isabel Barreno                        |   olson@sgi.com
  40.