Linux - Laptop and NetbookHaving a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Type [b]dmesg=/b] at a shell prompt, and it will show some messages. You can also check the contents of the file /var/log/messages. It's been a while since I've had a problem with hibernation, I don't remember exactly where the messages go.
Is this occurring on a system on which hibernation previously worked? If this is a new install, check the size of your swap space. If it is not greater than the amount of physical RAM, hibernation will not work.
Edit: Looking at launchpad, there were some reports that Casper was causing a problem as well. As Mint is Ubuntu-based (unless you chose the Debian edition, in which case you can ingnore this paragraph), see if the Casper package is installed.
In any case, give this command a try, as root:
Code:
update-initramfs -k all -u
I've seen some reports of a 'stock' initramfs that doesn't play nice with some systems.
Last edited by goumba; 09-07-2013 at 07:15 AM.
Reason: More info
Thank you for your time. After my post I found a bug report of the same problem: https://bugs.launchpad.net/ubuntu/+bug/1094595 (maybe u also found the same webpage)
But unlike some users, hibernation is working for me. I raised this issue mainly because it can be related to a problem I'm sometimes facing while switching (powering) on Mint. It's a fresh install.
Swap is bigger than RAM. Casper isn't installed. update-initramfs -k all -u ran successfully but error persists.
I searched /var/log for files containing words "failed to thaw" (including sub-folders and hidden files) but no such file exists. In the output of dmesg, I found:
Note that it's using word "restore" instead of "thaw" in 2nd line.
lspci -n and lsusb lists no device as "00:07".
Including some lines before the above quoted lines:
Code:
[ 39.387170] ehci-pci 0000:00:1a.0: setting latency timer to 64
[ 39.387181] usb usb1: root hub lost power or was reset
[ 39.387225] ehci-pci 0000:00:1d.0: setting latency timer to 64
[ 39.387232] snd_hda_intel 0000:00:1b.0: irq 44 for MSI/MSI-X
[ 39.387237] usb usb2: root hub lost power or was reset
[ 39.387304] ahci 0000:00:1f.2: setting latency timer to 64
[ 39.387321] ath: phy0: ASPM enabled: 0x42
[ 39.391064] ehci-pci 0000:00:1a.0: cache line size of 64 is not supported
[ 39.391124] ehci-pci 0000:00:1d.0: cache line size of 64 is not supported
[ 39.398939] dpm_run_callback(): pnp_bus_resume+0x0/0x80 returns -19
[ 39.398941] PM: Device 00:07 failed to restore: error -19
Is this an HP laptop? The only device I could find with that ID is the Keyboard/"HP Hotkeys" device, which I wouldn't believe to interfere with hibernation, but hey, strange things happen.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.