[Pkg-libvirt-maintainers] Bug#531802: Bug#531802: libvirt0: bridges containing VLAN interfaces are not recognized

Guido Günther agx at sigxcpu.org
Fri Jun 12 09:40:36 UTC 2009


reassign 531802 hal
thanks

On Thu, Jun 11, 2009 at 08:29:01AM +0200, Andreas Unterkircher wrote:
> I copy pasted your's into my /etc/network/interfaces and up'ed vlan2  
> first by ifup, then br1. Then I started virt-manager 0.7.0-3 and the new  
> bridge is not selectable from the list.
Here's what virt-manager says:

(connection:144): Bonding masters are: []
(connection:170): Got physical net device /org/freedesktop/Hal/devices/net_00_1a_80_d8_f0_e1_1
(connection:230): Adding net device br0 00:1a:80:d8:f0:e1 /sys/class/net/br0 (bridge: None)
(connection:202): Checking for VLANs on /sys/class/net/br0
(connection:170): Got physical net device /org/freedesktop/Hal/devices/net_00_1a_80_d8_f0_e1_0
(connection:230): Adding net device vlan2 00:1a:80:d8:f0:e1 /sys/class/net/vlan2 (bridge: br0)
(connection:202): Checking for VLANs on /sys/class/net/vlan2
(connection:170): Got physical net device /org/freedesktop/Hal/devices/net_00_1a_80_d8_f0_e1
(connection:230): Adding net device eth0 00:1a:80:d8:f0:e1 /sys/class/net/eth0 (bridge: None)
(connection:202): Checking for VLANs on /sys/class/net/eth0

Note the three different devices exposed by hal. I also have:

virsh # nodedev-list --cap net
net_00_1a_80_d8_f0_e1
net_00_1a_80_d8_f0_e1_0
net_00_1a_80_d8_f0_e1_1

e.g. $ lshal -u /org/freedesktop/Hal/devices/net_00_1a_80_d8_f0_e1_0
udi = '/org/freedesktop/Hal/devices/net_00_1a_80_d8_f0_e1_0'
[..snip..] 
  linux.subsystem = 'net'  (string)
  linux.sysfs_path = '/sys/devices/virtual/net/vlan2'  (string)
  net.80203.mac_address = 113830850785  (0x1a80d8f0e1)  (uint64)
  net.address = '00:1a:80:d8:f0:e1'  (string)
[..snip..] 

so the issue is hal not listing these devices for you. This hal
0.5.12~git20090406.46dc48-2 which works. Could you check with this
version?  I'm reassigning to hal but don't hesitte to keep me cc'ed.
Cheers,
 -- Guido





More information about the Pkg-libvirt-maintainers mailing list