KVM Problems (Network and Video)

This forum is dedicated to advanced help and support :

Ask here your questions about advanced usage of Mageia. For example you may post here all your questions about network and automated installs, complex server configurations, kernel tuning, creating your own Mageia mirrors, and all tasks likely to be touchy even for skilled users.

KVM Problems (Network and Video)

Postby linuxero » Feb 26th, '13, 10:01

Hi;

I am trying virt-manager. So I decided to install Mageia. First of all the Network configuration does not work! When I try to check out the connections, virt-manager only shows a message saying that libvirt has no support for the interface connection. I went on trying to figure out why so in MCC->System->Services I noticed that my network service shows Stopped. Even though I am using Internet. I try to start the service in MCC anyways, but it fails: In a terminal, trying to get some clues, I got this:

Code: Select all
# systemctl status network.service
network.service - LSB: Bring up/down networking
          Loaded: loaded (/etc/rc.d/init.d/network)
          Active: failed (Result: exit-code) since Tue, 26 Feb 2013 08:46:44 +0100; 3min 55s ago
          CGroup: name=systemd:/system/network.service
                  └ 1221 /sbin/ifplugd -I -b -i eth0

Feb 26 08:46:44 linuxeros.sy network[30618]: RTNETLINK answers: File exists
Feb 26 08:46:44 linuxeros.sy network[30618]: RTNETLINK answers: File exists
Feb 26 08:46:44 linuxeros.sy network[30618]: RTNETLINK answers: File exists
Feb 26 08:46:44 linuxeros.sy network[30618]: RTNETLINK answers: File exists
Feb 26 08:46:44 linuxeros.sy network[30618]: RTNETLINK answers: File exists
Feb 26 08:46:44 linuxeros.sy network[30618]: RTNETLINK answers: File exists
Feb 26 08:46:44 linuxeros.sy network[30618]: RTNETLINK answers: File exists
Feb 26 08:46:44 linuxeros.sy network[30618]: RTNETLINK answers: File exists
Feb 26 08:46:48 linuxeros.sy ifplugd(wlan1)[1553]: Link beat detected.
Feb 26 08:47:02 linuxeros.sy ifplugd(wlan1)[1553]: Executing '/etc/ifplugd/ifplugd.action wlan1 down'.


I am actually connected through wlan1..

Am I in the right path to solving my problem? What could be the reason?

The second problem is that Mageia, in KVM, has a sluggish graphics! I tried vga, vmvga and then back to cirrus in virt-manager configuring Mageia, but still..no hope.

I have 2GB of RAM and 2 CPU's configured for Mageia machine in virt-manager..! Why does this happen? Isn't it supposed to be better than Virtualbox? Actually i never had these problems with VirtualBox..

Thanks in advance.
linuxero
 
Posts: 345
Joined: Oct 7th, '11, 15:50

Re: KVM Problems (Network and Video)

Postby linuxero » Mar 8th, '13, 01:52

I was still checking so I found this on redhat:

http://www.redhat.com/archives/virt-tools-list/2010-March/msg00016.html

A bit old, but does anyone know whether Mageia's libvirtd has been compiled with interface support or not?

Code: Select all
# libvirtd --version
libvirtd (libvirt) 0.9.10


Thanks
linuxero
 
Posts: 345
Joined: Oct 7th, '11, 15:50

Re: KVM Problems (Network and Video)

Postby zekemx » Jun 14th, '23, 23:34

Hello

I see this thread is very old and still I have the same problem and I do not have internet on my VM.

Linuxero, where you able to solve it?

Regards
zekemx
 
Posts: 25
Joined: Apr 26th, '11, 18:16

Re: KVM Problems (Network and Video)

Postby morgano » Jun 14th, '23, 23:42

At home & work Mandriva since 2006, Mageia 2011. Thinkpad T40, T43, T60, T400, T510, Dell M4400, M6300, Acer Aspire 7. Workstation using LVM, LUKS, VirtualBox, BOINC
morgano
 
Posts: 1492
Joined: Jun 15th, '11, 17:51
Location: Kivik, Sweden

Re: KVM Problems (Network and Video)

Postby doktor5000 » Jun 15th, '23, 00:45

zekemx wrote:still I have the same problem and I do not have internet on my VM.

You may want to create a separate thread, and provide some actual details. Because to be honest, the initial description here is slightly confusing.
It's not clear which part of the description is about the host system and which about the guest system. There's also no mention about what network setup has been chosen for the guest system, and insufficient details about the network setup on the host system.

Also, from the host at least the output as root of the following commands should be added
Code: Select all
systemctl status libvirtd.service -al -n50
virsh net-list --all
brctl show
iptables -S | grep LIBVIRT
iptables -S | grep virbr

This sounds like a similar issue as described in https://bugs.mageia.org/show_bug.cgi?id=21927 - if the bridge interfaces on the host are not included in the firewall configuration then they obviously won't route any traffic outside.
But without any details impossible to tell.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18054
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: KVM Problems (Network and Video)

Postby zekemx » Jun 15th, '23, 01:16

Wow!!

Thanks for you quick response, your link solved my problem,

The only thing that did not work correctly is where it says:
Code: Select all
As a normal user you don't have the right permissions to do anything, and it's difficult to get them. First add yourself to the kvm group:

/bin/su -c "usermod -aG kvm $USER"

and create a file /etc/polkit-1/rules.d/50-libvirt.rules with the following content:


The problem is that qemu appears as connecting and never conects, once I removed /etc/polkit-1/rules.d/50-libvirt.rules starts working but I need to enter the root password.

Thanks
zekemx
 
Posts: 25
Joined: Apr 26th, '11, 18:16


Return to Advanced support

Who is online

Users browsing this forum: No registered users and 1 guest

cron