From mboxrd@z Thu Jan 1 00:00:00 1970 From: Zachary Palmer Subject: bcache and laptop hibernation working under Linux 3.11.5 Date: Sun, 03 Nov 2013 22:41:52 -0500 Message-ID: <52771780.8060906@bahj.com> References: <526D32C9.1070306@rolffokkens.nl> <526D37C2.4080300@bahj.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <526D37C2.4080300-J5qI5MFTcs8@public.gmane.org> Sender: linux-bcache-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: linux-bcache-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: linux-bcache@vger.kernel.org All, I previously had issues with hibernation when using bcache. It seems that these issues were coincidental. I am using Debian Wheezy and hibernation worked correctly with the 3.10 stock kernel; when I moved to 3.11 kernels I had built myself, hibernation stopped working. It would seem that, for reasons I do not currently know, it was necessary for me to create a file /etc/initramfs-tools/conf.d/resume containing a line "RESUME=UUID=..." (with the UUID of my swap device) and then run update-initramfs. This is Debian Wheezy; depending on distribution, YMMV. Normally, the .../conf.d/resume file is supposed to be autogenerated or the swap is supposed to be detected at startup. I'm not sure why this stopped working for me. In any case, bcache doesn't seem to be causing me any hibernation problems on Linux 3.11.5 and I'm thrilled. :) Cheers, Zach