Date: Fri, 9 Mar 2007 21:01:32 +0800 From: "Rong-en Fan" <grafan@gmail.com> To: "Kostik Belousov" <kostikbel@gmail.com> Cc: Michal Mertl <mime@traveller.cz>, freebsd-current <freebsd-current@freebsd.org> Subject: Re: Kernel panic - page fault in inodedep_find Message-ID: <6eb82e0703090501g521a8aexe38d872cc8dfb5d1@mail.gmail.com> In-Reply-To: <20070309125227.GB73957@deviant.kiev.zoral.com.ua> 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>
next in thread | previous in thread | raw e-mail | index | archive | help
On 3/9/07, Kostik Belousov <kostikbel@gmail.com> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6eb82e0703090501g521a8aexe38d872cc8dfb5d1>