View previous topic :: View next topic |
Author |
Message |
neo529 Tux's lil' helper
Joined: 14 Nov 2002 Posts: 91
|
Posted: Mon Dec 02, 2002 10:53 pm Post subject: AHHHHH!! Kernel panic |
|
|
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 |
|
|
wudmx Guru
Joined: 07 Aug 2002 Posts: 527
|
Posted: Mon Dec 02, 2002 11:13 pm Post subject: |
|
|
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 |
|
|
neo529 Tux's lil' helper
Joined: 14 Nov 2002 Posts: 91
|
Posted: Mon Dec 02, 2002 11:22 pm Post subject: |
|
|
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 |
|
|
rac Bodhisattva
Joined: 30 May 2002 Posts: 6553 Location: Japanifornia
|
Posted: Mon Dec 02, 2002 11:57 pm Post subject: |
|
|
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 |
|
|
neo529 Tux's lil' helper
Joined: 14 Nov 2002 Posts: 91
|
Posted: Tue Dec 03, 2002 1:47 am Post subject: |
|
|
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 |
|
|
sheepdog Guru
Joined: 14 Oct 2002 Posts: 369 Location: Edison Enterprises Inc., Lake Oswego, Oregon, USA
|
Posted: Tue Dec 03, 2002 2:14 am Post subject: items |
|
|
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 |
|
|
neo529 Tux's lil' helper
Joined: 14 Nov 2002 Posts: 91
|
Posted: Tue Dec 03, 2002 3:36 am Post subject: |
|
|
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 |
|
|
masseya Bodhisattva
Joined: 17 Apr 2002 Posts: 2602 Location: Baltimore, MD
|
Posted: Tue Dec 03, 2002 3:51 am Post subject: |
|
|
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 |
|
|
neo529 Tux's lil' helper
Joined: 14 Nov 2002 Posts: 91
|
Posted: Tue Dec 03, 2002 4:06 am Post subject: |
|
|
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 |
|
|
rac Bodhisattva
Joined: 30 May 2002 Posts: 6553 Location: Japanifornia
|
Posted: Tue Dec 03, 2002 5:40 am Post subject: |
|
|
The ending of "make bzImage" you posted looks completely normal to me. _________________ For every higher wall, there is a taller ladder |
|
Back to top |
|
|
neo529 Tux's lil' helper
Joined: 14 Nov 2002 Posts: 91
|
Posted: Tue Dec 03, 2002 6:06 am Post subject: |
|
|
well thats good 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 |
|
|
UnderDog138 n00b
Joined: 03 Dec 2002 Posts: 67 Location: Dallas, TX, USA
|
Posted: Tue Dec 03, 2002 2:00 pm Post subject: |
|
|
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 |
|
|
sheepdog Guru
Joined: 14 Oct 2002 Posts: 369 Location: Edison Enterprises Inc., Lake Oswego, Oregon, USA
|
Posted: Tue Dec 03, 2002 4:19 pm Post subject: hi |
|
|
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 |
|
|
really Guru
Joined: 27 Aug 2002 Posts: 430 Location: nowhere
|
Posted: Tue Dec 03, 2002 4:36 pm Post subject: |
|
|
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 |
|
|
sheepdog Guru
Joined: 14 Oct 2002 Posts: 369 Location: Edison Enterprises Inc., Lake Oswego, Oregon, USA
|
Posted: Tue Dec 03, 2002 4:48 pm Post subject: others |
|
|
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 |
|
|
UnderDog138 n00b
Joined: 03 Dec 2002 Posts: 67 Location: Dallas, TX, USA
|
Posted: Tue Dec 03, 2002 5:06 pm Post subject: |
|
|
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 |
|
|
UnderDog138 n00b
Joined: 03 Dec 2002 Posts: 67 Location: Dallas, TX, USA
|
Posted: Tue Dec 03, 2002 5:22 pm Post subject: |
|
|
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 |
|
|
really Guru
Joined: 27 Aug 2002 Posts: 430 Location: nowhere
|
Posted: Tue Dec 03, 2002 5:33 pm Post subject: Re: others |
|
|
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 |
|
|
UnderDog138 n00b
Joined: 03 Dec 2002 Posts: 67 Location: Dallas, TX, USA
|
Posted: Tue Dec 03, 2002 10:55 pm Post subject: |
|
|
Yeah, I did. |
|
Back to top |
|
|
neo529 Tux's lil' helper
Joined: 14 Nov 2002 Posts: 91
|
Posted: Sat Dec 07, 2002 3:18 am Post subject: |
|
|
Well, enabling DEVFS support didn't work for me so I went the quick way and reinstalled gentoo _________________ Gentoo isn't just an OS... It's a state of mind. |
|
Back to top |
|
|
pilla Bodhisattva
Joined: 07 Aug 2002 Posts: 7729 Location: Underworld
|
Posted: Sun Dec 08, 2002 5:05 pm Post subject: |
|
|
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 |
|
|
Back to top |
|
|
|