[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • To: xen-users@xxxxxxxxxxxxxxxxxxx
  • From: "ardy mardy" <ardelicious@xxxxxxxxx>
  • Date: Sun, 22 Jul 2007 09:58:37 -0400
  • Delivery-date: Sun, 22 Jul 2007 06:56:24 -0700
  • 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=BOIHFQHHP+nODcTn2sO71M8M3wZaEBHAGMK23Dcs06CFYAp/zZYkXHdJ+9x6ydx8xVSPcMHq/JvnvK/voBmjPnnDtFgPHRZU9GxD+/O/mahE/k3eM//2Y1uJSAn2cryFvKqEVUF1atxyENOll2Bv8/ZxGW5a9Ndeloje+xoCdiU=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.