[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] Problem booting guest VM over NFS
Hi Folks, I am trying to boot a FC 6 guest VM over latest unstable xen. The boot fails giving me the following error. md: bitmap version 4.39 NET: Registered protocol family 1 NET: Registered protocol family 17 netfront: device eth0 has copying receive path. mgmt mgmt-0: 16 Could not register device XENBUS: Device with no driver: device/console/0 Sending DHCP requests .., OK IP-Config: Got DHCP answer from 0.0.0.0, my address is 15.25.119.243 IP-Config: Complete: device=eth0, addr=15.25.119.243, mask=255.255.255.0 , gw=15.25.119.1, host=15.25.119.243, domain=hpl.hp.com, nis-domain=(none), bootserver= 0.0.0.0, rootserver=15.25.119.17, rootpath= Freeing unused kernel memory: 184k freed Red Hat nash version 5.1.19.0.3 starting Mounting proc filesystem Mounting sysfs filesystem Creating /dev Creating initial device nodes Setting up hotplug. Creating block device nodes. Loading usbcore.ko module usbcore: registered new driver usbfs usbcore: registered new driver hub Loading uhci-hcd.ko module USB Universal Host Controller Interface driver v3.0 Loading ohci-hcd.ko module Loading ehci-hcd.ko module Loading jbd.ko module Loading ext3.ko module Loading scsi_mod.ko module SCSI subsystem initialized Loading sd_mod.ko module Loading cciss.ko module HP CISS Driver (v 3.6.10) Loading scsi_transport_fc.ko module Loading firmware_class.ko module Loading qla2xxx.ko module QLogic Fibre Channel HBA Driver Loading ide-disk.ko module Creating root device. Mounting root filesystem. mount: could not find filesystem '/dev/root' Setting up other filesystems. Setting up new root fs setuproot: moving /dev failed: No such file or directory no fstab.sys, mounting internal defaults setuproot: error mounting /proc: No such file or directory setuproot: error mounting /sys: No such file or directory Switching to new root and running init. unmounting old /dev unmounting old /proc unmounting old /sys switchroot: mount failed: No such file or directory Kernel panic - not syncing: Attempted to kill init! here is my guest config file. #---------------------------------------------------------------------------- # Kernel image file. kernel = "/boot/vmlinuz-2.6-xen" # Optional ramdisk. ramdisk = "/boot/initrd-2.6-xen.img" name = "WebServer" vif = [ '' ] #disk = [ 'phy:/dev/cciss/c0d0p5,sda1,w', 'file:/swap/swap_vm1,sda2,w'] #disk = [ 'phy:sda1,sda1,w'] # Set if you want dhcp to allocate the IP address. dhcp="dhcp" #ip="15.25.119.249" # Set netmask. #netmask=" 255.255.255.0" # Set default gateway. #gateway="15.25.119.1" # Set the hostname. #hostname= "vm1" # Set root device. #root = "/dev/sda1 ro" # Root device for nfs. root = "/dev/nfs" # The nfs server. nfs_server = "15.25.119.17" # Root directory on the nfs server. nfs_root = "/mnt/VM1" # Sets runlevel 4. extra = "4" I have setup the nfs server correctly because I am able to mount the root NFS directory from another machine using the mount command. #mount 15.25.119.17:/mnt/VM1 /mnt/ I have compiled all NFS related modules inside the guest kernel (i.e. they are not compiled as modules) here is what my fstab entry for the guest VM says #/dev/sda1 / ext3 defaults 1 1 15.25.119.17:/mnt/VM1 / nfs defaults 1 1 #/dev/nfs / nfs defaults 1 1 devpts /dev/pts devpts gid=5,mode=620 0 0 tmpfs /dev/shm tmpfs defaults 0 0 proc /proc proc defaults 0 0 sysfs /sys sysfs defaults 0 0 I have tried all the first 3 options in the above list as root device but everytime it fails with the same error. One thing I don't understand is that when I have specified root = "/dev/nfs" in the guest config file, why does it fail trying to mount /dev/root device Has anyone seen this problem? Could anyone please help me with this? Thanks, Sanjay -- ---------------------- PhD Candidate, Georgia Tech http://www.cc.gatech.edu/~ksanjay/ _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |