Re: Kernel Panic, root fs..

Riley Williams (rhw@MemAlpha.CX)
Tue, 17 Aug 1999 19:10:21 +0100 (GMT)


Hi Dan.

>>>>> VFS: Cannot open root device 08:01
>>>>> Kernel Panic: VFS: Unable to mount root fs on 08:01

>>>> You forgot to compile your SCSI driver into the kernel

>>> Perhaps the kernel could be a bit more verbose here.

>> And what *should* it say?

> In the case of -ENODEV, the kernel would spit out

> <QUOTE>
> Kernel Panic: Couldnt mount /dev/sda1 on root fs, perhaps you forgot to
> compile in scsi support?
> </QUOTE>

Several have already dealt with why this won't work, so I won't add to
it...

> An alternative would be for "make zImage" or lilo to bitch at
> you that you dont have kernel modules/kernel support for the
> root device.

How does "make zImage" or "make bzImage" know what the root device is
anyway? Remember that the machine we're compiling on may not be the
target machine - and we may even be compiling a kernel with which to
netboot some machines without any drives of their own...

Best wishes from Riley.

+----------------------------------------------------------------------+
| There is something frustrating about the quality and speed of Linux |
| development, ie., the quality is too high and the speed is too high, |
| in other words, I can implement this XXXX feature, but I bet someone |
| else has already done so and is just about to release their patch. |
+----------------------------------------------------------------------+
* ftp://ftp.MemAlpha.cx/pub/rhw/Linux
* http://www.MemAlpha.cx/kernel.versions.html

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/