November 2, 2010

Ubuntu Lucid 10.04, Freezes/Lock-ups Solution


According to my previous post on Ubuntu Freezes, you can IGNORE that!
It will solve the "freezes" problem but, it will disable Hyper-Threading (Multiprocessor) capabilities.

Here's the best solution ~ DISABLE the "Advance Programmable Interrupt Controller" (APIC)

Steps.
  1. Go to terminal ~ Application > Accessories > Terminal
  2. Type in: "sudo gedit"
  3. Enter password if required
  4. Open grub file ~ File > Open and find grub file
  5. Open grub file which located in etc/default directory
  6. Add "noapic" at "GRUB_CMDLINE_LINUX_DEFAULT=" eg: GRUB_CMDLINE_LINUX_DEFAULT="quiet splash noapic"
  7. Once done, safe the file
  8. Then, at terminal, type in: "update-grub" to update the file.
  9. Restart!
The grub file might looks like this:
# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
GRUB_DEFAULT=0
#GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash noapic"
GRUB_CMDLINE_LINUX="" 
# Uncomment to disable graphical terminal (grub-pc only)
#GRUB_TERMINAL=console 
# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
#GRUB_GFXMODE=640x480 
# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID=true 
# Uncomment to disable generation of recovery mode menu entries
#GRUB_DISABLE_LINUX_RECOVERY="true" 
# Uncomment to get a beep at grub start
#GRUB_INIT_TUNE="480 440 1"
Cheers!

6 comments:

Anonymous said...

Hey thanks,
this seemed to work on my Toshiba Satellite p35. The whole unit was locking up with Rhythmbox open. I could keep it open just long enough to load my iPod and if I didn't shut it down within a short period of time, I would have to shut off the power and restart. I've had the unit turned on with Rhythmbox open for about a day now and no problems.
Thanks again!

MZIskandar said...

I'm glad its helps :)
..and thanks for your feedback too.

Cheers!

Michael said...

Found your solution tonight searching Google. Implementing it now. I have high hopes! I'll come back and update with my progress.

Anonymous said...

Thanks alot

HappyMan said...

It worked! :')
Although it really was a pain in the ass to finish the 9 steps... 'cause of coarse my computer froze al the time :p
Btw, in my case:
Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz

Thanks MZIskandar!!

MZIskandar said...

Glad to hear that HappyMan.:D