Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Jun 2009 15:55:40 +0200
From:      Thomas Backman <serenity@exscape.org>
To:        Andriy Gapon <avg@icyb.net.ua>
Cc:        FreeBSD current <freebsd-current@freebsd.org>
Subject:   Re: DTrace panic while probing syscall::open (and possibly many others)
Message-ID:  <127EFC29-D6D4-497E-B623-594E6E485EA9@exscape.org>
In-Reply-To: <4A3A2B88.60009@icyb.net.ua>
References:  <949B5884-5303-4EFF-AC7D-293640FFA012@exscape.org>	<0C235698-3ED2-4AE9-A7D1-5DC56D8324A4@exscape.org>	<200905212129.47892.mel.flynn%2Bfbsd.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> <B2F32C8F-810B-4EA5-9E34-39ADD5E5CED4@exscape.org> <4A3A1D27.4010802@icyb.net.ua> <DD13EADF-CE41-465A-8D70-53DCDEFD65A7@exscape.org> <4A3A2B88.60009@icyb.net.ua>

next in thread | previous in thread | raw e-mail | index | archive | help

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?127EFC29-D6D4-497E-B623-594E6E485EA9>