Re: DTrace panic while probing syscall::open (and possibly many others)

From: Thomas Backman <serenity_at_exscape.org>
Date: Fri, 19 Jun 2009 15:55:40 +0200
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
Received on Fri Jun 19 2009 - 11:56:00 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:50 UTC