LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 08-07-2004, 04:40 PM   #1
Fudge150
LQ Newbie
 
Registered: Aug 2004
Location: Scotland, UK
Distribution: SUSE 9.2
Posts: 8

Rep: Reputation: 0
Exclamation Errors booting Fedora Core 2 (System shutdown uncleanly)


Hmm, where do i start...

When i shut down my system last, it crashed when closing the desktop (GNOME) and i had to manually reset the machine. Now when i come to boot the system (2.6.7 kernel-smp) it states that the system shut down 'uncleanly' and asks whether I want to do a disk integrity check.

If i say yes, it checks, repairs a few errors then reports a problem at about 80%. It fails and gives me results - 1.6% non-contig. It then drops me to a root shell, if i reboot from there i get the same thing next time i restart.

If i say no, it attempts to boot but hangs after a few mins. It tries to apply an IA32 Microcode update, and hangs during that.

As far as performing maintenance while in a root shell goes, i'm relatively new to linux (2 months) and don't know where to start.

I also cannot enter interactive startup.

I will reply posting the actual error messages i get ASAP (running a dual boot Linux/WinXP).

Please help me see Tux again !

Jamie
 
Old 08-07-2004, 04:46 PM   #2
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,089

Rep: Reputation: 299Reputation: 299Reputation: 299
When you're in the root shell run fsck with no arguments on ther partition the boot is hanging up on. Chances are there's some error in that filesystem which fsck doesn't want to correct automatically, so it will ask you whether or not to fix it. Say yes unless you really know what you're doing.
 
Old 08-07-2004, 05:08 PM   #3
Fudge150
LQ Newbie
 
Registered: Aug 2004
Location: Scotland, UK
Distribution: SUSE 9.2
Posts: 8

Original Poster
Rep: Reputation: 0
Wow that was a fast response! TY.

The entire thing that happens is:

Code:
 
The system was last shutdown uncleanly.
Press Y to check filesystem integrity...2 seconds......y
Checking root filesystem:

/1: Deleted inode 669020 has zero dtime. FIXED
/1: Inode 674954, i_blocks is 1736 should be 1720. FIXED
/1: Inode 674990, i_blocks is 240 should be 184. FIXED
/1: 243828/1026144 files (1.6% non-contiguous), 1477073/2048287 blocks 
                                                                                    [FAILED]

*** Error ocurred during integrity check, dropping to root shell for maintenance***
Enter root password: 

(Repair filesystem) 1#
I will reboot now and do what you suggested - perhaps the above will help?

Thanks, Jamie
 
Old 08-07-2004, 05:30 PM   #4
Fudge150
LQ Newbie
 
Registered: Aug 2004
Location: Scotland, UK
Distribution: SUSE 9.2
Posts: 8

Original Poster
Rep: Reputation: 0
Just to add to the confusion, when i rebooted to run fsck the disk check completed successfully with no problems and the system proceeded to boot as if i skipped the check. This then takes in the problem with the microcode update thing i mentioned earlier.

Code:
Enabling swap space:                                                                                      [OK]
<6> IA-32 Microcode Update Driver: v1.14 <tigram@veritas.com>
microcode: No new microdata for cpu0
microcode: No new microdata for cpu1
This is where the system hangs, which then brings me back to square one again (lol).

I then rebooted to try what you suggested, the result was:

Code:
/1: Clean, 1477073/2048287 blocks
This really stumped me, any ideas?

Jamie
 
Old 08-08-2004, 06:14 PM   #5
Fudge150
LQ Newbie
 
Registered: Aug 2004
Location: Scotland, UK
Distribution: SUSE 9.2
Posts: 8

Original Poster
Rep: Reputation: 0
Adding to the information, I forced the e2fsck utility to check even though it says clean.

The results simply showed that there were no problems - if so, why does the system still claim that it was last shutdown uncleanly (even after halting as normal from the shell)?

Does anyone know of the problem with the IA32 Microcode update - why does it hang then?

And above all, is there a way to force the system to boot as normal (with X) even though it shut down uncleanly? (Perhaps a GRUB command?)


Thanks,

Jamie

P.S - If no-one can shed any light on this matter, can someone suggest where else I should ask for assistance? (I'm going to post to the Fedora-specific forums)

Last edited by Fudge150; 08-09-2004 at 08:53 AM.
 
Old 08-09-2004, 06:54 AM   #6
gone15
Member
 
Registered: Sep 2003
Location: New York
Distribution: Fedora Core
Posts: 39

Rep: Reputation: 15
Help

I have the same problem during load up it gets stuck at enabling swap space and it goes no where i even left it overnight to see if it was just taking too long i noticed that the person who posted before me had the same problem but it doesnt say anything on what to do so if someone could help me it would be appreciated???? Thanks I think this might be happening because my computer froze and i had to shutdown manually!!!

Last edited by gone15; 08-09-2004 at 06:58 AM.
 
Old 08-09-2004, 09:00 AM   #7
Fudge150
LQ Newbie
 
Registered: Aug 2004
Location: Scotland, UK
Distribution: SUSE 9.2
Posts: 8

Original Poster
Rep: Reputation: 0
Depends on what distribution you are using; I was using Fedora Core 2 which (apparently) has a bug causing this.

I managed to get in by changing the grub.conf file to boot from my old (2.6.6 kernel-smp) kernel. I still cannot get it to load under the latest 2.6.7 kernel.

As for the problems with enabling the swap space; the problem was not with that particular function, it was with the IA32 Microcode Update - a quirk of the 2.6.7 kernel-sm

If you aren't running FC2, it may well be worth creating a new thread - as the title of this one is FC specific.

What distro are you using?
 
Old 08-09-2004, 12:36 PM   #8
gone15
Member
 
Registered: Sep 2003
Location: New York
Distribution: Fedora Core
Posts: 39

Rep: Reputation: 15
I am running Fedora Core 2 but it hasnt happened on my laptop i also have it on my laptop!!! How could you edit ur grub file if you cant even boot into the os
 
Old 08-09-2004, 02:24 PM   #9
Fudge150
LQ Newbie
 
Registered: Aug 2004
Location: Scotland, UK
Distribution: SUSE 9.2
Posts: 8

Original Poster
Rep: Reputation: 0
Two ways:

When the system cannot boot properly it runs fsck. If that fails then you are dropped to a root shell. You can repair it from there.

The other method is to download a viewer/editor or a windows driver for ext2fs or ext3fs (google it). Then you can mount your linux filesystem in windows and edit its files. (This was my method.)

The second one only works if you are dual booting (which I am); if you directly migrated then i can't help you
 
Old 08-09-2004, 03:54 PM   #10
masand
Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 58
when u r dropped at the prompt fot maintaionence
thenuse
fsck-y /dev/hdax

x=root patition no.

and if that too does not works

fsck -f /dev/hdax

regards
gaurav
 
  


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
system keeps booting after shutdown!! greythorne Ubuntu 7 11-05-2005 11:30 AM
Linux Shutdown uncleanly bluenectar Linux - Newbie 2 08-05-2005 03:45 AM
Fedora Core 3 shutdown and reboot max_232 Linux - Laptop and Netbook 3 03-29-2005 08:35 AM
fedora core 1 shutdown problem minty95 Linux - Newbie 1 04-09-2004 03:37 AM
System shutdown uncleanly; fsck? mac_phil Linux - General 2 11-02-2003 01:18 AM


All times are GMT -5. The time now is 11:22 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration