Contenu | Rechercher | Menus

Annonce

DVD, clés USB et t-shirts Ubuntu-fr disponibles sur la boutique En Vente Libre

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 16/06/2021, à 08:33

mewe

[REGLE] démarrage capricieux / problème de sortie de veille

Bonjour,

J'ai un ordi fixe qui date de 2018. Depuis le passage à la dernière version LTS (20.04) de Xubuntu, j'avais des problèmes de sortie de veille : pour le compte à l'origine de la mise en veille, une fois le mot de passe saisi, il était systématiquement indiqué comme erroné. J'ai laissé courir (et préféré éviter la mise en veille). Sauf qu'il y a quinze jours, un matin, l'ordi ne démarre pas. Je l'ouvre pour le dépoussiérer (il en avait besoin...). Idem. J'enlève la pile de la carte mère et la change. C'est mieux ! Sauf que le problème se reproduit par la suite. Je refais la même deux fois en une semaine je dirai.

Depuis 4 jours, pas de problème. Mais comme je n'ai rien changé, je me dis que ça ne doit pas être résolu. Je me demande donc si vous auriez une piste pour comprendre (et anticiper...) et si le problème de sortie de veille serait un signe annonciateur...

Le boot-info de mon ordi est là : https://paste.ubuntu.com/p/yM5FSh2Zwk/

Merci !

Dernière modification par mewe (Le 16/06/2021, à 20:18)

Hors ligne

#2 Le 16/06/2021, à 08:48

malbo

Re : [REGLE] démarrage capricieux / problème de sortie de veille

Bonjour,
je colle ton Boot-info :

boot-info-4ppa130                                              [20210616_0911]

============================== Boot Info Summary ===============================

 => libparted MBR boot code is installed in the MBR of /dev/sda.
 => Grub2 (v2.00) is installed in the MBR of /dev/sdb and looks at sector 1 of 
    the same hard drive for core.img. core.img is at this location and looks 
    for (,msdos1)/boot/grub. It also embeds following components:
    
    modules
    ---------------------------------------------------------------------------
    fshelp ext2 part_msdos biosdisk
    ---------------------------------------------------------------------------

sda1: __________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info: 
    Operating System:  
    Boot files:        

sda2: __________________________________________________________________________

    File system:       Extended Partition
    Boot sector type:  -
    Boot sector info: 

sda5: __________________________________________________________________________

    File system:       swap
    Boot sector type:  -
    Boot sector info: 

sdb1: __________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info: 
    Operating System:  Ubuntu 20.04.2 LTS
    Boot files:        /boot/grub/grub.cfg /etc/fstab /etc/default/grub 
                       /boot/grub/i386-pc/core.img


================================ 1 OS detected =================================

OS#1:   L'OS actuellement utilisé - Ubuntu 20.04.2 LTS CurrentSession on sdb1

============================ Architecture/Host Info ============================

CPU architecture: 64-bit
BOOT_IMAGE of the installed session in use:
/boot/vmlinuz-5.4.0-74-generic root=UUID=576f19f7-71e5-49d6-bd41-c14f94bc4143 ro quiet splash vt.handoff=7


===================================== UEFI =====================================

This installed-session is not in EFI-mode.
EFI in dmesg.
[    0.009841] ACPI: UEFI 0x000000008AC7FC68 000042 (v01 INTEL  EDK2     00000002      01000013)



============================= Drive/Partition Info =============================

Disks info: ____________________________________________________________________

sdb	: notGPT,	no-BIOSboot,	has-noESP, 	not-usb,	not-mmc, has-os,	2048 sectors * 512 bytes
sda	: notGPT,	no-BIOSboot,	has-noESP, 	not-usb,	not-mmc, no-os,	2048 sectors * 512 bytes

Partitions info (1/3): _________________________________________________________

sdb1	: is-os,	64, apt-get,	grub-pc ,	grub2,	grub-install,	grubenv-ok,	update-grub,	farbios
sda1	: no-os,	32, nopakmgr,	no-docgrub,	nogrub,	nogrubinstall,	no-grubenv,	noupdategrub,	farbios

Partitions info (2/3): _________________________________________________________

sdb1	: isnotESP,	fstab-without-efi,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot
sda1	: isnotESP,	part-has-no-fstab,	no-nt,	no-winload,	no-recov-nor-hid,	no-bmgr,	notwinboot

Partitions info (3/3): _________________________________________________________

sdb1	: not-sepboot,	with-boot,	fstab-without-boot,	not-sep-usr,	with--usr,	fstab-without-usr,	std-grub.d,	sdb
sda1	: maybesepboot,	no-boot,	part-has-no-fstab,	not-sep-usr,	no---usr,	part-has-no-fstab,	std-grub.d,	sda

fdisk -l (filtered): ___________________________________________________________

Disk sda: 465.78 GiB, 500107862016 bytes, 976773168 sectors
Disk identifier: 0xf311c10f
      Boot     Start       End   Sectors  Size Id Type
sda1            2048 968749055 968747008  462G 83 Linux
sda2       968751102 976771071   8019970  3.8G  5 Extended
sda5       968751104 976771071   8019968  3.8G 82 Linux swap / Solaris
Disk sdb: 111.81 GiB, 120034123776 bytes, 234441648 sectors
Disk identifier: 0x23bfb73f
      Boot Start       End   Sectors   Size Id Type
sdb1  *     2048 234440703 234438656 111.8G 83 Linux

parted -lm (filtered): _________________________________________________________

sda:500GB:scsi:512:4096:msdos:ATA HGST HTS725050A7:;
1:1049kB:496GB:496GB:ext4::;
2:496GB:500GB:4106MB:::;
5:496GB:500GB:4106MB:linux-swap(v1)::;
sdb:120GB:scsi:512:512:msdos:ATA WDC WDS120G1G0B-:;
1:1049kB:120GB:120GB:ext4::boot;

blkid (filtered): ______________________________________________________________

NAME   FSTYPE   UUID                                 PARTUUID                             LABEL PARTLABEL
sda                                                                                             
├─sda1 ext4     8a2f2f40-9d54-4a4f-a219-e6d6922eb6d4 f311c10f-01                                
├─sda2                                               f311c10f-02                                
└─sda5 swap     4ce0a349-b6ae-4b21-a09b-9d2797d4cb35 f311c10f-05                                
sdb                                                                                             
└─sdb1 ext4     576f19f7-71e5-49d6-bd41-c14f94bc4143 23bfb73f-01                                

df (filtered): _________________________________________________________________

        Avail Use% Mounted on
sda1   308.3G  27% /home
sdb1    90.8G  12% /

Mount options: __________________________________________________________________

sda1   rw,relatime
sdb1   rw,relatime,errors=remount-ro

====================== sdb1/boot/grub/grub.cfg (filtered) ======================

Ubuntu   576f19f7-71e5-49d6-bd41-c14f94bc4143
Ubuntu, avec Linux 5.4.0-74-generic   576f19f7-71e5-49d6-bd41-c14f94bc4143
Ubuntu, avec Linux 5.4.0-73-generic   576f19f7-71e5-49d6-bd41-c14f94bc4143
### END /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_uefi-firmware ###

========================== sdb1/etc/fstab (filtered) ===========================

# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sdb1 during installation
UUID=576f19f7-71e5-49d6-bd41-c14f94bc4143 /               ext4    errors=remount-ro 0       1
# /home was on /dev/sda1 during installation
UUID=8a2f2f40-9d54-4a4f-a219-e6d6922eb6d4 /home           ext4    defaults        0       2
# swap was on /dev/sda5 during installation
UUID=4ce0a349-b6ae-4b21-a09b-9d2797d4cb35 none            swap    sw              0       0

======================= sdb1/etc/default/grub (filtered) =======================

GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=hidden
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""

==================== sdb1: Location of files loaded by Grub ====================

           GiB - GB             File                                 Fragment(s)
  20.212150574 = 21.702631424   boot/grub/grub.cfg                             1
  38.414257050 = 41.246994432   boot/grub/i386-pc/core.img                     1
   4.918182373 = 5.280858112    boot/vmlinuz                                   2
   3.824432373 = 4.106452992    boot/vmlinuz-5.4.0-73-generic                  3
   4.918182373 = 5.280858112    boot/vmlinuz-5.4.0-74-generic                  2
   3.824432373 = 4.106452992    boot/vmlinuz.old                               3
   7.594722748 = 8.154771456    boot/initrd.img                                5
   7.568969727 = 8.127119360    boot/initrd.img-5.4.0-73-generic               4
   7.594722748 = 8.154771456    boot/initrd.img-5.4.0-74-generic               5
   7.568969727 = 8.127119360    boot/initrd.img.old                            4

===================== sdb1: ls -l /etc/grub.d/ (filtered) ======================

-rwxr-xr-x 1 root root 17622 févr. 12 23:03 10_linux
-rwxr-xr-x 1 root root 42359 févr. 12 23:03 10_linux_zfs
-rwxr-xr-x 1 root root 12894 févr. 12 23:03 20_linux_xen
-rwxr-xr-x 1 root root 12059 oct.  12  2017 30_os-prober
-rwxr-xr-x 1 root root  1424 févr. 12 23:03 30_uefi-firmware
-rwxr-xr-x 1 root root   214 oct.  12  2017 40_custom
-rwxr-xr-x 1 root root   216 oct.  12  2017 41_custom


Suggested repair: ______________________________________________________________

The default repair of the Boot-Repair utility would reinstall the grub2 of
sdb1 into the MBRs of all disks (except live-disks and removable disks without OS).
Additional repair would be performed: unhide-bootmenu-10s      

Final advice in case of suggested repair: ______________________________________


Please do not forget to make your BIOS boot on sdb (ATA WDC WDS120G1G0B-) disk!

Je te prie de faire ce que j'explique dans ce post pour avoir l'état de sda (le disque dur Hitachi Travelstar de 500 Go) : https://forum.ubuntu-fr.org/viewtopic.php?id=1988280

Dernière modification par malbo (Le 16/06/2021, à 08:50)

Hors ligne

#3 Le 16/06/2021, à 09:10

mewe

Re : [REGLE] démarrage capricieux / problème de sortie de veille

Le tuto est super clair ! Voilà ce que ça donne :

parents@PClF001806:~$ sudo smartctl -a /dev/sda
smartctl 7.1 2019-12-30 r5022 [x86_64-linux-5.4.0-74-generic] (local build)
Copyright (C) 2002-19, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family:     Hitachi/HGST Travelstar Z7K500
Device Model:     HGST HTS725050A7E630
Serial Number:    RCF50ACF1PEW7N
LU WWN Device Id: 5 000cca 8bcd7d765
Firmware Version: GS2OA3E0
User Capacity:    500107862016 bytes [500 GB]
Sector Sizes:     512 bytes logical, 4096 bytes physical
Rotation Rate:    7200 rpm
Form Factor:      2.5 inches
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   ATA8-ACS T13/1699-D revision 6
SATA Version is:  SATA 2.6, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is:    Wed Jun 16 10:08:28 2021 CEST
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

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

General SMART Values:
Offline data collection status:  (0x00)	Offline data collection activity
					was never started.
					Auto Offline Data Collection: Disabled.
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: 		(   45) seconds.
Offline data collection
capabilities: 			 (0x5b) SMART execute Offline immediate.
					Auto Offline data collection on/off support.
					Suspend Offline collection upon new
					command.
					Offline surface scan supported.
					Self-test supported.
					No Conveyance Self-test supported.
					Selective Self-test supported.
SMART capabilities:            (0x0003)	Saves SMART data before entering
					power-saving mode.
					Supports SMART auto save timer.
Error logging capability:        (0x01)	Error logging supported.
					General Purpose Logging supported.
Short self-test routine 
recommended polling time: 	 (   2) minutes.
Extended self-test routine
recommended polling time: 	 (  89) minutes.
SCT capabilities: 	       (0x003d)	SCT Status supported.
					SCT Error Recovery Control supported.
					SCT Feature Control supported.
					SCT Data Table supported.

SMART Attributes Data Structure revision number: 16
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
  1 Raw_Read_Error_Rate     0x000b   100   100   062    Pre-fail  Always       -       0
  2 Throughput_Performance  0x0005   100   100   040    Pre-fail  Offline      -       0
  3 Spin_Up_Time            0x0007   253   253   033    Pre-fail  Always       -       1
  4 Start_Stop_Count        0x0012   098   098   000    Old_age   Always       -       3590
  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   040    Pre-fail  Offline      -       0
  9 Power_On_Hours          0x0012   093   093   000    Old_age   Always       -       3213
 10 Spin_Retry_Count        0x0013   100   100   060    Pre-fail  Always       -       0
 12 Power_Cycle_Count       0x0032   098   098   000    Old_age   Always       -       3590
191 G-Sense_Error_Rate      0x000a   100   100   000    Old_age   Always       -       0
192 Power-Off_Retract_Count 0x0032   100   100   000    Old_age   Always       -       86
193 Load_Cycle_Count        0x0012   099   099   000    Old_age   Always       -       10548
194 Temperature_Celsius     0x0002   206   206   000    Old_age   Always       -       29 (Min/Max 11/37)
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
223 Load_Retry_Count        0x000a   100   100   000    Old_age   Always       -       0

SMART Error Log Version: 1
No Errors Logged

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

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.

Hors ligne

#4 Le 16/06/2021, à 10:19

malbo

Re : [REGLE] démarrage capricieux / problème de sortie de veille

Fausse piste : ton disque dur est en bon état. Moi je ne vois pas d'anomalie dans le Boot-info qui pourrait être la cause de tes problèmes. Je n'ai pas d'autre piste à proposer.

Hors ligne

#5 Le 16/06/2021, à 20:18

mewe

Re : [REGLE] démarrage capricieux / problème de sortie de veille

Bonsoir,
Merci à toi d'avoir regardé.
Je vais mettre considérer qu'il n'y a pas de problème et guetter d'autres défaillances éventuelles...

Hors ligne