Kernel panic (unable to mount fs on 03:42)

Kernel panic (unable to mount fs on 03:42)

Post by David J. Toppe » Wed, 19 Nov 1997 04:00:00



I am just about at wits end with Slackware 3.3.  I am trying to set up a
box with kernel 2.0.30.  Here's the deal:

    P100
    64m ram
    Adaptec AHA2940 SCSI controller
    Fujitsu 4gig SCSI HD
    Toshiba SCSI CDROM

    It takes over an hour to recompile with:

        make dep; make clean; make; make modules; make modules_install;
make zlilo

I do the make zlilo to get a vmlinuz file to boot with loadlin.

Anyhow ... I just recompiled and get the following:

Partition check:
    sda: sda1 sda2 sda3
VFS:  Cannot open root device 03:42
Kernel panic:  VFS:  Unable to mount root fs on 03:42

I've been running Linux for 4 years and have set up a few boxes in my
day.  I've also recompiled kernels hundreds of times.  What I'm trying
to say is that I WENT THROUGH MAKE MENUCONFIG WITH A FINE-TOOTHED COMB!
I am at a coplete loss as to why I can't boot from my newly compiled
kernel.

Should I switch to RedHat?

Desperately ...

DT

 
 
 

Kernel panic (unable to mount fs on 03:42)

Post by Bjarne Nygaar » Fri, 21 Nov 1997 04:00:00


Hi David...


> I am just about at wits end with Slackware 3.3.  I am trying to set up a
> box with kernel 2.0.30.  Here's the deal:

>     P100
>     64m ram
>     Adaptec AHA2940 SCSI controller
>     Fujitsu 4gig SCSI HD
>     Toshiba SCSI CDROM

>     It takes over an hour to recompile with:

>         make dep; make clean; make; make modules; make modules_install;
> make zlilo

Just do:
make dep; make clean; make zilo; make modules; make modules_install;

Quote:

> I do the make zlilo to get a vmlinuz file to boot with loadlin.

To clear up things for you:
I can boot both from lilo and DOS (loadlin). The 'zlilo' command
makes your bootimage for your root device.
To boot from DOS i just copy my bootimage (vmlinuz) to loadlin's dir.

Quote:

> Anyhow ... I just recompiled and get the following:

> Partition check:
>     sda: sda1 sda2 sda3
> VFS:  Cannot open root device 03:42
> Kernel panic:  VFS:  Unable to mount root fs on 03:42

> I've been running Linux for 4 years and have set up a few boxes in my
> day.  I've also recompiled kernels hundreds of times.  What I'm trying
> to say is that I WENT THROUGH MAKE MENUCONFIG WITH A FINE-TOOTHED COMB!

What should that do for you? Either is your kernel source mixed up or
wrongly configured. (Look in the /usr/src/linux/README)

-It has nothing to do with Slackware !!!!! (They only deliver your basic
setup.)

FYI I am running Slackware on an AMD486DX2/66 with 32MByte RAM.
This thing has compiled all my kernel2 since 2.0.0 (now 2.0.31) in about
40 min.
The earlier kernels (1.2.x) were done in 20 min. or so.

Quote:> I am at a coplete loss as to why I can't boot from my newly compiled
> kernel.

> Should I switch to RedHat?

I would not care. You have to know what you do when compiling AND you
NEED
to BOOT afterwards. You always have to prepare an escape route.

From Slackware you should take one of the boot/rootdisk sets. From the
setup program you might be able to make yourself a bootable floppy using
the supplied kernel.
From the setup program you might reinstall lilo and reconfigure it. !
Slackware is not that bad....

Why don't you use lilo for booting your old kernel.?

The problem might be misconfigured kernel, bootparameters or filesystem
error.
Doing this repair I would want an extra machine on which to prepair
a floppy with extra programs for diagnosis and cure.

Quote:

> Desperately ...

> DT

cu
--
+----------------------------------------------------------------------+

|          ---this space is not intentionally left blank---            |
+----------------------------------------------------------------------+

 
 
 

Kernel panic (unable to mount fs on 03:42)

Post by Dick Altenber » Mon, 24 Nov 1997 04:00:00



> Anyhow ... I just recompiled and get the following:

> Partition check:
>     sda: sda1 sda2 sda3
> VFS:  Cannot open root device 03:42
> Kernel panic:  VFS:  Unable to mount root fs on 03:42

> I've been running Linux for 4 years and have set up a few boxes in my
> day.  I've also recompiled kernels hundreds of times.  What I'm trying
> to say is that I WENT THROUGH MAKE MENUCONFIG WITH A FINE-TOOTHED COMB!
> I am at a coplete loss as to why I can't boot from my newly compiled
> kernel.

> Should I switch to RedHat?

> Desperately ...

> DT

David,
  It looks like the kernel that you built thinks that your root file
system is on hdb2.  The 03:42 that is in the last two messages is a
major:minor device number in hex.  If you go to /dev and do ls hdb2, you
should see a line like this:
brw-rw----   1 root     disk       3,  66 Mar 23  1997 /dev/hdb2

I'm not sure how this gets set in the kernel build procedure.  You can
easily check this by using the rdev command.  You cd to the dir. where
the new kernel is and say "rdev vmlinuz" (or whatever else the name of
your final kernel is).  You should get a line like this:

Root device /dev/hda2

or in your case, I think it will say /dev/hdb2.  You can change it by
saying "rdev vmlinux /dev/sda1", or replace the sda1 by whichever
partition you have your root file system on.  You should be able to
check this by running rdev on your currently running kernel.
     Dick Altenbern

 
 
 

1. kernel panic: unable to mount root fs on 03:42

Hi all.
I've been runnuing 2.2.10 kernel for a while, and had to replace a
motherboard in my machine. After that, the kernel would not boot and
produces teh message:

Partition check:
hda: hda1
hdb: hdb1  hdb2  hdb3  <> hdb4
hdc: hdc1 hdc2 <hdc5>

[MS-DOS FS Rel. 12, FAT 16, check=n, conv=b, uid=0, gid=0,umask=022]
[me=0x1b, cs=6649, #f=221 , fs=23683, fl=1714243, ds=379592282, de=37899,
data=37959, se=38384, tf=-570602308, ls=56158, rc=0,fc=4294967295]

Transaction block size = 512

[MS-DOS FS Rel. 12, FAT 16, check=n, conv=b, uid=0, gid=0,umask=022]
[me=0x1b, cs=6649, #f=221 , fs=23683, fl=1714243, ds=379592282, de=37899,
data=37959, se=38384, tf=-570602308, ls=56158, rc=0,fc=4294967295]

Transaction block size = 512

Kernel panic: VFS: unable to mount root fs on 03:42

What is interesting is that 2.0.36 kernel boots perfectly.
I've noticed that htere is a difference in partitions being detected,
because 2.0.36 detects these:

Partition check:
hda: hda1
hdb: hdb1  hdb2  hdb3  <hdb5> hdb4
hdc: hdc1 hdc2 <hdc5>

but 2.2.10 misses teh hdb5.

I've recompiled the kernel couple of times. Included all IDE support htere
was, checked the BIOS for dangerous settings...nothing.
Any leads on what I should check and pay attention to in order to get the
kernel booted?
Running 2.0.7 libc Debian system.
The board is 430VX chipset.
TIA
  Andrew

------------------  Posted via SearchLinux  ------------------
                  http://www.searchlinux.com

2. FTP from AIX over Socks 4.3a via MS-Proxy

3. Kernel panic: VFS Unable to mount root fs on 03:42

4. Increase the default stack size from 8192K

5. Kernel Panic:VFS: 03:42

6. Cannot get NFS to work on Mandrake 7

7. kernel panic:unable to mount root on fs (kernel-2.4.21)

8. Why won't NT load?

9. Help! Kernel panic: Unable to mount root fs??

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

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

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

13. Kernel panic: Unable to mount root fs on 03:07