xuehai zhang
2005-Dec-06 12:39 UTC
[Xen-users] Problem: IP-Config: Unable to set interface netmask (-22)
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@lists.xensource.com http://lists.xensource.com/xen-users