No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search


To have a better experience, please upgrade your IE browser.


Advanced O&M Command Reference

OceanStor 2800 V5 V500R007

This document is applicable to OceanStor 2800 V5. Based on the CLI, this document describes how to use various commands classified by functions and how to set the CLI and manage the storage system through these commands. The document that you browse online matches the latest C version of the product. Click Download to download documents of other C versions.

Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
drvsascbb readreg

drvsascbb readreg


The drvsascbb readreg command is used to read the value of a specified chip register.


drvsascbb readreg port_id=? pciebar_id=? regoffset=? shiftoffset=?





port_id=? Port ID of a SAS interface module.

To obtain the value, run "drvsascbb showdevinfo".

pciebar_id=? PCIe base address ID.

Refer to the Programmer's Manual.

regoffset=? Offset address of the register.

Refer to the Programmer's Manual.

shiftoffset=? Translated address.

Refer to the Programmer's Manual.


Diagnostic view

Usage Guidelines



Read the value of a specified chip register.

admin:/diagnose>drvsascbb readreg port_id=0x1f2000 pciebar_id=2 regoffset=0x0128 shiftoffset=0x880000
DANGER: You are about to read the value of the register on a specified SAS interface card.This operation may cause the malfunction of SAS chips for a short time.
Before performing this operation, check with the R&D personnel that all parameters in the command to be executed are configured correctly.
Have you read danger alert message carefully?(y/n)y
Are you sure you really want to perform the operation?(y/n)y 
PortId:0x1f2000 read pcie bar:2 offset:0x128 additional offset:0x880000 value:0x0

System Response

The following table describes the parameter meanings.




Port ID.

read pcie bar

PCIe base address ID.


Offset address of the register.

additional offset

Translated address.


Register value.

Updated: 2020-01-17

Document ID: EDOC1000181575

Views: 726956

Downloads: 32

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Previous Next