Opened 9 years ago
Closed 9 years ago
#294 closed defect (worksforme)
what is difference between 6.1 and 5.38
Reported by: | yibowang1975 | Owned by: | somebody |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | smartctl | Version: | 5.38 |
Keywords: | Cc: |
Description
Greetings!
when used 5.38 to smartctl with Ah options,
it reported fail problem on “Log Sense failed, IE page [scsi response fails sanity test]”.looks like it is due to pBuf is not equal to pagenum
but it is not occurred in 6.1 version. so what is difference between 6.1 and 5.38.
for detail error messages and related source code is below
line300:pagenum:0x2f
line302:pBuf[0]:0xaf line302:pBuf[1]:0x00 line302:pBuf[2]:0x00 line302:pBuf[3]:0x0c
Source code.
/* sanity check on response */
if ((SUPPORTED_LPAGES != pagenum) && (pBuf[0] != pagenum))
Log sense response:
Note: See
TracTickets for help on using
tickets.
The error message from 5.38 is bogus. The log page number in pBuf[0] is only 6 bits wide. This is fixed since r3217.