Emulex EMULEX manual Downloadboot filename, Getdumpsize, Forcedump

Page 18

emlxadm> get_boot_rev

Firmware revision: LP10000DC-S 5.01a4

download_boot <filename>

Downloads the specified boot image file to the HBA.

Example:

emlxadm> download_boot TL501A4.PRG

Image Components: REL type size=143416

 

 

DWC file:

BOOT: version=03845054, 5.01a4

Current: Boot: 5.01a2

 

 

New:

Boot: 5.01a4

143416 (0x23038)

bytes

Are you sure you want to download this image? (y or n): y

Downloading...

Done.

Note: If the file name is not provided, the program attempts to identify the adapter model, then downloads a default boot image file, if one is available.

get_dump_size

Returns the byte size of the HBA's firmware core dump buffer.

Example:

emlxadm> get_dump_size

Size: 256 (0x100) bytes

force_dump

Forces the HBA to perform a firmware core dump to the core dump buffer.

Example:

emlxadm> force_dump

Done.

get_dump <-t filename.txt or -b filename.bin>

Returns a copy of the HBA's firmware core dump buffer to the specified file in the specified text (-t) or binary (-b) format.

Example:

emlxadm> get_dump -t mydump.txt

Done.

Following is an example of the text file created by this operation. The binary version of the file has the binary pattern indicated without the column or row labels and white spaces.

mydump.txt

00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F

----------------------------------------------------------------

00000000:

00

01

02 03

04 05

06

07

08

09

0a

0b

0c

0d

0e

0f

00000010:

10

11

12 13

14 15

16

17

18

19

1a

1b

1c

1d

1e

1f

00000020:

20

21

22 23

24 25

26

27

28

29

2a

2b

2c

2d

2e

2f

FCA Utilities Reference Manual

Page 14

Image 18
Contents FCA Utilities FCA Utilities Reference Manual Introduction Using the emlxdrv Utility HbaFibre Channel Overview Solaris Fibre Channel StackSolaris Software Stack Installing the Utilities Enter y. The following message is displayedRemoving the Utilities Using the emlxuremove Script Installing the Utilities Package Manually Removing the Utilities Package ManuallyTo remove the emlxu utilities package, do the following Update the emlxu utilities by doing the following Updating the Utilities Package ManuallyInteractive Mode emlxadm Modes of Operation emlxadmCommand Descriptions emlxadm CLI Mode emlxadmGetnumdevs GetdevlistGetlogiparams wwpn FCA Utilities Reference Manual Setsympname string GethostparamsGetsympname GetsymnnameGetstate wwpn Devlogin wwpnDevlogout Devremove wwpnGetfwrev GetbootrevDownloadfcode filename Downloadfw filenameGetdumpsize Downloadboot filenameDownloads the specified boot image file to the HBA Example ForcedumpResethardcore Resetlink wwpn or zero for local linkResethard GettopologyType PID Parmgetnum Returns the total number of configurable parameters ExampleReturns a list of configurable parameters Example ParmgetlistFCA Utilities Reference Manual Parmget label Gets the value of a specified parameter in the driverParmset label value Msgbuf all or number -i intervalExample This example attempts to set a static parameter Gethostattrs Getportattrs index, wwn or allDisplays all of the current host HBA API attributes Example Seagate ST39103FC = Seagate ST39103FC Displays a help menu of utility commands Example Getpath indexExits the utility program Example Repeats the last command Example HbaInteractive Mode emlxdrv Modes of Operation emlxdrvEmlxdrv utility program can be run in two modes Interactive CLI Mode emlxdrv Setemlxssun Command Descriptions emlxdrvSetemlxs alias SetemlxsallSetlpfc alias SetlpfcnonsunCleardev alias Clearsun ClearlpfcClearemlxs ClearnonsunClearall Emlxdrv q Exiting