February 2, 201115 yr I'm trying to get my unRAID box to enter sleep mode, and I'm running into the following issue. I'm following the instructions here -> http://lime-technology.com/wiki/index.php?title=Setup_Sleep_%28S3%29_and_Wake_on_Lan_%28WOL%29 Whenever I enter the command below echo 3 >/proc/acpi/sleep I get the following output bash: /proc/acpi/sleep: No such file or directory It looks like I don't even have that directory when I use MC or try navigate to it from command line. Can someone please help me? I'm not sure how to fix this as I'm weak with linux and I'd really like to get my unRAID box to enter S3 sleep mode.
February 2, 201115 yr Which version of unRAID are you running? If it's 5.0b3, the Linux kernel was upgraded and thus requires different means to sleep. The new means is mentioned in the 5.0b3 thread. If it's 4.7, then perhaps you do not have ACPI enabled in BIOS? You need to post a full syslog for others to be able to help. Zip it up and attach it to your post.
February 2, 201115 yr Author I'm running 4.5.6, I just saw that 4.7 is out. I'm going to try upgrading to that first to see if it helps before I post the logs. I have ACPI enabled in the BIOS.
February 2, 201115 yr Author syslog attached...the following lines look like the culprit to me, but I don't understand why that is happening. I have ACPI enabled in the BIOS. Motherboard is an Asus P4P-800 Kernel command line: initrd=bzroot rootdelay=10 acpi=off Tower kernel: ACPI: Interpreter disabled. syslog-2011-02-02.zip
February 3, 201115 yr syslog attached...the following lines look like the culprit to me, but I don't understand why that is happening. I have ACPI enabled in the BIOS. Motherboard is an Asus P4P-800 Kernel command line: initrd=bzroot rootdelay=10 acpi=off Tower kernel: ACPI: Interpreter disabled. You must have added the "acpi=off" on the "append" line in the syslinux.cfg file on your flash drive at one point.
February 3, 201115 yr Author I don't remember doing that, but I've managed to get ACPI enabled by entering ACPI=ON in my syslinux.cfg and now I can enter S3 sleep, but only for a few seconds. The server almost immediately resumes from sleeping! Any ideas what could be causing it? I've tried just about every setting in the BIOS. I've attached a new log, I can't figure this out...sooo frustrating. syslog-2011-02-02.zip
February 3, 201115 yr It sounds as if you've configured your network interface to wake on ANY lan activity, and not just a wake-on-lan packet, or the BIOS to wake on a "mouse" movement, or a keyboard keystroke. What do you see when you type: ethtool eth0
February 3, 201115 yr Author root@Tower:~# ethtool eth0 Settings for eth0: Supported ports: [ TP ] Supported link modes: 10baseT/Half 10baseT/Full 100baseT/Half 100baseT/Full 1000baseT/Half 1000baseT/Full Supports auto-negotiation: Yes Advertised link modes: 10baseT/Half 10baseT/Full 100baseT/Half 100baseT/Full 1000baseT/Half 1000baseT/Full Advertised auto-negotiation: Yes Speed: 1000Mb/s Duplex: Full Port: Twisted Pair PHYAD: 0 Transceiver: internal Auto-negotiation: on Supports Wake-on: pg Wake-on: g Current message level: 0x00000037 (55) Link detected: yes
February 3, 201115 yr Author The BIOS is set to wake on PCI events only, in fact even if I disable that...it's still resumes from sleep immediately. Does the syslog I attached indicate the reason from resuming? I can't make any sense of the event that triggered it.
February 3, 201115 yr Author Well that was fun (not!)...I managed to solve it. After intensive googling, I found some obscure reference to a bug describing my problem exactly (https://bugs.launchpad.net/ubuntu/+source/linux-source-2.6.20/+bug/128315). So I dug up my mobo manual and changed the jumpers for my USB ports from S1 (default) to S3 wakeup mode...and voila, my server sleeps and resumes from a magic packet perfectly! If anyone runs into this issue, this is probably the culprit if everything else has been done correctly.
Archived
This topic is now archived and is closed to further replies.