I've got Arch running on my Samsung 550 Chromebook as per these instructions - and everything works perfectly. Well, almost everything. Suspend works, but the machine boots normally rather than waking up.
Essentially, if I run pm-suspend as root from a tty1, the machine suspends immediately, then the power button light flickers slowly on and off (which is an indication that suspend has succeeded). When I press power, or any key for that matter - it boots normally (as opposed to waking up). It goes through grub/boot as if I never suspended it!
yochai@archbook:~$ uname -a
Linux archbook 3.4.0 #3 SMP Sun Dec 23 20:07:14 EST 2012 x86_64 GNU/Linux
Fixed by rebuilding the chromeos kernel:
# dd if=/dev/sda6 of=kernel-3.4.0-stock # vbutil_kernel --verify kernel-3.4.0-stock --verbose | tail -1 > config-3.4.0-stock.txt # echo "console=tty1 debug verbose root=/dev/sda7 rootwait rw lsm.module_locking=0noinitrd add_efi_memmap boot=local noresume noswap i915.modeset=1 tpm_tis.force=1 tpm_tis.interrupts=0 nmi_watchdog=panic,lapic" > config-3.4.0-new.txt # vbutil_kernel --repack kernel-3.4.0-new --config config-3.4.0-new.txt --signprivate /usr/share/vboot/devkeys/kernel_data_key.vbprivk --oldblob kernel-3.4.0-stock # dd if=kernel-3.4.0-new of=/dev/sda6 # reboot
Last edited by yochaigal (2013-04-15 03:53:22)
It sounds like the machine is going into hibernation rather than sleeping. Are you sure of which state it is entering?
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Like you, I have no idea what you are doing, but I am pretty sure it is wrong...Jasonwryan
How to Ask Questions the Smart Way
Frankly, I had the same thought.
However: I have no swap and no hibernation configured.
Remember, I'm running pm-suspend and NOT pm-hibernate. Also, it appears to suspend - not shut off completely (as I mentioned, it blinks).
I think it might be the kernel I'm using - the configuration requires the ChromeOS kernel to live in /dev/sda6 - I was originally using the one from here but I compiled my own using these instructions. I made sure to set the appropriate config.
Last edited by yochaigal (2012-12-27 14:54:07)
Reverting stock and then running the script found here and using Ubuntu, suspend still does not work (note that I also made sure to use the default Chrubuntu kernel).
Last edited by yochaigal (2012-12-29 15:06:30)
I have sort of fixed this by installing the hexxeh vanilla build (password is facepunch, in case anyone is wondering) and then repeating my steps to install ubuntu/overwrite with Arch (preserving /lib/modules). Suspend works in Arch; unfortunately the vanilla build does not have flash installed (still figuring this out) and I've run into some additional errors on the Arch side that are unrelated.