Broken suspend and hibernate on Lenovo 3000 N100 running Ubuntu
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.
Broken suspend and hibernate on Lenovo 3000 N100 running Ubuntu
Hi !
I have tested suspend and hibernate on my Lenovo 3000 N100 on ubuntu and have experienced some problems.
If anyone has any tips or tricks please help!
Testing conditions:
- Ubuntu 6.10 with regular kernel 2.6.17-10-generic and suspend2 patched kernel
->Both testet with nvidia (ver 1.0 -9746) and nv driver
->wireless using wpa_supplicant
- Ubuntu 7.04 herd 4 with 2.6.20-6-generic
->tested with nv driver
-> wireless using wpa_supplicant and networkmanager
Hardware:
Lenovo 3000 N100 (type 0768 BJG) - Dual Core 2 1,83Ghz, NVIDIA Geforce Go 7300, ICH7 Chipset for sound and SATA controller, intel 3495 wireless.
During suspend i get different results.
With setup Ubuntu 6.10, nvidia driver + compiz (my normal setup)
From GNOME: Suspend with wireless activated
- The screen fades to black but the laptop does not go into suspend mode.
- It is not possible to wake up, switch to text mode (CTRL-F1) or reset X (CTRL-ALT-BKSP)
- I have to do a hardware reset to reboot the computer.
X.org log reports the following after I initiated suspend:
SetGrabKeysState - disabled
Synaptics DeviceOff called
Synaptics DeviceOn called
(--) Synaptics Touchpad auto-dev sets device to /dev/input/event1
(**) Option "Device" "/dev/input/event1"
(--) Synaptics Touchpad touchpad found
From GNOME: Suspend with wireless deactivated:
Same as above
From GDM with wireless
Same as above
From GDM w/o wireless
Computer goes into suspend, but after waking it up I get a black screen and no disk activity
Other setups:
Similar problems with suspend2 kernel, and Feisty
(except with suspend2 I get a log entry saying that suspend2 was not able to unload module "nvidia", forcing it puts the computer in the same state as without suspend2)
Please help!
Btw: Has anoyone got the fingerprint reader (Authentec) or Webcam working ?
Other setups:
Similar problems with suspend2 kernel, and Feisty
(except with suspend2 I get a log entry saying that suspend2 was not able to unload module "nvidia", forcing it puts the computer in the same state as without suspend2)
The nvidia driver should be installed and running, but it should not be unloaded. By default the hibernate script unloads it, as it is blacklisted. Check /etc/hibernate/blacklist and remove the entry for the nvidia driver. If you did not use the hibernate script, I highly recommend that you do it.
If I were you I'd try a combination of linux-2.6.19 or 2.6.20 with suspend2 and the hibernate script.
Sometimes booting with the kernel parameters "noapic nolapic" helps a lot.
It would help a lot to post here the hardware components of your laptop or a link to site that has them.
When using the hibernate script, there is a log file in /var/log/hibernate.log. Check it out.
Re: Broken suspend and hibernate on Lenovo 3000 N100 running Ubuntu
Quote:
Originally Posted by gkiagia
The nvidia driver should be installed and running, but it should not be unloaded. By default the hibernate script unloads it, as it is blacklisted. Check /etc/hibernate/blacklist and remove the entry for the nvidia driver. If you did not use the hibernate script, I highly recommend that you do it.
If I were you I'd try a combination of linux-2.6.19 or 2.6.20 with suspend2 and the hibernate script.
Sometimes booting with the kernel parameters "noapic nolapic" helps a lot.
It would help a lot to post here the hardware components of your laptop or a link to site that has them.
When using the hibernate script, there is a log file in /var/log/hibernate.log. Check it out.
Thanks for the reply !
I removed the blacklist entry, no luck. Tried with hibernate-disk script and hibernate-ram script, both fails.
Under stock ubuntu feisty 2.6.20 kernels Hibernate is now working, but not suspend. Seems like there is a change in Feisty regarding wake up from hibernation, there is a kinit thing on console 1 at startup looking for an hibernation image that was not there in Edgy.
After adding the kernel parameters, this occurs (although this may be related to another problem probably):
Code:
rune@feisty-laptop:~$ sudo hibernate-disk
hibernate-disk: Less than 3 seconds since last resumed. Not suspending.
hibernate-disk: Aborting suspend due to errors in CheckLastResume (use --force to override).
rune@feisty-laptop:~$ sudo hibernate-disk --force
hibernate-disk: Less than 3 seconds since last resumed. Not suspending.
/bin/echo: write error: Invalid argument
You seem to have hardware very close to mine. I have an acer aspire 9113 which is a bit older but it has lots of similarities with your laptop. My laptop can suspend correctly, so if yours can't either you are doing something wrong or your bios has buggy acpi dsdt.
Try out my kernel: http://www.freewebs.com/gkiagia/kernel.html
Don't use the ready made packages. Get the sources and the patches (without the acerhk patch, it is not needed), take also my configuration file and before you compile the kernel, do make menuconfig and select the driver for your ethernet card (I haven't included your card in my config). Then compile and use my hibernate script configuration from here: http://www.freewebs.com/gkiagia/hibernate.html
If it cannot suspend again, then you probably have a buggy dsdt. Beyond-patches also include the custom dsdt patch so check out http://acpi.sf.net and see if you can do anything to get it working.
I tried to compile a new kernel based on your guide, adding the 8139 driver for networking. The kernel compiled ok, and hibernate works, but hibernate-ram does not work.
Hibernate did not work with the other suspend2 patched kernel, but do work with the stock ubuntu 2.6.20.8 kernel.
I looked into the DSDT table issue. As I can recall, I got dmesg error messages in stock ubuntu 2.6.17 kernels but not 2.6-20 kernels.
When running:
Code:
# cat /proc/acpi/dsdt > dsdt.aml
iasl -d dsdt.aml
to get the DSDT table, and then recompiling it with:
Thank you for a very good guide on compiling kernels !
You're welcome. I didn't mean to write a good guide but I guess it is a very simple one, so users new to kernel compiling will find it good. A good guide would be... http://www.kroah.com/lkn/
At the risk of spreading misinformation, I would like to report what worked for me.
I had been bugged by the failure to recover from Suspend since the release of FC6. I found
that disabling cpuspeed on 2.6.19-1.2911.fc6.i86 fixed this problem for me on two FC6 systems.
Disabling cpuspeed was suggested on another forum.
I don't see the relationship between Suspend and the cpuspeed service, but it worked for me.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.