WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] 2.6.7-xen0 hang on boot

To: Ian Pratt <Ian.Pratt@xxxxxxxxxxxx>
Subject: Re: [Xen-devel] 2.6.7-xen0 hang on boot
From: Rik van Riel <riel@xxxxxxxxxx>
Date: Wed, 11 Aug 2004 23:07:43 -0400 (EDT)
Cc: xen-devel@xxxxxxxxxxxxxxxxxxxxx, Ulrich Drepper <drepper@xxxxxxxxxx>, Ingo Molnar <mingo@xxxxxxxxxx>
Delivery-date: Thu, 12 Aug 2004 04:25:28 +0100
Envelope-to: steven.hand@xxxxxxxxxxxx
In-reply-to: <Pine.LNX.4.44.0408112239150.23161-100000@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
List-archive: <http://sourceforge.net/mailarchive/forum.php?forum=xen-devel>
List-help: <mailto:xen-devel-request@lists.sourceforge.net?subject=help>
List-id: List for Xen developers <xen-devel.lists.sourceforge.net>
List-post: <mailto:xen-devel@lists.sourceforge.net>
List-subscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=subscribe>
List-unsubscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=unsubscribe>
Sender: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx
On Wed, 11 Aug 2004, Rik van Riel wrote:

> stopped reaping zombies.  Not sure how to debug things
> now, except maybe by adding an ugly hack to the kernel
> to allow me to debug init (might not be the best idea).

Of course, there are other executables showing problems.
An easy one is /sbin/initlog.

When run the way the initscripts run it, it segfaults,
gdb gives the following (infinite?) backtrace, consisting
of these:

#8696 0x00920546 in vsyslog () from /lib/tls/libc.so.6
#8697 0x0091fecf in syslog () from /lib/tls/libc.so.6
#8698 0x00920546 in vsyslog () from /lib/tls/libc.so.6
#8699 0x0091fecf in syslog () from /lib/tls/libc.so.6
#8700 0x00920546 in vsyslog () from /lib/tls/libc.so.6

Here are the last lines strace give me:

stat64("/dev/log", {st_mode=S_IFSOCK|0666, st_size=0, ...}) = 0
socket(PF_FILE, SOCK_DGRAM, 0)          = 3
connect(3, {sa_family=AF_FILE, path="/dev/log"}, 110) = 0
close(3)                                = 0
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++


-- 
"Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are,
by definition, not smart enough to debug it." - Brian W. Kernighan



-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel