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] Physical grant error

To: Jefferson Ng <jwng@xxxxxxxxxxx>
Subject: Re: [Xen-devel] Physical grant error
From: Ian Pratt <Ian.Pratt@xxxxxxxxxxxx>
Date: Sat, 06 Dec 2003 09:37:53 +0000
Cc: xen-devel@xxxxxxxxxxxxxxxxxxxxx, Ian.Pratt@xxxxxxxxxxxx
Delivery-date: Sat, 06 Dec 2003 09:38:09 +0000
Envelope-to: steven.hand@xxxxxxxxxxxx
In-reply-to: Your message of "Fri, 05 Dec 2003 20:08:31 PST." <Pine.GSO.4.58.0312052007080.1068@xxxxxxxxxxxxxxxx>
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>
Sender: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx
> If we run the xen-mynewdom script, we get the following error from the
> physical grant command.
> 
> warning: state file not found [/var/lib/xen/vdstate.xml]
> Partition /dev/hda2 (resolved to /dev/hda2) does not exist.
> 
> /dev/hda2 is our root partition for Redhat.  Is this supposed to be the
> same partition?

The first warning about the state file can safely be ignored.

I think the second message may be due to an old bug in the tools
-- try '-phda2' (removing /dev)
 
[I presume /dev/hda2 is where you have installed your second
distribution -- make sure you don't mount the same partition r/w
twice otherwise thew filesystem will be destroyed!]

> Couldn't find matching filesyste: LABEL=/boot
> [FAILED]
> 
> *** An error occurred during the file system check.
> *** Dropping you to a shell: the system will reboot
> *** when you leave the shell.
> Give root password for maintenance

Can you edit /etc/fstab so that it names a device (/dev/hda2)
rather than using the LABEL=, which (I presume) is a devfs
feature. The standard xenolinux kernel does not have devfs built,
and I suspect it will need a one line patch to make it work for a
root filesystem.

> We're also not sure how we communicate to the domain once it's started.
> We think (possibly) that if it starts up successfully you telnet into it,
> but otherwise it looks like there's no way to give it the root password.

Currently, the only way to communicate with a domain is over the
network (either the real one, or the virtual internal one), hence
you must be running a network service like sshd or inetd/telnetd.

Full bidirectional console support will likely be in 1.2.
 
> Also, is this error related to the fsck error mentioned earlier?

I don't recall any fsck related error, other than the 'hang
during fsck' bug that turned out to be specific to Dell PERC RAID
3d/i (aacraid) controllers and traced to a hardware bug (its
repeatable on Linux).

Thanks,
Ian


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel