LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 11-18-2005, 06:37 AM   #1
novkhan
Member
 
Registered: Jan 2004
Posts: 59

Rep: Reputation: 15
Unhappy Need "HELP" Redhat 9 died!!


Goodday.

Current user of Redhat 9.

I did a unclean shut down and GOD!!!!
I wouldnt boot up.

At first i just says that the system encountered a unclean shutdown and
forced into an intergrity check.
it shows
%=========10.8

And just hang for a very long time.

So a restart again, it hang again. I restarted a few time and it came to stage

with all black screen and wordings i dun understand below

CALIBRATING DELAY LOOP....1998.84 BogoMIPS
----------------[cut here]-------------------------------
CPU: 0
EIP: 0060:[<c013e1c8>] Not Tainted
EFlags:00010206

EIP is at __free_pages_ok [kernel] 0x38 (2.4.20-8)
eax: 00000000 ebx:c100dff8 ecx:c100dff8 edx:00000000
esi:000003ff edi:0000000 ebp:00440000 esp:c034df1c
dx:0068 es:0068 ss:0068
Process swapper (pid:0, stackpage=C034d0000)
Stack: c030.........................

Call trace : [c0110068>] dump_fpu[kernel] 0x48 (0xc034df98))
[<c0105000>] stext[kernel]] 0x0 (0xc034dfe0))

Code:0f 0b,..........................

<0>Kernel panic:attempt to kill the idle task!
In idle task - not syncing


PLEASE HELP ME!!!!!!!!!!
 
Old 11-18-2005, 10:40 AM   #2
WhatsHisName
Senior Member
 
Registered: Oct 2003
Location: /earth/usa/nj (UTC-5)
Distribution: RHEL, AltimaLinux, Rocky
Posts: 1,151

Rep: Reputation: 46
Boot into rescue mode using the first RHL9 installation CD (boot: linux rescue), but don’t search for or mount the RHL9 installation. If you get a screen telling you to run “chroot /mnt/sysimage”, then reboot and start over.

From rescue mode, check the filesystem integrity on each linux partition using fsck (e.g., “fsck -fvt ext2 /dev/hda1" or “fsck -fvt ext3 /dev/hda1"). If you are not sure about which partitions to look at, then run “fdisk -l”, which will give you a listing of all partitions. You should be able to run “man fsck” and “man fdisk” from rescue mode for more info on the commands.

If you are using an ext2 filesystem, then recovery may take a long time, meaning hours.
 
Old 11-19-2005, 12:26 AM   #3
novkhan
Member
 
Registered: Jan 2004
Posts: 59

Original Poster
Rep: Reputation: 15
OK!
I ran "linux rescue"
they ask for my "language" , and next they ask for "location" blah, blah .....
than they says i press return to some SHELL thing? I dun really understand?

And what happen is the following
sh-2.05b#
I guess it is here, that you want me to run the fsck command .

sh-2.05b# fdisk -l

Disk /dev/hda 40.0GB , 40020664320 bytes
240 heads, 63 sector/tracks, 5169 cylinders
Units = cylinder of 15120*512 = 7741440 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 2709 2048008+ 7 HPFS/NTFS
/dev/hda2 2710 5169 18597600 f Win95 Ext'd(LBA)
/dev/hda5 2710 2723 18597600 83 Linux
/dev/hda6 2710 2723 18597600 83 Linux
/dev/hda7 2710 2723 18597600 83 Linux
/dev/hda8 2710 2723 18597600 83 Linux
/dev/hda9 2710 2723 10939288+ 83 Linux
/dev/hda10 2710 2723 521608+ 83 Linux
/dev/hda11 2710 2723 234328+ 83 Linux
/dev/hda12 5123 5169 128488+ 83 Linux

Disk /dev/hdb 80.0gb 80000000000000bytes
240 heads. 63 Sector/Track . 10337 cylinders
Units =cylinders of 15120*512 = 7741440 bytes

Device Boot Start End Blocks Id System
/dev/hdb2 1 10337 78147688+ c Win95 FAT32(LBA)

Than i ran
sh2.05b# fsck -fvt ext3/dev/hda1
fsck 1.32 (09-NOV-2002)
WARNING: couldnt open /etc/fstab:No such file or Directory

And
sh2.05b# fsck -fvt ext2/dev/hda1
fsck 1.32 (09-NOV-2002)
WARNING: couldnt open /etc/fstab:No such file or Directory
 
Old 11-19-2005, 12:28 AM   #4
novkhan
Member
 
Registered: Jan 2004
Posts: 59

Original Poster
Rep: Reputation: 15
sh-2.05b#man fdisk
sh: man: commanf not found

sh-2.05b#man fsck
sh: man: commanf not found
 
Old 11-19-2005, 08:13 AM   #5
WhatsHisName
Senior Member
 
Registered: Oct 2003
Location: /earth/usa/nj (UTC-5)
Distribution: RHEL, AltimaLinux, Rocky
Posts: 1,151

Rep: Reputation: 46
Rescue Mode gives you a command prompt with access to a few commands without mounting your linux installation. Think of it as a Barely-Alive CD linux vs a Live-CD linux like Knoppix. If you have a Knoppix disk, you can use it instead of RHL9 rescue mode to do the repairs.

RHL9 Rescue Mode is somewhat explained in the RHL9 Customization Guide: http://www.redhat.com/docs/manuals/l...mode-boot.html

You need to use the correct partitions with fsck like this:

fsck -fvt ext3 /dev/hda5
fsck -fvt ext3 /dev/hda6
fsck -fvt ext3 /dev/hda7
fsck -fvt ext3 /dev/hda8
fsck -fvt ext3 /dev/hda9
fsck -fvt ext3 /dev/hda10
fsck -fvt ext3 /dev/hda11
fsck -fvt ext3 /dev/hda12

The options (-fvt ext3) are “force”, “verbose” and “ext3 filesystem”.
 
Old 11-20-2005, 07:58 AM   #6
novkhan
Member
 
Registered: Jan 2004
Posts: 59

Original Poster
Rep: Reputation: 15
OK Buddy!

-/bin/sh-2.05b#fsck -fvt ext3 /dev/hda5
-/bin/sh-2.05b#fsck -fvt ext3 /dev/hda6
-/bin/sh-2.05b#fsck -fvt ext3 /dev/hda7
-/bin/sh-2.05b#fsck -fvt ext3 /dev/hda8
-/bin/sh-2.05b#fsck -fvt ext3 /dev/hda9
-/bin/sh-2.05b#fsck -fvt ext3 /dev/hda11
-/bin/sh-2.05b#fsck -fvt ext3 /dev/hda12

And i get similar results below. I rem it was hda7 that ask me to fix certain items
And i press "Y" all the way. I believe it is hda7 that is corrupted.

fsck 1.32 (09-Nov-2002)
WARNING:couln't open /etc/fstab:No such file or directory
e2fsck 1.32 (09-Nov-2002)
Pass 1 : Checking inodes, blocks and Sizes
Pass 2: Checking directory structure
Pass 3: Cecking directory connectivity
Pass 4: Checking refernce counts
Pass 5: Checking group summary infomation

1242 inodes used (2%)
135 non-contiguous inodes (10.9%)
# of inodes with ind/dind/tind blocks:241/15/0
47586blocks used 20%
0 bad blocks
0 large files

933 regular files
289 directories
0 character device files
0 block device files
1 fifo
0 links
9 symbolic links (9 fast symbolic links)
1 socket

Strange thing is for hda2 and hda10.
I gor different results

-/bin/sh-2.05b#fsck -fvt ext3 /dev/hda10

fsck 1.32 (09-Nov-2002)
WARNING:couln't open /etc/fstab:No such file or directory
e2fsck 1.32 (09-Nov-2002)
Couldnt find ext 2 superblock, trying backup blocks..
fsck.ext3:Bad magic number in super-block while trying to open /dev/hda10

The superblock could not be read or does not describe a correct ext2 filesystem. If the device is valid and it really contain a n ext2 filesystem( and not swap or ufs or something else), then the superblockis corrupt, and you might try running e2fsck with the alternate superblock:
e2fck -b 8193 <device>
 
Old 11-20-2005, 08:03 AM   #7
novkhan
Member
 
Registered: Jan 2004
Posts: 59

Original Poster
Rep: Reputation: 15
Thumbs up

I reboot my PC and it is finallyt working!!!!!!!!

I am sincerely greatful.

I would like to say a "BIG THANK YOU"!!!!!!
 
Old 11-20-2005, 06:12 PM   #8
WhatsHisName
Senior Member
 
Registered: Oct 2003
Location: /earth/usa/nj (UTC-5)
Distribution: RHEL, AltimaLinux, Rocky
Posts: 1,151

Rep: Reputation: 46
It’s good to hear that everything worked out.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
"INPUT Packet died" Messages Keep Appearing? Nickj Linux - Security 7 08-05-2005 08:48 AM
[Redhat] make "admin" account same privledges as "root" Bi0haZarD Linux - Networking 20 01-12-2005 10:47 AM
"PPP demon died unexpectedly" ..? kitch Linux - Networking 3 10-31-2002 05:48 PM
dual booting winME with RedHat 7.2 "HOW TOOO""HELP" jdbarrow Linux - Software 1 03-11-2002 05:33 PM
Error: "pppd daemon died unexpectedly" taz.devil Linux - General 3 11-24-2001 11:07 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 11:38 AM.

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