derbrain Apprentice
Joined: 09 Apr 2005 Posts: 178
|
Posted: Sat May 19, 2007 3:59 pm Post subject: hibernate won't work |
|
|
I 've read several HOWTOs and forum threads, but I can't figure out what's going wrong with my machine. Suspend to disk works fine for me, when X is not started (even with loaded nvidia module). Suspending when X is running seems to work fine, too, but on resuming it hangs after saying that it has found an image. My USB keyboard (Microsoft Natural Ergonomic Keyboard 4000) won't work anymore, and I have to make a hard reset. Then my BIOS complains about the keyboard not being present, so I have to attach my old PS/2 keyboard. Then suspend2 shows the BIG FAT WARNING about an invalid image. After removing it, the system boots up normally. No errors are reported in hibernate.log. But there are some differences between suspending from console:
Code: | Starting suspend at Sa 19. Mai 06:07:08 CEST 2007
hibernate: [01] Executing CheckLastResume ...
hibernate: [01] Executing CheckRunlevel ...
hibernate: [01] Executing LockFileGet ...
hibernate: [01] Executing NewKernelFileCheck ...
hibernate: [10] Executing EnsureSwsusp2Capable ...
hibernate: [59] Executing RemountXFSBootRO ...
Saved /proc/sys/kernel/modprobe is /sbin/modprobe
Unloading blacklisted modules listed /etc/hibernate/blacklisted-modules
hibernate: [89] Executing SaveKernelModprobe ...
hibernate: [91] Executing ModulesUnloadBlacklist ...
Unloading blacklisted module forcedeth (and dependencies)
Unloading forcedeth ...
Module version for ipw2100 is
Module version for ipw2200 is
Module version for ndiswrapper is
hibernate: [97] Executing ChangeToSwsuspVT ...
suspend2: changing console from 1 to 63
hibernate: [98] Executing CheckRunlevel ...
hibernate: [98] Executing FullSpeedCPUSuspend ...
hibernate: [98] Executing Swsusp2ConfigSet ...
hibernate: [99] Executing DoSwsusp2 ...
hibernate: Activating suspend ...
|
and suspending from X: Code: | Starting suspend at Sa 19. Mai 17:02:10 CEST 2007
hibernate: [01] Executing CheckLastResume ...
hibernate: [01] Executing CheckRunlevel ...
hibernate: [01] Executing LockFileGet ...
hibernate: [01] Executing NewKernelFileCheck ...
hibernate: [10] Executing EnsureSwsusp2Capable ...
Saved /proc/sys/kernel/modprobe is /sbin/modprobe
Unloading blacklisted modules listed /etc/hibernate/blacklisted-modules
hibernate: [59] Executing RemountXFSBootRO ...
hibernate: [89] Executing SaveKernelModprobe ...
hibernate: [91] Executing ModulesUnloadBlacklist ...
Unloading blacklisted module forcedeth (and dependencies)
Unloading forcedeth ...
Module version for ipw2100 is
Module version for ipw2200 is
Module version for ndiswrapper is
hibernate: [97] Executing ChangeToSwsuspVT ...
suspend2: changing console from 7 to 63 |
It seems that some of the steps have been executed in a different order, and others are missing. What does this RemountXFSBootRO mean? Why only the / partition is being remounted? (it's XFS, the others, including /var, are ext3).
Another strange behavior happens when suspending to RAM. Again, suspending seems to work fine, but when I try to power the machine on, it just makes an endless beeeeeeeeeep, and nothing else: blank screen, no harddisk activity. Here is the log:
Code: | Starting suspend at Sa 19. Mai 16:58:56 CEST 2007
hibernate-ram: [01] Executing CheckLastResume ...
hibernate-ram: [01] Executing CheckRunlevel ...
hibernate-ram: [01] Executing LockFileGet ...
hibernate-ram: [01] Executing NewKernelFileCheck ...
hibernate-ram: [10] Executing EnsureSysfsPowerStateCapable ...
hibernate-ram: [59] Executing RemountXFSBootRO ...
hibernate-ram: [89] Executing SaveKernelModprobe ...
Saved /proc/sys/kernel/modprobe is /sbin/modprobe
hibernate-ram: [91] Executing ModulesUnloadBlacklist ...
Unloading blacklisted modules listed /etc/hibernate/blacklisted-modules
Unloading blacklisted module forcedeth (and dependencies)
Unloading forcedeth ...
Module version for ipw2100 is
Module version for ipw2200 is
Module version for ndiswrapper is
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: [98] Executing CheckRunlevel ...
hibernate-ram: [99] Executing DoSysfsPowerStateSuspend ...
hibernate-ram: Activating sysfs power state mem ... |
The multiple execution of ModulesUnloadBlacklist seemed strange to me. But since hibernate-ram first tries ususpend-ram and upon failure sysfs-ram, and the last entry is DoSysfsPowerStateSuspend, I suppose that ususpend-ram fails. It is strange, however, that there is no error message. By the way, what does the numbers in the logfile mean?
About my system:
AMD AthlonXP 1800+
ASUS A7N8X Deluxe
NVIDIA GeForce 4 Ti4200
Linux 2.6.18-suspend2-r1
agpgart and switch-to-textmode are turned off. |
|