Problems with dynamo under Solaris 10 SPARC

View: New views
5 Messages — Rating Filter:   Alert me  

Problems with dynamo under Solaris 10 SPARC

by Kyle Cummings :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
All,

I am trying to get dynamo to work under Solaris 10 SPARC and I have made two steps forward but a major step back.

Here is a summary of where I am:

1) I am using iometer-2008-06-22-rc2 with gcc 3.4.6 for the compile.  My Solaris 10 system is 138888-07 on a T5140

When I did the initial: make -f Makefile-Solaris.sparc all

I get errors and it stops at Pulsar.o

opt/local/bin/../lib/gcc/sparc-sun-solaris2.10/3.4.6/../../../../include/c++/3.4.6/bits/sstream.tcc: In member function `virtual typename std::basic_stringbuf<_CharT, _Traits, _Alloc>::int_type std::basic_stringbuf<_CharT, _Traits, _Alloc>::overflow(typename _Traits::int_type)':
/opt/local/bin/../lib/gcc/sparc-sun-solaris2.10/3.4.6/../../../../include/c++/3.4.6/bits/sstream.tcc:102: error: expected unqualified-id before '(' token
/opt/local/bin/../lib/gcc/sparc-sun-solaris2.10/3.4.6/../../../../include/c++/3.4.6/bits/sstream.tcc:104: error: expected unqualified-id before '(' token
In file included from IOMessage.h:119,
                 from IOPort.h:86,
                 from IOManager.h:93,
                 from Pulsar.cpp:135:
pack8.h: At global scope:
pack8.h:57: warning: #pragma pack(push[, id], <n>) is not supported on this target
In file included from IOMessage.h:157,
                 from IOPort.h:86,
                 from IOManager.h:93,
                 from Pulsar.cpp:135:
unpack8.h:57: warning: #pragma pack(pop[, id], <n>) is not supported on this target
In file included from IOPerformance.h:155,
                 from IOManager.h:94,
                 from Pulsar.cpp:135:
pack8.h:57: warning: #pragma pack(push[, id], <n>) is not supported on this target
In file included from IOPerformance.h:166,
                 from IOManager.h:94,
                 from Pulsar.cpp:135:
unpack8.h:57: warning: #pragma pack(pop[, id], <n>) is not supported on this target
*** Error code 1
make: Fatal error: Command failed for target `Pulsar.o'

2) I found a change to the Makefile to add -DNOMINMAX to CFLAGS.  This allowed the compile to complete and dynamo was generated.

CFLAGS= -O \
        -Wall \
        -DIOMTR_OSFAMILY_UNIX -DIOMTR_OS_SOLARIS \
        -DIOMTR_CPU_SPARC \
        -D_LARGEFILE64_SOURCE \
        -D_REENTRANT \
        -DUSE_NEW_DISCOVERY_MECHANISM -DFORCE_STRUCT_ALIGN \
        -DNOMINMAX

3) Dynamo now runs but when I try and run tests from my Windows client, the dynamo agent crashes at the end and cores.

Worker 0 running Access Spec: 16K; 100% Read; 0% random
Access specifications for test defined.
Grunt: Growing grunt data buffer from 16384 to 16384
Worker 0 running Access Spec: 16K; 100% Read; 0% random
Access specifications for test defined.
Grunt: Grunt data buffer size 16384 >= 16384, returning
Worker 1 running Access Spec: 16K; 100% Read; 0% random
Access specifications for test defined.
Grunt: Growing grunt data buffer from 16384 to 16384
Worker 2 running Access Spec: 16K; 100% Read; 0% random
Access specifications for test defined.
Grunt: Growing grunt data buffer from 16384 to 16384
Worker 3 running Access Spec: 16K; 100% Read; 0% random
Access specifications for test defined.
Grunt: Growing grunt data buffer from 16384 to 16384
Worker 0 setting targets...
Worker 1 setting targets...
   clearing target list.
Worker 2 setting targets...
   clearing target list.
Worker 3 setting targets...
   clearing target list.
Starting...
   Opening targets.
Beginning to perform I/O...
./jkc2.sh: line 1: 11196 Segmentation Fault      (core dumped) ./dynamo -i 192.168.1.139 -m 192.168.1.105
#

 
There was an email sent from Ming Zhang which may have addressed this problem.  There were two attachments called pack8.h and unpack8.h  Are these included in iometer-2008-06-22-rc2?

I also have the core if someone can tell me what they need from it...

-Kyle Cummings


# make -f Makefile-Solaris.sparc all

g++ -O  -Wall  -DIOMTR_OSFAMILY_UNIX -DIOMTR_OS_SOLARIS  -DIOMTR_CPU_SPARC  -D_LARGEFILE64_SOURCE  -D_REENTRANT  -DUSE_NEW_DISCOVERY_MECHANISM -DFORCE_STRUCT_ALIGN -c IOGlobals.cpp
In file included from IOCommon.h:573,
                 from IOGlobals.cpp:66:
pack8.h:57: warning: #pragma pack(push[, id], <n>) is not supported on this target
In file included from IOCommon.h:683,
                 from IOGlobals.cpp:66:
unpack8.h:57: warning: #pragma pack(pop[, id], <n>) is not supported on this target
g++ -O  -Wall  -DIOMTR_OSFAMILY_UNIX -DIOMTR_OS_SOLARIS  -DIOMTR_CPU_SPARC  -D_LARGEFILE64_SOURCE  -D_REENTRANT  -DUSE_NEW_DISCOVERY_MECHANISM -DFORCE_STRUCT_ALIGN -c Pulsar.cpp
In file included from IOCommon.h:573,
                 from Pulsar.cpp:134:
pack8.h:57: warning: #pragma pack(push[, id], <n>) is not supported on this target
In file included from IOCommon.h:683,
                 from Pulsar.cpp:134:
unpack8.h:57: warning: #pragma pack(pop[, id], <n>) is not supported on this target
In file included from IOAccess.h:66,
                 from IOTest.h:74,
                 from IOTarget.h:81,
                 from IOGrunt.h:74,
                 from IOManager.h:92,
                 from Pulsar.cpp:135:
pack8.h:57: warning: #pragma pack(push[, id], <n>) is not supported on this target
In file included from IOAccess.h:95,
                 from IOTest.h:74,
                 from IOTarget.h:81,
                 from IOGrunt.h:74,
                 from IOManager.h:92,
                 from Pulsar.cpp:135:
unpack8.h:57: warning: #pragma pack(pop[, id], <n>) is not supported on this target
In file included from IOTest.h:84,
                 from IOTarget.h:81,
                 from IOGrunt.h:74,
                 from IOManager.h:92,
                 from Pulsar.cpp:135:
pack8.h:57: warning: #pragma pack(push[, id], <n>) is not supported on this target
In file included from IOTest.h:277,
                 from IOTarget.h:81,
                 from IOGrunt.h:74,
                 from IOManager.h:92,
                 from Pulsar.cpp:135:
unpack8.h:57: warning: #pragma pack(pop[, id], <n>) is not supported on this target
In file included from IOTransfers.h:73,
                 from IOCQ.h:73,
                 from IOTarget.h:82,
                 from IOGrunt.h:74,
                 from IOManager.h:92,
                 from Pulsar.cpp:135:
pack8.h:57: warning: #pragma pack(push[, id], <n>) is not supported on this target
In file included from IOTransfers.h:118,
                 from IOCQ.h:73,
                 from IOTarget.h:82,
                 from IOGrunt.h:74,
                 from IOManager.h:92,
                 from Pulsar.cpp:135:
unpack8.h:57: warning: #pragma pack(pop[, id], <n>) is not supported on this target
In file included from /opt/local/bin/../lib/gcc/sparc-sun-solaris2.10/3.4.6/../../../../include/c++/3.4.6/sstream:640,
                 from IOPort.h:83,
                 from IOManager.h:93,
                 from Pulsar.cpp:135:
/opt/local/bin/../lib/gcc/sparc-sun-solaris2.10/3.4.6/../../../../include/c++/3.4.6/bits/sstream.tcc: In member function `virtual typename std::basic_stringbuf<_CharT, _Traits, _Alloc>::int_type std::basic_stringbuf<_CharT, _Traits, _Alloc>::overflow(typename _Traits::int_type)':
/opt/local/bin/../lib/gcc/sparc-sun-solaris2.10/3.4.6/../../../../include/c++/3.4.6/bits/sstream.tcc:102: error: expected unqualified-id before '(' token
/opt/local/bin/../lib/gcc/sparc-sun-solaris2.10/3.4.6/../../../../include/c++/3.4.6/bits/sstream.tcc:104: error: expected unqualified-id before '(' token
In file included from IOMessage.h:119,
                 from IOPort.h:86,
                 from IOManager.h:93,
                 from Pulsar.cpp:135:
pack8.h: At global scope:
pack8.h:57: warning: #pragma pack(push[, id], <n>) is not supported on this target
In file included from IOMessage.h:157,
                 from IOPort.h:86,
                 from IOManager.h:93,
                 from Pulsar.cpp:135:
unpack8.h:57: warning: #pragma pack(pop[, id], <n>) is not supported on this target
In file included from IOPerformance.h:155,
                 from IOManager.h:94,
                 from Pulsar.cpp:135:
pack8.h:57: warning: #pragma pack(push[, id], <n>) is not supported on this target
In file included from IOPerformance.h:166,
                 from IOManager.h:94,
                 from Pulsar.cpp:135:
unpack8.h:57: warning: #pragma pack(pop[, id], <n>) is not supported on this target
*** Error code 1
make: Fatal error: Command failed for target `Pulsar.o'
#

CFLAGS= -O \
        -Wall \
        -DIOMTR_OSFAMILY_UNIX -DIOMTR_OS_SOLARIS \
        -DIOMTR_CPU_SPARC \
        -D_LARGEFILE64_SOURCE \
        -D_REENTRANT \
        -DUSE_NEW_DISCOVERY_MECHANISM -DFORCE_STRUCT_ALIGN
#-I/opt/SUNWspro/include/CC \
# CFLAGS=-compat=4

CFLAGS= -O \
        -Wall \
        -DIOMTR_OSFAMILY_UNIX -DIOMTR_OS_SOLARIS \
        -DIOMTR_CPU_SPARC \
        -D_LARGEFILE64_SOURCE \
        -D_REENTRANT \
        -DUSE_NEW_DISCOVERY_MECHANISM -DFORCE_STRUCT_ALIGN \
        -DNOMINMAX
#-I/opt/SUNWspro/include/CC \
# CFLAGS=-compat=4

/opt/SUNWspro/bin/CC -O  -Wall  -DIOMTR_OSFAMILY_UNIX -DIOMTR_OS_SOLARIS  -DIOMTR_CPU_SPARC  -D_LARGEFILE64_SOURCE  -D_REENTRANT  -DUSE_NEW_DISCOVERY_MECHANISM -DFORCE_STRUCT_ALIGN -c Pulsar.cpp
CC: Warning: Option -Wall passed to ld, if ld is invoked, ignored otherwise
"pack8.h", line 57: Error: Syntax error in pragma.
"pack8.h", line 57: Error: Missing ')' in #pragma.
"pack8.h", line 57: Error: Syntax error in pragma.
"unpack8.h", line 57: Error: Syntax error in pragma.
"unpack8.h", line 57: Error: Missing ')' in #pragma.
"unpack8.h", line 57: Error: Syntax error in pragma.
"pack8.h", line 57: Error: Syntax error in pragma.
"pack8.h", line 57: Error: Missing ')' in #pragma.
"pack8.h", line 57: Error: Syntax error in pragma.
"unpack8.h", line 57: Error: Syntax error in pragma.
"unpack8.h", line 57: Error: Missing ')' in #pragma.
"unpack8.h", line 57: Error: Syntax error in pragma.
"pack8.h", line 57: Error: Syntax error in pragma.
"pack8.h", line 57: Error: Missing ')' in #pragma.
"pack8.h", line 57: Error: Syntax error in pragma.
"unpack8.h", line 57: Error: Syntax error in pragma.
"unpack8.h", line 57: Error: Missing ')' in #pragma.
"unpack8.h", line 57: Error: Syntax error in pragma.
"pack8.h", line 57: Error: Syntax error in pragma.
"pack8.h", line 57: Error: Missing ')' in #pragma.
"pack8.h", line 57: Error: Syntax error in pragma.
"unpack8.h", line 57: Error: Syntax error in pragma.
"unpack8.h", line 57: Error: Missing ')' in #pragma.
"unpack8.h", line 57: Error: Syntax error in pragma.
"pack8.h", line 57: Error: Syntax error in pragma.
Compilation aborted, too many Error messages.
*** Error code 1
make: Fatal error: Command failed for target `Pulsar.o'

------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
Iometer-user mailing list
Iometer-user@...
https://lists.sourceforge.net/lists/listinfo/iometer-user

Parent Message unknown Re: Problems with dynamo under Solaris 10 SPARC

by Kyle Cummings :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
As an addition to my earlier question, I performed the following and got more information about the crash of dynamo:

# /opt/SUNWspro/bin/dbx dynamo core
For information about new features see `help changes'
To remove this message, put `dbxenv suppress_startup_message 7.6' in your .dbxrc
Reading dynamo
core file header read successfully
Reading ld.so.1
Reading libthread.so.1
Reading librt.so.1
Reading libnsl.so.1
Reading libsocket.so.1
Reading libkstat.so.1
Reading libdl.so.1
Reading libstdc++.so.6.0.3
Reading libm.so.2
Reading libgcc_s.so.1
Reading libc.so.1
Reading libaio.so.1
Reading libmd.so.1
Reading libc_psr.so.1
Reading nss_files.so.1
t@1 (l@1) terminated by signal SEGV (no mapping at the fault address)
0x00024d48: Get_CPU_Counters+0x0008:    ld       [%g1 + 4], %l0

(dbx) regs
current thread: t@1
current frame:  [1]
g0-g3    0x00000000 0x00000000 0x00000000 0x00000000
g4-g7    0xffffffff 0xffbb9912 0x00000000 0xff362a00
o0-o3    0x00000072 0x00000072 0x00000000 0x7270635f
o4-o7    0x80808080 0x01010101 0xffbb9ce8 0xff221d90
l0-l3    0x0015fa60 0x00000000 0xffbfa818 0x00001c88
l4-l7    0x00001c78 0x00000013 0x00000001 0xff238540
i0-i3    0xffbfd100 0x00000001 0x00000000 0xff228248
i4-i7    0x00001c00 0x00002ff0 0xffbb9d58 0x00024aa0
y        0x00000000
ccr      0xfe401000
pc       0x00024d48:Get_CPU_Counters+0x8        ld       [%g1 + 4], %l0
npc      0x00024d4c:Get_CPU_Counters+0xc        cmp      %l0, 0
(dbx)


------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
Iometer-user mailing list
Iometer-user@...
https://lists.sourceforge.net/lists/listinfo/iometer-user

Parent Message unknown Re: Problems with dynamo under Solaris 10 SPARC

by Kyle Cummings :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
I was able to find the updated pack8.h and unpack8.h.  These reduced the errors I saw during compile.  Here is what I see now:

# make -f Makefile-Solaris.sparc clean
/bin/rm -f IOGlobals.o  Pulsar.o  IOManager.o IOManagerLinux.o IOManagerSolaris.o  IOGrunt.o  IOTarget.o IOTargetDisk.o IOTargetTCP.o  IOPort.o IOPortTCP.o  Network.o NetTCP.o  ByteOrder.o  IOPerformance.o IOPerformanceLinux.o  IOTime.o  IOCQAIO.o IOCompletionQ.o  IOAccess.o dynamo
[root@db10:/opt/kyle/iometer2/iometer-2008-06-22-rc2/src]: make -f Makefile-Solaris.sparc all
g++ -O  -Wall  -DIOMTR_OSFAMILY_UNIX -DIOMTR_OS_SOLARIS  -DIOMTR_CPU_SPARC  -D_LARGEFILE64_SOURCE  -D_REENTRANT  -DUSE_NEW_DISCOVERY_MECHANISM -DFORCE_STRUCT_ALIGN  -DNOMINMAX -c IOGlobals.cpp
g++ -O  -Wall  -DIOMTR_OSFAMILY_UNIX -DIOMTR_OS_SOLARIS  -DIOMTR_CPU_SPARC  -D_LARGEFILE64_SOURCE  -D_REENTRANT  -DUSE_NEW_DISCOVERY_MECHANISM -DFORCE_STRUCT_ALIGN  -DNOMINMAX -c Pulsar.cpp
Pulsar.cpp: In function `int main(int, char**)':
Pulsar.cpp:374: warning: statement has no effect
g++ -O  -Wall  -DIOMTR_OSFAMILY_UNIX -DIOMTR_OS_SOLARIS  -DIOMTR_CPU_SPARC  -D_LARGEFILE64_SOURCE  -D_REENTRANT  -DUSE_NEW_DISCOVERY_MECHANISM -DFORCE_STRUCT_ALIGN  -DNOMINMAX -c IOManager.cpp
g++ -O  -Wall  -DIOMTR_OSFAMILY_UNIX -DIOMTR_OS_SOLARIS  -DIOMTR_CPU_SPARC  -D_LARGEFILE64_SOURCE  -D_REENTRANT  -DUSE_NEW_DISCOVERY_MECHANISM -DFORCE_STRUCT_ALIGN  -DNOMINMAX -c IOManagerLinux.cpp
g++ -O  -Wall  -DIOMTR_OSFAMILY_UNIX -DIOMTR_OS_SOLARIS  -DIOMTR_CPU_SPARC  -D_LARGEFILE64_SOURCE  -D_REENTRANT  -DUSE_NEW_DISCOVERY_MECHANISM -DFORCE_STRUCT_ALIGN  -DNOMINMAX -c IOManagerSolaris.cpp
g++ -O  -Wall  -DIOMTR_OSFAMILY_UNIX -DIOMTR_OS_SOLARIS  -DIOMTR_CPU_SPARC  -D_LARGEFILE64_SOURCE  -D_REENTRANT  -DUSE_NEW_DISCOVERY_MECHANISM -DFORCE_STRUCT_ALIGN  -DNOMINMAX -c IOGrunt.cpp
g++ -O  -Wall  -DIOMTR_OSFAMILY_UNIX -DIOMTR_OS_SOLARIS  -DIOMTR_CPU_SPARC  -D_LARGEFILE64_SOURCE  -D_REENTRANT  -DUSE_NEW_DISCOVERY_MECHANISM -DFORCE_STRUCT_ALIGN  -DNOMINMAX -c IOTarget.cpp
g++ -O  -Wall  -DIOMTR_OSFAMILY_UNIX -DIOMTR_OS_SOLARIS  -DIOMTR_CPU_SPARC  -D_LARGEFILE64_SOURCE  -D_REENTRANT  -DUSE_NEW_DISCOVERY_MECHANISM -DFORCE_STRUCT_ALIGN  -DNOMINMAX -c IOTargetDisk.cpp
g++ -O  -Wall  -DIOMTR_OSFAMILY_UNIX -DIOMTR_OS_SOLARIS  -DIOMTR_CPU_SPARC  -D_LARGEFILE64_SOURCE  -D_REENTRANT  -DUSE_NEW_DISCOVERY_MECHANISM -DFORCE_STRUCT_ALIGN  -DNOMINMAX -c IOTargetTCP.cpp
g++ -O  -Wall  -DIOMTR_OSFAMILY_UNIX -DIOMTR_OS_SOLARIS  -DIOMTR_CPU_SPARC  -D_LARGEFILE64_SOURCE  -D_REENTRANT  -DUSE_NEW_DISCOVERY_MECHANISM -DFORCE_STRUCT_ALIGN  -DNOMINMAX -c IOPort.cpp
g++ -O  -Wall  -DIOMTR_OSFAMILY_UNIX -DIOMTR_OS_SOLARIS  -DIOMTR_CPU_SPARC  -D_LARGEFILE64_SOURCE  -D_REENTRANT  -DUSE_NEW_DISCOVERY_MECHANISM -DFORCE_STRUCT_ALIGN  -DNOMINMAX -c IOPortTCP.cpp
g++ -O  -Wall  -DIOMTR_OSFAMILY_UNIX -DIOMTR_OS_SOLARIS  -DIOMTR_CPU_SPARC  -D_LARGEFILE64_SOURCE  -D_REENTRANT  -DUSE_NEW_DISCOVERY_MECHANISM -DFORCE_STRUCT_ALIGN  -DNOMINMAX -c Network.cpp
g++ -O  -Wall  -DIOMTR_OSFAMILY_UNIX -DIOMTR_OS_SOLARIS  -DIOMTR_CPU_SPARC  -D_LARGEFILE64_SOURCE  -D_REENTRANT  -DUSE_NEW_DISCOVERY_MECHANISM -DFORCE_STRUCT_ALIGN  -DNOMINMAX -c NetTCP.cpp
g++ -O  -Wall  -DIOMTR_OSFAMILY_UNIX -DIOMTR_OS_SOLARIS  -DIOMTR_CPU_SPARC  -D_LARGEFILE64_SOURCE  -D_REENTRANT  -DUSE_NEW_DISCOVERY_MECHANISM -DFORCE_STRUCT_ALIGN  -DNOMINMAX -c ByteOrder.cpp
g++ -O  -Wall  -DIOMTR_OSFAMILY_UNIX -DIOMTR_OS_SOLARIS  -DIOMTR_CPU_SPARC  -D_LARGEFILE64_SOURCE  -D_REENTRANT  -DUSE_NEW_DISCOVERY_MECHANISM -DFORCE_STRUCT_ALIGN  -DNOMINMAX -c IOPerformance.cpp
g++ -O  -Wall  -DIOMTR_OSFAMILY_UNIX -DIOMTR_OS_SOLARIS  -DIOMTR_CPU_SPARC  -D_LARGEFILE64_SOURCE  -D_REENTRANT  -DUSE_NEW_DISCOVERY_MECHANISM -DFORCE_STRUCT_ALIGN  -DNOMINMAX -c IOPerformanceLinux.cpp
g++ -O  -Wall  -DIOMTR_OSFAMILY_UNIX -DIOMTR_OS_SOLARIS  -DIOMTR_CPU_SPARC  -D_LARGEFILE64_SOURCE  -D_REENTRANT  -DUSE_NEW_DISCOVERY_MECHANISM -DFORCE_STRUCT_ALIGN  -DNOMINMAX -c IOTime.cpp
g++ -O  -Wall  -DIOMTR_OSFAMILY_UNIX -DIOMTR_OS_SOLARIS  -DIOMTR_CPU_SPARC  -D_LARGEFILE64_SOURCE  -D_REENTRANT  -DUSE_NEW_DISCOVERY_MECHANISM -DFORCE_STRUCT_ALIGN  -DNOMINMAX -c IOCQAIO.cpp
g++ -O  -Wall  -DIOMTR_OSFAMILY_UNIX -DIOMTR_OS_SOLARIS  -DIOMTR_CPU_SPARC  -D_LARGEFILE64_SOURCE  -D_REENTRANT  -DUSE_NEW_DISCOVERY_MECHANISM -DFORCE_STRUCT_ALIGN  -DNOMINMAX -c IOCompletionQ.cpp
g++ -O  -Wall  -DIOMTR_OSFAMILY_UNIX -DIOMTR_OS_SOLARIS  -DIOMTR_CPU_SPARC  -D_LARGEFILE64_SOURCE  -D_REENTRANT  -DUSE_NEW_DISCOVERY_MECHANISM -DFORCE_STRUCT_ALIGN  -DNOMINMAX -c IOAccess.cpp
g++ -O  -Wall  -DIOMTR_OSFAMILY_UNIX -DIOMTR_OS_SOLARIS  -DIOMTR_CPU_SPARC  -D_LARGEFILE64_SOURCE  -D_REENTRANT  -DUSE_NEW_DISCOVERY_MECHANISM -DFORCE_STRUCT_ALIGN  -DNOMINMAX -o dynamo IOGlobals.o  Pulsar.o  IOManager.o IOManagerLinux.o IOManagerSolaris.o  IOGrunt.o  IOTarget.o IOTargetDisk.o IOTargetTCP.o  IOPort.o IOPortTCP.o  Network.o NetTCP.o  ByteOrder.o  IOPerformance.o IOPerformanceLinux.o  IOTime.o  IOCQAIO.o IOCompletionQ.o  IOAccess.o -lthread -lposix4 -lnsl -lsocket -lkstat -ldl
#

The problem is that I still get the crash when dynamo is running.  The output from dbx is still the same as before.

Worker 0 running Access Spec: 16K; 100% Read; 0% random
Access specifications for test defined.
Grunt: Growing grunt data buffer from 16384 to 16384
Worker 0 running Access Spec: 16K; 100% Read; 0% random
Access specifications for test defined.
Grunt: Grunt data buffer size 16384 >= 16384, returning
Worker 1 running Access Spec: 16K; 100% Read; 0% random
Access specifications for test defined.
Grunt: Growing grunt data buffer from 16384 to 16384
Worker 2 running Access Spec: 16K; 100% Read; 0% random
Access specifications for test defined.
Grunt: Growing grunt data buffer from 16384 to 16384
Worker 3 running Access Spec: 16K; 100% Read; 0% random
Access specifications for test defined.
Grunt: Growing grunt data buffer from 16384 to 16384
Worker 0 setting targets...
Worker 1 setting targets...
   clearing target list.
Worker 2 setting targets...
   clearing target list.
Worker 3 setting targets...
   clearing target list.
Starting...
   Opening targets.
Beginning to perform I/O...
Segmentation Fault (core dumped)

# /opt/SUNWspro/bin/dbx dynamo core
For information about new features see `help changes'
To remove this message, put `dbxenv suppress_startup_message 7.6' in your .dbxrc
Reading dynamo
core file header read successfully
Reading ld.so.1
Reading libthread.so.1
Reading librt.so.1
Reading libnsl.so.1
Reading libsocket.so.1
Reading libkstat.so.1
Reading libdl.so.1
Reading libstdc++.so.6.0.3
Reading libm.so.2
Reading libgcc_s.so.1
Reading libc.so.1
Reading libaio.so.1
Reading libmd.so.1
Reading libc_psr.so.1
Reading nss_files.so.1
t@1 (l@1) terminated by signal SEGV (no mapping at the fault address)
0x00024d48: Get_CPU_Counters+0x0008:    ld       [%g1 + 4], %l0
(dbx)





------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
Iometer-user mailing list
Iometer-user@...
https://lists.sourceforge.net/lists/listinfo/iometer-user

pack8.h (5K) Download Attachment
unpack8.h (5K) Download Attachment

Parent Message unknown Re: Problems with dynamo under Solaris 10 SPARC

by Kyle Cummings :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
I am tracing the dynamo program now and here is what I see with dbx and dynamo.

Successful PortTCP::Connect
  - port name: 10.10.20.139

*** If dynamo and iometer hangs here, please make sure
*** you use a correct -m <manager_computer_name> that
*** can ping from iometer machine. use IP if need.
   Login accepted.
Reporting drive information...
  Logical drives (mounted filesystems)...
Read from unallocated (rua) on thread 1:
Attempting to read 4 bytes at address 0xfdef0010
t@1 (l@1) stopped in convert_mntent at 0xe0949750
0xe0949750: convert_mntent+0x0004:      ba,a     0xe0599394     ! 0xe0599394
(dbx) where
current thread: t@1
=>[1] convert_mntent(0xfdef0000, 0xffbb9a70, 0x0, 0xf21d7488, 0x2af50, 0xf61d4), at 0xe0949750
  [2] _getmntent(0xe0a43454, 0xffbb9a70, 0xf61d4, 0xf2122ab4, 0x3da30, 0x6c00), at 0xe0949568
  [3] Manager::Report_Disks(0xffbb9ed0, 0xffbc41f8, 0x18, 0xe0a43454, 0x10000003, 0x10000003), at 0x1a188
  [4] Manager::Process_Message(0xffbb9ed0, 0x3, 0x2, 0x2, 0x1, 0x0), at 0x18768
  [5] Manager::Run(0xffbb9ed0, 0xffbb9e50, 0x42a, 0x5009e38, 0x1, 0x0), at 0x18584
  [6] main(0x5, 0xffbff8b4, 0xffbff840, 0x3a000, 0xff3a0200, 0x0), at 0x15d28
(dbx)


------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
Iometer-user mailing list
Iometer-user@...
https://lists.sourceforge.net/lists/listinfo/iometer-user

Re: Problems with dynamo under Solaris 10 SPARC

by Vedran Degoricija :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
From the look of it, the failure is occuring in the getmntent api. Since all of the params to that function are not derived from the common IOmeter/Dynamo data, I could not offer any additional advice here.
 
It appears your original problems had to do with the structure packing, and it sounds like you resolved it. But please ensure that it is in fact correct.
 
I added the #pragma directives recently in order to simplify the varying structure member alignments imposed by different compilers on different operating systems/architectures. It seems to have worked so far, but I wrapped the fixes in a conditional compile time define, so if you don't use it you will be broken. I believe I updated all of the makefiles to use those new defines, but it is possible I missed something.  Still, based on the above failure, I cannot connect it with the packing change.
 
I don't know if anyone else can chime in here on whether they had built and ran solaris binaries successfully.
 
Regards,
Ved


From: Kyle Cummings <jkcummi@...>
To: iometer-user@...
Sent: Wednesday, May 6, 2009 10:58:11 AM
Subject: Re: [Iometer-user] Problems with dynamo under Solaris 10 SPARC

I am tracing the dynamo program now and here is what I see with dbx and dynamo.

Successful PortTCP::Connect
  - port name: 10.10.20.139

*** If dynamo and iometer hangs here, please make sure
*** you use a correct -m <manager_computer_name> that
*** can ping from iometer machine. use IP if need.
   Login accepted.
Reporting drive information...
  Logical drives (mounted filesystems)...
Read from unallocated (rua) on thread 1:
Attempting to read 4 bytes at address 0xfdef0010
t@1 (l@1) stopped in convert_mntent at 0xe0949750
0xe0949750: convert_mntent+0x0004:      ba,a     0xe0599394     ! 0xe0599394
(dbx) where
current thread: t@1
=>[1] convert_mntent(0xfdef0000, 0xffbb9a70, 0x0, 0xf21d7488, 0x2af50, 0xf61d4), at 0xe0949750
  [2] _getmntent(0xe0a43454, 0xffbb9a70, 0xf61d4, 0xf2122ab4, 0x3da30, 0x6c00), at 0xe0949568
  [3] Manager::Report_Disks(0xffbb9ed0, 0xffbc41f8, 0x18, 0xe0a43454, 0x10000003, 0x10000003), at 0x1a188
  [4] Manager::Process_Message(0xffbb9ed0, 0x3, 0x2, 0x2, 0x1, 0x0), at 0x18768
  [5] Manager::Run(0xffbb9ed0, 0xffbb9e50, 0x42a, 0x5009e38, 0x1, 0x0), at 0x18584
  [6] main(0x5, 0xffbff8b4, 0xffbff840, 0x3a000, 0xff3a0200, 0x0), at 0x15d28
(dbx)



------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
Iometer-user mailing list
Iometer-user@...
https://lists.sourceforge.net/lists/listinfo/iometer-user