Information furnished in this manual is believed to be accurate and reliable.
However, QLogic Corporation assumes no responsibility for its use, nor for any
infringements of patents or other rights of third parties which may result from its
use. QLogic Corporation reserves the right to change product specifications at any
time without notice. Applications described in this document for any of these
products are for illustrative purposes only. QLogic Corporation makes no
representation nor warranty that such applications are suitable for the specified use
without further testing or modification. QLogic Corporation assumes no
responsibility for any errors that may appear in this document.
No part of this document may be copied nor reproduced by any means, nor
translated nor transmitted to any magnetic medium without the express written
consent of QLogic Corporation.
Microsoft, Windows NT, and Windows 2000 are trademarks of Microsoft
Corporation.
QLogic is a trademark of QLogic Corporation.
Solaris is a registered trademark of Sun Microsystems, Inc.
SPARC is a registered trademark of SPARC International, Inc. Products bearing
SPARC trademarks are based on an architecture developed by Sun
Microsystems, Inc.
All other brand and product names are trademarks or registered trademarks of
their respective owners.
Rev. A, release, 3/8/02
QLogic Corporation, 26600 Laguna Hills Drive, Aliso Viejo, CA 92656
The SANblade QLogic host bus adapters (HBAs) supported in this document are
described in the following paragraphs; they are collectively referred to as the
QLA23xx HBA unless otherwise noted. These HBAs are all low-profile, 64-bit PCI
to Fibre Channel optical media.
■ QLA2340 (single channel, full-height bracket)
■ QLA2340L (single channel, low-profile bracket)
■ QLA2342 (dual channel, full-height bracket)
■ QLA2342L (dual channel, low-profile bracket)
First, install the QLA23xx HBA according to the directions in the appropriate
hardware installation section. Secondly, install the software driver according to the
directions in the appropriate section.
1.2
General Description
Thank you for selecting the QLA23xx Fibre Channel (FC) HBA. The QLA23xx HBA
is an intelligent, high-performance, DMA bus master host adapter designed for
high-end systems. The intelligence and performance are derived from the ISP23xx
chips, making the QLA23xx HBA a leading-edge host adapter. The ISP23xx
combines a powerful RISC processor, a Fibre Channel protocol manager (FPM)
with one 2-Gb Fibre Channel transceiver, and a peripheral component
interconnect-extended (PCI-X) local bus interface in a single-chip solution. The
QLA23xx HBA supports all FC peripherals that support private loop direct attach
(PLDA) and fabric loop attach (FLA). Installation of the QLA23xx HBA is quick and
easy.
1.3
What is Fibre Channel?
Fibre Channel technology is outlined in the SCSI-3 Fibre Channel Protocol
(SCSI-FCP) standard. Fibre Channel is a high-speed data transport technology
used for mass storage and networking. It connects mainframes, super computers,
workstations, storage devices, and servers.
Fibre Channel supports data transfer rates up to 200 MBps half-duplex and
400 MBps full-duplex on copper and optical interfaces. The QLA23xx HBAs use a
multimode optical interface for intermediate distances (less than 500 meters at the
data rate of 1 Gbps; less than 300 meters at the data rate of 2 Gbps).
FC2354601-00 A1-1
1 – Introduction
Features
With its increased connectivity and performance, Fibre Channel is the I/O
technology preferred and used by system designers.
1.4
Features
■ Compliance with PCI Local Bus Specificatio n revision 2.2
■ Compliance with PCI-X Addendum (revision 1.0) to the PCI Local Bus
Specification
■ Compliance with Third Generation Fibre Channel-Physical and Signaling
Interface (FC-PH-3) standard
■ Compliance with Fibre Channel-Arbitrate d Loop (FC-AL-2) standard
■ Compliance with U.S. and international safety and emissions standards
■ Support for bus master DMA
■ Fast!UTIL BIOS utility to customize the configuration parameters on the
QLA23xx HBA and attached drives
■ Two independent channels on a single HBA
■ Supports Fibre Channel protocol-SCSI (FCP-SCSI), IP, and Fibre
This part of the SANblade 2300 User’s Guide describes the host bus adapters
(HBAs) and how to install and configure them. See the section that corresponds to
your HBA. Section 4 contains troubleshooting information.
HBASection
QLA2340/2340L2
QLA2342/2342L3
FC2354601-00 AI-1
I – Hardware
I-2FC2354601-00 A
Section 2
QLA2340/2340L
2.1
QLA2340/2340L HBA Components
Figure 2-1 identifies the QLA2340/2340L HBA components referenced throughout
this section.
Each QLA2340/2340L HBA has a unique serial number; its location on the HBA is
noted in figure 2-1. Take a minute to write down the serial number of the
QLA2340/2340L HBA.
J3
LED1
31
J1
ISP CHIP
NOTE: The serial number is on the other side of the HBA.
The QLA2340 has a full-height bracket (as shown in this
figure). The QLA2340L has a low-profile bracket (shorter
than the bracket in this figure).
Figure 2-1. QLA2340/2340L HBA Layout
FC2354601-00 A2-1
2 – QLA2340/2340L
Installation in the Computer
2.1.1
LEDs
Figure 2-2 identifies and describes the activity of the QLA2340/2340L HBA LEDs.
AMBER LED
GREEN LED
J1 CONNECTOR LEDs
J1 CONNECTOR
Green
LED
OnOnPower
OnOffOnline
OffOnSignal acquired
OffFlashingLoss of synchronization
Flashing Flashing Firmware error
Figure 2-2. QLA2340/2340L HBA LED Activity
Amber
LED
Activity
2.1.2
Jumpers
The jumpers on the QLA2340/2340L HBAs set the default state of the laser and are
set at the factory with a jumper plug on pins 2–3 of the J3 jumper.
CAUTION!
Changing the jumper settings can result in the HBA being inoperable.
2.2
Installation in the Computer
Before you install the QLA2340/2340L HBA in your computer, you need the
following:
■ A screwdriver (usually a Phillips #1)
■ An optical mutimode cable with an LC-style duplex connector
CAUTION!
2-2FC2354601-00 A
The QLA2340/2340L HBA contains parts that can be damaged by
ESD. Before handling the QLA2340/2340L HBA, use standard
methods to discharge static electricity. Keep the QLA2340/2340L HBA
in the antistatic bag until you are ready to install it. Place the HBA on
the bag when you examine or configure it. Retain the bag for future use.
2 – QLA2340/2340L
Perform the following steps to install the QLA2340/2340L HBA in your PC:
1. Check the motherboard and make any configuration changes necessary to
accommodate the QLA2340/2340L HBA.
The QLA2340/2340L HBA is self-configuring; however, some motherboards
require manual configuration. For example, some systems have a PCI Device Configuration menu in the motherboard setup BIOS where you
must enable HBAs, bus master slots, and IRQ levels. If the motherboard
supports triggering, use level triggering for the QLA2340/2340L HBA. See
the documentation supplied with your computer, or contact your computer
dealer to determine if your motherboard requires configuration.
2. Power down the peripherals, then the computer.
3. Remove the computer cover and save the screws.
4. Choose any PCI bus slot that supports bus mastering. Most motherboards
automatically assign an IRQ level and interrupt line; if your motherboard
does not, you must assign the IRQ level and use interrupt line A for this slot.
NOTE:
■ Some motherboards have two kinds of PCI bus slots: master
and slave. The QLA2340/2340L HBA must be in a PCI bus
master slot. (Some motherboards have PCI bus master slots
that are shared with onboard devices. QLA2340/2340L HBAs
do not work in shared slots.)
■ PCI connectors vary among system HBA manufacturers. The
QLA2340/2340L HBA is a 64-bit PCI device that can function
in a 32-bit PCI slot; the slot conforms to the PCI specification
(the rear edge of the PCI slot is notched). If you try to install the
QLA2340/2340L HBA into a PCI slot that does not conform to
the PCI specification, you may damage the QLA2340/2340L
HBA.
■ PCI and PCI-X slots look the same. If the PC contains both PCI
and PCI-X slots, refer to the PC manufacturer’s instructions to
determine the slot type.
■ The QLA2340/2340L HBAs are designed and tested to operate
at PCI bus speeds of up to 133 MHz.
Installation in the Computer
5. Remove the slot cover for the slot in which you will install the
QLA2340/2340L HBA.
6. Place the QLA2340/2340L HBA into the slot. Carefully press the HBA into
the slot until it seats firmly.
7. Secure the QLA2340/2340L HBA to the chassis. Follow the PC
manufacturer’s instructions.
FC2354601-00 A2-3
2 – QLA2340/2340L
Installation in the Computer
8. Connect the appropriate cable from the devices to the corresponding
connector.
9. Carefully reinstall the computer cover. Insert and tighten the computer cover
screws.
10. Power up all external FC devices, then power up the PC and observe the
monitor. The BIOS is disabled by default. Consequently, the devices
attached to the QLA2340/2340L HBA are not identified. For example:
QLogic Corporation
QLA23xx PCI Fibre Channel ROM BIOS Version x.xx
Copyright (C) QLogic Corporation 2000 All rights reserved.
www.qlogic.com
Press <CNTRL-Q> for Fast!UTIL
BIOS for Adapter 0 is disabled
ROM BIOS not installed
NOTE:
■ SunSPARC systems do not display the BIOS banner.
■ Enable the BIOS only if the boot device is attached to the
QLA2340/2340L HBA. This allows the system to boot faster.
■ For further information about enabling the QLA2340/2340L
HBA BIOS, see section 2.3.
If the information displayed on your monitor is correct, congratulations! You have
successfully installed the QLA2340/2340L HBA in your computer.
If you need FCode (Solaris SPARC systems), see section 2.4 for instructions on
how to install or update the FCode on the QLA2340/2340L HBA.
See the appropriate section for detailed instructions on how to install the software
drivers.
If the information displayed is not correct and you have checked the QLA2340/2340L
HBA’s configuration, see section 4 for troubleshooting information.
2.2.1
Installation Help
If your system has an IDE hard disk, it may be assigned device number 80, which
is the boot device. If your system does not have an IDE hard disk, a parallel SCSI
host bus adapter (HBA), or a RAID adapter, the first bootable FC hard disk
configured (the one with the lowest ID) is assigned device number 80 and becomes
the boot device. The QLA2340/2340L HBA BIOS must be enabled if the boot device
is connected to the QLA2340/2340L HBA.
2-4FC2354601-00 A
2 – QLA2340/2340L
If you have a selectable boot BIOS and want to boot to an FC hard disk, set the
motherboard BIOS parameters to None or Not Installed. The ROM BIOS on the
QLA2340/2340L HBA automatically configures the FC peripherals.
Some new system BIOSs support selectable boot, which supersedes the
QLA2340/2340L HBA BIOS selectable boot setting. Select the QLA2340/2340L
HBA FC hard disk in the system BIOS to boot from an FC hard disk attached to the
QLA2340/2340L HBA.
2.3
Fast!UTIL
Fast!UTIL
NOTE: The Fast!UTIL BIOS utility does not run on SunSPARC systems. Refer to
section 2.4 for information regarding adapter configuration settings and for
installing FCode on a QLA2340/2340L HBA in a SunSPARC system.
2.3.1
Introduction
This appendix provides detailed configuration information for advanced users who
want to customize the configuration of the QLA2340/2340L HBA and the connected
devices.
The QLA2340/2340L HBA can be configured using Fast!UTIL, QLogic’s
BIOS-resident configuration tool. Access Fast!UTIL by pressing CNTRL+Q during
the QLA2340/2340L HBA BIOS initialization (it may take a few seconds for the
Fast!UTIL Options menu to display). If you have more than one QLA2340/2340L
HBA, Fast!UTIL asks you to select the QLA2340/2340L HBA you want to configure.
After changing the settings and exiting the utility, Fast!UTIL restarts your system to
load the new parameters.
CAUTION!
If the configuration settings are incorrect, your QLA2340/2340L HBA
may not function properly.
The following sections describe the Fast!UTIL options.
2.3.2
Configuration Settings
The first selection on the Fast!UTIL Options menu is Configuration Settings.
These settings configure the FC devices and the QLA2340/2340L HBA to which
they are attached.
FC2354601-00 A2-5
2 – QLA2340/2340L
Fast!UTIL
2.3.2.1
Host Adapter Settings
From the Configuration Settings menu in Fast!UTIL, select Host Adapter
Settings. The default settings for the QLA2340/2340L HBA are listed in table 2-1
and described in the following paragraphs.
Table 2-1. Host Adapter Settin gs
SettingOptionsDefault
Host Adapter BIOSEnabled, DisabledDisabled
Frame Size512, 1024, 20482048
Loop Reset Delay0–60 seconds5 seconds
Adapter Hard Loop IDEnabled, DisabledDisabled
Hard Loop ID0–1250
Spin Up DelayEnabled, DisabledDisabled
■ Host Adapter BIOS. When this setting is Disabled, the ROM BIOS on the
QLA2340/2340L HBA is disabled, freeing space in upper memory. This
setting must be enabled if you are booting from an FC hard disk attached to
the QLA2340/2340L HBA. The default is Disabled.
■ Frame Size. This setting specifies the maximum frame length supported by
the QLA2340/2340L HBA. The default size is 2048, which provides
maximum performance for F-Port (point-to-point) connections.
■ Loop Reset Delay. After resetting the loop, the firmware refrains from
initiating any loop activity for the number of seconds specified in this setting.
The default is 5 seconds.
■ Adapter Hard Loop ID. This setting forces the adapter to attempt to use
the ID specified in the Hard Loop ID setting. The default is Disabled.
■ Hard Loop ID. If the Adapter Hard Loop ID setting is enabled, the adapter
attempts to use the ID specified in this setting. The default ID is 0.
■ Spin Up Delay . When this setting is Enabled, the BIOS waits up to 5 minutes
to find the first drive. The default is Disabled.
2.3.2.2
Selectable Boot Settings
The Select able Boot Settings option is accessed from the Configuration Settings
menu. If you enable this option, you can select the node name from which you want
to boot. Once enabled, this option forces the system to boot on the selected FC
hard disk, ignoring any IDE hard disks attached to your system. If you disable this
option, the system looks for a boot device (as selected in the system BIOS). In
disabled mode, the Boot ID and Boot LUN parameters have no effect.
2-6FC2354601-00 A
2 – QLA2340/2340L
Fast!UTIL
Some new system BIOSs support selectable boot, which supersedes the Fast!UTIL
selectable boot setting. To boot from an FC hard disk attached to the
QLA2340/2340L HBA, select the QLA2340/2340L HBA FC hard disk on the system
BIOS.
NOTE: This option applies only to hard disks; it does not apply to tape drives and
other nondisk devices.
2.3.2.3
Restore Default Settings
The Resto re Default s option from the Configuration Settings menu restores the
QLA2340/2340L HBA default settings.
2.3.2.4
Raw NVRAM Data
This option displays the adapter’s NVRAM contents in hexadecimal format. This is
a QLogic troubleshooting tool; you cannot modify the data.
2.3.2.5
Advanced Adapter Settings
From the Configuration Settings menu in Fast!UTIL, select Advanced Adapter
Settings. The default settings for the QLA2340/2340L HBA are listed in table 2-2
and described in the following paragraphs.
Table 2-2. Advanced Adapter Settings
SettingOptionsDefault
Execution Throttle1–25616
Fast Command PostingEnabled, DisabledDisabled
>4GByte AddressingEnabled, DisabledDisabled
Luns per Target0, 8, 16, 32, 64, 128, 2568
Enable LIP ResetYes, NoNo
Enable LIP Full LoginYes, NoYes
Enable Target ResetYes, NoYes
Login Retry Count0–2558
Port Down Retry Count0–25530
Drivers Load RISC CodeEnabled, DisabledEnabled
Enable Database UpdatesYes, NoNo
■ Execution Throttle. This setting specifies the maximum number of
commands executing on any one port. When a port’s execution throttle is
reached, no new commands are executed until the current command
finishes executing. The valid options for this setting are 1–256. The default
is 16.
■ Fast Command Posting. This setting decreases command execution time
by minimizing the number of interrupts. The default is Disabled.
■ >4GByte Addressing. This option should be Enabled if the system has
more than 4 GB of memory available. The default is Disabled.
■ LUNs per Target. This setting specifies the number of LUNs per target.
Multiple LUN support is typically for RAID boxes that use LUNs to map drives.
The default is 8. If you do not need multiple LUN support, set the number of
LUNs to 0.
■ Enable LIP Reset. This setting determines the type of loop initialization
process (LIP) reset that is used when the operating system initiates a bus
reset routine. When this setting is Yes, the driver initiates a global LIP reset
to clear the target device reservations. When this setting is No, the driver
initiates a global LIP reset with full login. The default is No.
■ Enable LIP Full Login. This setting instructs the ISP chip to re-login to all
ports after any LIP. The default is Yes.
■ Enable Target Reset. This setting enables the drivers to issue a Target
Reset command to all devices on the loop when a SCSI Bus Reset command
is issued. The default is Yes.
■ Login Retry Count. This setting specifies the number of times the software
tries to log in to a device. The default is 8 retries.
■ Port Down Retry Count. This setting specifies the number of times the
software retries a command to a port returning port down status. The default
is 30 retries.
■ Drivers Load RISC Code. When this setting is Enabled, the
QLA2340/2340L HBA uses the RISC firmware that is embedded in the
software driver. When this setting is Disabled, the software driver loads the
RISC firmware that is stored in the QLA2340/2340L HBA BIOS. The default
is Enabled.
2-8FC2354601-00 A
2 – QLA2340/2340L
Fast!UTIL
NOTE: The driver being loaded must support this setting. If the driver does
not support this setting, the result is the same as Disabled
regardless of the setting. Leaving this option enabled guaranties a
certified combination of software driver and RISC firmware.
■ Enable Databa se Updates . When enabled, this setting allows the software
to save the loop configuration information in flash memory when the system
powers down. The default is No.
■ Disable Database Loa d. When enabled, the device database is read from
the Registry during driver initialization. When disabled, the device database
is created dynamically during driver initialization. The default is No.
NOTE: This option usually applies to the Windows NT and Windows 2000
operating environments.
■ IOCB Allocation. This setting specifies the maximum number of buffers
from the firmware’s buffer pool that are allocated to any one port. The default
is 256 buffers.
■ Extended Error Logging. This setting provides additional error and debug
information to the operating system. When Enabled, events are logged into
the Windows NT/Windows 2000 Event Viewer. The default is Disabled.
2.3.2.6
Extended Firmware Settings
From the Configuration Settings menu in Fast!UTIL, select Exte nded Firmware
Settings. The default settings for the QLA2340/2340L HBA are listed in table 2-3
SettingOptionsDefault
Interrupt Delay Timer0–2550
Data Rate0, 1, 22
■ Extended Control Block. This setting enables all other extended firmware
settings. The default is Enabled.
■ RIO Operation Mode. This setting specifies the reduced interrupt operation
(RIO) modes, if supported by the software driver. RIO modes allow posting
multiple command completions in a single interrupt (see table 2-4). The
default is 0.
■ Connection Options. This setting defines the type of connection (loop or
point-to-point) or connection preference (see table 2-5). The default is 2.
Table 2-5. Connection Options
OptionType of Conne c tion
0Loop only
1Point-to-point only
2Loop preferred, otherwise point-to-point
■ Class 2 Service. This setting enables Class 2 service parameters to be
provided during all automatic logins (loop ports). The default is Disabled.
■ ACK0. This setting determines the type of ACK used. When this setting is
Enabled, sequence ACK is used. When this setting is Disabled, frame ACK
is used. The default is Disabled.
NOTE: The Class 2 Service setting must be Enabled to use the ACK0
setting.
■ Fibre Channel Tape Support. This setting enables FCP-2 recovery. The
default is Enabled.
2-10FC2354601-00 A
2 – QLA2340/2340L
■ Fibre Channel Confirm. This setting enables the host to send the FCP
confirmation frame when requested by the target. The default is Enabled.
This setting must be Enabled if the Fibre Channel Tape Support setting is
Enabled.
■ Command Reference Number. This setting is reserved. The default is
Disabled.
■ Read Transfer Ready. This setting is reserved. The default is Disabled.
■ Response Timer. This setting contains the value (in 100-microsecond
increments) used by a timer to limit the time waiting accumulating multiple
responses. For example, if this field is 8, the time limit is 800 microseconds.
The default is 0.
■ Interrupt Delay Timer . This setting contains the value (in 100-microsecond
increments) used by a timer to set the wait time between accessing (DMA)
a set of handles and generating an interrupt. The default is 0.
■ Data Rate. This setting determines the data rate. When this setting is 1, the
QLA2340/2340L HBA runs at 2 Gbps. When this setting is 2, Fast!UTIL
determines what rate your system can accommodate and sets the rate
accordingly. The default is 2.
2.3.3
Fast!UTIL
Scan Fibre Channel Devices
This option scans the FC loop and lists all the connected devices by loop ID.
Information about each device is listed, for example, vendor name, product name,
and revision. This information is useful when configuring your QLA2340/2340L HBA
and attached devices.
2.3.4
Fibre Disk Utility
This option scans the FC loop and lists all the connected devices by loop ID. You
can select a hard disk and perform a low-level format or verify the hard disk.
CAUTION!
2.3.5
Performing a low-level format destroys all data on the hard disk.
Select Host Adapter
If you have multiple QLA2340/2340L HBAs in your system, use this setting to select
and then configure or view the settings of a specific QLA2340/2340L HBA.
FC2354601-00 A2-11
2 – QLA2340/2340L
FCode
2.4
FCode
This section provides instructions for installing FCode on a QLA2340/2340L HBA
installed in a Solaris SPARC system. A QLA2340/2340L HBA with FCode loaded
in its flash ROM provides boot capability to its attached devices.
The following files are included. Be sure to review the Readme.txt file for both new
and changed information.
■ ifp2312.prom—FCode code binary file
■ readme.txt—FCode readme file
■ qla2x00flash—Solaris flash utility
■ readme—readme for qla2x00flash
The procedure for installing FCode flash is summarized in the following steps and
explained in detail in the following sections.
1. Flash the QLA2340/2340L HBA with FCode (see section 2.4.1).
2. Set the QLA2340/2340L HBA connection mode (see section 2.4.2).
3. Set the QLA2340/2340L HBA loop ID (see section 2.4.3).
4. Select the boot device (see section 2.4.5).
5. Build the bootable disk (see section 2.4.6).
2.4.1
Flashing a QLA2340/2340L HBA with FCode
Flash the QLA2340/2340L HBA with FCode if you want to update the existing FCode
on the QLA2340/2340L HBA. A QLogic Solaris SPARC driver revision 3.06 or later
must be installed before the flash utility can be run.
WARNING!!
Be careful when changing flash contents; incorrect data may render
the QLA2340/2340L HBA unusable to the point that the operating
system may not function.
Perform the following steps to run the flash utility:
1. Copy the qla2x00flash file and the ifp2312.prom file to the desired directory.
2. At the command line, enter the appropriate path. Use the information
obtained with the show-devs command (see step 1 in section 2.4.5). For
example:
Perform the following steps to view the current QLA2340/2340L HBA connection
mode and change it if necessary.
NOTE: Due to possible equipment incompatibility, QLogic does not recommend
selecting connection mode 3.
1. Select the QLA2340/2340L HBA attached to the Fibre Channel device from
which you want to boot. For example, type the following at the ok prompt:
ok " /pci@1f,0/pci@1/QLGC,qla@4" select-dev
2. To view the current connection mode, type the show-connection-mode
command:
ok show-connection-mode
The connection mode and options display. For example:
Current HBA connection mode: 3 - Point-to-point
preferred, otherwise loop
Possible connection mode choices:
0 - Loop Only
1 - Point-to-point only
2 - Loop preferred, otherwise point-to-point
3. If the connection mode is not correct based on the devices connected to
the QLA2340/2340L HBA, change it using the set-connection-mode
command. For example:
ok 0 set-connection-mode
The new connection mode displays. For example:
Calculating NVRAM checksum, please wait...
Current HBA connection mode: 0 - Loop Only
Possible connection mode choices:
0 - Loop Only
1 - Point-to-point only
2 - Loop preferred, otherwise point-to-point
FC2354601-00 A2-13
2 – QLA2340/2340L
FCode
2.4.3
Setting the QLA2340/2340L HBA Loop ID
When the QLA2340/2340L HBA is currently operating in loop mode (through
connection mode 0 or connection mode 2), perform the following steps to view its
loop ID and change it if necessary:
1. Select the QLA2340/2340L HBA attached to the Fibre Channel device from
which you want to boot. For example, type the following at the ok prompt:
ok " /pci@1f,0/pci@1/QLGC,qla@4" select-dev
2. To view the loop ID, type the show-adapter-loopid command.
ok show-adapter-loopid
The loop ID displays. For example:
Adapter loopid - 7c
3. If the loop ID is not correct, change it using the set-adapter-loopid
command. For example:
ok 0 set-adapter-loopid
The new loop ID displays. For example:
Adapter loopid - 0
2.4.4
Setting and Viewing the Fibre Channel Data Rate
Use the show-data-rate command to view the current QLA2340/2340L Fibre
Channel data rate. For example:
1. Select the QLA2340/2340L HBA attached to the Fibre Channel device from
which you want to boot. For example, type the following at the ok prompt:
ok " /pci@1f,0/pci@1/QLGC,qla@4" select-dev
2. Type the following:
ok show-data-rate
3. The current data rate displays. For example:
Current HBA data rate: One Gigabit rate
2-14FC2354601-00 A
2 – QLA2340/2340L
Use the set-data-rate command to change the current QLA2340/2340L Fibre
Channel data rate. For example:
ok 1 set-data-rate
Calculating NVRAM checksum, please wait...
Current HBA data rate: Two Gigabit rate
Table 2-6 lists the values to enter and their corresponding data rates. QLogic
recommends the Auto-negotiated rate (2), which works for most devices.
Table 2-6. Fibre Channel Data Rates
ValueData Rate
0One gigabit
1Two gigabits
2Auto-negotiated rate
2.4.5
FCode
Selecting the Boot Device
Perform the following steps to select a Fibre Channel device that is attached to the
QLA2340/2340L HBA as the boot device:
1. Use the show-devs command to display the device tree for all devices
attached to the machine.
ok show-devs
The device tree displays. The QLA2340/2340L HBAs with FCode are
referenced with QLGC,qla@. For example:
ok show-devs
.
.
/pci@1f,0/pci@1/QLGC,qla@4
2. Select the QLA2340/2340L HBA attached to the Fibre Channel device from
which you want to boot. For example, type the following at the ok prompt:
ok " /pci@1f,0/pci@1/QLGC,qla@4" select-dev
3. Use the show-children command to view the devices attached to the
QLA2340/2340L HBA. For example:
ok show-children
4. The list of devices displays. Write down the boot device’s world wide name
(WWN), loop ID, and logical unit number (LUN).
5. Save the boot device information to the QLA2340/2340L HBA’s NVRAM.
Use the set-boot-id command. Include the selected QLA2340/2340L HBA’s
WWN, loop ID, and LUN. For example:
6. To boot the QLA2340/2340L HBA, type the complete boot path, including
the loop ID and LUN. The loop ID and LUN must match those entered in
step 5. For example:
ok boot /pci@1f,0/pci@1/QLGC,qla@4/sd@82,0
NOTE: Enter the reset command before attempting to boot if the boot was
interrupted or any of the QLogic FCode commands were executed.
2.4.6
Building the Bootable Disk
This procedure assumes that the system is already booted from an existing system
hard disk, and that you have already performed a full system backup.
The device path on each system differs, depending on the PCI bus slot, target ID,
LUN, etc. The device name shown in this example is for a device on the third PCI
bus slot, target ID 130, LUN 0, slice 0.
You must have already completed the steps in the previous sections before
attempting to create a bootable disk.
To build a bootable disk, perform the following steps:
1. Determine the amount of disk space used/available on your current boot
disk. Use the df command for a listing. For example:
Mounted on
/
/proc
/dev/fd
/etc/mnttab
/var/run
/tmp
/home
This df example shows that the current boot disk is /dev/dsk/c0t0d0s(x).
There are two partitions of interest, slice 0 (/) and slice 7 (/home). Slice 0
uses 1.65 GB and has 875 MB free. Slice 7 uses 114 MB and has 5 GB
free. Therefore, slice 7 (/home) contains enough disk space to store the
temporary saveset files.
2-16FC2354601-00 A
2 – QLA2340/2340L
If there were not at least 1.7 GB free on this disk, you would need to create
a partition on the new bootable disk large enough to hold the largest
temporary saveset files plus the largest used space on a partition. In this
example, it would be a 3.2 GB (1.6 GB+1.6 GB) partition.
2. Use the format command to create, label, and format partitions on the new
bootable disk. These partitions must be able to contain the contents of your
temporary saveset files. If you are not familiar with the format command,
refer to the Solaris documentation.
WARNING!!
a. At the root prompt, type format.
b. A list of available hard disks displays. Specify the disk.
c. At the format prompt, type partition.
d. At the partition prompt, type print. The partition table displays, as in
the following example.
Misusing the format command can destroy the data on your
current disk drives.
NOTE: Platform-specific information (’uname -i’) varies depending on
the hardware platform.
9. Edit the new vfstab file to properly mount the new partitions during boot. In
this case, each reference to c0t0d0s0 is changed to c3t130d0s0. For
example:
vi /mnt/etc/vfstab
10. Shut down the system. Type the following:
/sbin/init 0
11. Boot from the newly created boot disk. For example:
boot /pci@1f,0/pci@1/QLGC,qla@4/sd@82,0
NOTE: The target device ID (sd@82) is in hexadecimal. The decimal value
is used in step 3.
12. View the current dump device setting. For example: