Opened 14 years ago
Last modified 14 years ago
#89 closed defect
Use log directory to check for old error/self-test log support — at Initial Version
Reported by: | Christian Franke | Owned by: | somebody |
---|---|---|---|
Priority: | minor | Milestone: | Release 5.41 |
Component: | all | Version: | 5.39.1 |
Keywords: | Cc: |
Description
Smartctl assumes that the old SMART error log (log address 0x01) is supported if an error-logging capability bit in IDENTIFY or SMART data is set. Same applies to old SMART self-test log (log address 0x06). These logs were introduced in ATA-5 and are now outdated because 48-bit LBA addresses are not supported. Recent devices may only support the newer 48-bit capable logs (extended comprehensive error-log, extended self-test log) introduced in ATA-6.
smartctl -a ...
prints misleading messages then:
Error SMART Error Log Read failed: Input/output error Smartctl: SMART Error Log Read Failed Error SMART Error Self-Test Log Read failed: Input/output error Smartctl: SMART Self Test Log Read Failed
(smartctl -x ...
is not affected)
Smartctl should check the log directory (log address 0x00) to check whether the old logs are still supported and print an "unsupported
" message if not.