Bug 393051 - Libvirt fails to bring up bridging with rawhide kernel
Summary: Libvirt fails to bring up bridging with rawhide kernel
Keywords:
Status: CLOSED DUPLICATE of bug 390991
Alias: None
Product: Fedora
Classification: Fedora
Component: libvirt
Version: 8
Hardware: x86_64
OS: Linux
low
medium
Target Milestone: ---
Assignee: Daniel Veillard
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-11-20 20:53 UTC by James Morris
Modified: 2007-11-30 22:12 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2007-11-20 21:08:06 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description James Morris 2007-11-20 20:53:43 UTC
Description of problem:


Version-Release number of selected component (if applicable):

libvirt-0.3.3-2.fc8
kernel-2.6.24-0.39.rc3.git1.fc9

How reproducible:

Always

Steps to Reproduce:

# libvirtd --verbose
libvir: QEMU error : failed to bring the bridge 'virbr0' up : Invalid argument
Failed to autostart network 'default': failed to bring the bridge 'virbr0' up :
Invalid argument

Additional info:

It appears to be specific to recent upstream kernels.

The EINVAL is being returned via
117  ioctl(7, SIOCSIFADDR, 0x7fff4e862d60) = 0
5117  ioctl(7, SIOCSIFNETMASK, 0x7fff4e862d60) = 0
5117  ioctl(7, SIOCGIFFLAGS, {ifr_name="virbr0",
ifr_flags=IFF_BROADCAST|IFF_MULTICAST}) = 0
5117  ioctl(7, SIOCSIFFLAGS, 0x7fff4e862d70) = -1 EINVAL (Invalid argument)
5117  write(2, "libvir: QEMU error : failed to b"..., 79) = 79

Which corresponds to:
brSetInterfaceUp() in libvirt

and 
dev_change_flags() in the kernel,

if ((old_flags ^ flags) & IFF_UP) {     /* Bit is different  ? */
                ret = ((old_flags & IFF_UP) ? dev_close : dev_open)(dev);

where it seems that dev_open() is failing.

Comment 1 Daniel Berrangé 2007-11-20 21:08:06 UTC

*** This bug has been marked as a duplicate of 390991 ***


Note You need to log in before you can comment on or make changes to this bug.