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-users

Re: [Xen-users] NFS Boot

To: Tom Brown <tbrown@xxxxxxxxxxxxx>
Subject: Re: [Xen-users] NFS Boot
From: Abhishek Gaurav <gaurav@xxxxxxxxxxxxxxxx>
Date: Sun, 25 Feb 2007 21:35:34 -0700
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Sun, 25 Feb 2007 20:34:57 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <Pine.LNX.4.64.0702251951330.5791@localhost>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <45E2586A.9080408@xxxxxxxxxxxxxxxx> <Pine.LNX.4.64.0702251951330.5791@localhost>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 1.5.0.9 (Windows/20061207)
Hi Tom,
Sorry about the missing vif line in my previous post. I do have a vif line in my config file like "vif = [ 'mac=00:16:3e:20:5d:c9, bridge=xenbr0', ]". I think its going down even before bringing up eth0 (the complete boot log is attached to this mail). I am suspecting of the missing /dev/nfs in dom0, which is required for the 'root' parameter, as pointed out in xen user guide.

Any suggestions ?

-Abhishek

Tom Brown wrote:
On Sun, 25 Feb 2007, Abhishek Gaurav wrote:

Hi, I am new to xen and am trying to boot a VM from an NFS server. I am using the default FC6-xen kernel and I do not have a /dev/nfs in dom0. My config file is :

kernel = "/boot/vmlinuz-2.6.18-1.2798.fc6xen"
name = "test8"
memory = "512"
uuid = "2cc550ec-550a-6ad2-8121-7b089fc7d051"
vcpus=1
root = '/dev/nfs'
nfs_server = 'xx.xx.xx.xx'
nfs_root = '/home/xen-images/fc4'

if you're running a current version of xen you're going to need to specify a vif line to get a virtual network interface...

vif = [ '' ]

should suffice.



I run into the following problem during boot:

TCP bic registered
Initializing IPsec netlink socket
NET:  Registered protocol family 1
NET:  Registered protocol family 17
XENBUS: Device with no driver: device/vif/0
md:  Autodetecting RAID arrays.
md:  autorun ...
md:  ... autorun DONE.
VFS: Cannot open root device "nfs" or unknown-block(0,255)
Please append a correct "root=" boot option
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,255)


Please let me know what is that I am doing wrong.

if there is no reference to eth0 in your boot messages, you're not going to have a network, without a network you're not going to have a network file system...

-Tom


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

<Prev in Thread] Current Thread [Next in Thread>