Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The Power-On-Time raw value overflows in the Lifetime hours column #73

Closed
ojsl1 opened this issue Dec 25, 2024 · 1 comment
Closed

The Power-On-Time raw value overflows in the Lifetime hours column #73

ojsl1 opened this issue Dec 25, 2024 · 1 comment
Assignees
Labels
bug Something isn't working fixed The issue has been fixed smartmontools The issue is in smartmontools / smartctl

Comments

@ojsl1
Copy link

ojsl1 commented Dec 25, 2024

Version and Environment

  • GSmartControl version: 1.1.4
  • OS: Manjaro Linux

Describe the Bug
There is an overflow in the Lifetime hours column, while the raw value in the Attributes tab for the disk is displayed correctly.

To Reproduce
Steps to reproduce the behavior:

  1. Go to Device Information for a disk that has at least more than 65177 hours of lifetime
  2. Click on Self-Tests tab
  3. Scroll down to Self-Test log
  4. See error

Screenshots
Screenshot_20241225_223947
Screenshot_20241225_224719

Additional Context
gtkmm3: 3.24.9

@ojsl1 ojsl1 added bug Something isn't working enhancement New feature or request labels Dec 25, 2024
@ashaduri
Copy link
Owner

Hi,

Unfortunately, this is a defect in ATA specification (?).

Per smartctl man page: Note: this time stamp wraps after 2^16 hours, or 2730 days and 16 hours, or about 7.5 years.

I added the clarification to the header tooltip to avoid further confusion.

Thanks

@ashaduri ashaduri added fixed The issue has been fixed smartmontools The issue is in smartmontools / smartctl and removed enhancement New feature or request labels Dec 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working fixed The issue has been fixed smartmontools The issue is in smartmontools / smartctl
Projects
None yet
Development

No branches or pull requests

2 participants