/lsi_decode_loginfo

Decode LSI LogInfo codes to make troubleshooting slightly less cryptic

Primary LanguagePythonMIT LicenseMIT

lsi_decode_loginfo

Decode LSI LogInfo codes to make troubleshooting slightly less cryptic

This is based on open sources, mostly Linux kernel header files. I'm aware of an LSI document that details all the different LogInfo codes but it is not provided openly. If someone happens to have contacts within LSI to help release this document that would be very nice and would help many sysadmins around the world to enable them to debug their storage systems better.

If the tool fails to parse the loginfo and you have an LSI product you can ask LSI support to decode it for you, if you can then let me know about the code and the explanation for it I can add it to the tool for everyone else's benefit.

Sample

For the command:

./lsi_decode_loginfo.py 0x31170000

You get the output:

Value     	31170000h
Type:     	30000000h	SAS
Origin:   	01000000h	PL
Code:     	00170000h	PL_LOGINFO_CODE_IO_DEVICE_MISSING_DELAY_RETRY I-T Nexus Loss

Author

Baruch Even baruch@ev-en.org