From diwaker.lists at gmail.com Mon Jul 2 03:06:58 2007 From: diwaker.lists at gmail.com (Diwaker Gupta) Date: Mon, 2 Jul 2007 00:06:58 -0700 Subject: [Disksim-users] Problem compiling 3.0 Message-ID: <891be9410707020006i56e0c0f2icd5b21888b588b56@mail.gmail.com> I'm having trouble compiling disksim 3.0: First, I tried compiling on an updated Linux box running Ubuntu Feisty, with gcc 4.1.2. Following is part of the errors I get: modules/disksim_stats_param.h:8: warning: 'struct lp_block' declared inside parameter list modules/disksim_stats_param.h:21: error: array type has incomplete element type modules/disksim_stats_param.h:30: error: variable 'disksim_stats_mod' has initializer but incomplete type modules/disksim_stats_param.h:30: warning: excess elements in struct initializer modules/disksim_stats_param.h:30: warning: (near initialization for 'disksim_stats_mod') modules/disksim_stats_param.h:30: warning: excess elements in struct initializer modules/disksim_stats_param.h:30: warning: (near initialization for 'disksim_stats_mod') modules/disksim_stats_param.h:30: warning: excess elements in struct initializer modules/disksim_stats_param.h:30: warning: (near initialization for 'disksim_stats_mod') modules/disksim_stats_param.h:30: warning: excess elements in struct initializer modules/disksim_stats_param.h:30: warning: (near initialization for 'disksim_stats_mod') modules/disksim_stats_param.h:30: error: expected '}' before 'disksim_stats_loadparams' In file included from modules/modules.h:26, from config.h:37, from disksim.c:105: modules/disksim_syncset_param.h:8: warning: 'struct lp_block' declared inside parameter list modules/disksim_syncset_param.h:18: error: array type has incomplete element type modules/disksim_syncset_param.h:24: error: variable 'disksim_syncset_mod' has initializer but incomplete type modules/disksim_syncset_param.h:24: warning: excess elements in struct initializer modules/disksim_syncset_param.h:24: warning: (near initialization for 'disksim_syncset_mod') modules/disksim_syncset_param.h:24: warning: excess elements in struct initializer modules/disksim_syncset_param.h:24: warning: (near initialization for 'disksim_syncset_mod') modules/disksim_syncset_param.h:24: warning: excess elements in struct initializer modules/disksim_syncset_param.h:24: warning: (near initialization for 'disksim_syncset_mod') modules/disksim_syncset_param.h:24: warning: excess elements in struct initializer modules/disksim_syncset_param.h:24: warning: (near initialization for 'disksim_syncset_mod') modules/disksim_syncset_param.h:24: error: expected '}' before 'disksim_syncset_loadparams' In file included from modules/modules.h:27, from config.h:37, from disksim.c:105: modules/disksim_synthgen_param.h:8: warning: 'struct lp_block' declared inside parameter list modules/disksim_synthgen_param.h:30: error: array type has incomplete element type modules/disksim_synthgen_param.h:48: error: variable 'disksim_synthgen_mod' has initializer but incomplete type modules/disksim_synthgen_param.h:48: warning: excess elements in struct initializer modules/disksim_synthgen_param.h:48: warning: (near initialization for 'disksim_synthgen_mod') modules/disksim_synthgen_param.h:48: warning: excess elements in struct initializer modules/disksim_synthgen_param.h:48: warning: (near initialization for 'disksim_synthgen_mod') modules/disksim_synthgen_param.h:48: warning: excess elements in struct initializer modules/disksim_synthgen_param.h:48: warning: (near initialization for 'disksim_synthgen_mod') modules/disksim_synthgen_param.h:48: warning: excess elements in struct initializer modules/disksim_synthgen_param.h:48: warning: (near initialization for 'disksim_synthgen_mod') modules/disksim_synthgen_param.h:48: error: expected '}' before 'disksim_synthgen_loadparams' In file included from modules/modules.h:28, from config.h:37, from disksim.c:105: modules/disksim_synthio_param.h:8: warning: 'struct lp_block' declared inside parameter list modules/disksim_synthio_param.h:22: error: array type has incomplete element type modules/disksim_synthio_param.h:32: error: variable 'disksim_synthio_mod' has initializer but incomplete type modules/disksim_synthio_param.h:32: warning: excess elements in struct initializer modules/disksim_synthio_param.h:32: warning: (near initialization for 'disksim_synthio_mod') modules/disksim_synthio_param.h:32: warning: excess elements in struct initializer modules/disksim_synthio_param.h:32: warning: (near initialization for 'disksim_synthio_mod') modules/disksim_synthio_param.h:32: warning: excess elements in struct initializer modules/disksim_synthio_param.h:32: warning: (near initialization for 'disksim_synthio_mod') modules/disksim_synthio_param.h:32: warning: excess elements in struct initializer modules/disksim_synthio_param.h:32: warning: (near initialization for 'disksim_synthio_mod') modules/disksim_synthio_param.h:32: error: expected '}' before 'disksim_synthio_loadparams' disksim.c: In function 'addtointq': disksim.c:286: warning: passing argument 4 of 'ddbg_assert_msg' discards qualifiers from pointer target type disksim.c:286: warning: passing argument 4 of 'ddbg_assert_fail' discards qualifiers from pointer target type disksim.c:296: warning: passing argument 4 of 'ddbg_assert_msg' discards qualifiers from pointer target type disksim.c:296: warning: passing argument 4 of 'ddbg_assert_fail' discards qualifiers from pointer target type disksim.c: At top level: disksim.c:489: warning: 'struct lp_block' declared inside parameter list disksim.c:490: error: conflicting types for 'disksim_global_loadparams' modules/disksim_global_param.h:8: error: previous declaration of 'disksim_global_loadparams' was here In file included from disksim.c:492: modules/disksim_global_param.c: In function 'disksim_global_loadparams': modules/disksim_global_param.c:8: warning: implicit declaration of function 'BITVECTOR' modules/disksim_global_param.c:8: error: 'paramvec' undeclared (first use in this function) modules/disksim_global_param.c:8: error: (Each undeclared identifier is reported only once modules/disksim_global_param.c:8: error: for each function it appears in.) modules/disksim_global_param.c:9: warning: implicit declaration of function 'bit_zero' modules/disksim_global_param.c:11: error: dereferencing pointer to incomplete type modules/disksim_global_param.c:19: error: dereferencing pointer to incomplete type modules/disksim_global_param.c:22: warning: implicit declaration of function 'lp_param_name' modules/disksim_global_param.c:22: warning: implicit declaration of function 'lp_mod_name' modules/disksim_global_param.c:22: error: dereferencing pointer to incomplete type modules/disksim_global_param.c:25: warning: implicit declaration of function 'BIT_TEST' modules/disksim_global_param.c:29: error: dereferencing pointer to incomplete type modules/disksim_global_param.c:30: error: dereferencing pointer to incomplete type modules/disksim_global_param.c:37: warning: implicit declaration of function 'PTYPE' modules/disksim_global_param.c:37: error: dereferencing pointer to incomplete type modules/disksim_global_param.c:38: warning: implicit declaration of function 'IVAL' modules/disksim_global_param.c:38: error: dereferencing pointer to incomplete type modules/disksim_global_param.c:39: warning: implicit declaration of function 'DVAL' modules/disksim_global_param.c:39: error: dereferencing pointer to incomplete type modules/disksim_global_param.c:40: warning: implicit declaration of function 'SVAL' modules/disksim_global_param.c:40: error: dereferencing pointer to incomplete type modules/disksim_global_param.c:40: warning: assignment makes pointer from integer without a cast modules/disksim_global_param.c:41: warning: implicit declaration of function 'LVAL' modules/disksim_global_param.c:41: error: dereferencing pointer to incomplete type modules/disksim_global_param.c:41: warning: assignment makes pointer from integer without a cast modules/disksim_global_param.c:42: warning: implicit declaration of function 'BVAL' modules/disksim_global_param.c:42: error: dereferencing pointer to incomplete type modules/disksim_global_param.c:42: warning: assignment makes pointer from integer without a cast modules/disksim_global_param.c:54: warning: implicit declaration of function 'RANGE' modules/disksim_global_param.c:54: warning: implicit declaration of function 'BADVALMSG' modules/disksim_global_param.c:54: error: dereferencing pointer to incomplete type modules/disksim_global_param.c:65: error: dereferencing pointer to incomplete type modules/disksim_global_param.c:72: error: dereferencing pointer to incomplete type modules/disksim_global_param.c:82: error: dereferencing pointer to incomplete type modules/disksim_global_param.c:90: warning: passing argument 4 of 'ddbg_assert_msg' discards qualifiers from pointer target type modules/disksim_global_param.c:90: warning: passing argument 4 of 'ddbg_assert_fail' discards qualifiers from pointer target type modules/disksim_global_param.c:94: error: dereferencing pointer to incomplete type modules/disksim_global_param.c:101: warning: implicit declaration of function 'BIT_SET' modules/disksim_global_param.c:106: error: missing terminating " character modules/disksim_global_param.c:107: error: missing terminating " character modules/disksim_global_param.c:108: error: expected expression before 'return' modules/disksim_global_param.c:109: error: expected ';' before '}' token In file included from disksim.c:492: modules/disksim_global_param.c:113:2: warning: no newline at end of file disksim.c: In function 'disksim_setup_disksim': disksim.c:941: warning: implicit declaration of function 'iosim_initialize_iosim_info' make[1]: *** [disksim.o] Error 1 make[1]: Leaving directory `/tmp/disksim-3.0/src' I then tried compiling on a machine running CentOS 4.4 with gcc 3.4.6. This time I get errors like these: modules/disksim_synthio_param.h:8: warning: "struct lp_block" declared inside parameter list modules/disksim_synthio_param.h:22: error: elements of array `disksim_synthio_params' have incomplete type modules/disksim_synthio_param.h:23: warning: excess elements in struct initializer modules/disksim_synthio_param.h:23: warning: (near initialization for `disksim_synthio_params[0]') modules/disksim_synthio_param.h:23: warning: excess elements in struct initializer modules/disksim_synthio_param.h:23: warning: (near initialization for `disksim_synthio_params[0]') modules/disksim_synthio_param.h:23: warning: excess elements in struct initializer modules/disksim_synthio_param.h:23: warning: (near initialization for `disksim_synthio_params[0]') modules/disksim_synthio_param.h:24: warning: excess elements in struct initializer modules/disksim_synthio_param.h:24: warning: (near initialization for `disksim_synthio_params[1]') modules/disksim_synthio_param.h:24: warning: excess elements in struct initializer modules/disksim_synthio_param.h:24: warning: (near initialization for `disksim_synthio_params[1]') modules/disksim_synthio_param.h:24: warning: excess elements in struct initializer modules/disksim_synthio_param.h:24: warning: (near initialization for `disksim_synthio_params[1]') modules/disksim_synthio_param.h:25: warning: excess elements in struct initializer modules/disksim_synthio_param.h:25: warning: (near initialization for `disksim_synthio_params[2]') modules/disksim_synthio_param.h:25: warning: excess elements in struct initializer modules/disksim_synthio_param.h:25: warning: (near initialization for `disksim_synthio_params[2]') modules/disksim_synthio_param.h:25: warning: excess elements in struct initializer modules/disksim_synthio_param.h:25: warning: (near initialization for `disksim_synthio_params[2]') modules/disksim_synthio_param.h:26: warning: excess elements in struct initializer modules/disksim_synthio_param.h:26: warning: (near initialization for `disksim_synthio_params[3]') modules/disksim_synthio_param.h:26: warning: excess elements in struct initializer modules/disksim_synthio_param.h:26: warning: (near initialization for `disksim_synthio_params[3]') modules/disksim_synthio_param.h:26: warning: excess elements in struct initializer modules/disksim_synthio_param.h:26: warning: (near initialization for `disksim_synthio_params[3]') modules/disksim_synthio_param.h:27: warning: excess elements in struct initializer modules/disksim_synthio_param.h:27: warning: (near initialization for `disksim_synthio_params[4]') modules/disksim_synthio_param.h:27: warning: excess elements in struct initializer modules/disksim_synthio_param.h:27: warning: (near initialization for `disksim_synthio_params[4]') modules/disksim_synthio_param.h:27: warning: excess elements in struct initializer modules/disksim_synthio_param.h:27: warning: (near initialization for `disksim_synthio_params[4]') modules/disksim_synthio_param.h:28: warning: excess elements in struct initializer modules/disksim_synthio_param.h:28: warning: (near initialization for `disksim_synthio_params[5]') modules/disksim_synthio_param.h:28: warning: excess elements in struct initializer modules/disksim_synthio_param.h:28: warning: (near initialization for `disksim_synthio_params[5]') modules/disksim_synthio_param.h:28: warning: excess elements in struct initializer modules/disksim_synthio_param.h:28: warning: (near initialization for `disksim_synthio_params[5]') modules/disksim_synthio_param.h:29: warning: excess elements in struct initializer modules/disksim_synthio_param.h:29: warning: (near initialization for `disksim_synthio_params[6]') modules/disksim_synthio_param.h:29: warning: excess elements in struct initializer modules/disksim_synthio_param.h:29: warning: (near initialization for `disksim_synthio_params[6]') modules/disksim_synthio_param.h:29: warning: excess elements in struct initializer modules/disksim_synthio_param.h:29: warning: (near initialization for `disksim_synthio_params[6]') modules/disksim_synthio_param.h:32: error: variable `disksim_synthio_mod' has initializer but incomplete type modules/disksim_synthio_param.h:32: warning: excess elements in struct initializer modules/disksim_synthio_param.h:32: warning: (near initialization for `disksim_synthio_mod') modules/disksim_synthio_param.h:32: warning: excess elements in struct initializer modules/disksim_synthio_param.h:32: warning: (near initialization for `disksim_synthio_mod') modules/disksim_synthio_param.h:32: warning: excess elements in struct initializer modules/disksim_synthio_param.h:32: warning: (near initialization for `disksim_synthio_mod') modules/disksim_synthio_param.h:32: warning: excess elements in struct initializer modules/disksim_synthio_param.h:32: warning: (near initialization for `disksim_synthio_mod') modules/disksim_synthio_param.h:32: error: syntax error before "disksim_synthio_loadparams" modules/disksim_synthio_param.h:32: warning: excess elements in struct initializer modules/disksim_synthio_param.h:32: warning: (near initialization for `disksim_synthio_mod') modules/disksim_synthio_param.h:32: warning: excess elements in struct initializer modules/disksim_synthio_param.h:32: warning: (near initialization for `disksim_synthio_mod') disksim.c: In function `addtointq': disksim.c:286: warning: passing arg 4 of `ddbg_assert_msg' discards qualifiers from pointer target type disksim.c:286: warning: passing arg 4 of `ddbg_assert_fail' discards qualifiers from pointer target type disksim.c:296: warning: passing arg 4 of `ddbg_assert_msg' discards qualifiers from pointer target type disksim.c:296: warning: passing arg 4 of `ddbg_assert_fail' discards qualifiers from pointer target type disksim.c: At top level: disksim.c:489: warning: "struct lp_block" declared inside parameter list disksim.c:490: error: conflicting types for 'disksim_global_loadparams' modules/disksim_global_param.h:8: error: previous declaration of 'disksim_global_loadparams' was here disksim.c:490: error: conflicting types for 'disksim_global_loadparams' modules/disksim_global_param.h:8: error: previous declaration of 'disksim_global_loadparams' was here In file included from disksim.c:492: modules/disksim_global_param.c: In function `disksim_global_loadparams': modules/disksim_global_param.c:8: warning: implicit declaration of function `BITVECTOR' modules/disksim_global_param.c:8: error: `paramvec' undeclared (first use in this function) modules/disksim_global_param.c:8: error: (Each undeclared identifier is reported only once modules/disksim_global_param.c:8: error: for each function it appears in.) modules/disksim_global_param.c:9: warning: implicit declaration of function `bit_zero' modules/disksim_global_param.c:11: error: dereferencing pointer to incomplete type modules/disksim_global_param.c:20: error: dereferencing pointer to incomplete type modules/disksim_global_param.c:25: warning: implicit declaration of function `lp_param_name' modules/disksim_global_param.c:25: warning: implicit declaration of function `lp_mod_name' modules/disksim_global_param.c:25: error: dereferencing pointer to incomplete type modules/disksim_global_param.c:28: warning: implicit declaration of function `BIT_TEST' modules/disksim_global_param.c:34: error: dereferencing pointer to incomplete type modules/disksim_global_param.c:38: error: dereferencing pointer to incomplete type modules/disksim_global_param.c:45: warning: implicit declaration of function `PTYPE' modules/disksim_global_param.c:45: error: dereferencing pointer to incomplete type modules/disksim_global_param.c:48: warning: implicit declaration of function `IVAL' modules/disksim_global_param.c:48: error: dereferencing pointer to incomplete type modules/disksim_global_param.c:51: warning: implicit declaration of function `DVAL' modules/disksim_global_param.c:51: error: dereferencing pointer to incomplete type modules/disksim_global_param.c:54: warning: implicit declaration of function `SVAL' modules/disksim_global_param.c:54: error: dereferencing pointer to incomplete type modules/disksim_global_param.c:54: warning: assignment makes pointer from integer without a cast modules/disksim_global_param.c:57: warning: implicit declaration of function `LVAL' modules/disksim_global_param.c:57: error: dereferencing pointer to incomplete type modules/disksim_global_param.c:57: warning: assignment makes pointer from integer without a cast modules/disksim_global_param.c:60: warning: implicit declaration of function `BVAL' modules/disksim_global_param.c:60: error: dereferencing pointer to incomplete type modules/disksim_global_param.c:60: warning: assignment makes pointer from integer without a cast modules/disksim_global_param.c:75: warning: implicit declaration of function `RANGE' modules/disksim_global_param.c:77: warning: implicit declaration of function `BADVALMSG' modules/disksim_global_param.c:77: error: dereferencing pointer to incomplete type modules/disksim_global_param.c:98: error: dereferencing pointer to incomplete type modules/disksim_global_param.c:111: error: dereferencing pointer to incomplete type modules/disksim_global_param.c:126: error: dereferencing pointer to incomplete type modules/disksim_global_param.c:138: warning: passing arg 4 of `ddbg_assert_msg' discards qualifiers from pointer target type modules/disksim_global_param.c:138: warning: passing arg 4 of `ddbg_assert_fail' discards qualifiers from pointer target type modules/disksim_global_param.c:145: error: dereferencing pointer to incomplete type modules/disksim_global_param.c:158: warning: implicit declaration of function `BIT_SET' modules/disksim_global_param.c:168: error: invalid use of undefined type `struct lp_varspec' modules/disksim_global_param.c:170: error: missing terminating " character modules/disksim_global_param.c:171: error: missing terminating " character modules/disksim_global_param.c:172: error: `name' undeclared (first use in this function) disksim.c: In function `disksim_setup_disksim': disksim.c:941: warning: implicit declaration of function `iosim_initialize_iosim_info' disksim.c: At top level: modules/disksim_bus_param.h:32: error: storage size of `disksim_bus_mod' isn't known modules/disksim_bus_stats_param.h:24: error: storage size of `disksim_bus_stats_mod' isn't known modules/disksim_cachedev_param.h:36: error: storage size of `disksim_cachedev_mod' isn't known modules/disksim_cachemem_param.h:56: error: storage size of `disksim_cachemem_mod' isn't known modules/disksim_ctlr_param.h:36: error: storage size of `disksim_ctlr_mod' isn't known modules/disksim_ctlr_stats_param.h:44: error: storage size of `disksim_ctlr_stats_mod' isn't known modules/disksim_device_param.h:17: error: storage size of `disksim_device_mod' isn't known modules/disksim_device_stats_param.h:42: error: storage size of `disksim_device_stats_mod' isn't known modules/disksim_disk_param.h:150: error: storage size of `disksim_disk_mod' isn't known modules/disksim_global_param.h:36: error: storage size of `disksim_global_mod' isn't known modules/disksim_iodriver_param.h:28: error: storage size of `disksim_iodriver_mod' isn't known modules/disksim_iodriver_stats_param.h:42: error: storage size of `disksim_iodriver_stats_mod' isn't known modules/disksim_iomap_param.h:30: error: storage size of `disksim_iomap_mod' isn't known modules/disksim_ioqueue_param.h:46: error: storage size of `disksim_ioqueue_mod' isn't known modules/disksim_iosim_param.h:24: error: storage size of `disksim_iosim_mod' isn't known modules/disksim_logorg_param.h:52: error: storage size of `disksim_logorg_mod' isn't known modules/disksim_pf_param.h:24: error: storage size of `disksim_pf_mod' isn't known modules/disksim_pf_stats_param.h:28: error: storage size of `disksim_pf_stats_mod' isn't known modules/disksim_simpledisk_param.h:40: error: storage size of `disksim_simpledisk_mod' isn't known modules/disksim_stats_param.h:30: error: storage size of `disksim_stats_mod' isn't known modules/disksim_syncset_param.h:24: error: storage size of `disksim_syncset_mod' isn't known modules/disksim_synthgen_param.h:48: error: storage size of `disksim_synthgen_mod' isn't known modules/disksim_synthio_param.h:32: error: storage size of `disksim_synthio_mod' isn't known make[1]: *** [disksim.o] Error 1 make[1]: Leaving directory `/home/dgupta/projects/diecast/disksim-3.0/src' make: *** [all] Error 2 I _do_ have flex and bison installed. Am I missing something obvious here? Thanks, Diwaker -- http://floatingsun.net/ From zgy04 at 126.com Mon Jul 2 04:03:36 2007 From: zgy04 at 126.com (Steve) Date: Mon, 2 Jul 2007 16:03:36 +0800 Subject: [Disksim-users] Problem compiling 3.0 References: <891be9410707020006i56e0c0f2icd5b21888b588b56@mail.gmail.com> Message-ID: <200707021603349345609@126.com> Hello,Diwaker Gupta, please try GCC 2.95.3 first. All the best. ????????Steve ????????zgy04 at 126.com ????????2007-07-02 ======= 2007-07-02 15:07:16 Diwaker Gupta Written: ======= >I'm having trouble compiling disksim 3.0: > >First, I tried compiling on an updated Linux box running Ubuntu >Feisty, with gcc 4.1.2. Following is part of the errors I get: > >modules/disksim_stats_param.h:8: warning: 'struct lp_block' declared >inside parameter list >modules/disksim_stats_param.h:21: error: array type has incomplete element type >modules/disksim_stats_param.h:30: error: variable 'disksim_stats_mod' >has initializer but incomplete type >modules/disksim_stats_param.h:30: warning: excess elements in struct initializer >modules/disksim_stats_param.h:30: warning: (near initialization for >'disksim_stats_mod') >modules/disksim_stats_param.h:30: warning: excess elements in struct initializer >modules/disksim_stats_param.h:30: warning: (near initialization for >'disksim_stats_mod') >modules/disksim_stats_param.h:30: warning: excess elements in struct initializer >modules/disksim_stats_param.h:30: warning: (near initialization for >'disksim_stats_mod') >modules/disksim_stats_param.h:30: warning: excess elements in struct initializer >modules/disksim_stats_param.h:30: warning: (near initialization for >'disksim_stats_mod') >modules/disksim_stats_param.h:30: error: expected '}' before >'disksim_stats_loadparams' >In file included from modules/modules.h:26, > from config.h:37, > from disksim.c:105: >modules/disksim_syncset_param.h:8: warning: 'struct lp_block' declared >inside parameter list >modules/disksim_syncset_param.h:18: error: array type has incomplete >element type >modules/disksim_syncset_param.h:24: error: variable >'disksim_syncset_mod' has initializer but incomplete type >modules/disksim_syncset_param.h:24: warning: excess elements in struct >initializer >modules/disksim_syncset_param.h:24: warning: (near initialization for >'disksim_syncset_mod') >modules/disksim_syncset_param.h:24: warning: excess elements in struct >initializer >modules/disksim_syncset_param.h:24: warning: (near initialization for >'disksim_syncset_mod') >modules/disksim_syncset_param.h:24: warning: excess elements in struct >initializer >modules/disksim_syncset_param.h:24: warning: (near initialization for >'disksim_syncset_mod') >modules/disksim_syncset_param.h:24: warning: excess elements in struct >initializer >modules/disksim_syncset_param.h:24: warning: (near initialization for >'disksim_syncset_mod') >modules/disksim_syncset_param.h:24: error: expected '}' before >'disksim_syncset_loadparams' >In file included from modules/modules.h:27, > from config.h:37, > from disksim.c:105: >modules/disksim_synthgen_param.h:8: warning: 'struct lp_block' >declared inside parameter list >modules/disksim_synthgen_param.h:30: error: array type has incomplete >element type >modules/disksim_synthgen_param.h:48: error: variable >'disksim_synthgen_mod' has initializer but incomplete type >modules/disksim_synthgen_param.h:48: warning: excess elements in >struct initializer >modules/disksim_synthgen_param.h:48: warning: (near initialization for >'disksim_synthgen_mod') >modules/disksim_synthgen_param.h:48: warning: excess elements in >struct initializer >modules/disksim_synthgen_param.h:48: warning: (near initialization for >'disksim_synthgen_mod') >modules/disksim_synthgen_param.h:48: warning: excess elements in >struct initializer >modules/disksim_synthgen_param.h:48: warning: (near initialization for >'disksim_synthgen_mod') >modules/disksim_synthgen_param.h:48: warning: excess elements in >struct initializer >modules/disksim_synthgen_param.h:48: warning: (near initialization for >'disksim_synthgen_mod') >modules/disksim_synthgen_param.h:48: error: expected '}' before >'disksim_synthgen_loadparams' >In file included from modules/modules.h:28, > from config.h:37, > from disksim.c:105: >modules/disksim_synthio_param.h:8: warning: 'struct lp_block' declared >inside parameter list >modules/disksim_synthio_param.h:22: error: array type has incomplete >element type >modules/disksim_synthio_param.h:32: error: variable >'disksim_synthio_mod' has initializer but incomplete type >modules/disksim_synthio_param.h:32: warning: excess elements in struct >initializer >modules/disksim_synthio_param.h:32: warning: (near initialization for >'disksim_synthio_mod') >modules/disksim_synthio_param.h:32: warning: excess elements in struct >initializer >modules/disksim_synthio_param.h:32: warning: (near initialization for >'disksim_synthio_mod') >modules/disksim_synthio_param.h:32: warning: excess elements in struct >initializer >modules/disksim_synthio_param.h:32: warning: (near initialization for >'disksim_synthio_mod') >modules/disksim_synthio_param.h:32: warning: excess elements in struct >initializer >modules/disksim_synthio_param.h:32: warning: (near initialization for >'disksim_synthio_mod') >modules/disksim_synthio_param.h:32: error: expected '}' before >'disksim_synthio_loadparams' >disksim.c: In function 'addtointq': >disksim.c:286: warning: passing argument 4 of 'ddbg_assert_msg' >discards qualifiers from pointer target type >disksim.c:286: warning: passing argument 4 of 'ddbg_assert_fail' >discards qualifiers from pointer target type >disksim.c:296: warning: passing argument 4 of 'ddbg_assert_msg' >discards qualifiers from pointer target type >disksim.c:296: warning: passing argument 4 of 'ddbg_assert_fail' >discards qualifiers from pointer target type >disksim.c: At top level: >disksim.c:489: warning: 'struct lp_block' declared inside parameter list >disksim.c:490: error: conflicting types for 'disksim_global_loadparams' >modules/disksim_global_param.h:8: error: previous declaration of >'disksim_global_loadparams' was here >In file included from disksim.c:492: >modules/disksim_global_param.c: In function 'disksim_global_loadparams': >modules/disksim_global_param.c:8: warning: implicit declaration of >function 'BITVECTOR' >modules/disksim_global_param.c:8: error: 'paramvec' undeclared (first >use in this function) >modules/disksim_global_param.c:8: error: (Each undeclared identifier >is reported only once >modules/disksim_global_param.c:8: error: for each function it appears in.) >modules/disksim_global_param.c:9: warning: implicit declaration of >function 'bit_zero' >modules/disksim_global_param.c:11: error: dereferencing pointer to >incomplete type >modules/disksim_global_param.c:19: error: dereferencing pointer to >incomplete type >modules/disksim_global_param.c:22: warning: implicit declaration of >function 'lp_param_name' >modules/disksim_global_param.c:22: warning: implicit declaration of >function 'lp_mod_name' >modules/disksim_global_param.c:22: error: dereferencing pointer to >incomplete type >modules/disksim_global_param.c:25: warning: implicit declaration of >function 'BIT_TEST' >modules/disksim_global_param.c:29: error: dereferencing pointer to >incomplete type >modules/disksim_global_param.c:30: error: dereferencing pointer to >incomplete type >modules/disksim_global_param.c:37: warning: implicit declaration of >function 'PTYPE' >modules/disksim_global_param.c:37: error: dereferencing pointer to >incomplete type >modules/disksim_global_param.c:38: warning: implicit declaration of >function 'IVAL' >modules/disksim_global_param.c:38: error: dereferencing pointer to >incomplete type >modules/disksim_global_param.c:39: warning: implicit declaration of >function 'DVAL' >modules/disksim_global_param.c:39: error: dereferencing pointer to >incomplete type >modules/disksim_global_param.c:40: warning: implicit declaration of >function 'SVAL' >modules/disksim_global_param.c:40: error: dereferencing pointer to >incomplete type >modules/disksim_global_param.c:40: warning: assignment makes pointer >from integer without a cast >modules/disksim_global_param.c:41: warning: implicit declaration of >function 'LVAL' >modules/disksim_global_param.c:41: error: dereferencing pointer to >incomplete type >modules/disksim_global_param.c:41: warning: assignment makes pointer >from integer without a cast >modules/disksim_global_param.c:42: warning: implicit declaration of >function 'BVAL' >modules/disksim_global_param.c:42: error: dereferencing pointer to >incomplete type >modules/disksim_global_param.c:42: warning: assignment makes pointer >from integer without a cast >modules/disksim_global_param.c:54: warning: implicit declaration of >function 'RANGE' >modules/disksim_global_param.c:54: warning: implicit declaration of >function 'BADVALMSG' >modules/disksim_global_param.c:54: error: dereferencing pointer to >incomplete type >modules/disksim_global_param.c:65: error: dereferencing pointer to >incomplete type >modules/disksim_global_param.c:72: error: dereferencing pointer to >incomplete type >modules/disksim_global_param.c:82: error: dereferencing pointer to >incomplete type >modules/disksim_global_param.c:90: warning: passing argument 4 of >'ddbg_assert_msg' discards qualifiers from pointer target type >modules/disksim_global_param.c:90: warning: passing argument 4 of >'ddbg_assert_fail' discards qualifiers from pointer target type >modules/disksim_global_param.c:94: error: dereferencing pointer to >incomplete type >modules/disksim_global_param.c:101: warning: implicit declaration of >function 'BIT_SET' >modules/disksim_global_param.c:106: error: missing terminating " character >modules/disksim_global_param.c:107: error: missing terminating " character >modules/disksim_global_param.c:108: error: expected expression before 'return' >modules/disksim_global_param.c:109: error: expected ';' before '}' token >In file included from disksim.c:492: >modules/disksim_global_param.c:113:2: warning: no newline at end of file >disksim.c: In function 'disksim_setup_disksim': >disksim.c:941: warning: implicit declaration of function >'iosim_initialize_iosim_info' >make[1]: *** [disksim.o] Error 1 >make[1]: Leaving directory `/tmp/disksim-3.0/src' > >I then tried compiling on a machine running CentOS 4.4 with gcc 3.4.6. >This time I get errors like these: > >modules/disksim_synthio_param.h:8: warning: "struct lp_block" declared >inside parameter list >modules/disksim_synthio_param.h:22: error: elements of array >`disksim_synthio_params' have incomplete type >modules/disksim_synthio_param.h:23: warning: excess elements in struct >initializer >modules/disksim_synthio_param.h:23: warning: (near initialization for >`disksim_synthio_params[0]') >modules/disksim_synthio_param.h:23: warning: excess elements in struct >initializer >modules/disksim_synthio_param.h:23: warning: (near initialization for >`disksim_synthio_params[0]') >modules/disksim_synthio_param.h:23: warning: excess elements in struct >initializer >modules/disksim_synthio_param.h:23: warning: (near initialization for >`disksim_synthio_params[0]') >modules/disksim_synthio_param.h:24: warning: excess elements in struct >initializer >modules/disksim_synthio_param.h:24: warning: (near initialization for >`disksim_synthio_params[1]') >modules/disksim_synthio_param.h:24: warning: excess elements in struct >initializer >modules/disksim_synthio_param.h:24: warning: (near initialization for >`disksim_synthio_params[1]') >modules/disksim_synthio_param.h:24: warning: excess elements in struct >initializer >modules/disksim_synthio_param.h:24: warning: (near initialization for >`disksim_synthio_params[1]') >modules/disksim_synthio_param.h:25: warning: excess elements in struct >initializer >modules/disksim_synthio_param.h:25: warning: (near initialization for >`disksim_synthio_params[2]') >modules/disksim_synthio_param.h:25: warning: excess elements in struct >initializer >modules/disksim_synthio_param.h:25: warning: (near initialization for >`disksim_synthio_params[2]') >modules/disksim_synthio_param.h:25: warning: excess elements in struct >initializer >modules/disksim_synthio_param.h:25: warning: (near initialization for >`disksim_synthio_params[2]') >modules/disksim_synthio_param.h:26: warning: excess elements in struct >initializer >modules/disksim_synthio_param.h:26: warning: (near initialization for >`disksim_synthio_params[3]') >modules/disksim_synthio_param.h:26: warning: excess elements in struct >initializer >modules/disksim_synthio_param.h:26: warning: (near initialization for >`disksim_synthio_params[3]') >modules/disksim_synthio_param.h:26: warning: excess elements in struct >initializer >modules/disksim_synthio_param.h:26: warning: (near initialization for >`disksim_synthio_params[3]') >modules/disksim_synthio_param.h:27: warning: excess elements in struct >initializer >modules/disksim_synthio_param.h:27: warning: (near initialization for >`disksim_synthio_params[4]') >modules/disksim_synthio_param.h:27: warning: excess elements in struct >initializer >modules/disksim_synthio_param.h:27: warning: (near initialization for >`disksim_synthio_params[4]') >modules/disksim_synthio_param.h:27: warning: excess elements in struct >initializer >modules/disksim_synthio_param.h:27: warning: (near initialization for >`disksim_synthio_params[4]') >modules/disksim_synthio_param.h:28: warning: excess elements in struct >initializer >modules/disksim_synthio_param.h:28: warning: (near initialization for >`disksim_synthio_params[5]') >modules/disksim_synthio_param.h:28: warning: excess elements in struct >initializer >modules/disksim_synthio_param.h:28: warning: (near initialization for >`disksim_synthio_params[5]') >modules/disksim_synthio_param.h:28: warning: excess elements in struct >initializer >modules/disksim_synthio_param.h:28: warning: (near initialization for >`disksim_synthio_params[5]') >modules/disksim_synthio_param.h:29: warning: excess elements in struct >initializer >modules/disksim_synthio_param.h:29: warning: (near initialization for >`disksim_synthio_params[6]') >modules/disksim_synthio_param.h:29: warning: excess elements in struct >initializer >modules/disksim_synthio_param.h:29: warning: (near initialization for >`disksim_synthio_params[6]') >modules/disksim_synthio_param.h:29: warning: excess elements in struct >initializer >modules/disksim_synthio_param.h:29: warning: (near initialization for >`disksim_synthio_params[6]') >modules/disksim_synthio_param.h:32: error: variable >`disksim_synthio_mod' has initializer but incomplete type >modules/disksim_synthio_param.h:32: warning: excess elements in struct >initializer >modules/disksim_synthio_param.h:32: warning: (near initialization for >`disksim_synthio_mod') >modules/disksim_synthio_param.h:32: warning: excess elements in struct >initializer >modules/disksim_synthio_param.h:32: warning: (near initialization for >`disksim_synthio_mod') >modules/disksim_synthio_param.h:32: warning: excess elements in struct >initializer >modules/disksim_synthio_param.h:32: warning: (near initialization for >`disksim_synthio_mod') >modules/disksim_synthio_param.h:32: warning: excess elements in struct >initializer >modules/disksim_synthio_param.h:32: warning: (near initialization for >`disksim_synthio_mod') >modules/disksim_synthio_param.h:32: error: syntax error before >"disksim_synthio_loadparams" >modules/disksim_synthio_param.h:32: warning: excess elements in struct >initializer >modules/disksim_synthio_param.h:32: warning: (near initialization for >`disksim_synthio_mod') >modules/disksim_synthio_param.h:32: warning: excess elements in struct >initializer >modules/disksim_synthio_param.h:32: warning: (near initialization for >`disksim_synthio_mod') >disksim.c: In function `addtointq': >disksim.c:286: warning: passing arg 4 of `ddbg_assert_msg' discards >qualifiers from pointer target type >disksim.c:286: warning: passing arg 4 of `ddbg_assert_fail' discards >qualifiers from pointer target type >disksim.c:296: warning: passing arg 4 of `ddbg_assert_msg' discards >qualifiers from pointer target type >disksim.c:296: warning: passing arg 4 of `ddbg_assert_fail' discards >qualifiers from pointer target type >disksim.c: At top level: >disksim.c:489: warning: "struct lp_block" declared inside parameter list >disksim.c:490: error: conflicting types for 'disksim_global_loadparams' >modules/disksim_global_param.h:8: error: previous declaration of >'disksim_global_loadparams' was here >disksim.c:490: error: conflicting types for 'disksim_global_loadparams' >modules/disksim_global_param.h:8: error: previous declaration of >'disksim_global_loadparams' was here >In file included from disksim.c:492: >modules/disksim_global_param.c: In function `disksim_global_loadparams': >modules/disksim_global_param.c:8: warning: implicit declaration of >function `BITVECTOR' >modules/disksim_global_param.c:8: error: `paramvec' undeclared (first >use in this function) >modules/disksim_global_param.c:8: error: (Each undeclared identifier >is reported only once >modules/disksim_global_param.c:8: error: for each function it appears in.) >modules/disksim_global_param.c:9: warning: implicit declaration of >function `bit_zero' >modules/disksim_global_param.c:11: error: dereferencing pointer to >incomplete type >modules/disksim_global_param.c:20: error: dereferencing pointer to >incomplete type >modules/disksim_global_param.c:25: warning: implicit declaration of >function `lp_param_name' >modules/disksim_global_param.c:25: warning: implicit declaration of >function `lp_mod_name' >modules/disksim_global_param.c:25: error: dereferencing pointer to >incomplete type >modules/disksim_global_param.c:28: warning: implicit declaration of >function `BIT_TEST' >modules/disksim_global_param.c:34: error: dereferencing pointer to >incomplete type >modules/disksim_global_param.c:38: error: dereferencing pointer to >incomplete type >modules/disksim_global_param.c:45: warning: implicit declaration of >function `PTYPE' >modules/disksim_global_param.c:45: error: dereferencing pointer to >incomplete type >modules/disksim_global_param.c:48: warning: implicit declaration of >function `IVAL' >modules/disksim_global_param.c:48: error: dereferencing pointer to >incomplete type >modules/disksim_global_param.c:51: warning: implicit declaration of >function `DVAL' >modules/disksim_global_param.c:51: error: dereferencing pointer to >incomplete type >modules/disksim_global_param.c:54: warning: implicit declaration of >function `SVAL' >modules/disksim_global_param.c:54: error: dereferencing pointer to >incomplete type >modules/disksim_global_param.c:54: warning: assignment makes pointer >from integer without a cast >modules/disksim_global_param.c:57: warning: implicit declaration of >function `LVAL' >modules/disksim_global_param.c:57: error: dereferencing pointer to >incomplete type >modules/disksim_global_param.c:57: warning: assignment makes pointer >from integer without a cast >modules/disksim_global_param.c:60: warning: implicit declaration of >function `BVAL' >modules/disksim_global_param.c:60: error: dereferencing pointer to >incomplete type >modules/disksim_global_param.c:60: warning: assignment makes pointer >from integer without a cast >modules/disksim_global_param.c:75: warning: implicit declaration of >function `RANGE' >modules/disksim_global_param.c:77: warning: implicit declaration of >function `BADVALMSG' >modules/disksim_global_param.c:77: error: dereferencing pointer to >incomplete type >modules/disksim_global_param.c:98: error: dereferencing pointer to >incomplete type >modules/disksim_global_param.c:111: error: dereferencing pointer to >incomplete type >modules/disksim_global_param.c:126: error: dereferencing pointer to >incomplete type >modules/disksim_global_param.c:138: warning: passing arg 4 of >`ddbg_assert_msg' discards qualifiers from pointer target type >modules/disksim_global_param.c:138: warning: passing arg 4 of >`ddbg_assert_fail' discards qualifiers from pointer target type >modules/disksim_global_param.c:145: error: dereferencing pointer to >incomplete type >modules/disksim_global_param.c:158: warning: implicit declaration of >function `BIT_SET' >modules/disksim_global_param.c:168: error: invalid use of undefined >type `struct lp_varspec' >modules/disksim_global_param.c:170: error: missing terminating " character >modules/disksim_global_param.c:171: error: missing terminating " character >modules/disksim_global_param.c:172: error: `name' undeclared (first >use in this function) >disksim.c: In function `disksim_setup_disksim': >disksim.c:941: warning: implicit declaration of function >`iosim_initialize_iosim_info' >disksim.c: At top level: >modules/disksim_bus_param.h:32: error: storage size of >`disksim_bus_mod' isn't known >modules/disksim_bus_stats_param.h:24: error: storage size of >`disksim_bus_stats_mod' isn't known >modules/disksim_cachedev_param.h:36: error: storage size of >`disksim_cachedev_mod' isn't known >modules/disksim_cachemem_param.h:56: error: storage size of >`disksim_cachemem_mod' isn't known >modules/disksim_ctlr_param.h:36: error: storage size of >`disksim_ctlr_mod' isn't known >modules/disksim_ctlr_stats_param.h:44: error: storage size of >`disksim_ctlr_stats_mod' isn't known >modules/disksim_device_param.h:17: error: storage size of >`disksim_device_mod' isn't known >modules/disksim_device_stats_param.h:42: error: storage size of >`disksim_device_stats_mod' isn't known >modules/disksim_disk_param.h:150: error: storage size of >`disksim_disk_mod' isn't known >modules/disksim_global_param.h:36: error: storage size of >`disksim_global_mod' isn't known >modules/disksim_iodriver_param.h:28: error: storage size of >`disksim_iodriver_mod' isn't known >modules/disksim_iodriver_stats_param.h:42: error: storage size of >`disksim_iodriver_stats_mod' isn't known >modules/disksim_iomap_param.h:30: error: storage size of >`disksim_iomap_mod' isn't known >modules/disksim_ioqueue_param.h:46: error: storage size of >`disksim_ioqueue_mod' isn't known >modules/disksim_iosim_param.h:24: error: storage size of >`disksim_iosim_mod' isn't known >modules/disksim_logorg_param.h:52: error: storage size of >`disksim_logorg_mod' isn't known >modules/disksim_pf_param.h:24: error: storage size of `disksim_pf_mod' >isn't known >modules/disksim_pf_stats_param.h:28: error: storage size of >`disksim_pf_stats_mod' isn't known >modules/disksim_simpledisk_param.h:40: error: storage size of >`disksim_simpledisk_mod' isn't known >modules/disksim_stats_param.h:30: error: storage size of >`disksim_stats_mod' isn't known >modules/disksim_syncset_param.h:24: error: storage size of >`disksim_syncset_mod' isn't known >modules/disksim_synthgen_param.h:48: error: storage size of >`disksim_synthgen_mod' isn't known >modules/disksim_synthio_param.h:32: error: storage size of >`disksim_synthio_mod' isn't known >make[1]: *** [disksim.o] Error 1 >make[1]: Leaving directory `/home/dgupta/projects/diecast/disksim-3.0/src' >make: *** [all] Error 2 > >I _do_ have flex and bison installed. Am I missing something obvious here? > >Thanks, >Diwaker >-- >http://floatingsun.net/ >_______________________________________________ >Disksim-users mailing list >Disksim-users at ece.cmu.edu >https://sos.ece.cmu.edu/mailman/listinfo/disksim-users = = = = = = = = = = = = = = = = = = = = ?? From lakshmi at cs.cornell.edu Mon Jul 9 12:36:45 2007 From: lakshmi at cs.cornell.edu (Lakshmi Ganesh) Date: Mon, 9 Jul 2007 12:36:45 -0400 Subject: [Disksim-users] Data layout and control flow in disksim Message-ID: <4692641D.1040901@cs.cornell.edu> Hi, I'm trying to simulate a log-structured storage system using disksim. Could you give me pointers on how to go about this? I couldn't find implementation details about the layout module anywhere (yes, I realize that the code *is* the documentation sometimes :-) ). Some things that I want to find out: 1. How do I set the size of a block? 2. How do I alter the lbn-to-pbn mapping? It would also be really helpful if someone could take me through the steps of how a single read or write access is processed by disksim. I've step-ed my way through several runs to try to understand the control flow, but I'm still hazy on the big picture. Thank you! - Lakshmi From michael.meeks at novell.com Tue Jul 10 16:24:27 2007 From: michael.meeks at novell.com (Michael Meeks) Date: Tue, 10 Jul 2007 21:24:27 +0100 Subject: [Disksim-users] patch to DiskSim-3.0 to build with recent gcc's ... Message-ID: <1184099067.6397.128.camel@localhost> So, I hope patches are welcome to DiskSim; I had some problems building it on a recent Linux system, and not wanting to go back to some ancient compiler - and, given that most of the new gcc errors are sub-optimalities in the code - I though a patch might be appreciated. Also, out of interest - to avoid duplicating work; is there a revision control system in use for DiskSim ? I would recommend 'git' of course - if there are setup problems with that: git only requires a single shell account with a ~/public_html directory. It'd also be nice to get some idea of the "live-ness" of this project (before I dive in too far), how actively is DiskSim maintained & developed ? Thanks guys, Michael. -- michael.meeks at novell.com <><, Pseudo Engineer, itinerant idiot -------------- next part -------------- A non-text attachment was scrubbed... Name: disksim-fixes.diff Type: text/x-patch Size: 5049 bytes Desc: not available URL: From ll2 at rice.edu Fri Jul 13 18:31:50 2007 From: ll2 at rice.edu (ll2 at rice.edu) Date: Fri, 13 Jul 2007 17:31:50 -0500 Subject: [Disksim-users] The maximum throughput of disk in DiskSim Message-ID: <1184365910.4697fd561e9b0@webmail.mail.rice.edu> Hi everyone : Recently, I try to find the maximum throughput of a certain kind of disk. However, for one kind of disk model, like Cheetah 9LP, which is included in DiskSim, there are different kinds of interface for it, leading to different inter transfer rate and different maximum throughput. For Cheetah 9LP, if you use SCSI interface, the maximum transfer rate is 5MB/s. if you use Ultra2 SCSI interface, the maximum transfer rate is 40MB/s. I did not find how I can configure the interface for the disk model. At the same time, there are three interesting parameters which may affect the throughput of disk : "bulk sector transfer time" in **.diskspecs file, "Read / Write block transfer time" of Bus in **.parv file, "Bulk sector transfer time" of Controller in **.parv file. I think the max of the three time will determine the maximum throughput of disk. For example, DiskSim default set the maximum value of them is 0.1ms, so the maximum throughput is 512B/0.1ms = 5MB/s. It seems like DiskSim simulate SCSI interface, however, if I want to simulate the Ulrta2 SCSI interface to get higher throughput, how I can configure it ? Just change the three time value ?? Is there anybody who has some ideas about this issue ? Thanks a lot for your comments and suggestions ! Lanyue Lu Rice University From ganger at ece.cmu.edu Sun Jul 15 00:04:56 2007 From: ganger at ece.cmu.edu (Greg Ganger) Date: Sun, 15 Jul 2007 00:04:56 -0400 (EDT) Subject: [Disksim-users] The maximum throughput of disk in DiskSim In-Reply-To: <1184365910.4697fd561e9b0@webmail.mail.rice.edu> References: <1184365910.4697fd561e9b0@webmail.mail.rice.edu> Message-ID: Yes, the times can simply be changed to correspond to the appropriate bus speed. Greg On Fri, 13 Jul 2007, ll2 at rice.edu wrote: > > Hi everyone : > > Recently, I try to find the maximum throughput of a certain kind of disk. > However, for one kind of disk model, like Cheetah 9LP, which is included in > DiskSim, there are different kinds of interface for it, leading to different > inter transfer rate and different maximum throughput. > > For Cheetah 9LP, > if you use SCSI interface, the maximum transfer rate is 5MB/s. > if you use Ultra2 SCSI interface, the maximum transfer rate is 40MB/s. > > I did not find how I can configure the interface for the disk model. At the same > time, there are three interesting parameters which may affect the throughput of > disk : > "bulk sector transfer time" in **.diskspecs file, > "Read / Write block transfer time" of Bus in **.parv file, > "Bulk sector transfer time" of Controller in **.parv file. > > I think the max of the three time will determine the maximum throughput of disk. > For example, DiskSim default set the maximum value of them is 0.1ms, so the > maximum throughput is 512B/0.1ms = 5MB/s. It seems like DiskSim simulate SCSI > interface, however, if I want to simulate the Ulrta2 SCSI interface to get > higher throughput, how I can configure it ? Just change the three time value ?? > > Is there anybody who has some ideas about this issue ? > > Thanks a lot for your comments and suggestions ! > > Lanyue Lu > Rice University > _______________________________________________ > Disksim-users mailing list > Disksim-users at ece.cmu.edu > https://sos.ece.cmu.edu/mailman/listinfo/disksim-users > From n080di at yahoo.com Thu Jul 19 15:18:30 2007 From: n080di at yahoo.com (Nobody Nobody Nobody) Date: Thu, 19 Jul 2007 12:18:30 -0700 (PDT) Subject: [Disksim-users] Segmented LRU Message-ID: <474245.57263.qm@web55108.mail.re4.yahoo.com> Hello. 1) Does segmented LRU work correctly, i.e., has it been fully implemented? 2) Suppose two segments are desired. What should the parts pertinent to SLRU in the parameter file look like? Thanks. --------------------------------- Luggage? GPS? Comic books? Check out fitting gifts for grads at Yahoo! Search. -------------- next part -------------- An HTML attachment was scrubbed... URL: From pettis.eddie at gmail.com Thu Jul 19 23:09:39 2007 From: pettis.eddie at gmail.com (Eddie Pettis) Date: Thu, 19 Jul 2007 23:09:39 -0400 Subject: [Disksim-users] Power models Message-ID: Does anybody know of a source code release for DiskSim that adds power models? I have read a 2003 paper that describes a release called Dempsey, but I have been unable to find a download. I have had no success contacting the authors. Thanks! -- Eddie Pettis Electrical and Computer Engineering Purdue University From pettis.eddie at gmail.com Fri Jul 27 10:15:41 2007 From: pettis.eddie at gmail.com (Eddie Pettis) Date: Fri, 27 Jul 2007 10:15:41 -0400 Subject: [Disksim-users] Power models In-Reply-To: <4d362c350707240704v163c87e0ud69125e59bdf1bb5@mail.gmail.com> References: <4d362c350707240704v163c87e0ud69125e59bdf1bb5@mail.gmail.com> Message-ID: On 7/24/07, Steve Schlosser wrote: > Hello there > > The authors of Dempsey sent me a tarball years ago. Since you can't > track them down, here's a copy of what they sent me. It's been years > since I looked at it, so I can't give you any guarantees that it > works. You should probably still try and get in touch with the > authors if you're planning on using it. Good luck! Thanks a million! If I can get it working for Disksim 3.0, I'll try to get a patch back to the mailing list. -- Eddie Pettis Electrical and Computer Engineering Purdue University From mingjule at gmail.com Fri Jul 27 11:42:46 2007 From: mingjule at gmail.com (mingju Li) Date: Fri, 27 Jul 2007 11:42:46 -0400 Subject: [Disksim-users] disksim working on 64-bit machine? Message-ID: <19d8d88a0707270842r1a3fe852x90afcb0ae0e63146@mail.gmail.com> Hello, Does anybody use disksim on a 64-bit machine? It compiles on mine but I just got seg fault when I tried to run it. Thanks. Ming -------------- next part -------------- An HTML attachment was scrubbed... URL: From yipkeikwok at gmail.com Fri Jul 27 17:48:40 2007 From: yipkeikwok at gmail.com (Yipkei Kwok) Date: Fri, 27 Jul 2007 15:48:40 -0600 Subject: [Disksim-users] Diskmodels for disks support TCQ/NCQ Message-ID: Hi, In DiskSim 3.0, is there any diskmodel supporting TCQ (Tagged Command Queuing) or NCQ (Native Command Queuing)? Where can I download diskmodel files for disks supporting TCQ or NCQ? Here is the list of disks supporting TCQ and NCQ. TCQ: Western Digital Raptor WD 740GD NCQ: Seagate Barracuda 7200.7 ST3160827AS Seagate Barracuda 7200.7 ST3120827AS Seagate Barracuda 7200.7 ST380817AS Seagate Barracuda 7200.7 ST3250823AS Seagate Barracuda 7200.7 ST3300831AS Seagate Barracuda 7200.7 ST3400832AS 3.01 Seagate Barracuda 7200.7 ST3200822AS 3.01 Maxtor DiamondMax 10 6B300S0 Maxtor DiamondMax 10 6B250S0 Thank you very much! Regards, Yipkei -- Web site: http://360.yahoo.com/yipkeikwok http://www.mcs.csueastbay.edu/~ykwok/ email addresses: yipkeikwok at gmail dot com ykwok2 at miners dot utep dot edu ICQ UIN: 2309842 Google Talk ID: yipkeikwok at gmail dot com Yahoo! Messenger ID: yipkeikwok MSN Messenger ID: yipkeikwok at hotmail dot com From yipkeikwok at gmail.com Fri Jul 27 20:46:16 2007 From: yipkeikwok at gmail.com (Yipkei Kwok) Date: Fri, 27 Jul 2007 18:46:16 -0600 Subject: [Disksim-users] disksim working on 64-bit machine? In-Reply-To: <19d8d88a0707270842r1a3fe852x90afcb0ae0e63146@mail.gmail.com> References: <19d8d88a0707270842r1a3fe852x90afcb0ae0e63146@mail.gmail.com> Message-ID: Hi Ming, It might be the problem with the compiler version. Check this out! https://sos.ece.cmu.edu/pipermail/disksim-users/2007-May/000157.html -Yipkei On 7/27/07, mingju Li wrote: > Hello, > > Does anybody use disksim on a 64-bit machine? It compiles on mine but I > just got seg fault when I tried to run it. > > Thanks. > Ming > > _______________________________________________ > Disksim-users mailing list > Disksim-users at ece.cmu.edu > https://sos.ece.cmu.edu/mailman/listinfo/disksim-users > > -- Web site: http://360.yahoo.com/yipkeikwok http://www.mcs.csueastbay.edu/~ykwok/ email addresses: yipkeikwok at gmail dot com ykwok2 at miners dot utep dot edu ICQ UIN: 2309842 Google Talk ID: yipkeikwok at gmail dot com Yahoo! Messenger ID: yipkeikwok MSN Messenger ID: yipkeikwok at hotmail dot com From ganger at ece.cmu.edu Fri Jul 27 22:13:02 2007 From: ganger at ece.cmu.edu (Greg Ganger) Date: Fri, 27 Jul 2007 22:13:02 -0400 (EDT) Subject: [Disksim-users] Diskmodels for disks support TCQ/NCQ In-Reply-To: References: Message-ID: parameters for modifying disk queue depths and scheduling algorithms are listed in the User Guide. I don't remember which disk models that were included allow for command queueing, but I wouldn't be surprised if all did. (The simulator doesn't differentiate tagged vs. native, in terms of real-world mechanism for achieving the same basic end.) Greg On Fri, 27 Jul 2007, Yipkei Kwok wrote: > Hi, > > In DiskSim 3.0, is there any diskmodel supporting TCQ (Tagged Command > Queuing) or NCQ (Native Command Queuing)? > > Where can I download diskmodel files for disks supporting TCQ or NCQ? > > Here is the list of disks supporting TCQ and NCQ. > TCQ: > Western Digital Raptor WD 740GD > NCQ: > Seagate Barracuda 7200.7 ST3160827AS > Seagate Barracuda 7200.7 ST3120827AS > Seagate Barracuda 7200.7 ST380817AS > Seagate Barracuda 7200.7 ST3250823AS > Seagate Barracuda 7200.7 ST3300831AS > Seagate Barracuda 7200.7 ST3400832AS 3.01 > Seagate Barracuda 7200.7 ST3200822AS 3.01 > Maxtor DiamondMax 10 6B300S0 > Maxtor DiamondMax 10 6B250S0 > > Thank you very much! > > Regards, > Yipkei > > -- > Web site: > http://360.yahoo.com/yipkeikwok > http://www.mcs.csueastbay.edu/~ykwok/ > email addresses: > yipkeikwok at gmail dot com > ykwok2 at miners dot utep dot edu > ICQ UIN: 2309842 > Google Talk ID: yipkeikwok at gmail dot com > Yahoo! Messenger ID: yipkeikwok > MSN Messenger ID: yipkeikwok at hotmail dot com > _______________________________________________ > Disksim-users mailing list > Disksim-users at ece.cmu.edu > https://sos.ece.cmu.edu/mailman/listinfo/disksim-users > From michael.meeks at novell.com Mon Jul 30 04:54:15 2007 From: michael.meeks at novell.com (Michael Meeks) Date: Mon, 30 Jul 2007 09:54:15 +0100 Subject: [Disksim-users] disksim working on 64-bit machine? In-Reply-To: References: <19d8d88a0707270842r1a3fe852x90afcb0ae0e63146@mail.gmail.com> Message-ID: <1185785655.8245.64.camel@localhost> On Fri, 2007-07-27 at 18:46 -0600, Yipkei Kwok wrote: > It might be the problem with the compiler version. Which may be fixed by my patch: https://sos.ece.cmu.edu/pipermail/disksim-users/2007-July/000168.html As yet un-replied to AFAICS ;-) OTOH - though it now compiles cleanly, and all the fixes were obvious in one way or another; I've as yet to hook DiskSim up and test it live; so YMMV. If I get no response wrt. the patch inclusion process, I guess I'll just check it into a git/ repository somewhere and post a link to that. HTH, Michael. -- michael.meeks at novell.com <><, Pseudo Engineer, itinerant idiot