Forum     

Go Back   Digit Technology Discussion Forum > Software > Open Source
Register FAQ Calendar Mark Forums Read

Open Source A place where you can talk to like-minded people about the fastest growing software movement today! Discuss anything and everything about Open Source software and Operating Systems.


Closed Thread
 
LinkBack Thread Tools Display Modes
Old 08-10-2007, 02:57 PM   #1 (permalink)
The Thread Killer >:)
 
phreak0ut's Avatar
 
Join Date: Apr 2006
Location: Bangalore
Posts: 1,185
Question Kernel panic in Fedora Core 7


I installed from the Live CD version on:
AMD 64 3200+ S939
MSI-RS480M2 motherboard
160GB SATA Seagate+40GB Western Digital PATA HDDs
512MB RAM
and I partitioned manually to install. After install, there is a kernel panic and the error message is very similar to this(probably the same)

Quote:
root (hd0,0)
Filesystem type is ext2fs, partition type 0x83
kernel/vmlinuz-2.6.22.4-65.fc7 ro root= /dev/Volgroup00/LogVol00 rhgb quiet
[LinuxbzImage, setup0x1e00, size=0x1ce028]
initrd/initrd-2.6.22.4-65.fc7.img
[Linux-initrd@0x37c44000, 0x3abcf9 bytes]

Decompressing Linux...done.
Booting the kernel.
powernowk8 ph2null fid transition 0x12
Red Hat nash version 6.0.9 starting
Reading all physical volumes. This may take a while...

Found volume group "VolGroup00" using metadata type lvm2
2 logical volume(s) in volume group "VolGroup00" now active
VFS: Can't find ext3 filesystem on dev dm-0.
mount: error mounting /dev/root on/sysroot as ext3: Invalid argument
setup root: error mounting /proc: No such file or directory
setup root: error mounting /sys: No such file or directory
switchroot: mount failed: No such file or directory
Kernel panic - not syncing: Attempted to kill init!
I got the error message from the post here After a lot of Googling I found out that there is a bug in the kernel which looks SATA and IDE drives the other way when booting, after the install. It's mentioned in Bugzilla post 221394

Now, how do I make sure that FC sees it the right way??
__________________
Want to make this world a better place? Then, start seeding and don't be just a leecher :)
phreak0ut is offline  
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 08-10-2007, 03:35 PM   #2 (permalink)
String Phreak
 
mediator's Avatar
 
Join Date: Mar 2005
Location: In ur Evil Mind!
Posts: 2,457
Default Re: Kernel panic in Fedora Core 7

Did u try booting with 'noprobe' option?
It was sumthing like 'linux install noprobe' or 'linux noprobe'!!
__________________
Bad Bad server.....No candy for u!
mediator is offline  
Old 08-10-2007, 03:39 PM   #3 (permalink)
left this forum longback
 
praka123's Avatar
 
Join Date: Sep 2005
Location: -
Posts: 7,536
Post Re: Kernel panic in Fedora Core 7

I feel it is not the problem of linux or fedora.this seems to have to do with a corrupt partition where u installed fedora due to some reasons.
solution may be to repair the partitions via any live-cd and run fsck.ext3 with correct options(i have to search!) on the /dev/Volgroup00/LogVol00

post ur fdisk -l o/p.since u have LVM,u may need to fix the errors of the ext3 via someother options.for that u have to use livecd with fedora partitions unmounted.
"vgscan" will search ur for lv system.
lvs will o/p the volumes available
__________________
left this forum long back.Admin Can Delete this Account and posts Permanantly.Thank You
Get GNU/Linux - http://getgnulinux.org
praka123 is offline  
Old 08-10-2007, 04:28 PM   #4 (permalink)
Wise Old Owl
 
The Unknown's Avatar
 
Join Date: Nov 2006
Location: Pune, Maharashtra, India
Posts: 1,728
Default Re: Kernel panic in Fedora Core 7

This happened with me when there was a loose connection in the power connector of the HDD. After tightening it, it worked. This is so obvious in your case, as you have 2 HDDs.

Tell me in which HDD you have the MBR and in which you have linux ?

I don't the SATA system, but in IDE systems, Fedora during install asks us for which HDD the Boot Record be placed.

The first option is the Master Drive and then the Slave Drive.

Try tightening your connectors.
__________________
KDE on ArchLinux
PHP, MySQL, PostgreSQL, Linux, Apache; Message me to hire (freelancing only)
Explore Technology @ http://www.itech7.com
Cheap and Reliable VPS Hosting @ http://j.mp/arHk5e
The Unknown is offline  
Old 08-10-2007, 08:03 PM   #5 (permalink)
The Thread Killer >:)
 
phreak0ut's Avatar
 
Join Date: Apr 2006
Location: Bangalore
Posts: 1,185
Default Re: Kernel panic in Fedora Core 7

@Praka-I did read that fsck will do some good, but I didn't understand fully what they had posted. So, I didn't try it out and I don't know how to go about it. Could you please guide me?

@Unknown-It's really surprising to know that such a problem can happen. I did had removed the PATA HDD recently. I'll take a look at it. Both the option for placing the boot record gave me the same result after installing. I tried on both the HDs.

EDIT: I tried installing without my PATA, but the same result. The hardware connections are alright. No loose connections at all. So, I think Praka is right.
__________________
Want to make this world a better place? Then, start seeding and don't be just a leecher :)

Last edited by phreak0ut; 08-10-2007 at 09:06 PM.
phreak0ut is offline  
Old 09-10-2007, 06:24 AM   #6 (permalink)
left this forum longback
 
praka123's Avatar
 
Join Date: Sep 2005
Location: -
Posts: 7,536
Post Re: Kernel panic in Fedora Core 7

u need to use livecd to run fsck over the logical volume where u have installed Fedora.the procedures for LVM are not so familiar for me.but will google out any result that will work.
basically the only think u need to do is fix the ext3 fs in ur volume.the method..?
will post
BTW,post the o/p of 'fdisk -l' from a livecd.u need to activate vg.will post soon

OK.boot with ur fedora livecd or any other livecd like knoppix.make sure ur Logical Volumes are NOT mounted.
now open a terminal as root.I hope in livecd "su" will yield "#" prompt and no passwd is needed.
now in root terminal,try scanning for any volume groups.

Code:
vgscan
^^^ see the results.as ur volume /dev/VolGroup00/LogVol00 also will be shown where ur fedora is installed.
OR
Code:
 lvdisplay
then run

Code:
fsck -f -y /dev/VolGroup00/LogVol00
^^^this may fix the errors hopefully.
Just try and post.also note if any error messages shown or any error code.
else we shud try fsck.ext3 on any volumes inside.
edit:found below link to be useful to u
http://kbase.redhat.com/faq/FAQ_96_11472.shtm
__________________
left this forum long back.Admin Can Delete this Account and posts Permanantly.Thank You
Get GNU/Linux - http://getgnulinux.org

Last edited by praka123; 09-10-2007 at 07:09 AM. Reason: Automerged Doublepost
praka123 is offline  
Old 09-10-2007, 11:21 AM   #7 (permalink)
The Thread Killer >:)
 
phreak0ut's Avatar
 
Join Date: Apr 2006
Location: Bangalore
Posts: 1,185
Default Re: Kernel panic in Fedora Core 7

Praka, that was a quick reply I checked the link which you have posted and it says that in case we do a fsck on mounted LVM, we lose all the data. I'm a bit scared now. How can I make sure that my LVMs are not mounted?
__________________
Want to make this world a better place? Then, start seeding and don't be just a leecher :)
phreak0ut is offline  
Old 09-10-2007, 12:03 PM   #8 (permalink)
left this forum longback
 
praka123's Avatar
 
Join Date: Sep 2005
Location: -
Posts: 7,536
Default Re: Kernel panic in Fedora Core 7

when u try running fsck,if it is mounted,fsck will ask whether to run on mounted partn.also while on a livecd,i dont expect ur volumes be mounted.but u can check from livecd via the command "mount -l"
__________________
left this forum long back.Admin Can Delete this Account and posts Permanantly.Thank You
Get GNU/Linux - http://getgnulinux.org
praka123 is offline  
Old 09-10-2007, 05:41 PM   #9 (permalink)
The Thread Killer >:)
 
phreak0ut's Avatar
 
Join Date: Apr 2006
Location: Bangalore
Posts: 1,185
Default Re: Kernel panic in Fedora Core 7

^The fsck -f -y /dev/VolGroup00/LogVol00 is giving this output:
Quote:
Pass 1:Checking inodes,blocks and sizes
Pass 2:Checking directory structure
Pass 3:Checking directory connectivity
Pass 4:Checking reference counts
Pass 5:Checking group summary information
/:84482/901120 files (0.4% non-contiguous), 558884/17944048
I think everything is fine, or is it?
__________________
Want to make this world a better place? Then, start seeding and don't be just a leecher :)
phreak0ut is offline  
Old 09-10-2007, 06:05 PM   #10 (permalink)
left this forum longback
 
praka123's Avatar
 
Join Date: Sep 2005
Location: -
Posts: 7,536
Smile Re: Kernel panic in Fedora Core 7

reboot and try booting FC.hope will work.
__________________
left this forum long back.Admin Can Delete this Account and posts Permanantly.Thank You
Get GNU/Linux - http://getgnulinux.org
praka123 is offline  
Old 10-10-2007, 08:45 PM   #11 (permalink)
The Thread Killer >:)
 
phreak0ut's Avatar
 
Join Date: Apr 2006
Location: Bangalore
Posts: 1,185
Default Re: Kernel panic in Fedora Core 7

Nope, FC is not booting
__________________
Want to make this world a better place? Then, start seeding and don't be just a leecher :)
phreak0ut is offline  
Old 11-10-2007, 01:40 AM   #12 (permalink)
Juke Box Hero
 
Join Date: Aug 2007
Posts: 1,204
Default Re: Kernel panic in Fedora Core 7

A long shot but worth the try, do this

In the GRUB menu at the start, place the selection on 'kernel' line, hit 'e', go to the end of the line and type "all-generic-ide"(without the quotes). Now hit 'enter' and 'b' to boot. If it boots successfully, then edit /boot/grub/grub.conf and add the same to the end of the kernel line.

And exactly how did you install? Are the volume groups created by default?

Edit: Never run a fsck on a mounted partition.

Last edited by Hitboxx; 11-10-2007 at 01:48 AM.
Hitboxx is offline  
Old 11-10-2007, 02:05 AM   #13 (permalink)
In The Zone
 
nach p's Avatar
 
Join Date: Jan 2006
Location: mUMBAI
Posts: 241
Default Re: Kernel panic in Fedora Core 7

Hey geeks

Whats the reason for not running fsck on mounted partition ?
__________________
"UNIX is basically a simple operating system, but you have to be a genius to understand the simplicity."
-Dennis Ritchie
nach p is offline  
Old 11-10-2007, 08:04 AM   #14 (permalink)
left this forum longback
 
praka123's Avatar
 
Join Date: Sep 2005
Location: -
Posts: 7,536
Default Re: Kernel panic in Fedora Core 7

^it corrupts the files.
@phreak0utt:do u have another version of kernel installed on fedora?if yes,try to boot with it.i suspect ur lvm is corrupt/and my knowledge with lvm is limited.
still try from a livecd:

lvm vgchange -a y VolGroup00
e2fsck -fp -b 32768 /dev/VolGroup00/LogVol00

^^^from:
http://www.linuxquestions.org/questi...dora-7-580291/

First, boot into rescue mode by using the correct media. This is very important: When prompted to mounted the drives, do not. Using fsck on a mounted filesystem will destroy all the data on that file system. This is unrecoverable. The data will be gone forever--save for very expensive hardware-level data recovery.
The next step is to get into the lvm shell byt typing the command lvm.
From inside this shell, run the following set of commands:
# pvscan
# vgscan
# lvscan
# vgchange -ay
# exit
As these are running, check to make sure that no errors are reported.
After exiting the lvm shell, run e2fsck on the lvm volume (in this example, the volume is /dev/VolGroup00/LogVol01):
# e2fsck /dev/VolGroup00/LogVol00
http://kbase.redhat.com/faq/FAQ_96_11472.shtm
__________________
left this forum long back.Admin Can Delete this Account and posts Permanantly.Thank You
Get GNU/Linux - http://getgnulinux.org

Last edited by praka123; 11-10-2007 at 08:51 AM.
praka123 is offline  
Old 12-10-2007, 08:23 PM   #15 (permalink)
The Thread Killer >:)
 
phreak0ut's Avatar
 
Join Date: Apr 2006
Location: Bangalore
Posts: 1,185
Angry Re: Kernel panic in Fedora Core 7

@hitbox-It didn't work buddy

@Praka-This is what I got as the output for the suggested commands:

Quote:
/:recovering journal
/:84482/901120 files(0.4% non-contiguous), 558884/1794048 blocks
Managed to install Fedora 7 only after removing my Ubuntu Feisty Fawn There was some conflict. I didn't want to remove Ubuntu because I had used a lot of bandwidth to have the applications what I want,but this Fedora messed up everything. Now, after installing Fedora, the purpose is still not completed. This application couldn't be installed as it is complaining that gcc or g++ compiler is not installed. gcc is installed and yum doesn't have anything related to g++ compiler. Now, what do I do?
__________________
Want to make this world a better place? Then, start seeding and don't be just a leecher :)

Last edited by phreak0ut; 12-10-2007 at 08:23 PM. Reason: Automerged Doublepost
phreak0ut is offline  
Old 13-10-2007, 09:49 PM   #16 (permalink)
Wise Old Owl
 
The Unknown's Avatar
 
Join Date: Nov 2006
Location: Pune, Maharashtra, India
Posts: 1,728
Default Re: Kernel panic in Fedora Core 7

Quote:
Originally Posted by phreak0utt
@hitbox-It didn't work buddy

@Praka-This is what I got as the output for the suggested commands:



Managed to install Fedora 7 only after removing my Ubuntu Feisty Fawn There was some conflict. I didn't want to remove Ubuntu because I had used a lot of bandwidth to have the applications what I want,but this Fedora messed up everything. Now, after installing Fedora, the purpose is still not completed. This application couldn't be installed as it is complaining that gcc or g++ compiler is not installed. gcc is installed and yum doesn't have anything related to g++ compiler. Now, what do I do?
In the terminal, as root, type

Code:
yum -y install gcc
NOTE: THE DOWNLOAD MAY BE ABOUT 32 MB

And yes, do tell me something about that software, and why you need it ?
__________________
KDE on ArchLinux
PHP, MySQL, PostgreSQL, Linux, Apache; Message me to hire (freelancing only)
Explore Technology @ http://www.itech7.com
Cheap and Reliable VPS Hosting @ http://j.mp/arHk5e
The Unknown is offline  
Old 14-10-2007, 09:23 AM   #17 (permalink)
The Thread Killer >:)
 
phreak0ut's Avatar
 
Join Date: Apr 2006
Location: Bangalore
Posts: 1,185
Default Re: Kernel panic in Fedora Core 7

Quote:
yum -y install gcc
Loading "installonlyn" plugin
Setting up Install Process
Parsing package install arguments
kagesenshi-compiz 100% |=========================| 1.9 kB 00:00
livna 100% |=========================| 2.1 kB 00:00
fedora 100% |=========================| 2.1 kB 00:00
primary.sqlite.bz2 100% |=========================| 3.8 MB 00:30
adobe-linux 100% |=========================| 951 B 00:00
updates 100% |=========================| 2.3 kB 00:00
Nothing to do
I got the above output because gcc is already installed like I mentioned in the previous post. This application is a network simulator which we use in our lab.
__________________
Want to make this world a better place? Then, start seeding and don't be just a leecher :)
phreak0ut is offline  
Old 15-10-2007, 01:29 PM   #18 (permalink)
Wise Old Owl
 
The Unknown's Avatar
 
Join Date: Nov 2006
Location: Pune, Maharashtra, India
Posts: 1,728
Lightbulb Re: Kernel panic in Fedora Core 7

Quote:
Originally Posted by phreak0utt
I got the above output because gcc is already installed like I mentioned in the previous post. This application is a network simulator which we use in our lab.
I suppose you need the C++ module. So for it use

Code:
yum -y install gcc-c++
OR try searching like this

Code:
yum search "c++"
OR

Code:
yum search "C++"
You may also need that you see all of them in details so

To have the output in a file, append "> filename" (without quotes)

__________________
KDE on ArchLinux
PHP, MySQL, PostgreSQL, Linux, Apache; Message me to hire (freelancing only)
Explore Technology @ http://www.itech7.com
Cheap and Reliable VPS Hosting @ http://j.mp/arHk5e

Last edited by The Unknown; 15-10-2007 at 01:32 PM. Reason: Automerged Doublepost
The Unknown is offline  
Old 15-10-2007, 05:45 PM   #19 (permalink)
The Thread Killer >:)
 
phreak0ut's Avatar
 
Join Date: Apr 2006
Location: Bangalore
Posts: 1,185
Question Re: Kernel panic in Fedora Core 7

Well, yum seems to have some problem. So, I downloaded g++ from the Add/Remove. Is it the front-end of yum??
__________________
Want to make this world a better place? Then, start seeding and don't be just a leecher :)
phreak0ut is offline  
Old 16-10-2007, 06:52 PM   #20 (permalink)
Wise Old Owl
 
The Unknown's Avatar
 
Join Date: Nov 2006
Location: Pune, Maharashtra, India
Posts: 1,728
Default Re: Kernel panic in Fedora Core 7

Quote:
Originally Posted by phreak0utt
Well, yum seems to have some problem. So, I downloaded g++ from the Add/Remove. Is it the front-end of yum??
Its the same thing!!!!!!!!!!!!!!!!!!!!!!!!!!!!

The Add/Remove which you used was "pirut" which is just a GUI frontend for yum!!!!

You need to upgrade yum and its required libs. So do

Code:
yum upgrade yum -y
Also, correct yourself:

IT IS NOT FEDORA CORE 7

IT IS FEDORA 7

__________________
KDE on ArchLinux
PHP, MySQL, PostgreSQL, Linux, Apache; Message me to hire (freelancing only)
Explore Technology @ http://www.itech7.com
Cheap and Reliable VPS Hosting @ http://j.mp/arHk5e

Last edited by The Unknown; 16-10-2007 at 06:52 PM. Reason: Automerged Doublepost
The Unknown is offline  
Old 23-10-2007, 10:51 PM   #21 (permalink)
The Thread Killer >:)
 
phreak0ut's Avatar
 
Join Date: Apr 2006
Location: Bangalore
Posts: 1,185
Smile Re: Kernel panic in Fedora Core 7

Thanks for the correction regarding Fedora 7, but unfortunately, I've already written as 'core' on the CD/DVD Never mind
__________________
Want to make this world a better place? Then, start seeding and don't be just a leecher :)
phreak0ut is offline  
Old 24-10-2007, 05:37 AM   #22 (permalink)
Commander in Chief
 
QwertyManiac's Avatar
 
Join Date: Jul 2005
Posts: 6,658
Default Re: Kernel panic in Fedora Core 7

^^
Not a big deal!
QwertyManiac is offline  
Old 24-10-2007, 09:39 PM   #23 (permalink)
Wise Old Owl
 
The Unknown's Avatar
 
Join Date: Nov 2006
Location: Pune, Maharashtra, India
Posts: 1,728
Default Re: Kernel panic in Fedora Core 7

Quote:
Originally Posted by QwertyManiac
^^
Not a big deal!
__________________
KDE on ArchLinux
PHP, MySQL, PostgreSQL, Linux, Apache; Message me to hire (freelancing only)
Explore Technology @ http://www.itech7.com
Cheap and Reliable VPS Hosting @ http://j.mp/arHk5e
The Unknown is offline  
Closed Thread

Bookmarks

Thread Tools
Display Modes

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
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Kernel Panic in Ubuntu Vyasram Open Source 7 14-02-2007 06:56 PM
Kernel Panic Problem... rustam_singh Open Source 3 08-06-2006 02:23 AM
Kernel Panic... Giving me a Panic Attack!! grinning_devil Open Source 5 16-04-2006 05:06 PM
upgrading to fedora core 4 from core 3 harmax Open Source 14 21-06-2005 11:46 AM

 
Latest Threads
- by Sujeet
- by soumya
- by clmlbx
- by Charan

Advertisement




All times are GMT +5.5. The time now is 01:03 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2