lkml.org 
[lkml]   [1999]   [Aug]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Kernel Panic, root fs..
On Tue, 17 Aug 1999, Dan Hollis wrote:

> On 17 Aug 1999, Sam Vilain wrote:
> > Dan Hollis <goemon@sasami.anime.net> writes:
> > > > > 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>
>
> 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.

$0.02 ->
Big strings mean big kernels. Not too good. The kernel doesn't
know, and *** must not know *** about 'dev/sda1'. The kernel knows
about major/minor devices numbers, not about some abitrary strings inside
a file-name.

A file-name is just a 'trick' to associate a major/minor device number
with a file descriptor. It doesn't even have to be in /dev......

Script started on Tue Aug 17 09:11:55 1999
# file /dev/sda1
/dev/sda1: block special (8/1)
# mknod foo b 8 1
# od -x foo
0000000 3ceb 4d90 4453 534f 2e35 0030 2002 0001
0000020 0002 0002 f800 0100 0020 0080 0020 0000
0000040 ffe0 001f 0080 0529 3b13 4421 534f 2d32
0000060 2032 2020 2020 4146 3154 2036 2020 33fa
0000100 8ec0 bcd0 7c00 0716 78bb 3600 37c5 561e
^C
# exit
Script done on Tue Aug 17 09:12:48 1999


Cheers,
Dick Johnson
**** FILE SYSTEM WAS MODIFIED ****
Penguin : Linux version 2.3.13 on an i686 machine (400.59 BogoMips).
Warning : It's hard to remain at the trailing edge of technology.


-
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/

\
 
 \ /
  Last update: 2005-03-22 13:53    [W:0.166 / U:0.436 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site