Suspend and boot problems - X220 and Oneiric 11.10

My brand new Lenovo X220 on Ubuntu Oneiric 11.10 had this weird problem where it would boot occasionally into Ubuntu, but other times it would start booting, but reboot before it hit grub or Xorg. Upon reboot, it would go to grub, but hang there waiting for me to hit enter (i.e. didn't auto boot).

Suspend didn't work either. It would always suspend, but upon opening the lid, it would reboot, and hang at grub (just like the booting problem).

I initially thought it was due to the Active Protection System that stops the hard drive from being damaged -  and wanted to turn it off (due to having an SSD). I also played with CPU and PCI power management settings in the BIOS. Nothing worked.

I then researched kernel options that could work. I found the kernel option for disabling extended C-States. This worked great! 5 days so far without a single reboot either booting or coming out of suspend.

To do it:

  • Edit /etc/default/grub (as root)

  • sudo update-grub
  • reboot


Popular posts from this blog

Renewing Puppet CA and puppet master certificates

Compiling tun.ko for Android - OpenVPN

Preseeding Ubuntu Natty 11.04