Advertisements

Tag Archives: luxadm

Solaris 10: emlxs0:WARNING:1540: Firmware update required. (A manual HBA reset or link reset (using luxadm or fcadm) is required

If you are seeing these messages requiring a HBA reset on /var/adm/messages

root@solaris10:/ # tail /var/adm/messages
Sep 3 05:49:32 solaris10 scsi: [ID 243001 kern.info] /pci@0,600000/pci@0/scsi@1 (mpt0):
Sep 3 05:49:32 solaris10 mpt_get_sas_device_page0 config: IOCStatus=0x22 IOCLogInfo=0x30030501
Sep 3 09:24:06 solaris10 emlxs: [ID 349649 kern.info] [ 1.0340]emlxs7:WARNING:1540: Firmware update required. (A manual HBA reset or link reset (using luxadm or fcadm) is required.)
Sep 3 09:24:15 solaris10 emlxs: [ID 349649 kern.info] [ 1.0340]emlxs5:WARNING:1540: Firmware update required. (A manual HBA reset or link reset (using luxadm or fcadm) is required.)
Sep 3 09:24:25 solaris10 emlxs: [ID 349649 kern.info] [ 1.0340]emlxs3:WARNING:1540: Firmware update required. (A manual HBA reset or link reset (using luxadm or fcadm) is required.)
Sep 3 09:24:28 solaris10 emlxs: [ID 349649 kern.info] [ 1.0340]emlxs1:WARNING:1540: Firmware update required. (A manual HBA reset or link reset (using luxadm or fcadm) is required.)
Sep 3 09:24:57 solaris10 emlxs: [ID 349649 kern.info] [ 1.0340]emlxs6:WARNING:1540: Firmware update required. (A manual HBA reset or link reset (using luxadm or fcadm) is required.)
Sep 3 09:24:58 solaris10 emlxs: [ID 349649 kern.info] [ 1.0340]emlxs4:WARNING:1540: Firmware update required. (A manual HBA reset or link reset (using luxadm or fcadm) is required.)
Sep 3 09:24:59 solaris10 emlxs: [ID 349649 kern.info] [ 1.0340]emlxs2:WARNING:1540: Firmware update required. (A manual HBA reset or link reset (using luxadm or fcadm) is required.)
Sep 3 09:25:00 solaris10 emlxs: [ID 349649 kern.info] [ 1.0340]emlxs0:WARNING:1540: Firmware update required. (A manual HBA reset or link reset (using luxadm or fcadm) is required.)

List all the HBA ports

root@solaris10:/ # fcinfo hba-port | grep Device
OS Device Name: /dev/cfg/c11
OS Device Name: /dev/cfg/c12
OS Device Name: /dev/cfg/c9
OS Device Name: /dev/cfg/c10
OS Device Name: /dev/cfg/c4
OS Device Name: /dev/cfg/c5
OS Device Name: /dev/cfg/c2
OS Device Name: /dev/cfg/c3

And then run luxadm -e forcelip on the OS Device Name and wait 60 seconds

root@solaris10:/ # luxadm -e forcelip /dev/cfg/c11; sleep 60
root@solaris10:/ # luxadm -e forcelip /dev/cfg/c12; sleep 60
root@solaris10:/ # luxadm -e forcelip /dev/cfg/c9; sleep 60
root@solaris10:/ # luxadm -e forcelip /dev/cfg/c10; sleep 60
root@solaris10:/ # luxadm -e forcelip /dev/cfg/c4; sleep 60
root@solaris10:/ # luxadm -e forcelip /dev/cfg/c5; sleep 60
root@solaris10:/ # luxadm -e forcelip /dev/cfg/c2; sleep 60
root@solaris10:/ # luxadm -e forcelip /dev/cfg/c3; sleep 60

Advertisements

Display the status of a tape drive on Solaris

root@solaris:/ # luxadm probe
No Network Array enclosures found in /dev/es

Found Fibre Channel device(s):
(Removed to show only the tape devices)
Node WWN:500104f0009429c3 Device Type:Tape device
Logical Path:/dev/rmt/0n
Node WWN:500104f0009429c6 Device Type:Tape device
Logical Path:/dev/rmt/7n
Node WWN:500104f0009429c9 Device Type:Tape device
Logical Path:/dev/rmt/9n
Node WWN:500104f0009429cc Device Type:Tape device
Logical Path:/dev/rmt/11n

This drive showed the status of the tape drive

root@solaris:/ # mt -f /dev/rmt/7n status
HP Ultrium LTO 3 tape drive:
sense key(0x0)= No Additional Sense residual= 0 retries= 0
file no= 0 block no= 0

This drive shows that no tape is loaded or the drive is offline.

root@solaris:/ # mt -f /dev/rmt/9n status
/dev/rmt/9n: no tape loaded or drive offline

%d bloggers like this: