
Version 5.01a0
for Emulex HBAs
User Manual

Copyright© 2005 Emulex Corporation. All rights reserved worldwide. No part of this document may be reproduced by any means nor translated to any electronic medium without the written consent of Emulex Corporation.
Information furnished by Emulex Corporation is believed to be accurate and reliable. However, no responsibility is assumed by Emulex Corporation for its use; or for any infringements of patents or other rights of third parties which may result from its use. No license is granted by implication or otherwise under any patent or patent rights of Emulex Corporation.
Emulex and LightPulse are registered trademarks, and AutoPilot Installer, AutoPilot Manager, BlockGuard, FibreSpy, HBAnyware, InSpeed, MultiPulse and SBOD are trademarks, of Emulex Corporation. All other brand or product names referenced herein are trademarks or registered trademarks of their respective companies or organizations.
Emulex provides this manual "as is" without any warranty of any kind, either expressed or implied, including but not limited to the implied warranties of merchantability or fitness for a particular purpose. Emulex Corporation may make improvements and changes to the product described in this manual at any time and without any notice. Emulex Corporation assumes no responsibility for its use, nor for any infringements of patents or other rights of third parties that may result. Periodic changes are made to information contained herein; although these changes will be incorporated into new editions of this manual, Emulex Corporation disclaims any undertaking to give notice of such changes.
Combined Boot User Manual Page ii


Combined Boot contains two types of boot code: x86 BootBIOS for x86 systems, and OpenBoot for SPARC Peripheral Component Interconnect (PCI) and AIX systems. Combined Boot determines your system platform (x86 or SPARC) and automatically downloads the proper boot code image to the host bus adapter (HBA).
x86 BootBIOS works with the existing basic input output system (BIOS) on x86 systems. x86 BootBIOS allows you to designate a Fibre Channel drive as the boot drive.
OpenBoot is a set of FCode instructions in the HBA flash read-only memory (ROM) that allows you to designate a Fibre Channel hard drive as the boot drive. OpenBoot works with the existing system BIOS on SPARC PCI systems.
The following issue has been reported at the time of publication.
This kit includes the following files:

Before you update x86 BootBIOS, decide which utility to use. Emulex offers a variety of utilities that you can use to update x86 BootBIOS. The utilities that you can use depend on your operating system and, in some cases, driver:
After you decide which utility to use, see the appropriate update procedures:
To load x86 BootBIOS using lputilnt:


Figure 1: lputilnt, Program Type list.
To load x86 BootBIOS using elxcfg:


To load x86 BootBIOS using lputil:
All lp6dutil tasks can be performed using the graphical user interface (GUI) screen menus. All screens require navigation and selection using the keyboard.
To load x86 BootBIOS using lp6dutil:
a. Boot up your system with DOS.
b. From the directory where the lp6dutil.exe file resides, enter the following command: lp6dutil

/usr/sbin/lpfc/lputil




To use any of its features, x86 BootBIOS must be enabled on at least one installed HBA.
To enable BootBIOS on the HBA:





The BIOS utility allows you to change HBA parameters (such as topology, PLOGI retry timer and auto scan setting) and configure boot devices.
To start the BIOS utility to configure your adapters:

x86 BootBIOS on HBAs Using the BIOS Utility on page 6 for more information.



A. Auto Sector Format Select(+ For MSA10000 Array use Only+). This option automatically defines the boot sector (32-sector or 63-sector) of the target disk. The factory default is enabled. See Enable/Disable Auto Sector Format Select on page 15 for more information.
This option allows you to change the AL_PA (Arbitrated Loop Physical Address) of the selected adapter. The default value of the AL_PA for the adapter BIOS is 01 (hex).
To change the default AL_PA:

the system has been reset.

This option allows you to set the interval for the PLOGI (port login) retry timer. This option is especially useful for Tachyon-based RAID arrays. Under very rare occasions, a Tachyon-based RAID array will reset itself and the port will go offline temporarily in the loop. When the port comes to life, the PLOGI retry interval scans the loop to discover this device. This default setting is No PLOGI Retry: 0 msec.
To set the interval for the PLOGI retry timer:

This option allows you to select the topology for the host adapter.
setting, if necessary, before configuring boot devices.
To select the host adapter topology:


This option allows you to enable or disable the spinup delay. The factory default setting is disabled.
If at least one boot device has been defined, and the spinup delay is enabled, the BIOS searches for the first available boot device.
If no boot devices have been defined, and auto scan is enabled, then the BIOS waits for five minutes before scanning for devices.
To enable or disable the spinup delay, do the following:


This option allows you to set auto scan. The factory default setting is disabled. Auto Scan is available only if none of the eight boot entries is configured to boot via DID or WWPN. It is strongly recommended that you use the Configure Boot Devices menu to configure eight boot entries for fabric point-to-point, public loop or private loop configurations.
With auto scan enabled, the first device will issue a Name Server Inquiry. The boot device will be either the first DID, LUN 0, or not LUN 0 device returned, depending on the option you select. Only this device will be the boot device and it will be the only device exported to the Multi-boot menu.
To set auto scan:


This option allows you to enable or disable the Enhanced Disk Drive (EDD) option, which is available on Intel Itanium servers only. Enabling EDD 3.0 displays the path to the boot device. The default setting is disabled.
3.0 is enabled.
To enable or disable EDD 3.0:

This command is used to issue the SCSI start unit command. You must know the specific LUN to issue the SCSI start unit command.The default setting is disabled.
To enable or disable the start unit command:


This option allows you to set the boot controller order if the system supports the environment variable. The default setting is disabled.
To enable or disable the environment variable:

This option automatically defines the boot sector (32-sector or 63-sector) of the target disk. If there is no partition on the target, the default boot sector format is 63 sectors. The default setting is enabled.
To enable or disable auto sector format select, do the following:


This option supports FC_AL: (public loop and private loop) and fabric point-to-point. When operating in loop (FC_AL) topology, the system automatically determines whether you are configured for a public or private loop. The BIOS looks for a fabric loop (FL_Port) first. If a fabric loop is not detected, the BIOS looks for a private loop. For the "Configure Boot Devices" option, the 64 boot entries will be zero by default ( key).
To configure boot devices:
A list of 8 boot devices is shown. We recommend that only the bootable devices be configured. The primary boot device is the first entry shown, and it is the first bootable device.




There are a possible 256 LUNs that can be defined per adapter, but the screen displays up to 16 consecutive LUNs at a time. In front of each entry, B#D or B#W specifies the boot entry number and whether the device boots via DID or WWPN. For example, B1D means that boot entry one will boot via DID. B2W means that boot entry two will boot via WWPN.
If you select to boot the device via WWPN, the WWPN of the earlier selected entry is saved in the flash. However, during the initial BIOS scan, it will issue a Name Server Inquiry GID_PN (Get Port Identifier). Then, based on this DID, it will continue with the remainder of the scanning.
If you select to boot this device via DID, the earlier selected entry will be saved in the flash.
This procedure installs the Windows 2000 Server operating system onto a previously unformatted Fibre Channel disk drive that is connected to the Emulex adapter.
over the Emulex adapter during boot. If this occurs, you must disconnect or disable the other adapter. This will allow you to configure and build your operating system on the drive connected to the Emulex adapter.
To install Windows 2000 Server on a Fibre Channel disk:
"Setup is detecting your hardware."
"Specify additional storage driver"

Multi-boot BIOS is in compliance with BIOS Boot Specification (BBS). The system must have a Multi-boot system BIOS in order to take advantage of this feature. Multi-boot BIOS allows you to select any boot disk in the system BIOS setup menu. The boot disk can be a Fibre Channel drive, a SCSI drive, an IDE drive or a floppy drive. The Emulex BIOS supplies the first eight drives to the system BIOS menu. The Multi-boot BIOS can override the Fibre Channel drive that is selected in the BIOS utility.
For example, the system has only eight Fibre Channel disks. The boot disk has AL_PA 02. However, you can select AL_PA 23 in the system BIOS setup menu. The boot device will be the Fibre Channel disk with AL_PA 23 instead of AL_PA 02, as is set in the BIOS utility.
If your system supports Multi-boot BBS, the boot disk (drive C) is the first entry in Multi-boot on the system BIOS setup menu. The list of entries is determined by the list of configured boot entries in the BIOS utility. For example:
The order of boot entries that is exported to Multi-boot (BBS) is
boot_entry0, boot_entry1, boot_entry2, and boot_entry3.
However, Multi-boot can overwrite this order by using the following command:
boot_entry2, boot_entry0, boot_entry1, and boot_entry3.
In this case, drive C is
boot_entry2.

There are circumstances in which your system may operate in an unexpected manner. This Troubleshooting section explains several of these circumstances and offers one or more workarounds for each situation.
Situation: You want to access the x86 BootBIOS, but on bootup the x86 BootBIOS message does not appear.
Resolution: Make sure that x86 BootBIOS has been loaded and enabled.
Situation: The message "Retry This Adapter" appears during BIOS scanning.
Resolution: Check the hardware configuration or reconfigure the HBA BIOS using the BIOS utility.
Situation: The .prg file fails during downloading. The 1.70a1 version of the BIOS image is 48k, which may cause the file to fail during downloading.
Resolution:
LP952L, LP8000, LP8000DC or LP850 host bus adapters.

You can use one of the following utilities to load the OpenBoot image on the HBA:
To load OpenBoot using lputil:
Instances will be different because boot code adapters are identified by lpfc while non-boot code adapters are identified by Fibre Channel or the PCI device/vendor ID. If the driver instances change, it will make existing lpfc.conf configuration settings (like persistent binding) invalid as well as any previously used /dev and /devices directory links. To preserve existing configuration changes, enter:
/usr/sbin/lpfc/convert_path_lpfc /etc/path_to_inst · /usr/sbin/lpfc/lputil

The procedures in this section explain how to set up your boot disk in a Solaris system.
refer to the documentation from IBM for instructions on configuring OpenFirmware.
From the system monitor prompt:
not be saved if a reset is not performed first.
The actual output will vary depending on your system. The path to the Emulex adapter will end with lpfc@# or with fibre-channel. If the path ends with fibre-channel, OpenBoot is not loaded in the adapter's firmware. You must load OpenBoot before continuing with this procedure. This pro cedure is an example only. /pci@1f,2000/lpfc@1 /pci@1f,4000/lpfc@2 /pci@1f,2000/fibre-channel
ok .version
ok show-devs ok " /pci@1f,4000/lpfc@2" select-dev ok .topology ok unselect-dev
ok" /pci@1f,4000/lpfc@2" select-dev ok set-ptp ok unselect-dev ok reset
ok set-default-mode · ok show-devs · ok" /pci@1f,4000/lpfc@2" select-dev

To set the topology back to loop (if the HBA is connected to a hub), enter these commands. ok" /pci@1f,4000/lpfc@2" select-dev ok set-fc-al ok unselect-dev ok reset
By default, the topology is set to auto-FCAL. To set auto topology with public or private loop first, enter these commands. ok" /pci@1f,4000/lpfc@2" select-dev ok set-auto-fcal ok unselect-dev ok reset-all
To set auto topology with point-to-point first, enter these commands. ok" /pci@1f,4000/lpfc@2" select-dev ok set-auto-ptp ok unselect-dev ok reset-all
Make note of the actual DID, WWPN, or AL_PA and the corresponding boot entry.
ok" /pci@1f,4000/lpfc@2" select-dev ok [wwpn|did|alpa] [lun] [target id] set-boot-id ok unselect-dev
where [wwpn|did|alpa] - enter the device WWPN (point to point), DID (public loop), or ALPA (private loop). [lun] - enter the LUN number in hex. To enter the decimal LUN number, enter d# [lun]. [target id] - enter the target id in hex. To enter the decimal target ID, enter d# [target id].
For example, with alpa=e1, lun=100 (decimal) and target id=10 (decimal): ok did e1 d# 100 d# 10 set-boot-id
ok boot [local disk]
where [local disk] - enter the complete path or the alias of the original boot disk.
reconfigure" and reboot. If the disk is still not discovered, edit the "/kernel/drv/ lpfc.conf" file and change the topology from 4 to 2 or reverse. It may also be necessary to add an entry for the boot drive to the sd.conf file.
Valid_flag internal flag for OpenBoot
ok probe-scsi-all · Signature OpenBoot signature

Host_did shows host DID number
Enable_flag internal flag for OpenBoot
Boot_id shows target ID number
Lnk_timer internal use for OpenBoot
Plogi_timer internal use for OpenBoot
LUN shows boot LUN in use
DID shows boot ID in use
WWPN shows boot WWPN in use
name) and saved in an adapter nvram. It can also be saved in an environmental variable boot-device.
The examples in this procedure use the logical drive designated as "c1t1d0" (controller 1, target 1, lun 0). Your logical drive may be different.
For help with the format utility, refer to the man page "man format".
# installboot /usr/platform/ `uname -i`/lib/fs/ufs/bootblk /dev/ rdsk/c1t1d0s0
# newfs -v /dev/rdsk/c1t1d0s0 (will become root)
# newfs -v /dev/rdsk/c1t1d0s6 (will become usr)
# newfs -v /dev/rdsk/c1t1d0s7 (will become export/home)
# mkdir root2 # mkdir usr2 # mkdir export2
Signature OpenBoot signature · # format

# ps -ef|grep vold (to obtain the PID or process id)
# kill -9 PID (where PID is obtained above) # umount /dev/fd
# mount /dev/dsk/c1t1d0s6 /usr2 # cd /usr # tar cvf - * | ( cd /usr2; tar xf -) # umount /usr2
# mount /dev/dsk/c1t1d0s7 /export2 # cd /export# tar cvf - * | (cd /export2; tar xf -) # umount /export2
# cd / ls -a > root_copy
., .., usr, tmp, proc, export, root2, export2, usr2, opt (if a separate mount point)
and any other apparent filesystems displayed by the df command. Your goal in editing this file is to have the root_copy point to system files on the root directory without pointing to mount points.
tar cvf - TT_DB arg bak bin cdrom dev devices doit etc firmware fun kernel lib mnt mt net platform .Xauthority .cpr_config .dt .dtprofile sbin timer var x xfn | (cd /root2; tar xf - )
# mount /dev/dsk/c1t1d0s0 /root2 chmod 777 root_copy sh root_copy
# cd /root2 # mkdir export # mkdir opt (if opt is a separate mount point)

# mkdir proc# mkdir tmp # mkdir vol # mkdir usr
Currently file shows:
/dev/dsk/c0t0d0s1 (swap) /dev/dsk/c0t0d0s0 and /dev/rdsk/c0t0d0s0 (root) /dev/dsk/c0t0d0s6 and /dev/rdsk/c0t0d0s6 (usr) /dev/dsk/c0t0d0s7 and /dev/rdsk/c0t0d0s7 (export)
Edit file to show:
/dev/dsk/clt1d1s1 (swap) /dev/dsk/clt1d0s0 and /dev/rdsk/clt1d0s0 (root) /dev/dsk/clt1d0s6 and /dev/rdsk/c1t1d0s6 (usr) /dev/dsk/clt1d0s7 and /dev/rdsk/clt1d0s7 (export)
# sync # sync # halt ok reset
The system should boot to the Fibre Channel disk.
# dumpadm -d /dev/dsk/c1t1d0s1
where /dev/dsk/c1t1d0s1 is a sample path to the swap area of the Fibre Channel drive. Your path may be different from the one shown here. Enter your path.
ok boot disk · # dumpadm

ok .boot - id Displays current boot device id
ok .version Displays current version of OpenBoot
ok .topology Displays current topology
ok .nvram Displays current flags for OpenBoot
ok .host-did Displays actual current AL_PA of adapter
ok set-default-mode Resets to default value mode
ok remove-boot-id Removes boot id from boot list
ok devalias Displays boot list
ok show-devs Displays list of devices found
ok probe-scsi-all Displays current SCSI and FC devices
Command Effect

There are circumstances in which your system may operate in an unexpected manner. The Troubleshooting section explains several of these circumstances and offers one or more workarounds for each situation.
Situation: During the boot process, the system cannot mount or fsck /etc/vfstab Fibre Channel boot disk. Resolution: Make sure that persistent binding is implemented correctly.
Situation: After entering boot disk, a message states that the file that was loaded is not executable. Resolution: The boot block may not be installed correctly to the Fibre Channel drive. See the make bootable system disk procedure.
Situation: The system hangs for a long time after displaying driver information, or reboots after displaying driver information. Resolution: Possible incorrect topology set in the /kernel/drv/lpfc.conf file on the target disk.
Situation: You have performed the setup tasks and the Fibre Channel disk is not found when you reboot the system. Resolution: Enter "touch/reconfigure" and reboot. If the disk is still not discovered, edit the "kernel/drv/ lpfc.conf" file and change the topology from 4 to 2 or the reverse. It may also be necessary to add an entry for the boot drive to the sd.conf file.
Owners and our team usually reply within a day — and your question helps the next person too.
Be the first to ask — other owners or our team will answer.