Re: wanted: more informative message if root device can't be found/mounted

From: Matt Domsch
Date: Sat Nov 11 2006 - 09:11:39 EST


On Sat, Nov 11, 2006 at 12:57:37PM +0100, Arjan van de Ven wrote:
> On Sat, 2006-11-11 at 12:44 +0100, Olaf Hering wrote:
> > On Sat, Nov 11, jurriaan wrote:
> >
> > > kernel panic - unable to mount root device 09:02
> >
> > These numbers are the root cause.
> > Use mount by filesystem UUID. On-disk content does unlikely change.
> > And if it does, you have to reconfigure the bootloader anyway.
> >
> > All this luxury doesnt belong into the kernel.
>
> one thing that we should consider is to not panic(). Panic() tends to
> cause the backscroll capability to go away.. which is rather useful to
> see what went wrong for this scenario...

+1. To the untrained eye, "kernel panic" gets filed as a Sev 1 issue
by end users and testers alike, when most often it's a system
configuration error rather than a kernel bug.

--
Matt Domsch
Software Architect
Dell Linux Solutions linux.dell.com & www.dell.com/linux
Linux on Dell mailing lists @ http://lists.us.dell.com
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/