Derek Crudgington
2006-Mar-03 15:51 UTC
[dtrace-discuss] CiscoWorks 2.5 Install on Solaris 10
I''m trying to install CiscoWorks 2.5 on Solaris 10 update 1, and after
the install when I try to start the daemon, it errors:
# /opt/CSCOpx/objects/dmgt/dmgtd.sol
ERROR: open file dmgtd failedERROR
>>>>>>>>>>>>> open msg catalog
failed. NLSPATH incorrect or objects/share/nls/C/dmgtd.cat is missing.
# echo $NLSPATH
/opt/CSCOpx/objects/share/nls/C/dmgtd.cat
NLSPATH is set correctly, and ldd finds all the libraries.
Here''s the end of truss output where it errors:
17671: close(3) = 0
17671: sysconfig(_CONFIG_SEM_VALUE_MAX) = 2147483647
17671: sysconfig(_CONFIG_STACK_PROT) = 7
17671: brk(0x0005DC58) = 0
17671: brk(0x0005FC58) = 0
17671: brk(0x0005FC58) = 0
17671: brk(0x00061C58) = 0
17671: issetugid() = 0
17671: schedctl() = 0xFEDE4000
17671: fork1() = 17672
17671: lwp_sigmask(SIG_SETMASK, 0x00000000, 0x00000000) = 0xFFBFFEFF
[0x0000FFFF]
17672: fork1() (returning as child ...) = 17671
17672: getpid() = 17672 [17671]
17672: lwp_self() = 1
17672: lwp_sigmask(SIG_SETMASK, 0x00000000, 0x00000000) = 0xFFBFFEFF
[0x0000FFFF]
17672: setsid() = 17672
17672: open("/opt/CSCOpx/objects/share/nls/C/dmgtd.cat", O_RDONLY) =
3
17672: fstat64(3, 0xFFBFF588) = 0
17672: issetugid() = 0
17672: mmap(0x00000000, 11076, PROT_READ, MAP_SHARED, 3, 0) 0xFEDE0000
17672: close(3) = 0
17671: llseek(0, 0, SEEK_CUR) = 1711302
17672: fstat64(2, 0xFFBFEC08) = 0
17671: _exit(0)
ERROR: open file 17672: write(2, " E R R O R : o p e n ".., 17)
= 17
dmgtd17672: write(2, " d m g t d", 5) = 5
failed17672: write(2, " f a i l e d", 7) = 7
17672: sysconfig(_CONFIG_OPEN_FILES) = 256
ERROR >>>>>>>>>>>>> open msg catalog
failed. NLSPATH incorrect or
17672: write(2, " E R R O R > > > > > >"..,
66) = 66
objects/share/nls/C/dmgtd.cat17672: write(2, " o b j e c t s / s h
a r".., 29) = 29 is missing.
17672: write(2, " i s m i s s i n g .".., 13) = 13
17672: llseek(0, 0, SEEK_CUR) = 1711979
17672: _exit(1)
It shows open() the dmgtd.cat file but why it''s failing is what I
don''t understand.
Any help would be much appreciated.
This message posted from opensolaris.org
David Blasingame
2006-Mar-03 16:18 UTC
[dtrace-discuss] CiscoWorks 2.5 Install on Solaris 10
You can check the logfile /var/adm/CSCOpx/log/dmgtd.log. I don''t see
where open is failing but possibly see what is on its stack.
#!/usr/sbin/dtrace -s
syscall::open:entry
{
/* printf("\n%-20s %-10s %d", execname, probefunc, errno); */
self->start=1;
}
syscall::open:return
{
printf("\n%-20s %-10s %d", execname, probefunc, errno);
stack();
ustack();
}
Dave
Derek Crudgington wrote On 03/03/06 09:51,:> I''m trying to install CiscoWorks 2.5 on Solaris 10 update 1, and
after
> the install when I try to start the daemon, it errors:
>
> # /opt/CSCOpx/objects/dmgt/dmgtd.sol
> ERROR: open file dmgtd failedERROR
>>>>>>>>>>>>> open msg catalog
> failed. NLSPATH incorrect or objects/share/nls/C/dmgtd.cat is missing.
>
> # echo $NLSPATH
> /opt/CSCOpx/objects/share/nls/C/dmgtd.cat
>
> NLSPATH is set correctly, and ldd finds all the libraries.
>
> Here''s the end of truss output where it errors:
>
> 17671: close(3) = 0
> 17671: sysconfig(_CONFIG_SEM_VALUE_MAX) = 2147483647
> 17671: sysconfig(_CONFIG_STACK_PROT) = 7
> 17671: brk(0x0005DC58) = 0
> 17671: brk(0x0005FC58) = 0
> 17671: brk(0x0005FC58) = 0
> 17671: brk(0x00061C58) = 0
> 17671: issetugid() = 0
> 17671: schedctl() = 0xFEDE4000
> 17671: fork1() = 17672
> 17671: lwp_sigmask(SIG_SETMASK, 0x00000000, 0x00000000) = 0xFFBFFEFF
> [0x0000FFFF]
> 17672: fork1() (returning as child ...) = 17671
> 17672: getpid() = 17672 [17671]
> 17672: lwp_self() = 1
> 17672: lwp_sigmask(SIG_SETMASK, 0x00000000, 0x00000000) = 0xFFBFFEFF
> [0x0000FFFF]
> 17672: setsid() = 17672
> 17672: open("/opt/CSCOpx/objects/share/nls/C/dmgtd.cat",
O_RDONLY) = 3
> 17672: fstat64(3, 0xFFBFF588) = 0
> 17672: issetugid() = 0
> 17672: mmap(0x00000000, 11076, PROT_READ, MAP_SHARED, 3, 0) >
0xFEDE0000
> 17672: close(3) = 0
> 17671: llseek(0, 0, SEEK_CUR) = 1711302
> 17672: fstat64(2, 0xFFBFEC08) = 0
> 17671: _exit(0)
> ERROR: open file 17672: write(2, " E R R O R : o p e n "..,
17)
> = 17
> dmgtd17672: write(2, " d m g t d", 5) =
5
> failed17672: write(2, " f a i l e d", 7) =
7
> 17672: sysconfig(_CONFIG_OPEN_FILES) = 256
> ERROR >>>>>>>>>>>>> open msg catalog
failed. NLSPATH incorrect or
> 17672: write(2, " E R R O R > > > > >
>".., 66) = 66
> objects/share/nls/C/dmgtd.cat17672: write(2, " o b j e c t s / s h
> a r".., 29) = 29 is missing.
> 17672: write(2, " i s m i s s i n g .".., 13) = 13
> 17672: llseek(0, 0, SEEK_CUR) = 1711979
> 17672: _exit(1)
>
> It shows open() the dmgtd.cat file but why it''s failing is what I
don''t understand.
> Any help would be much appreciated.
> This message posted from opensolaris.org
> _______________________________________________
> dtrace-discuss mailing list
> dtrace-discuss at opensolaris.org
--
/\ David W. Blasingame
\\ \ Area Systems Support Engineer
\ \\ / Sun Microsystems, Inc.
/ \/ / / 16000 N Dallas Parkway
/ / \//\ Suite 700
\//\ / / Dallas, TX 75248-6686
/ / /\ / Email: david.blasingame at sun.com
/ \\ \
\ \\
\/
Keith Cantrell
2006-Mar-03 16:25 UTC
[dtrace-discuss] CiscoWorks 2.5 Install on Solaris 10
Looks to me that the open() and mmap() succeeded. I bet the application then started looking at the contents of the file and didn''t like what it saw so returned a "failed" status. Are you sure the catalog file is for the appropriate architecture (i.e. x86 v.s. SPARC)? By the way, what does this have to do with DTrace? Regards, Keith ----------------------------------------------------------------- Keith Cantrell Sun Microsystems Solution Architect/OS Ambassador Dallas, TX Email: Keith.cantrell at sun.com Phone: 972-392-5014 ----------------------------------------------------------------- Derek Crudgington wrote:> I''m trying to install CiscoWorks 2.5 on Solaris 10 update 1, and after > the install when I try to start the daemon, it errors: > > # /opt/CSCOpx/objects/dmgt/dmgtd.sol > ERROR: open file dmgtd failedERROR >>>>>>>>>>>>> open msg catalog > failed. NLSPATH incorrect or objects/share/nls/C/dmgtd.cat is missing. > > # echo $NLSPATH > /opt/CSCOpx/objects/share/nls/C/dmgtd.cat > > NLSPATH is set correctly, and ldd finds all the libraries. > > Here''s the end of truss output where it errors: > > 17671: close(3) = 0 > 17671: sysconfig(_CONFIG_SEM_VALUE_MAX) = 2147483647 > 17671: sysconfig(_CONFIG_STACK_PROT) = 7 > 17671: brk(0x0005DC58) = 0 > 17671: brk(0x0005FC58) = 0 > 17671: brk(0x0005FC58) = 0 > 17671: brk(0x00061C58) = 0 > 17671: issetugid() = 0 > 17671: schedctl() = 0xFEDE4000 > 17671: fork1() = 17672 > 17671: lwp_sigmask(SIG_SETMASK, 0x00000000, 0x00000000) = 0xFFBFFEFF > [0x0000FFFF] > 17672: fork1() (returning as child ...) = 17671 > 17672: getpid() = 17672 [17671] > 17672: lwp_self() = 1 > 17672: lwp_sigmask(SIG_SETMASK, 0x00000000, 0x00000000) = 0xFFBFFEFF > [0x0000FFFF] > 17672: setsid() = 17672 > 17672: open("/opt/CSCOpx/objects/share/nls/C/dmgtd.cat", O_RDONLY) = 3 > 17672: fstat64(3, 0xFFBFF588) = 0 > 17672: issetugid() = 0 > 17672: mmap(0x00000000, 11076, PROT_READ, MAP_SHARED, 3, 0) > 0xFEDE0000 > 17672: close(3) = 0 > 17671: llseek(0, 0, SEEK_CUR) = 1711302 > 17672: fstat64(2, 0xFFBFEC08) = 0 > 17671: _exit(0) > ERROR: open file 17672: write(2, " E R R O R : o p e n ".., 17) > = 17 > dmgtd17672: write(2, " d m g t d", 5) = 5 > failed17672: write(2, " f a i l e d", 7) = 7 > 17672: sysconfig(_CONFIG_OPEN_FILES) = 256 > ERROR >>>>>>>>>>>>> open msg catalog failed. NLSPATH incorrect or > 17672: write(2, " E R R O R > > > > > >".., 66) = 66 > objects/share/nls/C/dmgtd.cat17672: write(2, " o b j e c t s / s h > a r".., 29) = 29 is missing. > 17672: write(2, " i s m i s s i n g .".., 13) = 13 > 17672: llseek(0, 0, SEEK_CUR) = 1711979 > 17672: _exit(1) > > It shows open() the dmgtd.cat file but why it''s failing is what I don''t understand. > Any help would be much appreciated. > This message posted from opensolaris.org > _______________________________________________ > dtrace-discuss mailing list > dtrace-discuss at opensolaris.org
Derek Crudgington
2006-Mar-03 18:03 UTC
[dtrace-discuss] Re: CiscoWorks 2.5 Install on Solaris 10
# ldd /opt/CSCOpx/objects/dmgt/dmgtd.sol
libadm.so.1 => /lib/libadm.so.1
libnsl.so.1 => /lib/libnsl.so.1
libsocket.so.1 => /lib/libsocket.so.1
libdl.so.1 => /lib/libdl.so.1
libACE.so.5.3.0 => /opt/CSCOpx/lib/libACE.so.5.3.0
librt.so.1 => /lib/librt.so.1
libdmgt.so => /opt/CSCOpx/lib/libdmgt.so
libstdc++.so.3 => /opt/CSCOpx/lib/libstdc++.so.3
libm.so.1 => /lib/libm.so.1
libc.so.1 => /lib/libc.so.1
libgcc_s.so.1 => /opt/CSCOpx/lib/libgcc_s.so.1
libmp.so.2 => /lib/libmp.so.2
libmd5.so.1 => /lib/libmd5.so.1
libscf.so.1 => /lib/libscf.so.1
libgen.so.1 => /lib/libgen.so.1
libthread.so.1 => /lib/libthread.so.1
libgcc_s.so.1 => /usr/local/lib/libgcc_s.so.1
libaio.so.1 => /lib/libaio.so.1
libdoor.so.1 => /lib/libdoor.so.1
libuutil.so.1 => /lib/libuutil.so.1
libm.so.2 => /lib/libm.so.2
/platform/SUNW,Sun-Fire-V240/lib/libc_psr.so.1
/platform/SUNW,Sun-Fire-V240/lib/libmd5_psr.so.1
# gdb /opt/CSCOpx/objects/dmgt/dmgtd.sol
GNU gdb 5.1
Copyright 2001 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and
you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for
details.
This GDB was configured as "sparc-sun-solaris2.8"...(no debugging
symbols found)...
(gdb) run
Starting program: /opt/CSCOpx/objects/dmgt/dmgtd.sol
(no debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...warning: Lowest section in /lib/libdl.so.1
is .dynamic at 00000094
(no debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...
(no debugging symbols found)...warning: Lowest section in
/lib/libthread.so.1 is .dynamic at 00000074
Error while reading shared library symbols:
Dwarf Error: Cannot handle DW_FORM_strp in DWARF reader.
Error while reading shared library symbols:
Dwarf Error: Cannot handle DW_FORM_strp in DWARF reader.
Error while reading shared library symbols:
Dwarf Error: Cannot handle DW_FORM_strp in DWARF reader.
ERROR: open file dmgtd failedERROR
>>>>>>>>>>>>> open msg catalog
failed. NLSPATH incorrect or objects/share/nls/C/dmgtd.cat is missing.
There is a post on Sun forums about someone getting the same error with
Trusted Solaris 8, and they had to add the trusted libs to crle. Could
this be the same problem on Solaris 10? I tryed adding it to trusted
libs in crle, but no difference, unless I''m missing something here.
The post is at:
http://supportforum.sun.com/salerts/index.php?t=msg&th=750&start=0&rid=0
This message posted from opensolaris.org
Derek Crudgington
2006-Mar-03 18:04 UTC
[dtrace-discuss] Re: CiscoWorks 2.5 Install on Solaris 10
The stack showed:
0 1982 open:return
dmgtd.sol open 0
unix`syscall_trap32+0xcc
0xfef40af0
0xfeed8694
0xfeec1650
0xfeec1280
0xfeec10f8
0x351d4
0x3874c
0x18c04
1 1982 open:return
dmgtd.sol open 0
unix`syscall_trap32+0xcc
0xff3d6a5c
0xff3c6cc4
0xff3bedf4
0xff3cdb60
0xff3b38c8
1 1982 open:return
dmgtd.sol open 0
unix`syscall_trap32+0xcc
0xff3d6a5c
0xff3b5460
0xff3b57f8
0xff3b5a84
0xff3b5fcc
0xff3b6688
0xff3b6a18
0xff3b8110
0xff3b3d84
0xff3bf21c
0xff3cdb60
0xff3b38c8
1 1982 open:return
dmgtd.sol open 0
unix`syscall_trap32+0xcc
0xff3d6a5c
0xff3b5460
0xff3b57f8
0xff3b5a84
0xff3b5fcc
0xff3b6688
0xff3b6a18
0xff3b8110
0xff3b3d84
0xff3bf21c
0xff3cdb60
0xff3b38c8
1 1982 open:return
dmgtd.sol open 0
unix`syscall_trap32+0xcc
0xff3d6a5c
0xff3b5460
0xff3b57f8
0xff3b5a84
0xff3b5fcc
0xff3b6688
0xff3b6a18
0xff3b8110
0xff3b3d84
0xff3bf21c
0xff3cdb60
0xff3b38c8
1 1982 open:return
dmgtd.sol open 0
unix`syscall_trap32+0xcc
0xff3d6a5c
0xff3b5460
0xff3b57f8
0xff3b5a84
0xff3b5fcc
0xff3b6688
0xff3b6a18
0xff3b8110
0xff3b3d84
0xff3bf21c
0xff3cdb60
0xff3b38c8
1 1982 open:return
dmgtd.sol open 0
unix`syscall_trap32+0xcc
0xff3d6a5c
0xff3b5460
0xff3b57f8
0xff3b5a84
0xff3b5fcc
0xff3b6688
0xff3b6a18
0xff3b8110
0xff3b3d84
0xff3bf21c
0xff3cdb60
0xff3b38c8
1 1982 open:return
dmgtd.sol open 0
unix`syscall_trap32+0xcc
0xff3d6a5c
0xff3b5460
0xff3b57f8
0xff3b5a84
0xff3b5fcc
0xff3b6688
0xff3b6a18
0xff3b8110
0xff3b3d84
0xff3bf21c
0xff3cdb60
0xff3b38c8
1 1982 open:return
dmgtd.sol open 0
unix`syscall_trap32+0xcc
0xff3d6a5c
0xff3b5460
0xff3b57f8
0xff3b5a84
0xff3b5fcc
0xff3b6688
0xff3b6a18
0xff3b8110
0xff3b3d84
0xff3bf21c
0xff3cdb60
0xff3b38c8
1 1982 open:return
dmgtd.sol open 0
unix`syscall_trap32+0xcc
0xff3d6a5c
0xff3b5460
0xff3b57f8
0xff3b5a84
0xff3b5fcc
0xff3b6688
0xff3b6a18
0xff3b8110
0xff3b3d84
0xff3bf21c
0xff3cdb60
0xff3b38c8
1 1982 open:return
dmgtd.sol open 0
unix`syscall_trap32+0xcc
0xff3d6a5c
0xff3b5460
0xff3b57f8
0xff3b5a84
0xff3b5fcc
0xff3b6688
0xff3b6a18
0xff3b8110
0xff3b3d84
0xff3bf21c
0xff3cdb60
0xff3b38c8
1 1982 open:return
dmgtd.sol open 0
unix`syscall_trap32+0xcc
0xff3d6a5c
0xff3b5460
0xff3b57f8
0xff3b5a84
0xff3b5fcc
0xff3b6688
0xff3b6a18
0xff3b8110
0xff3b3d84
0xff3bf21c
0xff3cdb60
0xff3b38c8
1 1982 open:return
dmgtd.sol open 0
unix`syscall_trap32+0xcc
0xff3d6a5c
0xff3b5460
0xff3b57f8
0xff3b5a84
0xff3b5fcc
0xff3b6688
0xff3b6a18
0xff3b8110
0xff3b3d84
0xff3bf21c
0xff3cdb60
0xff3b38c8
1 1982 open:return
dmgtd.sol open 0
unix`syscall_trap32+0xcc
0xff3d6a5c
0xff3b5460
0xff3b57f8
0xff3b5a84
0xff3b5fcc
0xff3b6688
0xff3b6a18
0xff3b8110
0xff3b3d84
0xff3bf21c
0xff3cdb60
0xff3b38c8
1 1982 open:return
dmgtd.sol open 0
unix`syscall_trap32+0xcc
0xff3d6a5c
0xff3b5460
0xff3b57f8
0xff3b5a84
0xff3b5fcc
0xff3b6688
0xff3b6a18
0xff3b8110
0xff3b3d84
0xff3bf21c
0xff3cdb60
0xff3b38c8
1 1982 open:return
dmgtd.sol open 0
unix`syscall_trap32+0xcc
0xff3d6a5c
0xff3b5460
0xff3b57f8
0xff3b5a84
0xff3b5fcc
0xff3b6688
0xff3b6a18
0xff3b8110
0xff3b3d84
0xff3bf21c
0xff3cdb60
0xff3b38c8
1 1982 open:return
dmgtd.sol open 0
unix`syscall_trap32+0xcc
0xff3d6a5c
0xff3b5460
0xff3b57f8
0xff3b5a84
0xff3b5fcc
0xff3b6688
0xff3b6a18
0xff3b8110
0xff3b3d84
0xff3bf21c
0xff3cdb60
0xff3b38c8
1 1982 open:return
dmgtd.sol open 0
unix`syscall_trap32+0xcc
0xff3d6a5c
0xff3b5460
0xff3b57f8
0xff3b5a84
0xff3b5fcc
0xff3b6688
0xff3b6a18
0xff3b8110
0xff3b3d84
0xff3bf21c
0xff3cdb60
0xff3b38c8
1 1982 open:return
dmgtd.sol open 0
unix`syscall_trap32+0xcc
0xff3d6a5c
0xff3b5460
0xff3b5700
0xff3b5ed0
0xff3b6688
0xff3b93b8
0xff3b97e8
0xff3b9b74
0xff3b6e9c
0xff3b718c
0xff3cc730
0xff3b3904
0xfef69288
0xfef36c08
0xff2c5158
0xff303d3c
0xff3bfea8
0xff3bf3e4
0xff3cdb60
0xff3b38c8
This message posted from opensolaris.org
Adam Leventhal
2006-Mar-03 20:38 UTC
[dtrace-discuss] Re: CiscoWorks 2.5 Install on Solaris 10
If you want to get those addresses resolved to symbols, use -p <pid> or -c <cmd> when invoking dtrace(1M) and give it the pid of the process you care about or just invoke the process with -c. Adam On Fri, Mar 03, 2006 at 10:04:19AM -0800, Derek Crudgington wrote:> The stack showed: > > 0 1982 open:return > dmgtd.sol open 0 > unix`syscall_trap32+0xcc > > 0xfef40af0 > 0xfeed8694 > 0xfeec1650 > 0xfeec1280 > 0xfeec10f8 > 0x351d4 > 0x3874c > 0x18c04 > > 1 1982 open:return > dmgtd.sol open 0 > unix`syscall_trap32+0xcc > > 0xff3d6a5c > 0xff3c6cc4 > 0xff3bedf4 > 0xff3cdb60 > 0xff3b38c8 > > 1 1982 open:return > dmgtd.sol open 0 > unix`syscall_trap32+0xcc > > 0xff3d6a5c > 0xff3b5460 > 0xff3b57f8 > 0xff3b5a84 > 0xff3b5fcc > 0xff3b6688 > 0xff3b6a18 > 0xff3b8110 > 0xff3b3d84 > 0xff3bf21c > 0xff3cdb60 > 0xff3b38c8 > > 1 1982 open:return > dmgtd.sol open 0 > unix`syscall_trap32+0xcc > > 0xff3d6a5c > 0xff3b5460 > 0xff3b57f8 > 0xff3b5a84 > 0xff3b5fcc > 0xff3b6688 > 0xff3b6a18 > 0xff3b8110 > 0xff3b3d84 > 0xff3bf21c > 0xff3cdb60 > 0xff3b38c8 > > 1 1982 open:return > dmgtd.sol open 0 > unix`syscall_trap32+0xcc > > 0xff3d6a5c > 0xff3b5460 > 0xff3b57f8 > 0xff3b5a84 > 0xff3b5fcc > 0xff3b6688 > 0xff3b6a18 > 0xff3b8110 > 0xff3b3d84 > 0xff3bf21c > 0xff3cdb60 > 0xff3b38c8 > > 1 1982 open:return > dmgtd.sol open 0 > unix`syscall_trap32+0xcc > > 0xff3d6a5c > 0xff3b5460 > 0xff3b57f8 > 0xff3b5a84 > 0xff3b5fcc > 0xff3b6688 > 0xff3b6a18 > 0xff3b8110 > 0xff3b3d84 > 0xff3bf21c > 0xff3cdb60 > 0xff3b38c8 > > 1 1982 open:return > dmgtd.sol open 0 > unix`syscall_trap32+0xcc > > 0xff3d6a5c > 0xff3b5460 > 0xff3b57f8 > 0xff3b5a84 > 0xff3b5fcc > 0xff3b6688 > 0xff3b6a18 > 0xff3b8110 > 0xff3b3d84 > 0xff3bf21c > 0xff3cdb60 > 0xff3b38c8 > > 1 1982 open:return > dmgtd.sol open 0 > unix`syscall_trap32+0xcc > > 0xff3d6a5c > 0xff3b5460 > 0xff3b57f8 > 0xff3b5a84 > 0xff3b5fcc > 0xff3b6688 > 0xff3b6a18 > 0xff3b8110 > 0xff3b3d84 > 0xff3bf21c > 0xff3cdb60 > 0xff3b38c8 > > 1 1982 open:return > dmgtd.sol open 0 > unix`syscall_trap32+0xcc > > 0xff3d6a5c > 0xff3b5460 > 0xff3b57f8 > 0xff3b5a84 > 0xff3b5fcc > 0xff3b6688 > 0xff3b6a18 > 0xff3b8110 > 0xff3b3d84 > 0xff3bf21c > 0xff3cdb60 > 0xff3b38c8 > > 1 1982 open:return > dmgtd.sol open 0 > unix`syscall_trap32+0xcc > > 0xff3d6a5c > 0xff3b5460 > 0xff3b57f8 > 0xff3b5a84 > 0xff3b5fcc > 0xff3b6688 > 0xff3b6a18 > 0xff3b8110 > 0xff3b3d84 > 0xff3bf21c > 0xff3cdb60 > 0xff3b38c8 > > 1 1982 open:return > dmgtd.sol open 0 > unix`syscall_trap32+0xcc > > 0xff3d6a5c > 0xff3b5460 > 0xff3b57f8 > 0xff3b5a84 > 0xff3b5fcc > 0xff3b6688 > 0xff3b6a18 > 0xff3b8110 > 0xff3b3d84 > 0xff3bf21c > 0xff3cdb60 > 0xff3b38c8 > > 1 1982 open:return > dmgtd.sol open 0 > unix`syscall_trap32+0xcc > > 0xff3d6a5c > 0xff3b5460 > 0xff3b57f8 > 0xff3b5a84 > 0xff3b5fcc > 0xff3b6688 > 0xff3b6a18 > 0xff3b8110 > 0xff3b3d84 > 0xff3bf21c > 0xff3cdb60 > 0xff3b38c8 > > 1 1982 open:return > dmgtd.sol open 0 > unix`syscall_trap32+0xcc > > 0xff3d6a5c > 0xff3b5460 > 0xff3b57f8 > 0xff3b5a84 > 0xff3b5fcc > 0xff3b6688 > 0xff3b6a18 > 0xff3b8110 > 0xff3b3d84 > 0xff3bf21c > 0xff3cdb60 > 0xff3b38c8 > > 1 1982 open:return > dmgtd.sol open 0 > unix`syscall_trap32+0xcc > > 0xff3d6a5c > 0xff3b5460 > 0xff3b57f8 > 0xff3b5a84 > 0xff3b5fcc > 0xff3b6688 > 0xff3b6a18 > 0xff3b8110 > 0xff3b3d84 > 0xff3bf21c > 0xff3cdb60 > 0xff3b38c8 > > 1 1982 open:return > dmgtd.sol open 0 > unix`syscall_trap32+0xcc > > 0xff3d6a5c > 0xff3b5460 > 0xff3b57f8 > 0xff3b5a84 > 0xff3b5fcc > 0xff3b6688 > 0xff3b6a18 > 0xff3b8110 > 0xff3b3d84 > 0xff3bf21c > 0xff3cdb60 > 0xff3b38c8 > > 1 1982 open:return > dmgtd.sol open 0 > unix`syscall_trap32+0xcc > > 0xff3d6a5c > 0xff3b5460 > 0xff3b57f8 > 0xff3b5a84 > 0xff3b5fcc > 0xff3b6688 > 0xff3b6a18 > 0xff3b8110 > 0xff3b3d84 > 0xff3bf21c > 0xff3cdb60 > 0xff3b38c8 > > 1 1982 open:return > dmgtd.sol open 0 > unix`syscall_trap32+0xcc > > 0xff3d6a5c > 0xff3b5460 > 0xff3b57f8 > 0xff3b5a84 > 0xff3b5fcc > 0xff3b6688 > 0xff3b6a18 > 0xff3b8110 > 0xff3b3d84 > 0xff3bf21c > 0xff3cdb60 > 0xff3b38c8 > > 1 1982 open:return > dmgtd.sol open 0 > unix`syscall_trap32+0xcc > > 0xff3d6a5c > 0xff3b5460 > 0xff3b57f8 > 0xff3b5a84 > 0xff3b5fcc > 0xff3b6688 > 0xff3b6a18 > 0xff3b8110 > 0xff3b3d84 > 0xff3bf21c > 0xff3cdb60 > 0xff3b38c8 > > 1 1982 open:return > dmgtd.sol open 0 > unix`syscall_trap32+0xcc > > 0xff3d6a5c > 0xff3b5460 > 0xff3b5700 > 0xff3b5ed0 > 0xff3b6688 > 0xff3b93b8 > 0xff3b97e8 > 0xff3b9b74 > 0xff3b6e9c > 0xff3b718c > 0xff3cc730 > 0xff3b3904 > 0xfef69288 > 0xfef36c08 > 0xff2c5158 > 0xff303d3c > 0xff3bfea8 > 0xff3bf3e4 > 0xff3cdb60 > 0xff3b38c8 > This message posted from opensolaris.org > _______________________________________________ > dtrace-discuss mailing list > dtrace-discuss at opensolaris.org-- Adam Leventhal, Solaris Kernel Development http://blogs.sun.com/ahl
Derek Crudgington
2006-Mar-03 22:09 UTC
[dtrace-discuss] Re: CiscoWorks 2.5 Install on Solaris 10
I tryed invoking dtrace with -c command and then i used:
#!/usr/sbin/dtrace -s
syscall::open:entry
/pid == $target/
{
/* printf("\n%-20s %-10s %d", execname, probefunc, errno); */
self->start=1;
}
syscall::open:return
{
printf("\n%-20s %-10s %d", execname, probefunc, errno);
stack();
ustack();
}
but doesn''t seem to be resolving to symbols still.
On 3/3/06, Adam Leventhal <ahl at eng.sun.com>
wrote:>
> If you want to get those addresses resolved to symbols, use -p <pid>
or
> -c <cmd> when invoking dtrace(1M) and give it the pid of the process
you
> care about or just invoke the process with -c.
>
> Adam
>
> On Fri, Mar 03, 2006 at 10:04:19AM -0800, Derek Crudgington wrote:
> > The stack showed:
> >
> > 0 1982 open:return
> > dmgtd.sol open 0
> > unix`syscall_trap32+0xcc
> >
> > 0xfef40af0
> > 0xfeed8694
> > 0xfeec1650
> > 0xfeec1280
> > 0xfeec10f8
> > 0x351d4
> > 0x3874c
> > 0x18c04
> >
> > 1 1982 open:return
> > dmgtd.sol open 0
> > unix`syscall_trap32+0xcc
> >
> > 0xff3d6a5c
> > 0xff3c6cc4
> > 0xff3bedf4
> > 0xff3cdb60
> > 0xff3b38c8
> >
> > 1 1982 open:return
> > dmgtd.sol open 0
> > unix`syscall_trap32+0xcc
> >
> > 0xff3d6a5c
> > 0xff3b5460
> > 0xff3b57f8
> > 0xff3b5a84
> > 0xff3b5fcc
> > 0xff3b6688
> > 0xff3b6a18
> > 0xff3b8110
> > 0xff3b3d84
> > 0xff3bf21c
> > 0xff3cdb60
> > 0xff3b38c8
> >
> > 1 1982 open:return
> > dmgtd.sol open 0
> > unix`syscall_trap32+0xcc
> >
> > 0xff3d6a5c
> > 0xff3b5460
> > 0xff3b57f8
> > 0xff3b5a84
> > 0xff3b5fcc
> > 0xff3b6688
> > 0xff3b6a18
> > 0xff3b8110
> > 0xff3b3d84
> > 0xff3bf21c
> > 0xff3cdb60
> > 0xff3b38c8
> >
> > 1 1982 open:return
> > dmgtd.sol open 0
> > unix`syscall_trap32+0xcc
> >
> > 0xff3d6a5c
> > 0xff3b5460
> > 0xff3b57f8
> > 0xff3b5a84
> > 0xff3b5fcc
> > 0xff3b6688
> > 0xff3b6a18
> > 0xff3b8110
> > 0xff3b3d84
> > 0xff3bf21c
> > 0xff3cdb60
> > 0xff3b38c8
> >
> > 1 1982 open:return
> > dmgtd.sol open 0
> > unix`syscall_trap32+0xcc
> >
> > 0xff3d6a5c
> > 0xff3b5460
> > 0xff3b57f8
> > 0xff3b5a84
> > 0xff3b5fcc
> > 0xff3b6688
> > 0xff3b6a18
> > 0xff3b8110
> > 0xff3b3d84
> > 0xff3bf21c
> > 0xff3cdb60
> > 0xff3b38c8
> >
> > 1 1982 open:return
> > dmgtd.sol open 0
> > unix`syscall_trap32+0xcc
> >
> > 0xff3d6a5c
> > 0xff3b5460
> > 0xff3b57f8
> > 0xff3b5a84
> > 0xff3b5fcc
> > 0xff3b6688
> > 0xff3b6a18
> > 0xff3b8110
> > 0xff3b3d84
> > 0xff3bf21c
> > 0xff3cdb60
> > 0xff3b38c8
> >
> > 1 1982 open:return
> > dmgtd.sol open 0
> > unix`syscall_trap32+0xcc
> >
> > 0xff3d6a5c
> > 0xff3b5460
> > 0xff3b57f8
> > 0xff3b5a84
> > 0xff3b5fcc
> > 0xff3b6688
> > 0xff3b6a18
> > 0xff3b8110
> > 0xff3b3d84
> > 0xff3bf21c
> > 0xff3cdb60
> > 0xff3b38c8
> >
> > 1 1982 open:return
> > dmgtd.sol open 0
> > unix`syscall_trap32+0xcc
> >
> > 0xff3d6a5c
> > 0xff3b5460
> > 0xff3b57f8
> > 0xff3b5a84
> > 0xff3b5fcc
> > 0xff3b6688
> > 0xff3b6a18
> > 0xff3b8110
> > 0xff3b3d84
> > 0xff3bf21c
> > 0xff3cdb60
> > 0xff3b38c8
> >
> > 1 1982 open:return
> > dmgtd.sol open 0
> > unix`syscall_trap32+0xcc
> >
> > 0xff3d6a5c
> > 0xff3b5460
> > 0xff3b57f8
> > 0xff3b5a84
> > 0xff3b5fcc
> > 0xff3b6688
> > 0xff3b6a18
> > 0xff3b8110
> > 0xff3b3d84
> > 0xff3bf21c
> > 0xff3cdb60
> > 0xff3b38c8
> >
> > 1 1982 open:return
> > dmgtd.sol open 0
> > unix`syscall_trap32+0xcc
> >
> > 0xff3d6a5c
> > 0xff3b5460
> > 0xff3b57f8
> > 0xff3b5a84
> > 0xff3b5fcc
> > 0xff3b6688
> > 0xff3b6a18
> > 0xff3b8110
> > 0xff3b3d84
> > 0xff3bf21c
> > 0xff3cdb60
> > 0xff3b38c8
> >
> > 1 1982 open:return
> > dmgtd.sol open 0
> > unix`syscall_trap32+0xcc
> >
> > 0xff3d6a5c
> > 0xff3b5460
> > 0xff3b57f8
> > 0xff3b5a84
> > 0xff3b5fcc
> > 0xff3b6688
> > 0xff3b6a18
> > 0xff3b8110
> > 0xff3b3d84
> > 0xff3bf21c
> > 0xff3cdb60
> > 0xff3b38c8
> >
> > 1 1982 open:return
> > dmgtd.sol open 0
> > unix`syscall_trap32+0xcc
> >
> > 0xff3d6a5c
> > 0xff3b5460
> > 0xff3b57f8
> > 0xff3b5a84
> > 0xff3b5fcc
> > 0xff3b6688
> > 0xff3b6a18
> > 0xff3b8110
> > 0xff3b3d84
> > 0xff3bf21c
> > 0xff3cdb60
> > 0xff3b38c8
> >
> > 1 1982 open:return
> > dmgtd.sol open 0
> > unix`syscall_trap32+0xcc
> >
> > 0xff3d6a5c
> > 0xff3b5460
> > 0xff3b57f8
> > 0xff3b5a84
> > 0xff3b5fcc
> > 0xff3b6688
> > 0xff3b6a18
> > 0xff3b8110
> > 0xff3b3d84
> > 0xff3bf21c
> > 0xff3cdb60
> > 0xff3b38c8
> >
> > 1 1982 open:return
> > dmgtd.sol open 0
> > unix`syscall_trap32+0xcc
> >
> > 0xff3d6a5c
> > 0xff3b5460
> > 0xff3b57f8
> > 0xff3b5a84
> > 0xff3b5fcc
> > 0xff3b6688
> > 0xff3b6a18
> > 0xff3b8110
> > 0xff3b3d84
> > 0xff3bf21c
> > 0xff3cdb60
> > 0xff3b38c8
> >
> > 1 1982 open:return
> > dmgtd.sol open 0
> > unix`syscall_trap32+0xcc
> >
> > 0xff3d6a5c
> > 0xff3b5460
> > 0xff3b57f8
> > 0xff3b5a84
> > 0xff3b5fcc
> > 0xff3b6688
> > 0xff3b6a18
> > 0xff3b8110
> > 0xff3b3d84
> > 0xff3bf21c
> > 0xff3cdb60
> > 0xff3b38c8
> >
> > 1 1982 open:return
> > dmgtd.sol open 0
> > unix`syscall_trap32+0xcc
> >
> > 0xff3d6a5c
> > 0xff3b5460
> > 0xff3b57f8
> > 0xff3b5a84
> > 0xff3b5fcc
> > 0xff3b6688
> > 0xff3b6a18
> > 0xff3b8110
> > 0xff3b3d84
> > 0xff3bf21c
> > 0xff3cdb60
> > 0xff3b38c8
> >
> > 1 1982 open:return
> > dmgtd.sol open 0
> > unix`syscall_trap32+0xcc
> >
> > 0xff3d6a5c
> > 0xff3b5460
> > 0xff3b57f8
> > 0xff3b5a84
> > 0xff3b5fcc
> > 0xff3b6688
> > 0xff3b6a18
> > 0xff3b8110
> > 0xff3b3d84
> > 0xff3bf21c
> > 0xff3cdb60
> > 0xff3b38c8
> >
> > 1 1982 open:return
> > dmgtd.sol open 0
> > unix`syscall_trap32+0xcc
> >
> > 0xff3d6a5c
> > 0xff3b5460
> > 0xff3b5700
> > 0xff3b5ed0
> > 0xff3b6688
> > 0xff3b93b8
> > 0xff3b97e8
> > 0xff3b9b74
> > 0xff3b6e9c
> > 0xff3b718c
> > 0xff3cc730
> > 0xff3b3904
> > 0xfef69288
> > 0xfef36c08
> > 0xff2c5158
> > 0xff303d3c
> > 0xff3bfea8
> > 0xff3bf3e4
> > 0xff3cdb60
> > 0xff3b38c8
> > This message posted from opensolaris.org
> > _______________________________________________
> > dtrace-discuss mailing list
> > dtrace-discuss at opensolaris.org
>
> --
> Adam Leventhal, Solaris Kernel Development http://blogs.sun.com/ahl
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://mail.opensolaris.org/pipermail/dtrace-discuss/attachments/20060303/5f2c85a3/attachment.html>
Adam Leventhal
2006-Mar-03 22:11 UTC
[dtrace-discuss] Re: CiscoWorks 2.5 Install on Solaris 10
I think you''re missing a predicate on the syscall::open:return
enabling:
syscall::open:return
/self->start/
{
printf("...");
stack();
ustack(0);
self->start = 0;
}
I take it the point of that thread local variable ''start'' was
for something
like this.
Adam
On Fri, Mar 03, 2006 at 04:09:18PM -0600, Derek Crudgington
wrote:> I tryed invoking dtrace with -c command and then i used:
>
> #!/usr/sbin/dtrace -s
>
> syscall::open:entry
> /pid == $target/
> {
> /* printf("\n%-20s %-10s %d", execname, probefunc, errno); */
> self->start=1;
> }
>
> syscall::open:return
> {
> printf("\n%-20s %-10s %d", execname, probefunc, errno);
> stack();
> ustack();
> }
>
> but doesn''t seem to be resolving to symbols still.
>
> On 3/3/06, Adam Leventhal <ahl at eng.sun.com> wrote:
> >
> > If you want to get those addresses resolved to symbols, use -p
<pid> or
> > -c <cmd> when invoking dtrace(1M) and give it the pid of the
process you
> > care about or just invoke the process with -c.
> >
> > Adam
> >
> > On Fri, Mar 03, 2006 at 10:04:19AM -0800, Derek Crudgington wrote:
> > > The stack showed:
> > >
> > > 0 1982 open:return
> > > dmgtd.sol open 0
> > > unix`syscall_trap32+0xcc
> > >
> > > 0xfef40af0
> > > 0xfeed8694
> > > 0xfeec1650
> > > 0xfeec1280
> > > 0xfeec10f8
> > > 0x351d4
> > > 0x3874c
> > > 0x18c04
> > >
> > > 1 1982 open:return
> > > dmgtd.sol open 0
> > > unix`syscall_trap32+0xcc
> > >
> > > 0xff3d6a5c
> > > 0xff3c6cc4
> > > 0xff3bedf4
> > > 0xff3cdb60
> > > 0xff3b38c8
> > >
> > > 1 1982 open:return
> > > dmgtd.sol open 0
> > > unix`syscall_trap32+0xcc
> > >
> > > 0xff3d6a5c
> > > 0xff3b5460
> > > 0xff3b57f8
> > > 0xff3b5a84
> > > 0xff3b5fcc
> > > 0xff3b6688
> > > 0xff3b6a18
> > > 0xff3b8110
> > > 0xff3b3d84
> > > 0xff3bf21c
> > > 0xff3cdb60
> > > 0xff3b38c8
> > >
> > > 1 1982 open:return
> > > dmgtd.sol open 0
> > > unix`syscall_trap32+0xcc
> > >
> > > 0xff3d6a5c
> > > 0xff3b5460
> > > 0xff3b57f8
> > > 0xff3b5a84
> > > 0xff3b5fcc
> > > 0xff3b6688
> > > 0xff3b6a18
> > > 0xff3b8110
> > > 0xff3b3d84
> > > 0xff3bf21c
> > > 0xff3cdb60
> > > 0xff3b38c8
> > >
> > > 1 1982 open:return
> > > dmgtd.sol open 0
> > > unix`syscall_trap32+0xcc
> > >
> > > 0xff3d6a5c
> > > 0xff3b5460
> > > 0xff3b57f8
> > > 0xff3b5a84
> > > 0xff3b5fcc
> > > 0xff3b6688
> > > 0xff3b6a18
> > > 0xff3b8110
> > > 0xff3b3d84
> > > 0xff3bf21c
> > > 0xff3cdb60
> > > 0xff3b38c8
> > >
> > > 1 1982 open:return
> > > dmgtd.sol open 0
> > > unix`syscall_trap32+0xcc
> > >
> > > 0xff3d6a5c
> > > 0xff3b5460
> > > 0xff3b57f8
> > > 0xff3b5a84
> > > 0xff3b5fcc
> > > 0xff3b6688
> > > 0xff3b6a18
> > > 0xff3b8110
> > > 0xff3b3d84
> > > 0xff3bf21c
> > > 0xff3cdb60
> > > 0xff3b38c8
> > >
> > > 1 1982 open:return
> > > dmgtd.sol open 0
> > > unix`syscall_trap32+0xcc
> > >
> > > 0xff3d6a5c
> > > 0xff3b5460
> > > 0xff3b57f8
> > > 0xff3b5a84
> > > 0xff3b5fcc
> > > 0xff3b6688
> > > 0xff3b6a18
> > > 0xff3b8110
> > > 0xff3b3d84
> > > 0xff3bf21c
> > > 0xff3cdb60
> > > 0xff3b38c8
> > >
> > > 1 1982 open:return
> > > dmgtd.sol open 0
> > > unix`syscall_trap32+0xcc
> > >
> > > 0xff3d6a5c
> > > 0xff3b5460
> > > 0xff3b57f8
> > > 0xff3b5a84
> > > 0xff3b5fcc
> > > 0xff3b6688
> > > 0xff3b6a18
> > > 0xff3b8110
> > > 0xff3b3d84
> > > 0xff3bf21c
> > > 0xff3cdb60
> > > 0xff3b38c8
> > >
> > > 1 1982 open:return
> > > dmgtd.sol open 0
> > > unix`syscall_trap32+0xcc
> > >
> > > 0xff3d6a5c
> > > 0xff3b5460
> > > 0xff3b57f8
> > > 0xff3b5a84
> > > 0xff3b5fcc
> > > 0xff3b6688
> > > 0xff3b6a18
> > > 0xff3b8110
> > > 0xff3b3d84
> > > 0xff3bf21c
> > > 0xff3cdb60
> > > 0xff3b38c8
> > >
> > > 1 1982 open:return
> > > dmgtd.sol open 0
> > > unix`syscall_trap32+0xcc
> > >
> > > 0xff3d6a5c
> > > 0xff3b5460
> > > 0xff3b57f8
> > > 0xff3b5a84
> > > 0xff3b5fcc
> > > 0xff3b6688
> > > 0xff3b6a18
> > > 0xff3b8110
> > > 0xff3b3d84
> > > 0xff3bf21c
> > > 0xff3cdb60
> > > 0xff3b38c8
> > >
> > > 1 1982 open:return
> > > dmgtd.sol open 0
> > > unix`syscall_trap32+0xcc
> > >
> > > 0xff3d6a5c
> > > 0xff3b5460
> > > 0xff3b57f8
> > > 0xff3b5a84
> > > 0xff3b5fcc
> > > 0xff3b6688
> > > 0xff3b6a18
> > > 0xff3b8110
> > > 0xff3b3d84
> > > 0xff3bf21c
> > > 0xff3cdb60
> > > 0xff3b38c8
> > >
> > > 1 1982 open:return
> > > dmgtd.sol open 0
> > > unix`syscall_trap32+0xcc
> > >
> > > 0xff3d6a5c
> > > 0xff3b5460
> > > 0xff3b57f8
> > > 0xff3b5a84
> > > 0xff3b5fcc
> > > 0xff3b6688
> > > 0xff3b6a18
> > > 0xff3b8110
> > > 0xff3b3d84
> > > 0xff3bf21c
> > > 0xff3cdb60
> > > 0xff3b38c8
> > >
> > > 1 1982 open:return
> > > dmgtd.sol open 0
> > > unix`syscall_trap32+0xcc
> > >
> > > 0xff3d6a5c
> > > 0xff3b5460
> > > 0xff3b57f8
> > > 0xff3b5a84
> > > 0xff3b5fcc
> > > 0xff3b6688
> > > 0xff3b6a18
> > > 0xff3b8110
> > > 0xff3b3d84
> > > 0xff3bf21c
> > > 0xff3cdb60
> > > 0xff3b38c8
> > >
> > > 1 1982 open:return
> > > dmgtd.sol open 0
> > > unix`syscall_trap32+0xcc
> > >
> > > 0xff3d6a5c
> > > 0xff3b5460
> > > 0xff3b57f8
> > > 0xff3b5a84
> > > 0xff3b5fcc
> > > 0xff3b6688
> > > 0xff3b6a18
> > > 0xff3b8110
> > > 0xff3b3d84
> > > 0xff3bf21c
> > > 0xff3cdb60
> > > 0xff3b38c8
> > >
> > > 1 1982 open:return
> > > dmgtd.sol open 0
> > > unix`syscall_trap32+0xcc
> > >
> > > 0xff3d6a5c
> > > 0xff3b5460
> > > 0xff3b57f8
> > > 0xff3b5a84
> > > 0xff3b5fcc
> > > 0xff3b6688
> > > 0xff3b6a18
> > > 0xff3b8110
> > > 0xff3b3d84
> > > 0xff3bf21c
> > > 0xff3cdb60
> > > 0xff3b38c8
> > >
> > > 1 1982 open:return
> > > dmgtd.sol open 0
> > > unix`syscall_trap32+0xcc
> > >
> > > 0xff3d6a5c
> > > 0xff3b5460
> > > 0xff3b57f8
> > > 0xff3b5a84
> > > 0xff3b5fcc
> > > 0xff3b6688
> > > 0xff3b6a18
> > > 0xff3b8110
> > > 0xff3b3d84
> > > 0xff3bf21c
> > > 0xff3cdb60
> > > 0xff3b38c8
> > >
> > > 1 1982 open:return
> > > dmgtd.sol open 0
> > > unix`syscall_trap32+0xcc
> > >
> > > 0xff3d6a5c
> > > 0xff3b5460
> > > 0xff3b57f8
> > > 0xff3b5a84
> > > 0xff3b5fcc
> > > 0xff3b6688
> > > 0xff3b6a18
> > > 0xff3b8110
> > > 0xff3b3d84
> > > 0xff3bf21c
> > > 0xff3cdb60
> > > 0xff3b38c8
> > >
> > > 1 1982 open:return
> > > dmgtd.sol open 0
> > > unix`syscall_trap32+0xcc
> > >
> > > 0xff3d6a5c
> > > 0xff3b5460
> > > 0xff3b57f8
> > > 0xff3b5a84
> > > 0xff3b5fcc
> > > 0xff3b6688
> > > 0xff3b6a18
> > > 0xff3b8110
> > > 0xff3b3d84
> > > 0xff3bf21c
> > > 0xff3cdb60
> > > 0xff3b38c8
> > >
> > > 1 1982 open:return
> > > dmgtd.sol open 0
> > > unix`syscall_trap32+0xcc
> > >
> > > 0xff3d6a5c
> > > 0xff3b5460
> > > 0xff3b5700
> > > 0xff3b5ed0
> > > 0xff3b6688
> > > 0xff3b93b8
> > > 0xff3b97e8
> > > 0xff3b9b74
> > > 0xff3b6e9c
> > > 0xff3b718c
> > > 0xff3cc730
> > > 0xff3b3904
> > > 0xfef69288
> > > 0xfef36c08
> > > 0xff2c5158
> > > 0xff303d3c
> > > 0xff3bfea8
> > > 0xff3bf3e4
> > > 0xff3cdb60
> > > 0xff3b38c8
> > > This message posted from opensolaris.org
> > > _______________________________________________
> > > dtrace-discuss mailing list
> > > dtrace-discuss at opensolaris.org
> >
> > --
> > Adam Leventhal, Solaris Kernel Development
http://blogs.sun.com/ahl
> >
--
Adam Leventhal, Solaris Kernel Development http://blogs.sun.com/ahl
Derek Crudgington
2006-Mar-03 22:12 UTC
[dtrace-discuss] Re: CiscoWorks 2.5 Install on Solaris 10
nevermind, it seems to be working now:
# ./test.d -c /opt/CSCOpx/objects/dmgt/dmgtd.sol
dtrace: script ''./test.d'' matched 2 probes
CPU ID FUNCTION:NAME
0 1982 open:return
dmgtd.sol open 0
unix`syscall_trap32+0xcc
ld.so.1`__open+0x4
ld.so.1`file_open+0x2a0
ld.so.1`find_path+0x170
ld.so.1`load_so+0x210
ld.so.1`load_path+0x68
ld.so.1`_elf_lookup_filtee+0x4b8
ld.so.1`elf_lookup_filtee+0x90
ld.so.1`elf_find_sym+0x310
ld.so.1`_lookup_sym+0x60
ld.so.1`lookup_sym+0x240
ld.so.1`elf_bndr+0x14c
ld.so.1`elf_rtbndr+0x10
libc.so.1`0xff1e9288
libc.so.1`mutex_init+0x2c
libnsl.so.1`_libnsl_lock_init+0x3c
libnsl.so.1`_init+0x4
ld.so.1`call_init+0x1a0
ld.so.1`setup+0x13ac
ld.so.1`_setup+0x3b0
ld.so.1`_rt_boot+0x88
1 1982 open:return
dtrace open 0
unix`syscall_trap+0xac
ERROR: NLSPATH not set. Check environment.ERROR
>>>>>>>>>>>>> open msg
catalog failed. NLSPATH incorrect or objects/share/nls/C/dmgtd.cat is
missing.
libc.so.1`__open+0x4
libc.so.1`open+0x64
libproc.so.1`Pbuild_file_symtab+0xb8
libproc.so.1`Pupdate_syms+0x24
libdtrace.so.1`dt_proc_rdevent+0xc8
libdtrace.so.1`dt_proc_bpmatch+0xcc
libdtrace.so.1`dt_proc_control+0x308
libc.so.1`_lwp_start
dtrace: pid 3805 has exited
0 1982 open:return
dtrace open 0
unix`syscall_trap+0xac
libc.so.1`__open+0x4
libc.so.1`open+0x64
libproc.so.1`Preadauxvec+0x80
libproc.so.1`Pupdate_maps+0x2c
libproc.so.1`Pupdate_syms+0x8
libdtrace.so.1`dt_proc_rdevent+0xc8
libdtrace.so.1`dt_proc_bpmatch+0xcc
libdtrace.so.1`dt_proc_control+0x308
libc.so.1`_lwp_start
0 1982 open:return
dtrace open 0
unix`syscall_trap+0xac
libc.so.1`__open+0x4
libc.so.1`open+0x64
libproc.so.1`Pupdate_maps+0x4c
libproc.so.1`Pupdate_syms+0x8
libdtrace.so.1`dt_proc_rdevent+0xc8
libdtrace.so.1`dt_proc_bpmatch+0xcc
libdtrace.so.1`dt_proc_control+0x308
libc.so.1`_lwp_start
On 3/3/06, Derek Crudgington <dacrud at gmail.com>
wrote:>
> I tryed invoking dtrace with -c command and then i used:
>
>
> #!/usr/sbin/dtrace -s
>
> syscall::open:entry
> /pid == $target/
> {
> /* printf("\n%-20s %-10s %d", execname, probefunc, errno); */
>
> self->start=1;
> }
>
> syscall::open:return
> {
> printf("\n%-20s %-10s %d", execname, probefunc, errno);
> stack();
> ustack();
> }
>
> but doesn''t seem to be resolving to symbols still.
>
>
> On 3/3/06, Adam Leventhal <ahl at eng.sun.com> wrote:
> >
> > If you want to get those addresses resolved to symbols, use -p
<pid> or
> > -c <cmd> when invoking dtrace(1M) and give it the pid of the
process you
> > care about or just invoke the process with -c.
> >
> > Adam
> >
> > On Fri, Mar 03, 2006 at 10:04:19AM -0800, Derek Crudgington wrote:
> > > The stack showed:
> > >
> > > 0 1982 open:return
> > > dmgtd.sol open 0
> > > unix`syscall_trap32+0xcc
> > >
> > > 0xfef40af0
> > > 0xfeed8694
> > > 0xfeec1650
> > > 0xfeec1280
> > > 0xfeec10f8
> > > 0x351d4
> > > 0x3874c
> > > 0x18c04
> > >
> > > 1 1982 open:return
> > > dmgtd.sol open 0
> > > unix`syscall_trap32+0xcc
> > >
> > > 0xff3d6a5c
> > > 0xff3c6cc4
> > > 0xff3bedf4
> > > 0xff3cdb60
> > > 0xff3b38c8
> > >
> > > 1 1982 open:return
> > > dmgtd.sol open 0
> > > unix`syscall_trap32+0xcc
> > >
> > > 0xff3d6a5c
> > > 0xff3b5460
> > > 0xff3b57f8
> > > 0xff3b5a84
> > > 0xff3b5fcc
> > > 0xff3b6688
> > > 0xff3b6a18
> > > 0xff3b8110
> > > 0xff3b3d84
> > > 0xff3bf21c
> > > 0xff3cdb60
> > > 0xff3b38c8
> > >
> > > 1 1982 open:return
> > > dmgtd.sol open 0
> > > unix`syscall_trap32+0xcc
> > >
> > > 0xff3d6a5c
> > > 0xff3b5460
> > > 0xff3b57f8
> > > 0xff3b5a84
> > > 0xff3b5fcc
> > > 0xff3b6688
> > > 0xff3b6a18
> > > 0xff3b8110
> > > 0xff3b3d84
> > > 0xff3bf21c
> > > 0xff3cdb60
> > > 0xff3b38c8
> > >
> > > 1 1982 open:return
> > > dmgtd.sol open 0
> > > unix`syscall_trap32+0xcc
> > >
> > > 0xff3d6a5c
> > > 0xff3b5460
> > > 0xff3b57f8
> > > 0xff3b5a84
> > > 0xff3b5fcc
> > > 0xff3b6688
> > > 0xff3b6a18
> > > 0xff3b8110
> > > 0xff3b3d84
> > > 0xff3bf21c
> > > 0xff3cdb60
> > > 0xff3b38c8
> > >
> > > 1 1982 open:return
> > > dmgtd.sol open 0
> > > unix`syscall_trap32+0xcc
> > >
> > > 0xff3d6a5c
> > > 0xff3b5460
> > > 0xff3b57f8
> > > 0xff3b5a84
> > > 0xff3b5fcc
> > > 0xff3b6688
> > > 0xff3b6a18
> > > 0xff3b8110
> > > 0xff3b3d84
> > > 0xff3bf21c
> > > 0xff3cdb60
> > > 0xff3b38c8
> > >
> > > 1 1982 open:return
> > > dmgtd.sol open 0
> > > unix`syscall_trap32+0xcc
> > >
> > > 0xff3d6a5c
> > > 0xff3b5460
> > > 0xff3b57f8
> > > 0xff3b5a84
> > > 0xff3b5fcc
> > > 0xff3b6688
> > > 0xff3b6a18
> > > 0xff3b8110
> > > 0xff3b3d84
> > > 0xff3bf21c
> > > 0xff3cdb60
> > > 0xff3b38c8
> > >
> > > 1 1982 open:return
> > > dmgtd.sol open 0
> > > unix`syscall_trap32+0xcc
> > >
> > > 0xff3d6a5c
> > > 0xff3b5460
> > > 0xff3b57f8
> > > 0xff3b5a84
> > > 0xff3b5fcc
> > > 0xff3b6688
> > > 0xff3b6a18
> > > 0xff3b8110
> > > 0xff3b3d84
> > > 0xff3bf21c
> > > 0xff3cdb60
> > > 0xff3b38c8
> > >
> > > 1 1982 open:return
> > > dmgtd.sol open 0
> > > unix`syscall_trap32+0xcc
> > >
> > > 0xff3d6a5c
> > > 0xff3b5460
> > > 0xff3b57f8
> > > 0xff3b5a84
> > > 0xff3b5fcc
> > > 0xff3b6688
> > > 0xff3b6a18
> > > 0xff3b8110
> > > 0xff3b3d84
> > > 0xff3bf21c
> > > 0xff3cdb60
> > > 0xff3b38c8
> > >
> > > 1 1982 open:return
> > > dmgtd.sol open 0
> > > unix`syscall_trap32+0xcc
> > >
> > > 0xff3d6a5c
> > > 0xff3b5460
> > > 0xff3b57f8
> > > 0xff3b5a84
> > > 0xff3b5fcc
> > > 0xff3b6688
> > > 0xff3b6a18
> > > 0xff3b8110
> > > 0xff3b3d84
> > > 0xff3bf21c
> > > 0xff3cdb60
> > > 0xff3b38c8
> > >
> > > 1 1982 open:return
> > > dmgtd.sol open 0
> > > unix`syscall_trap32+0xcc
> > >
> > > 0xff3d6a5c
> > > 0xff3b5460
> > > 0xff3b57f8
> > > 0xff3b5a84
> > > 0xff3b5fcc
> > > 0xff3b6688
> > > 0xff3b6a18
> > > 0xff3b8110
> > > 0xff3b3d84
> > > 0xff3bf21c
> > > 0xff3cdb60
> > > 0xff3b38c8
> > >
> > > 1 1982 open:return
> > > dmgtd.sol open 0
> > > unix`syscall_trap32+0xcc
> > >
> > > 0xff3d6a5c
> > > 0xff3b5460
> > > 0xff3b57f8
> > > 0xff3b5a84
> > > 0xff3b5fcc
> > > 0xff3b6688
> > > 0xff3b6a18
> > > 0xff3b8110
> > > 0xff3b3d84
> > > 0xff3bf21c
> > > 0xff3cdb60
> > > 0xff3b38c8
> > >
> > > 1 1982 open:return
> > > dmgtd.sol open 0
> > > unix`syscall_trap32+0xcc
> > >
> > > 0xff3d6a5c
> > > 0xff3b5460
> > > 0xff3b57f8
> > > 0xff3b5a84
> > > 0xff3b5fcc
> > > 0xff3b6688
> > > 0xff3b6a18
> > > 0xff3b8110
> > > 0xff3b3d84
> > > 0xff3bf21c
> > > 0xff3cdb60
> > > 0xff3b38c8
> > >
> > > 1 1982 open:return
> > > dmgtd.sol open 0
> > > unix`syscall_trap32+0xcc
> > >
> > > 0xff3d6a5c
> > > 0xff3b5460
> > > 0xff3b57f8
> > > 0xff3b5a84
> > > 0xff3b5fcc
> > > 0xff3b6688
> > > 0xff3b6a18
> > > 0xff3b8110
> > > 0xff3b3d84
> > > 0xff3bf21c
> > > 0xff3cdb60
> > > 0xff3b38c8
> > >
> > > 1 1982 open:return
> > > dmgtd.sol open 0
> > > unix`syscall_trap32+0xcc
> > >
> > > 0xff3d6a5c
> > > 0xff3b5460
> > > 0xff3b57f8
> > > 0xff3b5a84
> > > 0xff3b5fcc
> > > 0xff3b6688
> > > 0xff3b6a18
> > > 0xff3b8110
> > > 0xff3b3d84
> > > 0xff3bf21c
> > > 0xff3cdb60
> > > 0xff3b38c8
> > >
> > > 1 1982 open:return
> > > dmgtd.sol open 0
> > > unix`syscall_trap32+0xcc
> > >
> > > 0xff3d6a5c
> > > 0xff3b5460
> > > 0xff3b57f8
> > > 0xff3b5a84
> > > 0xff3b5fcc
> > > 0xff3b6688
> > > 0xff3b6a18
> > > 0xff3b8110
> > > 0xff3b3d84
> > > 0xff3bf21c
> > > 0xff3cdb60
> > > 0xff3b38c8
> > >
> > > 1 1982 open:return
> > > dmgtd.sol open 0
> > > unix`syscall_trap32+0xcc
> > >
> > > 0xff3d6a5c
> > > 0xff3b5460
> > > 0xff3b57f8
> > > 0xff3b5a84
> > > 0xff3b5fcc
> > > 0xff3b6688
> > > 0xff3b6a18
> > > 0xff3b8110
> > > 0xff3b3d84
> > > 0xff3bf21c
> > > 0xff3cdb60
> > > 0xff3b38c8
> > >
> > > 1 1982 open:return
> > > dmgtd.sol open 0
> > > unix`syscall_trap32+0xcc
> > >
> > > 0xff3d6a5c
> > > 0xff3b5460
> > > 0xff3b57f8
> > > 0xff3b5a84
> > > 0xff3b5fcc
> > > 0xff3b6688
> > > 0xff3b6a18
> > > 0xff3b8110
> > > 0xff3b3d84
> > > 0xff3bf21c
> > > 0xff3cdb60
> > > 0xff3b38c8
> > >
> > > 1 1982 open:return
> > > dmgtd.sol open 0
> > > unix`syscall_trap32+0xcc
> > >
> > > 0xff3d6a5c
> > > 0xff3b5460
> > > 0xff3b5700
> > > 0xff3b5ed0
> > > 0xff3b6688
> > > 0xff3b93b8
> > > 0xff3b97e8
> > > 0xff3b9b74
> > > 0xff3b6e9c
> > > 0xff3b718c
> > > 0xff3cc730
> > > 0xff3b3904
> > > 0xfef69288
> > > 0xfef36c08
> > > 0xff2c5158
> > > 0xff303d3c
> > > 0xff3bfea8
> > > 0xff3bf3e4
> > > 0xff3cdb60
> > > 0xff3b38c8
> > > This message posted from opensolaris.org
> > > _______________________________________________
> > > dtrace-discuss mailing list
> > > dtrace-discuss at opensolaris.org
> >
> > --
> > Adam Leventhal, Solaris Kernel Development
> > http://blogs.sun.com/ahl
> >
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://mail.opensolaris.org/pipermail/dtrace-discuss/attachments/20060303/e4d135d1/attachment.html>
Derek Crudgington
2006-Mar-03 22:21 UTC
[dtrace-discuss] Re: CiscoWorks 2.5 Install on Solaris 10
Yeah that worked even better. The output doesn''t look like it is telling me much. On 3/3/06, Adam Leventhal < ahl at eng.sun.com> wrote:> > I think you''re missing a predicate on the syscall::open:return enabling: > > syscall::open:return > /self->start/ > { > printf("..."); > stack(); > ustack(0); > self->start = 0; > } > > I take it the point of that thread local variable ''start'' was for > something > like this. > > Adam > > On Fri, Mar 03, 2006 at 04:09:18PM -0600, Derek Crudgington wrote: > > I tryed invoking dtrace with -c command and then i used: > > > > #!/usr/sbin/dtrace -s > > > > syscall::open:entry > > /pid == $target/ > > { > > /* printf("\n%-20s %-10s %d", execname, probefunc, errno); */ > > self->start=1; > > } > > > > syscall::open:return > > { > > printf("\n%-20s %-10s %d", execname, probefunc, errno); > > stack(); > > ustack(); > > } > > > > but doesn''t seem to be resolving to symbols still. > > > > On 3/3/06, Adam Leventhal <ahl at eng.sun.com> wrote: > > > > > > If you want to get those addresses resolved to symbols, use -p <pid> > or > > > -c <cmd> when invoking dtrace(1M) and give it the pid of the process > you > > > care about or just invoke the process with -c. > > > > > > Adam > > > > > > On Fri, Mar 03, 2006 at 10:04:19AM -0800, Derek Crudgington wrote: > > > > The stack showed: > > > > > > > > 0 1982 open:return > > > > dmgtd.sol open 0 > > > > unix`syscall_trap32+0xcc > > > > > > > > 0xfef40af0 > > > > 0xfeed8694 > > > > 0xfeec1650 > > > > 0xfeec1280 > > > > 0xfeec10f8 > > > > 0x351d4 > > > > 0x3874c > > > > 0x18c04 > > > > > > > > 1 1982 open:return > > > > dmgtd.sol open 0 > > > > unix`syscall_trap32+0xcc > > > > > > > > 0xff3d6a5c > > > > 0xff3c6cc4 > > > > 0xff3bedf4 > > > > 0xff3cdb60 > > > > 0xff3b38c8 > > > > > > > > 1 1982 open:return > > > > dmgtd.sol open 0 > > > > unix`syscall_trap32+0xcc > > > > > > > > 0xff3d6a5c > > > > 0xff3b5460 > > > > 0xff3b57f8 > > > > 0xff3b5a84 > > > > 0xff3b5fcc > > > > 0xff3b6688 > > > > 0xff3b6a18 > > > > 0xff3b8110 > > > > 0xff3b3d84 > > > > 0xff3bf21c > > > > 0xff3cdb60 > > > > 0xff3b38c8 > > > > > > > > 1 1982 open:return > > > > dmgtd.sol open 0 > > > > unix`syscall_trap32+0xcc > > > > > > > > 0xff3d6a5c > > > > 0xff3b5460 > > > > 0xff3b57f8 > > > > 0xff3b5a84 > > > > 0xff3b5fcc > > > > 0xff3b6688 > > > > 0xff3b6a18 > > > > 0xff3b8110 > > > > 0xff3b3d84 > > > > 0xff3bf21c > > > > 0xff3cdb60 > > > > 0xff3b38c8 > > > > > > > > 1 1982 open:return > > > > dmgtd.sol open 0 > > > > unix`syscall_trap32+0xcc > > > > > > > > 0xff3d6a5c > > > > 0xff3b5460 > > > > 0xff3b57f8 > > > > 0xff3b5a84 > > > > 0xff3b5fcc > > > > 0xff3b6688 > > > > 0xff3b6a18 > > > > 0xff3b8110 > > > > 0xff3b3d84 > > > > 0xff3bf21c > > > > 0xff3cdb60 > > > > 0xff3b38c8 > > > > > > > > 1 1982 open:return > > > > dmgtd.sol open 0 > > > > unix`syscall_trap32+0xcc > > > > > > > > 0xff3d6a5c > > > > 0xff3b5460 > > > > 0xff3b57f8 > > > > 0xff3b5a84 > > > > 0xff3b5fcc > > > > 0xff3b6688 > > > > 0xff3b6a18 > > > > 0xff3b8110 > > > > 0xff3b3d84 > > > > 0xff3bf21c > > > > 0xff3cdb60 > > > > 0xff3b38c8 > > > > > > > > 1 1982 open:return > > > > dmgtd.sol open 0 > > > > unix`syscall_trap32+0xcc > > > > > > > > 0xff3d6a5c > > > > 0xff3b5460 > > > > 0xff3b57f8 > > > > 0xff3b5a84 > > > > 0xff3b5fcc > > > > 0xff3b6688 > > > > 0xff3b6a18 > > > > 0xff3b8110 > > > > 0xff3b3d84 > > > > 0xff3bf21c > > > > 0xff3cdb60 > > > > 0xff3b38c8 > > > > > > > > 1 1982 open:return > > > > dmgtd.sol open 0 > > > > unix`syscall_trap32+0xcc > > > > > > > > 0xff3d6a5c > > > > 0xff3b5460 > > > > 0xff3b57f8 > > > > 0xff3b5a84 > > > > 0xff3b5fcc > > > > 0xff3b6688 > > > > 0xff3b6a18 > > > > 0xff3b8110 > > > > 0xff3b3d84 > > > > 0xff3bf21c > > > > 0xff3cdb60 > > > > 0xff3b38c8 > > > > > > > > 1 1982 open:return > > > > dmgtd.sol open 0 > > > > unix`syscall_trap32+0xcc > > > > > > > > 0xff3d6a5c > > > > 0xff3b5460 > > > > 0xff3b57f8 > > > > 0xff3b5a84 > > > > 0xff3b5fcc > > > > 0xff3b6688 > > > > 0xff3b6a18 > > > > 0xff3b8110 > > > > 0xff3b3d84 > > > > 0xff3bf21c > > > > 0xff3cdb60 > > > > 0xff3b38c8 > > > > > > > > 1 1982 open:return > > > > dmgtd.sol open 0 > > > > unix`syscall_trap32+0xcc > > > > > > > > 0xff3d6a5c > > > > 0xff3b5460 > > > > 0xff3b57f8 > > > > 0xff3b5a84 > > > > 0xff3b5fcc > > > > 0xff3b6688 > > > > 0xff3b6a18 > > > > 0xff3b8110 > > > > 0xff3b3d84 > > > > 0xff3bf21c > > > > 0xff3cdb60 > > > > 0xff3b38c8 > > > > > > > > 1 1982 open:return > > > > dmgtd.sol open 0 > > > > unix`syscall_trap32+0xcc > > > > > > > > 0xff3d6a5c > > > > 0xff3b5460 > > > > 0xff3b57f8 > > > > 0xff3b5a84 > > > > 0xff3b5fcc > > > > 0xff3b6688 > > > > 0xff3b6a18 > > > > 0xff3b8110 > > > > 0xff3b3d84 > > > > 0xff3bf21c > > > > 0xff3cdb60 > > > > 0xff3b38c8 > > > > > > > > 1 1982 open:return > > > > dmgtd.sol open 0 > > > > unix`syscall_trap32+0xcc > > > > > > > > 0xff3d6a5c > > > > 0xff3b5460 > > > > 0xff3b57f8 > > > > 0xff3b5a84 > > > > 0xff3b5fcc > > > > 0xff3b6688 > > > > 0xff3b6a18 > > > > 0xff3b8110 > > > > 0xff3b3d84 > > > > 0xff3bf21c > > > > 0xff3cdb60 > > > > 0xff3b38c8 > > > > > > > > 1 1982 open:return > > > > dmgtd.sol open 0 > > > > unix`syscall_trap32+0xcc > > > > > > > > 0xff3d6a5c > > > > 0xff3b5460 > > > > 0xff3b57f8 > > > > 0xff3b5a84 > > > > 0xff3b5fcc > > > > 0xff3b6688 > > > > 0xff3b6a18 > > > > 0xff3b8110 > > > > 0xff3b3d84 > > > > 0xff3bf21c > > > > 0xff3cdb60 > > > > 0xff3b38c8 > > > > > > > > 1 1982 open:return > > > > dmgtd.sol open 0 > > > > unix`syscall_trap32+0xcc > > > > > > > > 0xff3d6a5c > > > > 0xff3b5460 > > > > 0xff3b57f8 > > > > 0xff3b5a84 > > > > 0xff3b5fcc > > > > 0xff3b6688 > > > > 0xff3b6a18 > > > > 0xff3b8110 > > > > 0xff3b3d84 > > > > 0xff3bf21c > > > > 0xff3cdb60 > > > > 0xff3b38c8 > > > > > > > > 1 1982 open:return > > > > dmgtd.sol open 0 > > > > unix`syscall_trap32+0xcc > > > > > > > > 0xff3d6a5c > > > > 0xff3b5460 > > > > 0xff3b57f8 > > > > 0xff3b5a84 > > > > 0xff3b5fcc > > > > 0xff3b6688 > > > > 0xff3b6a18 > > > > 0xff3b8110 > > > > 0xff3b3d84 > > > > 0xff3bf21c > > > > 0xff3cdb60 > > > > 0xff3b38c8 > > > > > > > > 1 1982 open:return > > > > dmgtd.sol open 0 > > > > unix`syscall_trap32+0xcc > > > > > > > > 0xff3d6a5c > > > > 0xff3b5460 > > > > 0xff3b57f8 > > > > 0xff3b5a84 > > > > 0xff3b5fcc > > > > 0xff3b6688 > > > > 0xff3b6a18 > > > > 0xff3b8110 > > > > 0xff3b3d84 > > > > 0xff3bf21c > > > > 0xff3cdb60 > > > > 0xff3b38c8 > > > > > > > > 1 1982 open:return > > > > dmgtd.sol open 0 > > > > unix`syscall_trap32+0xcc > > > > > > > > 0xff3d6a5c > > > > 0xff3b5460 > > > > 0xff3b57f8 > > > > 0xff3b5a84 > > > > 0xff3b5fcc > > > > 0xff3b6688 > > > > 0xff3b6a18 > > > > 0xff3b8110 > > > > 0xff3b3d84 > > > > 0xff3bf21c > > > > 0xff3cdb60 > > > > 0xff3b38c8 > > > > > > > > 1 1982 open:return > > > > dmgtd.sol open 0 > > > > unix`syscall_trap32+0xcc > > > > > > > > 0xff3d6a5c > > > > 0xff3b5460 > > > > 0xff3b57f8 > > > > 0xff3b5a84 > > > > 0xff3b5fcc > > > > 0xff3b6688 > > > > 0xff3b6a18 > > > > 0xff3b8110 > > > > 0xff3b3d84 > > > > 0xff3bf21c > > > > 0xff3cdb60 > > > > 0xff3b38c8 > > > > > > > > 1 1982 open:return > > > > dmgtd.sol open 0 > > > > unix`syscall_trap32+0xcc > > > > > > > > 0xff3d6a5c > > > > 0xff3b5460 > > > > 0xff3b5700 > > > > 0xff3b5ed0 > > > > 0xff3b6688 > > > > 0xff3b93b8 > > > > 0xff3b97e8 > > > > 0xff3b9b74 > > > > 0xff3b6e9c > > > > 0xff3b718c > > > > 0xff3cc730 > > > > 0xff3b3904 > > > > 0xfef69288 > > > > 0xfef36c08 > > > > 0xff2c5158 > > > > 0xff303d3c > > > > 0xff3bfea8 > > > > 0xff3bf3e4 > > > > 0xff3cdb60 > > > > 0xff3b38c8 > > > > This message posted from opensolaris.org > > > > _______________________________________________ > > > > dtrace-discuss mailing list > > > > dtrace-discuss at opensolaris.org > > > > > > -- > > > Adam Leventhal, Solaris Kernel Development > http://blogs.sun.com/ahl > > > > > -- > Adam Leventhal, Solaris Kernel Development http://blogs.sun.com/ahl >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.opensolaris.org/pipermail/dtrace-discuss/attachments/20060303/09a3263e/attachment.html>
Jarod Jenson
2006-Mar-03 23:58 UTC
[dtrace-discuss] Re: CiscoWorks 2.5 Install on Solaris 10
Adam Leventhal''s email at 3/3/2006 4:11 PM, said:> I think you''re missing a predicate on the syscall::open:return enabling: > > syscall::open:return > /self->start/ > { > printf("..."); > stack(); > ustack(0); > self->start = 0; > } > > I take it the point of that thread local variable ''start'' was for something > like this. > > Adam >And as long as we are at it, the stack() is never going to return anything useful when used with syscall::*:return. You''ll just get the trap. If it still doesn''t resolve symbols with the ''-c'' option Adam gave you, then it is likely you are looking at a stripped binary. file(1) should let you know if that is the case. Thanks, Jarod