Kernel panic VFS

Kernel panic VFS

Post by Custome » Fri, 02 Mar 2001 09:19:16



I am trying to compile a new kernel and booting from it gives :

Kernel panic VFS: Unable to mount root fs on 03:03

How do I get back to boot from other image - Even if I say to boot from
/boot/vmlinuz.old - it gives the same problem.

 
 
 

Kernel panic VFS

Post by Josef Moeller » Fri, 02 Mar 2001 16:48:49



> I am trying to compile a new kernel and booting from it gives :

> Kernel panic VFS: Unable to mount root fs on 03:03

Somehow the kernel is unable to locate your SCSI host-adapter driver.
If you have a modularized kernel, there are several reasons why this
happens:
- you didn't build an "initial ramdisk" (try to figure out how the
kernel can load the SCSI driver off the root disk when it doesn't have a
driver for that disk)
- you didn't call /sbin/lilo after installing the initial ramdisk in
/boot.
- the version of the SCSI driver included in the root disk does not
match the kernel.
You can scroll back with shift-pageup to check if there are any messages
before that panic message which complain about the scsi driver.

Quote:> How do I get back to boot from other image - Even if I say to boot from
> /boot/vmlinuz.old - it gives the same problem.

Tough question. You cannot tell LILO (assuming you use LILO) to boot
from /boot/vmlinuz.old. All you can do is set up boot scenarios with a
given name in /etc/lilo.conf, and boot a given scenario. What you should
have done is to keep the old scenario and add a new one for your new
kernel. LILO will tell you what scenarios it knows of when you type TAB
at the LILO prompt.

If you don't have a working scenario, you can try to find a boot disk
that can boot a minimal linux, e.g. a SuSE CDROM can boot an installed
system, i.e. you boot kernel et al from the CDROM but use the
root-filesystem on the disk. Once you have this rescue system up and
running, you can repair the damage.

--
Josef M?llers (Pinguinpfleger bei FSC)
        If failure had no penalty success would not be a prize
                                                -- T.  Pratchett

 
 
 

1. Help: Kernel Panic:VFS: Unable to mount root, after rebuilding kernel

I get the followint message when trying to load a new kernel :

Kernel Panic:VFS: Unable to mount root.

This happens, exactly when it should say : "partitionc check hda1 hda2 hda3"

I have checked with rdev and the new kernel does have the rigth
root device (/dev/hda3). If I change this to /dev/hda1, which is my DOS
partition I get : root mounted MSDOS is read only, should be read/write
and the system hangs.

I have played with rootflag in the zImage setting it to 1 (it was 0 originnaly)
and I saw it was 1 in /vmlinuz but that did not change anything.

Moreover the new kernel is about half the size of the old :

-rw-r--r--   1 root     root       121348 Apr  2 13:43 /usr/src/linux/zImage
-r--------   1 root     root       281092 Apr  1 21:43 /vmlinuz

Finally, when I first chose SYSVIPC, when configuring it (I don't know
what it is) it would not compile :

make[1]: Entering directory `/usr/src/linux/ipc'
gcc -D__KERNEL__ -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -pipe -m486
-c util.c
gcc -D__KERNEL__ -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -pipe -m486
-c msg.c
gcc -D__KERNEL__ -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -pipe -m486
-c sem.c
gcc -D__KERNEL__ -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -pipe -m486
-c shm.c
ld -r -o ipc.o util.o  msg.o sem.o shm.o
util.o: Definition of symbol _shm_fork (multiply defined)
util.o: Definition of symbol _sem_exit (multiply defined)
util.o: Definition of symbol _shm_exit (multiply defined)
util.o: Definition of symbol _shm_swap (multiply defined)
util.o: Definition of symbol _shm_no_page (multiply defined)
sem.o: Definition of symbol _sem_exit (multiply defined)
shm.o: Definition of symbol _shm_exit (multiply defined)
shm.o: Definition of symbol _shm_fork (multiply defined)
shm.o: Definition of symbol _shm_no_page (multiply defined)
shm.o: Definition of symbol _shm_swap (multiply def

I recompiled with disabling sysvipc

2. UltraStor 14F driver

3. kernel panic, VFS

4. install and solaris 7

5. Kernel panic:VFS:Unable to mount root fs on 0:1:00

6. Req youre help in Inventory.

7. Kernel panic: VFS: Unable to mount root fs...

8. Latest libc manual version ?

9. Kernel Panic:VFS:... what does it mean??

10. Kernel panic: VFS: unable to mount fs on 08:01

11. Kernel panic: VFS: unable to mount root fs

12. Kernel Panic: VFS: unsupported optional features

13. Help: Kernel Panic: VFS unable to mount root fs