View previous topic :: View next topic |
Author |
Message |
Uzytkownik Guru
Joined: 31 Oct 2004 Posts: 399 Location: Bay Area, US
|
Posted: Sun Aug 02, 2009 10:40 pm Post subject: Crash after hibernation |
|
|
After hibernation (both tuxonice and ususpend) sometimes it come to a gdm instead of gnome-session. It seems to happen randomly althoght I couldn't reproduce it with gnome-session in gdb. Any idea how to track the bug? _________________ I've probably left my head... somwhere. Please wait untill I find it. |
|
Back to top |
|
|
erik258 Advocate
Joined: 12 Apr 2005 Posts: 2650 Location: Twin Cities, Minnesota, USA
|
Posted: Tue Aug 04, 2009 12:04 am Post subject: |
|
|
hi, it could be a buggy ACPI / bios problem. But I was wondering if you use nvidia drivers? If so, I think nvidia drivers conflict with in-kernel AGP support . I had a laptop using nvidia-drivers and set it up to use the NVIDIA-supplied AGP drivers instead; then it started being a lot more cooperative about swsusp. A bios upgrade helped out a lot too; it might help you, it might not.
I was also surprised to learn that on a desktop at home 2.6.29-1 and nvidia seem to be playing nice together, and software suspend seems to be working just fine. I tried it on a whim and was surprised when it worked, but besides a lot of system/kernel uprgades I also had to replace the mother board between the last time it didn't work and now, so i am not really sure what changed for the better.
well, I hope that helps at least a little. good luck. _________________ Configuring a Firewall? Try my iptables configuration
LinuxCommando.com is my blog for linux-related scraps and tidbits. Stop by for a visit! |
|
Back to top |
|
|
Uzytkownik Guru
Joined: 31 Oct 2004 Posts: 399 Location: Bay Area, US
|
Posted: Tue Aug 04, 2009 1:41 pm Post subject: |
|
|
No - I have in-kernel radeon driver. It is also a regression so it's unlikely ACPI/BIOS - espcially with nothing i dmesg. _________________ I've probably left my head... somwhere. Please wait untill I find it. |
|
Back to top |
|
|
erik258 Advocate
Joined: 12 Apr 2005 Posts: 2650 Location: Twin Cities, Minnesota, USA
|
Posted: Tue Aug 04, 2009 10:44 pm Post subject: |
|
|
I grant that my experience may be different from yours (YMMV!) but I don't have problems suspending using /sys/power/state like this :
echo [mem|standby|disk] > /sys/power/state
I believe I am using the standard S-states code. Not sure how that equates to ususpend, nor do I know much about tuxonice.
Running a recent kernel? in 2.6.30.4, I have:
Code: | #
# Power management and ACPI options
#
CONFIG_PM=y
# CONFIG_PM_DEBUG is not set
CONFIG_PM_SLEEP_SMP=y
CONFIG_PM_SLEEP=y
CONFIG_SUSPEND=y
CONFIG_SUSPEND_FREEZER=y
CONFIG_HIBERNATION=y
CONFIG_PM_STD_PARTITION="/dev/sda6"
CONFIG_ACPI=y
CONFIG_ACPI_SLEEP=y
CONFIG_ACPI_PROCFS=y
CONFIG_ACPI_PROCFS_POWER=y
CONFIG_ACPI_SYSFS_POWER=y
CONFIG_ACPI_PROC_EVENT=y
CONFIG_ACPI_AC=y
CONFIG_ACPI_BATTERY=y
CONFIG_ACPI_BUTTON=y
CONFIG_ACPI_VIDEO=y
CONFIG_ACPI_FAN=y
CONFIG_ACPI_DOCK=y
CONFIG_ACPI_PROCESSOR=y
CONFIG_ACPI_HOTPLUG_CPU=y
CONFIG_ACPI_THERMAL=y
CONFIG_ACPI_CUSTOM_DSDT_FILE=""
# CONFIG_ACPI_CUSTOM_DSDT is not set
CONFIG_ACPI_BLACKLIST_YEAR=0
# CONFIG_ACPI_DEBUG is not set
# CONFIG_ACPI_PCI_SLOT is not set
CONFIG_X86_PM_TIMER=y
CONFIG_ACPI_CONTAINER=y
# CONFIG_ACPI_SBS is not set
# CONFIG_APM is not set |
Hope perhaps it can help. Good luck! _________________ Configuring a Firewall? Try my iptables configuration
LinuxCommando.com is my blog for linux-related scraps and tidbits. Stop by for a visit! |
|
Back to top |
|
|
Uzytkownik Guru
Joined: 31 Oct 2004 Posts: 399 Location: Bay Area, US
|
Posted: Tue Aug 04, 2009 10:50 pm Post subject: |
|
|
I'm using 2.6.31-rc4 but problems started a long time ago (.29?). Ususpend is the in-kernel hibernation system (the one you use).
I'd rather seek userspace bugs or radeon - but this is just my intuition. _________________ I've probably left my head... somwhere. Please wait untill I find it. |
|
Back to top |
|
|
|