Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 18/03/2014, à 23:39

redwan

PC qui se bloque avec écran noir - Ubuntu 12.04.4 LTS

Bonsoir,
je ne comprends pas trop ce qui se passe, cela fait 2 fois que mon PC se bloque écran noir avec un liseré bleu au dessus, les 2 fois j'avais chromium et virtualbox d'ouvert, peut être d'autres trucs mais je ne m'en souviens pas, donc le pc devient inutilisable et les voyants clavier majuscule et pavé numérique clignote rapidement ..

Je sais bien que c'est maigre comme infos mais si quelqu’un veut voir les logs ou autre pas de soucis smile



Plop smile


Un grand pouvoir implique de grandes responsabilités...

Hors ligne

#2 Le 19/03/2014, à 06:46

moko138

Re : PC qui se bloque avec écran noir - Ubuntu 12.04.4 LTS

Tu lances des applis très gourmandes en ram.
Déjà vérifie que ton swappiness n'est pas resté à 60 :

cat /proc/sys/vm/swappiness

Défaillance matérielle ?
Démarre une session live et vérifie d'abord l'état du disque :

sudo apt-get install smartmontools
sudo smartctl -a /dev/sda

puis l'état de la mémoire.


%NOINDEX%
Un utilitaire précieux : ncdu
Photo, mini-tutoriel :  À la découverte de dcraw

Hors ligne

#3 Le 19/03/2014, à 14:39

redwan

Re : PC qui se bloque avec écran noir - Ubuntu 12.04.4 LTS

Heu si il est bien à 60 hmm
je t'avoue que je suis vraiment nouveau avec linux comme je vérifie l'état de mon disque et l'état de ma mémoire ? que dois je vérifier ?

Dsl hmm

Plop ..


Un grand pouvoir implique de grandes responsabilités...

Hors ligne

#4 Le 19/03/2014, à 15:11

moko138

Re : PC qui se bloque avec écran noir - Ubuntu 12.04.4 LTS

D'abord tu vas abaisser ton swappiness à 5 :

gksudo gedit /etc/sysctl.conf

à la fin du rajoutes cette ligne :

vm.swappiness=5

  Enregistrer et fermer le fichier,
Pendant que tu y es, tu colles dans le terminal

sudo apt-get update

et s'il n'y a pas de message d'erreur, tu colles ensuite la 2ème des trois commandes du #2.
puis redémarrer.
  Puis colles la 3ème commande, récupère tout le retour et colle-le ici entre balises-code (les <> bleus de la barre de mise en forme) comme indiqué là :
http://forum.ubuntu-fr.org/viewtopic.ph … #p16190961


%NOINDEX%
Un utilitaire précieux : ncdu
Photo, mini-tutoriel :  À la découverte de dcraw

Hors ligne

#5 Le 20/03/2014, à 04:10

redwan

Re : PC qui se bloque avec écran noir - Ubuntu 12.04.4 LTS

Peux tu m'expliquer brièvement, quel est l'utilité de modifier le swappiness ?
Merci pour l'aide smile

Et voilà pour la commande

sudo smartctl -a /dev/sda
smartctl 5.41 2011-06-09 r3365 [i686-linux-3.2.0-60-generic-pae] (local build)
Copyright (C) 2002-11 by Bruce Allen, http://smartmontools.sourceforge.net

=== START OF INFORMATION SECTION ===
Model Family:     SAMSUNG SpinPoint P120
Device Model:     SAMSUNG SP2504C
Serial Number:    S09QJ1GL223438
Firmware Version: VT100-33
User Capacity:    250 058 268 160 bytes [250 GB]
Sector Size:      512 bytes logical/physical
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   7
ATA Standard is:  ATA/ATAPI-7 T13 1532D revision 4a
Local Time is:    Thu Mar 20 03:08:46 2014 CET

==> WARNING: May need -F samsung3 enabled; see manual for details.

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:  (0x82)	Offline data collection activity
					was completed without error.
					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: 		( 4835) 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: 	 (   1) minutes.
Extended self-test routine
recommended polling time: 	 (  80) minutes.

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   100   051    Pre-fail  Always       -       0
  3 Spin_Up_Time            0x0007   100   100   025    Pre-fail  Always       -       4992
  4 Start_Stop_Count        0x0032   093   093   000    Old_age   Always       -       7185
  5 Reallocated_Sector_Ct   0x0033   253   253   010    Pre-fail  Always       -       0
  7 Seek_Error_Rate         0x000f   253   253   051    Pre-fail  Always       -       0
  8 Seek_Time_Performance   0x0025   253   253   015    Pre-fail  Offline      -       0
  9 Power_On_Hours          0x0032   100   100   000    Old_age   Always       -       20858
 10 Spin_Retry_Count        0x0033   253   253   051    Pre-fail  Always       -       0
 11 Calibration_Retry_Count 0x0012   253   002   000    Old_age   Always       -       0
 12 Power_Cycle_Count       0x0032   098   098   000    Old_age   Always       -       2310
190 Airflow_Temperature_Cel 0x0022   139   115   000    Old_age   Always       -       33
194 Temperature_Celsius     0x0022   139   115   000    Old_age   Always       -       33
195 Hardware_ECC_Recovered  0x001a   100   100   000    Old_age   Always       -       44100019
196 Reallocated_Event_Count 0x0032   253   253   000    Old_age   Always       -       0
197 Current_Pending_Sector  0x0012   100   100   000    Old_age   Always       -       1
198 Offline_Uncorrectable   0x0030   253   253   000    Old_age   Offline      -       0
199 UDMA_CRC_Error_Count    0x003e   200   200   000    Old_age   Always       -       0
200 Multi_Zone_Error_Rate   0x000a   100   100   000    Old_age   Always       -       4
201 Soft_Read_Error_Rate    0x000a   100   100   000    Old_age   Always       -       0
202 Data_Address_Mark_Errs  0x0032   253   253   000    Old_age   Always       -       0

SMART Error Log Version: 1
No Errors Logged

SMART Self-test log structure revision number 1
No self-tests have been logged.  [To run self-tests, use: smartctl -t]


Note: selective self-test log revision number (0) not 1 implies that no selective self-test has ever been run
SMART Selective self-test log data structure revision number 0
Note: revision number not 1 implies that no selective self-test has ever been run
 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.

cocolasticot@cocolasticot-pc:~$ 

Dernière modification par redwan (Le 20/03/2014, à 04:20)


Un grand pouvoir implique de grandes responsabilités...

Hors ligne

#6 Le 20/03/2014, à 04:35

moko138

Re : PC qui se bloque avec écran noir - Ubuntu 12.04.4 LTS

Tu as un "Pending_Sector" (ligne 197) : tu vérifieras cette valeur lors de tes prochains démarrages.
- Quand tout va presque parfaitement, elle revient à zéro au démarrage suivant.
- Si non, le contrôleur de disque étiquette ce secteur comme uncorrectable et le condamne. En déplaçant, si c'est encore possible, les données qui étaient dessus.

Et pour ta question, jette un oeil en haut à droite : "Recherche rapide...." "Documentation" !


%NOINDEX%
Un utilitaire précieux : ncdu
Photo, mini-tutoriel :  À la découverte de dcraw

Hors ligne

#7 Le 20/03/2014, à 13:45

redwan

Re : PC qui se bloque avec écran noir - Ubuntu 12.04.4 LTS

Heu depuis ta manœuvre je n'ai plus accès à ma session virtual box j'ai du en créer une nouvelle et réinstaller l'OS, sinon l'autre ne se charge plus ...
Je ne sais pas si cela est dû à ta modif ou bien à la mise à jour virtualbox qui à été faite pendant le sudo apt-get update ...

En outre comment dois je vérifier le "Pending_Sector" (ligne 197) que dois je faire exactement ? Merci smile

Dernière modification par redwan (Le 20/03/2014, à 14:12)


Un grand pouvoir implique de grandes responsabilités...

Hors ligne

#8 Le 20/03/2014, à 14:26

moko138

Re : PC qui se bloque avec écran noir - Ubuntu 12.04.4 LTS

Donne les retours de

sudo parted -l && free -m && df -h && df -i
redwan a écrit :

Heu depuis ta manœuvre je n'ai plus accès à ma session virtual box j'ai du en créer une nouvelle et réinstaller l'OS, sinon l'autre ne se charge plus ...

  "L'autre" : l'autre quoi ? L'OS virtualisé ? Si oui, lequel est-ce ?

redwan a écrit :

Je ne sais pas si cela est dû à ta modif ou bien à la mise à jour virtualbox qui à été faite pendant le sudo apt-get update ...

En #4, je t'ai dit : "s'il n'y a pas de message d'erreur, tu colles ensuite la 2ème des trois commandes du #2.
puis redémarrer.  Puis colles la 3ème commande, récupère tout le retour et colle-le ici"
  Comme tu as collé le retour, j'avais tout lieu de penser que tu n'avais pas eu de message d'erreur. Mais maintenant, je me demande si tu n'as pas brûlé une étape.
  Et si tu n'en as pas brûlé, oui, on peut chercher du côté de la mise à jour de virtual box :
As-tu regardé du côté des §2 et 7 de la doc virtualbox ?

comment dois je vérifier le "Pending_Sector" (ligne 197) que dois je faire exactement ? Merci smile

tu relances la 3e commande du #2 et tu colles de nouveau son retour ici. On verra les lignes 197-198 aux 4 cinquièmes, comme dans ton #5.


%NOINDEX%
Un utilitaire précieux : ncdu
Photo, mini-tutoriel :  À la découverte de dcraw

Hors ligne

#9 Le 20/03/2014, à 14:35

redwan

Re : PC qui se bloque avec écran noir - Ubuntu 12.04.4 LTS

Concernant la commande

sudo parted -l && free -m && df -h && df -i
cocolasticot@cocolasticot-pc:~$ sudo parted -l && free -m && df -h && df -i
Modèle: ATA SAMSUNG SP2504C (scsi)
Disque /dev/sda : 250GB
Taille des secteurs (logiques/physiques): 512B/512B
Table de partitions : msdos

Numéro  Début   Fin    Taille  Type      Système de fichiers  Fanions
 1      1049kB  246GB  246GB   primary   ext4                 démarrage
 2      246GB   250GB  4292MB  extended
 5      246GB   250GB  4292MB  logical   linux-swap(v1)


Modèle: ATA ST31000528AS (scsi)
Disque /dev/sdb : 1000GB
Taille des secteurs (logiques/physiques): 512B/512B
Table de partitions : msdos

Numéro  Début   Fin     Taille  Type     Système de fichiers  Fanions
 1      1049kB  1000GB  1000GB  primary  ntfs


             total       used       free     shared    buffers     cached
Mem:          4026       1178       2848          0         57        498
-/+ buffers/cache:        621       3405
Swap:         4092          0       4092
Sys. de fichiers Taille Utilisé Dispo Uti% Monté sur
/dev/sda1          226G     97G  118G  45% /
udev               2,0G    4,0K  2,0G   1% /dev
tmpfs              806M    848K  805M   1% /run
none               5,0M       0  5,0M   0% /run/lock
none               2,0G    968K  2,0G   1% /run/shm
/dev/sdb1          932G    121G  812G  13% /media/DD-Interne
Sys. de fichiers    Inœuds IUtil.    ILibre IUti% Monté sur
/dev/sda1         15007744 262195  14745549    2% /
udev                207297    548    206749    1% /dev
tmpfs               210954    464    210490    1% /run
none                210954      1    210953    1% /run/lock
none                210954     11    210943    1% /run/shm
/dev/sdb1        850798664  34844 850763820    1% /media/DD-Interne

Non je n'ai pas eu de message d'erreur il à juste fait une mise à jour c'est pour ça que j'ai continué normalement  ...

Oui je parle de l'Os virtualisé, c'est kali linux qui est installé smile

Concernant la commande

sudo smartctl -a /dev/sda
cocolasticot@cocolasticot-pc:~$ sudo smartctl -a /dev/sda
[sudo] password for cocolasticot: 
smartctl 5.41 2011-06-09 r3365 [i686-linux-3.2.0-60-generic-pae] (local build)
Copyright (C) 2002-11 by Bruce Allen, http://smartmontools.sourceforge.net

=== START OF INFORMATION SECTION ===
Model Family:     SAMSUNG SpinPoint P120
Device Model:     SAMSUNG SP2504C
Serial Number:    S09QJ1GL223438
Firmware Version: VT100-33
User Capacity:    250 058 268 160 bytes [250 GB]
Sector Size:      512 bytes logical/physical
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   7
ATA Standard is:  ATA/ATAPI-7 T13 1532D revision 4a
Local Time is:    Thu Mar 20 13:32:44 2014 CET

==> WARNING: May need -F samsung3 enabled; see manual for details.

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:  (0x82)	Offline data collection activity
					was completed without error.
					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: 		( 4835) 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: 	 (   1) minutes.
Extended self-test routine
recommended polling time: 	 (  80) minutes.

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   100   051    Pre-fail  Always       -       2
  3 Spin_Up_Time            0x0007   100   100   025    Pre-fail  Always       -       6272
  4 Start_Stop_Count        0x0032   093   093   000    Old_age   Always       -       7186
  5 Reallocated_Sector_Ct   0x0033   253   253   010    Pre-fail  Always       -       0
  7 Seek_Error_Rate         0x000f   253   253   051    Pre-fail  Always       -       0
  8 Seek_Time_Performance   0x0025   253   253   015    Pre-fail  Offline      -       0
  9 Power_On_Hours          0x0032   100   100   000    Old_age   Always       -       20868
 10 Spin_Retry_Count        0x0033   253   253   051    Pre-fail  Always       -       0
 11 Calibration_Retry_Count 0x0012   253   002   000    Old_age   Always       -       0
 12 Power_Cycle_Count       0x0032   098   098   000    Old_age   Always       -       2311
190 Airflow_Temperature_Cel 0x0022   142   115   000    Old_age   Always       -       32
194 Temperature_Celsius     0x0022   142   115   000    Old_age   Always       -       32
195 Hardware_ECC_Recovered  0x001a   100   100   000    Old_age   Always       -       17367538
196 Reallocated_Event_Count 0x0032   253   253   000    Old_age   Always       -       0
197 Current_Pending_Sector  0x0012   100   100   000    Old_age   Always       -       2
198 Offline_Uncorrectable   0x0030   253   253   000    Old_age   Offline      -       0
199 UDMA_CRC_Error_Count    0x003e   200   200   000    Old_age   Always       -       0
200 Multi_Zone_Error_Rate   0x000a   100   100   000    Old_age   Always       -       0
201 Soft_Read_Error_Rate    0x000a   100   100   000    Old_age   Always       -       1
202 Data_Address_Mark_Errs  0x0032   253   253   000    Old_age   Always       -       0

SMART Error Log Version: 1
ATA Error Count: 108 (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 108 occurred at disk power-on lifetime: 20868 hours (869 days + 12 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 51 e0 e0 ca 63 e3  Error: UNC 224 sectors at LBA = 0x0363cae0 = 56871648

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  c8 00 e0 e0 ca 63 e3 00      09:39:32.000  READ DMA
  ec 00 00 00 00 00 a0 00      09:39:32.000  IDENTIFY DEVICE
  ef 03 46 00 00 00 a0 00      09:39:32.000  SET FEATURES [Set transfer mode]
  ec 00 00 00 00 00 a0 00      09:39:32.000  IDENTIFY DEVICE

Error 107 occurred at disk power-on lifetime: 20868 hours (869 days + 12 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 51 e0 e0 ca 63 e3  Error: UNC 224 sectors at LBA = 0x0363cae0 = 56871648

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  c8 00 e0 e0 ca 63 e3 00      09:39:30.125  READ DMA
  ec 00 00 00 00 00 a0 00      09:39:30.125  IDENTIFY DEVICE
  ef 03 46 00 00 00 a0 00      09:39:30.125  SET FEATURES [Set transfer mode]
  ec 00 00 00 00 00 a0 00      09:39:30.125  IDENTIFY DEVICE

Error 106 occurred at disk power-on lifetime: 20868 hours (869 days + 12 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 51 e0 e0 ca 63 e3  Error: UNC 224 sectors at LBA = 0x0363cae0 = 56871648

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  c8 00 e0 e0 ca 63 e3 00      09:39:28.250  READ DMA
  ec 00 00 00 00 00 a0 00      09:39:28.250  IDENTIFY DEVICE
  ef 03 46 00 00 00 a0 00      09:39:28.250  SET FEATURES [Set transfer mode]
  ec 00 00 00 00 00 a0 00      09:39:28.250  IDENTIFY DEVICE

Error 105 occurred at disk power-on lifetime: 20868 hours (869 days + 12 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 51 e0 e0 ca 63 e3  Error: UNC 224 sectors at LBA = 0x0363cae0 = 56871648

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  c8 00 e0 e0 ca 63 e3 00      09:39:26.375  READ DMA
  ec 00 00 00 00 00 a0 00      09:39:26.375  IDENTIFY DEVICE
  ef 03 46 00 00 00 a0 00      09:39:26.375  SET FEATURES [Set transfer mode]
  ec 00 00 00 00 00 a0 00      09:39:26.375  IDENTIFY DEVICE

Error 104 occurred at disk power-on lifetime: 20868 hours (869 days + 12 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 51 e0 e0 ca 63 e3  Error: UNC 224 sectors at LBA = 0x0363cae0 = 56871648

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  c8 00 e0 e0 ca 63 e3 00      09:39:24.500  READ DMA
  ec 00 00 00 00 00 a0 00      09:39:24.500  IDENTIFY DEVICE
  ef 03 46 00 00 00 a0 00      09:39:24.500  SET FEATURES [Set transfer mode]
  ec 00 00 00 00 00 a0 00      09:39:24.500  IDENTIFY DEVICE

SMART Self-test log structure revision number 1
No self-tests have been logged.  [To run self-tests, use: smartctl -t]


Note: selective self-test log revision number (0) not 1 implies that no selective self-test has ever been run
SMART Selective self-test log data structure revision number 0
Note: revision number not 1 implies that no selective self-test has ever been run
 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.

Je vois bien la ligne mais je ne sais pas trop ce qu'il faut faire ...

Dernière modification par redwan (Le 20/03/2014, à 14:40)


Un grand pouvoir implique de grandes responsabilités...

Hors ligne

#10 Le 20/03/2014, à 15:32

moko138

Re : PC qui se bloque avec écran noir - Ubuntu 12.04.4 LTS

Tu as 4 Go de ram, tu n'en consommais que 600Mo au moment de la commande, tu as de l'espace et des inodes disponibles. Bien. Mais
ton nombre de "current pending sectors" est monté de un à deux : c'est fâcheux. Donc,
lis la doc fsck
puis

sudo touch /forcefsck

suivi de

sudo reboot

  Après redémarrage, lire /var/log/boot.log et éventuellement en faire une copie datée à fins d'examen et de comparaison, puisque le fichier est réinitialisé à chaque démarrage.


%NOINDEX%
Un utilitaire précieux : ncdu
Photo, mini-tutoriel :  À la découverte de dcraw

Hors ligne

#11 Le 20/03/2014, à 16:52

redwan

Re : PC qui se bloque avec écran noir - Ubuntu 12.04.4 LTS

Voilà c'est fait smile

Pour info :

fsck de util-linux 2.20.1
/dev/sda1 : 262370/15007744 fichiers (0.4% non contigüs), 26357545/60001024 blocs
modem-manager[910]: <info>  ModemManager (version 0.5.2.0) starting...


modem-manager[910]: <info>  Loaded plugin X22X


modem-manager[910]: <info>  Loaded plugin SimTech


modem-manager[910]: <info>  Loaded plugin Ericsson MBM


modem-manager[910]: <info>  Loaded plugin Huawei


modem-manager[910]: <info>  Loaded plugin Samsung


modem-manager[910]: <info>  Loaded plugin Linktop


modem-manager[910]: <info>  Loaded plugin Gobi


modem-manager[910]: <info>  Loaded plugin Option


modem-manager[910]: <info>  Loaded plugin Novatel


modem-manager[910]: <info>  Loaded plugin MotoC


modem-manager[910]: <info>  Loaded plugin ZTE


modem-manager[910]: <info>  Loaded plugin Nokia


modem-manager[910]: <info>  Loaded plugin Option High-Speed


modem-manager[910]: <info>  Loaded plugin Longcheer


modem-manager[910]: <info>  Loaded plugin Generic


modem-manager[910]: <info>  Loaded plugin AnyData


modem-manager[910]: <info>  Loaded plugin Sierra


modem-manager[910]: <info>  Loaded plugin Wavecom


 * Starting system logging daemon[154G[ OK ]
 * Starting mDNS/DNS-SD daemon[154G[ OK ]
 * Starting bluetooth daemon[154G[ OK ]
Skipping profile in /etc/apparmor.d/disable: usr.bin.firefox
Skipping profile in /etc/apparmor.d/disable: usr.sbin.rsyslogd
 * Starting AppArmor profiles       [160G 
[154G[ OK ]
speech-dispatcher disabled; edit /etc/default/speech-dispatcher
WARNING: All config files need .conf: /etc/modprobe.d/alsa-base.conf01, it will be ignored in a future release.
 * Stopping System V initialisation compatibility[154G[ OK ]
 * Starting System V runlevel compatibility[154G[ OK ]
 * Starting automatic crash report generation[154G[ OK ]
 * Starting regular background program processing daemon[154G[ OK ]
 * Starting LightDM Display Manager[154G[ OK ]
 * Starting ACPI daemon[154G[ OK ]
 * Starting anac(h)ronistic cron[154G[ OK ]
 * Starting save kernel messages[154G[ OK ]
 * Starting deferred execution scheduler[154G[ OK ]
 * Starting CPU interrupts balancing daemon[154G[ OK ]
 * Stopping Send an event to indicate plymouth is up[154G[ OK ]
 * Stopping anac(h)ronistic cron[154G[ OK ]

Un grand pouvoir implique de grandes responsabilités...

Hors ligne

#12 Le 20/03/2014, à 17:08

redwan

Re : PC qui se bloque avec écran noir - Ubuntu 12.04.4 LTS

Merci beaucoup pour ton aide moko138 smile

plop ...


Un grand pouvoir implique de grandes responsabilités...

Hors ligne

#13 Le 20/03/2014, à 19:13

moko138

Re : PC qui se bloque avec écran noir - Ubuntu 12.04.4 LTS

Et si tu repasses la commande smartctl..., ça donne... ?


%NOINDEX%
Un utilitaire précieux : ncdu
Photo, mini-tutoriel :  À la découverte de dcraw

Hors ligne

#14 Le 21/03/2014, à 00:56

redwan

Re : PC qui se bloque avec écran noir - Ubuntu 12.04.4 LTS

Voilà :

cocolasticot@cocolasticot-pc:~$ sudo smartctl -a /dev/sda
[sudo] password for cocolasticot: 
smartctl 5.41 2011-06-09 r3365 [i686-linux-3.2.0-60-generic-pae] (local build)
Copyright (C) 2002-11 by Bruce Allen, http://smartmontools.sourceforge.net

=== START OF INFORMATION SECTION ===
Model Family:     SAMSUNG SpinPoint P120
Device Model:     SAMSUNG SP2504C
Serial Number:    S09QJ1GL223438
Firmware Version: VT100-33
User Capacity:    250 058 268 160 bytes [250 GB]
Sector Size:      512 bytes logical/physical
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   7
ATA Standard is:  ATA/ATAPI-7 T13 1532D revision 4a
Local Time is:    Thu Mar 20 23:55:51 2014 CET

==> WARNING: May need -F samsung3 enabled; see manual for details.

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:  (0x84)	Offline data collection activity
					was suspended by an interrupting command from host.
					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: 		( 4835) 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: 	 (   1) minutes.
Extended self-test routine
recommended polling time: 	 (  80) minutes.

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   100   051    Pre-fail  Always       -       2
  3 Spin_Up_Time            0x0007   100   100   025    Pre-fail  Always       -       6272
  4 Start_Stop_Count        0x0032   093   093   000    Old_age   Always       -       7186
  5 Reallocated_Sector_Ct   0x0033   253   253   010    Pre-fail  Always       -       0
  7 Seek_Error_Rate         0x000f   253   253   051    Pre-fail  Always       -       0
  8 Seek_Time_Performance   0x0025   253   253   015    Pre-fail  Offline      -       0
  9 Power_On_Hours          0x0032   100   100   000    Old_age   Always       -       20879
 10 Spin_Retry_Count        0x0033   253   253   051    Pre-fail  Always       -       0
 11 Calibration_Retry_Count 0x0012   253   002   000    Old_age   Always       -       0
 12 Power_Cycle_Count       0x0032   098   098   000    Old_age   Always       -       2311
190 Airflow_Temperature_Cel 0x0022   151   115   000    Old_age   Always       -       29
194 Temperature_Celsius     0x0022   151   115   000    Old_age   Always       -       29
195 Hardware_ECC_Recovered  0x001a   100   100   000    Old_age   Always       -       25065951
196 Reallocated_Event_Count 0x0032   253   253   000    Old_age   Always       -       0
197 Current_Pending_Sector  0x0012   100   100   000    Old_age   Always       -       2
198 Offline_Uncorrectable   0x0030   253   253   000    Old_age   Offline      -       0
199 UDMA_CRC_Error_Count    0x003e   200   200   000    Old_age   Always       -       0
200 Multi_Zone_Error_Rate   0x000a   100   100   000    Old_age   Always       -       0
201 Soft_Read_Error_Rate    0x000a   100   100   000    Old_age   Always       -       1
202 Data_Address_Mark_Errs  0x0032   253   253   000    Old_age   Always       -       0

SMART Error Log Version: 1
ATA Error Count: 318 (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 318 occurred at disk power-on lifetime: 20872 hours (869 days + 16 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 51 e0 e0 ca 63 e3  Error: UNC 224 sectors at LBA = 0x0363cae0 = 56871648

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  c8 00 e0 e0 ca 63 e3 00      14:01:49.063  READ DMA
  ec 00 00 00 00 00 a0 00      14:01:49.063  IDENTIFY DEVICE
  ef 03 46 00 00 00 a0 00      14:01:49.063  SET FEATURES [Set transfer mode]
  ec 00 00 00 00 00 a0 00      14:01:49.063  IDENTIFY DEVICE

Error 317 occurred at disk power-on lifetime: 20872 hours (869 days + 16 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 51 e0 e0 ca 63 e3  Error: UNC 224 sectors at LBA = 0x0363cae0 = 56871648

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  c8 00 e0 e0 ca 63 e3 00      14:01:47.188  READ DMA
  ec 00 00 00 00 00 a0 00      14:01:47.188  IDENTIFY DEVICE
  ef 03 46 00 00 00 a0 00      14:01:47.188  SET FEATURES [Set transfer mode]
  ec 00 00 00 00 00 a0 00      14:01:47.188  IDENTIFY DEVICE

Error 316 occurred at disk power-on lifetime: 20872 hours (869 days + 16 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 51 e0 e0 ca 63 e3  Error: UNC 224 sectors at LBA = 0x0363cae0 = 56871648

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  c8 00 e0 e0 ca 63 e3 00      14:01:45.375  READ DMA
  ec 00 00 00 00 00 a0 00      14:01:45.313  IDENTIFY DEVICE
  ef 03 46 00 00 00 a0 00      14:01:45.313  SET FEATURES [Set transfer mode]
  ec 00 00 00 00 00 a0 00      14:01:45.313  IDENTIFY DEVICE

Error 315 occurred at disk power-on lifetime: 20872 hours (869 days + 16 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 51 e0 e0 ca 63 e3  Error: UNC 224 sectors at LBA = 0x0363cae0 = 56871648

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  c8 00 e0 e0 ca 63 e3 00      14:01:43.438  READ DMA
  ec 00 00 00 00 00 a0 00      14:01:43.438  IDENTIFY DEVICE
  ef 03 46 00 00 00 a0 00      14:01:43.438  SET FEATURES [Set transfer mode]
  ec 00 00 00 00 00 a0 00      14:01:43.438  IDENTIFY DEVICE

Error 314 occurred at disk power-on lifetime: 20872 hours (869 days + 16 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 51 e0 e0 ca 63 e3  Error: UNC 224 sectors at LBA = 0x0363cae0 = 56871648

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  c8 00 e0 e0 ca 63 e3 00      14:01:41.563  READ DMA
  ec 00 00 00 00 00 a0 00      14:01:41.563  IDENTIFY DEVICE
  ef 03 46 00 00 00 a0 00      14:01:41.563  SET FEATURES [Set transfer mode]
  ec 00 00 00 00 00 a0 00      14:01:41.563  IDENTIFY DEVICE

SMART Self-test log structure revision number 1
No self-tests have been logged.  [To run self-tests, use: smartctl -t]


Note: selective self-test log revision number (0) not 1 implies that no selective self-test has ever been run
SMART Selective self-test log data structure revision number 0
Note: revision number not 1 implies that no selective self-test has ever been run
 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.

Un grand pouvoir implique de grandes responsabilités...

Hors ligne

#15 Le 21/03/2014, à 00:58

redwan

Re : PC qui se bloque avec écran noir - Ubuntu 12.04.4 LTS

Je crois que cela n'a rien changé non ? Car je vois toujours Pending sector 02 ...


Un grand pouvoir implique de grandes responsabilités...

Hors ligne

#16 Le 21/03/2014, à 05:18

moko138

Re : PC qui se bloque avec écran noir - Ubuntu 12.04.4 LTS

Sauvegarde tes données, si ce n'est pas déjà fait.
Pense à changer de disque.
Pour avoir le point de vue d'un expert, contacte Nasman ou Jamesbad000.

Dernière modification par moko138 (Le 21/03/2014, à 14:52)


%NOINDEX%
Un utilitaire précieux : ncdu
Photo, mini-tutoriel :  À la découverte de dcraw

Hors ligne

#17 Le 21/03/2014, à 14:31

redwan

Re : PC qui se bloque avec écran noir - Ubuntu 12.04.4 LTS

J'ai déjà eu un soucis avec mon disque dur ... C'est peut être ça ...

je vais voir avec eux merci ^^


Un grand pouvoir implique de grandes responsabilités...

Hors ligne