[lkml]   [1999]   [Aug]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Kernel Panic, root fs..

Dan Hollis wrote:

> > > > > 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
> Kernel Panic: Couldnt mount /dev/sda1 on root fs,

How does the kernel know that the device should be called /dev/sda1?
The kernel only knows that it was 08:01. The kernel doesn't know,
doesn't need to know, and cannot know, the names of the device files.
You could easily 'mknod /dev/foo b 8 1'. Or even more easily 'rm
/dev/sda1'; that wouldn't stop the kernel from mounting 08:01 as its
root filesystem.

In order to output the name of the device file, you would have to have
a table compiled into the kernel.

> perhaps you forgot to compile in scsi support?

So you would also need a table of descriptive driver names.

What next? Should the kernel spit out a tutorial on how to go about
compiling in SCSI support?

IMO, the kernel doesn't need to be any more verbose. It already
outputs sufficient information to diagnose the problem. Explanations
belong in the documentation, not in the kernel itself.

Glynn Clements <>

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

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