Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Xen 3.1 & Libvirt & Udev Net problem
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
stefklep
n00b
n00b


Joined: 14 Jul 2005
Posts: 6

PostPosted: Tue Aug 21, 2007 4:13 pm    Post subject: Xen 3.1 & Libvirt & Udev Net problem Reply with quote

Hello

I have problem whit Libvirt and xen 3.1 , the follow.

I wan to user virt-manager for Xen image control.

when i start libvirt i get the follow message

libvir: QEMU error : failed to set bridge STP to on
Failed to autostart network 'default': failed to set bridge STP to on

I see the follow in /var/log/messages
Aug 20 17:51:04 localhost udev-net.sh: /etc/init.d/net.vnet0: does not exist or is not executable

When i do the follow
ln -s /etc/init.d/net.lo /etc/init.d/net.vnet0

and ad the follow rules in /etc/conf.d/net

now start i libvirtd
/usr/bin/libvirtd

the follow message in /var/log/messages
rc-scripts: We only hotplug for ethernet interfaces

How can i fix this problem with udev ? Thanks
I thinks this is a specific Gentoo problem, wen i try this with Debian/Ubuntu then it works perfect.
Back to top
View user's profile Send private message
mrbig4545
Tux's lil' helper
Tux's lil' helper


Joined: 03 Jun 2004
Posts: 124

PostPosted: Tue Aug 21, 2007 4:33 pm    Post subject: Reply with quote

Have you tried
Code:
/etc/init.d/net.vnet0  start --verbose
before starting libvirtd, if so does it throw an error?

Mark
Back to top
View user's profile Send private message
stefklep
n00b
n00b


Joined: 14 Jul 2005
Posts: 6

PostPosted: Tue Aug 21, 2007 7:01 pm    Post subject: Reply with quote

mrbig4545 wrote:
Have you tried
Code:
/etc/init.d/net.vnet0  start --verbose
before starting libvirtd, if so does it throw an error?

Mark

When i start with the --verbose option, he wil be create the vnet1 with the same problem.
Back to top
View user's profile Send private message
mrbig4545
Tux's lil' helper
Tux's lil' helper


Joined: 03 Jun 2004
Posts: 124

PostPosted: Wed Aug 22, 2007 1:33 pm    Post subject: Reply with quote

Not sure if this is going to be any help, but it has a section on setting up a bridge with TUN/TAP, so it my be of some use, worked for me :) but the basics behind it are similar.

http://gentoo-wiki.com/HOWTO:_VirtualBox#Network

Mark
Back to top
View user's profile Send private message
stefklep
n00b
n00b


Joined: 14 Jul 2005
Posts: 6

PostPosted: Sun Aug 26, 2007 10:40 am    Post subject: Reply with quote

mrbig4545 wrote:
Not sure if this is going to be any help, but it has a section on setting up a bridge with TUN/TAP, so it my be of some use, worked for me :) but the basics behind it are similar.

http://gentoo-wiki.com/HOWTO:_VirtualBox#Network

Mark


Sorry but dint working. Libvirt will be create a follow interface with the same problem.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum