Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Hibernate] Fonctionnement aléatoire (résolu)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index French
View previous topic :: View next topic  
Author Message
Aesthetics
Tux's lil' helper
Tux's lil' helper


Joined: 12 Mar 2004
Posts: 91

PostPosted: Sat Mar 24, 2007 2:19 pm    Post subject: [Hibernate] Fonctionnement aléatoire (résolu) Reply with quote

Yop,

alors voilà j'ai un problème avec l'hibernation. Parfois ça marche et parfois j'ai le droit à ce message d'erreur :

/bin/echo Impossible d'allouer de la mémoire (un truc du genre car là j'ai voulu refaire l'erreur pour la copier-coller mais l'hibernation a marché 2 fois d'affilé :D)

Voilà le fichier common.conf

Code:
# Configuration options common for suspending to disk or RAM.
# Options are not case sensitive.
#
# See hibernate.conf(5) for help on the configuration items.

##############################################################################
### Some global settings
##############################################################################

Verbosity 0
LogFile /var/log/hibernate.log
LogVerbosity 1
# LogTimestamp yes
# AlwaysForce yes
# AlwaysKill yes
# HibernateVT 15
Distribution gentoo
# XDisplay :0

##############################################################################
### Scriptlets
###   Scriptlets provide support for doing all sorts of things before and after
###   suspending. The defaults settings here should work for most people, but
###   you may wish to edit these to taste. Consult "hibernate -h" for help on
###   the configuration settings.
##############################################################################

### bootsplash
## If you use bootsplash, also enabling SwitchToTextMode is recommended if
## you use X, otherwise you may end up with a garbled X display.
# Bootsplash on
# BootsplashConfig /etc/bootsplash/default/config/bootsplash-1024x768.cfg

### clock
SaveClock restore-only

### devices
# IncompatibleDevices /dev/dsp /dev/video*

### diskcache
# DisableWriteCacheOn /dev/hda

### fbsplash (enable SwitchToTextMode if you use this)
# FBSplash on
# FBSplashTheme suspend2

### filesystems
# Unmount /nfsshare /windows /mnt/sambaserver
# UnmountFSTypes smbfs nfs
# UnmountGraceTime 1
# Mount /windows

### grub
# ChangeGrubMenu yes
# GrubMenuFile /boot/grub/menu.lst
# AlternateGrubMenuFile /boot/grub/menu-suspended.lst
# BackupGrubMenuFile /boot/grub/menu.lst.hibernate.bak

# see http://bugs.debian.org/317479
# RemountXFSBoot yes

### hardware_tweaks
# IbmAcpi yes
# Runi915resolution yes
# FullSpeedCPU yes

### lilo
# EnsureLILOResumes yes

### lock (generally you only want one of the following options)
# LockConsoleAs root
# LockXScreenSaver yes
# LockGnomeScreenSaver yes
# LockKDE yes
# LockXLock yes
#LockXAutoLock yes

### misclaunch
# OnSuspend 20 echo "Good night!"
# OnResume 20 echo "Good morning!"

### modules
# UnloadModules snd_via82cxxx usb-ohci
# UnloadAllModules yes
UnloadBlacklistedModules yes
LoadModules auto
# LoadModulesFromFile /etc/modules

### modules-gentoo
# GentooModulesAutoload yes

### network
# DownInterfaces eth0
# UpInterfaces auto

### pause_audio
# MuteAudio yes
# PauseAudio yes

### pcmcia
# EjectCards yes

### programs
# IncompatiblePrograms xmms

### services
# RestartServices laptop_mode
# StopServices alsasound
# StartServices aumix

### vbetool
# EnableVbetool yes
# RestoreVbeStateFrom /var/lib/vbetool/vbestate
# VbetoolPost yes
# RestoreVCSAData yes

### xhacks
SwitchToTextMode yes
# UseDummyXServer yes
# DummyXServerConfig xorg-dummy.conf

### xstatus
## This can be set to gnome, kde or x:
XStatus gnome
# XmessageDisable yes
XSuspendText Preparing to suspend...
XResumeText Resuming from suspend...
## When using XStatus x, and you have xosd installed:
XosdSettings --font '-misc-fixed-medium-r-semicondensed--*-120-*-*-c-*-*-*' --colour=Green --shadow 1 --pos bottom --align center --offset 50



merci d'avance


Last edited by Aesthetics on Sun Mar 25, 2007 8:27 pm; edited 1 time in total
Back to top
View user's profile Send private message
Temet
Advocate
Advocate


Joined: 14 Mar 2006
Posts: 2586
Location: 92

PostPosted: Sat Mar 24, 2007 6:46 pm    Post subject: Reply with quote

Combien de ram, combien de swap ?
Si ton hibernation se fait sur la swap... sur une partoche t'auras pas ce pb.
Back to top
View user's profile Send private message
Aesthetics
Tux's lil' helper
Tux's lil' helper


Joined: 12 Mar 2004
Posts: 91

PostPosted: Sat Mar 24, 2007 7:09 pm    Post subject: Reply with quote

1024 de ram et 1024 de swap
il peut faire le resume sur la partition / ?
Back to top
View user's profile Send private message
Temet
Advocate
Advocate


Joined: 14 Mar 2006
Posts: 2586
Location: 92

PostPosted: Sat Mar 24, 2007 7:19 pm    Post subject: Reply with quote

T'as pas assez de swap.
Dans le noyau t'as le choix entre le "disk writer" et le "swap writer".
Perso j'ai bidouillé pour que mon cache/buffer ram soit vidé avant l'hibernation et ça marche BCP mieux!!!
En fait, j'éteins presque plus jamais mon pc normalement.
Back to top
View user's profile Send private message
Aesthetics
Tux's lil' helper
Tux's lil' helper


Joined: 12 Mar 2004
Posts: 91

PostPosted: Sat Mar 24, 2007 7:55 pm    Post subject: Reply with quote

et on peut faire comment pour vider le cache ?

car j'ai pas vu de choix moi. J'utilise le noyau 2.6.20 gentoo-sources et y avait déjà une option simple "Software Suspend" ou faut juste donner la partition ensuite, j'ai pas appliqué le patch suspend2
Back to top
View user's profile Send private message
Aesthetics
Tux's lil' helper
Tux's lil' helper


Joined: 12 Mar 2004
Posts: 91

PostPosted: Sun Mar 25, 2007 8:27 pm    Post subject: Reply with quote

bon j'ai fini par mettre suspend2 et plus de problème :)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index French All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum