Summary: | Laptop fails to resume from Suspend to ram after upgrade of kernel to suspend2-sources 2.6.21 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | trevor campbell <shartrec> |
Component: | [OLD] Core system | Assignee: | Alon Bar-Lev (RETIRED) <alonbl> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
Hibernate configuration
Hibernate configuration Hibernate configuration |
Description
trevor campbell
2007-05-26 00:11:08 UTC
Created attachment 120333 [details]
Hibernate configuration
Created attachment 120335 [details]
Hibernate configuration
Created attachment 120336 [details]
Hibernate configuration
What video card do you have? I have an ATI X1400 Video card. Do you have the following settings in kernel command-line or can you please try adding: acpi_sleep=s3_bios,s3_mode Added acpi_sleep=s3_bios,s3_mode as suggested. Kernel line now looks like: kernel /boot/vmlinuz-2.6.21-suspend2-r5 root=/dev/sda5 quiet video=vesafb:1024x768-16@60,ywrap,mtrr:1 acpi_sleep=s3_bios,s3_mode splash=silent,theme:trevor CONSOLE=/dev/tty1 Result was not much different. Did cold boot then First attempt at suspend did suspend, but did cold boot when trying to come out of suspend (after a little disk IO) Next 3 attempts did not actually suspend. Seemed to get to last stage of suspend script and just froze, i.e. /var/log/hibernate looks exactly the same as before. OK. I would recommend on: SwitchToTextMode yes But I guess it worked for you before without this... So one option left... Try gentoo-sources-2.6.21 and suspend-to-ram... The suspend-to-ram is not suspend2 feature... If it does not work either I can CC kernel herd to try and help you. From google search this does seem to be general kernel bug in 2.6.21 http://www.mail-archive.com/linux-kernel@vger.kernel.org/msg149734.html It is not a big problem for me personally. Tried to suspend from single user mode:
> telinit 1
> hibernate-ram --force
(-- force needed because not all expected services running)
This had same result as before. So not X related.
Do you get the same log in dmesg? My mistake. Further investigation & testing shows this is a vanilla kernel bug. It can be resolved by building a kernel with NO framebuffer support. Then using s2ram allows suspend & resume as designed. Of course with this workaround I loose my very pretty bootsplash. I have framebuffer device and suspend to ram works. I think it is vesafb-tng issue... Can you try radeonfb? Let's continue at bug#185674 *** This bug has been marked as a duplicate of bug 185674 *** |