Laptop not recovering from suspend mode (Dell with Ubuntu 7.04 Feisty Fawn)

I am pretty mobile, and find it a pain to boot up my laptop every time I need it. So instead I simply close it to put it into suspend mode, and simply open it and log in without the needed wait for booting up. (Even though Ubuntu loads very quickly.)

The problem is that sometimes the laptop does not recover, and I am faced with a black screen instead of my login screen. This forces me to force shutdown by hitting the power button, or forcing reboot by hitting Ctrl+Alt+Delete.

After some searching I found a remedy that seems to have fixed the problem. I simply added ‘noapic nolapic’ to my boot. Here is how I did it:

$ sudo vi /boot/grub/menu.lst

Then I found the “kernel” line that corresponds with my boot process, and appended ‘noapic nolapic’ to the end of it. Here is how that line looked when I was finished:

kernel          /vmlinuz-2.6.20-16-generic noapic nolapic

Your line may differ slightly, but simply appending to the end will work fine.