WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] ttylinux unable to mount root fs on gentoo

To: xen-devel@xxxxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-devel] ttylinux unable to mount root fs on gentoo
From: Karl Higgins <karl@xxxxxxxxxxxxxx>
Date: Sat, 29 Jan 2005 09:20:15 -0600
Delivery-date: Sat, 29 Jan 2005 15:29:33 +0000
Envelope-to: xen+James.Bulpin@xxxxxxxxxxxx
In-reply-to: <200501291341.34926.maw48@xxxxxxxxxxxx>
List-archive: <http://sourceforge.net/mailarchive/forum.php?forum=xen-devel>
List-help: <mailto:xen-devel-request@lists.sourceforge.net?subject=help>
List-id: List for Xen developers <xen-devel.lists.sourceforge.net>
List-post: <mailto:xen-devel@lists.sourceforge.net>
List-subscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=subscribe>
List-unsubscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=unsubscribe>
Organization: packettrap.org
References: <200501282356.18140.karl@xxxxxxxxxxxxxx> <200501291341.34926.maw48@xxxxxxxxxxxx>
Sender: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.7.1
Yes, /dev/sda1 does exist in dom0:

l500r root # ls -l /dev/sda1
brw-rw----  1 root disk 8, 1 Oct 23 23:28 /dev/sda1
l500r root #

This box was setup as a "tweaked" udev box per the instructions in sections 1 
and 2 of:

http://www.gentoo.org/doc/en/udev-guide.xml

It seems that the gentoo init scripts detect this configuration and construct 
a set of devices early in the boot then start udevd (still running).

 Using 0801 instead of /dev/sda1 yields the following for both the file and 
lvm disk:

VFS: Cannot open root device "0801" or unknown-block(8,1)
Please append a correct "root=" boot option
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(8,1)

--
karl@xxxxxxxxxxxxxx

On Saturday 29 January 2005 07:41, Mark Williamson wrote:
> Interesting...
>
> Does /dev/sda1 exist in dom0?  (I'm guessing not as you'll be using udev or
> devfs).  What happens if you specify 0801 instead of /dev/sda1 in your
> config file?
>
> Cheers,
> Mark
>
> On Saturday 29 January 2005 05:56, Karl Higgins wrote:
> > Hello,
> >
> > I have a gentoo box running xen 2.0.3 which is unable to boot the
> > ttylinux image from sourceforge. I compiled xen, xen0, and xenU from
> > sources.
> >
> > I have attempted to boot the xenU kernel with / in a file and a logical
> > volume and get the same message either way.
> >
> > error message:
> >
> > VFS: Cannot open root device "sda1" or unknown-block(8,1)
> > Please append a correct "root=" boot option
> > Kernel panic - not syncing: VFS: Unable to mount root fs on
> > unknown-block(8,1)
> >
> > config file passed to "xm create ...":
> >
> > kernel = "/boot/vmlinuz-2.6.10-xenU"
> > memory = 64
> > name = "ttylinux"
> > nics = 1
> > #disk = [ 'phy:hdX_vg/ttylinux_lv,sda1,w' ]
> > disk = [ 'file:/root/ttylinux-xen,sda1,w' ]
> > root = "/dev/sda1 ro"
> > restart = "never"
> >
> > --
> > karl@xxxxxxxxxxxxxx
> >
> >
> > -------------------------------------------------------
> > This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
> > Tool for open source databases. Create drag-&-drop reports. Save time
> > by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
> > Download a FREE copy at http://www.intelliview.com/go/osdn_nl
> > _______________________________________________
> > Xen-devel mailing list
> > Xen-devel@xxxxxxxxxxxxxxxxxxxxx
> > https://lists.sourceforge.net/lists/listinfo/xen-devel
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
> Tool for open source databases. Create drag-&-drop reports. Save time
> by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
> Download a FREE copy at http://www.intelliview.com/go/osdn_nl
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxxxx
> https://lists.sourceforge.net/lists/listinfo/xen-devel


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel