LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-01-2009, 01:55 AM   #1
dmsu
LQ Newbie
 
Registered: Jun 2009
Posts: 7

Rep: Reputation: 0
Grub Endless Reboot


Hi all,

I have this annoying problem with my Dell Vostro 400 desktop computer during start up. When I power on the computer the following occurs:

* Dell logo
* Grub loading stage (count down message) with the option to press Esc to edit options etc.
* Boot from (partition number etc)
Starting up ...
[5.x] Not responding (where x is different for every reboot)

* Computer reboots

It does this repeatedly unless I go to recovery mode at the grub menu and resume normal boot from there or start pressing keys randomly at the "Starting up..." stage and hopefully get a "Loading..." message, which will then resume the boot to the desktop.

I have ubuntu 9.04 - fresh install.

Is this a USB problem? Also there are no problems using the keyboard during bios, grub boot options editing or after login.

Please help
 
Old 07-01-2009, 02:28 AM   #2
shahz
Member
 
Registered: Sep 2006
Location: Quetta, Pakistan
Distribution: RHEL, Ubuntu, Fedora
Posts: 368

Rep: Reputation: 29
can you paste the exect error message from boot.
 
Old 07-01-2009, 03:24 AM   #3
dmsu
LQ Newbie
 
Registered: Jun 2009
Posts: 7

Original Poster
Rep: Reputation: 0
Hi

Where do I go to find the grub log file and will it mention the "[5.x] Not responding" part even though the computer reboots after displaying it?
 
Old 07-01-2009, 03:31 AM   #4
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Nagpur, India
Distribution: Cent OS 5/6, Ubuntu Server 10.04
Posts: 4,629

Rep: Reputation: Disabled
Usually the error messages are in /var/log/messages file.
 
Old 07-01-2009, 04:40 AM   #5
shahz
Member
 
Registered: Sep 2006
Location: Quetta, Pakistan
Distribution: RHEL, Ubuntu, Fedora
Posts: 368

Rep: Reputation: 29
boot your system in a rescue mode and check the dmesg whats happens when your system boots and also check the /etc/inittab file for the directive initdefault it should not be set to 0 or 6. you should set it to 3 or 5.

hope it would help

shahz
 
Old 07-01-2009, 05:53 AM   #6
dmsu
LQ Newbie
 
Registered: Jun 2009
Posts: 7

Original Poster
Rep: Reputation: 0
Thanks all.

I've uploaded the dmesg log file. This file shows during a normal bootup. I couldn't find a log file that showed a boot where it says a "Not responding" entry.

I did, however, edit my menu.lst and removed the 'quiet' and 'splash' to see what happens during a normal boot.

If I don't press any keys and let the computer boot on it's own, I see a bunch of entries show up on the screen as shown in the dmesg file, but it stops for some time at [0.3] for Booting processor 1 APIC 0x1 ip 0x6000 and then it jumps to [5.]Not responding and then continues up to checking if image is initramfs... before it restarts.

@Shahz: thanks, but I couldn't find a /etc/inittab file
Attached Files
File Type: txt dmesg.txt (41.8 KB, 9 views)
 
Old 07-01-2009, 06:07 AM   #7
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 15,997

Rep: Reputation: 2219Reputation: 2219Reputation: 2219Reputation: 2219Reputation: 2219Reputation: 2219Reputation: 2219Reputation: 2219Reputation: 2219Reputation: 2219Reputation: 2219
Modify the kernel line in grub to add noapic
If you still have problems add nolapic as well.
 
Old 07-01-2009, 06:34 AM   #8
dmsu
LQ Newbie
 
Registered: Jun 2009
Posts: 7

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by syg00 View Post
Modify the kernel line in grub to add noapic
If you still have problems add nolapic as well.
Thank you very much

Adding both options solved it and I'm able to boot into the desktop, but I see a message briefly before the progress bar is shown:


[ 0.308038] BIOS bug, local APIC #0 not detected!...
[ 0.308077] ... forcing use of dummy APIC emulation.(tell your hw vendor)
[ 0.308114] SMP disabled


Is that because of the noapic and nolapic?

EDIT: Problem with my dual core - only one is being used.

Last edited by dmsu; 07-01-2009 at 06:50 AM.
 
Old 07-01-2009, 07:13 AM   #9
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 15,997

Rep: Reputation: 2219Reputation: 2219Reputation: 2219Reputation: 2219Reputation: 2219Reputation: 2219Reputation: 2219Reputation: 2219Reputation: 2219Reputation: 2219Reputation: 2219
Yeah - unfortunate side effect; to say the least. Try just nolapic.
 
Old 07-01-2009, 08:14 AM   #10
dmsu
LQ Newbie
 
Registered: Jun 2009
Posts: 7

Original Poster
Rep: Reputation: 0
nolapic works as well and allows the computer to boot on its own.

However, it prevents the computer from using the two processors and enables one of them

So far:

noapic - doesn't work
nolapic - works (uses 1 processor)
nolapic noapic - works (uses 1 processor)

It's just weird that to boot into the desktop without the nolapic and/or noapic kernel option, I have to press the Num Lock key a few times when it displays "Starting up..." to prevent the computer from restarting by itself.

Last edited by dmsu; 07-01-2009 at 08:17 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Solaris 10 guest endless reboot under KVM/Qemu green_dood Linux - Software 6 12-13-2009 02:20 AM
GRUB fills screen with endless "GRUB" kb8kb Linux - General 5 09-17-2008 09:18 PM
Computer in endless reboot cycle apocoloco Linux - Software 3 09-12-2005 08:58 AM
Grub stuck in an endless loop. dikadika Linux - General 4 02-27-2005 08:46 PM
endless booting problem (grub) saposmak Linux - General 3 05-27-2004 10:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:08 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration