From owner-freebsd-current@FreeBSD.ORG Fri Mar 9 13:01:34 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 08B6816A407 for ; Fri, 9 Mar 2007 13:01:34 +0000 (UTC) (envelope-from grafan@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.191]) by mx1.freebsd.org (Postfix) with ESMTP id 8589F13C4A5 for ; Fri, 9 Mar 2007 13:01:33 +0000 (UTC) (envelope-from grafan@gmail.com) Received: by nf-out-0910.google.com with SMTP id k27so968670nfc for ; Fri, 09 Mar 2007 05:01:32 -0800 (PST) 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=XoNPrw4WyG583F6wHbIMUMjBsxmvZ4m3kgK/ZHff/EAk+T8Fyf4HiFDG0ZFQV8HQBYFyY8u6nIEzJjcih0EsH+6+gmkVBMdDpd8GJux1EBlximKXEQsMZ4BXAKEVARqpGy/+qG6LYasSNLyVici2jKIGC708oR04TsEGwHkrHtk= 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=J6dz2MZZO0KLB7f0nJpS5deKsNgW5Kotf2VGWEB2mUTBJGP1x3oMxES8GvRjFUq/TYbe6jdlKQqfl3IoQjSnyOEVk+QF5IXvhwOqOtCTrjs0PZRFYYL5Z6bUHE6fNEhFjX0+BcFDJdnXqRmtkDePjLkNY/DTV6oKPQN/rd7HiGI= Received: by 10.78.160.2 with SMTP id i2mr207879hue.1173445292253; Fri, 09 Mar 2007 05:01:32 -0800 (PST) Received: by 10.78.202.1 with HTTP; Fri, 9 Mar 2007 05:01:32 -0800 (PST) Message-ID: <6eb82e0703090501g521a8aexe38d872cc8dfb5d1@mail.gmail.com> Date: Fri, 9 Mar 2007 21:01:32 +0800 From: "Rong-en Fan" To: "Kostik Belousov" In-Reply-To: <20070309125227.GB73957@deviant.kiev.zoral.com.ua> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <1173353693.1523.7.camel@genius.i.cz> <20070308121301.GR10453@deviant.kiev.zoral.com.ua> <1173422820.1211.3.camel@genius.i.cz> <20070309125227.GB73957@deviant.kiev.zoral.com.ua> Cc: Michal Mertl , freebsd-current Subject: Re: Kernel panic - page fault in inodedep_find X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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: Fri, 09 Mar 2007 13:01:34 -0000 On 3/9/07, Kostik Belousov wrote: > On Fri, Mar 09, 2007 at 07:47:00AM +0100, Michal Mertl wrote: > > Kostik Belousov wrote: > > > On Thu, Mar 08, 2007 at 12:34:53PM +0100, Michal Mertl wrote: [...] > > > > #7 0xffffffff8059c175 in inodedep_find (inodedephd=0xffffffff8106d660, > > > > fs=0xffffff0061a4d800, inum=168358, inodedeppp=0xffff ffffaf6b83e0) > > > > at ../../../ufs/ffs/ffs_softdep.c:1246 > > > Please, from this frame (#7) do > > > p/x *inodedep > > > p/x *inodedephd > > > > 1246 LIST_FOREACH(inodedep, inodedephd, id_hash) > > Current language: auto; currently c > > (kgdb) p/x *inodedep > > Cannot access memory at address 0x18 > > (kgdb) p/x *inodedephd > > $1 = {lh_first = 0x18} > > Ok, this seems to be exactly the same problem as Rong-en' one, even the > corrupted value is the same. > > For start, could you, please, show your dmesg ? > > Rong-en, it seems that I forgot to answer your question about the way to > find whether the given kernel address is mapped, that stalled the conversation. > I apologize for that. It looks that the easiest would be to use > pmap_extract(vmspace_pmap(curproc->p_vmspace), addr) > to check validity of address addr, that shall return 0 for non-mapped address > (modulo the usual races, that should be not important in that case). First of all, thank you for answering me. However, due to previous crash during installworld. I reinstalled by amd64 laptop with 200702 snapshot and updated latest current (as of today). I will try to reproduce the crash again. Regards, Rong-En Fan