|
View:
New views
5 Messages
—
Rating Filter:
Alert me
|
|
|
Problems with dynamo under Solaris 10 SPARCAll, 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 |
|
|
|
|
|
|
|
|
|
|
|
Re: Problems with dynamo under Solaris 10 SPARCFrom 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 |
| Free embeddable forum powered by Nabble | Forum Help |