Hi - I have a machine which was originally built with Centos 5.0
including xen. It has all the current updates and here are some questions:
The current problem is:
1) If I boot the non-xen kernel - it runs fine. If I boot the xen kernel
- it boots - but has no network connectivity - and I get the following
errors continuously in the messages log:
Time/date: C5 Kernel: vif0.0: received packet with own address as source
address.
And another question:
2) The Centos 5.1 release notes say that …
[View More]the 5.1 xen release includes
dnsmasq, and that this may conflict with dhcpd and named if you are
running these. I am running both - and i thought dnsmasq was not running
because it is set to "not start at boot" - but I now notice that it is
"running" even though it is set to "not start on boot". This is true
whether I boot the xen or non-xen kernel. Is this a problem - and if so
- how do I stop it from running? How do dnsmasq and dhcpd both function
without breaking each other?
Now some detailed background:
The machine uses a Realtek 8111B network adaptor - and this has been a
problem all along. I used to manually reinstall the r1000 driver
(apparently the correct driver for the adaptor) every time the kernel
was updated. Tedious - but it worked. My xen kernel worked fine. Some
months back - a bunch of updates came through corresponding to the
release of Centos 5.1 - and my normal driver re-install didn't seem to
get the Xen kernel running. On advice from the Centos forums - I
installed the dkms-r1000 driver - and eventually got the non-xen kernel
running fine - but couldn't get the xen kernel running. Every boot - the
message "starting eth0 - Failed" would come up. I have been using the
non-xen kernel ever since. My system has both kernel-devel and
kernel-xen- devel installed.
Just yesterday - I installed the latest Kernels ( kernel
2.6.18-53.1.6.el5
<https://192.168.0.201:10000/software/edit_pack.cgi?search=kernel&package=ke…>)
- using gnome software updater which installs both xen and non-xen
kernels. The non-xen kernel worked fine without any manual driver
install. Presumably the dkms install worked fine.
When I tried to boot the xen kernel - there were lots of problems -
partly because I recently got the shcpd going on the server - and it now
needs static ips. The xen kernel still seemed to be set to dynamic ips -
but that was easily fixed. Now the message "starting etho - OK" is
displayed - and nearly everything looks OK in the startup messages - but
several things are slow to start. Once it boots - there is no network
connectivity - and the above "vif0.0" errors appear in the messages log.
Can anyone shed any light on these questions?
Thanks
Richard.
[View Less]
Hello All.
I've just started looking into Xen and have a test environment in place. I'm seeing an
annoying problem that I thought worthy of a post.
Config:
I have 2 x HP DL585 servers each with 4 Dual core Opterons (non-vmx) and 16GB RAM
configured as Xen servers. These run CentOS 5.1 with the latest updates applied. These
system both attach to an iSCSI target which is an HP DL385 running ietd and serving SAN
based storage.
I have a test VM running CentOS 5.1 also updated.
Problem:
If …
[View More]I run the VM on a single server everything is OK. If I do a migrate of the VM to the
other server I start getting random "BUG: soft lockup detected on CPU#?" messages on the
VM console. The messages seem to happen with IO but not every time. A reboot of the VM
on the new server will stop these messages.
I've also left the VM running overnight a couple of times and when I do I find that any
external sessions (ssh) are hung in the morning but the console session is not. New ssh
sessions can be started and seem to work.
After much googling it looks like the kernel messages can occur if dom0 is very busy but
mine is not.
Any suggestions?
Regards
Brett Worth
[View Less]
Hi all,
I'm having issue with my Centos 5.1 /Xen installation.
I'm having 2 dom0 running 2.6.18-53.1.4.el5xen (x86_64).
These two dom0 are connected to a SAN.
These two dom0 hosts multiple domU like Centos 4.5 (2.6.9-55.0.9.ELxenU)
and Centos 5.1 (2.6.18-53.1.4.el5xen).
These two dom0 run ntpd to synchronize dom0 time.
When i start a virtual machine on the first dom0 all seems good, the
domU time is like the dom0 time.
The problem appears when i migrate the domU to another dom0.
After the …
[View More]migration, the time in domU on the new dom0 is totally false
(we can have more than one day of desynchronisation) and the time on the
domU seems to be blocked (the clock indicates always the same time ).
In the xend Logs we can't see any error message with the debug mode.
The solution for this moment is to restart the domU in the new dom0 to
be synchronized again.
We manage a lot of authentications services like CAS or Shibboleth which
uses timestamp for security validation and this problem is very annoying
for us.
Anyone has encountered this problem ?
Any idea how to solve it ?
Thanks for your help.
Regards
Fred
--
Frederic Soulier
Administrateur Reseau
Centre de Ressources Informatiques
Université Toulouse 1 Sciences Sociales
2 RUE DU DOYEN GABRIEL MARTY
31042 TOULOUSE CEDEX 9
Tel : +33 5 61 63 39 98 / +33 5 61 63 39 98
Fax : +33 5 61 63 37 98 Bureau : AR38 bis
http://cri.univ-tlse1.fr/
[View Less]
Hello,
I think I saw this somewhere but cannot find it with google now.
How to setup anti-spoofing firewall rules in dom0 so that domU could not change IP and try to get spoof other traffic?
I could use physdev module of iptables but how to determine which vif belongs to which domU without too much scripting? Or parsing "xm list" and matching with some configuration file (like: domain1:192.168.1.10 domain2:192.168.1.22) is the way?
Then how to automatically run the script after "xm …
[View More]create"?
Thanks for the ideas. Question should be simple but I'm stuck here now. :)
Mindaugas
[View Less]
I updated a CentOS 5.0 Xen VM to 5.1 (host had been updated already last
year) and then rebooted from within. This hung the machine on shutdown
with nearly 100% CPU usage. I couldn't shut it down any other way than
destroying it. After starting up it would seem to start up, but wasn't
available via network or console. Shutting it down would display the same
symptoms as before. Finally, I rebooted the host machine and then was able
to start the updated guest as well.
This isn't normal, is …
[View More]it? (This was my first number update within a Xen
VM.)
Kai
--
Kai Schätzl, Berlin, Germany
Get your web at Conactive Internet Services: http://www.conactive.com
[View Less]
Since I updated my CentOS 5.0 host machine to 5.1 I cannot open a console
from the VM Manager to a guest. Before 5.1 it opened a VM window that
looks close to the VMWare window and displays the console in it, so that I
can login to the console. Now I get a "pre-window" that shows a "password"
textbox, a Login button and a checkbox for "Save this password in your
keyring". What is this? What password am I supposed to enter? Entering the
root password (of host or guest) does not work. Once …
[View More]I press the Login
button it just hangs and when I try to close it I get a warning that it
hangs and when I kill it this way the VM console and the VM Manager are
destroyed.
I can login via "xm console".
Kai
--
Kai Schätzl, Berlin, Germany
Get your web at Conactive Internet Services: http://www.conactive.com
[View Less]
Hello:
I'm having issues with my CentOS 5.1/Xen installation. If I run the
xen-bridge, I seem to get flaky ethernet. By flaky I mean everything seems
fine from the host machine, but if I attempt to contact the host machine from
another remote machine (eg. my laptop which is on the same subnet as the xen
machine, separated by 10 ft of cable and a router) I either get extremely
high ping times or Destination Host Unreachable. Ditto with ssh. I've
disabled the firewall and it does not make …
[View More]a difference. If I stop the
xen-bridge (/etc/xen/scripts/network-bridge stop) then I get what I would
consider normal network access to the xen machine.
Hardware: Gigabyte GA-G33M-S2H MB (Realtek R8110SC onboard nic)
OS: CentOS 5.1 64bit Xen
I installed CentOS last night with the Xen kernel, the stock kernel did not
support my nic which I was aware of. So I downloaded the r1000 source rpm
from the centos wiki, built and installed it. Once I did that the card was
detected (an ifconfig would actually display eth0), but it would never get an
IP address (the xen machine is configured for dhcp at the moment). Today, I
installed the non-xen kernel, applied the non-xen r1000 kernel module and the
onboard nic was found and working.
I then grabbed the updates from centos, saw that there were some kernel
updates, applied the r1000 kernel modules again, restarted and (the non-xen
kernel) eth0 was still happy. Good. Restarted again, but booted into the xen
kernel, eth0 was still happy. eth0 would get an IP address, and was able to
see the outside world. However, the outside world (eg. my laptop) could not
see the xen machine or it could inconsistently. That is, ping times would be
extremely high (on the order of 2+ seconds) or I would get Destination Host
Unreachable errors. Trying to connect via ssh would also be sporadic.
Thinking it might be firewall related, I disabled the firewall. There was no
change in behaviour. I then disabled the xen-bridge and was able to ping with
reasonable numbers (<200ms) and connect via ssh. Just to note though, after I
stopped the bridge I immediately tried to connect via ssh/ping and did not
get through, so I ran service iptables stop (again) and then was able to get
correct network access. I'm not sure if stopping iptables again did anything
(I doubt) or I did not leave enough time from stopping the bridge to letting
everything get reconfigured.
I'm not sure what the problem is or how exactly to troubleshoot it. The NIC is
slightly different than the one specified in the CentOS wiki (the wiki
mentions RTL8110 and RTL8169SC and mine is a RTL8110SC) but I'm not familiar
enough with the devices to know how much of a big deal that is, if any. Also,
just to be clear, the problem is other physical machines have a difficult
time accessing the xen host pc when the xen-bridge is running. I have not
gotten as far as creating a VM yet.
Any assistance would be great.
thanks
-- chris
[View Less]