All of lore.kernel.org
 help / color / mirror / Atom feed
* Cannot start domU from NFS
@ 2005-01-07  7:37 Nauzad Sadry
  2005-01-07 10:01 ` Christian Limpach
  0 siblings, 1 reply; 22+ messages in thread
From: Nauzad Sadry @ 2005-01-07  7:37 UTC (permalink / raw)
  To: xen-devel

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 my config
======= /etc/xen/vm_config_nfs =========
kernel = "/boot/vmlinuz-2.6.9-xenU"
ramdisk = "/boot/initrd-fc3.img"
memory = 128
name = "VM-1"
nics=3
dhcp="dhcp"
root = "/dev/nfs"
nfs_server = "192.168.1.123"
nfs_root   = '/xen_nfs/root'
extra = "4 enforcing=0"
======================================

domU starts booting and hangs at mounting its root 

Here is the boot log

Using config file "/etc/xen/vm_config_nfs".
Started domain VM-1, console on port 9608
************ REMOTE CONSOLE: CTRL-] TO QUIT ********
Linux version 2.6.9-xenU (xenod@labyrinth.cl.cam.ac.uk) (
gcc version 3.2.2 20030222 (Red Hat Linux 3.2.2-5)) #1 We
d 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.123:::VM-1:eth0:dhcp
root=/dev/nfs nfsroot=192.168.123.123:/xen_nfs/root 3 VMID=1
enforcing=0
Initializing CPU#0
PID hash table entries: 1024 (order: 10, 16384 bytes)
Xen reported: 1793.416 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: Incomplete network configuration information.
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!
 <0>Rebooting in 1 seconds..Linux version 2.6.9-xenU (xen


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

Help will be really appreciated 

Thanks

Nauzad


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

^ permalink raw reply	[flat|nested] 22+ messages in thread

* Is continuous replication of state possible?
@ 2005-01-07  8:49 Per Buer
  0 siblings, 0 replies; 22+ messages in thread
From: Per Buer @ 2005-01-07  8:49 UTC (permalink / raw)
  To: xen-devel

Hi.

I've been playing around with Xen a couple of months now and I am very 
much impressed. I am particularly found of the "live migration" feature. 
I was wondering if it is possible to make a instance continuously 
replicate the state of another instance and then make the other instance 
run if the original instance fails.

-- 
Per Andreas Buer




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

^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: Cannot start domU from NFS
  2005-01-07  7:37 Cannot start domU from NFS Nauzad Sadry
@ 2005-01-07 10:01 ` Christian Limpach
  2005-01-09  0:42   ` Nauzad Sadry
  0 siblings, 1 reply; 22+ messages in thread
From: Christian Limpach @ 2005-01-07 10:01 UTC (permalink / raw)
  To: Nauzad Sadry; +Cc: xen-devel

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

^ permalink raw reply	[flat|nested] 22+ messages in thread

* Is continuous replication of state possible?
@ 2005-01-07 14:57 Per Buer
  2005-01-07 15:34 ` Ian Pratt
  2005-01-07 15:43 ` Mark Williamson
  0 siblings, 2 replies; 22+ messages in thread
From: Per Buer @ 2005-01-07 14:57 UTC (permalink / raw)
  To: xen-devel

Hi.

I've been playing around with Xen a couple of months now and I am very 
much impressed. I am particularly found of the "live migration" feature. 
I was wondering if it is possible to make a instance continuously 
replicate the state of another instance and then make the other instance 
run if the original instance fails.

This could mean we could deploy Linux in enviroments dominated by Tandem 
and IBM mainframes. :-)

-- 
Per Andreas Buer




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

^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: Is continuous replication of state possible?
  2005-01-07 14:57 Per Buer
@ 2005-01-07 15:34 ` Ian Pratt
  2005-01-07 16:38   ` Avery Pennarun
                     ` (2 more replies)
  2005-01-07 15:43 ` Mark Williamson
  1 sibling, 3 replies; 22+ messages in thread
From: Ian Pratt @ 2005-01-07 15:34 UTC (permalink / raw)
  To: Per Buer; +Cc: xen-devel, Ian.Pratt


> I've been playing around with Xen a couple of months now and I am very 
> much impressed. I am particularly found of the "live migration" feature. 
> I was wondering if it is possible to make a instance continuously 
> replicate the state of another instance and then make the other instance 
> run if the original instance fails.

Software-implemented hardware fault-tolerance is on the Xen
research roadmap.

It basically just requires deterministic execution and event
injection. Doing this for uniprocessor guests is fairly straight
forward. Doing it for SMP guests (with decent performance) is
going to be a huge challenge, as determinism is hard to achieve. We're
looking in to it...

Ian


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

^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: Is continuous replication of state possible?
  2005-01-07 14:57 Per Buer
  2005-01-07 15:34 ` Ian Pratt
@ 2005-01-07 15:43 ` Mark Williamson
  1 sibling, 0 replies; 22+ messages in thread
From: Mark Williamson @ 2005-01-07 15:43 UTC (permalink / raw)
  To: xen-devel; +Cc: Per Buer

> I've been playing around with Xen a couple of months now and I am very
> much impressed. I am particularly found of the "live migration" feature.
> I was wondering if it is possible to make a instance continuously
> replicate the state of another instance and then make the other instance
> run if the original instance fails.

Work on this is ongoing and should make things like failover and majority 
voting possible.

> This could mean we could deploy Linux in enviroments dominated by Tandem
> and IBM mainframes. :-)

Yup :-)

Mark


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

^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: Is continuous replication of state possible?
  2005-01-07 15:34 ` Ian Pratt
@ 2005-01-07 16:38   ` Avery Pennarun
  2005-01-07 17:42     ` Ian Pratt
  2005-01-07 17:18   ` Rik van Riel
  2005-01-09  2:21   ` Jacob Gorm Hansen
  2 siblings, 1 reply; 22+ messages in thread
From: Avery Pennarun @ 2005-01-07 16:38 UTC (permalink / raw)
  To: Ian Pratt; +Cc: Per Buer, xen-devel

On Fri, Jan 07, 2005 at 03:34:09PM +0000, Ian Pratt wrote:

> > I've been playing around with Xen a couple of months now and I am very 
> > much impressed. I am particularly found of the "live migration" feature. 
> > I was wondering if it is possible to make a instance continuously 
> > replicate the state of another instance and then make the other instance 
> > run if the original instance fails.
> 
> Software-implemented hardware fault-tolerance is on the Xen
> research roadmap.
> 
> It basically just requires deterministic execution and event
> injection. Doing this for uniprocessor guests is fairly straight
> forward. Doing it for SMP guests (with decent performance) is
> going to be a huge challenge, as determinism is hard to achieve. We're
> looking in to it...

I gather that the request was not to keep both of them *executing* at once,
but to simply keep the memory image on the clone system "mostly" in sync at
all times, so the failover could happen faster.  This should be easier than
actually trying to execute the code deterministically.

Have fun,

Avery


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

^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: Is continuous replication of state possible?
  2005-01-07 15:34 ` Ian Pratt
  2005-01-07 16:38   ` Avery Pennarun
@ 2005-01-07 17:18   ` Rik van Riel
  2005-01-07 17:29     ` Ian Pratt
  2005-01-09  2:21   ` Jacob Gorm Hansen
  2 siblings, 1 reply; 22+ messages in thread
From: Rik van Riel @ 2005-01-07 17:18 UTC (permalink / raw)
  To: Ian Pratt; +Cc: Per Buer, xen-devel

On Fri, 7 Jan 2005, Ian Pratt wrote:

> It basically just requires deterministic execution and event
> injection.

This will be hard when running crypto programs that get
their random numbers directly from the CPU ...

-- 
"Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are,
by definition, not smart enough to debug it." - Brian W. Kernighan


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

^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: Is continuous replication of state possible?
  2005-01-07 17:18   ` Rik van Riel
@ 2005-01-07 17:29     ` Ian Pratt
  2005-01-07 18:02       ` Rik van Riel
  0 siblings, 1 reply; 22+ messages in thread
From: Ian Pratt @ 2005-01-07 17:29 UTC (permalink / raw)
  To: Rik van Riel; +Cc: Ian Pratt, Per Buer, xen-devel

> On Fri, 7 Jan 2005, Ian Pratt wrote:
> 
> > It basically just requires deterministic execution and event
> > injection.
> 
> This will be hard when running crypto programs that get
> their random numbers directly from the CPU ...

Sure, when CPUs finally get embedded crypto features (and
applications start using and _insisting_ on their presence) we'll
have problems. For the moment, the technique should work.

Ian



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

^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: Is continuous replication of state possible?
  2005-01-07 16:38   ` Avery Pennarun
@ 2005-01-07 17:42     ` Ian Pratt
  0 siblings, 0 replies; 22+ messages in thread
From: Ian Pratt @ 2005-01-07 17:42 UTC (permalink / raw)
  To: Avery Pennarun; +Cc: Ian Pratt, Per Buer, xen-devel

> > It basically just requires deterministic execution and event
> > injection. Doing this for uniprocessor guests is fairly straight
> > forward. Doing it for SMP guests (with decent performance) is
> > going to be a huge challenge, as determinism is hard to achieve. We're
> > looking in to it...
> 
> I gather that the request was not to keep both of them *executing* at once,
> but to simply keep the memory image on the clone system "mostly" in sync at
> all times, so the failover could happen faster.  This should be easier than
> actually trying to execute the code deterministically.

It's not clear whether shipping checkpoints or just doing
deterministic execution will actually work best; that's why its
on the research roadmap. There are implementations in-progress of
both CoW checkpoints and deterministic execution.

Ian


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

^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: Is Continuous replication of state possible?
       [not found] <20050107172010.9AB9C89761@sc8-sf-spam1.sourceforge.net>
@ 2005-01-07 17:51 ` George Washington Dunlap III
  0 siblings, 0 replies; 22+ messages in thread
From: George Washington Dunlap III @ 2005-01-07 17:51 UTC (permalink / raw)
  To: xen-devel

On Fri, 7 Jan 2005 xen-devel-request@lists.sourceforge.net wrote:

> This will be hard when running crypto programs that get
> their random numbers directly from the CPU ...

Yes, any sort of non-deterministic instruction must be either made to 
execute the same, or disallowed. :-)

I'm not familiar with the setup of those kinds of CPUs. Is this situation 
any different than that of RDTSC?  We can't allow native execution of 
RDTSC on different platforms either.

More annoying is the CPUID instruction, which is non-privileged (and so 
cannot be trapped & emulated like RDTSC), but returns different results on 
processors that are not identical...

  -George Dunlap

+-------------------+----------------------------------------
| dunlapg@umich.edu | http://www-personal.umich.edu/~dunlapg 
+-------------------+----------------------------------------
|  Who could move a mountain, who could love their enemy?
|  Who could rejoice in pain, and turn the other cheek?
|	- Rich Mullins, "Surely God is With Us"
+------------------------------------------------------------
| Outlaw Junk Email! Support HR 1748 (www.cauce.org)


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

^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: Is continuous replication of state possible?
  2005-01-07 17:29     ` Ian Pratt
@ 2005-01-07 18:02       ` Rik van Riel
  0 siblings, 0 replies; 22+ messages in thread
From: Rik van Riel @ 2005-01-07 18:02 UTC (permalink / raw)
  To: Ian Pratt; +Cc: Per Buer, xen-devel

On Fri, 7 Jan 2005, Ian Pratt wrote:
>> On Fri, 7 Jan 2005, Ian Pratt wrote:
>>
>>> It basically just requires deterministic execution and event
>>> injection.
>>
>> This will be hard when running crypto programs that get
>> their random numbers directly from the CPU ...
>
> Sure, when CPUs finally get embedded crypto features (and
> applications start using and _insisting_ on their presence) we'll
> have problems. For the moment, the technique should work.

Of course, it should be easy for CPU manufacturers to make
sure that the crypto instructions are trappable, so Xen can
make sure that both lockstepped virtual machines get the
same random number ...

-- 
"Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are,
by definition, not smart enough to debug it." - Brian W. Kernighan


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

^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: Is continuous replication of state possible?
@ 2005-01-07 19:22 Ky Srinivasan
  0 siblings, 0 replies; 22+ messages in thread
From: Ky Srinivasan @ 2005-01-07 19:22 UTC (permalink / raw)
  To: riel; +Cc: Ian.Pratt, perbu, xen-devel

Ian,  as you noted earlier, on an MP machine getting reliable replay
will be difficult - locks need to be acquired in the same order during
the replay as they were acquired initially.   In my previous life we had
toyed with implementing a  similar strategy on a microkernel  (Chorous)
based unix system.

K. Y

>>> Ian Pratt <Ian.Pratt@cl.cam.ac.uk> 1/7/2005 12:29:27 PM >>>
> On Fri, 7 Jan 2005, Ian Pratt wrote:
> 
> > It basically just requires deterministic execution and event
> > injection.
> 
> This will be hard when running crypto programs that get
> their random numbers directly from the CPU ...

Sure, when CPUs finally get embedded crypto features (and
applications start using and _insisting_ on their presence) we'll
have problems. For the moment, the technique should work.

Ian



-------------------------------------------------------
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@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/xen-devel


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

^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: Cannot start domU from NFS
  2005-01-07 10:01 ` Christian Limpach
@ 2005-01-09  0:42   ` Nauzad Sadry
  2005-01-09  2:00     ` Is continuous replication of state possible? Harry Butterworth
  2005-01-11  2:25     ` Cannot start domU from NFS Nauzad Sadry
  0 siblings, 2 replies; 22+ messages in thread
From: Nauzad Sadry @ 2005-01-09  0:42 UTC (permalink / raw)
  To: Christian Limpach; +Cc: xen-devel

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@labyrinth.cl.cam.ac.uk) (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@cl.cam.ac.uk> 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

^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: Is continuous replication of state possible?
  2005-01-09  0:42   ` Nauzad Sadry
@ 2005-01-09  2:00     ` Harry Butterworth
  2005-01-11  2:25     ` Cannot start domU from NFS Nauzad Sadry
  1 sibling, 0 replies; 22+ messages in thread
From: Harry Butterworth @ 2005-01-09  2:00 UTC (permalink / raw)
  To: Ian.Pratt; +Cc: xen-devel

Ian Pratt wrote:
> Software-implemented hardware fault-tolerance is on the Xen
> research roadmap.
>
> It basically just requires deterministic execution and event
> injection. Doing this for uniprocessor guests is fairly straight
> forward. Doing it for SMP guests (with decent performance) is
> going to be a huge challenge, as determinism is hard to achieve. We're
> looking in to it...

I thought a little about trying to implement a byzantine fault tolerant
SMP virtual machine using state replication.  I read Barbara Liskov's
group's work for some BFT distributed consensus protocols and there is
some good work out there on BFT routing in ad-hoc networks and a little
bit on BFT authentication but I didn't find much on the SMP issues.

I wanted to try out two approaches:

1) Putting each CPU into a separate BFT context and suffering the
consensus protocol overhead in inter-cpu communications.
I thought this would probably work OK for replicated servers which were
relatively near each other (for example on IBM's proposed CIB hardware)
but I was also interested in global replication for continuity through
disasters so I was considering
2) Assuming a standard execution rate for instructions and speculatively
executing them non-deterministically in parallel. Non-determinism is
only significant when communication between CPUs happens in the wrong
order (for example when an instruction speculatively assigned to a
particular time-step on one cpu writes to a cache line which has already
been read from by an instruction speculatively assigned to a later
time-step by another cpu) this must be detected at which point the local
replica has to roll-back and then roll forwards more carefully to get
the serialisation right. I think this would work better when the
replicas are separated geographically because there is no BFT protocol
overhead for inter-cpu communication.

In both cases, I was going to emulate CPUs rather than try to use the
real CPU or any hardware features.  With emulation, I wanted to try out
using a high emulated:real CPU ratio and/or deep pipelines to ameliorate
the inherent stall problem of the first approach.  Emulation seems to be
a requirement for investigating the second approach.

I think there's also a possibility of using dynamic translation to make
either of these approaches go faster. With dynamic translation, either
approach might get to within a small factor of the theoretical limit for
BFT.

Not good for scientific performance computing but the BFT, global
replication, massive parallelism and single system image features would
be great for a lot of business applications.

I'm very curious, do you have another approach? Any thoughts about
real-time?

Harry.


-- 
Harry Butterworth <harry@hebutterworth.freeserve.co.uk>



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

^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: Is continuous replication of state possible?
  2005-01-07 15:34 ` Ian Pratt
  2005-01-07 16:38   ` Avery Pennarun
  2005-01-07 17:18   ` Rik van Riel
@ 2005-01-09  2:21   ` Jacob Gorm Hansen
  2005-01-09 14:43     ` Harry Butterworth
  2 siblings, 1 reply; 22+ messages in thread
From: Jacob Gorm Hansen @ 2005-01-09  2:21 UTC (permalink / raw)
  To: Ian Pratt; +Cc: Per Buer, xen-devel

Ian Pratt wrote:
>>I've been playing around with Xen a couple of months now and I am very 
>>much impressed. I am particularly found of the "live migration" feature. 
>>I was wondering if it is possible to make a instance continuously 
>>replicate the state of another instance and then make the other instance 
>>run if the original instance fails.
> 
> 
> Software-implemented hardware fault-tolerance is on the Xen
> research roadmap.
> 
> It basically just requires deterministic execution and event
> injection. Doing this for uniprocessor guests is fairly straight
> forward. Doing it for SMP guests (with decent performance) is
> going to be a huge challenge, as determinism is hard to achieve. We're
> looking in to it...

I did a little reading on this subject a couple of years back, and it 
seems that on Pentiums getting deterministic execution is impossible 
even for UPs, as long as you allow preemptive multitasking. Because 
(according to the Intel manuals) the precision of the Pentium 
performance counters cannot be relied on, the timer and other interrupts 
will essentially act as a random generator. Naturally you can do peridic 
checkpointing, but there will be no way correctness can be guaranteed, 
unless you coordinate all outgoing traffic between replicas before 
making it visible to the outside world.

There is a paper by Bressoud and Schneider about hypervisor-based fault 
tolerance on the PA-RISC (which had precise performance counters) which 
is worth reading, I found a copy online at 
http://roc.cs.berkeley.edu/294fall01/readings/bressoud.pdf .

I think is more likely to work at a higher level, when you know the 
semantics of your application, Dmitrii Zagorodnov did some work on that 
and reported good results, see for instance 
http://ieeexplore.ieee.org/iel5/8589/27228/01209950.pdf .

Best regards,
Jacob


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

^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: Is continuous replication of state possible?
  2005-01-09  2:21   ` Jacob Gorm Hansen
@ 2005-01-09 14:43     ` Harry Butterworth
  2005-01-09 16:21       ` aq
  0 siblings, 1 reply; 22+ messages in thread
From: Harry Butterworth @ 2005-01-09 14:43 UTC (permalink / raw)
  To: Jacob Gorm Hansen; +Cc: xen-devel

On Sat, 2005-01-08 at 18:21 -0800, Jacob Gorm Hansen wrote:
> There is a paper by Bressoud and Schneider about hypervisor-based fault 
> tolerance on the PA-RISC (which had precise performance counters) which 
> is worth reading, I found a copy online at 
> http://roc.cs.berkeley.edu/294fall01/readings/bressoud.pdf .

Thanks, I hadn't read this paper before and found it interesting. I
think there are a few good bits in it like the use of the recovery
register for epochs of instruction execution but I think they have made
a mistake by choosing to design a primary-backup rather than an N-way
active system and I think the I/O architecture is fairly fundamentally
flawed as a result of a confusion as to whether the peripheral devices
are inside or outside the boundary of the replicated system.

I think a better approach for a fail-stop fault tolerant system would be
to choose an N-way active approach and put peripherals very clearly
outside the boundary of the replicated system:

With this approach...

1) A distributed consensus protocol is used to reach agreement on a
sequence of inputs to the system.
2) The same sequence of inputs is passed to all replicas. This is the
input boundary of the replicated fault-tolerant context.
3) The replicas start with the same state and receive the same sequence
of inputs so make the same sequence of responses. Every response of all
replicas is of the form "execute response X on node Y".  So the output
of the replicas is the same for all replicas. This is the output
boundary of the replicated fault-tolerant context.
4) The output of the replicas contains the information specifying which
node must actually action the output.  One node actions the output, the
remaining nodes do nothing.
5) With peripherals outside the replication boundary, all communication
from a peripheral to the virtual machine is passed through the
distributed consensus protocol and committed to the sequence of inputs
before being processed by all replicas. All communication from the
fault-tolerant virtual machine to peripherals is made through a specific
node chosen by the fault-tolerant virtual machine.  If a peripheral is
accessible from multiple nodes then the virtual machine will see
multiple redundant paths to the peripheral and may use multi-pathing
software to perform path failover when a node fails.  If a peripheral is
only accessible to one node then the fault-tolerant virtual machine may
use RAID over several such peripherals attached to different nodes to
create a fault-tolerant virtual peripheral.

This approach is also applicable to byzantine fault tolerant systems if
you enhance it with a byzantine fault tolerant distributed consensus
protocol and get each replica to digitally sign each output and forward
the signature to the replica responsible for actioning it so the
actioner can prove that it is operating on behalf of a quorum of
replicas. In this case a byzantine failure of a node still looks like a
path failure to the virtual machine because communications from the node
are dropped by the recipient when the digital signatures are found to be
insufficient.

Here are a few random other comments on the paper:

With the recovery register approach you can obviously break out early if
you encounter an idle instruction since this will be deterministic
across all replicas.
If you emulate the CPU in software then this approach is very easy.

The time of day clock is a good example of solving the problem of
non-deterministic operations by asking the hypervisor and having it pass
the result through the consensus protocol to all replicas.
In terms of the approach outlined above this translates into a replica
output to a specific node to ask that node the time. The node sends the
time through the distributed consensus protocol to be received by all
replicas. This works for random number generation as well (as someone
noted in another post on this topic) but in that case you'd want to ask
a node for a big batch of random numbers in advance. The node would
generate a batch and pass it through the distributed consensus protocol
to the replicas so that each replica had the same random number pool and
didn't incur the consensus protocol overhead on every request.  Using a
consensus protocol like PAXOS which supports multiple concurrent ballots
would allow the random number pool to be replenished at a low-water mark
without ever stalling the virtual machine operation.

"Fundamental to our design is communication among the hypervisors. This
implies that the hypervisors must not be partitioned by communications
failures."

PAXOS does much better and, I think shows the limit of what can be
achieved for fail-stop fault tolerant systems.

"I/O Accessibility Assumption: I/O operations possible by the processor
executing the primary virtual machine are also possible by the processor
executing a backup virtual machine."

See the discussion above.

"We assume that the channel linking the primary and backup processors is
FIFO...that the processor executing the backup detects the primary's
processor failure only after receiving the last message sent by the
primary's hypervisor"

The PAXOS protocol does significantly better than this.

For anyone interested in replication, "The Part Time Parliament" by
Leslie Lamport which describes PAXOS is a great read.

After that, I'd recommend reading "Practical Byzantine Fault Tolerance"
by Miguel Castro and "Provably Secure Competitive Routing against
Proactive Byzantine Adversaries via Reinforcement Learning" by Baruch
Awerbuch, David Holmer and Herbert Rubens.

-- 
Harry Butterworth <harry@hebutterworth.freeserve.co.uk>



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

^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: Is continuous replication of state possible?
  2005-01-09 14:43     ` Harry Butterworth
@ 2005-01-09 16:21       ` aq
  2005-01-09 16:43         ` Mark Williamson
  2005-01-09 16:56         ` Harry Butterworth
  0 siblings, 2 replies; 22+ messages in thread
From: aq @ 2005-01-09 16:21 UTC (permalink / raw)
  To: Harry Butterworth; +Cc: Jacob Gorm Hansen, xen-devel

Hello,

I am sorry for a possible stupid question, but may anybody please
explain to me what this "deterministic" means? When studying papers
concerning virtual machine, I encoutered many of this terminology,
like "deterministic event", "deterministic execution",... and dont
understand its meaning. I did some googles, but to no avail, since
google returned too many results, and without the correct context, I
cannot know what is the good links to follow.

Any references to read on this problem is very highly appriciated.

Thank you very much,
AQ


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

^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: Is continuous replication of state possible?
  2005-01-09 16:21       ` aq
@ 2005-01-09 16:43         ` Mark Williamson
  2005-01-09 16:56         ` Harry Butterworth
  1 sibling, 0 replies; 22+ messages in thread
From: Mark Williamson @ 2005-01-09 16:43 UTC (permalink / raw)
  To: xen-devel, aq; +Cc: Harry Butterworth, Jacob Gorm Hansen

http://foldoc.doc.ic.ac.uk/foldoc/foldoc.cgi?query=deterministic&action=Search

IOW, "Deterministic" basically means that something will proceed predictably, 
with no randomness.  This means that if we know the starting state of a 
deterministic piece of code then we can predict everything it's going to do 
perfectly.

A real machine has lots of non-determinism - for instance interrupts arrive 
randomly and they affect the execution of the code on the machine.  For 
deterministic replay, you'd have to sample all the random events so that you 
could deliver them at the right times when rerunning a virtual machine's 
execution.

HTH,
Mark

On Sunday 09 January 2005 16:21, aq wrote:
> Hello,
>
> I am sorry for a possible stupid question, but may anybody please
> explain to me what this "deterministic" means? When studying papers
> concerning virtual machine, I encoutered many of this terminology,
> like "deterministic event", "deterministic execution",... and dont
> understand its meaning. I did some googles, but to no avail, since
> google returned too many results, and without the correct context, I
> cannot know what is the good links to follow.
>
> Any references to read on this problem is very highly appriciated.
>
> Thank you very much,
> AQ
>
>
> -------------------------------------------------------
> 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@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/xen-devel


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

^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: Is continuous replication of state possible?
  2005-01-09 16:21       ` aq
  2005-01-09 16:43         ` Mark Williamson
@ 2005-01-09 16:56         ` Harry Butterworth
  1 sibling, 0 replies; 22+ messages in thread
From: Harry Butterworth @ 2005-01-09 16:56 UTC (permalink / raw)
  To: aq; +Cc: Jacob Gorm Hansen, xen-devel

On Mon, 2005-01-10 at 01:21 +0900, aq wrote:
> Hello,
> 
> I am sorry for a possible stupid question, but may anybody please
> explain to me what this "deterministic" means?

Deterministic means that the outcome is a function of nothing more than
the starting state and the input so if you start with the same starting
state and apply the same input you are guaranteed to end up with the
same outcome every time.

So, deterministic code works with the replicated state machine approach
because the replicas start off in the same state and have the same input
applied and the same execution happens on all the replicas and they end
up in the same state and so remain replicas of one another.

If you try to execute non-deterministic code in the context of the
replicated state machine approach then the replicas might start off in
the same state and receive the same input but the different results from
executing the non-deterministic code would cause them to diverge.

Once the replicas have diverged they are no longer good as backups of
one another.

Examples of operations that would ordinarily be non-deterministic:

Asking the CPU for a random number---All of the replicas start off in
the same state with the program counter pointing to an instruction that
asks for a random number; all of the replicas receive the same input: a
command instructing them to execute one instruction; all of the replicas
ask the CPU for a random number. All the replicas get a different random
number from their CPU and the subsequent execution diverges.

Taking an interrupt from a peripheral device---typically this will only
happen on one of the nodes. If it was fed directly to a replica then
that replica would immediately diverge from the others.

-- 
Harry Butterworth <harry@hebutterworth.freeserve.co.uk>



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

^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: Is continuous replication of state possible?
       [not found] <20050109030704.8BAB689DA7@sc8-sf-spam1.sourceforge.net>
@ 2005-01-10 16:53 ` George Washington Dunlap III
  0 siblings, 0 replies; 22+ messages in thread
From: George Washington Dunlap III @ 2005-01-10 16:53 UTC (permalink / raw)
  To: xen-devel

> I did a little reading on this subject a couple of years back, and it
> seems that on Pentiums getting deterministic execution is impossible
> even for UPs, as long as you allow preemptive multitasking. Because
> (according to the Intel manuals) the precision of the Pentium
> performance counters cannot be relied on, the timer and other interrupts
> will essentially act as a random generator. Naturally you can do peridic
> checkpointing, but there will be no way correctness can be guaranteed,
> unless you coordinate all outgoing traffic between replicas before
> making it visible to the outside world.
>
> There is a paper by Bressoud and Schneider about hypervisor-based fault
> tolerance on the PA-RISC (which had precise performance counters) which
> is worth reading, I found a copy online at
> http://roc.cs.berkeley.edu/294fall01/readings/bressoud.pdf .

There's another paper by Dunlap, et al (see the From field) about 
implementing deterministic execution for a uniprocessor for Athlons, and 
we have since gotten the same thing working for P4s. :-)  It can be found 
here:

  http://www.eecs.umich.edu/CoVirt/papers/revirt.pdf

The main trick is that there are several different counters you could use. 
The one spoken of mainly in the literature is the instruction counter 
(which, on both Athlons and P4's is unusable).  However, there are 
repeatable branch counters on both platforms.  Logging the
<eip, branch_count> tuple at every interrupt allows us to re-deliver the 
interrupts precisely.  (See Mellor-Crummey89 for a software version of 
this same idea.)

Maybe sometime I'll post a whitepaper about the dirty details 
of doing deterministic replay on P4's and Athlons.  If you're interested, 
I have an e-mail that I've already sent to several people (including the 
Xen team) with the details.

And we're currently working on extending deterministic replay for SMP. :-)

  -George Dunlap

G. W. Dunlap, S. T. King, S. Cinar, M. Basrai, and P. M. Chen.  ReVirt: 
Enabling Intrusion Analysis through Virtual-Machine Logging and Replay. 
In Proceedings of the 2002 Symposium on Operating Systems Design and 
Implementation, pages 211-224, December 2002

J. M. Mellor-Crummey and T. J. LeBlanc.  A Software Instruction Counter. 
In Proceedings of the 1989 International Conference on Architectural 
Support for Programming Languages and Operating Systems, page 78-86, April 
1989.


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

^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: Cannot start domU from NFS
  2005-01-09  0:42   ` Nauzad Sadry
  2005-01-09  2:00     ` Is continuous replication of state possible? Harry Butterworth
@ 2005-01-11  2:25     ` Nauzad Sadry
  1 sibling, 0 replies; 22+ messages in thread
From: Nauzad Sadry @ 2005-01-11  2:25 UTC (permalink / raw)
  To: Christian Limpach; +Cc: xen-devel

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@gmail.com> 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@labyrinth.cl.cam.ac.uk) (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@cl.cam.ac.uk> 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

^ permalink raw reply	[flat|nested] 22+ messages in thread

end of thread, other threads:[~2005-01-11  2:25 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-01-07  7:37 Cannot start domU from NFS Nauzad Sadry
2005-01-07 10:01 ` Christian Limpach
2005-01-09  0:42   ` Nauzad Sadry
2005-01-09  2:00     ` Is continuous replication of state possible? Harry Butterworth
2005-01-11  2:25     ` Cannot start domU from NFS Nauzad Sadry
  -- strict thread matches above, loose matches on Subject: below --
2005-01-07  8:49 Is continuous replication of state possible? Per Buer
2005-01-07 14:57 Per Buer
2005-01-07 15:34 ` Ian Pratt
2005-01-07 16:38   ` Avery Pennarun
2005-01-07 17:42     ` Ian Pratt
2005-01-07 17:18   ` Rik van Riel
2005-01-07 17:29     ` Ian Pratt
2005-01-07 18:02       ` Rik van Riel
2005-01-09  2:21   ` Jacob Gorm Hansen
2005-01-09 14:43     ` Harry Butterworth
2005-01-09 16:21       ` aq
2005-01-09 16:43         ` Mark Williamson
2005-01-09 16:56         ` Harry Butterworth
2005-01-07 15:43 ` Mark Williamson
     [not found] <20050107172010.9AB9C89761@sc8-sf-spam1.sourceforge.net>
2005-01-07 17:51 ` Is Continuous " George Washington Dunlap III
2005-01-07 19:22 Is continuous " Ky Srinivasan
     [not found] <20050109030704.8BAB689DA7@sc8-sf-spam1.sourceforge.net>
2005-01-10 16:53 ` George Washington Dunlap III

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.