|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] vif interface creation problem with xen unstable
I'm using vif-route as my network script.
I've added set -x to the xen hotplug script change. I've also added a
command to do a listing of the xenstore directory. Here's the snippet:
==
++ ip=
+++ xenstore_read_default backend/vif/4/0/ip ''
+++ xenstore-read backend/vif/4/0/ip
xenstore-read: couldn't read path backend/vif/4/0/ip
+++ echo ''
++ ip=
++ xenstore-list backend/vif/4/0
mac
state
handle
script
frontend-id
domain
frontend
++ XENBUS_PATH=backend/vif/4/0
++ vif=vif4.0
==
There is no ip value set. However, ip *is* set in the config file.
If I strace xm create, I get this:
==
...
send(3, "POST /xend/domain HTTP/1.1\r\nHost: localhost\r\nAccept-Encoding:
identity\r\nContent-Length: 566\r\nContent-Type: application/x-www
-form-urlencoded\r\n\r\n", 144, 0) = 144
send(3,
"config=%28vm+%28name+xen-0-16%29+%28memory+64%29+%28image+%28linux+%28kernel+%2Fboot%2Fxen-linux-2.6.12.6-xen%29+%28ip+192.168.2.5%3
A192.168.2.101%3A192.168.2.1%3A255.255.0.0%3A%3Aeth0%3Aoff%29+%28root+%2Fdev%2Fhda%29+%28args+%27nfsroot%3D192.168.2.101%3A%2Fimages%2Fbase-i
mage+%27%29+%28vcpus+1%29+%28vcpus+1%29+%28boot+c%29%29%29+%28device+%28vbd+%28uname+phy%3A%2Fdev%2Fspace%2Fxen-0-16-swap-0%29+%28dev+hda%29+
%28mode+w%29%29%29+%28device+%28vbd+%28uname+phy%3A%2Fdev%2Fspace%2Fxen-0-16-tmp%29+%28dev+hdb%29+%28mode+w%29%29%29+%28device+%28vif%29%29%2
9&op=create", 566, 0) = 566
...
recv(3, "(domain (domid 9) (name xen-0-16) (uuid
264b893c-d088-0a7a-a60c-8d8bd521fc76) (ssidref 0) (vcpus 1) (vcpu_avail 1)
(cpu_weight 1.0)
(memory 64) (maxmem 64) (on_poweroff destroy) (on_reboot restart) (on_crash
restart) (image (linux (kernel /boot/xen-linux-2.6.12.6-xen) (ip
192.168.2.5:192.168.2.101:192.168.2.1:255.255.0.0::eth0:off) (root /dev/hda)
(args \'nfsroot=192.168.2.101:/images/base-image \') (vcpus 1) (
vcpus 1) (boot c))) (device (vbd (uname phy:/dev/space/xen-0-16-swap-0) (dev
hda) (mode w))) (device (vbd (uname phy:/dev/space/xen-0-16-tmp)
(dev hdb) (mode w))) (device (vif)) (state \'??????\') (vcpus 1) (up_time
1.18859601021) (start_time 1132385531.19) (store_mfn 898242) (cons
ole_mfn 898241))", 708, 0) = 708
...
===
The vif device looks wrong.
Here's the changeset I am using:
Latest ChangeSet: Wed Nov 16 19:33:23 2005 +0100 7854:3f39f030fa89
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [Xen-devel] vif interface creation problem with xen unstable,
Adam Heath <=
|
|
|
|
|