From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1Aooya-0001tB-6i for user-mode-linux-devel@lists.sourceforge.net; Thu, 05 Feb 2004 11:15:48 -0800 Received: from mx1.elte.hu ([157.181.1.137]) by sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.30) id 1AooyZ-0006xb-Ai for user-mode-linux-devel@lists.sourceforge.net; Thu, 05 Feb 2004 11:15:47 -0800 From: Ingo Molnar Message-ID: <20040205191558.GA6580@elte.hu> References: <20040120002301.GA5708@elte.hu> <200401241820.i0OIKHY3002399@ccure.user-mode-linux.org> <20040205123057.GA23555@elte.hu> <20040205183624.GA5236@elte.hu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040205183624.GA5236@elte.hu> Subject: [uml-devel] Re: tt mode tls/glibc crash with 2.6 (Was: Re: uml-patch-2.6.0) Sender: user-mode-linux-devel-admin@lists.sourceforge.net Errors-To: user-mode-linux-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Id: The user-mode Linux development list List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu, 5 Feb 2004 20:15:58 +0100 To: M A Young Cc: Jeff Dike , user-mode-linux-devel@lists.sourceforge.net, Gerd Knorr * Ingo Molnar wrote: > mind sending the archparam-i386.h diff you have? I commented out the > creation of the two vsyscall auxiliary entries in ARCH_DLINFO - is > that enough? the crash here seems to be that after fork() the contents of GS are lost and the next %gs access segfaults due to the #GPF. (which UML mistakes for a pagefault and thus gets into an infinite loop.) if i boot in via init=/bin/bash and do eg a 'exec /bin/ls' then this crash doesnt happen, so it's clearly fork() somehow not inheriting the LDT setup properly. (which could very well be due to my LDT hackery in the 2.6 host-skas3 patch.) while glibc seems to be innocent, this is clearly triggered by the TLS code in glibc. Older glibc works fine. tt mode seems to work on the other hand - and it doesnt use the LDT op in /proc/mm. So newer host-skas3 is apparently broken to a certain degree. Ingo ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ User-mode-linux-devel mailing list User-mode-linux-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel