Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
SMART errors after updating kernel to 6.6.52
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Syl20
l33t
l33t


Joined: 04 Aug 2005
Posts: 621
Location: France

PostPosted: Mon Sep 23, 2024 5:28 pm    Post subject: SMART errors after updating kernel to 6.6.52 Reply with quote

Hello,

I meet a SMART error on two different HP dc5800 computers. After updating the kernel (gentoo-sources from 6.6.47 to 6.6.52), it seems impossible do read my SDD SMART logs, so the Nagios check_ide_smart check are critical. Rebooting to the previous kernel solves the problem.

Code:
# LANG=C lshw | head -n 20
hostname                   
    description: Low Profile Desktop Computer
    vendor: Hewlett-Packard
    serial: XXXXX
    width: 64 bits
    capabilities: smbios-2.5 dmi-2.5 smp
    configuration: administrator_password=disabled boot=normal chassis=low-profile family=103C_53307F power-on_password=disabled uuid=xxxx
  *-core
       description: Motherboard
       product: 2820h
       vendor: Hewlett-Packard
       physical id: 0
       serial: XXXXX
     *-firmware
          description: BIOS
          vendor: Hewlett-Packard
          physical id: 1
          version: 786F2 v01.60
          date: 10/26/2015
          size: 128KiB

# uname -r
6.6.52-gentoo

# smartctl -a /dev/sda
smartctl 7.4 2023-08-01 r5530 [x86_64-linux-6.6.52-gentoo] (local build)
Copyright (C) 2002-23, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family:     Crucial/Micron Client SSDs
Device Model:     CT500MX500SSD1
Serial Number:    xxxxx
LU WWN Device Id: 5 00a075 1e2286718
Firmware Version: M3CR023
User Capacity:    500 107 862 016 bytes [500 GB]
Sector Sizes:     512 bytes logical, 4096 bytes physical
Rotation Rate:    Solid State Device
Form Factor:      2.5 inches
TRIM Command:     Available
Device is:        In smartctl database 7.3/5610
ATA Version is:   ACS-3 T13/2161-D revision 5
SATA Version is:  SATA 3.3, 6.0 Gb/s (current: 3.0 Gb/s)
Local Time is:    Mon Sep 23 19:15:54 2024 CEST
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

=== START OF READ SMART DATA SECTION ===
SMART Status not supported: Incomplete response, ATA output registers missing
SMART overall-health self-assessment test result: PASSED
Warning: This result is based on an Attribute check.

 (snip)

Read SMART Error Log failed: Connection timed out

Read SMART Self-test Log failed: Connection timed out

Read SMART Selective Self-test Log failed: Connection timed out

The above only provides legacy SMART information - try 'smartctl -x' for more

# LANG=C /usr/lib64/nagios/plugins/check_ide_smart -d /dev/sda
CRITICAL - SMART_ENABLE: Input/output error
CRITICAL - SMART_CMD_ENABLE


Is this a bug, or a PEBKAC ?


Last edited by Syl20 on Mon Sep 23, 2024 5:39 pm; edited 1 time in total
Back to top
View user's profile Send private message
Syl20
l33t
l33t


Joined: 04 Aug 2005
Posts: 621
Location: France

PostPosted: Mon Sep 23, 2024 5:37 pm    Post subject: Reply with quote

Update : same SMART check problem on a totally different computer. And smartctl shows no error.

Code:
# LANG=C lshw | head -n 20
host2                     
    description: Desktop Computer
    product: EP31-DS3L
    vendor: Gigabyte Technology Co., Ltd.
    width: 64 bits
    capabilities: smbios-2.4 dmi-2.4 smp
    configuration: boot=normal chassis=desktop uuid=00000000
  *-core
       description: Motherboard
       product: EP31-DS3L
       vendor: Gigabyte Technology Co., Ltd.
       physical id: 0
       version: x.x
     *-firmware
          description: BIOS
          vendor: Award Software International, Inc.
          physical id: 0
          version: F4
          date: 07/18/2008
          size: 128KiB

# uname -r
6.6.52-gentoo

# LANG=C smartctl -a /dev/sda
smartctl 7.4 2023-08-01 r5530 [x86_64-linux-6.6.52-gentoo] (local build)
Copyright (C) 2002-23, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family:     Marvell based SanDisk SSDs
Device Model:     SanDisk SDSSDHP128G
Serial Number:    XXXX
LU WWN Device Id: 5 001b44 a54348804
Firmware Version: X2306RL
User Capacity:    128,035,676,160 bytes [128 GB]
Sector Size:      512 bytes logical/physical
Rotation Rate:    Solid State Device
Form Factor:      Unknown (0x000a)
TRIM Command:     Available, deterministic, zeroed
Device is:        In smartctl database 7.3/5610
ATA Version is:   ATA8-ACS T13/1699-D revision 6
SATA Version is:  SATA 3.0, 6.0 Gb/s (current: 3.0 Gb/s)
Local Time is:    Mon Sep 23 19:34:36 2024 CEST
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

=== START OF READ SMART DATA SECTION ===
SMART Status not supported: Incomplete response, ATA output registers missing
SMART overall-health self-assessment test result: PASSED
Warning: This result is based on an Attribute check.

 (snip)

SMART Error Log Version: 1
No Errors Logged

SMART Self-test log structure revision number 1
Num  Test_Description    Status                  Remaining  LifeTime(hours)  LBA_of_first_error
# 1  Short offline       Completed without error       00%     29897         -

Selective Self-tests/Logging not supported

The above only provides legacy SMART information - try 'smartctl -x' for more

# LANG=C /usr/lib64/nagios/plugins/check_ide_smart -d /dev/sda
CRITICAL - SMART_ENABLE: Input/output error
CRITICAL - SMART_CMD_ENABLE
Back to top
View user's profile Send private message
l33tmmx
Tux's lil' helper
Tux's lil' helper


Joined: 12 Mar 2005
Posts: 112
Location: Pirkkala, Finland

PostPosted: Fri Sep 27, 2024 9:47 am    Post subject: Reply with quote

I have more or less the same problem; after updating from gentoo-kernel-6.6.47 to 6.6.51, hddtemp is suddenly unable to read SMART data:
Code:

hddtemp /dev/sda
/dev/sda: TOSHIBA DT01ACA050                      : S.M.A.R.T. not available

That happens on all 4 drives I have on this Gentoo PC.

And again, on another device running Arch Linux, hddtemp has no problems with 6.6.52 kernel...

There's something seriously wrong with the gentoo-kernel-6.6.51/52 configs or patches.
_________________
"Trust me, I know what I'm doing!"
- Sledge Hammer
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20484

PostPosted: Sat Sep 28, 2024 4:29 am    Post subject: Reply with quote

Over at bugs, all I see is a gentoo-sources stabilization bug:
https://bugs.gentoo.org/939927

It would be a good idea to open a bug and maybe check on IRC.
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum