From owner-freebsd-current@FreeBSD.ORG Fri Jun 19 13:56:00 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E01751065674 for ; Fri, 19 Jun 2009 13:56:00 +0000 (UTC) (envelope-from serenity@exscape.org) Received: from ch-smtp01.sth.basefarm.net (ch-smtp01.sth.basefarm.net [80.76.149.212]) by mx1.freebsd.org (Postfix) with ESMTP id 935BF8FC0C for ; Fri, 19 Jun 2009 13:56:00 +0000 (UTC) (envelope-from serenity@exscape.org) Received: from c83-253-252-234.bredband.comhem.se ([83.253.252.234]:42731 helo=mx.exscape.org) by ch-smtp01.sth.basefarm.net with esmtp (Exim 4.69) (envelope-from ) id 1MHeZG-00063N-5T; Fri, 19 Jun 2009 15:55:48 +0200 Received: from [192.168.1.5] (macbookpro [192.168.1.5]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by mx.exscape.org (Postfix) with ESMTPSA id 0BF536AC05; Fri, 19 Jun 2009 15:55:43 +0200 (CEST) Message-Id: <127EFC29-D6D4-497E-B623-594E6E485EA9@exscape.org> From: Thomas Backman To: Andriy Gapon In-Reply-To: <4A3A2B88.60009@icyb.net.ua> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v935.3) Date: Fri, 19 Jun 2009 15:55:40 +0200 References: <949B5884-5303-4EFF-AC7D-293640FFA012@exscape.org> <0C235698-3ED2-4AE9-A7D1-5DC56D8324A4@exscape.org> <200905212129.47892.mel.flynn+fbsd.current@mailing.thruhere.net> <44F486FA-E798-448D-BE31-F7A51EF1F612@exscape.org> <60173AF0-7E54-4BDD-8927-0DADA9DAD1B4@exscape.org> <20090522200306.GE2630@atarininja.org> <20090617225849.GB28509@atarininja.org> <4A3A1D27.4010802@icyb.net.ua> <4A3A2B88.60009@icyb.net.ua> X-Mailer: Apple Mail (2.935.3) X-Originating-IP: 83.253.252.234 X-Scan-Result: No virus found in message 1MHeZG-00063N-5T. X-Scan-Signature: ch-smtp01.sth.basefarm.net 1MHeZG-00063N-5T fa59e8721f6d0e1799f1b2cd4beff3bf Cc: FreeBSD current Subject: Re: DTrace panic while probing syscall::open (and possibly many others) 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, 19 Jun 2009 13:56:01 -0000 On Jun 18, 2009, at 01:56 PM, Andriy Gapon wrote: > on 18/06/2009 14:42 Thomas Backman said the following: >> >> So, kaddr is inside the "kernel map", but not KERNBASE. What this >> means, >> I have no clue whatsoever. (I'm not a kernel developer and I don't >> know >> too much about (virtual) memory either!) > > Me neither :( > BTW, could you please go to fr 18 and examine 'code', 'callp' and > 'args' local > variables? Like this? (kgdb) fr 18 #18 0xffffffff80887bbd in syscall (frame=0xffffff803e761c90) at /usr/ src/sys/amd64/amd64/trap.c:997 997 (*systrace_probe_func)(callp- >sy_return, code, callp, ... 998 args); (kgdb) p/x code $4 = 0x5 (kgdb) p/x callp $5 = 0x9b42 (kgdb) p/x args $6 = {0x80053160d, 0x0, 0x2f, 0x2, 0x80, 0x0, 0xffffff803e761c80, 0xffffffff80570a52} Regards, Thomas