From owner-freebsd-emulation@FreeBSD.ORG Sat Apr 21 23:34:34 2007 Return-Path: X-Original-To: emulation@freebsd.org Delivered-To: freebsd-emulation@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A5D4816A404 for ; Sat, 21 Apr 2007 23:34:34 +0000 (UTC) (envelope-from swhetzel@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.250]) by mx1.freebsd.org (Postfix) with ESMTP id 6196113C44C for ; Sat, 21 Apr 2007 23:34:34 +0000 (UTC) (envelope-from swhetzel@gmail.com) Received: by an-out-0708.google.com with SMTP id c24so1421941ana for ; Sat, 21 Apr 2007 16:34:33 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=ASwu+OuUXR8GRKBEY1u3Hl/juPs/wHWjRHaVjpX32Tlx4KUv01bhdS9zakihF1MOh4TZtGIHTMmZNBiszLZQu6aiYgJirow74WJDY7uUdi1iKlaSIpwk47ESI28Z8lR+Legdm2fqdOgArEQnx9LWUZhKermpT8/vC9mBMWb8OIE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=SB9sbMAzQ7ZjybTDHRkE5oHBlFld74owP/ZpNnTZ+RMohFsLvRJQgiBnRBvPyIpzmC8negacrEdGDdefsUkLdlXMaSMkGojfVPoLnm2oinrbTBCVDPViIqE+Pf0Slp49I+76wI/hoVtoqSWw8CFdcJZT2YfbyU1VYXKB8aIbD3U= Received: by 10.100.10.20 with SMTP id 20mr2653445anj.1177198473281; Sat, 21 Apr 2007 16:34:33 -0700 (PDT) Received: by 10.100.141.14 with HTTP; Sat, 21 Apr 2007 16:34:33 -0700 (PDT) Message-ID: <790a9fff0704211634y3c0365e7m658750c1dcc7ba07@mail.gmail.com> Date: Sat, 21 Apr 2007 18:34:33 -0500 From: "Scot Hetzel" To: "=?ISO-8859-1?Q?Dag-Erling_Sm=F8rgrav?=" In-Reply-To: <86hcr94pb4.fsf@dwp.des.no> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <790a9fff0704201848y5f6587fehf34af106ae3f7285@mail.gmail.com> <20070421080604.GA79048@freebsd.org> <86lkgl4pkx.fsf@dwp.des.no> <86hcr94pb4.fsf@dwp.des.no> Cc: emulation@freebsd.org Subject: Re: linuxolator - ltp testing: panic with fsync02 test X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 Apr 2007 23:34:34 -0000 On 4/21/07, Dag-Erling Sm=F8rgrav wrote: > des@des.no (Dag-Erling Sm=F8rgrav) writes: > > Roman Divacky writes: > > > On Fri, Apr 20, 2007 at 08:48:11PM -0500, Scot Hetzel wrote: > > > > Unread portion of the kernel message buffer: > > > > panic: NOT MPSAFE and Giant not held > > > I think this is related to MPSAFEing of pseudofs recently.. hopefully > > > des can tell s more (CCed) > > Yes, linprocfs_domtab() needs to call VFS_LOCK_GIANT() before namei(). > > Here's a tentative patch. > The patch fixes the problem, and I was able to complete the LTP test run. Scot --=20 DISCLAIMER: No electrons were mamed while sending this message. Only slightly bruised.