Increasing driver logging verbosity on Broadcom HBAs
search cancel

Increasing driver logging verbosity on Broadcom HBAs

book

Article ID: 324624

calendar_today

Updated On:

Products

VMware vSphere ESXi

Issue/Introduction

This article provides information on how to increase logging verbosity with Broadcom IT/IR HBA drivers for troubleshooting purposes.

Environment

VMware vSphere ESXi 6.0
VMware vSphere ESXi 5.5
VMware vSphere ESXi 5.1

Resolution

To increase the logging verbosity from Broadcom IT/IR HBA drivers:
  1. Identify the megaraid driver that is in use.
  2. Increase the logging level of the driver.
To identify the megaraid driver that is in use:
Run this command:

esxcli storage core adapter list

Example output:
vmhba3 lsi_msgpt3 link-n/a sas.500605b005edc590 (0000:02:00.0) Avago (LSI Logic) / Symbios Logic Avago (LSI)3008

Options to increase driver verbosity exist only for these drivers:
  • lsi_msgpt3
  • mpt2sas
  • mpt3sas
Note: If your megaraid driver is not listed here see Collecting diagnostic logs for megaRAID controllers (2146429) for steps on capturing better verbosity.

Increasing the logging level of the driver

First, find the current logging level using this command:

esxcli system module parameters list -m lsi_msgpt3

Note: You may need to replace lsi_msgpt3 if your driver is one of the others.

If the resulting logging level is different than the following logging level, run this command to increase the verbosity of the driver logs.

esxcli system module parameters set -p logging_level=0x3f8 -m lsi_msgpt3

The result of this command is that there will be more verbose logging messages in vmkernel.log to assist with troubleshooting purposes.

Important: After you have completed your troubleshooting, revert the logging level back to logging_level=0 after the relevant troubleshooting data has been captured to avoid flooding the vmkernel logs.
To revert the logging level to 0, run this command:

esxcli system module parameters set -p logging_level=0 -m lsi_msgpt3




Additional Information