[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-users] Netwroking on Dom0 stopped working after installing cpufreq module!



Dear All,

I am trying to set Xen Virtualization environment on a AMD Opteron system with Fedora Core 2.6.21-7 kernel. I was able to install Xen successfully and establish a network using Xen Bridge Configurations  using few DomU running on it. After that I tried to install cpufrequtils 002 to be installed on Dom0. As a result of that my Dom0 networked is all messed up, my "eth0" is no more getting configured at boot time and my iptables is also not gettings et up. I am able to access external network and web by explicitly doing "ifup eth0" on Dom0 but an attempt to add "xenbr0" bridge to eth0 by "brctl addif xenbr0 eth0" adds xenrb0 successful (as seen by "route" command) but it disables the network on Dom0. In all cases my VMs DomU's are not connected to network even after doing all this. I tried to restore iptables by "iptables -L" but command does not return.

The output from ifconfig on Dom0:
# ifconfig
lo        Link encap:Local Loopback 
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:3346 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3346 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:22432208 (21.3 MiB)  TX bytes:22432208 (21.3 MiB)

tmpbridge Link encap:Ethernet  HWaddr 00:00:00:00:00:00 
          inet addr:128.205.39.118  Bcast:128.205.39.255  Mask:255.255.255.0
          inet6 addr: fe80::200:ff:fe00:0/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:35 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 b)  TX bytes:8975 (8.7 KiB)

virbr0    Link encap:Ethernet  HWaddr 00:00:00:00:00:00 
          inet6 addr: fe80::200:ff:fe00:0/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:17 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 b)  TX bytes:4411 (4.3 KiB)

xenbr0    Link encap:Ethernet  HWaddr 00:00:00:00:00:00 
          inet6 addr: fe80::200:ff:fe00:0/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:18 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 b)  TX bytes:4527 (4.4 KiB)

After "ifup eth0"
[root@steelbug ~]# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:E0:81:58:BF:2A 
          inet addr:128.205.39.118  Bcast:128.205.39.255  Mask:255.255.255.0
          inet6 addr: fe80::2e0:81ff:fe58:bf2a/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1698 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1715 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:1041847 (1017.4 KiB)  TX bytes:309166 (301.9 KiB)
          Interrupt:22 Base address:0x4000

lo        Link encap:Local Loopback 
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:3346 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3346 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:22432208 (21.3 MiB)  TX bytes:22432208 (21.3 MiB)

tmpbridge Link encap:Ethernet  HWaddr 00:00:00:00:00:00 
          inet addr:128.205.39.118  Bcast:128.205.39.255  Mask:255.255.255.0
          inet6 addr: fe80::200:ff:fe00:0/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:35 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 b)  TX bytes:8975 (8.7 KiB)

virbr0    Link encap:Ethernet  HWaddr 00:00:00:00:00:00 
          inet6 addr: fe80::200:ff:fe00:0/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:17 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 b)  TX bytes:4411 (4.3 KiB)

xenbr0    Link encap:Ethernet  HWaddr 00:00:00:00:00:00 
          inet6 addr: fe80::200:ff:fe00:0/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:18 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 b)  TX bytes:4527 (4.4 KiB)

debug messages from DomU (i.e. ubuntu.8-04 hardy)

root@ubuntu-pristine:~# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:16:3e:5b:94:cf 
          inet addr:128.205.39.150  Bcast:128.205.39.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:15 errors:0 dropped:0 overruns:0 frame:0
          TX packets:9 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:4177 (4.0 KB)  TX bytes:570 (570.0 B)

lo        Link encap:Local Loopback 
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)


I have not modified any defaults setting in /etc/sysconfig/network* folders. Please help what can have went wrong and what measure are needed to restore the dom0 defaults network setting.  I have tried to uninstall the fc7xen kernel using "yum groupremove "Virtualization"" and again install Xen using "yum groupinstall "Virtualization"" but still nothing has changed.

 Moreover cpufreq is also not working and giving  following error
[root@steelbug ~]# cpufreq-info
cpufrequtils 002: cpufreq-info (C) Dominik Brodowski 2004-2006
Report errors and bugs to linux@xxxxxxxx, please.
analyzing CPU 0:
 no or unknown cpufreq driver is active on this CPU

Please suggest the changes to make this two things working!

Thanks & Regards!
Ata E Husain Bohra
Student - CSE Department
University at Buffalo,
New York
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.