public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Rob Landley <rob@landley.net>
To: linux-kernel@vger.kernel.org
Cc: jdike@karaya.com
Subject: BUG at fs/inode.c:1100 in usermode linux 2.6.9 with hostfs as root.
Date: Sat, 6 Nov 2004 04:17:04 -0600	[thread overview]
Message-ID: <200411060417.04191.rob@landley.net> (raw)

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


                 reply	other threads:[~2004-11-06 10:15 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200411060417.04191.rob@landley.net \
    --to=rob@landley.net \
    --cc=jdike@karaya.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox