To takie coś, co się ustawia czasem w konfiguracji odpowiednich sterowników w Solarisie. Na przykład dla mpt(7D). Albo innych.
Przykładowa konfiguracja może wyglądać tak (z man mpt):
Example 1: Example 1: Using the mpt Configuration File
Create a file called /kernel/drv/mpt.conf, then add the fol-
lowing line:scsi-options=0×78;
The above example disables tagged queuing, Fast/Ultra SCSI,
and wide mode for all mpt instances.
Powodzenia w szukaniu w manualach, czemu konkretnie ta wartość odpowiada konkretnie tym opcjom.
Odpowiedź można znaleźć w /usr/include/sys/scsi/conf/autoconf.h
/* * SCSI subsystem options */ /* * Following are for debugging purposes (few Sun drivers support this) */ #define SCSI_DEBUG_TGT 0x1 /* debug statements in target drivers */ #define SCSI_DEBUG_LIB 0x2 /* debug statements in library */ #define SCSI_DEBUG_HA 0x4 /* debug statements in host adapters */ /* * Following are applicable to all interconnects */ #define SCSI_OPTIONS_LINK 0x10 /* Global linked commands */ #define SCSI_OPTIONS_TAG 0x80 /* Global tagged command support */ /* * Following are for parallel SCSI only */ #define SCSI_OPTIONS_DR 0x8 /* Global disconnect/reconnect */ #define SCSI_OPTIONS_SYNC 0x20 /* Global synchronous xfer capability */ #define SCSI_OPTIONS_PARITY 0x40 /* Global parity support */ #define SCSI_OPTIONS_FAST 0x100 /* Global FAST scsi support */ #define SCSI_OPTIONS_WIDE 0x200 /* Global WIDE scsi support */ #define SCSI_OPTIONS_FAST20 0x400 /* Global FAST20 scsi support */ #define SCSI_OPTIONS_FAST40 0x800 /* Global FAST40 scsi support */ #define SCSI_OPTIONS_FAST80 0x1000 /* Global FAST80 scsi support */ #define SCSI_OPTIONS_FAST160 0x2000 /* Global FAST160 scsi support */ #define SCSI_OPTIONS_FAST320 0x4000 /* Global FAST320 scsi support */ /* * the following 3 bits are for being able to limit the max. number of LUNs * a nexus driver will allow -- "default" means that the adapter will * continue its default behaviour */ #define SCSI_OPTIONS_NLUNS_MASK (0x70000) #define SCSI_OPTIONS_NLUNS_DEFAULT 0x00000 #define SCSI_OPTIONS_NLUNS_1 0x10000 #define SCSI_OPTIONS_NLUNS_8 0x20000 #define SCSI_OPTIONS_NLUNS_16 0x30000 #define SCSI_OPTIONS_NLUNS_32 0x40000 #define SCSI_OPTIONS_NLUNS(n) ((n) & SCSI_OPTIONS_NLUNS_MASK) #define SCSI_OPTIONS_QAS 0x100000 /* Global Quick Arbitration Select */
Jeszcze jakby kogoś interesowało, to domyślnie w s10u4 scsi-options=0×107ff8 (zarówno na sparcu, jak i x86). Powodzenia w zmienianiu. :)
3 Comments
NB przydaloby sie cos jak fribzdowe camcontrol, czym moznaby na przyklad zmienic parametry w modepages.
Oo, to Solaris dorobił się już takiej dokumentacji jak Linux? 0_O
Nie, nadal ma lepszą. ;P
Z manuala Solarisa 10u4 (driver mpt, bo ten akurat mnie interesował):
#v+
(…) The mpt driver supports the following
SCSI options: SCSI_OPTIONS_DR, SCSI_OPTIONS_SYNC,
SCSI_OPTIONS_TAG, SCSI_OPTIONS_FAST, SCSI_OPTIONS_WIDE,
SCSI_OPTIONS_FAST20, SCSI_OPTIONS_FAST40,
SCSI_OPTIONS_FAST80, SCSI_OPTIONS_FAST160, and
SCSI_OPTIONS_QAS.
#v-
Ten sam manual z SXCE:
#v+
(…) The mpt
driver supports the following parallel SCSI options:
SCSI_OPTIONS_DR, SCSI_OPTIONS_SYNC, SCSI_OPTIONS_TAG,
SCSI_OPTIONS_FAST, SCSI_OPTIONS_WIDE, SCSI_OPTIONS_FAST20,
SCSI_OPTIONS_FAST40, SCSI_OPTIONS_FAST80,
SCSI_OPTIONS_FAST160, and SCSI_OPTIONS_QAS. To view the
numeric values of these options, see
/usr/include/sys/scsi/conf/autoconf.h.
#v-
Jak widać – poprawili. ;) Zatem w s10u5 pewnie będzie poprawione. A jak nie, to na pewno w Solaris 11. ;)
Post a Comment