LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 12-09-2010, 09:28 AM   #1
truboy
Member
 
Registered: Oct 2010
Location: Switzerland
Posts: 84

Rep: Reputation: 9
Kernel panic after suspend-to-RAM


Hi everybody,

I'm currently developping an embedded system running Linux 2.6.24 on a SBC9261 board.
After release, this board will be supplied by batteries and in order to save energy, I would need to put the system into sleep mode.

In the kernel configuration (menuconfig), I added the Power Management Support with Suspend-to-RAM and standby functions.

When the kernel is running, the file /sys/power/state allows me to turn the system to standby or suspend-to-RAM, by writing "standby" or "mem".

It seems to work :

Code:
/sys/power $ echo mem > state 
Syncing filesystems ... done.
PM: Preparing system for mem sleep
Freezing user space processes ... (elapsed 0.00 seconds) done.
Freezing remaining freezable tasks ... (elapsed 0.00 seconds) done.
PM: Entering mem sleep
Suspending console(s)
But then, the kernel's heartbeat leds on the board begin to blink faster and faster, indicating a kernel panic.

Now assuming the fast blinking was a normal behavior (yeah i'm quite desperate :s), what action would wake the system up ? I've tried pushing buttons on the board, pinging the Ethernet interface, pluging a USB-key... Of course, the console is frozen.

What do you guys think ?

Thank you for your suggestions !
 
Old 12-09-2010, 11:15 AM   #2
stress_junkie
Senior Member
 
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Ubuntu 10.04 and CentOS 5.5
Posts: 3,873

Rep: Reputation: 335Reputation: 335Reputation: 335Reputation: 335
Does the motherboard support suspend-to-RAM? If yes then is it enabled?
 
Old 12-10-2010, 01:39 AM   #3
truboy
Member
 
Registered: Oct 2010
Location: Switzerland
Posts: 84

Original Poster
Rep: Reputation: 9
Quote:
Originally Posted by stress_junkie View Post
Does the motherboard support suspend-to-RAM? If yes then is it enabled?
Hi,

Well I didn't know some did and some other didn't, so I checked the docs but found nothing about suspend-to-RAM/to-disk. Isn't it just a software trick ?

Thank you for your answer !
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Suspend to disk/ram, slackware 12.1, going to recompile Kernel. Chaves Slackware 6 11-17-2009 06:02 PM
Plz explain Suspend to Disk and Suspend to Ram pkhera_2001 Linux - Newbie 2 02-18-2008 07:23 AM
suspend to ram, doesn't wakeup, old laptop, new kernel and slack Quercus ruber Linux - Laptop and Netbook 3 09-16-2006 06:59 AM
Added RAM now kernel panic? Risc91 Linux - Laptop and Netbook 6 09-09-2003 08:38 AM
framebuffer causes kernel panic after RAM upgrade lezek Linux - Hardware 9 04-14-2003 04:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 01:11 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration