CR: 0001 Script: vmstat.d,swapinfo.d Type: Defect Priority: 1 Status: Reported Reported against: DTT 0.89 OS: Solaris Express, build27a, AMD64 Synopsis: wrong pagesize kernel symbol Date: Submitted By: Stefan Parvu, stefanparvu14@yahoo.com Updated: Integrated to: *** Description *** 2006-01-06 stefanparvu14@yahoo.com: Cannot run since 'pagesize' is not the correct symbol in SExpress. Checking for the symbol 'pagesize' under sys/param.h: there is no such thing instead _pagesize is the correct defintion. These are the errors I get: # ./swapinfo.d dtrace: failed to compile script ./swapinfo.d: line 96: failed to resolve `pagesize: Unknown symbol name # # ./vmstat.d dtrace: failed to compile script ./vmstat.d: line 120: failed to resolve `pagesize: Unknown symbol name *** Fix *** 2006-01-06 stefanparvu14@yahoo.com: Change 'pagesize' symbol to '_pagesize' *** Workaround *** N/A *** Comments *** 2006-01-06 stefanparvu14@yahoo.com: Cannot run since 'pagesize' is not the correct symbol in SExpress. Checking for the symbol 'pagesize' under sys/param.h: there is no such thing instead _pagesize is the correct defintion. Solaris 10 SPARC GA: # uname -a SunOS sun 5.10 Generic_118822-19 sun4u sparc SUNW,Ultra-5_10 # echo "_pagesize/E" | mdb -k _pagesize: _pagesize: 8192 2. Solaris 11, build27a, AMD64: # echo "_pagesize/D" | mdb -k _pagesize: _pagesize: 4096 The '_pagesize' symbol should work fine for both architectures as well for S10 or SE(11).