* BUG at fs/inode.c:1100 in usermode linux 2.6.9 with hostfs as root.
@ 2004-11-06 10:17 Rob Landley
0 siblings, 0 replies; only message in thread
From: Rob Landley @ 2004-11-06 10:17 UTC (permalink / raw)
To: linux-kernel; +Cc: jdike
Mounting hostfs as the root filesystem doesn't seem to work. I compiled
usermode linux (tar xvjf linux-2.6.9.tar.bz2; cd linux-2.6.9; make ARCH=um
menuconfig; make ARCH=um). Compiled in hostfs (I can send my config if it
helps but I tried disabling just about everything while debugging and the
problem didn't change.)
I ran the result with the following command line:
./vmlinux init=/bin/sh rootflags=/path/to/rootdir,rw rootfstype=hostfs
And it gave the error message in the title.
Before this, I tried following what Documention/uml says about using hostfs as
a root device, but it doesn't work. It's talking about ubd, not hostfs.
(I've tried with ubd compiled in and without it compiled in, no difference.)
It says unknown root device 98:0 and please use a root=option and never tries
to mount a hostfs anything.
The above command line does make it mount hostfs. I can stick in a printf and
a sys_access() right after prepare_namespace() in init/main.c, and it can see
the files in the directory. But if I let the boot continue, it hits the
BUG()...
Er... Help?
Rob
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-11-06 10:15 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-11-06 10:17 BUG at fs/inode.c:1100 in usermode linux 2.6.9 with hostfs as root Rob Landley
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox