Open AlexanderAmelkin opened 10 years ago
Original comment by: Zdenek Styblik
I have a checksum function handy for this. IMHO, it makes sense to verify the checksum.
Original comment by: Hinko Kocevar
Do you mean as an external script?
Original comment by: Zdenek Styblik
As a C function. IMHO, checksum should be checked before fields are parsed/decoded.
Original comment by: Hinko Kocevar
I'd say that fields must be decoded anyway. But an indication of wrong checksum is desirable. Way too many FRUs out there with valid data but with incorrect checksums. Blindly discarding them if the checksum is wrong would be a disaster.
Original comment by: Alexander Amelkin
Reported by: Alexander Amelkin Original Ticket: ipmitool/bugs/321
The 'ekanalyzer frushow' command never reports correctness of the FRU checksums. It does so neither for the FRU header, nor for FRU info areas. It does display the checksum value (as stored in the FRU file), but never checks if it matches the actual data.