Configuring HP-UX For Peripherals
28 Chapter1
Getting Started
Viewing the System Configuration with ioscan
engineer.
Full Listing of ioscan
ioscan -f displays full information about the system configuration,
including instance number, device/interface driver, software state, and
hardware type. The -fn option also displays the device special files.
/usr/sbin/ioscan -f
Class I H/W Path Driver S/W State H/W Type Description
========================================================================
...
ext_bus 0 8/0 c720 CLAIMED INTERFACE F/W SCSI
target 0 8/0.5 tgt CLAIMED DEVICE
disk 0 8/0.5.0 sdisk CLAIMED DEVICE HP C2247
ba 0 8/12 bus_adapter CLAIMED BUS_NEXUS Core I/O Adapter
ext_bus 2 8/12/0 CentIf CLAIMED INTERFACE Parallel Interface
audio 0 8/12/1 audio CLAIMED INTERFACE Audio
tty 0 8/12/4 asio0 CLAIMED INTERFACE RS-232C
ext_bus 1 8/12/5 c700 CLAIMED INTERFACE SCSI
target 1 8/12/5.0 tgt CLAIMED DEVICE
disk 1 8/12/5.0.0 sflop CLAIMED DEVICE TEAC FC-1
...
lan 0 8/12/6 lan2 CLAIMED INTERFACE LAN
bc 2 10 ccio CLAIMED BUS_NEXUS I/O Adapter
graphics 0 10/0 graph3 CLAIMED INTERFACE Graphics
...
Understanding Class and Instance
The following ioscan output shows just the ext_bus class of a sample
Model 770 system. The card instance numbers are listed under I and are
highlighted.
For device file naming and hardware mapping, the only significant
instance numbers are those associated with the INTERFACE hardware
type.
/usr/sbin/ioscan -C ext_bus -f
Class I H/W Path Driver S/W State H/W Type Description
=====================================================================
ext_bus 0 8/0 c720 CLAIMED INTERFACE F/W SCSI
ext_bus 2 8/12/0 CentIf CLAIMED INTERFACE Parallel Interface
ext_bus 1 8/12/5 c700 CLAIMED INTERFACE SCSI