From owner-freebsd-current@FreeBSD.ORG Wed Aug 20 19:32:14 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D40FD16A4BF; Wed, 20 Aug 2003 19:32:14 -0700 (PDT) Received: from white.imgsrc.co.jp (ns.imgsrc.co.jp [210.226.20.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4FF5C43FBF; Wed, 20 Aug 2003 19:32:13 -0700 (PDT) (envelope-from kuriyama@imgsrc.co.jp) Received: from localhost (localhost [127.0.0.1]) by white.imgsrc.co.jp (Postfix) with ESMTP id E1AAE28407A; Thu, 21 Aug 2003 11:32:11 +0900 (JST) Received: from black.imgsrc.co.jp (black.imgsrc.co.jp [2001:218:422:2::130]) by white.imgsrc.co.jp (Postfix) with ESMTP id 28FB028403D; Thu, 21 Aug 2003 11:32:11 +0900 (JST) Received: from black.imgsrc.co.jp (black.imgsrc.co.jp [2001:218:422:2::130]) by black.imgsrc.co.jp (Postfix) with ESMTP id 0832D1E4641; Thu, 21 Aug 2003 11:32:11 +0900 (JST) Date: Thu, 21 Aug 2003 11:32:11 +0900 Message-ID: <7m7k57pwpg.wl@black.imgsrc.co.jp> From: Jun Kuriyama To: Robert Watson In-Reply-To: References: <20030820164153.S21216-100000@ury.york.ac.uk> User-Agent: Wanderlust/2.10.1 (Watching The Wheels) SEMI/1.14.5 (Awara-Onsen) FLIM/1.14.5 (Demachiyanagi) APEL/10.6 Emacs/21.3 (i386--freebsd) MULE/5.0 (SAKAKI) MIME-Version: 1.0 (generated by SEMI 1.14.5 - "Awara-Onsen") Content-Type: text/plain; charset=US-ASCII X-Virus-Scanned: by AMaViS snapshot-20020531 cc: current@freebsd.org Subject: Re: sysinstall spec_getpages panic (with VM overtones) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Aug 2003 02:32:15 -0000 At Wed, 20 Aug 2003 17:31:39 -0400 (EDT), Robert Watson wrote: > > *c0529513 = "/usr/src/sys/fs/specfs/spec_vnops.c", line 0x300 is line 768: > > > > 766 gotreqpage = 0; > > 767 VM_OBJECT_LOCK(vp->v_object); > > 768 vm_page_lock_queues(); > > 769 for (i = 0, toff = 0; i < pcount; i++, toff = nextoff) { > > > > so ap->a_vp is null. I'#m afraid that's the limit of my ddb ability. > > > > Any suggestions as to where I should go from here? I don't really have > > the facility at the moment to make release to test patches but will try > > to if necessary. > > Is it ap->a_vp that's NULL, or vp->v_object that's NULL? vp is > dereferenced several times before that in the code, so if vp is really > NULL at line 767, we're probably talking about memory corruption. But if > vp->v_object is NULL, then it could be we're not creating a VM object > along some code path. At least I checked with printf() debugging, it seems vp->v_object is NULL. Should I check in ffs_getpages(), too? -- Jun Kuriyama // IMG SRC, Inc. // FreeBSD Project