home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / unix / sysv386 / 17405 < prev    next >
Encoding:
Internet Message Format  |  1992-12-15  |  2.0 KB

  1. Path: sparky!uunet!mcsun!sun4nl!tuegate.tue.nl!viper!raymond
  2. From: raymond@es.ele.tue.nl (Raymond Nijssen)
  3. Newsgroups: comp.unix.sysv386
  4. Subject: do SVR4.* SCSI drivers support LUNs ??
  5. Message-ID: <RAYMOND.92Dec15104408@cobra.es.ele.tue.nl>
  6. Date: 15 Dec 92 09:44:08 GMT
  7. Sender: root@tuegate.tue.nl
  8. Distribution: comp
  9. Organization: Eindhoven University of Technology, Eindhoven, The Netherlands
  10. Lines: 43
  11.  
  12.  
  13. We're trying to hook up a second ESDI drive to an Emulex MD21 SCSI<->ESDI
  14. convertor in a system running ESIX 4.0.4. 
  15.  
  16. This convertor supports 2 ESDI drives while occupying only one SCSI target
  17. address: it uses Logical Unit Numbers (LUNs) to address drive 0 and drive 1.
  18.  
  19. It seems however that the ESIX SCSI driver does not support any other LUN than
  20. LUN 0 for each target. The scsi disk device names, c?t?d?s?, suggest the
  21. contrary because of the d? field.
  22.  
  23. Looking at the minor device numbers of the corresponding devices, it 
  24. appears that the format of the minor device numbers is:
  25.  
  26. ......cc.tttssss
  27.  
  28. Note that this leaves no room for addressing LUNs through minor device
  29. numbers, and what's more, it completely contradicts the format given in eg.
  30. /usr/include/sys/aha.h:
  31.  
  32.  * the host adapter minor device number is interpreted as follows:
  33.  *
  34.  *           MAJOR           MINOR      
  35.  *      -------------------------------
  36.  *      |  mmmmmmmm  |  ccc  ttt ll   |
  37.  *      -------------------------------
  38.  *      
  39.  *         m = major number assigned by idinstall
  40.  *         c = Host Adapter Card number (0-7)
  41.  *         t = target controller ID (0-7)
  42.  *         l = logical unit number (0-3)
  43.  
  44.  
  45. Needless to say, all this leaves me quite confused.
  46.  
  47. Please help me with this, or should I just forget about using LUNs under SVR4?
  48.  
  49. -Raymond
  50. --
  51. Raymond Nijssen             | Eindhoven University of Techology
  52.        phone: +31-40-473373 | Department of Electrical Engineering
  53.        fax:   +31-40-464527 | Design Automation Section (ES),  room EH 7.16
  54. "WP is for morons"          | PO. Box 513, 5600 MB Eindhoven, The Netherlands
  55.