From owner-freebsd-amd64@FreeBSD.ORG Tue Aug 29 22:32:04 2006 Return-Path: X-Original-To: amd64@freebsd.org Delivered-To: freebsd-amd64@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 79E6516A4DA; Tue, 29 Aug 2006 22:32:04 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.208.78.105]) by mx1.FreeBSD.org (Postfix) with ESMTP id 00F7743D46; Tue, 29 Aug 2006 22:32:03 +0000 (GMT) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (localhost.apl.washington.edu [127.0.0.1]) by troutmask.apl.washington.edu (8.13.7/8.13.7) with ESMTP id k7TMW34t001005; Tue, 29 Aug 2006 15:32:03 -0700 (PDT) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.13.7/8.13.7/Submit) id k7TMW3A7001004; Tue, 29 Aug 2006 15:32:03 -0700 (PDT) (envelope-from sgk) Date: Tue, 29 Aug 2006 15:32:03 -0700 From: Steve Kargl To: John Baldwin Message-ID: <20060829223203.GA951@troutmask.apl.washington.edu> References: <200608151701.46724.jhb@freebsd.org> <200608181700.25539.jhb@freebsd.org> <20060818223653.GA5626@troutmask.apl.washington.edu> <200608211309.40737.jhb@freebsd.org> <20060821221343.GA1099@troutmask.apl.washington.edu> <20060828173520.GA911@troutmask.apl.washington.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060828173520.GA911@troutmask.apl.washington.edu> User-Agent: Mutt/1.4.2.2i Cc: amd64@freebsd.org Subject: FINALLY! Re: linux32 breakage in current.. X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Aug 2006 22:32:04 -0000 On Mon, Aug 28, 2006 at 10:35:20AM -0700, Steve Kargl wrote: > On Mon, Aug 21, 2006 at 03:13:44PM -0700, Steve Kargl wrote: > > > > > > > > > > Ok. Can you walk it back further? > > > > > > > > I've gone as far back as 15 Jul 06, and the problem is still > > > > there. I ran out of time to go back to earlier versions. I'll > > > > try again on Monday. > > > > > > Wow, thanks! > > John, I've finally tracked down the commit that broke acroread and linux openoffice. Hopefully, this is enough info for you. Here is a log of my supfile contents. *default host=cvsup10.FreeBSD.org *default base=/var/db *default prefix=/usr *default release=cvs tag=. *default delete use-rel-suffix # Good -- Acroread works. # *default date=2006.06.27.14.50.00 # *default date=2006.06.27.18.00.00 # *default date=2006.06.27.18.30.00 # Bad --- Acroread segfaults. # *default date=2006.06.27.19.00.00 # *default date=2006.06.27.18.45.00 *default date=2006.06.27.18.35.00 src-sys The difference between the good supfile and bad are these files: Edit src/sys/amd64/linux32/linux32_proto.h Edit src/sys/amd64/linux32/linux32_syscall.h Edit src/sys/amd64/linux32/linux32_sysent.c Edit src/sys/compat/linux/linux_util.h Edit src/sys/compat/svr4/svr4_ipc.c Edit src/sys/compat/svr4/svr4_proto.h Edit src/sys/compat/svr4/svr4_syscall.h Edit src/sys/compat/svr4/svr4_syscallnames.c Edit src/sys/compat/svr4/svr4_sysent.c Edit src/sys/compat/svr4/syscalls.master Edit src/sys/i386/linux/linux_proto.h Edit src/sys/i386/linux/linux_syscall.h Edit src/sys/i386/linux/linux_sysent.c ident shows $FreeBSD: src/sys/amd64/linux32/linux32_proto.h,v 1.16 2006/06/27 18:32:16 jhb Exp $ $FreeBSD: src/sys/amd64/linux32/linux32_syscall.h,v 1.16 2006/06/27 18:32:16 jhb Exp $ $FreeBSD: src/sys/amd64/linux32/linux32_sysent.c,v 1.16 2006/06/27 18:32:16 jhb Exp $ CVSWeb reveals that the above are all regenerated files. With the bad kernel, I see symptoms of a race condition. troutmask:kargl[205] acroread church.pdf Segmentation fault (core dumped) troutmask:kargl[206] acroread church.pdf Segmentation fault (core dumped) troutmask:kargl[207] acroread church.pdf Segmentation fault (core dumped) troutmask:kargl[208] acroread church.pdf <-- This worked. troutmask:kargl[209] acroread church.pdf <-- This worked. troutmask:kargl[210] acroread church.pdf Segmentation fault (core dumped) troutmask:kargl[211] acroread church.pdf <-- This worked. troutmask:kargl[212] acroread church.pdf Segmentation fault (core dumped) -- Steve