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

[Xen-users] Problem: IP-Config: Unable to set interface netmask (-22)

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Problem: IP-Config: Unable to set interface netmask (-22)
From: xuehai zhang <hai@xxxxxxxxxxxxxxx>
Date: Tue, 06 Dec 2005 06:39:50 -0600
Delivery-date: Tue, 06 Dec 2005 12:42:22 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla Thunderbird 1.0.2 (Windows/20050317)
Hi all,
I tried to boot up a VM using two options (a) reading boot information from a config file (b) adding boot information directly to the command line. However, I got "IP-Config: Unable to set interface netmask (-22)" problem when using option (b). For (a), I don't have such problem. The boot information for both (a) and (b) is same.
Could you please let me know what I am missing for (b) or is it a bug?
BTW, my Xen version is 2.0-testing.
Thanks
Xuehai

(a)

$ cat vwconfig
kernel = "/boot/vmlinuz-2.6.11-xenU"
memory = 256
name = "ucvosg"
disk = [ "file:/tmp/vosg/vosg-gk-rootfs.img,sda1,w" , 
"file:/tmp/vosg/swap1.img,sda2,w" ]
nics=2
hostname="alex.cs.uchicago.edu"
ip="128.135.164.83"
netmask="255.255.255.192"
gateway="128.135.164.65"

root = "/dev/sda1 ro"
extra = ""

$ xm create vwconfig -c
(snipped)
xen_blk: Initialising virtual block device driver
xen_net: Initialising virtual ethernet driver.
NET: Registered protocol family 2
IP: routing cache hash table of 2048 buckets, 16Kbytes
TCP established hash table entries: 16384 (order: 5, 131072 bytes)
TCP bind hash table entries: 16384 (order: 4, 65536 bytes)
TCP: Hash tables configured (established 16384 bind 16384)
NET: Registered protocol family 1
NET: Registered protocol family 17
IP-Config: Complete:
      device=eth0, addr=128.135.164.83, mask=255.255.255.192, gw=128.135.164.65,
     host=alex, domain=, nis-domain=cs.uchicago.edu,
     bootserver=1.2.3.4, rootserver=1.2.3.4, rootpath=
(snipped)


(b)

$ xm create name=ucvosg memory=256 kernel='/boot/vmlinuz-2.6.11-xenU' disk='file:/tmp/vosg/vosg-gk-rootfs.img,sda1,w' disk='file:/tmp/vosg/swap1.img,sda2,w' nics=2 hostname='alex.cs.uchicago.edu' netmask='255.255.254.192' ip='128.135.164.83' gateway='128.135.164.65' root='/dev/sda1 ro' -f /dev/null

(snipped)
xen_blk: Initialising virtual block device driver
xen_net: Initialising virtual ethernet driver.
NET: Registered protocol family 2
IP: routing cache hash table of 2048 buckets, 16Kbytes
TCP established hash table entries: 16384 (order: 5, 131072 bytes)
TCP bind hash table entries: 16384 (order: 4, 65536 bytes)
TCP: Hash tables configured (established 16384 bind 16384)
NET: Registered protocol family 1
NET: Registered protocol family 17
IP-Config: Unable to set interface netmask (-22).
(snipped)

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] Problem: IP-Config: Unable to set interface netmask (-22), xuehai zhang <=