Page 1 sur 1

Error Logs - RESOLU - merci Cyrille

Posté : lun. 24 févr. 2025 09:55
par Le Terrien
Bonjour

J'ai récupéré un PC portable sencé partir à la casse, sauf qu'il tourne. Je trouve ça dommage
Ce n'est pas une fusée, mais un 17'' avec 4Go de ram
Je viens de lui coller Mint Mate 2.1 XIA
Ca tourne correctement
Je lui ai malgré tout lancé un Gsmartcontroll et là, j'ai 2 avertissements
Ne comprenant pas trop ce que celà signifie, je viens prendre ma leçon

Voici ce que je vois

Image

Le message est le suivant

Code : Tout sélectionner

complete error log:

SMART Extended Comprehensive Error Log Version: 1 (64 sectors)
Device Error Count: 2
	CR     = Command Register
	FEATR  = Features Register
	COUNT  = Count (was: Sector Count) Register
	LBA_48 = Upper bytes of LBA High/Mid/Low Registers ]  ATA-8
	LH     = LBA High (was: Cylinder High) Register    ]   LBA
	LM     = LBA Mid (was: Cylinder Low) Register      ] Register
	LL     = LBA Low (was: Sector Number) Register     ]
	DV     = Device (was: Device/Head) Register
	DC     = Device Control Register
	ER     = Error register
	ST     = Status register
Powered_Up_Time is measured from power on, and printed as
DDd+hh:mm:SS.sss where DD=days, hh=hours, mm=minutes,
SS=sec, and sss=millisec. It "wraps" after 49.710 days.

Error 2 [1] occurred at disk power-on lifetime: 1335 hours (55 days + 15 hours)
  When the command that caused the error occurred, the device was active or idle.

  After command completion occurred, registers were:
  ER -- ST COUNT  LBA_48  LH LM LL DV DC
  -- -- -- == -- == == == -- -- -- -- --
  40 -- 41 00 08 00 00 07 5f 24 48 40 00  Error: UNC at LBA = 0x075f2448 = 123675720

  Commands leading to the command that caused the error were:
  CR FEATR COUNT  LBA_48  LH LM LL DV DC  Powered_Up_Time  Command/Feature_Name
  -- == -- == -- == == == -- -- -- -- --  ---------------  --------------------
  60 00 08 00 08 00 00 07 5f 24 48 40 00     00:00:30.203  READ FPDMA QUEUED
  2f 00 00 00 01 00 00 00 00 00 10 28 00     00:00:30.201  READ LOG EXT
  60 00 08 00 00 00 00 07 5f 24 48 40 00     00:00:26.372  READ FPDMA QUEUED
  60 00 08 00 00 00 00 00 29 94 38 40 00     00:00:26.372  READ FPDMA QUEUED
  60 00 08 00 00 00 00 07 5f ee f8 40 00     00:00:26.360  READ FPDMA QUEUED

Error 1 [0] occurred at disk power-on lifetime: 1335 hours (55 days + 15 hours)
  When the command that caused the error occurred, the device was active or idle.

  After command completion occurred, registers were:
  ER -- ST COUNT  LBA_48  LH LM LL DV DC
  -- -- -- == -- == == == -- -- -- -- --
  40 -- 41 00 00 00 00 07 5f 24 48 40 00  Error: UNC at LBA = 0x075f2448 = 123675720

  Commands leading to the command that caused the error were:
  CR FEATR COUNT  LBA_48  LH LM LL DV DC  Powered_Up_Time  Command/Feature_Name
  -- == -- == -- == == == -- -- -- -- --  ---------------  --------------------
  60 00 08 00 00 00 00 07 5f 24 48 40 00     00:00:26.372  READ FPDMA QUEUED
  60 00 08 00 00 00 00 00 29 94 38 40 00     00:00:26.372  READ FPDMA QUEUED
  60 00 08 00 00 00 00 07 5f ee f8 40 00     00:00:26.360  READ FPDMA QUEUED
  60 00 08 00 00 00 00 00 29 96 f8 40 00     00:00:26.360  READ FPDMA QUEUED
  60 00 08 00 00 00 00 07 60 19 10 40 00     00:00:26.347  READ FPDMA QUEUED
C'est grave docteurs ? :l
J'ai compris qu'il y avait eu un défaut d'alimentation à un moment donné, mais je ne comprends pas l'incidence.
Est-ce un message mineur, ou un risque de crash imminent ?
Ou mieux comment le corriger ?
J'avais pensé à un

Code : Tout sélectionner

sudo badblocks -s -v -n -f /dev/sda

Re: Error Logs

Posté : lun. 24 févr. 2025 10:26
par Le Terrien
My God
Merci pour ta réponse rapide
Je vois ça dès que possible ;)

Re: Error Logs

Posté : lun. 24 févr. 2025 10:39
par Le Terrien
cyrille a écrit : lun. 24 févr. 2025 10:08 Bonjour
Il faudrait un retour complet de smartmontools
cf https://cbiot.fr/dokuwiki/freebsd-smartmontools
Etant donné que tu m'as répondu TRES rapidement, merci :P
Du coup j'ai pris 2 sec avant de partir pour lancer la commande
Je lirai ta réponse à mon retour, l'homme qui dégaine plus vite que son ombre
D'avance MERCI :B

Code : Tout sélectionner

sudo /usr/sbin/smartctl -a /dev/sda
smartctl 7.4 2023-08-01 r5530 [x86_64-linux-6.8.0-53-generic] (local build)
Copyright (C) 2002-23, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family:     Toshiba 2.5" HDD MQ01ABD...
Device Model:     TOSHIBA MQ01ABD075
Serial Number:    738MS0B3S
LU WWN Device Id: 5 000039 4e6081888
Firmware Version: AX0R2J
User Capacity:    750 156 374 016 bytes [750 GB]
Sector Sizes:     512 bytes logical, 4096 bytes physical
Rotation Rate:    5400 rpm
Form Factor:      2.5 inches
Device is:        In smartctl database 7.3/5528
ATA Version is:   ATA8-ACS (minor revision not indicated)
SATA Version is:  SATA 3.0, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is:    Mon Feb 24 10:34:40 2025 CET
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED

General SMART Values:
Offline data collection status:  (0x00)	Offline data collection activity
					was never started.
					Auto Offline Data Collection: Disabled.
Self-test execution status:      ( 246)	Self-test routine in progress...
					60% of test remaining.
Total time to complete Offline 
data collection: 		(  120) seconds.
Offline data collection
capabilities: 			 (0x5b) SMART execute Offline immediate.
					Auto Offline data collection on/off support.
					Suspend Offline collection upon new
					command.
					Offline surface scan supported.
					Self-test supported.
					No Conveyance Self-test supported.
					Selective Self-test supported.
SMART capabilities:            (0x0003)	Saves SMART data before entering
					power-saving mode.
					Supports SMART auto save timer.
Error logging capability:        (0x01)	Error logging supported.
					General Purpose Logging supported.
Short self-test routine 
recommended polling time: 	 (   2) minutes.
Extended self-test routine
recommended polling time: 	 ( 190) minutes.
SCT capabilities: 	       (0x003d)	SCT Status supported.
					SCT Error Recovery Control supported.
					SCT Feature Control supported.
					SCT Data Table supported.

SMART Attributes Data Structure revision number: 16
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
  1 Raw_Read_Error_Rate     0x000b   100   100   050    Pre-fail  Always       -       0
  2 Throughput_Performance  0x0005   100   100   050    Pre-fail  Offline      -       0
  3 Spin_Up_Time            0x0027   100   100   001    Pre-fail  Always       -       1740
  4 Start_Stop_Count        0x0032   100   100   000    Old_age   Always       -       2574
  5 Reallocated_Sector_Ct   0x0033   100   100   050    Pre-fail  Always       -       0
  7 Seek_Error_Rate         0x000b   100   100   050    Pre-fail  Always       -       0
  8 Seek_Time_Performance   0x0005   100   100   050    Pre-fail  Offline      -       0
  9 Power_On_Hours          0x0032   095   095   000    Old_age   Always       -       2317
 10 Spin_Retry_Count        0x0033   151   100   030    Pre-fail  Always       -       0
 12 Power_Cycle_Count       0x0032   100   100   000    Old_age   Always       -       2569
191 G-Sense_Error_Rate      0x0032   100   100   000    Old_age   Always       -       293
192 Power-Off_Retract_Count 0x0032   100   100   000    Old_age   Always       -       58
193 Load_Cycle_Count        0x0032   097   097   000    Old_age   Always       -       30359
194 Temperature_Celsius     0x0022   100   100   000    Old_age   Always       -       42 (Min/Max 13/46)
196 Reallocated_Event_Count 0x0032   100   100   000    Old_age   Always       -       0
197 Current_Pending_Sector  0x0032   100   100   000    Old_age   Always       -       0
198 Offline_Uncorrectable   0x0030   100   100   000    Old_age   Offline      -       0
199 UDMA_CRC_Error_Count    0x0032   200   200   000    Old_age   Always       -       0
220 Disk_Shift              0x0002   100   100   000    Old_age   Always       -       0
222 Loaded_Hours            0x0032   095   095   000    Old_age   Always       -       2160
223 Load_Retry_Count        0x0032   100   100   000    Old_age   Always       -       0
224 Load_Friction           0x0022   100   100   000    Old_age   Always       -       0
226 Load-in_Time            0x0026   100   100   000    Old_age   Always       -       172
240 Head_Flying_Hours       0x0001   100   100   001    Pre-fail  Offline      -       0

SMART Error Log Version: 1
ATA Error Count: 2
	CR = Command Register [HEX]
	FR = Features Register [HEX]
	SC = Sector Count Register [HEX]
	SN = Sector Number Register [HEX]
	CL = Cylinder Low Register [HEX]
	CH = Cylinder High Register [HEX]
	DH = Device/Head Register [HEX]
	DC = Device Command Register [HEX]
	ER = Error register [HEX]
	ST = Status register [HEX]
Powered_Up_Time is measured from power on, and printed as
DDd+hh:mm:SS.sss where DD=days, hh=hours, mm=minutes,
SS=sec, and sss=millisec. It "wraps" after 49.710 days.

Error 2 occurred at disk power-on lifetime: 1335 hours (55 days + 15 hours)
  When the command that caused the error occurred, the device was active or idle.

  After command completion occurred, registers were:
  ER ST SC SN CL CH DH
  -- -- -- -- -- -- --
  40 41 08 48 24 5f 40  Error: UNC at LBA = 0x005f2448 = 6235208

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  60 08 08 48 24 5f 40 00      00:00:30.203  READ FPDMA QUEUED
  2f 00 01 10 00 00 28 00      00:00:30.201  READ LOG EXT
  60 08 00 48 24 5f 40 00      00:00:26.372  READ FPDMA QUEUED
  60 08 00 38 94 29 40 00      00:00:26.372  READ FPDMA QUEUED
  60 08 00 f8 ee 5f 40 00      00:00:26.360  READ FPDMA QUEUED

Error 1 occurred at disk power-on lifetime: 1335 hours (55 days + 15 hours)
  When the command that caused the error occurred, the device was active or idle.

  After command completion occurred, registers were:
  ER ST SC SN CL CH DH
  -- -- -- -- -- -- --
  40 41 00 48 24 5f 40  Error: UNC at LBA = 0x005f2448 = 6235208

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  60 08 00 48 24 5f 40 00      00:00:26.372  READ FPDMA QUEUED
  60 08 00 38 94 29 40 00      00:00:26.372  READ FPDMA QUEUED
  60 08 00 f8 ee 5f 40 00      00:00:26.360  READ FPDMA QUEUED
  60 08 00 f8 96 29 40 00      00:00:26.360  READ FPDMA QUEUED
  60 08 00 10 19 60 40 00      00:00:26.347  READ FPDMA QUEUED

SMART Self-test log structure revision number 1
Num  Test_Description    Status                  Remaining  LifeTime(hours)  LBA_of_first_error
# 1  Extended offline    Aborted by host               90%      2316         -
# 2  Short offline       Completed without error       00%      2315         -
# 3  Short offline       Completed without error       00%      2310         -

SMART Selective self-test log data structure revision number 1
 SPAN  MIN_LBA  MAX_LBA  CURRENT_TEST_STATUS
    1        0        0  Not_testing
    2        0        0  Not_testing
    3        0        0  Not_testing
    4        0        0  Not_testing
    5        0        0  Not_testing
Selective self-test flags (0x0):
  After scanning selected spans, do NOT read-scan remainder of disk.
If Selective self-test is pending on power-up, resume after 0 minute delay.

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

Re: Error Logs

Posté : lun. 24 févr. 2025 12:13
par Le Terrien
cyrille a écrit : lun. 24 févr. 2025 10:46 L'essentiel c'est que pour les entrées 5, 197 et 187 ce soit à zéro

Pour
Error 2 occurred at disk power-on lifetime: 1335 hours (55 days + 15 hours)
Relancer smartmontools de temps en temps, si ça augmente, c'est que soucis. Sinon c'est qu'un contexte particulier a crashé le disque à un moment donné mais rien de bien embêtant si la valeur n'augmente pas
Merci pour ta réponse toujours aussi rapide et efficace
Je surveillerai . J'ai lancé également un Gsmartcontroll complet pour voir, résultat pas d'erreur
Juste par curiosité, je n'ai pas l'impression de voir l'entrée 187 ?