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

From: Arjan van de Ven
Date: Sat Nov 11 2006 - 06:58:00 EST


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

--
if you want to mail me at work (you don't), use arjan (at) linux.intel.com
Test the interaction between Linux and your BIOS via http://www.linuxfirmwarekit.org

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