LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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, 12: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, 01: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, 02: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, 02:31 AM   #4
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Gurgaon, India
Distribution: Cent OS 6/7
Posts: 4,631

Rep: Reputation: Disabled
Usually the error messages are in /var/log/messages file.
 
Old 07-01-2009, 03: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, 04: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, 21 views)
 
Old 07-01-2009, 05:07 AM   #7
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,126

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
Modify the kernel line in grub to add noapic
If you still have problems add nolapic as well.
 
Old 07-01-2009, 05: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 05:50 AM.
 
Old 07-01-2009, 06:13 AM   #9
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,126

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
Yeah - unfortunate side effect; to say the least. Try just nolapic.
 
Old 07-01-2009, 07: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 07:17 AM.
 
  


Reply



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 01:20 AM
GRUB fills screen with endless "GRUB" kb8kb Linux - General 5 09-17-2008 08:18 PM
Computer in endless reboot cycle apocoloco Linux - Software 3 09-12-2005 07:58 AM
Grub stuck in an endless loop. dikadika Linux - General 4 02-27-2005 07:46 PM
endless booting problem (grub) saposmak Linux - General 3 05-27-2004 09:05 PM

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

All times are GMT -5. The time now is 12:33 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
Open Source Consulting | Domain Registration