Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
AHHHHH!! Kernel panic
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
neo529
Tux's lil' helper
Tux's lil' helper


Joined: 14 Nov 2002
Posts: 91

PostPosted: Mon Dec 02, 2002 10:53 pm    Post subject: AHHHHH!! Kernel panic Reply with quote

Ok I just installed gentoo (again) and now when I boot into grub and do the whole "kernel /boot/bzImage" and then "boot" I get this about halfway throught
Code:

Net4: Unic domain sockets 1.0/smp for Linux NET4.0
ds: no socket drives loaded!
Kernel panic: VFS: Unable to mount root fs on 03:03

Please help, I have nothing but problems lately and I really wanna keep Gentoo!
_________________
Gentoo isn't just an OS... It's a state of mind.
Back to top
View user's profile Send private message
wudmx
Guru
Guru


Joined: 07 Aug 2002
Posts: 527

PostPosted: Mon Dec 02, 2002 11:13 pm    Post subject: Reply with quote

hi!

Quote:
Unic domain sockets 1.0/smp for Linux NET4.0

do you have a multiprocessor? perhaps you should check your make menuconfig procedure, there shouldn't be any options turned on regarding the smp if you have no multiprocessor!

that was just my opinion, im not an expert ;-)
Back to top
View user's profile Send private message
neo529
Tux's lil' helper
Tux's lil' helper


Joined: 14 Nov 2002
Posts: 91

PostPosted: Mon Dec 02, 2002 11:22 pm    Post subject: Reply with quote

I was using those to show where in the boot process that the kernel panic occurs... that was always there thought. Thanks for the help though
_________________
Gentoo isn't just an OS... It's a state of mind.
Back to top
View user's profile Send private message
rac
Bodhisattva
Bodhisattva


Joined: 30 May 2002
Posts: 6553
Location: Japanifornia

PostPosted: Mon Dec 02, 2002 11:57 pm    Post subject: Reply with quote

I agree with wudmx: get SMP out of there if it's a uniprocessor machine. It slows the kernel down. Your core problem is probably caused by failing to include something required to mount your root filesystem in your kernel. That could be IDE support, SCSI support, support for some host adaptor card that is needed to get at the drive, or the filesystem type itself.
_________________
For every higher wall, there is a taller ladder
Back to top
View user's profile Send private message
neo529
Tux's lil' helper
Tux's lil' helper


Joined: 14 Nov 2002
Posts: 91

PostPosted: Tue Dec 03, 2002 1:47 am    Post subject: Reply with quote

I make dep fine (I think, it ends with updateing a .h file or not updating the .h file (depending on if I made any changes in menuconfig)) and when I make a clean bzImage I get this and it ends up at a prompt
Code:

mkdir -p pcmcia; \
find kernel -path '*/pcmcia/*' -name '*.o' | xargs -i -r ln -sf ../{} pcmcia
if [-r System.ma]; then /sbin/depmod -ai -F System.map 2.4.20; fi
#


any one have any suggestions?
_________________
Gentoo isn't just an OS... It's a state of mind.
Back to top
View user's profile Send private message
sheepdog
Guru
Guru


Joined: 14 Oct 2002
Posts: 369
Location: Edison Enterprises Inc., Lake Oswego, Oregon, USA

PostPosted: Tue Dec 03, 2002 2:14 am    Post subject: items Reply with quote

Post the output of "cat /proc/pci", the contents of /etc/fstab, the contents of /boot/grub/grub.conf, and the parts of /usr/src/linux/.config pertaining to the filesystems and IDE controllers and we'll talk.

-- Michael
Back to top
View user's profile Send private message
neo529
Tux's lil' helper
Tux's lil' helper


Joined: 14 Nov 2002
Posts: 91

PostPosted: Tue Dec 03, 2002 3:36 am    Post subject: Reply with quote

Quote:
Post the output of "cat /proc/pci", the contents of /etc/fstab, the contents of /boot/grub/grub.conf, and the parts of /usr/src/linux/.config pertaining to the filesystems and IDE controllers and we'll talk.


Is there a way I can copy those without re-typing them so I can post them on here?
_________________
Gentoo isn't just an OS... It's a state of mind.
Back to top
View user's profile Send private message
masseya
Bodhisattva
Bodhisattva


Joined: 17 Apr 2002
Posts: 2602
Location: Baltimore, MD

PostPosted: Tue Dec 03, 2002 3:51 am    Post subject: Reply with quote

That's a little trickier. If you can't boot the machine on a stable kernel that allows you to get X up and running then you will probably want to try and redirect the output to a file and transfer the file to a place where you can access the forums.
Code:
bash $  cat /proc/pci > myfile.txt
bash $  scp myfile.txt login_name@other_computer.com:~/myfile.txt

Of couse if you are dual-booting to Windows, then you can just copy it over to the proper partition as long as it's been mounted in your linux system. If you are still confused, please let us know how exactly you are accessing the forums in the first place. That helps since there are a thousand ways to transfer files and such.
_________________
if i never try anything, i never learn anything..
if i never take a risk, i stay where i am..
Back to top
View user's profile Send private message
neo529
Tux's lil' helper
Tux's lil' helper


Joined: 14 Nov 2002
Posts: 91

PostPosted: Tue Dec 03, 2002 4:06 am    Post subject: Reply with quote

from the live cd can I upload files to ftp? Im accessing the forums from another computer in the house
_________________
Gentoo isn't just an OS... It's a state of mind.
Back to top
View user's profile Send private message
rac
Bodhisattva
Bodhisattva


Joined: 30 May 2002
Posts: 6553
Location: Japanifornia

PostPosted: Tue Dec 03, 2002 5:40 am    Post subject: Reply with quote

The ending of "make bzImage" you posted looks completely normal to me.
_________________
For every higher wall, there is a taller ladder
Back to top
View user's profile Send private message
neo529
Tux's lil' helper
Tux's lil' helper


Joined: 14 Nov 2002
Posts: 91

PostPosted: Tue Dec 03, 2002 6:06 am    Post subject: Reply with quote

well thats good :D atleast something is going right.... anyways Im reinstalling it all right now leaving a 2 gig spot on hda1 for a windows partition so I can troubleshoot easier (althought i probably will screw up dual boot somehow) anyways, tomorrow I will tell you if I still get the same problem
_________________
Gentoo isn't just an OS... It's a state of mind.
Back to top
View user's profile Send private message
UnderDog138
n00b
n00b


Joined: 03 Dec 2002
Posts: 67
Location: Dallas, TX, USA

PostPosted: Tue Dec 03, 2002 2:00 pm    Post subject: Reply with quote

I'm having the exact same problem. Error occurs in exactly the same spot, at exactly the same time. I followed the installation instructions to a T, and I don't want to bootstrap from stage1 again. Did anything become of this?

The only thing I can recall not doing is enabling "Device File System" in the Filesystem section of my kernel conf, simply because I couldn't find "Device File System" in the list, so I assumed it was already enabled.

Other than that, I did everything exactly.
Back to top
View user's profile Send private message
sheepdog
Guru
Guru


Joined: 14 Oct 2002
Posts: 369
Location: Edison Enterprises Inc., Lake Oswego, Oregon, USA

PostPosted: Tue Dec 03, 2002 4:19 pm    Post subject: hi Reply with quote

Almost certainly there is something unset in the kernel configuration that is required by your installation. Post the information specified above and the discrepency will be apparant.
Back to top
View user's profile Send private message
really
Guru
Guru


Joined: 27 Aug 2002
Posts: 430
Location: nowhere

PostPosted: Tue Dec 03, 2002 4:36 pm    Post subject: Reply with quote

almost certan that it is a root passing option thats not correct or you have not included the right filesystem support thats being used on the / partition.

how come none didnt mention that?

it is a VFS error no smp.
(i belive)
Device FIle System is called devfs when you configure your kernel, Device File System is a string in the description. its i think in the Filesystem section.
if you cant find anysetting in the make menuconfig or xconfig then just nano .config in /usr/src/linux and ctrl-w to search for it, and enable /disable it there.

once again, check what types of filesystem you have build in your kernel, if you are using reiserfs on your / then have reiserfs in kernel, not moudle. if its ext3 then enable both ext2 and ext3, if its xfs then enable that.
if you have diffrent fs on diffrenet partitions be sure to enable them all!
AND make sure that you pass the correct root=/dev/xxx option to the kernel, so it knows where to try to mount / and from where to start init.
_________________
NoManNoProblem

Get lost before you get shot.
Back to top
View user's profile Send private message
sheepdog
Guru
Guru


Joined: 14 Oct 2002
Posts: 369
Location: Edison Enterprises Inc., Lake Oswego, Oregon, USA

PostPosted: Tue Dec 03, 2002 4:48 pm    Post subject: others Reply with quote

All these are good possibilities. However, it isn't an exhaustive list of possible causes of the problem. In one instance I have seen the problem with all the right file systems specified and listed in fstab. But all the hard disks were SCSI and, although the kernel had several SCSI drivers, it was missing the specific driver for the particular SCSI board present. Same error.
Back to top
View user's profile Send private message
UnderDog138
n00b
n00b


Joined: 03 Dec 2002
Posts: 67
Location: Dallas, TX, USA

PostPosted: Tue Dec 03, 2002 5:06 pm    Post subject: Reply with quote

I fixed my own problem there. I went in with the livecd and recompiled the kernel and included all the file system modules I needed in the kernel proper instead of as modules and it booted fine. The only thing I need now is DEVFS which isn't listed in the File System section as far as I can see. Unless DEVFS is /dev file system support (experimental), then it's just labled wrong in the install and threw a lot of us off because the name of it changed. I'll include that and recompile and see what that does.
Back to top
View user's profile Send private message
UnderDog138
n00b
n00b


Joined: 03 Dec 2002
Posts: 67
Location: Dallas, TX, USA

PostPosted: Tue Dec 03, 2002 5:22 pm    Post subject: Reply with quote

Splendid. It works perfect now.

To anyone with that problem, remember, do what the install says and include all the drivers it tells you to include as part of the kernel, and not as modules. "Device File System" is actually "/dev/ file system support (expiermental)," which confused me as I'm sure it confused others.

Compile it that way and it should mount all the file systems just right.
Back to top
View user's profile Send private message
really
Guru
Guru


Joined: 27 Aug 2002
Posts: 430
Location: nowhere

PostPosted: Tue Dec 03, 2002 5:33 pm    Post subject: Re: others Reply with quote

sheepdog wrote:
All these are good possibilities. However, it isn't an exhaustive list of possible causes of the problem. In one instance I have seen the problem with all the right file systems specified and listed in fstab. But all the hard disks were SCSI and, although the kernel had several SCSI drivers, it was missing the specific driver for the particular SCSI board present. Same error.
then it is the cause of the problem ;)
i mean the same problem, you didnt compile in the drivers for the filesystem or the drivers for the scsi/ide disks, as is, the VFS: Cannot mount root on blabla is due to missing drivers or you told the kernel to look for where the root is not.

i see underdog solved his problem like i mentioned :)
(i think?)
_________________
NoManNoProblem

Get lost before you get shot.
Back to top
View user's profile Send private message
UnderDog138
n00b
n00b


Joined: 03 Dec 2002
Posts: 67
Location: Dallas, TX, USA

PostPosted: Tue Dec 03, 2002 10:55 pm    Post subject: Reply with quote

Yeah, I did.
Back to top
View user's profile Send private message
neo529
Tux's lil' helper
Tux's lil' helper


Joined: 14 Nov 2002
Posts: 91

PostPosted: Sat Dec 07, 2002 3:18 am    Post subject: Reply with quote

Well, enabling DEVFS support didn't work for me so I went the quick way and reinstalled gentoo :P
_________________
Gentoo isn't just an OS... It's a state of mind.
Back to top
View user's profile Send private message
pilla
Bodhisattva
Bodhisattva


Joined: 07 Aug 2002
Posts: 7729
Location: Underworld

PostPosted: Sun Dec 08, 2002 5:05 pm    Post subject: Reply with quote

Don't forget to enable "DEVFS at boot time" option.
neo529 wrote:
Well, enabling DEVFS support didn't work for me so I went the quick way and reinstalled gentoo :P
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum