Axil F/E-myh002
1996.05.08
Maeng Yun-Ho
SUBJECT : SCSI OPTION Bit Setting
DESCRIPTION
1. 현재의 OPTION setting 확인
#adb -k /kernel/unix /dev/mem
scsi_options/X
scsi_options = 0x58 -> display
$q => to exit adb
2. scsi option setting
#vi /etc/system
.
.
set scsi_options = 0x178
:wq! => save
-------------------------------------------------------------------------
| Disconnect/Reconnect 0x008 ( bit3=1, starting with bit 0 ) |
| Linked command 0x010 ( bit4=1 ) |
| Synchronous transfer 0x020 ( bit5=1 ) |
| Parity 0x040 ( bit6=1 ) |
| Fast scsi 0x100 ( bit8=1, or bit 9=1 if starting with 1) |
| Wide scsi 0x200 ( bit9=1 ) |
| Fast20 0x400 ( bit10=1 ) |
| Tagged Queuing 0x080 ( bit 7=1 ) |
------------------------------------------------------------------------
bit=1 이면 enable
bit=0 이면 disable
ex) scsi bit setting 이 0x178 로 setting 되어있다면
bit3,bit4,bit5,bit6,bit8 이 enable 되어진 것이다.
따라서 disc/reconnect,linked command,Syncronous,Parity,Fast scsi
가 enable 되어진 것이다.
CF) Tagged Queuing 은 동시에 한 command 이상의 command 를 수행하여
많은 Application 에서 DISK latency 를 줄이기 위한 것으로 Solaris 2.1 에서 구현되어 있다.
어떠한 DISK Driver 는 이것이 적절히 구현되어 있지 않으며 이 경우
Tagged Queuing가 DISABLE 되어져야 한다.