HP-UX Reference (11i v1 00/12) - 5 Miscellaneous Topics, 7 Device (Special) Files, 9 General Information, Index (vol 9)
__________________________________________________________________________________________________________________________________________________________________________________________________
__________________________________________________________________________________________________________________________________________________________________________________________________
STANDARD Printed by: Nora Chuang [nchuang] STANDARD
/build/1111/BRICK/man7/!!!intro.7
________________________________________________________________
___ ___
s
scsi_pt(7) scsi_pt(7)
(Series 800 Only)
The controlling application can access its device(s) via the NIO SCSI pass-through driver and other
HP standard driver(s) as long as the application handles the coordination between the various drivers.
Thus, the application is responsible for initiating all communications to device(s) on this bus. For
example, a tar command can not be directly used to a device on the exclusive application bus while the
owning application is running. Any problems encountered must be displayed on this supported
configuration (a stand-alone application bus) before support can be extended.
INSTALLATION AND CONFIGURATION
The SCSI pass-through file set comes with the core system and will exist after an install or an update. The
files in this set (and their proper destinations) are:
Filename Protections Full path
======== =========== =========
libspt.a -r--r--r-- /usr/conf/lib/libspt.a
scsi_io.c -r--r--r-- /usr/contrib/src/scsi_io.c
scsi_pt.7 -r--r--r-- /usr/share/man/man7.Z/scsi_pt.7
spt -r--r--r-- /usr/conf/master.d/spt
The following configuration steps need to be completed to successfully use the NIO SCSI pass-through
driver. This driver does not auto-configure.
Go to the build area:
$ cd /stand/build
Create a system file from your existing kernel:
$ /usr/lbin/sysadm/system_prep -s system
Get information about peripherals attached to your system:
$ ioscan -f
Check if the SCSI pass-through driver is already configured into your current kernel:
$ grep spt system
If no ‘‘spt’’ line was printed, add a line to the ‘‘SCSI drivers’’ area of the
system file:
spt
A driver statement is needed to override the standard driver which gets autoconfigured for any device.
One statement is required for each desired NIO SCSI pass-through device (be it a SCSI target, or a SCSI
lun). Append the driver line(s) to the system file:
$ cat >> system
driver
<path> spt
...
^D # control-D to exit the cat command
where <path> is the complete hardware path of desired device (from ioscan cmd)
Create the conf.c and config.mk files:
$ /usr/sbin/config -s system
Build a new kernel:
$ make -f config.mk
Verify that the pass-through driver has been built into the new kernel. (A line giving the revision informa-
tion should be printed):
$ what ./vmunix_test | grep scsi_pt
Save the old system file:
$ mv /stand/system /stand/system.prev
Move the new system file to be the current one:
$ mv ./system /stand/system
Section 7−−128 − 4 − HP-UX Release 11i: December 2000
___
___