Sponsored Content
Full Discussion: Offline HBA.
Operating Systems Solaris Offline HBA. Post 302308220 by incredible on Friday 17th of April 2009 11:41:31 AM
Old 04-17-2009
what if you did this?
luxadm -e forcelip /devices/pci@0,0/pci10de,5d@e/pci1077,143@0,1/fp@0,0:devctl <-- replace with your device path
its posssible that something is wrong at the switch end and its worth doing a check on the zonings etc

you should not get Error: FCIO_RESET_LINK ioctl failed.
btw whats your sol 10 kernel patch level. did you apply the SAN patches to the system.

Last edited by DukeNuke2; 04-17-2009 at 12:48 PM..
 

10 More Discussions You Might Find Interesting

1. IP Networking

HELP!! NICs went offline suddenly

I have a new server... We were doing some testing on it over the local ethernet. All was well in the night when we turned off the machine. In the morning we were unable to get the server online. Have changed cables, NICs, looked over network settings... all to no avail. I am running Redhat... (4 Replies)
Discussion started by: skotapal
4 Replies

2. Solaris

How to keep volumes offline after reboot

Hi All, How to keep the volumes offline after reboot also, i make it offline like below # metaoffline d0 d20 after reboot its automatically getting online, however i have to keep it offline and as on required i have to make it online as per business. Thanks in anticipation (9 Replies)
Discussion started by: kumarmani
9 Replies

3. Shell Programming and Scripting

Showing offline users

Hi, Is there any command for showing offline users? The only way I can think of doing it (as i cant find a command) is getting a list of all the online users, and comparing it to /etc/passwd, anything that is in /etc/passwd and not in the users file will be offline users. But I have no... (4 Replies)
Discussion started by: mikejreading
4 Replies

4. Solaris

Offline HBA - Help Needed

I have an HBA on a Sun-Fire-V215 server that suddenly went offline. Please i need help. the two leds at the back of the HBA are blinking green. (4 Replies)
Discussion started by: chykeman
4 Replies

5. UNIX for Advanced & Expert Users

how to find any device online/offline

what is the command for checking which device active and which is not active (1 Reply)
Discussion started by: RahulJoshi
1 Replies

6. UNIX for Dummies Questions & Answers

Offline Agents Inquiry.

Hello, I currently use Solaris, and typically I use the svcs -a | grep PROCESS to see if it's online or Offline. My questions is SVCS is in solaris but if I want to find out if a daemon or process is offline what other methods can I use? ps -ef | grep PROCESS "what do I look for" or... (1 Reply)
Discussion started by: NelsonC
1 Replies

7. Red Hat

USB drive going offline

Hello all, I have a USB drive mounted on a linux RHEL 4 server which goes offline every now n then. Here are some logs : --------------------------------------------- # lsusb Bus 005 Device 001: ID 0000:0000 Bus 004 Device 001: ID 0000:0000 Bus 003 Device 001: ID 0000:0000 Bus 002... (1 Reply)
Discussion started by: sunny_a_j
1 Replies

8. Solaris

offline CPU Solaris 10.

Hi, I need to offline one of the CPUs in my M4000. I'm going to use the psradm command to offline the CPU. Do I need to do anything before offlining the CPU like unbinding processes etc? The servers are running oracle databases which I will shutdown beforehand.:confused: Thanks,... (0 Replies)
Discussion started by: sparcman
0 Replies

9. Solaris

How to enable hba port of a two port hba card

Hi, i have a two port hba card in solaris 10 system one of which is disabled. How to enable and configure the other port. ---------- Post updated at 08:17 AM ---------- Previous update was at 03:40 AM ---------- please help :( (7 Replies)
Discussion started by: rishiraaz
7 Replies

10. Hardware

Hp-dl580 g7 offline logs collection

Offline Log Collection Steps:- A. Offline Test Report (3 Loop) . 1. Boot the server with Smart Start CD. 2. Select language - English. 3. Select Maintain server. 4. Select Diagnose Server. 5. In Test Tab Test mode - Unattended. ... (0 Replies)
Discussion started by: taherahmed
0 Replies
fwflash(1M)						  System Administration Commands					       fwflash(1M)

NAME
fwflash - firmware query and update utility SYNOPSIS
/usr/sbin/fwflash [-l [-c device_class | ALL ]] | [-v] | [-h] fwflash [-f file1,file2,file3,... | -r file] [-y] [-d device_path] DESCRIPTION
The fwflash command writes a binary image file to supported flashable devices attached to a Solaris host. It also provides the ability to read firmware to a file if supported by the device. Because changing the firmware in a device can have significant impact on the stability of a system, only users with the privilege All are allowed to execute this command. Users authorized to run fwflash can be granted the "Firmware Flash Update" Rights Profile. The first form of the command, above, provides information about devices. It lists all devices currently available on the system that are supported by fwflash for firmware upgrade. You can filter the list operation, to display only specified classes of devices. The second form of the command provides the operations to read or write the firmware images to specific devices. OPTIONS
The following options are supported: -c device_class An optional parameter, valid only when used with the -l option. This option causes the command to list only devices of a specific class type. Currently supported classes are IB, ses, sesgen, or ALL. If -c is not specified for the -loption, the class defaults to ALL. -d dev_path The dev_path is absolute path name of the device that the user wants to modify with the -for -r operation. If the device cannot be found, the command fails. If the -d option is specified, then either -f or -r must also be specified. -f file1,file2,file3,... Specify the path to one or more binary firmware image files you want to write to the device. fwflash will verify that each file is a valid firmware image for the specified device. If it is not, the command fails with an appropriate error message. If multiple firmware image files are specified, each image is verified and flashed to the device in the order given on the command line. If any of the specified files cannot be successfully flashed, then an appropriate message is displayed. After a new firmware image is flashed to a device, a reboot is required to correctly activate the new firmware. -h Display the command line usage message for fwflash. -l List the devices on a system available for firmware upgrade and display information specific to each device or device class. For InfiniBand (IB) devices, the list operation displays the guids (Globally Unique Identifier) currently set for the HCA, as well as the current firmware revision installed. There are four separate guids on the HCA; two of them can be set with the same value. For SCSI Enclosure Services (ses or sgen) devices, an identifying target-port worldwide name is displayed, if available. -r file Specify the path to a file to create when reading the firmware from the device. The -f and -r options are mutually exclusive. Not all flashable devices support reading firmware images back from the device. At present, only InfiniBand (IB) devices are supported for this operation. A message will be displayed if the selected device does not support this operation. -v Display fwflash version information and exit. -y Valid only when a flash read (-r) or write (-f) operation is specified. This option causes fwflash not to prompt for confirmation dur- ing operation and operate non-interactively. Note that there is no option that allows you to forcibly flash an incompatible firmware image onto a device. EXAMPLES
Example 1 Entering Command Without Arguments The following command shows fwflash when the command is entered without arguments. example# fwflash Usage: Usage: fwflash [-l [-c device_class | ALL]] | [-v] | [-h] fwflash [-f file1,file2,file3,... | -r file] [-y] -d device_path -l list flashable devices in this system -c device_class limit search to a specific class eg IB for InfiniBand, ses for SCSI Enclosures -v print version number of fwflash utility -h print this usage message -f file1,file2,file3,... firmware image file list to flash -r file file to dump device firmware to -y answer Yes/Y/y to prompts -d device_path pathname of device to be flashed If -d device_path is specified, then one of -f <files> or -r <file> must also be specified If multiple firmware images are required to be flashed they must be listed together, separated by commas. The images will be flashed in the order specified. Example 2 Listing Devices Available to Flash The following command lists the devices available to be flashed. example# fwflash -l List of available devices: Device[0], /devices/pci@0,0/pci8086,3595@2/pci8086,32a@0,2/ pci15b3,5a46@c/pci15b3,5a44@0:devctl Class [IB] GUID: System Image - 0002c901081e33b3 Node - 0000000000003446 Port 1 - 0002c901081e33b1 Port 2 - 0002c901081e33b2 Firmware revision: 3.3.0002 No hardware information available for this device Device[1], /devices/pci@0,0/pci8086,3597@4/pci15b3,6278@0:devctl Class [IB] GUID: System Image - 0002c9010a99e3b3 Node - 0002c9010a99e3b0 Port 1 - 0002c9010a99e3b1 Port 2 - 0002c9010a99e3b2 Firmware revision: 4.8.00c8 Product : MTLP25208-CF256T (Lion cub) PSID : MT_00B0000001 Alternatively, for a SAS Expander presented as a SCSI Enclosure Services device , we might see output such as this: example# fwflash -l List of available devices: Device[0] /devices/pci@0/pci@0/pci@2/scsi@0/ses@3,0:ses Class [sgen] Target port WWN : 500605b00002453d Vendor : SUN Product : 16Disk Backplane Firmware revision: 5021 Example 3 Flash Upgrading an IB HCA Device The following command flash upgrades an IB HCA device. example# fwflash -f ./version.3.2.0000 -d /devices/pci@0,0/pci8086,3597@4/pci15b3,6278@0:devctl About to update firmware on: /devices/pci@0,0/pci8086,3597@4/pci15b3,6278@0:devctl Continue (Y/N): Y Updating . . . . . . . . . . . . Done. New image will be active after the system is rebooted. Note that you are prompted before the upgrading proceeds and that it is mandatory that you reboot your host to activate the new firmware image. The following command adds the -y option to the command. example# fwflash -y -f ./version.3.2.0000 -d /devices/pci@0,0/pci8086,3597@4/pci15b3,6278@0:devctl About to update firmware on: /devices/pci@0,0/pci8086,3597@4/pci15b3,6278@0:devctl Updating . . . . . . . . . . . . Done. New image will be active after the system is rebooted. Example 4 Reading Device Firmware to File The command shown below reads the device firmware to a file. The command uses the -y option so that read occurs without prompting. example# fwflash -y -r /firmware.bin -d /devices/pci@1d,700000/pci@1/pci15b3,5a44@0:devctl About to read firmware on: /devices/pci@1d,700000/pci@1/pci15b3,5a44@0:devctl to filename: /firmware.bin Reading . . . Done. Example 5 When No Flashable Devices Are Found The command output shown below informs the user that there are no supported flashable devices found in the system: example# fwflash -l fwflash: No flashable devices attached with the ses driver in this system fwflash: No flashable devices attached with the sgen driver in this system fwflash: No flashable devices attached with the tavor driver in this system fwflash: No flashable devices in this system Each plugin found in /usr/lib/fwflash/identify is loaded in turn, and walks the system device tree, determining whether any currently- attached devices can be flashed. For the list of device types and drivers that are currently supported, please see the NOTES section below. RETURN VALUES
The fwflash command returns the following values: 0 Success 1 Failure ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWfwflash | +-----------------------------+-----------------------------+ |Interface Stability |Committed | +-----------------------------+-----------------------------+ SEE ALSO
attributes(5), hermon(7D), ses(7D), tavor(7D) The InfiniBand Trade Association website, http://www.infinibandta.org The SCSI Storage Interfaces committee website, http://www.t10.org SCSI Primary Commands-4, SPC4 SCSI Enclosure Services-2, SES2 Serial Attached SCSI-2, SAS2 NOTES
The fwflash command supports: o InfiniBand Host Channel Adapters (IB HCAs) containing either the AMD or the Intel parallel flash parts. o SCSI Enclosure Services devices such as SAS Expanders, attached with ses(7D) drivers. SunOS 5.11 4 Nov 2008 fwflash(1M)
All times are GMT -4. The time now is 10:18 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy