Steps to reserve/allocate a range of instance numbers of virtual bus nodes (ext_bus class) (October 2009)

Step 4: Write the contents of “foo” back into /stand/ext_ioconfig file using following
options of ‘ioconfig_dump’ tool
#ioconfig_dump-a-i –c –o /stand/ext_ioconfig –i foo
Step 5: Copy the /stand/ext_ioconfig file to /etc/ext_ioconfig file.
Step 6: Reboot the machine.
Once the system comes up, the devices that are connected to the fcd_vbus nodes, which are
moved above 255 range will be visible only in the agile view of iotree (ioscan –kfN) In the
legacy view of iotree (ioscan –kf) , fcd_vbus nodes whose instance number has been moved
above 255 will be shown in UNCLAIMED state and these nodes will instance number as -1. The
dummy entries that got added into the ioconfig file in step 3 above can be seen as stale nodes
in “ioscan –s”
Use case: This scenario can be used to block the entire ext_bus instance number range
between 0 – 255.
Scenario 3:
Steps to allocate instance number for a virtual bus from the
reserved range
In this scenario, the requirement is to free up a reserved instance number (reserved
between 0 – 255) so that freed instance number can be assigned to an ext_bus node
whose current instance number is -1 (as not is in UNCLAIMED state).
Step 1: Using the ‘ioconfig_dump’ tool create a file named “foo” which is the ASCII format
of the current /stand/ext_ioconfig file on a system. Following shows the way/options to
generate “foo” file from the current “/stand/ext_ioconfig” file.
#ioconfig_dump-a-i -r -f /stand/ext_ioconfig -o foo
The format of the entries in the “foo” file after the dump will be as follows:
Class_name:instance_number:hwpath:driver_name:flag
Where:
Class_name – Class of the node.
instance_number- Current instance number of the node represented by below hardware
path.
hwpath – Existent hardware path.
driver_name: Name of the driver which claimed this node.
flag – an integer number, which is understood internally by HP-UX General I/O (GIO)
subsystem. The flag is driver-specific and while adding new entries it is preferable to take the
flag value from the existing entries in the file “foo”. For example if the value of the
fcd_vbus is 515, retain the same value for all the fcd_vbus entries that will be added to the
file “foo”.