[hibernation]pas d'applications de relancer(résolu)

Reconnaissance et configuration du matériel / kernel linux
Avatar de l’utilisateur
Kristen
Elfe
Messages : 709
Inscription : ven. 14 oct. 2011, 10:24
Localisation : Finistère France

[hibernation]pas d'applications de relancer(résolu)

Message par Kristen »

Bonjour
Je voudrais mettre mon PC en hibernation. J'ai donc rajouté à /boot/grub/menu.lst resume=/dev/disk/by-uuid/ea43899f-d446-447a-8761-ee813057c89f comme ci-dessous

Code : Tout sélectionner

# (0) Arch Linux
title  Arch Linux
root   (hd0,0)
kernel /vmlinuz-linux root=/dev/disk/by-uuid/ef21feca-e324-4c93-8af5-54f329c90cba resume=/dev/disk/by-uuid/ea43899f-d446-447a-8761-ee813057c89f ro
initrd /initramfs-linux.img
L'hibernation se passe bien mais au démarrage, aucunes des applications qui étaient en fonction ne sont relancées. J'ai également un message dans mon log de boot

Code : Tout sélectionner

Thu Jan 19 16:38:18 2012: :: Adjusting system time and setting kernel timezone    [BUSY]    [DONE] 
Thu Jan 19 16:38:18 2012: :: Starting UDev Daemon    [BUSY]    [DONE] 
Thu Jan 19 16:38:18 2012: :: Triggering UDev uevents    [BUSY]    [DONE] 
Thu Jan 19 16:38:18 2012: :: Loading User-specified Modules    [BUSY]    [DONE] 
Thu Jan 19 16:38:18 2012: :: Waiting for UDev uevents to be processed    [BUSY]    [DONE] 
Thu Jan 19 16:38:18 2012: :: Bringing up loopback interface    [BUSY]    [DONE] 
Thu Jan 19 16:38:18 2012: :: Checking Filesystems    [BUSY] /dev/sda3: clean, 94508/480496 files, 1034600/1921775 blocks
Thu Jan 19 16:38:18 2012: /dev/sda1 was not cleanly unmounted, check forced.
Thu Jan 19 16:38:18 2012: \002/dev/sda1: 29/14056 files (6.9% non-contiguous), 19439/56196 blocks               
Thu Jan 19 16:38:18 2012: /dev/sda4: recovering journal
Thu Jan 19 16:38:18 2012: /dev/sda4: clean, 59578/18989056 files, 56372052/75949295 blocks
Thu Jan 19 16:38:18 2012:    [DONE] 
Thu Jan 19 16:38:18 2012: :: Remounting Root    [BUSY]    [DONE] 
Thu Jan 19 16:38:18 2012: :: Mounting Local Filesystems    [BUSY]    [DONE] 
Thu Jan 19 16:38:18 2012: :: Activating Swap    [BUSY]    [DONE] 
Thu Jan 19 16:38:18 2012: :: Configuring Time Zone    [BUSY]    [DONE] 
Thu Jan 19 16:38:18 2012: :: Initializing Random Seed    [BUSY]    [DONE] 
Thu Jan 19 16:38:18 2012: :: Removing Leftover Files    [BUSY]    [DONE] 
Thu Jan 19 16:38:19 2012: :: Setting Hostname: ath3800    [BUSY]    [DONE] 
Thu Jan 19 16:38:19 2012: :: Setting Consoles to UTF-8 mode    [BUSY]    [DONE] 
Thu Jan 19 16:38:19 2012: :: Loading Keyboard Map: fr-pc    [BUSY]    [DONE] 
Thu Jan 19 16:38:19 2012: :: Saving dmesg Log    [BUSY]    [DONE] 
Thu Jan 19 16:38:19 2012: INIT: Entering runlevel: 5
Thu Jan 19 16:38:19 2012: :: Starting Syslog-NG    [BUSY]    [DONE] 
Thu Jan 19 16:38:19 2012: :: Starting D-BUS system messagebus    [BUSY]    [DONE] 
Thu Jan 19 16:38:20 2012: :: Starting network    [BKGD] 
Thu Jan 19 16:38:20 2012: :: Starting cupsd    [BKGD] 
Vous avez une idée?
Merci

PS: j'ai 2GO de RAM et un swap de 1GO. Lors de mes essais, le swap était de200 à 300 MO
pm-utils est bien installé
Dernière modification par Kristen le jeu. 19 janv. 2012, 18:29, modifié 1 fois.
KDE Plasma sur
- fixe Intel Core i5-4570 CPU @ 3.20GHz × 4 - RAM 12 Go - Carte graphique GeForce GTX 750 Ti NV117 - Écran 24" et 23" hdmi
- Lenovo IdeaPad 3 15ALC6 - 15.6" - Ryzen 5 5500U - 16 Go RAM - 128 Go SSD + 1 To HDD
- Lenovo Ideapad S130-14IGM
Avatar de l’utilisateur
benjarobin
Maître du Kyudo
Messages : 17624
Inscription : sam. 30 mai 2009, 15:48
Localisation : Lyon

Re: [hibernation]pas d'applications de relancer

Message par benjarobin »

Il faut plus de swap que de RAM pour l'hibernation, surtout si ton PC utilise le SWAP
Comme tu as un SWAP déjà bien remplie avant hibernation (200 Mo) il te faut donc un SWAP de la taille de la RAM + 500 Mo soit 2.5 Go
Zsh | KDE | PC fixe : AMD Ryzen 9900X, Radeon RX 7700 XT
Titre d'un sujet : [Thème] Sujet (état) / Règles du forum
Avatar de l’utilisateur
Kristen
Elfe
Messages : 709
Inscription : ven. 14 oct. 2011, 10:24
Localisation : Finistère France

Re: [hibernation]pas d'applications de relancer

Message par Kristen »

ha mince, je pensais que pour 300MO d'utilisation de RAM, ça tiendrait dans le swap. Bon maintenant, ça peut se modifier sans tout réinstaller?

Code : Tout sélectionner

Périphérique Amorce  Début        Fin      Blocs     Id  Système
/dev/sda1   *          63      112454       56196   83  Linux
/dev/sda2          112455     2168774     1028160   82  partition d'échange Linux / Solaris
/dev/sda3         2168775    17542979     7687102+  83  Linux
/dev/sda4        17542980   625142447   303799734   83  Linux
sda1 = boot
sda2 = swap
sda3 = /
sda4 = home
KDE Plasma sur
- fixe Intel Core i5-4570 CPU @ 3.20GHz × 4 - RAM 12 Go - Carte graphique GeForce GTX 750 Ti NV117 - Écran 24" et 23" hdmi
- Lenovo IdeaPad 3 15ALC6 - 15.6" - Ryzen 5 5500U - 16 Go RAM - 128 Go SSD + 1 To HDD
- Lenovo Ideapad S130-14IGM
Avatar de l’utilisateur
benjarobin
Maître du Kyudo
Messages : 17624
Inscription : sam. 30 mai 2009, 15:48
Localisation : Lyon

Re: [hibernation]pas d'applications de relancer

Message par benjarobin »

Désolé, mais ton explication laissait penser que tu utilisais toute ta RAM + 300 Mo de SWAP en fonctionnement. Donc le problème n'est pas forcément là ou je le pensais, bien qu'il soit plus que conseillé d'avoir plus de SWAP que de RAM pour l'hibernation.

Peux tu donner le log de pm-hibernate dans /var/log
Zsh | KDE | PC fixe : AMD Ryzen 9900X, Radeon RX 7700 XT
Titre d'un sujet : [Thème] Sujet (état) / Règles du forum
Avatar de l’utilisateur
Kristen
Elfe
Messages : 709
Inscription : ven. 14 oct. 2011, 10:24
Localisation : Finistère France

Re: [hibernation]pas d'applications de relancer

Message par Kristen »

pm-hibernate ? j'ai pas ça dans /var/log
en pm-* j'ai pm-suspend.log ou pm-powersave.log
Si je regarde https://wiki.archlinux.org/index.php/Pm ... leshooting c'est pm-suspend.log ou je me trompe
mon pm-suspend.log http://pastebin.archlinux.fr/435318
KDE Plasma sur
- fixe Intel Core i5-4570 CPU @ 3.20GHz × 4 - RAM 12 Go - Carte graphique GeForce GTX 750 Ti NV117 - Écran 24" et 23" hdmi
- Lenovo IdeaPad 3 15ALC6 - 15.6" - Ryzen 5 5500U - 16 Go RAM - 128 Go SSD + 1 To HDD
- Lenovo Ideapad S130-14IGM
Avatar de l’utilisateur
benjarobin
Maître du Kyudo
Messages : 17624
Inscription : sam. 30 mai 2009, 15:48
Localisation : Lyon

Re: [hibernation]pas d'applications de relancer

Message par benjarobin »

C'est bien pm-suspend.log, désolé... Sinon désolé pas d'idée
Zsh | KDE | PC fixe : AMD Ryzen 9900X, Radeon RX 7700 XT
Titre d'un sujet : [Thème] Sujet (état) / Règles du forum
Avatar de l’utilisateur
Kristen
Elfe
Messages : 709
Inscription : ven. 14 oct. 2011, 10:24
Localisation : Finistère France

Re: [hibernation]pas d'applications de relancer

Message par Kristen »

Je pardonne bien évidemment :copain:

Par contre, en essayant de comprendre la page du wiki de Pm-utils j'ai trouvé dans les dépannages qu'on pouvait ajouter resume dans /etc/mkinitcpio.conf
Donc j'essaie et ça marche, je retrouve bien firefox avec ses onglets.
Je passe en résolu.
Merci
KDE Plasma sur
- fixe Intel Core i5-4570 CPU @ 3.20GHz × 4 - RAM 12 Go - Carte graphique GeForce GTX 750 Ti NV117 - Écran 24" et 23" hdmi
- Lenovo IdeaPad 3 15ALC6 - 15.6" - Ryzen 5 5500U - 16 Go RAM - 128 Go SSD + 1 To HDD
- Lenovo Ideapad S130-14IGM
Répondre