Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

dtrace: uvmfault




Trying to go through the dtrace intro[1], I'm at the following script:

        syscall::read:entry,
        syscall::write:entry
        /pid == 12345/
        {
        }

Understanding that NetBSD has different function names, I use:

        fbt::sys_read:entry,
        fbt::sys_write:entry
        /pid == 593/
        {
        }

Trying this gives me a repeatable kernel panic:

(10 finger dump)
uvm_fault(0xcb3611a8, 0, 1) -> 0xe
fatal page fault in supervisor mode
trap type 6 code 0 eip cbfa075b cs 8 eflags 10206 cr2 10 ilevel 0
kernel: supervisor trap page fault, code=0
Stopped in pid 650.1 (dtrace) at fbt:fbt_getargdesc+0x26b: movl 0
x10(%eax), %eax
db{0}>

db{0}> bt
fbt_getargdesc
dtrace_ioctl
sys_ioctl
syscall
db{0}>

I don't have a netbsd.gdb handy to resolve what "fbt_getargdesc+0x26b" is.

Does anyone else see this?


 - Hubert

[1] http://wikis.sun.com/display/DTrace/Introduction


Home | Main Index | Thread Index | Old Index