Jump to content

RC15 - Waking from standby works, but Tower is unreachable.


Recommended Posts

Do you have access to the console so that you can check if the network has been restarted correctly?

Many systems need to have the network interface reset upon waking, and others need the same for their video.  There is a helper program s2ram (or something like that) often used.

 

Some systems never wake up properly.  (I've never gotten myC2SEE MB to wake up once put to sleep at all)

 

Joe L.

Link to comment

Some systems never wake up properly.  (I've never gotten myC2SEE MB to wake up once put to sleep at all)

 

Not surprised.  As I noted above, MANY systems do not respond well to S3.  It seems that desktop chipsets just don't handle it as well as the mobile chipsets;  and even if you have a system where it works, add-on cards can put it right back in the "doesn't work" category.

 

For maximum reliability, I always suggest you simply don't use S3 .. with no video and spundown drives you can get modern systems down to reasonably low power draws [My Atom system idles at ~ 20w;  my older system at ~ 80w].    If you want less, just shut the system down and use a magic packet to turn it on via WOL.

 

Link to comment

This system has worked reliably with S3 for years. This is the first trouble I have had with it. I tried connecting to the console remotely with IPMI and that fails as well. I have to use the Supermicro IPMI webpage to initiate a system reset. The only thing that changed was the upgrade to RC15. I may have to roll back to RC12, which stupidly, I did not backup so I need to find it elsewhere (found it). WOL from off just won't be tolerable for the rest of the family after they have gotten used to the speed of waking from S3 to access their media.

Link to comment

WOL from off just won't be tolerable for the rest of the family after they have gotten used to the speed of waking from S3 to access their media.

 

Understand ... of course there is something even faster than waking from S3  :)

I would use "S0" with the drives spun down.  ;)  Likely to be much faster.  8)
Link to comment

Some systems never wake up properly.  (I've never gotten myC2SEE MB to wake up once put to sleep at all)

 

Not surprised.  As I noted above, MANY systems do not respond well to S3.  It seems that desktop chipsets just don't handle it as well as the mobile chipsets;  and even if you have a system where it works, add-on cards can put it right back in the "doesn't work" category.

 

For maximum reliability, I always suggest you simply don't use S3 .. with no video and spundown drives you can get modern systems down to reasonably low power draws [My Atom system idles at ~ 20w;  my older system at ~ 80w].    If you want less, just shut the system down and use a magic packet to turn it on via WOL.

I spent a lot of time and effort in the beginning to make the systems energy efficient when running - but as you know yourself, 20w is somehow close to the minimum you can achieve for small servers - and with a 24 drive system you'll be a lot above that even when disks are spun down.

Thus I also changed to use S3 - which imho is the perfect solution for home use - "idle" power consumption is down to 1.6w - and the system is available within a few seconds, e.g. when starting media to play - it is almost "transparent".

As JoeL and others said - it is sometimes tricky and does not work with all systems - I also have to use s2ram to reinitialize some components and I pulled most of my hair when I tried to figure how it works some years ago ... that's also the reason I reused my old setups when upgrading recently, as this is for me personally a very important feature - and unfortunateoly there is only little information available what works and what doesn't ...

Link to comment

With modern desktop hardware, S3 suspend really should not be that hard to pull off. The difference between mobile and desktop hardware is decreasing with every generation. All of my desktops, be it Windows, OS X, or Linux have no problems going into and out of S3.

Link to comment

With modern desktop hardware, S3 suspend really should not be that hard to pull off. The difference between mobile and desktop hardware is decreasing with every generation. All of my desktops, be it Windows, OS X, or Linux have no problems going into and out of S3.

 

In many cases the issue isn't the basic system; but add-on hardware ... e.g. in the UnRAID case that would be additional SATA/RAID cards, perhaps an add-in NIC card, etc.

 

Link to comment

I had this problem when I tried to get sleep to work with my system too.

 

One question I have for the people suggesting its hardware related... why does it work flawlessly with windows on the same hardware?

... because it's different OS, drivers, etc.

I have had the same - tested with windows, all fine, sleep, WOL, etc. - then with unraid/slackw - network adapter not properly reset after wakeup, video net properly reinitialized after wakeup, ....

Actually, many of the issues are still caused by combination of bios/drivers (not hw, if it does work in other environments) and there is often e.g. non properly implemented acpi tables causing issues - and then it depends on the OS and drivers to handle and/or workaround that.

I am sure, ppl with deeper knowledge could explain better ... but that's what I was told when I asked your question ;-)

Link to comment

I had this problem when I tried to get sleep to work with my system too.

 

One question I have for the people suggesting its hardware related... why does it work flawlessly with windows on the same hardware?

... because it's different OS, drivers, etc.

I have had the same - tested with windows, all fine, sleep, WOL, etc. - then with unraid/slackw - network adapter not properly reset after wakeup, video net properly reinitialized after wakeup, ....

Actually, many of the issues are still caused by combination of bios/drivers (not hw, if it does work in other environments) and there is often e.g. non properly implemented acpi tables causing issues - and then it depends on the OS and drivers to handle and/or workaround that.

I am sure, ppl with deeper knowledge could explain better ... but that's what I was told when I asked your question ;-)

 

The above covers most of the reasons.  The simple fact is that ACPI can be very "tricky" to get everything right.  The #1 requirement is BIOS support.  If your system works perfectly in Windows, then clearly it's got that.  The next requirement is that the OS interfaces correctly with the BIOS ACPI drivers, and that the appropriate hardware needed for "wakeup" is left in the right state (e.g. NIC, video card, etc.), and that those things that need re-initialized (typically the video card) are indeed properly re-initialized on wakeup.

 

Since your hardware works perfectly in S3 with Windows, then it CAN work that way with Linux.    There is apparently a tool you can add to UnRAID that will do the appropriate initialization on wakeup, but I don't recall the specifics ... search these forums and I'm sure you can find it.  [Joe L mentioned it above -- "s2ram" is what you're looking for]

Link to comment

Lat time I tired playing with s2ram was painful. I sure hope I don't have to do that again. For now I may just roll back to RC12, which worked beautifully. My guess is it has something to do with the new Linux kernel in RC15.

 

While that very well may work, the "problem" is that you'll be stuck with a Release Candidate rather than running v5.0 ("final").    While that may not be an issue, there ARE things that have been fixed along the way ... and it's clearly easier to troubleshoot any future problems if you're using the actual released version of the software.

 

It IS possible that something that changes between RC15 and v5.0 could resolve this, but if it's kernel-related, I doubt it.    I'd at least spend a bit of time with s2ram and see if you can get it to work with RC15.

 

Link to comment

I wonder if the sleep method has just changed for RC15 as per this thread:

http://lime-technology.com/forum/index.php?topic=27843.0

 

Sent from my SPH-D710 using Tapatalk 2

 

Accessing /sys/power and then querying

cat state

:

I got the result of:

freeze and mem.

running:

echo -n "mem" > state

Allowed the system to enter standby. I allowed it to sleep for a couple moments and then sent a WOL request. The tower woke but was unreachable. The front power light just blinks as if it is still sleeping, but the fans are all running. My WOL app still sees the tower as not on.

 

Because I was curious, after I rebooted I also tried the "freeze" state.

echo -n "freeze" > state

When I entered that, the system entered the state it is in after I try to wake from S3 currently. The front light blinks and the fans are running. My WOL app sees the tower as off. So it kinda seems when my system is waking from the "mem" state is is going into the "freeze" state. At this point sending it multiple WOL packets results in nothing. Once again I had to initiate a reboot with IPMI.

Link to comment

I rolled back to RC12a and checked the same things under it. Querying cat state this time I only got:

mem

I did not get "freeze" listed as I did with RC15. So I sent the command to put it to sleep as I did earlier. When I sent the WOL packet, the tower woke perfectly fine. I think this is a kernel or driver issue.

Link to comment
  • 2 weeks later...
  • 4 months later...

I thought I would post an update on my quest for sleep under vs 5

 

I loaded up the new 5.0.1 and this time I got another option when querying the power states.

cat /sys/power/state

Now replies with:

freeze mem standby

I just tested using standby and the system went into standby and woke with a magic packet and everything works as expected.

echo -n standby > /sys/power/state

I just did another testing using "mem" this time and it alos worked! Wooohooo!

echo -n mem > /sys/power/state

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...