From: Joydeep Sen Sarma <jsensarma@yahoo.com>
To: user-mode-linux-devel@lists.sourceforge.net
Cc: jsensarma@yahoo.com
Subject: Re: [uml-devel] Debug uml kernel won't boot (VFS: Unable to mount root fs)
Date: Mon, 15 Dec 2003 13:37:02 -0800 (PST) [thread overview]
Message-ID: <20031215213702.17894.qmail@web10404.mail.yahoo.com> (raw)
In-Reply-To: <Pine.LNX.4.44.0312152124270.21650-100000@filer.marasystems.com>
as i mentioned - i have already tried the
root=/dev/ubd/0 option and that doesn't work too.
In any case, non-debug kernel works without root
option,
Joydeep
--- Henrik Nordstrom <hno@marasystems.com> wrote:
> You need to use root=... to specify which device or
> partition the root is
> on. The ubd0 argument just connects the ubda device
> to the specified file,
> it does not specify that the root is there.
>
> Regards
> Henrik
>
>
> On Mon, 15 Dec 2003, Joydeep Sen Sarma wrote:
>
> > Hi folks,
> >
> > The regular uml kernel worked fine till i turned
> > on the debug option. Kernel version is 2.4.22 and
> > I applied uml patch 2.4.22-6 to it. Root file
> System
> > is the Debian-3.0r0.ext2.bz2 image from uml home
> page.
> >
> > # ls -l root_fs
> > -rw-r--r-- 1 root root 62862336 Dec 14
> > 18:06 root_fs
> > # ./linux ubd0=root_fs debug gdb-pid=2646
> >
> > >From debugger, failure happens here:
> >
> > Breakpoint 3, do_kern_mount (fstype=0xa194b000
> "ext2",
> > flags=32769,
> > name=0xa1949000 "/dev/root", data=0x0) at
> > super.c:793
> > (gdb)
> > get_sb_bdev (fs_type=0xa01fb930, flags=-12,
> > dev_name=0xa1949000 "/dev/root",
> > data=0x0) at super.c:669
> >
> > this call in get_sb_nodev fails:
> > error = path_lookup(dev_name,
> > LOOKUP_FOLLOW|LOOKUP_POSITIVE, &nd);
> >
> > with err code of ENOENT. Any ideas what's wrong or
> > how I can debug this ? (I have tried the
> > root=/dev/ubd/0 option - same result)
> >
> > thanks,
> >
> > Joydeep
> >
> >
> >
> >
> > __________________________________
> > Do you Yahoo!?
> > New Yahoo! Photos - easier uploading and sharing.
> > http://photos.yahoo.com/
> >
> >
> >
>
-------------------------------------------------------
> > This SF.net email is sponsored by: IBM Linux
> Tutorials.
> > Become an expert in LINUX or just sharpen your
> skills. Sign up for IBM's
> > Free Linux Tutorials. Learn everything from the
> bash shell to sys admin.
> > Click now!
>
http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
> > _______________________________________________
> > User-mode-linux-devel mailing list
> > User-mode-linux-devel@lists.sourceforge.net
> >
>
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
> >
>
__________________________________
Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing.
http://photos.yahoo.com/
-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills. Sign up for IBM's
Free Linux Tutorials. Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
next prev parent reply other threads:[~2003-12-15 21:37 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-12-15 17:04 [uml-devel] Debug uml kernel won't boot (VFS: Unable to mount root fs) Joydeep Sen Sarma
2003-12-15 20:26 ` Henrik Nordstrom
2003-12-15 21:37 ` Joydeep Sen Sarma [this message]
2003-12-18 1:15 ` Jeff Dike
2003-12-18 22:15 ` Joydeep Sen Sarma
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=20031215213702.17894.qmail@web10404.mail.yahoo.com \
--to=jsensarma@yahoo.com \
--cc=user-mode-linux-devel@lists.sourceforge.net \
/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