j'ai pris le temps de lire les documentations Debian (principalement www . debian . org/releases/stable/release-notes/upgrading . fr.html) avant d'entamer une montée de version de Debian 12 vers 13.
L'upgrade s'est bien passé, et tout avait l'air OK, jusqu'à ce que je mette mon PC en veille... (comme j'en avais l'habitude sous Debian 12)
Dorénavant, mon PC initie la mise en veille, le clavier s'éteint, l'affichage aussi... mais le PC reste allumé (diodes allumées, ventilateur en fonctionnement). Impossible de le sortir de cet état sans devoir le redémarrer physiquement (ma tour dispose d'un bouton à cet effet). Grosse galère !
J'ai passé beaucoup de temps à chercher des témoignages similaires, et le seul que j'aie trouvé est www . reddit . com/r/debian/comments/pyh8go/sleep_mode_just_makes_my_screen_black_and_doesnt/ (malheureusement, la solution préconisée ne résout pas mon problème : GRUB_CMDLINE_LINUX="init_on_alloc=0").
Le 07/11, je fonctionnais encore avec Debian 12.
Le 08/11 au matin, j'ai effectué la montée de version.
Voici ce que dit journalctl lors de la première tentative de mise en veille (Debian 13) :
Code : Tout sélectionner
nov. 08 13:50:36 Latour systemd-logind[690]: The system will suspend now!
nov. 08 13:50:36 Latour ModemManager[769]: <msg> [sleep-monitor-systemd] system is about to suspend
nov. 08 13:50:36 Latour NetworkManager[751]: <info> [1762606236.0506] manager: sleep: sleep requested (sleeping: no enabled: yes)
nov. 08 13:50:36 Latour NetworkManager[751]: <info> [1762606236.0514] manager: NetworkManager state is now ASLEEP
nov. 08 13:50:36 Latour NetworkManager[751]: <info> [1762606236.0517] device (enp5s0): state change: activated -> deactivating (reason 'sleeping', managed-type: 'full')
nov. 08 13:50:36 Latour dbus-daemon[668]: [system] Activating via systemd: service name='org.freedesktop.nm_dispatcher' unit='dbus-org.freedesktop.nm-dispatcher.service' requested by ':1.10' (uid=0 pid=751 comm="/usr/sbin/NetworkManager --no-daemon")
nov. 08 13:50:36 Latour systemd[1]: Starting NetworkManager-dispatcher.service - Network Manager Script Dispatcher Service...
nov. 08 13:50:36 Latour dbus-daemon[668]: [system] Successfully activated service 'org.freedesktop.nm_dispatcher'
nov. 08 13:50:36 Latour systemd[1]: Started NetworkManager-dispatcher.service - Network Manager Script Dispatcher Service.
nov. 08 13:50:36 Latour NetworkManager[751]: <info> [1762606236.1456] device (enp5s0): state change: deactivating -> disconnected (reason 'sleeping', managed-type: 'full')
nov. 08 13:50:36 Latour avahi-daemon[660]: Withdrawing address record for [adresse_IPv6] on enp5s0.
nov. 08 13:50:36 Latour NetworkManager[751]: <info> [1762606236.1521] dhcp4 (enp5s0): canceled DHCP transaction
nov. 08 13:50:36 Latour NetworkManager[751]: <info> [1762606236.1534] dhcp4 (enp5s0): activation: beginning transaction (timeout in 45 seconds)
nov. 08 13:50:36 Latour avahi-daemon[660]: Withdrawing address record for [autre_adresse_IPv6] on enp5s0.
nov. 08 13:50:36 Latour avahi-daemon[660]: Leaving mDNS multicast group on interface enp5s0.IPv6 with address [autre_adresse_IPv6].
nov. 08 13:50:36 Latour avahi-daemon[660]: Joining mDNS multicast group on interface enp5s0.IPv6 with address [une_autre_adresse_IPv6].
nov. 08 13:50:36 Latour avahi-daemon[660]: Registering new address record for [une_autre_adresse_IPv6] on enp5s0.*.
nov. 08 13:50:36 Latour avahi-daemon[660]: Withdrawing address record for [une_autre_adresse_IPv6] on enp5s0.
nov. 08 13:50:36 Latour avahi-daemon[660]: Leaving mDNS multicast group on interface enp5s0.IPv6 with address [une_autre_adresse_IPv6].
nov. 08 13:50:36 Latour avahi-daemon[660]: Interface enp5s0.IPv6 no longer relevant for mDNS.
nov. 08 13:50:36 Latour NetworkManager[751]: <info> [1762606236.1558] dhcp4 (enp5s0): state changed no lease
nov. 08 13:50:36 Latour NetworkManager[751]: <info> [1762606236.1574] dhcp6 (enp5s0): canceled DHCP transaction
nov. 08 13:50:36 Latour NetworkManager[751]: <info> [1762606236.1587] dhcp6 (enp5s0): activation: beginning transaction (timeout in 45 seconds)
nov. 08 13:50:36 Latour NetworkManager[751]: <info> [1762606236.1588] dhcp6 (enp5s0): state changed no lease
nov. 08 13:50:36 Latour avahi-daemon[660]: Withdrawing address record for [adresse_IPv4_locale] on enp5s0.
nov. 08 13:50:36 Latour avahi-daemon[660]: Leaving mDNS multicast group on interface enp5s0.IPv4 with address [adresse_IPv4_locale].
nov. 08 13:50:36 Latour avahi-daemon[660]: Interface enp5s0.IPv4 no longer relevant for mDNS.
nov. 08 13:50:36 Latour NetworkManager[751]: <info> [1762606236.2235] device (enp5s0): state change: disconnected -> unmanaged (reason 'unmanaged-sleeping', managed-type: 'full')
nov. 08 13:50:36 Latour kernel: r8169 0000:05:00.0 enp5s0: Link is Down
nov. 08 13:50:36 Latour nm-openvpn[7617]: event_wait : Interrupted system call (fd=-1,code=4)
nov. 08 13:50:36 Latour nm-openvpn[7617]: SIGTERM received, sending exit notification to peer
nov. 08 13:50:36 Latour nm-openvpn[7617]: write UDPv4 []: Network is unreachable (fd=6,code=101)
nov. 08 13:50:36 Latour kded6[1372]: kf.notifications: Failed to play sound with canberra: Invalid argument
nov. 08 13:50:36 Latour systemd-resolved[368]: tun0: Bus client set default route setting: no
nov. 08 13:50:36 Latour systemd-resolved[368]: tun0: Bus client reset DNS server list.
nov. 08 13:50:36 Latour nm-openvpn[7617]: write UDPv4 []: Network is unreachable (fd=6,code=101)
nov. 08 13:50:36 Latour plasmashell[1435]: file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/delegates/DelegatePopup.qml:148:17: QML Body: Binding loop detected for property "width"
nov. 08 13:50:36 Latour plasmashell[1435]: file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/delegates/DelegatePopup.qml:148:17: QML Body: Binding loop detected for property "width"
nov. 08 13:50:36 Latour nm-openvpn[7617]: write UDPv4 []: Network is unreachable (fd=6,code=101)
nov. 08 13:50:36 Latour kscreenlocker_greet[9569]: PAM unable to dlopen(pam_sss . so): /usr/lib/security/pam_sss . so: Ne peut ouvrir le fichier d'objet partagé: Aucun fichier ou dossier de ce nom
nov. 08 13:50:36 Latour kscreenlocker_greet[9569]: PAM adding faulty module: pam_sss . so
nov. 08 13:50:37 Latour systemd[1]: Reached target sleep.target - Sleep.
nov. 08 13:50:37 Latour systemd[1]: Starting systemd-suspend.service - System Suspend...
nov. 08 13:50:37 Latour systemd[1]: session-3.scope: Unit now frozen-by-parent.
nov. 08 13:50:37 Latour systemd[1]: user.slice: Unit now frozen.
nov. 08 13:50:37 Latour systemd[1]: user-1000.slice: Unit now frozen-by-parent.
nov. 08 13:50:37 Latour systemd[1]: user@1000.service: Unit now frozen-by-parent.
nov. 08 13:50:37 Latour systemd-sleep[9606]: Successfully froze unit 'user.slice'.
nov. 08 13:50:37 Latour systemd-sleep[9606]: Performing sleep operation 'suspend'...
nov. 08 13:50:37 Latour kernel: PM: suspend entry (deep)
-- Boot d564030b884f41c687a934d8562a6365 --
nov. 08 13:55:38 Latour kernel: Linux version 6.12.48+deb13-amd64 (debian-kernel@lists . debian . org) (x86_64-linux-gnu-gcc-14 (Debian 14.2.0-19) 14.2.0, GNU ld (GNU Binutils for Debian) 2.44) #1 SMP PREEMPT_DYNAMIC Debian 6.12.48-1 (2025-09-20)L'indication du "Boot" qui suit est la conséquence du redémarrage physique de mon PC.
J'ai comparé avec les messages journalctl précédents (Debian 12) :
Code : Tout sélectionner
nov. 07 09:04:49 Latour systemd[1]: Reached target sleep.target - Sleep.
nov. 07 09:04:49 Latour systemd[1]: Starting systemd-suspend.service - System Suspend...
nov. 07 09:04:49 Latour systemd-sleep[20255]: Entering sleep state 'suspend'...
nov. 07 09:04:49 Latour kernel: PM: suspend entry (deep)
nov. 07 09:04:50 Latour kernel: Filesystems sync: 0.025 seconds
nov. 08 05:52:15 Latour kernel: Freezing user space processes
nov. 08 05:52:15 Latour kernel: Freezing user space processes completed (elapsed 0.003 seconds)
nov. 08 05:52:15 Latour kernel: OOM killer disabled.
nov. 08 05:52:15 Latour kernel: Freezing remaining freezable tasks
nov. 08 05:52:15 Latour kernel: Freezing remaining freezable tasks completed (elapsed 0.001 seconds)
nov. 08 05:52:15 Latour kernel: printk: Suspending console(s) (use no_console_suspend to debug)
nov. 08 05:52:15 Latour kernel: serial 00:03: disabled
nov. 08 05:52:15 Latour kernel: sd 5:0:0:0: [sda] Synchronizing SCSI cache
nov. 08 05:52:15 Latour kernel: sd 4:0:0:0: [sdb] Synchronizing SCSI cache
nov. 08 05:52:15 Latour kernel: ata6.00: Entering standby power mode
nov. 08 05:52:15 Latour kernel: ata5.00: Entering standby power mode
nov. 08 05:52:15 Latour kernel: ACPI: PM: Preparing to enter system sleep state S3
nov. 08 05:52:15 Latour kernel: ACPI: PM: Saving platform NVS memory
nov. 08 05:52:15 Latour kernel: Disabling non-boot CPUs ...
nov. 08 05:52:15 Latour kernel: smpboot: CPU 1 is now offlineJe constate donc qu'après le message "PM: suspend entry (deep)", d'autres messages suivaient (Debian 12), en lien notamment avec la mise en veille des disques (ce qui ne se produit plus avec Debian 13).
Je constate aussi le message "ACPI: PM: Preparing to enter system sleep state S3".
Il s'avère que depuis "toujours", quatre messages "ACPI" s'affichaient au boot de mon PC (répétés plusieurs fois, et c'est toujours le cas sous Debian 13) :
Code : Tout sélectionner
nov. 08 08:55:16 Latour kernel: ACPI Error: AE_NOT_FOUND, While resolving a named reference package element - LNKC (20220331/dspkginit-438)
nov. 08 08:55:16 Latour kernel: ACPI Error: AE_NOT_FOUND, While resolving a named reference package element - LNKD (20220331/dspkginit-438)
nov. 08 08:55:16 Latour kernel: ACPI Error: AE_NOT_FOUND, While resolving a named reference package element - LNKA (20220331/dspkginit-438)
nov. 08 08:55:16 Latour kernel: ACPI Error: AE_NOT_FOUND, While resolving a named reference package element - LNKB (20220331/dspkginit-438)Code : Tout sélectionner
nov. 08 21:48:25 Latour kernel: amd_pstate: the _CPC object is not present in SBIOS or ACPI disabledCode : Tout sélectionner
nov. 08 21:48:25 Latour kernel: Warning! ehci_hcd should always be loaded before uhci_hcd and ohci_hcd, not afterCode : Tout sélectionner
nov. 08 21:48:25 Latour kernel: ata5.00: Model 'Samsung SSD 860 PRO 512GB', rev 'RVM01B6Q', applying quirks: noncqtrim zeroaftertrim noncqonati nolpmonati
nov. 08 21:48:25 Latour kernel: ata5.00: LPM support broken, forcing max_power
nov. 08 21:48:25 Latour kernel: ata5.00: supports DRM functions and may not be fully accessibleCode : Tout sélectionner
Machine:
Type: Desktop System: Gigabyte product: GA-870A-USB3 v: N/A serial: N/A
Chassis: type: 3 serial: N/A
Mobo: Gigabyte model: GA-870A-USB3 v: x.x serial: N/A
uuid: 35304535-3439-3332-4437-4641ffffffff BIOS: Award v: F4
date: 03/09/2011
CPU:
Info: dual core model: AMD Athlon II X2 270 bits: 64 type: MCP
smt: <unsupported> arch: K10 rev: 3 cache: L1: 256 KiB L2: 2 MiB
Speed (MHz): avg: 2700 min/max: 800/3400 boost: disabled volts: 0.9 V
ext-clock: 200 MHz cores: 1: 2700 2: 2700 bogomips: 13661
Flags: ht lm nx pae sse sse2 sse3 sse4a svm
Drives:
Local Storage: total: 1.38 TiB used: 390.92 GiB (27.8%)
ID-1: /dev/sda vendor: Samsung model: SSD 860 PRO 512GB size: 476.94 GiB
speed: 6.0 Gb/s tech: SSD serial: S42YNF0MA08380Y fw-rev: 1B6Q scheme: MBR
ID-2: /dev/sdb vendor: Western Digital model: WD1002FAEX-00Z3A0
size: 931.51 GiB speed: 6.0 Gb/s tech: N/A serial: WD-WCATRC384881
fw-rev: 1D05 scheme: MBR
Merci d'avance pour vos avis !
PS : désolé, j'ai été obligé de modifier manuellement certaines informations, en raison de cette limitation du site forum-debian.fr :
"You can’t post image, email or url links that are external to this domain. Please remove pam_sss . so, pam_sss . so, pam_sss . so and debian . org"
(pas très pratique...)

