From: Nick Craig-Wood Subject: Re: Xen 3.1 - Can't run Fedora Core 1 PV Date: Thu, 19 Jul 2007 12:59:35 +0100 Message-ID: <20070719115935.GA5327@craig-wood.com> References: <1184262714.1152.81.camel@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Keir Fraser Cc: xen-devel@lists.xensource.com, Ian Campbell List-Id: xen-devel@lists.xenproject.org On Fri, Jul 13, 2007 at 07:31:32AM +0100, Keir Fraser wrote: > On 12/7/07 18:51, "Ian Campbell" wrote: > > >> The above fails for xen 3.1 but succeeds (you get a shell) for xen 3.0.4 and > >> 3.0.3 > > > > FC1 had some odd stuff going on with the vdso -- it comes up any time > > upstream tries to touch the compat vdso code. > > > > You could try enabling/disabling COMPAT_VDSO in your kernel > > configuration, see what happens. > > > > It'd also be interesting to know which libc is getting linked in within > > the chroot. > > Yes, it's definitely VDSO related as it crashes in linux-gate.so. 3.0.4 > kernels work just fine with 3.1, so that is the correct fix for this > situation. I've now tried this. Firstly the COMPAT_VDSO wasn't appearing in the menu # from arch/i386/Kconfig config COMPAT_VDSO bool "Compat VDSO support" depends on !X86_XEN default y help Map the VDSO to the predictable old-style address too. ---help--- Say N here if you are running a sufficiently recent glibc version (2.3.3 or later), to remove the high-mapped VDSO mapping and to exclusively use the randomized VDSO. If unsure, say Y. endmenu I removed the "depends on !X86_XEN" line, configured COMPAT_VDSO but the build then failed here CC arch/i386/kernel/asm-offsets.s arch/i386/kernel/asm-offsets.c: In function 'foo': arch/i386/kernel/asm-offsets.c:79: warning: asm operand 0 probably doesn't match constraints arch/i386/kernel/asm-offsets.c:79: error: impossible constraint in 'asm' So I guess it was there for a reason! Configuring COMPAT_VDSO off causes it to compile again. Any ideas? Thanks -- Nick Craig-Wood -- http://www.craig-wood.com/nick