[libvirt] libvirtd crashing with network bridge configuration

Daniel P. Berrange berrange at redhat.com
Sun Dec 21 17:15:44 UTC 2008


On Sat, Dec 20, 2008 at 03:31:58AM +0100, Emre Erenoglu wrote:
> Hi Again,
> 
> On Sat, Dec 20, 2008 at 12:25 AM, Emre Erenoglu <erenoglu at gmail.com> wrote:
> 
> > Hi Daniel,
> >
> > I'm very surprised. dnsmasq is not listed in the dependencies of libvirt as
> > far as I know. I was guessing that it's a "nice to have" package, to enable
> > DHCP IP distriPid: 2616, comm: libvirtd Tainted: P         2.6.25.20-113 #1
> > bution to guests. But even if it doesn't exist, I shall normally be able to
> > assign static IP addresses manually to my guests.
> >
> > So if the system crashes due to dnsmasq, I would call it a bug instead.
> > Nevertheless, I'll try to compile this package for our distro and see what
> > happens.
> > I'll keep you posted, thanks again a lot for your interest.
> >
> 
> My suspections were correct. The dnsmasq does not have anything to do with
> the crash. I installed the dnsmasq package and it works fine:
> 
>  2616 pts/1    S+     0:00 /usr/sbin/libvirtd
>  2637 pts/1    S+     0:00 dnsmasq --keep-in-foreground --strict-order
> --bind-interfaces --pid-file  --conf-file  --listen-address 192.168.122.1
> --except-interface lo --dhcp-leasefile=/var/lib/libvirt/dhcp-d
> 
> However, I still have the crash in the dmesg output, as before, errors like:
> 
> 
> 
> sysfs: duplicate filename '0' can not be
> created
> 
> ------------[ cut here
> -------------
> 
> WARNING: at fs/sysfs/dir.c:424 sysfs_add_one+0x34/0xa6()
> ...
> Pid: 2616, comm: libvirtd Tainted: P         2.6.25.20-113 #1
> ...
> *kobject_add_internal failed for 0 with -EEXIST, don't try to register
> things with the same name in the same directory.*

Any of these messages in the dmesg output are kernel problems, not 
libvirt problems. The process listing you show about indicates that
libvirtd itself is running, and has not crashed.

Daniel
-- 
|: Red Hat, Engineering, London   -o-   http://people.redhat.com/berrange/ :|
|: http://libvirt.org  -o-  http://virt-manager.org  -o-  http://ovirt.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505  -o-  F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|




More information about the libvir-list mailing list