Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Crash after hibernation
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Uzytkownik
Guru
Guru


Joined: 31 Oct 2004
Posts: 399
Location: Bay Area, US

PostPosted: Sun Aug 02, 2009 10:40 pm    Post subject: Crash after hibernation Reply with quote

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
View user's profile Send private message
erik258
Advocate
Advocate


Joined: 12 Apr 2005
Posts: 2650
Location: Twin Cities, Minnesota, USA

PostPosted: Tue Aug 04, 2009 12:04 am    Post subject: Reply with quote

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
View user's profile Send private message
Uzytkownik
Guru
Guru


Joined: 31 Oct 2004
Posts: 399
Location: Bay Area, US

PostPosted: Tue Aug 04, 2009 1:41 pm    Post subject: Reply with quote

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
View user's profile Send private message
erik258
Advocate
Advocate


Joined: 12 Apr 2005
Posts: 2650
Location: Twin Cities, Minnesota, USA

PostPosted: Tue Aug 04, 2009 10:44 pm    Post subject: Reply with quote

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
View user's profile Send private message
Uzytkownik
Guru
Guru


Joined: 31 Oct 2004
Posts: 399
Location: Bay Area, US

PostPosted: Tue Aug 04, 2009 10:50 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments 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