| Summary: | hibernate-ram did not hibernate | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Pawel Madej aka Nysander <nysander> |
| Component: | Current packages | Assignee: | Henrik Brix Andersen <henrik> |
| Status: | RESOLVED NEEDINFO | ||
| Severity: | major | CC: | kernel |
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | x86 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
|
Description
Pawel Madej aka Nysander
2005-09-23 15:41:00 UTC
i forgot: /etc/hibernate/ram.conf UseSysfsPowerState mem Verbosity 0 LogFile /var/log/hibernate.log LogVerbosity 7 # AlwaysForce yes # AlwaysKill yes # HibernateVT 15 Distribution gentoo # XDisplay :0 # Bootsplash on # BootsplashConfig /etc/bootsplash/default/config/bootsplash-1024x768.cfg SaveClock restore-only # IncompatibleDevices /dev/dsp /dev/video* # DisableWriteCacheOn /dev/hda # FBSplash on # FBSplashTheme suspend2 # Unmount /nfsshare /windows /mnt/sambaserver UnmountFSTypes smbfs nfs vfat # UnmountGraceTime 1 # Mount /windows # ChangeGrubMenu yes # GrubMenuFile /boot/grub/menu.lst # AlternateGrubMenuFile /boot/grub/menu-suspended.lst # BackupGrubMenuFile /boot/grub/menu.lst.hibernate.bak # IbmAcpi yes # RadeonTool yes # EnsureLILOResumes yes # LockConsoleAs root # LockXScreenSaver yes # LockKDE yes # OnSuspend 20 echo "Good night!" # OnResume 20 echo "Good morning!" # UnloadModules snd_via82cxxx usb-ohci # UnloadAllModules yes UnloadBlacklistedModules yes LoadModules auto # LoadModulesFromFile /etc/modules # GentooModulesAutoload yes # DownInterfaces eth0 # UpInterfaces auto # IncompatiblePrograms xmms # RestartServices postfix # StopServices alsasound # StartServices aumix EnableVbetool yes # RestoreVbeStateFrom /var/lib/vbetool/vbestate VbetoolPost yes SwitchToTextMode yes # UseDummyXServer yes # XStatus gnome # XSuspendText Preparing to suspend... # XResumeText Resuming from suspend... # XosdSettings --font -misc-fixed-medium-r-semicondensed--*-120-*-*-c-*-*-* --colour=Green --shadow 1 --pos bottom --align center --offset 50 You need to run hibernate-ram as root. Reproducible: Always Steps to Reproduce: 1. su - 2. hibernate-ram 3. So what have i wrote above? Ok so I've done like that: Login: root Password: ****** # hibernate-ram Results are the same, error: /bin/echo: write error: Operation not permitted Can you please look up the real reason why it is failing in dmesg and tell us? I have the same problem with 2.6.14-rc2-mm1 and it goes away with unplugging the usb mouse. This is my hibernate.log file: Starting suspend at nie wrz 25 18:40:23 CEST 2005 hibernate-ram: [01] Executing CheckLastResume ... hibernate-ram: [01] Executing LockFileGet ... hibernate-ram: [01] Executing NewKernelFileCheck ... hibernate-ram: [10] Executing EnsureSysfsPowerStateCapable ... hibernate-ram: [11] Executing XHacksSuspendHook1 ... hibernate-ram: [45] Executing FSTypesUnmount ... hibernate-ram: [89] Executing SaveKernelModprobe ... Saved /proc/sys/kernel/modprobe is /sbin/modprobe Saved /proc/sys/kernel/hotplug is /sbin/udevsend hibernate-ram: [91] Executing ModulesUnloadBlacklist ... Unloading blacklisted modules listed /etc/hibernate/blacklisted-modules Module version for ipw2100 is Module version for ipw2200 is Module version for ndiswrapper is hibernate-ram: [95] Executing XHacksSuspendHook2 ... xhacks: changing console from 2 to 15 hibernate-ram: [97] Executing VbetoolSaveState ... 'vbetool' utility not found. Vbetool disabled. hibernate-ram: [99] Executing DoSysfsPowerStateSuspend ... hibernate-ram: Activating sysfs power state mem ... hibernate-ram: [97] Executing VbetoolRestoreState ... hibernate-ram: [90] Executing ModulesLoad ... hibernate-ram: [89] Executing RestoreKernelModprobe ... hibernate-ram: [85] Executing XHacksResumeHook2 ... xhacks: changing console back to 2 hibernate-ram: [70] Executing ClockRestore ... hibernate-ram: [11] Executing XHacksResumeHook1 ... hibernate-ram: [01] Executing NoteLastResume ... hibernate-ram: [01] Executing LockFilePut ... Resumed at nie wrz 25 18:40:27 CEST 2005 I got usb mouse. I tried to unplug it and then run hibernate-ram Result is the same as above. dmesg shows nothing in that case. I got only information about plugging and unplugging my mouse when I do it, but nothing about hibernation try as root: dmesg echo mem > /sys/power/state dmesg There has to be some message in it .. I do not have any change in dmesg after command you give. Please try with hibernate-script-1.12. |