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] Cannot start domU from NFS

To: Christian Limpach <Christian.Limpach@xxxxxxxxxxxx>
Subject: Re: [Xen-devel] Cannot start domU from NFS
From: Nauzad Sadry <nauzad@xxxxxxxxx>
Date: Mon, 10 Jan 2005 18:25:02 -0800
Cc: xen-devel@xxxxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 11 Jan 2005 03:57:19 +0000
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=fdf38Cc0tX8EnRW3o3oEHl2Baf/2GtkO6/5nZyHg4CGUTtCeC3EKe5w4hBvqpYDa6MlgmrK2/jhHCuouZJA4JWN4yO7ATgWoj4gIW1WhwVrFalOPEcWNhSR8OYORLyO1pKNQRlMV+chxvcoboV0PP2yUEDLkZwM9V5pG5T9m12w=
Envelope-to: xen+James.Bulpin@xxxxxxxxxxxx
In-reply-to: <aa7b01ec05010816423567f2cd@xxxxxxxxxxxxxx>
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>
References: <aa7b01ec05010623375fadc451@xxxxxxxxxxxxxx> <20050107100119.GW8251@xxxxxxxxxxxx> <aa7b01ec05010816423567f2cd@xxxxxxxxxxxxxx>
Reply-to: Nauzad Sadry <nauzad@xxxxxxxxx>
Sender: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx
Hello guys

I was able to sucessfully start domU using NFS. I had to disable the
ramdisk (=initrd-fc3.img) in the vm configuration file. The ramdisk
was preventing domain0 from using NFS to mounting the root

Thanks for your help

Nauzad

On Sat, 8 Jan 2005 16:42:21 -0800, Nauzad Sadry <nauzad@xxxxxxxxx> wrote:
> Hi Christian
> 
> Thanks for the reply, but your sugesstions did not work .. i am still
> failing at the same point. It is somehow not able to mount the root
> file system.
> 
> 1. Do I need to have "/dev/nfs" as an existing device in the target
> (domain 0)system
> 2. Are there any daemons or services that I need running on my domain0
> before attempting to create domain1
> 3. When you say use static IP configuration, I presume this means setting
>    ip="<address> in the xen config file.
> 4. After completing IP config I believe it should use contact the NFS
> bootserver, but i do not see any such commands in the boot log.
> 
> Please help me if something is wrong in my configuration
> 
> FYR, here is the boot log
> 
> ************ REMOTE CONSOLE: CTRL-] TO QUIT ********
> Linux version 2.6.9-xenU (xenod@xxxxxxxxxxxxxxxxxxxxxx) (gcc
> version 3.2.2 20030222 (Red Hat Linux 3.2.2-5)) #1 Wed Nov 17
> 22:29:37 GMT 2004
> BIOS-provided physical RAM map:
> Xen: 0000000000000000 - 0000000008000000 (usable)
> 128MB LOWMEM available.
> DMI not present.
> Built 1 zonelists
> Kernel command line:  ip=192.168.123.145:192.168.123.200:192.
> 168.123.254:255.255.255.0:VM-3:eth0:off root=/dev/nfs nfsroot
> =192.168.123.200:/xen_nfs/tmp 3 VMID=3 enforcing=0
> Initializing CPU#0
> PID hash table entries: 1024 (order: 10, 16384 bytes)
> Xen reported: 1793.261 MHz processor.
> Using tsc for high-res timesource
> Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
> Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
> Memory: 126148k/131072k available (1596k kernel code, 4860k reserved,
> 466k data, 92k init, 0k highmem)
> Checking if this processor honours the WP bit even in supervisor mode... Ok.
> Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
> CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
> CPU: L2 Cache: 1024K (64 bytes/line)
> CPU: AMD Opteron(tm) Processor 244 stepping 08
> Enabling unmasked SIMD FPU exception support... done.
> Checking 'hlt' instruction... disabled
> checking if image is initramfs... it is
> Freeing initrd memory: 1061k freed
> NET: Registered protocol family 16
> Initializing Cryptographic API
> RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
> Xen virtual console successfully installed as tty
> Event-channel device installed.
> Starting Xen Balloon driver
> xen_blk: Initialising virtual block device driver
> xen_blk: Timeout connecting to device!
> xen_net: Initialising virtual ethernet driver.
> NET: Registered protocol family 2
> IP: routing cache hash table of 1024 buckets, 8Kbytes
> TCP: Hash tables configured (established 8192 bind 16384)
> NET: Registered protocol family 1
> NET: Registered protocol family 17
> IP-Config: Complete:
>      device=eth0, addr=192.168.123.145, mask=255.255.255.0,
> gw=192.168.123.254, host=VM-3, domain=, nis-domain=(none),
>     bootserver=192.168.123.200, rootserver=192.168.123.200,
> rootpath=
> Freeing unused kernel memory: 92k freed
> Red Hat nash version 4.1.18 starting
> Mounted /proc filesystem
> Mounting sysfs
> Creating /dev
> Starting udev
> Creating root device
> Mounting root filesystem
> mount: error 6 mounting ext3
> mount: error 2 mounting none
> Switching to new root
> switchroot: mount failed: 22
> umount /initrd/dev failed: 2
> Kernel panic - not syncing: Attempted to kill init!
> 
> On Fri, 7 Jan 2005 10:01:19 +0000, Christian Limpach
> <Christian.Limpach@xxxxxxxxxxxx> wrote:
> > On Thu, Jan 06, 2005 at 11:37:09PM -0800, Nauzad Sadry wrote:
> > > Hello everyone
> > > I have Xen-2.0.1 setup with dom0 starting from local disk.
> > > I need to start domU from NFS
> > > The NFS server works - both local and remote clients can use it.
> > > But not domU
> > >
> > > Here is the boot log
> > >
> > > IP-Config: Incomplete network configuration information.
> >
> > Try booting with a static IP configuration.  For dhcp you will need to
> > build your own xenU kernel since the one we provide doesn't have dhcp
> > client support compiled in.  Alternatively you could use our xen0 kernel
> > which has dhcp client support compiled in.
> >
> > > On my NFS export, the etc/fstab is as follows
> > > /xen_nfs/root        /                           ext3    defaults        
> > > 1 1
> > > none                    /dev/pts                devpts  gid=5,mode=620  0 > > > 0
> > > none                    /proc                    proc    defaults        
> > > 0 0
> > > none                    /dev/shm              tmpfs   defaults        0 0
> > > /dev/hda5             swap                    swap    defaults        0 0
> > > /dev/cdrom           /mnt/cdrom           udf,iso9660 
> > > noauto,owner,kudzu,ro 0 0
> > > /dev/fd0                /mnt/floppy           auto    noauto,owner,kudzu 
> > > 0 0
> >
> > Unless you're exporting a block device to the domain as hda5, this will
> > fail when swap gets enabled.  Also, your entry for the root fs is not
> > correct.  The 1st field should be of the form server:/path/to/root --
> > I usually use IP addresses, a hostname might work, certainly if it's
> > defined in /etc/hosts.  The filesystem type needs to be nfs, not ext3.
> > Also the dump frequency and fsck pass number fields should both be 0.
> >
> >    christian
> >
> >
>


-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel

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