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.
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
- Pre decoded entries -- If you don't want to install this program you can go here and search for your code, if it's not present we don't know it's decoding, this was generated by this program.
- Explaining log info 0x31080000 -- A longer form explanation of the issue behind this log info error
Baruch Even baruch@ev-en.org