On Fri, Feb 10, 2006 at 05:40:09PM +0100, Blaisorblade wrote: Hi all, > > > > > On Fri, Feb 10, 2006 at 03:58:35AM -0700, Yu Yang wrote: > > > > > > UML reports errors similar to below: > > > > > > > > > > > > [42949373.440000] VFS: Cannot open root device "ubd" or > > > > > > unknown-block(0,0) [42949373.440000] Please append a correct > > > > > > "root=" boot option > > > > > > [42949373.440000] Kernel panic - not syncing: VFS: Unable to mount > > > > > > root fs on unknown-block(0,0) > > > > > > Jeff is seeing this unknown-block and this often suggests the problem he > > > describes (Kbuild tend to reuse /boot/config-$(uname -r) even for > > > cross-builds, which is wrong). > > > > > > > > Looks like you don't have the ubd driver configured. Run > > > > > linux --showconfig | grep UBD > > > > > > > > > > If that doesn't show BLK_DEV_UBD configured, mrproper the tree, then > > > > > run defconfig ARCH=um before building it. > > > > > > > > may it be that he did not specified correctly the identifier of the > > > > user block dev? > > > > I mean he should have run: > > > > > > > > # linux root=/dev/ubd0 > > > > > > In my expierence, rootfs=/dev/ubd0 is ok, root=/dev/ubd0 is not (UML > > > passes root=98:0). Anyway, the default "root=98:0" is ok. > > > > Sorry, but I think this log could be explanatory of my idea: > ... > > Am I right? > Yep - you are. Indeed, I meant that Jeff explaination was also possibly > (additionally) right. of course > > In any case root=/dev/ubd is wrong, Jeff (and I) thought that checking that > other common error, too is a good idea, while root=/dev/ubd could be the > cause of all problems. I also would like to add that I even tested the case of the previously loop-mounted filesystem (as in the original email), but the behavious and the error msg is the same. > Sorry for the misunderstanding - we agree in the end however. no problem, I often experienced this error during my test because it has happened to forget some option around in the bash scripts. Could it be a good idea to collect a FAQ with "certain error" and let's say, even if it is harder, "certain solution". If I find a bit of free time, this weekend, I shall try to write a draft document down. Is it worthy?
Cheers SteX -- Stefano Melchior, GPG key = D52DF829 - <[EMAIL PROTECTED]> http://etinarcadiaego.dyndns.org -- http://www.stex.name
signature.asc
Description: Digital signature