So about a month ago I decided to update my kernel to the dreaded 3.x
series. My old 2.6.x kernel was working fine, but of course I decided
to try to update it anyway, knowing there were problems with suspend
and a few other things.
I've always used gentoo-sources. So I tried 3.3.8.
Hrm. Suspend doesn't work. I tried 3.4.5, 3.4.9 and 3.0.35 (older
versions are no longer available.) If I'd known it would completely
kill my suspend and make it useless, I wouldn't have bothered.
Here's the problem:
I can suspend fine. It appears to work. It powers off and goes into
its suspend state. I press the space bar. Nothing. So, then I
discovered that as of 3.2 USB wakeup had completely changed in the
kernel, and you need to set hubs and devices in /proc/acpi/wakeup
(which is normally done for you) *and* in /sys/devices. No biggie, I
wrote a script to do just that at
http://forums.gentoo.org/viewtopic-t-933934.html. So now I can wake
with the keyboard as before. Or can I?
If I suspend and wake up the PC within about 10 minutes it works.
After that, all hell breaks loose. The PC is dead. Completely. Waking
up no longer works, not with the keyboard, or even the power button.
The *only* way is to pull the power plug and leave it unplugged for a
few seconds. Then the PC comes to life.
I've never seen an issue quite like this one...
I use mdraid in my kernel with IMSM to dual boot Windows. I've been
using it for a long time, so that's not it. The only thing that's
changed are the kernel versions I've tried. So far, every 3.x kernel
has done this. Now, this could very well be a kernel problem, heres my
ACPI config:
# Power management and ACPI options
CONFIG_ACPI=y
CONFIG_ACPI_SLEEP=y
# CONFIG_ACPI_PROCFS is not set
# CONFIG_ACPI_PROCFS_POWER is not set
# CONFIG_ACPI_EC_DEBUGFS is not set
CONFIG_ACPI_PROC_EVENT=y
CONFIG_ACPI_AC=y
CONFIG_ACPI_BATTERY=y
CONFIG_ACPI_BUTTON=y
CONFIG_ACPI_FAN=y
# CONFIG_ACPI_DOCK is not set
CONFIG_ACPI_PROCESSOR=y
CONFIG_ACPI_HOTPLUG_CPU=y
# CONFIG_ACPI_PROCESSOR_AGGREGATOR is not set
CONFIG_ACPI_THERMAL=y
# 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_ACPI_CONTAINER=y
# CONFIG_ACPI_SBS is not set
# CONFIG_ACPI_HED is not set
# CONFIG_ACPI_APEI is not set
CONFIG_X86_ACPI_CPUFREQ=y
CONFIG_PNPACPI=y
CONFIG_ATA_ACPI=y
# CONFIG_PATA_ACPI is not set
# ACPI drivers
# ACPI drivers
# CONFIG_SENSORS_ACPI_POWER is not set
Does anyone have any idea what could be wrong here? This is driving me
crazy, I hate shutting down my PC when I'm not using it. I could live
without the keyboard if the damn power button would work, but even if
I don't set the USB wakeup (through /proc/acpi/wakeup or my script) it
still gets stuck in the 'eternal' sleep. The whole kernel config is at
http://pastebin.com/2G9vWD0R
The only thing I haven't tried yet is installing something like Ubuntu
and see if it has the same problem.