logo Debian Debian Debian-France Debian-Facile Debian-fr.org Forum-Debian.fr Debian ? Communautés logo inclusivité

Debian-facile

Bienvenue sur Debian-Facile, site d'aide pour les nouveaux utilisateurs de Debian.

Vous n'êtes pas identifié(e).

#1 20-08-2015 16:58:43

cyfred73
Membre
Distrib. : Debian GNU/Linux stretch/sid 64 bits
Inscription : 20-08-2015

[RESOLU] failed code 4

Bonjour,

j'ai rencontré un problème lors de la mise en route de mon ordinateur.
Z29VU3m.jpg

Après quelques recherches, j'ai trouvé la commande

smartctl --all /dev/sda



résultats:

smartctl 5.41 2011-06-09 r3365 [x86_64-linux-3.2.0-4-amd64] (local build)
Copyright (C) 2002-11 by Bruce Allen, [url]http://smartmontools.sourceforge.net[/url]

=== START OF INFORMATION SECTION ===
Model Family: Hitachi Travelstar 5K320
Device Model: Hitachi HTS543225L9A300
Serial Number: 090412FBCE06YKH55HSC
LU WWN Device Id: 5 000cca 5b2d07209
Firmware Version: FBEOC40J
User Capacity: 250 059 350 016 bytes [250 GB]
Sector Size: 512 bytes logical/physical
Device is: In smartctl database [for details use: -P show]
ATA Version is: 8
ATA Standard is: ATA-8-ACS revision 3f
Local Time is: Mon Aug 17 16:54:07 2015 CEST
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: (0x80) Offline data collection activity
was never started.
Auto Offline Data Collection: Enabled.
Self-test execution status: ( 0) The previous self-test routine completed
without error or no self-test has ever
been run.
Total time to complete Offline
data collection: ( 645) 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: ( 102) 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 0x000f 100 094 062 Pre-fail Always - 0
2 Throughput_Performance 0x0005 100 100 040 Pre-fail Offline - 0
3 Spin_Up_Time 0x0023 253 100 033 Pre-fail Always - 0
4 Start_Stop_Count 0x0032 093 093 000 Old_age Always - 12148
5 Reallocated_Sector_Ct 0x0033 100 100 005 Pre-fail Always - 1 (0, 1)
7 Seek_Error_Rate 0x000f 100 100 067 Pre-fail Always - 0
8 Seek_Time_Performance 0x0005 100 100 040 Pre-fail Offline - 0
9 Power_On_Hours 0x0032 082 082 000 Old_age Always - 7984
10 Spin_Retry_Count 0x0033 100 100 060 Pre-fail Always - 0
12 Power_Cycle_Count 0x0032 096 096 000 Old_age Always - 7822
184 End-to-End_Error 0x0033 100 100 097 Pre-fail Always - 0
187 Reported_Uncorrect 0x0032 100 100 000 Old_age Always - 12309376401435
188 Command_Timeout 0x0032 100 098 000 Old_age Always - 15
190 Airflow_Temperature_Cel 0x0022 051 043 000 Old_age Always - 49 (Min/Max 45/52)
191 G-Sense_Error_Rate 0x000a 100 094 000 Old_age Always - 0
192 Power-Off_Retract_Count 0x0032 100 100 000 Old_age Always - 8847495
193 Load_Cycle_Count 0x0032 087 087 000 Old_age Always - 131872
194 Temperature_Celsius 0x0022 112 096 000 Old_age Always - 49 (Min/Max 8/57)
196 Reallocated_Event_Count 0x0032 100 100 000 Old_age Always - 1
197 Current_Pending_Sector 0x0032 100 100 000 Old_age Always - 0
198 Offline_Uncorrectable 0x0010 100 100 000 Old_age Offline - 0
199 UDMA_CRC_Error_Count 0x002a 200 200 000 Old_age Always - 0
223 Load_Retry_Count 0x002a 100 100 000 Old_age Always - 0

SMART Error Log Version: 1
ATA Error Count: 45 (device log contains only the most recent five errors)
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 45 occurred at disk power-on lifetime: 6966 hours (290 days + 6 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
-- -- -- -- -- -- --
10 51 01 70 59 1c 40 Error: IDNF at LBA = 0x001c5970 = 1857904

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 01 d8 70 59 1c 40 00 01:08:02.300 READ FPDMA QUEUED
2f 00 01 10 00 00 40 00 01:08:02.300 READ LOG EXT
60 01 d0 70 59 1c 40 00 01:08:02.200 READ FPDMA QUEUED
2f 00 01 10 00 00 40 00 01:08:02.200 READ LOG EXT
60 01 c8 70 59 1c 40 00 01:08:02.200 READ FPDMA QUEUED

Error 44 occurred at disk power-on lifetime: 6966 hours (290 days + 6 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
-- -- -- -- -- -- --
10 51 01 70 59 1c 40 Error: IDNF at LBA = 0x001c5970 = 1857904

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 01 d0 70 59 1c 40 00 01:08:02.200 READ FPDMA QUEUED
2f 00 01 10 00 00 40 00 01:08:02.200 READ LOG EXT
60 01 c8 70 59 1c 40 00 01:08:02.200 READ FPDMA QUEUED
2f 00 01 10 00 00 40 00 01:08:02.200 READ LOG EXT
60 01 b8 70 59 1c 40 00 01:08:02.100 READ FPDMA QUEUED

Error 43 occurred at disk power-on lifetime: 6966 hours (290 days + 6 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
-- -- -- -- -- -- --
10 51 01 70 59 1c 40 Error: IDNF at LBA = 0x001c5970 = 1857904

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 01 c8 70 59 1c 40 00 01:08:02.200 READ FPDMA QUEUED
2f 00 01 10 00 00 40 00 01:08:02.200 READ LOG EXT
60 01 b8 70 59 1c 40 00 01:08:02.100 READ FPDMA QUEUED
2f 00 01 10 00 00 40 00 01:08:02.100 READ LOG EXT
60 01 b0 70 59 1c 40 00 01:08:02.000 READ FPDMA QUEUED

Error 42 occurred at disk power-on lifetime: 6966 hours (290 days + 6 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
-- -- -- -- -- -- --
10 51 01 70 59 1c 40 Error: IDNF at LBA = 0x001c5970 = 1857904

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 01 b8 70 59 1c 40 00 01:08:02.100 READ FPDMA QUEUED
2f 00 01 10 00 00 40 00 01:08:02.100 READ LOG EXT
60 01 b0 70 59 1c 40 00 01:08:02.000 READ FPDMA QUEUED
2f 00 01 10 00 00 40 00 01:08:02.000 READ LOG EXT
60 01 a0 70 59 1c 40 00 01:08:01.900 READ FPDMA QUEUED

Error 41 occurred at disk power-on lifetime: 6966 hours (290 days + 6 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
-- -- -- -- -- -- --
10 51 01 70 59 1c 40 Error: IDNF at LBA = 0x001c5970 = 1857904

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 01 b0 70 59 1c 40 00 01:08:02.000 READ FPDMA QUEUED
2f 00 01 10 00 00 40 00 01:08:02.000 READ LOG EXT
60 01 a0 70 59 1c 40 00 01:08:01.900 READ FPDMA QUEUED
2f 00 01 10 00 00 40 00 01:08:01.900 READ LOG EXT
60 01 98 70 59 1c 40 00 01:08:01.800 READ FPDMA QUEUED

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% 7984 -
# 2 Short offline Completed without error 00% 7983 -
# 3 Short offline Completed without error 00% 6719 -
# 4 Short offline Completed without error 00% 3 -
# 5 Short offline Completed without error 00% 2 -
# 6 Short offline Completed without error 00% 2 -
# 7 Short offline Completed without error 00% 1 -

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





En cherchant encore,

dmesg /var/log/messages



résultat:

11.494953] EXT4-fs (sda5): re-mounted. Opts: (null)
[ 11.781178] EXT4-fs (sda5): re-mounted. Opts: errors=remount-ro
[ 11.915354] loop: module loaded
[ 69.762441] EXT4-fs (sda7): warning: mounting fs with errors, running e2fsck is recommended
[ 69.762936] EXT4-fs (sda7): mounted filesystem with ordered data mode. Opts: (null)
[ 71.013643] RPC: Registered named UNIX socket transport module.
[ 71.013650] RPC: Registered udp transport module.
[ 71.013655] RPC: Registered tcp transport module.
[ 71.013661] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 71.050359] FS-Cache: Loaded
[ 71.098648] FS-Cache: Netfs 'nfs' registered for caching
[ 71.120738] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[ 72.618390] vboxdrv: Found 2 processor cores.
[ 72.618637] vboxdrv: fAsync=0 offMin=0x1b8 offMax=0x852
[ 72.618702] vboxdrv: TSC mode is 'synchronous', kernel timer mode is 'normal'.
[ 72.618704] vboxdrv: Successfully loaded version 4.1.18_Debian (interface 0x00190000).
[ 72.899146] vboxpci: IOMMU not found (not registered)
[ 73.055589] input: ACPI Virtual Keyboard Device as /devices/virtual/input/input12




Pensez-vous que la commande suivante puisse m'aider?

fsck -f -y  /dev/sda7




Merci de m'avoir lu et de votre aide smile

Dernière modification par cyfred73 (21-08-2015 11:00:06)

Hors ligne

#2 20-08-2015 18:08:36

paskal
autobahn
Lieu : ailleurs
Inscription : 14-06-2011
Site Web

Re : [RESOLU] failed code 4

Bonjour et bienvenue  smile

Quel est le contenu du fichier /var/log/fsck/checkfs ?

I'd love to change the world
But I don't know what to do
So I'll leave it up to you...

logo-sur-fond.png

Hors ligne

#3 20-08-2015 21:14:04

cyfred73
Membre
Distrib. : Debian GNU/Linux stretch/sid 64 bits
Inscription : 20-08-2015

Re : [RESOLU] failed code 4

Log of fsck -C -R -A -a
Thu Aug 20 12:03:58 2015

fsck from util-linux 2.20.1
/dev/sda7 contains a file system with errors, check forced.
/dev/sda7: Inodes that were part of a corrupted orphan linked list found.  

/dev/sda7: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY.
  (i.e., without -a or -p options)
fsck died with exit status 4

Thu Aug 20 12:03:59 2015





J'ai aussi un fichier checkroot qui donne çà:

Log of fsck -C -a -t ext4 /dev/sda5
Thu Aug 20 12:03:57 2015

fsck from util-linux 2.20.1
/dev/sda5: clean, 215511/598016 files, 1875288/2387456 blocks

Thu Aug 20 12:03:57 2015
----------------

Dernière modification par cyfred73 (20-08-2015 21:17:32)

Hors ligne

#4 21-08-2015 08:36:53

milou
Membre
Lieu : Sur une autre planète....
Distrib. : Jessie - Stretch/Sid
Noyau : 3.16.0-4-amd64
(G)UI : Lxde
Inscription : 12-02-2015

Re : [RESOLU] failed code 4

Bonjour cyfred73,

J'ai placé tes retours de commande et le contenu de tes fichiers en bloc code pour plus de lisibilité sur le forum.
Tu peux éditer ton message pour voir comment procéder pour les prochains   wink

J’adorerais changer le monde, mais ils ne veulent pas me fournir le code source
Un vrai geek, c'est un mec qui croit que dans 1km, il y a 1024 mètres
Dans le doute, rebootes. Si tu te tâtes, formates.
1453651422.jpg

Hors ligne

#5 21-08-2015 10:46:10

cyfred73
Membre
Distrib. : Debian GNU/Linux stretch/sid 64 bits
Inscription : 20-08-2015

Re : [RESOLU] failed code 4

Merci smile
Je ferai attention

Hors ligne

#6 21-08-2015 10:50:04

paskal
autobahn
Lieu : ailleurs
Inscription : 14-06-2011
Site Web

Re : [RESOLU] failed code 4

Bonjour,

cyfred73 a écrit :

Pensez-vous que la commande suivante puisse m'aider?

fsck -f -y  /dev/sda7

As-tu essayé ? Sinon, fais-le, mais en tant que rootsmile


I'd love to change the world
But I don't know what to do
So I'll leave it up to you...

logo-sur-fond.png

Hors ligne

#7 21-08-2015 10:53:44

milou
Membre
Lieu : Sur une autre planète....
Distrib. : Jessie - Stretch/Sid
Noyau : 3.16.0-4-amd64
(G)UI : Lxde
Inscription : 12-02-2015

Re : [RESOLU] failed code 4

cyfred73 a écrit :

Merci smile
Je ferai attention

Il faut le temps de s'habituer wink


J’adorerais changer le monde, mais ils ne veulent pas me fournir le code source
Un vrai geek, c'est un mec qui croit que dans 1km, il y a 1024 mètres
Dans le doute, rebootes. Si tu te tâtes, formates.
1453651422.jpg

Hors ligne

#8 21-08-2015 10:59:02

cyfred73
Membre
Distrib. : Debian GNU/Linux stretch/sid 64 bits
Inscription : 20-08-2015

Re : [RESOLU] failed code 4

paskal : problème résolu aprés avoir taper la commande en root big_smile
            En fait je n'avais pas oser le faire toute seule, parce que je n'utilise linux que depuis 3 mois...

Hors ligne

#9 21-08-2015 13:04:01

paskal
autobahn
Lieu : ailleurs
Inscription : 14-06-2011
Site Web

Re : [RESOLU] failed code 4

\o/

cyfred73 a écrit :

En fait je n'avais pas oser le faire toute seule, parce que je n'utilise linux que depuis 3 mois...

Tu as raison, en root, on n'est jamais trop prudente.  smile


I'd love to change the world
But I don't know what to do
So I'll leave it up to you...

logo-sur-fond.png

Hors ligne

Pied de page des forums