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

[Xen-users] problem with booting domU via NFS root

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] problem with booting domU via NFS root
From: "xen xen" <xxxenxxx@xxxxxxxxx>
Date: Sat, 21 Jul 2007 20:37:12 -0400
Delivery-date: Sat, 21 Jul 2007 17:35:02 -0700
Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; b=cvwAuqkIrjyXWxeOL9mYXIg5cyph9CP2bPfBwT6bGd3ho2tLSTCi8OLNpG22ydx+3cKkGJGukv6n7E4HI0cZT+k7IfZZChDuqx1BsPCvxgehJjvf2xHyAgpL0x69DahdO4IYumN5yXZtqGoEanD52BcuCJ/RUNRoppwPiVUFhkA=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type; b=tiAVb/wL4FBDi48BpplNV9/F6gR7EldN4iV2LcuLaWUy1VZKojkt9vp15W/bhKj46rsr4VzGc0kWkNFsE/DB1OJyY80+lRkuLOXuidKXSFdLy+XPfEYo5XITHVxrNgnT5EO2FHsLUqJsEHubWMRQNoaXKbS8vEwq0VZIPDyrKX8=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Hi all,

I have a problem with booting domU with its file system on an NFS server. Here is the error I get after "xm create":

asds55:/home/xen/virtualmachines/asds-xen-187-nfs # xm create -c dom-nfs.conf
Using config file "./dom-nfs.conf".
Started domain asds-xen-187
                           Bootdata ok (command line is ip=xxx.xx.150.187:xxx.xx.150.136:xxx.xx.150.254:255.255.255.0:asds-xen-187:eth0:off nfsroot=xxx.xx.150.136:/home/xen/virtualmachines/asds-xen-187-fs 3)
Linux version 2.6.18-xen (root@asds58) (gcc version 4.1.2 20061115 (prerelease) (SUSE Linux)) #1 SMP Fri May 25 10:44:18 EDT 2007
BIOS-provided physical RAM map:
 Xen: 0000000000000000 - 0000000010800000 (usable)

...
netfront: Initialising virtual ethernet driver.
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 50MHz system bus speed for PIO modes; override with idebus=xx
PNP: No PS/2 controller found. Probing ports directly.
i8042.c: No controller found.
mice: PS/2 mouse device common for all mice
md: md driver 0.90.3 MAX_MD_DEVS=256, MD_SB_DISKS=27
md: bitmap version 4.39
NET: Registered protocol family 1
NET: Registered protocol family 17
netfront: device eth0 has copying receive path.
XENBUS: Device with no driver: device/console/0
IP-Config: Complete:
      device=eth0, addr=xxx.xx.150.135, mask=255.255.255.0, gw=xxx.xx.xxx.xxx,
     host=asds-xen-187, domain=, nis-domain=(none),
     bootserver=xxx.xx.150.136, rootserver=xxx.xx.150.136, rootpath=
Freeing unused kernel memory: 172k freed
Boot logging started on /dev/tty1(/dev/console) at Sat Jul 21 22:54:29 2007
Creating device nodes with udev
device-mapper: ioctl: 4.7.0-ioctl (2006-06-24) initialised: dm-devel@xxxxxxxxxx
Loading dm-mod
Loading dm-snapshot
Waiting for /dev/mapper/control to appear: . ok
Loading jbd
Loading ext3
  Volume group "system" not found
Mounting root xxx.xx.150.136:/home/xen/virtualmachines/asds-xen-187-fs
mount: unknown filesystem type 'nfs'
umount: /dev: device is busy
umount: /dev: device is busy
umount: /dev/pts: device is busy
umount: /dev/pts: device is busy
Kernel panic - not syncing: Attempted to kill init!


On the NFS server this is how the /etc/exports looks:
/home/xen/virtualmachines/asds-xen-187-fs       *(rw,all_squash,sync)
I have no problem with regularly mounting this remote directory in dom0.


Here is some info about my system:
release                : 2.6.18-xen
version                : #1 SMP Fri May 25 10:44:18 EDT 2007
machine                : x86_64
xen_changeset          : Thu May 17 11:42:46 2007 +0100 15080:089696e0c603

I'm running the same kernel for both dom0 and domU and the distribution is Suse 10.2.

Here is the config file:
name    = "asds-xen-187"
memory  = 256
kernel   = "/boot/vmlinuz-2.6-xen"
ramdisk  = "/boot/initrd-2.6.18-xen"
# boot device:
root     = "/dev/nfs"
# boot to run level:
extra    = "3"
# storage devices:
nfs_server = 'xxx.xx.150.136'
nfs_root = '/home/xen/virtualmachines/asds-xen-187-fs'
# network interface:
vif = [ 'bridge=xenbr0' ]
ip = "xxx.xx.150.187"
gateway = "xxx.xx.150.254"
netmask="255.255.255.0"
hostname="asds-xen-187"



And these are the related modules I have in /boot/config-2.6.18-xen:
CONFIG_NFS_FS=m
CONFIG_NFS_V3=y
CONFIG_NFS_V3_ACL=y
CONFIG_NFS_V4=y
CONFIG_NFS_DIRECTIO=y
CONFIG_NFSD=m
CONFIG_NFSD_V2_ACL=y
CONFIG_NFSD_V3=y
CONFIG_NFSD_V3_ACL=y
CONFIG_NFSD_V4=y
CONFIG_NFSD_TCP=y
CONFIG_NFS_ACL_SUPPORT=m
CONFIG_NFS_COMMON=y
CONFIG_NCPFS_NFS_NS=y
CONFIG_XEN=y
CONFIG_XEN_INTERFACE_VERSION=0x00030205
# XEN
CONFIG_XEN_PRIVILEGED_GUEST=y
# CONFIG_XEN_UNPRIVILEGED_GUEST is not set
CONFIG_XEN_PRIVCMD=y
CONFIG_XEN_XENBUS_DEV=y
CONFIG_XEN_BACKEND=y
CONFIG_XEN_BLKDEV_BACKEND=y
CONFIG_XEN_BLKDEV_TAP=y
CONFIG_XEN_NETDEV_BACKEND=y
# CONFIG_XEN_NETDEV_PIPELINED_TRANSMITTER is not set
CONFIG_XEN_NETDEV_LOOPBACK=y
CONFIG_XEN_PCIDEV_BACKEND=m
# CONFIG_XEN_PCIDEV_BACKEND_VPCI is not set
CONFIG_XEN_PCIDEV_BACKEND_PASS=y
# CONFIG_XEN_PCIDEV_BACKEND_SLOT is not set
# CONFIG_XEN_PCIDEV_BE_DEBUG is not set
CONFIG_XEN_TPMDEV_BACKEND=m
CONFIG_XEN_BLKDEV_FRONTEND=y
CONFIG_XEN_NETDEV_FRONTEND=y


Your help is appreciated, Thanks!
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users