[Bug 598488] New: libvirtd doesn't start
http://bugzilla.novell.com/show_bug.cgi?id=598488 http://bugzilla.novell.com/show_bug.cgi?id=598488#c0 Summary: libvirtd doesn't start Classification: openSUSE Product: openSUSE 11.3 Version: Milestone 5 Platform: x86-64 OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Other AssignedTo: jfehlig@novell.com ReportedBy: rhafer@novell.com QAContact: qa@suse.de CC: thomas@novell.com Found By: Development Blocker: --- Doing "rclibvirtd start" on 11.3M5 I get this: Starting libvirtd *** glibc detected *** /usr/sbin/libvirtd: malloc: top chunk is corrupt: 0x00000000006c44f0 *** After that the process it running but won't accept any connection. Installing debuginfos and attaching with gdb I got this: #0 __lll_lock_wait_private () at ./nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:97 #1 0x00007f733e4f37b0 in _L_lock_6452 () from /lib64/libc.so.6 #2 0x00007f733e4efce7 in malloc_check (sz=97, caller=<value optimized out>) at hooks.c:263 #3 0x00007f733e4e7a54 in __libc_message (do_abort=2, fmt=0x7f733e59c328 "*** glibc detected *** %s: %s: 0x%s ***\n") at ../sysdeps/unix/sysv/linux/libc_fatal.c:137 #4 0x00007f733e4ed0a6 in malloc_printerr (action=3, str=0x7f733e5994c0 "malloc: top chunk is corrupt", ptr=<value optimized out>) at malloc.c:6264 #5 0x00007f733e4ed165 in top_check () at hooks.c:222 #6 0x00007f733e4efcec in malloc_check (sz=568, caller=<value optimized out>) at hooks.c:264 #7 0x00007f733e4dddfb in __fopen_internal (filename=0x7f733ee2b1a6 "/proc/filesystems", mode=0x7f733ee2b09b "r", is32=1) at ../libio/iofopen.c:76 #8 0x00007f733ee2236d in init_selinuxmnt () at init.c:49 #9 init_lib () at init.c:116 #10 0x00007f733ee2ab66 in __do_global_ctors_aux () from /lib64/libselinux.so.1 #11 0x00007f733ee1a63b in _init () from /lib64/libselinux.so.1 #12 0x0000000000000000 in ?? () So it might be related to selinux. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=598488 http://bugzilla.novell.com/show_bug.cgi?id=598488#c Michal Hrusecky <mhrusecky@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mhrusecky@novell.com Severity|Normal |Major -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=598488 http://bugzilla.novell.com/show_bug.cgi?id=598488#c1 James Fehlig <jfehlig@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED --- Comment #1 from James Fehlig <jfehlig@novell.com> 2010-04-28 21:58:46 UTC --- Since milestone 6 is tomorrow (Apr 29), I obviously wont have this fixed. SLE11 SP1 has taken all of my waking hours lately. I'll update to libvirt 0.8.1 when it is released (end of this week or early next). It contains several other important bug fixes and perhaps a fix for this issue as well. If not, I'll take care of it then. Either way, this bug will be fixed in milestone 7. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=598488 http://bugzilla.novell.com/show_bug.cgi?id=598488#c2 James Fehlig <jfehlig@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jfehlig@novell.com AssignedTo|jfehlig@novell.com |trenn@novell.com --- Comment #2 from James Fehlig <jfehlig@novell.com> 2010-05-03 21:06:09 UTC --- Finally got a chance to look at this bug. Seems libnumal is the culprit. If I configure libvirt without numa support, libvirtd and virsh work fine. With numa support, both crash with memory corruption. Building and running the same libvirt package for SLE11 SP1 also works fine. Even simple operations like "numactl --show" bomb: xen41: # cat /etc/issue Welcome to openSUSE 11.3 "Teal" Milestone 6 - Kernel \r (\l). xen41: # numactl --show *** glibc detected *** numactl: malloc: top chunk is corrupt: 0x00000000006073f0 *** Reassigning to Thomas for further investigation ... -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=598488 http://bugzilla.novell.com/show_bug.cgi?id=598488#c3 James Fehlig <jfehlig@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jbeulich@novell.com --- Comment #3 from James Fehlig <jfehlig@novell.com> 2010-05-03 21:49:57 UTC --- Hmm, perhaps I was a little quick in declaring this a problem with libnuaml. I booted the native milestone 6 kernel and both numactl and libvirt work fine: xen41:~ # uname -r 2.6.34-rc5-6-desktop xen41:~ # numactl --show policy: default preferred node: current physcpubind: 0 1 2 3 4 5 6 7 cpubind: 0 nodebind: 0 membind: 0 So there seems to be a problem with libnumal and the xen kernel. Adding Jan, but leaving the bug with Thomas for the moment. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=598488 http://bugzilla.novell.com/show_bug.cgi?id=598488#c4 --- Comment #4 from Jan Beulich <jbeulich@novell.com> 2010-05-04 10:24:21 UTC --- If I wanted to take a look - where would I find 11.3's numactl.src.rpm? -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=598488 http://bugzilla.novell.com/show_bug.cgi?id=598488#c5 --- Comment #5 from James Fehlig <jfehlig@novell.com> 2010-05-04 15:17:44 UTC --- (In reply to comment #4)
If I wanted to take a look - where would I find 11.3's numactl.src.rpm?
http://download.opensuse.org/factory/repo/src-oss/suse/src/ -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=598488 http://bugzilla.novell.com/show_bug.cgi?id=598488#c7 --- Comment #7 from Jan Beulich <jbeulich@novell.com> 2010-05-05 10:10:32 UTC --- Hmm, the numactl code didn't change for more than half a year (unless 2.0.3 was used previously) and also doesn't appear to have any Xen specific bits. Jim, did you check whether on native the issue indeed doesn't happen? -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=598488 http://bugzilla.novell.com/show_bug.cgi?id=598488#c8 --- Comment #8 from James Fehlig <jfehlig@novell.com> 2010-05-05 14:24:38 UTC --- Both libvirtd and numactl work fine on native. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=598488 http://bugzilla.novell.com/show_bug.cgi?id=598488#c9 --- Comment #9 from James Fehlig <jfehlig@novell.com> 2010-05-12 21:45:26 UTC --- I've disabled libvirt's usage of libnumal in 11.3/Factory until this issue is resolved. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=598488 http://bugzilla.novell.com/show_bug.cgi?id=598488#c10 --- Comment #10 from James Fehlig <jfehlig@novell.com> 2010-06-04 19:07:22 UTC --- Any news here? I still have numa disabled in libvirt. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=598488 http://bugzilla.novell.com/show_bug.cgi?id=598488#c11 --- Comment #11 from James Fehlig <jfehlig@novell.com> 2010-06-04 19:13:40 UTC --- Created an attachment (id=367243) --> (http://bugzilla.novell.com/attachment.cgi?id=367243) strace of failing 'numactl --show' Perhaps this would be of some help. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=598488 http://bugzilla.novell.com/show_bug.cgi?id=598488#c12 --- Comment #12 from Jan Beulich <jbeulich@novell.com> 2010-06-09 08:37:23 UTC --- Created an attachment (id=368028) --> (http://bugzilla.novell.com/attachment.cgi?id=368028) memory corruption fix I found one place where memory could get corrupted during numa_init(), fixed by this patch. Not sure though whether that is what is causing the problems - I still haven't seen the problem myself. Thomas, perhaps it would be reasonable to also update to 2.0.4-rc2? -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=598488 http://bugzilla.novell.com/show_bug.cgi?id=598488#c13 --- Comment #13 from Thomas Renninger <trenn@novell.com> 2010-06-09 09:40:02 UTC ---
Thomas, perhaps it would be reasonable to also update to 2.0.4-rc2? Done with your patch included. Should show up here soon (build succeeded, but it may take some hours/days until it shows up there): http://download.opensuse.org/repositories/Base:/System/openSUSE_Factory/x86_... Search for libnuma1-2.0.4.rc2
-- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=598488 http://bugzilla.novell.com/show_bug.cgi?id=598488#c14 Thomas Renninger <trenn@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO InfoProvider| |rhafer@novell.com --- Comment #14 from Thomas Renninger <trenn@novell.com> 2010-06-09 09:48:11 UTC --- Could you give it a test as soon as it shows up, please. Also update numactl.rpm with version 2.0.4.rc2 -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=598488 http://bugzilla.novell.com/show_bug.cgi?id=598488#c15 Ralf Haferkamp <rhafer@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED InfoProvider|rhafer@novell.com | --- Comment #15 from Ralf Haferkamp <rhafer@novell.com> 2010-06-17 11:41:17 CEST --- According to comment#9 libvirt doesn't currently use libnumal anymore in 11.3/Factory. So I can't really test anything currently I guess. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=598488 http://bugzilla.novell.com/show_bug.cgi?id=598488#c16 Jan Beulich <jbeulich@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO InfoProvider| |rhafer@novell.com --- Comment #16 from Jan Beulich <jbeulich@novell.com> 2010-06-17 09:49:27 UTC --- But according to comment#2 a simple "numactl --show", run under the Xen kernel, will provide the necessary information. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=598488 http://bugzilla.novell.com/show_bug.cgi?id=598488#c17 Ralf Haferkamp <rhafer@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- InfoProvider|rhafer@novell.com |jfehlig@novell.com --- Comment #17 from Ralf Haferkamp <rhafer@novell.com> 2010-06-17 12:01:54 CEST --- I don't have a Xen kernel running (nor installed). I was using libvirt + kvm. Addtionally Base:/System/openSUSE_Factory still has libnuma1 2.0.4.rc1 it seems. Handing over the needinfo to Jim as he seems to have been able to reproduce it with Xen -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=598488 http://bugzilla.novell.com/show_bug.cgi?id=598488#c18 --- Comment #18 from Thomas Renninger <trenn@novell.com> 2010-06-19 20:00:06 UTC ---
Addtionally Base:/System/openSUSE_Factory still has libnuma1 2.0.4.rc1 it seems. Yeah, they merge things from Base:System to openSUSE_Factory regularly. I also explicitly send an osc submitrequest now.
-- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=598488 http://bugzilla.novell.com/show_bug.cgi?id=598488#c19 James Fehlig <jfehlig@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED InfoProvider|jfehlig@novell.com | --- Comment #19 from James Fehlig <jfehlig@novell.com> 2010-06-21 15:57:32 UTC --- I tested the package in Base:/System/openSUSE_Factory and it works fine. Thomas, the package still has 'rc1' in the name since the spec file contains Version: 2.0.4.rc1 The built package in Base:/System/openSUSE_Factory does include your latest changes xen41:/tmp # rpm -qp libnuma1-2.0.4.rc1-18.2.x86_64.rpm --changelog | head -5 * Wed Jun 09 2010 trenn@novell.com - Fixed corrupt tar.bz2 and added a mem corruption fix from Jan. * Thu May 20 2010 trenn@novell.com - Update to version 2.0.4-rc2 After minor adjustment to Version string in spec file I think this bug can be closed. I'll re-enable libvirt's numa support in 11.3/Factory. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=598488 http://bugzilla.novell.com/show_bug.cgi?id=598488#c20 Thomas Renninger <trenn@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED --- Comment #20 from Thomas Renninger <trenn@novell.com> 2010-06-21 17:16:00 UTC ---
After minor adjustment to Version string in spec file I think this bug can be closed. Done that -> closing.
-- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=598488 http://bugzilla.novell.com/show_bug.cgi?id=598488#c21 --- Comment #21 from Bernhard Wiedemann <bwiedemann@suse.com> --- This is an autogenerated message for OBS integration: This bug (598488) was mentioned in https://build.opensuse.org/request/show/39879 Factory / libvirt https://build.opensuse.org/request/show/42077 Factory / libvirt -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com