zellfaze
February 18th, 2010, 02:23 AM
Problem: Ubuntu freezes up 30 seconds or so after a successful login.
Background:
I am running a Compaq Presario SR5030NX (http://h10010.www1.hp.com/wwpc/ca/en/ho/WF06b/12132708-12133156-78308260-78308260-78308260-79685091-80248998.html). It has had issues for a while with running Ubuntu properly. My computer suffers from this bug (https://bugs.launchpad.net/ubuntu/+source/linux/+bug/404421). I have managed to get the LiveCD running by adding the following to my boot parameters:
vga=792 i915.modeset=0
When I was running the LiveCD I found that it would freeze after about 30 seconds. I solved this problem by again changing the boot options. This time I:
Press F6
Check noapic, nolapic, and pci=noacpi
I then proceeded to install Ubuntu.
My problem arose when Ubuntu did not modify grub.cfg to match the setting I needed in order to boot. I managed to modify in some of the settings correctly, I believe at least, but not all of them.
In its current state Ubuntu is able to boot, but freezes 30 seconds or so after a successful login. If I do not graphically login, I do still have access to VTY1-6. The machine does not freeze until a successful graphical login has been made.
Below is the relevant section of my grub.cfg:
menuentry "Ubuntu, Linux 2.6.31-14-generic" {
recordfail=1
if [ -n ${have_grubenv} ]; then save_env recordfail; fi
set quiet=1
insmod ext2
set root=(hd0,2)
search --no-floppy --fs-uuid --set daa29a0c-e7d1-43ed-99fc-b52dcc504b4a
linux /boot/vmlinuz-2.6.31-14-generic root=UUID=daa29a0c-e7d1-43ed-99fc-b52dcc504b4a ro noapic nolapic pci=noacpi vga=792 i915.modeset=0 splash
initrd /boot/initrd.img-2.6.31-14-generic
}
Full file is available here: http://pastebin.com/f66a14138
Here is a copy of my /etc/default/grub:
# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
GRUB_DEFAULT=0
GRUB_HIDDEN_TIMEOUT=10
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT="10"
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="vga=792 i915.modeset=0 splash"
GRUB_CMDLINE_LINUX="noapic nolapic pci=noacpi"
# 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 entrys
#GRUB_DISABLE_LINUX_RECOVERY="true"
I would greatly like to see this problem solved quickly. I have been running off a liveCD for over 6 months now. Which as one can imagine, is not fun.
On another note:
The liveCD I have been running for 6 months is BackTrack 3 Final. Which does not have this issue at all. I would wager a guess that BackTrack 4 does though as it is based off Ubuntu instead of Slax.
Background:
I am running a Compaq Presario SR5030NX (http://h10010.www1.hp.com/wwpc/ca/en/ho/WF06b/12132708-12133156-78308260-78308260-78308260-79685091-80248998.html). It has had issues for a while with running Ubuntu properly. My computer suffers from this bug (https://bugs.launchpad.net/ubuntu/+source/linux/+bug/404421). I have managed to get the LiveCD running by adding the following to my boot parameters:
vga=792 i915.modeset=0
When I was running the LiveCD I found that it would freeze after about 30 seconds. I solved this problem by again changing the boot options. This time I:
Press F6
Check noapic, nolapic, and pci=noacpi
I then proceeded to install Ubuntu.
My problem arose when Ubuntu did not modify grub.cfg to match the setting I needed in order to boot. I managed to modify in some of the settings correctly, I believe at least, but not all of them.
In its current state Ubuntu is able to boot, but freezes 30 seconds or so after a successful login. If I do not graphically login, I do still have access to VTY1-6. The machine does not freeze until a successful graphical login has been made.
Below is the relevant section of my grub.cfg:
menuentry "Ubuntu, Linux 2.6.31-14-generic" {
recordfail=1
if [ -n ${have_grubenv} ]; then save_env recordfail; fi
set quiet=1
insmod ext2
set root=(hd0,2)
search --no-floppy --fs-uuid --set daa29a0c-e7d1-43ed-99fc-b52dcc504b4a
linux /boot/vmlinuz-2.6.31-14-generic root=UUID=daa29a0c-e7d1-43ed-99fc-b52dcc504b4a ro noapic nolapic pci=noacpi vga=792 i915.modeset=0 splash
initrd /boot/initrd.img-2.6.31-14-generic
}
Full file is available here: http://pastebin.com/f66a14138
Here is a copy of my /etc/default/grub:
# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
GRUB_DEFAULT=0
GRUB_HIDDEN_TIMEOUT=10
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT="10"
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="vga=792 i915.modeset=0 splash"
GRUB_CMDLINE_LINUX="noapic nolapic pci=noacpi"
# 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 entrys
#GRUB_DISABLE_LINUX_RECOVERY="true"
I would greatly like to see this problem solved quickly. I have been running off a liveCD for over 6 months now. Which as one can imagine, is not fun.
On another note:
The liveCD I have been running for 6 months is BackTrack 3 Final. Which does not have this issue at all. I would wager a guess that BackTrack 4 does though as it is based off Ubuntu instead of Slax.