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.

#26 Le 13/03/2018, à 12:13

maxire

Re : Désactivation IPv6 difficile avec carte Realtek

Salut,

La commande systemd-analyze time confirme le temps de démarrage que tu as mesuré en précisant que ce temps de démarrage se répartit en 4,5 s de chargement du noyau et 1mn47s de démarrage de l'espace utilisateur.
La commande systemd-analyze critical-chain ne fournit pas d'information pertinente donc je sèche un peu.
Peut-être que:

systemd-analyze --pager=no blame

nous donnera plus d'information?
Cette commande établit une liste des services démarrés ordonnée du service le plus lent à démarrer au plus rapide.

Donne également le résultat de:

sudo du -shx /var/log/journal

Si tu sauvegardes le journal de systemd sur disque, il est possible qu'il soit devenu trop gros.

Dernière modification par maxire (Le 13/03/2018, à 12:38)


Maxire
Archlinux/Mate + Ubuntu 22.04 + Archlinux/Gnome sur poste de travail

Hors ligne

#27 Le 13/03/2018, à 13:52

hibou7

Re : Désactivation IPv6 difficile avec carte Realtek

Salut maxire et merci de ton suivi

gb@greg-desktop:~$ systemd-analyze --pager=no blame
systemd-analyze : option non reconnue « --pager=no »

Mais j'ai vu une option --no-pager dans la page man (?)

greg@greg-desktop:/home/gb$ sudo du -shx /var/log/journal
[sudo] Mot de passe de greg : 
du: impossible d'accéder à '/var/log/journal': Aucun fichier ou dossier de ce type

Je ne vois effectivement pas de /var/log/journal dans mon système de fichiers.

Dernière modification par hibou7 (Le 13/03/2018, à 13:53)


Xubuntu 22.04 sur HP ENVY TS Sleekbook 4 | CPU: Intel Core i5-3337U  | RAM: 8 Gio
Débuter en Console
Si GNU/Linux ne répond plus, le redémarrer proprement avec la combinaison de touches:
Alt + SysRq + REISUB (Retourne en Islande sur un bateau).

Hors ligne

#28 Le 13/03/2018, à 14:05

maxire

Re : Désactivation IPv6 difficile avec carte Realtek

EUh oui, --no-pager au lieu de --pager=no, désolé.
Donc le problème ne vient pas du journal SystemD puisque tu ne le conserves pas.


Maxire
Archlinux/Mate + Ubuntu 22.04 + Archlinux/Gnome sur poste de travail

Hors ligne

#29 Le 14/03/2018, à 00:04

hibou7

Re : Désactivation IPv6 difficile avec carte Realtek

OK merci. Voici le retour:

gb@greg-desktop:~$ systemd-analyze --no-pager
Startup finished in 4.684s (kernel) + 57.252s (userspace) = 1min 1.937s

Xubuntu 22.04 sur HP ENVY TS Sleekbook 4 | CPU: Intel Core i5-3337U  | RAM: 8 Gio
Débuter en Console
Si GNU/Linux ne répond plus, le redémarrer proprement avec la combinaison de touches:
Alt + SysRq + REISUB (Retourne en Islande sur un bateau).

Hors ligne

#30 Le 14/03/2018, à 00:53

moko138

Re : Désactivation IPv6 difficile avec carte Realtek

systemd-analyze --no-pager blame  (si j'ai bien suivi). Puisque

maxire a écrit :

Cette commande établit une liste des services démarrés ordonnée du service le plus lent à démarrer au plus rapide.


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

Hors ligne

#31 Le 14/03/2018, à 10:37

hibou7

Re : Désactivation IPv6 difficile avec carte Realtek

Merci et voilà

gregexp@greg-desktop:~$ systemd-analyze --no-pager blame
         29.562s apt-daily-upgrade.service
         18.506s ModemManager.service
         17.610s dev-sda1.device
         16.391s timidity.service
         14.672s snapd.service
         14.273s apparmor.service
         12.337s NetworkManager.service
          9.275s NetworkManager-wait-online.service
          6.469s udev-configure-printer@-devices-pci0000:00-0000:00:10.4-usb1-1\x2d3.service
          5.098s networking.service
          4.915s systemd-logind.service
          4.645s alsa-restore.service
          4.630s gpu-manager.service
          4.498s pppd-dns.service
          4.199s accounts-daemon.service
          3.607s console-setup.service
          3.410s lightdm.service
          3.281s rsyslog.service
          2.915s polkitd.service
          2.781s systemd-udevd.service
          2.722s grub-common.service
          2.504s systemd-tmpfiles-setup-dev.service
          2.374s keyboard-setup.service
          2.344s dev-disk-by\x2duuid-0a24113d\x2dd683\x2d4487\x2d8068\x2d6e26bdc43aae.swap
          1.944s systemd-tmpfiles-setup.service
          1.698s colord.service
          1.533s systemd-journald.service
          1.453s plymouth-start.service
          1.356s avahi-daemon.service
          1.279s irqbalance.service
          1.063s sys-kernel-debug.mount
          1.014s resolvconf.service
           920ms apport.service
           900ms dev-mqueue.mount
           868ms systemd-update-utmp.service
           824ms ondemand.service
           751ms upower.service
           745ms systemd-sysctl.service
           739ms dev-hugepages.mount
           685ms ufw.service
           622ms systemd-udev-trigger.service
           602ms udisks2.service
           585ms systemd-timesyncd.service
           569ms systemd-journal-flush.service
           526ms geoclue.service
           489ms plymouth-read-write.service
           362ms wpa_supplicant.service
           359ms systemd-random-seed.service
           335ms speech-dispatcher.service
           318ms kmod-static-nodes.service
           231ms systemd-user-sessions.service
           209ms systemd-remount-fs.service
           174ms snapd.socket
           129ms hddtemp.service
           122ms setvtrgb.service
           101ms systemd-modules-load.service
            88ms user@1002.service
            74ms rc-local.service
            33ms systemd-update-utmp-runlevel.service
            26ms systemd-tmpfiles-clean.service
            20ms rtkit-daemon.service
            19ms ureadahead-stop.service
            15ms sys-fs-fuse-connections.mount
             3ms plymouth-quit-wait.service
gregexp@greg-desktop:~$ 

On commence à y voir plus clair non?
Dev-sda1 device, c'est ma partition sur le disque dur, elle est bien pleine effectivement.
Sinon apt-daily-upgrade.service et  ModemManager.service, je ne connais pas encore...

Un petit détail encore: éteindre cet ordi prend très peu de temps, env 4 sec.

Dernière modification par hibou7 (Le 14/03/2018, à 10:47)


Xubuntu 22.04 sur HP ENVY TS Sleekbook 4 | CPU: Intel Core i5-3337U  | RAM: 8 Gio
Débuter en Console
Si GNU/Linux ne répond plus, le redémarrer proprement avec la combinaison de touches:
Alt + SysRq + REISUB (Retourne en Islande sur un bateau).

Hors ligne

#32 Le 14/03/2018, à 11:43

maxire

Re : Désactivation IPv6 difficile avec carte Realtek

Salut,

C'est plus clair avec un bémol systemd-analyze blame donne les temps de démarrage de tous les services actifs y-compris ceux qui ne sont pas démarrés au démarrage du système.

Le démarrage de la partition semble anormalement long.
NetworkManager/ModemManager reste un bon suspect ainsi que apt-daily-upgrade (mise à jour automatique du système) qui à mon avis est problématique en règle générale car il vient en concurrence avec les autres outils Debian comme Synaptic.
apt-daily-upgrade est difficile à désactiver, possible uniquement à l'artillerie lourde.

Je ne sais pas trop quoi en penser.

J'essaierais un démarrage avec NetworkManager désactivé pour voir.

sudo systemctl disable NetworkManager

Puis redémarrage.

Pour activer NetworkManager:

sudo systemctl start NetworkManager
sudo systemctl enable NetworkManager

Dernière modification par maxire (Le 14/03/2018, à 11:44)


Maxire
Archlinux/Mate + Ubuntu 22.04 + Archlinux/Gnome sur poste de travail

Hors ligne

#33 Le 14/03/2018, à 11:47

maxire

Re : Désactivation IPv6 difficile avec carte Realtek

Peut-être contrôler le disque dur également?
Pour cela je botte en touche, je crois que moko138 est plus compétent que moi à ce sujet.


Maxire
Archlinux/Mate + Ubuntu 22.04 + Archlinux/Gnome sur poste de travail

Hors ligne

#34 Le 14/03/2018, à 22:26

hibou7

Re : Désactivation IPv6 difficile avec carte Realtek

Salut

j'ai redémarré avec NeworkManager désactivé. Même temps de boot: 100 sec
Pour contrôler le disque dur, j'ai fait le test court avec smartmontools.
Il ne semble pas y avoir d'erreurs:

greg@greg-desktop:/home/gregexp$ sudo smartctl -q errorsonly -H -l selftest /dev/sdb
greg@greg-desktop:/home/gregexp$ 

Bon, ne vous cassez pas trop la tête.
Après tout cette machine fonctionne et c'est le principal.
Qui sait, le castor bionique résoudra peut-être le problème de lenteur au boot.

En tout cas j'ai appris à connaître beaucoup de nouvelles possibilités diagnostiques avec vous.
Grand merci.

Cordialement
hibou7


Xubuntu 22.04 sur HP ENVY TS Sleekbook 4 | CPU: Intel Core i5-3337U  | RAM: 8 Gio
Débuter en Console
Si GNU/Linux ne répond plus, le redémarrer proprement avec la combinaison de touches:
Alt + SysRq + REISUB (Retourne en Islande sur un bateau).

Hors ligne

#35 Le 15/03/2018, à 06:32

moko138

Re : Désactivation IPv6 difficile avec carte Realtek

         29.562s apt-daily-upgrade.service
         16.391s timidity.service

  - -

La Doc a écrit :

Timidity est un synthétiseur logiciel pour la prise en charge du MIDI.

Tu peux le sortir du démarrage, non ? lol
  - -
Personnellement, je désinstalle update-notifier et je lance à la main les update et les nettoyages ; c'est un choix et qui est sans doute peu adapté à une utilisation familiale. Que donne dans 16.04 cette simulation

sudo apt-get -s remove update-notifier

?
  - -

L'état des disques :

sudo parted -l
sudo smartctl -s on -a /dev/sda
sudo smartctl -s on -a /dev/sdb

Mais les dmesg ne montrent pas d'erreur d'entrée-sortie ni de LBA illisible. C'est même étonnant pour le Maxtor de 80 Go, 7.200 rpm, sata 1,5 Go/s, qui devrait accuser son âge.


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

Hors ligne

#36 Le 15/03/2018, à 10:07

maxire

Re : Désactivation IPv6 difficile avec carte Realtek

Je ne comprends pas, hibou7 contrôle un disque /dev/sdb alors que c'est un disque /dev/sda qui est monté!

+1 pour enlever apt-daily-upgrade, je ne comprends pas du tout comment désactiver ce service.


Maxire
Archlinux/Mate + Ubuntu 22.04 + Archlinux/Gnome sur poste de travail

Hors ligne

#37 Le 15/03/2018, à 18:28

moko138

Re : Désactivation IPv6 difficile avec carte Realtek

+1 pour enlever apt-daily-upgrade, je ne comprends pas du tout comment désactiver ce service.

Est-ce que ça n'est pas le réglage de synaptic
  > configuration > préférences > ...
?

AJOUT :
     Apparemment, ce réglage (vérifier tous les x jours) n'est plus disponible quand on a supprimé le paquet "update-notifier".

Dernière modification par moko138 (Le 15/03/2018, à 18:30)


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

Hors ligne

#38 Le 15/03/2018, à 23:34

hibou7

Re : Désactivation IPv6 difficile avec carte Realtek

Merci pour vos réflexions.

greg@greg-desktop:/home/gregexp$ sudo apt-get -s remove update-notifier
[sudo] Mot de passe de greg : 
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances       
Lecture des informations d'état... Fait
Les paquets suivants seront ENLEVÉS :
  ubuntu-release-upgrader-gtk update-manager update-notifier xubuntu-desktop
0 mis à jour, 0 nouvellement installés, 4 à enlever et 23 non mis à jour.
Remv xubuntu-desktop [2.206]
Remv update-notifier [3.168.7] [update-manager:i386 ]
Remv update-manager [1:16.04.12] [ubuntu-release-upgrader-gtk:i386 ]
Remv ubuntu-release-upgrader-gtk [1:16.04.24]
greg@greg-desktop:/home/gregexp$
greg@greg-desktop:/home/gregexp$ sudo parted -l
Modèle: ATA Maxtor 6Y080M0 (scsi)
Disque /dev/sda : 82,0GB
Taille des secteurs (logiques/physiques): 512B/512B
Table de partitions : msdos
Disk Flags: 

Numéro  Début   Fin     Taille  Type      Système de fichiers  Fanions
 1      1049kB  79,8GB  79,8GB  primary   ext4                 démarrage
 2      79,8GB  82,0GB  2146MB  extended
 5      79,8GB  82,0GB  2146MB  logical   linux-swap(v1)

greg@greg-desktop:/home/gregexp$
greg@greg-desktop:/home/gregexp$ sudo smartctl -s on -a /dev/sda
smartctl 6.5 2016-01-24 r4214 [i686-linux-4.4.0-116-generic] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family:     Maxtor DiamondMax Plus 9
Device Model:     Maxtor 6Y080M0
Serial Number:    Y23E37NE
Firmware Version: YAR51HW0
User Capacity:    81 964 302 336 bytes [81,9 GB]
Sector Size:      512 bytes logical/physical
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   ATA/ATAPI-7 T13/1532D revision 0
Local Time is:    Thu Mar 15 23:20:17 2018 CET
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

=== START OF ENABLE/DISABLE COMMANDS SECTION ===
SMART 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: 		(  241) 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.
					No General Purpose Logging support.
Short self-test routine 
recommended polling time: 	 (   2) minutes.
Extended self-test routine
recommended polling time: 	 (  37) 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
  3 Spin_Up_Time            0x0027   226   226   063    Pre-fail  Always       -       9096
  4 Start_Stop_Count        0x0032   253   253   000    Old_age   Always       -       631
  5 Reallocated_Sector_Ct   0x0033   253   253   063    Pre-fail  Always       -       0
  6 Read_Channel_Margin     0x0001   253   253   100    Pre-fail  Offline      -       0
  7 Seek_Error_Rate         0x000a   253   252   000    Old_age   Always       -       0
  8 Seek_Time_Performance   0x0027   248   242   187    Pre-fail  Always       -       32907
  9 Power_On_Minutes        0x0032   245   245   000    Old_age   Always       -       749h+13m
 10 Spin_Retry_Count        0x002b   253   252   157    Pre-fail  Always       -       0
 11 Calibration_Retry_Count 0x002b   253   252   223    Pre-fail  Always       -       0
 12 Power_Cycle_Count       0x0032   246   246   000    Old_age   Always       -       2880
192 Power-Off_Retract_Count 0x0032   253   253   000    Old_age   Always       -       0
193 Load_Cycle_Count        0x0032   253   253   000    Old_age   Always       -       0
194 Temperature_Celsius     0x0032   253   253   000    Old_age   Always       -       29
195 Hardware_ECC_Recovered  0x000a   253   252   000    Old_age   Always       -       17989
196 Reallocated_Event_Count 0x0008   253   253   000    Old_age   Offline      -       0
197 Current_Pending_Sector  0x0008   253   253   000    Old_age   Offline      -       0
198 Offline_Uncorrectable   0x0008   253   253   000    Old_age   Offline      -       0
199 UDMA_CRC_Error_Count    0x0008   199   199   000    Old_age   Offline      -       0
200 Multi_Zone_Error_Rate   0x000a   253   252   000    Old_age   Always       -       0
201 Soft_Read_Error_Rate    0x000a   253   252   000    Old_age   Always       -       4
202 Data_Address_Mark_Errs  0x000a   253   252   000    Old_age   Always       -       0
203 Run_Out_Cancel          0x000b   253   252   180    Pre-fail  Always       -       6
204 Soft_ECC_Correction     0x000a   253   252   000    Old_age   Always       -       0
205 Thermal_Asperity_Rate   0x000a   253   252   000    Old_age   Always       -       0
207 Spin_High_Current       0x002a   253   252   000    Old_age   Always       -       0
208 Spin_Buzz               0x002a   253   252   000    Old_age   Always       -       0
209 Offline_Seek_Performnce 0x0024   192   192   000    Old_age   Offline      -       0
 99 Unknown_Attribute       0x0004   253   253   000    Old_age   Offline      -       0
100 Unknown_Attribute       0x0004   253   253   000    Old_age   Offline      -       0
101 Unknown_Attribute       0x0004   253   253   000    Old_age   Offline      -       0

SMART Error Log Version: 1
ATA Error Count: 3
	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 3 occurred at disk power-on lifetime: 29 hours (1 days + 5 hours)
  When the command that caused the error occurred, the device was in an unknown state.

  After command completion occurred, registers were:
  ER ST SC SN CL CH DH
  -- -- -- -- -- -- --
  84 51 00 9f 00 61 e0  Error: ICRC, ABRT at LBA = 0x0061009f = 6357151

  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 03 08 9f 00 61 e0 00      01:16:13.136  READ DMA
  ca 03 10 57 e1 5e e0 00      01:16:13.120  WRITE DMA
  c8 03 20 17 2b 6f e8 00      01:16:13.104  READ DMA
  ca 03 80 47 3d c6 e7 00      01:16:13.088  WRITE DMA
  c8 03 40 ff cc c1 e0 00      01:16:13.072  READ DMA

Error 2 occurred at disk power-on lifetime: 35 hours (1 days + 11 hours)
  When the command that caused the error occurred, the device was in an unknown state.

  After command completion occurred, registers were:
  ER ST SC SN CL CH DH
  -- -- -- -- -- -- --
  84 51 00 17 26 63 e0  Error: ICRC, ABRT at LBA = 0x00632617 = 6497815

  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 03 08 17 26 63 e0 00      07:51:09.344  READ DMA
  c8 03 08 7f 30 63 e0 00      07:51:09.328  READ DMA
  c8 03 08 27 2f 63 e0 00      07:51:09.328  READ DMA
  c8 03 08 47 15 63 e0 00      07:51:09.328  READ DMA
  c8 03 08 67 15 63 e0 00      07:51:09.328  READ DMA

Error 1 occurred at disk power-on lifetime: 21 hours (0 days + 21 hours)
  When the command that caused the error occurred, the device was in an unknown state.

  After command completion occurred, registers were:
  ER ST SC SN CL CH DH
  -- -- -- -- -- -- --
  84 51 00 57 26 61 e0  Error: ICRC, ABRT at LBA = 0x00612657 = 6366807

  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 03 08 57 26 61 e0 00      04:14:02.016  READ DMA
  c8 03 08 ef 12 12 e5 00      04:14:02.000  READ DMA
  c8 03 08 c7 21 61 e0 00      04:14:01.984  READ DMA
  c8 03 08 47 22 61 e0 00      04:14:01.984  READ DMA
  c8 03 08 67 8b db e4 00      04:14:01.968  READ DMA

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%      2740         -
# 2  Extended offline    Completed without error       00%       164         -
# 3  Extended offline    Completed without error       00%        30         -
# 4  Short offline       Completed without error       00%        30         -
# 5  Short offline       Completed without error       00%        30         -

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.

greg@greg-desktop:/home/gregexp$ 
greg@greg-desktop:/home/gregexp$ sudo smartctl -s on -a /dev/sdb
smartctl 6.5 2016-01-24 r4214 [i686-linux-4.4.0-116-generic] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org

/dev/sdb: Unknown USB bridge [0x03f0:0x5a11 (0x100)]
Please specify device type with the -d option.

Use smartctl -h to get a usage summary

greg@greg-desktop:/home/gregexp$

@moko138
Pour sortir Timidity du démarrage, je suis allé dans
Menu > Paramètres > Session et démarrage > Onglet "Démarrage automatique d'applications"
Mais là, pas de Timidity dans la liste...

@maxire
J'ai d'abord voulu contrôler sda, mais le système ne l'a pas trouvé.
J'ai regardé dans gparted, qui ne trouva qu'un sdb dans ma machine.

Le système est bien installé sur le Maxtor 80 Gio, SATA, j'en suis sûr.
J'ai bien un autre disque dans la machine (ide 70 Gio), mais il n'est pas branché.
Je n'ai pas compris non plus. neutral

Mon disque est-il monté correctement?

[EDIT] Je viens de retourner sur Gparted, et aujourd'hui c'est un sda.

Dernière modification par hibou7 (Le 15/03/2018, à 23:41)


Xubuntu 22.04 sur HP ENVY TS Sleekbook 4 | CPU: Intel Core i5-3337U  | RAM: 8 Gio
Débuter en Console
Si GNU/Linux ne répond plus, le redémarrer proprement avec la combinaison de touches:
Alt + SysRq + REISUB (Retourne en Islande sur un bateau).

Hors ligne

#39 Le 16/03/2018, à 08:40

moko138

Re : Désactivation IPv6 difficile avec carte Realtek

Ton adaptateur USB

/dev/sdb: Unknown USB bridge [0x03f0:0x5a11

n'est pas répertorié sur
ht tps://www.smartmontools.org/wiki/Supported_USB-Devices

Donc, branche d'abord l'autre disque
  et vérifie s'il est toujours vu comme sdb
  puis essaie ces six variantes :

sudo smartctl -s on -a -d usbsunplus /dev/sdb
sudo smartctl -s on -a -d sat /dev/sdb
sudo smartctl -s on -a -d ata /dev/sdb
sudo smartctl -s on -a -d scsi /dev/sdb
sudo smartctl -s on -a -d auto -T verypermissive /dev/sdb
sudo smartctl -s on -a -d test -T verypermissive /dev/sdb

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

Hors ligne

#40 Le 16/03/2018, à 12:18

maxire

Re : Désactivation IPv6 difficile avec carte Realtek

Pour information, j'ai fait passer le temps de démarrage d'une Debian Stratch de 1mn37s à 50s en désactivant apt-daily-upgrade.
Pas besoin de supprimer le paquet update-notifier, il suffit dans  l'application <<Mises à jour logicielles>> d'aller dans les préférences et de désactiver la recherche automatique de mises à jour.

Ceci confirme que ce truc de mise à jour automatique est bien pourri!


Maxire
Archlinux/Mate + Ubuntu 22.04 + Archlinux/Gnome sur poste de travail

Hors ligne

#41 Le 16/03/2018, à 23:02

hibou7

Re : Désactivation IPv6 difficile avec carte Realtek

@moko138

J'ai branché le disque IDE en esclave.
Dans le BIOS, j'ai réglé le boot sur le Maxtor SATA
Gparted reconnaît bien les 2 disques:
-le disque IDE (HDS) est sda
-le disque SATA (Maxtor) est sdb

Depuis que j'ai branché le deuxième disque, le temps de boot s'est réduit à 85 sec. de la mise sous tension à l'écran de login (au lieu de 100).

Dans le BIOS, j'ai testé l'option "optimal defaults"
le boot se fait en 60 sec mais on atterrit sur le disque IDE.
À l'utilisation ce disque est ensuite nettement plus lent que le disque SATA

Pour les retours de commande, voici:

greg@greg-desktop:/home/gregexp$ sudo smartctl -s on -a -d usbsunplus /dev/sdb
[sudo] Mot de passe de greg : 
smartctl 6.5 2016-01-24 r4214 [i686-linux-4.4.0-116-generic] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org

Read Device Identity failed: scsi error unsupported scsi opcode

A mandatory SMART command failed: exiting. To continue, add one or more '-T permissive' options.
greg@greg-desktop:/home/gregexp$
greg@greg-desktop:/home/gregexp$ sudo smartctl -s on -a -d sat /dev/sdb
smartctl 6.5 2016-01-24 r4214 [i686-linux-4.4.0-116-generic] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family:     Maxtor DiamondMax Plus 9
Device Model:     Maxtor 6Y080M0
Serial Number:    Y23E37NE
Firmware Version: YAR51HW0
User Capacity:    81 964 302 336 bytes [81,9 GB]
Sector Size:      512 bytes logical/physical
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   ATA/ATAPI-7 T13/1532D revision 0
Local Time is:    Fri Mar 16 22:40:28 2018 CET
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

=== START OF ENABLE/DISABLE COMMANDS SECTION ===
SMART 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: 		(  241) 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.
					No General Purpose Logging support.
Short self-test routine 
recommended polling time: 	 (   2) minutes.
Extended self-test routine
recommended polling time: 	 (  37) 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
  3 Spin_Up_Time            0x0027   226   226   063    Pre-fail  Always       -       9874
  4 Start_Stop_Count        0x0032   253   253   000    Old_age   Always       -       638
  5 Reallocated_Sector_Ct   0x0033   253   253   063    Pre-fail  Always       -       0
  6 Read_Channel_Margin     0x0001   253   253   100    Pre-fail  Offline      -       0
  7 Seek_Error_Rate         0x000a   253   252   000    Old_age   Always       -       0
  8 Seek_Time_Performance   0x0027   248   242   187    Pre-fail  Always       -       62903
  9 Power_On_Minutes        0x0032   245   245   000    Old_age   Always       -       757h+48m
 10 Spin_Retry_Count        0x002b   253   252   157    Pre-fail  Always       -       0
 11 Calibration_Retry_Count 0x002b   253   252   223    Pre-fail  Always       -       0
 12 Power_Cycle_Count       0x0032   246   246   000    Old_age   Always       -       2888
192 Power-Off_Retract_Count 0x0032   253   253   000    Old_age   Always       -       0
193 Load_Cycle_Count        0x0032   253   253   000    Old_age   Always       -       0
194 Temperature_Celsius     0x0032   253   253   000    Old_age   Always       -       31
195 Hardware_ECC_Recovered  0x000a   253   252   000    Old_age   Always       -       22268
196 Reallocated_Event_Count 0x0008   253   253   000    Old_age   Offline      -       0
197 Current_Pending_Sector  0x0008   253   253   000    Old_age   Offline      -       0
198 Offline_Uncorrectable   0x0008   253   253   000    Old_age   Offline      -       0
199 UDMA_CRC_Error_Count    0x0008   199   199   000    Old_age   Offline      -       0
200 Multi_Zone_Error_Rate   0x000a   253   252   000    Old_age   Always       -       0
201 Soft_Read_Error_Rate    0x000a   253   252   000    Old_age   Always       -       10
202 Data_Address_Mark_Errs  0x000a   253   252   000    Old_age   Always       -       0
203 Run_Out_Cancel          0x000b   253   252   180    Pre-fail  Always       -       20
204 Soft_ECC_Correction     0x000a   253   252   000    Old_age   Always       -       0
205 Thermal_Asperity_Rate   0x000a   253   252   000    Old_age   Always       -       0
207 Spin_High_Current       0x002a   253   252   000    Old_age   Always       -       0
208 Spin_Buzz               0x002a   253   252   000    Old_age   Always       -       0
209 Offline_Seek_Performnce 0x0024   192   192   000    Old_age   Offline      -       0
 99 Unknown_Attribute       0x0004   253   253   000    Old_age   Offline      -       0
100 Unknown_Attribute       0x0004   253   253   000    Old_age   Offline      -       0
101 Unknown_Attribute       0x0004   253   253   000    Old_age   Offline      -       0

SMART Error Log Version: 1
ATA Error Count: 3
	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 3 occurred at disk power-on lifetime: 29 hours (1 days + 5 hours)
  When the command that caused the error occurred, the device was in an unknown state.

  After command completion occurred, registers were:
  ER ST SC SN CL CH DH
  -- -- -- -- -- -- --
  84 51 00 9f 00 61 e0  Error: ICRC, ABRT at LBA = 0x0061009f = 6357151

  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 03 08 9f 00 61 e0 00      01:16:13.136  READ DMA
  ca 03 10 57 e1 5e e0 00      01:16:13.120  WRITE DMA
  c8 03 20 17 2b 6f e8 00      01:16:13.104  READ DMA
  ca 03 80 47 3d c6 e7 00      01:16:13.088  WRITE DMA
  c8 03 40 ff cc c1 e0 00      01:16:13.072  READ DMA

Error 2 occurred at disk power-on lifetime: 35 hours (1 days + 11 hours)
  When the command that caused the error occurred, the device was in an unknown state.

  After command completion occurred, registers were:
  ER ST SC SN CL CH DH
  -- -- -- -- -- -- --
  84 51 00 17 26 63 e0  Error: ICRC, ABRT at LBA = 0x00632617 = 6497815

  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 03 08 17 26 63 e0 00      07:51:09.344  READ DMA
  c8 03 08 7f 30 63 e0 00      07:51:09.328  READ DMA
  c8 03 08 27 2f 63 e0 00      07:51:09.328  READ DMA
  c8 03 08 47 15 63 e0 00      07:51:09.328  READ DMA
  c8 03 08 67 15 63 e0 00      07:51:09.328  READ DMA

Error 1 occurred at disk power-on lifetime: 21 hours (0 days + 21 hours)
  When the command that caused the error occurred, the device was in an unknown state.

  After command completion occurred, registers were:
  ER ST SC SN CL CH DH
  -- -- -- -- -- -- --
  84 51 00 57 26 61 e0  Error: ICRC, ABRT at LBA = 0x00612657 = 6366807

  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 03 08 57 26 61 e0 00      04:14:02.016  READ DMA
  c8 03 08 ef 12 12 e5 00      04:14:02.000  READ DMA
  c8 03 08 c7 21 61 e0 00      04:14:01.984  READ DMA
  c8 03 08 47 22 61 e0 00      04:14:01.984  READ DMA
  c8 03 08 67 8b db e4 00      04:14:01.968  READ DMA

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%      2740         -
# 2  Extended offline    Completed without error       00%       164         -
# 3  Extended offline    Completed without error       00%        30         -
# 4  Short offline       Completed without error       00%        30         -
# 5  Short offline       Completed without error       00%        30         -

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.

greg@greg-desktop:/home/gregexp$
greg@greg-desktop:/home/gregexp$ sudo smartctl -s on -a -d ata /dev/sdb
smartctl 6.5 2016-01-24 r4214 [i686-linux-4.4.0-116-generic] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family:     Maxtor DiamondMax Plus 9
Device Model:     Maxtor 6Y080M0
Serial Number:    Y23E37NE
Firmware Version: YAR51HW0
User Capacity:    81 964 302 336 bytes [81,9 GB]
Sector Size:      512 bytes logical/physical
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   ATA/ATAPI-7 T13/1532D revision 0
Local Time is:    Fri Mar 16 22:41:48 2018 CET
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

=== START OF ENABLE/DISABLE COMMANDS SECTION ===
SMART 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: 		(  241) 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.
					No General Purpose Logging support.
Short self-test routine 
recommended polling time: 	 (   2) minutes.
Extended self-test routine
recommended polling time: 	 (  37) 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
  3 Spin_Up_Time            0x0027   226   226   063    Pre-fail  Always       -       9874
  4 Start_Stop_Count        0x0032   253   253   000    Old_age   Always       -       638
  5 Reallocated_Sector_Ct   0x0033   253   253   063    Pre-fail  Always       -       0
  6 Read_Channel_Margin     0x0001   253   253   100    Pre-fail  Offline      -       0
  7 Seek_Error_Rate         0x000a   253   252   000    Old_age   Always       -       0
  8 Seek_Time_Performance   0x0027   248   242   187    Pre-fail  Always       -       62935
  9 Power_On_Minutes        0x0032   245   245   000    Old_age   Always       -       757h+49m
 10 Spin_Retry_Count        0x002b   253   252   157    Pre-fail  Always       -       0
 11 Calibration_Retry_Count 0x002b   253   252   223    Pre-fail  Always       -       0
 12 Power_Cycle_Count       0x0032   246   246   000    Old_age   Always       -       2888
192 Power-Off_Retract_Count 0x0032   253   253   000    Old_age   Always       -       0
193 Load_Cycle_Count        0x0032   253   253   000    Old_age   Always       -       0
194 Temperature_Celsius     0x0032   253   253   000    Old_age   Always       -       34
195 Hardware_ECC_Recovered  0x000a   253   252   000    Old_age   Always       -       22268
196 Reallocated_Event_Count 0x0008   253   253   000    Old_age   Offline      -       0
197 Current_Pending_Sector  0x0008   253   253   000    Old_age   Offline      -       0
198 Offline_Uncorrectable   0x0008   253   253   000    Old_age   Offline      -       0
199 UDMA_CRC_Error_Count    0x0008   199   199   000    Old_age   Offline      -       0
200 Multi_Zone_Error_Rate   0x000a   253   252   000    Old_age   Always       -       0
201 Soft_Read_Error_Rate    0x000a   253   252   000    Old_age   Always       -       10
202 Data_Address_Mark_Errs  0x000a   253   252   000    Old_age   Always       -       0
203 Run_Out_Cancel          0x000b   253   252   180    Pre-fail  Always       -       20
204 Soft_ECC_Correction     0x000a   253   252   000    Old_age   Always       -       0
205 Thermal_Asperity_Rate   0x000a   253   252   000    Old_age   Always       -       0
207 Spin_High_Current       0x002a   253   252   000    Old_age   Always       -       0
208 Spin_Buzz               0x002a   253   252   000    Old_age   Always       -       0
209 Offline_Seek_Performnce 0x0024   192   192   000    Old_age   Offline      -       0
 99 Unknown_Attribute       0x0004   253   253   000    Old_age   Offline      -       0
100 Unknown_Attribute       0x0004   253   253   000    Old_age   Offline      -       0
101 Unknown_Attribute       0x0004   253   253   000    Old_age   Offline      -       0

SMART Error Log Version: 1
ATA Error Count: 3
	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 3 occurred at disk power-on lifetime: 29 hours (1 days + 5 hours)
  When the command that caused the error occurred, the device was in an unknown state.

  After command completion occurred, registers were:
  ER ST SC SN CL CH DH
  -- -- -- -- -- -- --
  84 51 00 9f 00 61 e0  Error: ICRC, ABRT at LBA = 0x0061009f = 6357151

  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 03 08 9f 00 61 e0 00      01:16:13.136  READ DMA
  ca 03 10 57 e1 5e e0 00      01:16:13.120  WRITE DMA
  c8 03 20 17 2b 6f e8 00      01:16:13.104  READ DMA
  ca 03 80 47 3d c6 e7 00      01:16:13.088  WRITE DMA
  c8 03 40 ff cc c1 e0 00      01:16:13.072  READ DMA

Error 2 occurred at disk power-on lifetime: 35 hours (1 days + 11 hours)
  When the command that caused the error occurred, the device was in an unknown state.

  After command completion occurred, registers were:
  ER ST SC SN CL CH DH
  -- -- -- -- -- -- --
  84 51 00 17 26 63 e0  Error: ICRC, ABRT at LBA = 0x00632617 = 6497815

  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 03 08 17 26 63 e0 00      07:51:09.344  READ DMA
  c8 03 08 7f 30 63 e0 00      07:51:09.328  READ DMA
  c8 03 08 27 2f 63 e0 00      07:51:09.328  READ DMA
  c8 03 08 47 15 63 e0 00      07:51:09.328  READ DMA
  c8 03 08 67 15 63 e0 00      07:51:09.328  READ DMA

Error 1 occurred at disk power-on lifetime: 21 hours (0 days + 21 hours)
  When the command that caused the error occurred, the device was in an unknown state.

  After command completion occurred, registers were:
  ER ST SC SN CL CH DH
  -- -- -- -- -- -- --
  84 51 00 57 26 61 e0  Error: ICRC, ABRT at LBA = 0x00612657 = 6366807

  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 03 08 57 26 61 e0 00      04:14:02.016  READ DMA
  c8 03 08 ef 12 12 e5 00      04:14:02.000  READ DMA
  c8 03 08 c7 21 61 e0 00      04:14:01.984  READ DMA
  c8 03 08 47 22 61 e0 00      04:14:01.984  READ DMA
  c8 03 08 67 8b db e4 00      04:14:01.968  READ DMA

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%      2740         -
# 2  Extended offline    Completed without error       00%       164         -
# 3  Extended offline    Completed without error       00%        30         -
# 4  Short offline       Completed without error       00%        30         -
# 5  Short offline       Completed without error       00%        30         -

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.

greg@greg-desktop:/home/gregexp$
greg@greg-desktop:/home/gregexp$ sudo smartctl -s on -a -d scsi /dev/sdb
smartctl 6.5 2016-01-24 r4214 [i686-linux-4.4.0-116-generic] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org

User Capacity:        81 964 302 336 bytes [81,9 GB]
Logical block size:   512 bytes
LB provisioning type: unreported, LBPME=-1, LBPRZ=0
Serial number:        Y23E37NE
Device type:          disk
Local Time is:        Fri Mar 16 22:42:33 2018 CET
SMART support is:     Unavailable - device lacks SMART capability.

=== START OF ENABLE/DISABLE COMMANDS SECTION ===
unable to fetch IEC (SMART) mode page [unsupported field in scsi command]
A mandatory SMART command failed: exiting. To continue, add one or more '-T permissive' options.
greg@greg-desktop:/home/gregexp$
 sudo smartctl -s on -a -d auto -T verypermissive /dev/sdb
smartctl 6.5 2016-01-24 r4214 [i686-linux-4.4.0-116-generic] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family:     Maxtor DiamondMax Plus 9
Device Model:     Maxtor 6Y080M0
Serial Number:    Y23E37NE
Firmware Version: YAR51HW0
User Capacity:    81 964 302 336 bytes [81,9 GB]
Sector Size:      512 bytes logical/physical
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   ATA/ATAPI-7 T13/1532D revision 0
Local Time is:    Fri Mar 16 22:43:11 2018 CET
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

=== START OF ENABLE/DISABLE COMMANDS SECTION ===
SMART 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: 		(  241) 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.
					No General Purpose Logging support.
Short self-test routine 
recommended polling time: 	 (   2) minutes.
Extended self-test routine
recommended polling time: 	 (  37) 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
  3 Spin_Up_Time            0x0027   226   226   063    Pre-fail  Always       -       9874
  4 Start_Stop_Count        0x0032   253   253   000    Old_age   Always       -       638
  5 Reallocated_Sector_Ct   0x0033   253   253   063    Pre-fail  Always       -       0
  6 Read_Channel_Margin     0x0001   253   253   100    Pre-fail  Offline      -       0
  7 Seek_Error_Rate         0x000a   253   252   000    Old_age   Always       -       0
  8 Seek_Time_Performance   0x0027   248   242   187    Pre-fail  Always       -       63168
  9 Power_On_Minutes        0x0032   245   245   000    Old_age   Always       -       757h+50m
 10 Spin_Retry_Count        0x002b   253   252   157    Pre-fail  Always       -       0
 11 Calibration_Retry_Count 0x002b   253   252   223    Pre-fail  Always       -       0
 12 Power_Cycle_Count       0x0032   246   246   000    Old_age   Always       -       2888
192 Power-Off_Retract_Count 0x0032   253   253   000    Old_age   Always       -       0
193 Load_Cycle_Count        0x0032   253   253   000    Old_age   Always       -       0
194 Temperature_Celsius     0x0032   253   253   000    Old_age   Always       -       31
195 Hardware_ECC_Recovered  0x000a   253   252   000    Old_age   Always       -       22304
196 Reallocated_Event_Count 0x0008   253   253   000    Old_age   Offline      -       0
197 Current_Pending_Sector  0x0008   253   253   000    Old_age   Offline      -       0
198 Offline_Uncorrectable   0x0008   253   253   000    Old_age   Offline      -       0
199 UDMA_CRC_Error_Count    0x0008   199   199   000    Old_age   Offline      -       0
200 Multi_Zone_Error_Rate   0x000a   253   252   000    Old_age   Always       -       0
201 Soft_Read_Error_Rate    0x000a   253   252   000    Old_age   Always       -       10
202 Data_Address_Mark_Errs  0x000a   253   252   000    Old_age   Always       -       0
203 Run_Out_Cancel          0x000b   253   252   180    Pre-fail  Always       -       20
204 Soft_ECC_Correction     0x000a   253   252   000    Old_age   Always       -       0
205 Thermal_Asperity_Rate   0x000a   253   252   000    Old_age   Always       -       0
207 Spin_High_Current       0x002a   253   252   000    Old_age   Always       -       0
208 Spin_Buzz               0x002a   253   252   000    Old_age   Always       -       0
209 Offline_Seek_Performnce 0x0024   192   192   000    Old_age   Offline      -       0
 99 Unknown_Attribute       0x0004   253   253   000    Old_age   Offline      -       0
100 Unknown_Attribute       0x0004   253   253   000    Old_age   Offline      -       0
101 Unknown_Attribute       0x0004   253   253   000    Old_age   Offline      -       0

SMART Error Log Version: 1
ATA Error Count: 3
	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 3 occurred at disk power-on lifetime: 29 hours (1 days + 5 hours)
  When the command that caused the error occurred, the device was in an unknown state.

  After command completion occurred, registers were:
  ER ST SC SN CL CH DH
  -- -- -- -- -- -- --
  84 51 00 9f 00 61 e0  Error: ICRC, ABRT at LBA = 0x0061009f = 6357151

  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 03 08 9f 00 61 e0 00      01:16:13.136  READ DMA
  ca 03 10 57 e1 5e e0 00      01:16:13.120  WRITE DMA
  c8 03 20 17 2b 6f e8 00      01:16:13.104  READ DMA
  ca 03 80 47 3d c6 e7 00      01:16:13.088  WRITE DMA
  c8 03 40 ff cc c1 e0 00      01:16:13.072  READ DMA

Error 2 occurred at disk power-on lifetime: 35 hours (1 days + 11 hours)
  When the command that caused the error occurred, the device was in an unknown state.

  After command completion occurred, registers were:
  ER ST SC SN CL CH DH
  -- -- -- -- -- -- --
  84 51 00 17 26 63 e0  Error: ICRC, ABRT at LBA = 0x00632617 = 6497815

  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 03 08 17 26 63 e0 00      07:51:09.344  READ DMA
  c8 03 08 7f 30 63 e0 00      07:51:09.328  READ DMA
  c8 03 08 27 2f 63 e0 00      07:51:09.328  READ DMA
  c8 03 08 47 15 63 e0 00      07:51:09.328  READ DMA
  c8 03 08 67 15 63 e0 00      07:51:09.328  READ DMA

Error 1 occurred at disk power-on lifetime: 21 hours (0 days + 21 hours)
  When the command that caused the error occurred, the device was in an unknown state.

  After command completion occurred, registers were:
  ER ST SC SN CL CH DH
  -- -- -- -- -- -- --
  84 51 00 57 26 61 e0  Error: ICRC, ABRT at LBA = 0x00612657 = 6366807

  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 03 08 57 26 61 e0 00      04:14:02.016  READ DMA
  c8 03 08 ef 12 12 e5 00      04:14:02.000  READ DMA
  c8 03 08 c7 21 61 e0 00      04:14:01.984  READ DMA
  c8 03 08 47 22 61 e0 00      04:14:01.984  READ DMA
  c8 03 08 67 8b db e4 00      04:14:01.968  READ DMA

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%      2740         -
# 2  Extended offline    Completed without error       00%       164         -
# 3  Extended offline    Completed without error       00%        30         -
# 4  Short offline       Completed without error       00%        30         -
# 5  Short offline       Completed without error       00%        30         -

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.

greg@greg-desktop:/home/gregexp$ 
greg@greg-desktop:/home/gregexp$ sudo smartctl -s on -a -d test -T verypermissive /dev/sdb
smartctl 6.5 2016-01-24 r4214 [i686-linux-4.4.0-116-generic] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org

/dev/sdb: Device of type 'scsi' [SCSI] detected
/dev/sdb [SAT]: Device open changed type from 'scsi' to 'sat'
/dev/sdb [SAT]: Device of type 'sat' [ATA] opened
greg@greg-desktop:/home/gregexp$

@maxire
Sous Xubuntu, je suis allé dans
Menu  > Paramètres > Logiciels & mises à jour > Mises à jour > Vérifier automatiquement les mises à jour
et j'ai mis sur "jamais".

Mais ça n'apporte pas d'amélioration supplémentaire au temps de boot.

Dernière modification par hibou7 (Le 16/03/2018, à 23:46)


Xubuntu 22.04 sur HP ENVY TS Sleekbook 4 | CPU: Intel Core i5-3337U  | RAM: 8 Gio
Débuter en Console
Si GNU/Linux ne répond plus, le redémarrer proprement avec la combinaison de touches:
Alt + SysRq + REISUB (Retourne en Islande sur un bateau).

Hors ligne

#42 Le 17/03/2018, à 01:16

hibou7

Re : Désactivation IPv6 difficile avec carte Realtek

Ouff! Entretemps j'ai eu chaud!
Dans le BIOS, j'ai voulu tester l'option "high performance defaults".
Et pfft, je n'avais plus rien: écran noir, pas de tonalité de départ, pas d'affichage du BIOS, rien.
Je me voyais déjà chercher une autre machine...

J'ai tenté à tout hasard la remise à zéro du BIOS.
https://www.pcastuces.com/pratique/mate … /page1.htm
À la troisième opération (enlever la pile du BIOS pour quelques minutes) ça a marché cool

Bon. Assez fait de bêtises pour un jour. Je vais me coucher...

Dernière modification par hibou7 (Le 17/03/2018, à 01:17)


Xubuntu 22.04 sur HP ENVY TS Sleekbook 4 | CPU: Intel Core i5-3337U  | RAM: 8 Gio
Débuter en Console
Si GNU/Linux ne répond plus, le redémarrer proprement avec la combinaison de touches:
Alt + SysRq + REISUB (Retourne en Islande sur un bateau).

Hors ligne

#43 Le 17/03/2018, à 04:50

moko138

Re : Désactivation IPv6 difficile avec carte Realtek

hibou7,
le but est de contrôler les deux disques.
Avec ta permutation, on a lu deux fois les données smart du

Maxtor DiamondMax Plus 9
Device Model:     Maxtor 6Y080M0
Serial Number:    Y23E37NE
(...)
Error 3 occurred at disk power-on lifetime: 29 hours (1 days + 5 hours)

et on n'a toujours pas les données smart de l'autre disque, celui qui
en #38, avant permutation, était derrière le « Unknown USB bridge [0x03f0:0x5a11 » !


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

Hors ligne

#44 Le 18/03/2018, à 22:10

hibou7

Re : Désactivation IPv6 difficile avec carte Realtek

Merci moko138

à l'époque du #38 je n'avais qu'un disque dur branché (SATA). Par contre il y avait un nappe IDE branchée à la carte-mère, mais pas raccordée au deuxième disque. D'oû peut-être le cafouillage de la commande?

Entretemps j'ai branché le 2e disque (IDE) en esclave. Ce qui donne
Je reprends ici la commande du #38:

greg@greg-desktop:/home/gregexp$ sudo smartctl -s on -a /dev/sda
[sudo] Mot de passe de greg : 
smartctl 6.5 2016-01-24 r4214 [i686-linux-4.4.0-116-generic] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family:     Maxtor DiamondMax Plus 9
Device Model:     Maxtor 6Y080M0
Serial Number:    Y23E37NE
Firmware Version: YAR51HW0
User Capacity:    81 964 302 336 bytes [81,9 GB]
Sector Size:      512 bytes logical/physical
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   ATA/ATAPI-7 T13/1532D revision 0
Local Time is:    Sun Mar 18 22:03:59 2018 CET
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

=== START OF ENABLE/DISABLE COMMANDS SECTION ===
SMART 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: 		(  241) 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.
					No General Purpose Logging support.
Short self-test routine 
recommended polling time: 	 (   2) minutes.
Extended self-test routine
recommended polling time: 	 (  37) 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
  3 Spin_Up_Time            0x0027   226   226   063    Pre-fail  Always       -       10873
  4 Start_Stop_Count        0x0032   253   253   000    Old_age   Always       -       647
  5 Reallocated_Sector_Ct   0x0033   253   253   063    Pre-fail  Always       -       0
  6 Read_Channel_Margin     0x0001   253   253   100    Pre-fail  Offline      -       0
  7 Seek_Error_Rate         0x000a   253   252   000    Old_age   Always       -       0
  8 Seek_Time_Performance   0x0027   250   242   187    Pre-fail  Always       -       47157
  9 Power_On_Minutes        0x0032   245   245   000    Old_age   Always       -       779h+49m
 10 Spin_Retry_Count        0x002b   253   252   157    Pre-fail  Always       -       0
 11 Calibration_Retry_Count 0x002b   253   252   223    Pre-fail  Always       -       0
 12 Power_Cycle_Count       0x0032   246   246   000    Old_age   Always       -       2904
192 Power-Off_Retract_Count 0x0032   253   253   000    Old_age   Always       -       0
193 Load_Cycle_Count        0x0032   253   253   000    Old_age   Always       -       0
194 Temperature_Celsius     0x0032   253   253   000    Old_age   Always       -       29
195 Hardware_ECC_Recovered  0x000a   253   252   000    Old_age   Always       -       24581
196 Reallocated_Event_Count 0x0008   253   253   000    Old_age   Offline      -       0
197 Current_Pending_Sector  0x0008   253   253   000    Old_age   Offline      -       0
198 Offline_Uncorrectable   0x0008   253   253   000    Old_age   Offline      -       0
199 UDMA_CRC_Error_Count    0x0008   199   199   000    Old_age   Offline      -       0
200 Multi_Zone_Error_Rate   0x000a   253   252   000    Old_age   Always       -       0
201 Soft_Read_Error_Rate    0x000a   253   252   000    Old_age   Always       -       6
202 Data_Address_Mark_Errs  0x000a   253   252   000    Old_age   Always       -       0
203 Run_Out_Cancel          0x000b   253   252   180    Pre-fail  Always       -       18
204 Soft_ECC_Correction     0x000a   253   252   000    Old_age   Always       -       0
205 Thermal_Asperity_Rate   0x000a   253   252   000    Old_age   Always       -       0
207 Spin_High_Current       0x002a   253   252   000    Old_age   Always       -       0
208 Spin_Buzz               0x002a   253   252   000    Old_age   Always       -       0
209 Offline_Seek_Performnce 0x0024   192   192   000    Old_age   Offline      -       0
 99 Unknown_Attribute       0x0004   253   253   000    Old_age   Offline      -       0
100 Unknown_Attribute       0x0004   253   253   000    Old_age   Offline      -       0
101 Unknown_Attribute       0x0004   253   253   000    Old_age   Offline      -       0

SMART Error Log Version: 1
ATA Error Count: 3
	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 3 occurred at disk power-on lifetime: 29 hours (1 days + 5 hours)
  When the command that caused the error occurred, the device was in an unknown state.

  After command completion occurred, registers were:
  ER ST SC SN CL CH DH
  -- -- -- -- -- -- --
  84 51 00 9f 00 61 e0  Error: ICRC, ABRT at LBA = 0x0061009f = 6357151

  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 03 08 9f 00 61 e0 00      01:16:13.136  READ DMA
  ca 03 10 57 e1 5e e0 00      01:16:13.120  WRITE DMA
  c8 03 20 17 2b 6f e8 00      01:16:13.104  READ DMA
  ca 03 80 47 3d c6 e7 00      01:16:13.088  WRITE DMA
  c8 03 40 ff cc c1 e0 00      01:16:13.072  READ DMA

Error 2 occurred at disk power-on lifetime: 35 hours (1 days + 11 hours)
  When the command that caused the error occurred, the device was in an unknown state.

  After command completion occurred, registers were:
  ER ST SC SN CL CH DH
  -- -- -- -- -- -- --
  84 51 00 17 26 63 e0  Error: ICRC, ABRT at LBA = 0x00632617 = 6497815

  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 03 08 17 26 63 e0 00      07:51:09.344  READ DMA
  c8 03 08 7f 30 63 e0 00      07:51:09.328  READ DMA
  c8 03 08 27 2f 63 e0 00      07:51:09.328  READ DMA
  c8 03 08 47 15 63 e0 00      07:51:09.328  READ DMA
  c8 03 08 67 15 63 e0 00      07:51:09.328  READ DMA

Error 1 occurred at disk power-on lifetime: 21 hours (0 days + 21 hours)
  When the command that caused the error occurred, the device was in an unknown state.

  After command completion occurred, registers were:
  ER ST SC SN CL CH DH
  -- -- -- -- -- -- --
  84 51 00 57 26 61 e0  Error: ICRC, ABRT at LBA = 0x00612657 = 6366807

  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 03 08 57 26 61 e0 00      04:14:02.016  READ DMA
  c8 03 08 ef 12 12 e5 00      04:14:02.000  READ DMA
  c8 03 08 c7 21 61 e0 00      04:14:01.984  READ DMA
  c8 03 08 47 22 61 e0 00      04:14:01.984  READ DMA
  c8 03 08 67 8b db e4 00      04:14:01.968  READ DMA

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%      2740         -
# 2  Extended offline    Completed without error       00%       164         -
# 3  Extended offline    Completed without error       00%        30         -
# 4  Short offline       Completed without error       00%        30         -
# 5  Short offline       Completed without error       00%        30         -

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.

greg@greg-desktop:/home/gregexp$ 
greg@greg-desktop:/home/gregexp$ sudo smartctl -s on -a /dev/sdb
[sudo] Mot de passe de greg : 
smartctl 6.5 2016-01-24 r4214 [i686-linux-4.4.0-116-generic] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family:     Hitachi Deskstar 7K250
Device Model:     HDS722580VLAT20
Serial Number:    VNR21FC2S59VLL
Firmware Version: V32OA60A
User Capacity:    82 348 277 760 bytes [82,3 GB]
Sector Size:      512 bytes logical/physical
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   ATA/ATAPI-6 T13/1410D revision 3a
Local Time is:    Sun Mar 18 22:06:11 2018 CET
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

=== START OF ENABLE/DISABLE COMMANDS SECTION ===
SMART 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: 		( 1828) seconds.
Offline data collection
capabilities: 			 (0x1b) 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.
					No 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: 	 (  31) 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     0x000b   100   100   060    Pre-fail  Always       -       0
  2 Throughput_Performance  0x0005   100   100   050    Pre-fail  Offline      -       0
  3 Spin_Up_Time            0x0007   095   095   024    Pre-fail  Always       -       215 (Average 203)
  4 Start_Stop_Count        0x0012   097   097   000    Old_age   Always       -       13025
  5 Reallocated_Sector_Ct   0x0033   100   100   005    Pre-fail  Always       -       0
  7 Seek_Error_Rate         0x000b   100   100   067    Pre-fail  Always       -       0
  8 Seek_Time_Performance   0x0005   100   100   020    Pre-fail  Offline      -       0
  9 Power_On_Hours          0x0012   097   097   000    Old_age   Always       -       23671
 10 Spin_Retry_Count        0x0013   100   100   060    Pre-fail  Always       -       0
 12 Power_Cycle_Count       0x0032   097   097   000    Old_age   Always       -       13025
192 Power-Off_Retract_Count 0x0032   088   088   050    Old_age   Always       -       15564
193 Load_Cycle_Count        0x0012   088   088   050    Old_age   Always       -       15564
194 Temperature_Celsius     0x0002   183   183   000    Old_age   Always       -       30 (Min/Max 14/49)
196 Reallocated_Event_Count 0x0032   100   100   000    Old_age   Always       -       0
197 Current_Pending_Sector  0x0022   100   100   000    Old_age   Always       -       0
198 Offline_Uncorrectable   0x0008   100   100   000    Old_age   Offline      -       0
199 UDMA_CRC_Error_Count    0x000a   200   200   000    Old_age   Always       -       0

SMART Error Log Version: 1
ATA Error Count: 78 (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 78 occurred at disk power-on lifetime: 5408 hours (225 days + 8 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
  -- -- -- -- -- -- --
  01 51 01 3e ce 60 e0  Error: AMNF 1 sectors at LBA = 0x0060ce3e = 6344254

  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 d8 08 37 ce 60 e0 00      00:31:53.200  READ DMA
  c8 d8 08 37 ce 60 e0 00      00:31:48.400  READ DMA
  c8 d8 08 a7 97 5f e0 00      00:31:48.400  READ DMA
  c8 d8 08 9f 97 5f e0 00      00:31:48.400  READ DMA
  c8 d8 08 97 97 5f e0 00      00:31:48.400  READ DMA

Error 77 occurred at disk power-on lifetime: 5408 hours (225 days + 8 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
  -- -- -- -- -- -- --
  01 51 01 3e ce 60 e0  Error: AMNF 1 sectors at LBA = 0x0060ce3e = 6344254

  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 d8 08 37 ce 60 e0 00      00:31:48.400  READ DMA
  c8 d8 08 a7 97 5f e0 00      00:31:48.400  READ DMA
  c8 d8 08 9f 97 5f e0 00      00:31:48.400  READ DMA
  c8 d8 08 97 97 5f e0 00      00:31:48.400  READ DMA
  c8 d8 08 8f 97 5f e0 00      00:31:48.400  READ DMA

Error 76 occurred at disk power-on lifetime: 5408 hours (225 days + 8 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
  -- -- -- -- -- -- --
  01 51 01 3e ce 60 e0  Error: AMNF 1 sectors at LBA = 0x0060ce3e = 6344254

  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 d8 08 37 ce 60 e0 00      00:31:42.500  READ DMA
  c8 d8 08 37 ce 60 e0 00      00:31:37.700  READ DMA
  c8 d8 08 a7 97 5f e0 00      00:31:37.700  READ DMA
  c8 d8 08 9f 97 5f e0 00      00:31:37.700  READ DMA
  c8 d8 08 97 97 5f e0 00      00:31:37.700  READ DMA

Error 75 occurred at disk power-on lifetime: 5408 hours (225 days + 8 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
  -- -- -- -- -- -- --
  01 51 01 3e ce 60 e0  Error: AMNF 1 sectors at LBA = 0x0060ce3e = 6344254

  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 d8 08 37 ce 60 e0 00      00:31:37.700  READ DMA
  c8 d8 08 a7 97 5f e0 00      00:31:37.700  READ DMA
  c8 d8 08 9f 97 5f e0 00      00:31:37.700  READ DMA
  c8 d8 08 97 97 5f e0 00      00:31:37.700  READ DMA
  c8 d8 08 8f 97 5f e0 00      00:31:37.700  READ DMA

Error 74 occurred at disk power-on lifetime: 5408 hours (225 days + 8 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
  -- -- -- -- -- -- --
  01 51 01 3e ce 60 e0  Error: AMNF 1 sectors at LBA = 0x0060ce3e = 6344254

  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 d8 08 37 ce 60 e0 00      00:31:18.400  READ DMA
  c8 d8 08 37 ce 60 e0 00      00:31:13.700  READ DMA
  c8 d8 08 a7 97 5f e0 00      00:31:13.700  READ DMA
  c8 d8 08 9f 97 5f e0 00      00:31:13.700  READ DMA
  c8 d8 08 97 97 5f e0 00      00:31:13.700  READ DMA

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%     22402         -
# 2  Extended offline    Completed without error       00%     16542         -
# 3  Short offline       Completed without error       00%     16529         -

Selective Self-tests/Logging not supported

greg@greg-desktop:/home/gregexp$ 

[EDIT] Je viens de tenter une petite expérience et j'ai démarré la machine en ayant débranché le câble internet.
Le résultat est le même  pour le temps de boot: à partir de la mise sous tension, 60 sec jusquà l'écran d'attente Xubuntu, et 85 sec jusquà l'écran de login.

Dernière modification par hibou7 (Le 18/03/2018, à 22:18)


Xubuntu 22.04 sur HP ENVY TS Sleekbook 4 | CPU: Intel Core i5-3337U  | RAM: 8 Gio
Débuter en Console
Si GNU/Linux ne répond plus, le redémarrer proprement avec la combinaison de touches:
Alt + SysRq + REISUB (Retourne en Islande sur un bateau).

Hors ligne

#45 Le 19/03/2018, à 04:26

moko138

Re : Désactivation IPv6 difficile avec carte Realtek

à l'époque du #38 je n'avais qu'un disque dur branché (SATA).

Étrange :
sudo parted -l ne voit qu'un disque,
mais sudo smartctl -s on -a /dev/sdb   répond

/dev/sdb: Unknown USB bridge [0x03f0:0x5a11

  - -


L'Hitachi
Il a 23.000 heures :

  9 Power_On_Hours          0x0012   097   097   000       23671

et
Error 78 occurred at disk power-on lifetime: 5408 hours
avec erreur récurrente au secteur 6344254, soit à 3,025 Gio environ.
Mais erreur ancienne.

À surveiller régulièrement : un rapport smart par mois, à comparer aux précédents et à conserver.
  - -


Le Maxtor 82 Gio
malgré son peu d'heures de fonctionnement :

  9 Power_On_Minutes        0x0032   245   245   000       749h+13m

- mais un disque rotatif de 82 Gio est une antiquité -
est défectueux à plusieurs points de vue :
9 secondes (!) pour atteindre sa pleine vitesse de rotation.
195 Hardware_ECC_Recovered :       17989 (Ce n'est pas un nombre, mais un indice)

wikipedia a écrit :

201     Soft Read Error Rate or TA Counter Detected     
    Count indicates the number of uncorrectable software read errors

dont ht tps://kb.acronis.com/content/9137 dit :

Recommendations
This is a critical parameter. Degradation of this parameter may indicate imminent drive failure. Urgent data backup and hardware replacement is recommended.

  - -

wikipedia a écrit :

203     Run Out Cancel     The number of errors caused by incorrect checksum during the error correction.

ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
  3 Spin_Up_Time            0x0027   226   226   063    Pre-fail  Always       -       9096
  4 Start_Stop_Count        0x0032   253   253   000    Old_age   Always       -       631
  5 Reallocated_Sector_Ct   0x0033   253   253   063    Pre-fail  Always       -       0
  6 Read_Channel_Margin     0x0001   253   253   100    Pre-fail  Offline      -       0
  7 Seek_Error_Rate         0x000a   253   252   000    Old_age   Always       -       0
  8 Seek_Time_Performance   0x0027   248   242   187    Pre-fail  Always       -       32907
  9 Power_On_Minutes        0x0032   245   245   000    Old_age   Always       -       749h+13m
 10 Spin_Retry_Count        0x002b   253   252   157    Pre-fail  Always       -       0
 11 Calibration_Retry_Count 0x002b   253   252   223    Pre-fail  Always       -       0
 12 Power_Cycle_Count       0x0032   246   246   000    Old_age   Always       -       2880
192 Power-Off_Retract_Count 0x0032   253   253   000    Old_age   Always       -       0
193 Load_Cycle_Count        0x0032   253   253   000    Old_age   Always       -       0
194 Temperature_Celsius     0x0032   253   253   000    Old_age   Always       -       29
195 Hardware_ECC_Recovered  0x000a   253   252   000    Old_age   Always       -       17989
196 Reallocated_Event_Count 0x0008   253   253   000    Old_age   Offline      -       0
197 Current_Pending_Sector  0x0008   253   253   000    Old_age   Offline      -       0
198 Offline_Uncorrectable   0x0008   253   253   000    Old_age   Offline      -       0
199 UDMA_CRC_Error_Count    0x0008   199   199   000    Old_age   Offline      -       0
200 Multi_Zone_Error_Rate   0x000a   253   252   000    Old_age   Always       -       0
201 Soft_Read_Error_Rate    0x000a   253   252   000    Old_age   Always       -       4
202 Data_Address_Mark_Errs  0x000a   253   252   000    Old_age   Always       -       0
203 Run_Out_Cancel          0x000b   253   252   180    Pre-fail  Always       -       6
204 Soft_ECC_Correction     0x000a   253   252   000    Old_age   Always       -       0
205 Thermal_Asperity_Rate   0x000a   253   252   000    Old_age   Always       -       0
207 Spin_High_Current       0x002a   253   252   000    Old_age   Always       -       0
208 Spin_Buzz               0x002a   253   252   000    Old_age   Always       -       0
209 Offline_Seek_Performnce 0x0024   192   192   000    Old_age   Offline      -       0
 99 Unknown_Attribute       0x0004   253   253   000    Old_age   Offline      -       0
100 Unknown_Attribute       0x0004   253   253   000    Old_age   Offline      -       0
101 Unknown_Attribute       0x0004   253   253   000    Old_age   Offline      -       0

SMART Error Log Version: 1
ATA Error Count: 3
	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 3 occurred at disk power-on lifetime: 29 hours (1 days + 5 hours)
  When the command that caused the error occurred, the device was in an unknown state.

  After command completion occurred, registers were:
  ER ST SC SN CL CH DH
  -- -- -- -- -- -- --
  84 51 00 9f 00 61 e0  Error: ICRC, ABRT at LBA = 0x0061009f = 6357151

  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 03 08 9f 00 61 e0 00      01:16:13.136  READ DMA
  ca 03 10 57 e1 5e e0 00      01:16:13.120  WRITE DMA
  c8 03 20 17 2b 6f e8 00      01:16:13.104  READ DMA
  ca 03 80 47 3d c6 e7 00      01:16:13.088  WRITE DMA
  c8 03 40 ff cc c1 e0 00      01:16:13.072  READ DMA

Error 2 occurred at disk power-on lifetime: 35 hours (1 days + 11 hours)
  When the command that caused the error occurred, the device was in an unknown state.

  After command completion occurred, registers were:
  ER ST SC SN CL CH DH
  -- -- -- -- -- -- --
  84 51 00 17 26 63 e0  Error: ICRC, ABRT at LBA = 0x00632617 = 6497815

  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 03 08 17 26 63 e0 00      07:51:09.344  READ DMA
  c8 03 08 7f 30 63 e0 00      07:51:09.328  READ DMA
  c8 03 08 27 2f 63 e0 00      07:51:09.328  READ DMA
  c8 03 08 47 15 63 e0 00      07:51:09.328  READ DMA
  c8 03 08 67 15 63 e0 00      07:51:09.328  READ DMA

Error 1 occurred at disk power-on lifetime: 21 hours (0 days + 21 hours)
  READ DMA  (...)  WRITE DMA

Et c'étaient les valeurs en #38, à 749 heures. Mais ça a empiré depuis !
En effet, à 779 heures, donc après seulement 30 heures de plus, on a :

201 Soft_Read_Error_Rate    0x000a   253   252   000       6  ## +2 !

203 Run_Out_Cancel          0x000b   253   252   180       18  ## +12 !

  - -


Conclusions :
Le Maxtor 82 Gio a été ou mal fabriqué ou stocké de façon non conforme pendant des années.
Ou les deux.
Il y a des erreurs matérielles ET logicielles signalées.
À 35 heures, ce disque en était déjà à trois erreurs.
Faire jouer la garantie légale.

N'oublie pas de surveiller l'Hitachi pour autant.


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

Hors ligne

#46 Le 19/03/2018, à 23:02

hibou7

Re : Désactivation IPv6 difficile avec carte Realtek

Salut moko 138,

grand merci pour ton rapport détaillé.
Bon, je vais changer ce Maxtor assez vite.
Je n'ai pas de garantie légale dessus, j'ai récupéré l'ordi chez une connaissance.
Une personne qui fume beaucoup. J'ai bien remarqué en le nettoyant.
Le dd est-il bourré de nicotine et de goudrons?

Un disque rotatif de 82 Gio est une antiquité

Bien sûr, mais je ne travaille qu'avec du matériel recyclé, par conviction.
Chose que le distributions légères GNU/Linux rendent possible smile

Est-il pensable que le mauvais état du disque dur ralentisse le boot?

Pour l'Hitachi, je pensais l'utiliser comme média de stockage.
Suivant la taille du nouveau disque, on verra si j'en ai vraiment besoin.

Un ami qui a le même genre d'équipement s'est acheté un petit SSD pour le système et un disque rotatif pour les données. Qu'en penses-tu?


Xubuntu 22.04 sur HP ENVY TS Sleekbook 4 | CPU: Intel Core i5-3337U  | RAM: 8 Gio
Débuter en Console
Si GNU/Linux ne répond plus, le redémarrer proprement avec la combinaison de touches:
Alt + SysRq + REISUB (Retourne en Islande sur un bateau).

Hors ligne

#47 Le 20/03/2018, à 00:08

moko138

Re : Désactivation IPv6 difficile avec carte Realtek

Le dd est-il bourré de nicotine et de goudrons?

Les lecteurs optiques (de CD /DVD) sont évidemment perturbés par nicotine, goudron et poussière.
Mais les DD sont étanches (du moins la partie plateau + tête de lecture) sans quoi ils ne feraient pas de vieux os.

  - -

je ne travaille qu'avec du matériel recyclé, par conviction.

Moi idem. Mais les DD s'usent, comme un vélo ou une voiture.
Donc quand on récupère un vieux pc, lire les données smart du DD est une des premières choses à faire !
Et moi qui ai récupéré pas mal de pc dans la rue voire aux poubelles, j'estime à au moins 7 sur 10 les cas où l'usure du DD a motivé la décision de mise au rebut de la machine entière.
Un DD et une clef usb sont les dernières choses que j'achèterais d'occasion (d'ailleurs j'ai déjà donné, et une seule fois je n'ai pas été déçu).

  - -

Est-il pensable que le mauvais état du disque dur ralentisse le boot?

En général, bien sûr ! Et là tu as déjà 9 secondes pour atteindre la pleine vitesse de rotation !
Toutefois, je ne me souviens pas d'avoir vu dans tes dmesg de message d'erreur concernant les classiques :
"erreur d'entrée/sortie / I/O error", "at LBA xxxxxxx".

Le mal peut être plus insidieux :
lecture correcte du secteur mais échec de la vérification par somme de contrôle (203 : "errors caused by incorrect checksum during the error correction" ). Ça, ton Maxtor l'a !
Ou usure de la mécanique de la tête de lecture, d'où placement imprécis. Ça, ton Maxtor l'a !

  8 Seek_Time_Performance   0x0027   248   242   187    Pre-fail       32907
 10 Spin_Retry_Count        
 11 Calibration_Retry_Count

Ou une des puces du DD qui transmet mal les données.
Ou le tampon/cache du disque qui dysfonctionne.
Ou la connectique empoussiérée (grand classique méconnu), repérable à des "ata (...) error" dans dmesg.

D'autres fois, c'est sur la carte-mère qu'un composant chargé de la communication avec le DD pédale dans la semoule.
Ou alim sollicitée par un excès de périphériques.
Ou... ou...

  - -

Un ami qui a le même genre d'équipement s'est acheté un petit SSD pour le système et un disque rotatif pour les données. Qu'en penses-tu?

Pas testé, donc pas d'opinion personnelle.
Mais PPdM, dont c'est le métier de gérer un vaste parc informatique, le conseille.
/!\ Point-clef : pour limiter l'usure du SSD, mettre dès l'installation le répertoire /var/log (celui où il y a des écritures incessantes) sur le HDD !


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

Hors ligne

#48 Le 20/03/2018, à 09:15

maxire

Re : Désactivation IPv6 difficile avec carte Realtek

Salut,

Je suis un perdu avec ce jeu de permutation de disques durs, il me  semble que c'est avec le disque Hitachi que nous avons le problème initial de démarrage lent, pas avec le maxtor.
Le maxtor est bon à jeter, revenons à la résolution du problème initial!


Maxire
Archlinux/Mate + Ubuntu 22.04 + Archlinux/Gnome sur poste de travail

Hors ligne

#49 Le 20/03/2018, à 09:55

moko138

Re : Désactivation IPv6 difficile avec carte Realtek

En #16, on lit :

dmesg
[    2.568412] ata2.00: ATA-7: Maxtor 6Y080M0, YAR51HW0, max UDMA/133
[    2.568421] ata2.00: 160086528 sectors, multi 16: LBA 
[    2.584385] ata2.00: configured for UDMA/133
[    2.584678] scsi 2:0:0:0: Direct-Access     ATA      Maxtor 6Y080M0   1HW0 PQ: 0 ANSI: 5
[    2.585343] sd 2:0:0:0: [sda] 160086528 512-byte logical blocks: (82.0 GB/76.3 GiB)
[    2.624436]  sda: sda1 sda2 < sda5 >
[   13.039924] EXT4-fs (sda1): re-mounted. Opts: errors=remount-ro

donc le système était porté par le Maxtor 82 Gio, non ?
Est-ce toujours le cas ou pas ?


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

Hors ligne

#50 Le 20/03/2018, à 10:22

maxire

Re : Désactivation IPv6 difficile avec carte Realtek

Oui Moko, tu as raison, j'ai fini par me perdre, c'était bien le maxtor qui était initialement utilisé.

Je vois dans le message #41:

hibou7 a écrit :

J'ai branché le disque IDE en esclave.
Dans le BIOS, j'ai réglé le boot sur le Maxtor SATA
Gparted reconnaît bien les 2 disques:
-le disque IDE (HDS) est sda
-le disque SATA (Maxtor) est sdb

Depuis que j'ai branché le deuxième disque, le temps de boot s'est réduit à 85 sec. de la mise sous tension à l'écran de login (au lieu de 100).

Dans le BIOS, j'ai testé l'option "optimal defaults"
le boot se fait en 60 sec mais on atterrit sur le disque IDE.
À l'utilisation ce disque est ensuite nettement plus lent que le disque SATA

C'est pour le moins bizarre, et si le problème venait de la connectique?
Je n'y connais rien en matériel, un mélange de connectique SATA/PATA fait maison ne pourrait-il pas être le problème?
Clairement, je pense qu'il vaudrait mieux installer un disque neuf.


Maxire
Archlinux/Mate + Ubuntu 22.04 + Archlinux/Gnome sur poste de travail

Hors ligne