[Disksim-users] Disksim4.0 Compiling Error on 64-bits

John Bucy bucy at gloop.org
Thu May 22 11:41:08 EDT 2008


I can reproduce this now that my home machine is 64bit -- this looks like a
real bug and when I got past it, I ran into a lot of other 64 bit problems.
I'll see what I can do about it but for the time being, I would say the
current codebase has a number of 64 bit issues.


john

On Thu, May 22, 2008 at 4:30 AM, zhao cai <caizhaoff at gmail.com> wrote:

>  Hi,
>
>
>
> I tried Disksim 4.0 on two 64 bits machine and still got compiling errors.
> Does anyone have the same issue?
>
>
>
> Regards,
>
> Zhao Cai
>
>
>
>
>
> ----------
>
> make -C libddbg
>
> make[1]: Entering directory `/home1/zcai/disksim-4.0/libddbg'
>
> cc -g -I../libparam   -c -o ddbg_assert.o ddbg_assert.c
>
> cc -g -I../libparam   -c -o ddbg_trace.o ddbg_trace.c
>
> ar cru libddbg.a ddbg_assert.o ddbg_trace.o
>
> mkdir -p include/libddbg lib
>
> cp -p libddbg.h include/libddbg
>
> cp -p libddbg.a lib
>
> make[1]: Leaving directory `/home1/zcai/disksim-4.0/libddbg'
>
> make -C libparam
>
> make[1]: Entering directory `/home1/zcai/disksim-4.0/libparam'
>
> cc -g -I../libddbg/include -Wall   -c -o util.o util.c
>
> bison -plibparam --defines libparam.y
>
> cc -g -I../libddbg/include -Wall   -c -o libparam.tab.o libparam.tab.c
>
> libparam.tab.c: In function 'libparamparse':
>
> libparam.tab.c:1352: warning: implicit declaration of function
> 'libparamlex'
>
> flex -Plibparam libparam.lex
>
> cc -g -I../libddbg/include -Wall   -c -o lex.libparam.o lex.libparam.c
>
> lex.libparam.c:1395: warning: 'yyunput' defined but not used
>
> ar cru libparam.a util.o libparam.tab.o lex.libparam.o
>
> mkdir -p lib include/libparam
>
> cp -p libparam.a lib
>
> cp -p bitvector.h libparam.h include/libparam
>
> make[1]: Leaving directory `/home1/zcai/disksim-4.0/libparam'
>
> make -C diskmodel
>
> make[1]: Entering directory `/home1/zcai/disksim-4.0/diskmodel'
>
> make -C modules
>
> make[2]: Entering directory `/home1/zcai/disksim-4.0/diskmodel/modules'
>
> ../../libparam/mod.pl dm disk.modspec
>
> indent dm_disk_param.c 2>/dev/null >/dev/null || true
>
> cc -g -D_DM_SOURCE -I../../libddbg/include -I../../libparam/include   -c -o
> dm_disk_param.o dm_disk_param.c
>
> ../../libparam/mod.pl dm mech_g1.modspec
>
> indent dm_mech_g1_param.c 2>/dev/null >/dev/null || true
>
> cc -g -D_DM_SOURCE -I../../libddbg/include -I../../libparam/include   -c -o
> dm_mech_g1_param.o dm_mech_g1_param.c
>
> ../../libparam/mod.pl dm layout_g1.modspec
>
> indent dm_layout_g1_param.c 2>/dev/null >/dev/null || true
>
> cc -g -D_DM_SOURCE -I../../libddbg/include -I../../libparam/include   -c -o
> dm_layout_g1_param.o dm_layout_g1_param.c
>
> ../../libparam/mod.pl dm layout_g1_zone.modspec
>
> indent dm_layout_g1_zone_param.c 2>/dev/null >/dev/null || true
>
> cc -g -D_DM_SOURCE -I../../libddbg/include -I../../libparam/include   -c -o
> dm_layout_g1_zone_param.o dm_layout_g1_zone_param.c
>
> ../../libparam/mod.pl dm layout_g2.modspec
>
> indent dm_layout_g2_param.c 2>/dev/null >/dev/null || true
>
> cc -g -D_DM_SOURCE -I../../libddbg/include -I../../libparam/include   -c -o
> dm_layout_g2_param.o dm_layout_g2_param.c
>
> ../../libparam/mod.pl dm layout_g2_zone.modspec
>
> indent dm_layout_g2_zone_param.c 2>/dev/null >/dev/null || true
>
> cc -g -D_DM_SOURCE -I../../libddbg/include -I../../libparam/include   -c -o
> dm_layout_g2_zone_param.o dm_layout_g2_zone_param.c
>
> ../../libparam/mod.pl dm layout_g4.modspec
>
> indent dm_layout_g4_param.c 2>/dev/null >/dev/null || true
>
> cc -g -D_DM_SOURCE -I../../libddbg/include -I../../libparam/include   -c -o
> dm_layout_g4_param.o dm_layout_g4_param.c
>
> ../../libparam/make_modules_h.pl dm *.modspec > modules.h
>
> make[2]: Leaving directory `/home1/zcai/disksim-4.0/diskmodel/modules'
>
> mkdir -p include/diskmodel/modules
>
> cp -p dm.h dm_types.h dm_config.h marshal.h include/diskmodel
>
> cp -p modules/*.h include/diskmodel/modules
>
> gcc  -g -I. -I../libparam/include -I../libddbg/include -D_DM_SOURCE -Wall
> -Wshadow -Wno-unused -MD     -c -o mech_g1_seektime.o mech_g1_seektime.c
>
> gcc  -g -I. -I../libparam/include -I../libddbg/include -D_DM_SOURCE -Wall
> -Wshadow -Wno-unused -MD     -c -o mech_g1.o mech_g1.c
>
> gcc  -g -I. -I../libparam/include -I../libddbg/include -D_DM_SOURCE -Wall
> -Wshadow -Wno-unused -MD     -c -o layout_g1.o layout_g1.c
>
> layout_g1.c: In function 'g1_st_pbn':
>
> layout_g1.c:184: warning: cast from pointer to integer of different size
>
> layout_g1.c: In function 'g1_ptol_nosparing':
>
> layout_g1.c:492: warning: cast from pointer to integer of different size
>
> layout_g1.c: In function 'g1_ptol_sectpertrackspare':
>
> layout_g1.c:531: warning: cast from pointer to integer of different size
>
> layout_g1.c: In function 'g1_ptol_sectperrangespare':
>
> layout_g1.c:702: warning: cast from pointer to integer of different size
>
> layout_g1.c: In function 'g1_ptol_sectperzonespare':
>
> layout_g1.c:779: warning: cast from pointer to integer of different size
>
> layout_g1.c: In function 'g1_ptol_trackspare':
>
> layout_g1.c:851: warning: cast from pointer to integer of different size
>
> gcc  -g -I. -I../libparam/include -I../libddbg/include -D_DM_SOURCE -Wall
> -Wshadow -Wno-unused -MD     -c -o sqrt.o sqrt.c
>
> gcc  -g -I. -I../libparam/include -I../libddbg/include -D_DM_SOURCE -Wall
> -Wshadow -Wno-unused -MD     -c -o marshal.o marshal.c
>
> gcc  -g -I. -I../libparam/include -I../libddbg/include -D_DM_SOURCE -Wall
> -Wshadow -Wno-unused -MD     -c -o layout_g2.o layout_g2.c
>
> layout_g2.c: In function 'st_pbn':
>
> layout_g2.c:251: warning: cast from pointer to integer of different size
>
> layout_g2.c: At top level:
>
> layout_g2.c:480: warning: initialization from incompatible pointer type
>
> gcc  -g -I. -I../libparam/include -I../libddbg/include -D_DM_SOURCE -Wall
> -Wshadow -Wno-unused -MD     -c -o layout_g4.o layout_g4.c
>
> gcc  -g -I. -I../libparam/include -I../libddbg/include -D_DM_SOURCE -Wall
> -Wshadow -Wno-unused -MD     -c -o mech_g1_load.o mech_g1_load.c
>
> mech_g1_load.c: In function 'dm_mech_g1_seek_init':
>
> mech_g1_load.c:323: warning: format '%lld' expects type 'long long int',
> but argument 3 has type 'dm_time_t'
>
> mech_g1_load.c:323: warning: format '%lld' expects type 'long long int',
> but argument 4 has type 'dm_time_t'
>
> mech_g1_load.c:323: warning: format '%lld' expects type 'long long int',
> but argument 5 has type 'dm_time_t'
>
> gcc  -g -I. -I../libparam/include -I../libddbg/include -D_DM_SOURCE -Wall
> -Wshadow -Wno-unused -MD     -c -o layout_g1_load.o layout_g1_load.c
>
> gcc  -g -I. -I../libparam/include -I../libddbg/include -D_DM_SOURCE -Wall
> -Wshadow -Wno-unused -MD     -c -o dm_load.o dm_load.c
>
> gcc  -g -I. -I../libparam/include -I../libddbg/include -D_DM_SOURCE -Wall
> -Wshadow -Wno-unused -MD     -c -o convert.o convert.c
>
> gcc  -g -I. -I../libparam/include -I../libddbg/include -D_DM_SOURCE -Wall
> -Wshadow -Wno-unused -MD     -c -o layout_g2_load.o layout_g2_load.c
>
> gcc  -g -I. -I../libparam/include -I../libddbg/include -D_DM_SOURCE -Wall
> -Wshadow -Wno-unused -MD     -c -o layout_g4_load.o layout_g4_load.c
>
> make -C modules
>
> make[2]: Entering directory `/home1/zcai/disksim-4.0/diskmodel/modules'
>
> make[2]: Nothing to be done for `all'.
>
> make[2]: Leaving directory `/home1/zcai/disksim-4.0/diskmodel/modules'
>
> Linking libdiskmodel.a modules/*.o mech_g1_load.o layout_g1_load.o
> dm_load.o convert.o layout_g2_load.o layout_g4_load.o
>
> ar cru libdiskmodel.a mech_g1_seektime.o mech_g1.o layout_g1.o sqrt.o
> marshal.o layout_g2.o layout_g4.o  modules/*.o mech_g1_load.o
> layout_g1_load.o dm_load.o convert.o layout_g2_load.o layout_g4_load.o
>
> mkdir -p lib
>
> cp -p libdiskmodel.a lib
>
> make -C tests
>
> make[2]: Entering directory `/home1/zcai/disksim-4.0/diskmodel/tests'
>
> cc -g -I../../diskmodel/include -I../../libparam/include
> -I../../libddbg/include   -c -o driver.o driver.c
>
> cc -g -I../../diskmodel/include -I../../libparam/include
> -I../../libddbg/include -o layout_simple layout_simple.c driver.o
> -L../../diskmodel/lib -ldiskmodel -L../../libparam/lib -lparam
> -L../../libddbg/lib -lddbg
>
> cc -g -I../../diskmodel/include -I../../libparam/include
> -I../../libddbg/include -o layout_simple_0t layout_simple_0t.c driver.o
> -L../../diskmodel/lib -ldiskmodel -L../../libparam/lib -lparam
> -L../../libddbg/lib -lddbg
>
> cc -g -I../../diskmodel/include -I../../libparam/include
> -I../../libddbg/include -o layout_track layout_track.c driver.o
> -L../../diskmodel/lib -ldiskmodel -L../../libparam/lib -lparam
> -L../../libddbg/lib -lddbg
>
> cc -g -I../../diskmodel/include -I../../libparam/include
> -I../../libddbg/include -o layout_raw layout_raw.c driver.o
> -L../../diskmodel/lib -ldiskmodel -L../../libparam/lib -lparam
> -L../../libddbg/lib -lddbg
>
> cc -g -I../../diskmodel/include -I../../libparam/include
> -I../../libddbg/include -o layout_bogon layout_bogon.c driver.o
> -L../../diskmodel/lib -ldiskmodel -L../../libparam/lib -lparam
> -L../../libddbg/lib -lddbg
>
> cc -g -I../../diskmodel/include -I../../libparam/include
> -I../../libddbg/include -o layout_skew layout_skew.c driver.o
> -L../../diskmodel/lib -ldiskmodel -L../../libparam/lib -lparam
> -L../../libddbg/lib -lddbg
>
> cc -g -I../../diskmodel/include -I../../libparam/include
> -I../../libddbg/include -o mech_seek mech_seek.c driver.o
> -L../../diskmodel/lib -ldiskmodel -L../../libparam/lib -lparam
> -L../../libddbg/lib -lddbg
>
> rm driver.o
>
> make[2]: Leaving directory `/home1/zcai/disksim-4.0/diskmodel/tests'
>
> make[1]: Leaving directory `/home1/zcai/disksim-4.0/diskmodel'
>
> make -C memsmodel
>
> make[1]: Entering directory `/home1/zcai/disksim-4.0/memsmodel'
>
> make -C modules
>
> make[2]: Entering directory `/home1/zcai/disksim-4.0/memsmodel/modules'
>
> ../../libparam/mod.pl memsmodel mems.modspec
>
> indent memsmodel_mems_param.c || true
>
> /bin/sh: indent: command not found
>
> cc -g -I../../src// -I../../libddbg/include -I../../libparam/include
> -I../../memsmodel/include -I..   -c -o memsmodel_mems_param.o
> memsmodel_mems_param.c
>
> memsmodel_mems_param.c: In function 'MEMSMODEL_MEMS_SCHEDULER_loader':
>
> memsmodel_mems_param.c:9: warning: cast to pointer from integer of
> different size
>
> ../../libparam/make_modules_h.pl memsmodel *.modspec > modules.h
>
> make[2]: Leaving directory `/home1/zcai/disksim-4.0/memsmodel/modules'
>
> mkdir -p include/memsmodel/modules
>
> cp -p mems_disksim.h mems_internals.h mems_mapping.h \
>
>           mems_piecewise_seek.h mems_global.h mems_buffer.h
> include/memsmodel
>
> cp -p modules/*.h include/memsmodel/modules
>
> gcc -Wall -Wno-unused -MD -c -g -DASSERTS  -I../src// -I../ -I../src//src
> mems_seektest.c -o mems_seektest.o
>
> gcc -Wall -Wno-unused -MD -c -g -DASSERTS  -I../src// -I../ -I../src//src
> mems_internals.c -o mems_internals.o
>
> gcc -Wall -Wno-unused -MD -c -g -DASSERTS  -I../src// -I../ -I../src//src
> mems_piecewise_seek.c -o mems_piecewise_seek.o
>
> gcc -Wall -Wno-unused -MD -c -g -DASSERTS  -I../src// -I../ -I../src//src
> mems_hong_seek.c -o mems_hong_seek.o
>
> ar cru libmems_internals.a mems_internals.o mems_piecewise_seek.o
> mems_hong_seek.o
>
> ranlib libmems_internals.a
>
> mkdir -p lib
>
> cp -p libmems_internals.a lib
>
> gcc -Wall -Wno-unused -MD -o mems_seektest mems_seektest.o -lm -L. -g
> -DASSERTS  -I../src// -I../ -I../src//src -lmems_internals
>
> gcc -Wall -Wno-unused -MD -g -DASSERTS  -I../src// -I../ -I../src//src   -c
> -o mems_disksim.o mems_disksim.c
>
> gcc -Wall -Wno-unused -MD -g -DASSERTS  -I../src// -I../ -I../src//src   -c
> -o mems_event.o mems_event.c
>
> gcc -Wall -Wno-unused -MD -g -DASSERTS  -I../src// -I../ -I../src//src   -c
> -o mems_mapping.o mems_mapping.c
>
> gcc -Wall -Wno-unused -MD -c -g -DASSERTS  -I../src// -I../ -I../src//src
> mems_buffer.c -o mems_buffer.o
>
> ar cru libmemsmodel.a mems_disksim.o mems_event.o mems_mapping.o
> mems_internals.o mems_piecewise_seek.o mems_hong_seek.o mems_buffer.o
> modules/memsmodel_mems_param.o
>
> ranlib libmemsmodel.a
>
> mkdir -p lib
>
> cp -p libmemsmodel.a lib
>
> make[1]: Leaving directory `/home1/zcai/disksim-4.0/memsmodel'
>
> make -C src
>
> make[1]: Entering directory `/home1/zcai/disksim-4.0/src'
>
> make -C modules
>
> make[2]: Entering directory `/home1/zcai/disksim-4.0/src/modules'
>
> ../../libparam/mod.pl disksim bus.modspec
>
> indent disksim_bus_param.c || true
>
> /bin/sh: indent: command not found
>
> cc -g -I../../libddbg/include -I../../libparam/include
> -I../../diskmodel/include -I..   -c -o disksim_bus_param.o
> disksim_bus_param.c
>
> ../../libparam/mod.pl disksim ctlr.modspec
>
> indent disksim_ctlr_param.c || true
>
> /bin/sh: indent: command not found
>
> cc -g -I../../libddbg/include -I../../libparam/include
> -I../../diskmodel/include -I..   -c -o disksim_ctlr_param.o
> disksim_ctlr_param.c
>
> disksim_ctlr_param.c: In function 'DISKSIM_CTLR_SCHEDULER_loader':
>
> disksim_ctlr_param.c:64: warning: cast to pointer from integer of different
> size
>
> ../../libparam/mod.pl disksim iodriver.modspec
>
> indent disksim_iodriver_param.c || true
>
> /bin/sh: indent: command not found
>
> cc -g -I../../libddbg/include -I../../libparam/include
> -I../../diskmodel/include -I..   -c -o disksim_iodriver_param.o
> disksim_iodriver_param.c
>
> disksim_iodriver_param.c: In function 'DISKSIM_IODRIVER_SCHEDULER_loader':
>
> disksim_iodriver_param.c:42: warning: cast to pointer from integer of
> different size
>
> ../../libparam/mod.pl disksim ioqueue.modspec
>
> indent disksim_ioqueue_param.c || true
>
> /bin/sh: indent: command not found
>
> cc -g -I../../libddbg/include -I../../libparam/include
> -I../../diskmodel/include -I..   -c -o disksim_ioqueue_param.o
> disksim_ioqueue_param.c
>
> ../../libparam/mod.pl disksim disk.modspec
>
> indent disksim_disk_param.c || true
>
> /bin/sh: indent: command not found
>
> cc -g -I../../libddbg/include -I../../libparam/include
> -I../../diskmodel/include -I..   -c -o disksim_disk_param.o
> disksim_disk_param.c
>
> disksim_disk_param.c: In function 'DISKSIM_DISK_MODEL_loader':
>
> disksim_disk_param.c:9: warning: cast to pointer from integer of different
> size
>
> disksim_disk_param.c: In function 'DISKSIM_DISK_SCHEDULER_loader':
>
> disksim_disk_param.c:19: warning: cast to pointer from integer of different
> size
>
> disksim_disk_param.c: In function
> 'DISKSIM_DISK_USE_SEPARATE_WRITE_SEGMENT_loader':
>
> disksim_disk_param.c:241: warning: cast to pointer from integer of
> different size
>
> ../../libparam/mod.pl disksim simpledisk.modspec
>
> indent disksim_simpledisk_param.c || true
>
> /bin/sh: indent: command not found
>
> cc -g -I../../libddbg/include -I../../libparam/include
> -I../../diskmodel/include -I..   -c -o disksim_simpledisk_param.o
> disksim_simpledisk_param.c
>
> disksim_simpledisk_param.c: In function
> 'DISKSIM_SIMPLEDISK_SCHEDULER_loader':
>
> disksim_simpledisk_param.c:9: warning: cast to pointer from integer of
> different size
>
> ../../libparam/mod.pl disksim device_stats.modspec
>
> indent disksim_device_stats_param.c || true
>
> /bin/sh: indent: command not found
>
> cc -g -I../../libddbg/include -I../../libparam/include
> -I../../diskmodel/include -I..   -c -o disksim_device_stats_param.o
> disksim_device_stats_param.c
>
> ../../libparam/mod.pl disksim bus_stats.modspec
>
> indent disksim_bus_stats_param.c || true
>
> /bin/sh: indent: command not found
>
> cc -g -I../../libddbg/include -I../../libparam/include
> -I../../diskmodel/include -I..   -c -o disksim_bus_stats_param.o
> disksim_bus_stats_param.c
>
> ../../libparam/mod.pl disksim ctlr_stats.modspec
>
> indent disksim_ctlr_stats_param.c || true
>
> /bin/sh: indent: command not found
>
> cc -g -I../../libddbg/include -I../../libparam/include
> -I../../diskmodel/include -I..   -c -o disksim_ctlr_stats_param.o
> disksim_ctlr_stats_param.c
>
> ../../libparam/mod.pl disksim iodriver_stats.modspec
>
> indent disksim_iodriver_stats_param.c || true
>
> /bin/sh: indent: command not found
>
> cc -g -I../../libddbg/include -I../../libparam/include
> -I../../diskmodel/include -I..   -c -o disksim_iodriver_stats_param.o
> disksim_iodriver_stats_param.c
>
> ../../libparam/mod.pl disksim pf_stats.modspec
>
> indent disksim_pf_stats_param.c || true
>
> /bin/sh: indent: command not found
>
> cc -g -I../../libddbg/include -I../../libparam/include
> -I../../diskmodel/include -I..   -c -o disksim_pf_stats_param.o
> disksim_pf_stats_param.c
>
> ../../libparam/mod.pl disksim global.modspec
>
> indent disksim_global_param.c || true
>
> /bin/sh: indent: command not found
>
> cc -g -I../../libddbg/include -I../../libparam/include
> -I../../diskmodel/include -I..   -c -o disksim_global_param.o
> disksim_global_param.c
>
> ../../libparam/mod.pl disksim stats.modspec
>
> indent disksim_stats_param.c || true
>
> /bin/sh: indent: command not found
>
> cc -g -I../../libddbg/include -I../../libparam/include
> -I../../diskmodel/include -I..   -c -o disksim_stats_param.o
> disksim_stats_param.c
>
> ../../libparam/mod.pl disksim syncset.modspec
>
> indent disksim_syncset_param.c || true
>
> /bin/sh: indent: command not found
>
> cc -g -I../../libddbg/include -I../../libparam/include
> -I../../diskmodel/include -I..   -c -o disksim_syncset_param.o
> disksim_syncset_param.c
>
> ../../libparam/mod.pl disksim synthgen.modspec
>
> indent disksim_synthgen_param.c || true
>
> /bin/sh: indent: command not found
>
> cc -g -I../../libddbg/include -I../../libparam/include
> -I../../diskmodel/include -I..   -c -o disksim_synthgen_param.o
> disksim_synthgen_param.c
>
> ../../libparam/mod.pl disksim synthio.modspec
>
> indent disksim_synthio_param.c || true
>
> /bin/sh: indent: command not found
>
> cc -g -I../../libddbg/include -I../../libparam/include
> -I../../diskmodel/include -I..   -c -o disksim_synthio_param.o
> disksim_synthio_param.c
>
> ../../libparam/mod.pl disksim logorg.modspec
>
> indent disksim_logorg_param.c || true
>
> /bin/sh: indent: command not found
>
> cc -g -I../../libddbg/include -I../../libparam/include
> -I../../diskmodel/include -I..   -c -o disksim_logorg_param.o
> disksim_logorg_param.c
>
> ../../libparam/mod.pl disksim pf.modspec
>
> indent disksim_pf_param.c || true
>
> /bin/sh: indent: command not found
>
> cc -g -I../../libddbg/include -I../../libparam/include
> -I../../diskmodel/include -I..   -c -o disksim_pf_param.o disksim_pf_param.c
>
> ../../libparam/mod.pl disksim cachemem.modspec
>
> indent disksim_cachemem_param.c || true
>
> /bin/sh: indent: command not found
>
> cc -g -I../../libddbg/include -I../../libparam/include
> -I../../diskmodel/include -I..   -c -o disksim_cachemem_param.o
> disksim_cachemem_param.c
>
> ../../libparam/mod.pl disksim cachedev.modspec
>
> indent disksim_cachedev_param.c || true
>
> /bin/sh: indent: command not found
>
> cc -g -I../../libddbg/include -I../../libparam/include
> -I../../diskmodel/include -I..   -c -o disksim_cachedev_param.o
> disksim_cachedev_param.c
>
> ../../libparam/mod.pl disksim device.modspec
>
> indent disksim_device_param.c || true
>
> /bin/sh: indent: command not found
>
> cc -g -I../../libddbg/include -I../../libparam/include
> -I../../diskmodel/include -I..   -c -o disksim_device_param.o
> disksim_device_param.c
>
> ../../libparam/mod.pl disksim iosim.modspec
>
> indent disksim_iosim_param.c || true
>
> /bin/sh: indent: command not found
>
> cc -g -I../../libddbg/include -I../../libparam/include
> -I../../diskmodel/include -I..   -c -o disksim_iosim_param.o
> disksim_iosim_param.c
>
> ../../libparam/mod.pl disksim iomap.modspec
>
> indent disksim_iomap_param.c || true
>
> /bin/sh: indent: command not found
>
> cc -g -I../../libddbg/include -I../../libparam/include
> -I../../diskmodel/include -I..   -c -o disksim_iomap_param.o
> disksim_iomap_param.c
>
> ../../libparam/make_modules_h.pl disksim *.modspec > modules.h
>
> make[2]: Leaving directory `/home1/zcai/disksim-4.0/src/modules'
>
> mkdir -p ../include/disksim/modules
>
> cp -pR modules/*.h ../include/disksim/modules
>
> cp disksim_interface.h ../include
>
> gcc -Wall -Wno-unused -MD -c -I. -I../diskmodel/include
> -I../libparam/include -I../libddbg/include -g -DASSERTS
> -I../memsmodel/include -D_INLINE  disksim.c -o disksim.o
>
> disksim.c: In function 'disksim_cleanup':
>
> disksim.c:1086: warning: implicit declaration of function
> 'iodriver_cleanup'
>
> gcc -Wall -Wno-unused -MD -c -I. -I../diskmodel/include
> -I../libparam/include -I../libddbg/include -g -DASSERTS
> -I../memsmodel/include -D_INLINE  disksim_intr.c -o disksim_intr.o
>
> gcc -Wall -Wno-unused -MD -c -I. -I../diskmodel/include
> -I../libparam/include -I../libddbg/include -g -DASSERTS
> -I../memsmodel/include -D_INLINE  disksim_pfsim.c -o disksim_pfsim.o
>
> gcc -Wall -Wno-unused -MD -c -I. -I../diskmodel/include
> -I../libparam/include -I../libddbg/include -g -DASSERTS
> -I../memsmodel/include -D_INLINE  disksim_pfdisp.c -o disksim_pfdisp.o
>
> gcc -Wall -Wno-unused -MD -c -I. -I../diskmodel/include
> -I../libparam/include -I../libddbg/include -g -DASSERTS
> -I../memsmodel/include -D_INLINE  disksim_synthio.c -o disksim_synthio.o
>
> disksim_synthio.c: In function 'synthio_appendio':
>
> disksim_synthio.c:215: warning: cast to pointer from integer of different
> size
>
> gcc -Wall -Wno-unused -MD -c -I. -I../diskmodel/include
> -I../libparam/include -I../libddbg/include -g -DASSERTS
> -I../memsmodel/include -D_INLINE  disksim_iotrace.c -o disksim_iotrace.o
>
> disksim_iotrace.c: In function 'iotrace_hpl_get_ioreq_event':
>
> disksim_iotrace.c:373: warning: cast to pointer from integer of different
> size
>
> gcc -Wall -Wno-unused -MD -c -I. -I../diskmodel/include
> -I../libparam/include -I../libddbg/include -g -DASSERTS
> -I../memsmodel/include -D_INLINE  disksim_iosim.c -o disksim_iosim.o
>
> disksim_iosim.c: In function 'iosim_load_map':
>
> disksim_iosim.c:364: warning: cast to pointer from integer of different
> size
>
> disksim_iosim.c: In function 'io_initialize':
>
> disksim_iosim.c:712: error: duplicate case value
>
> disksim_iosim.c:712: error: previously used here
>
> make[1]: *** [disksim_iosim.o] Error 1
>
> make[1]: Leaving directory `/home1/zcai/disksim-4.0/src'
>
> make: *** [all] Error 2
>
>
>
> -----Original Message-----
> From: disksim-users-bounces at ece.cmu.edu [mailto:
> disksim-users-bounces at ece.cmu.edu] On Behalf Of
> disksim-users-request at ece.cmu.edu
> Sent: Wednesday, May 21, 2008 11:06 PM
> To: disksim-users at ece.cmu.edu
> Subject: Disksim-users Digest, Vol 32, Issue 3
>
>
>
> Send Disksim-users mailing list submissions to
>
>          disksim-users at ece.cmu.edu
>
>
>
> To subscribe or unsubscribe via the World Wide Web, visit
>
>          https://sos.ece.cmu.edu/mailman/listinfo/disksim-users
>
> or, via email, send a message with subject or body 'help' to
>
>          disksim-users-request at ece.cmu.edu
>
>
>
> You can reach the person managing the list at
>
>          disksim-users-owner at ece.cmu.edu
>
>
>
> When replying, please edit your Subject line so it is more specific
>
> than "Re: Contents of Disksim-users digest..."
>
>
>
>
>
> Today's Topics:
>
>
>
>    1. DiskSim 4.0 released (Greg Ganger)
>
>    2. Re: DiskSim 4.0 released (Lei Tian)
>
>    3. Re: DiskSim 4.0 released (Steve)
>
>    4. Re: DiskSim 4.0 released (Lei Tian)
>
>
>
>
>
> ----------------------------------------------------------------------
>
>
>
> Message: 1
>
> Date: Wed, 21 May 2008 22:18:25 -0400 (EDT)
>
> From: Greg Ganger <ganger at ece.cmu.edu>
>
> Subject: [Disksim-users] DiskSim 4.0 released
>
> To: disksim-users at ece.cmu.edu
>
> Message-ID: <Pine.LNX.4.64.0805212216010.21707 at nirvana.pdl.cmu.edu>
>
> Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
>
>
>
>
>
> At long last, we have released a new version of DiskSim, including the
>
> DIXtrac disk characterization tool and the MEMS-based storage device model.
>
>
>
> http://www.pdl.cmu.edu/DiskSim/index.html
>
>
>
> Greg
>
>
>
>
>
>
>
> ------------------------------
>
>
>
> Message: 2
>
> Date: Wed, 21 May 2008 21:28:07 -0600
>
> From: "Lei Tian" <raysmile at gmail.com>
>
> Subject: Re: [Disksim-users] DiskSim 4.0 released
>
> To: "Greg Ganger" <ganger at ece.cmu.edu>,         "disksim-users at ece.cmu.edu
> "
>
>          <disksim-users at ece.cmu.edu>
>
> Message-ID: <200805212128065988270 at gmail.com>
>
> Content-Type: text/plain; charset="gb2312"
>
>
>
> Great news! Thank you and your team very much!
>
>
>
> Lei
>
>
>
>
>
>
>
> Lei Tian
>
> 2008-05-21
>
>
>
>
>
>
>
> 7"<~HK#: Greg Ganger
>
> 7"KMJ1<d#: 2008-05-21 20:18:40
>
> JU<~HK#: disksim-users at ece.cmu.edu
>
> 3-KM#:
>
> VwLb#: [Disksim-users] DiskSim 4.0 released
>
>
>
>
>
> At long last, we have released a new version of DiskSim, including the
>
> DIXtrac disk characterization tool and the MEMS-based storage device model.
>
>
>
> http://www.pdl.cmu.edu/DiskSim/index.html
>
>
>
> Greg
>
>
>
> _______________________________________________
>
> Disksim-users mailing list
>
> Disksim-users at ece.cmu.edu
>
> https://sos.ece.cmu.edu/mailman/listinfo/disksim-users
>
> -------------- next part --------------
>
> An HTML attachment was scrubbed...
>
> URL:
> http://sos.ece.cmu.edu/pipermail/disksim-users/attachments/20080521/a1687bd9/attachment-0001.html
>
>
>
> ------------------------------
>
>
>
> Message: 3
>
> Date: Thu, 22 May 2008 10:40:58 +0800
>
> From: "Steve" <zgy04 at 126.com>
>
> Subject: Re: [Disksim-users] DiskSim 4.0 released
>
> To: "Greg Ganger" <ganger at ece.cmu.edu>,         "disksim-users at ece.cmu.edu
> "
>
>          <disksim-users at ece.cmu.edu>
>
> Message-ID: <200805221040569761015 at 126.com>
>
> Content-Type: text/plain;         charset="gb2312"
>
>
>
> That's great. It will push forward the storage research strongly.
>
>
>
> Thanks a lot.
>
>
>
> Guangyan Zhang
>
>
>
>
>
>
>
>
>
>
>
>
>
> ======= 2008-05-22 10:18:39 Greg Ganger Written: =======
>
>
>
> >
>
> >At long last, we have released a new version of DiskSim, including the
>
> >DIXtrac disk characterization tool and the MEMS-based storage device
> model.
>
> >
>
> >http://www.pdl.cmu.edu/DiskSim/index.html
>
> >
>
> >Greg
>
> >
>
> >_______________________________________________
>
> >Disksim-users mailing list
>
> >Disksim-users at ece.cmu.edu
>
> >https://sos.ece.cmu.edu/mailman/listinfo/disksim-users
>
>
>
> = = = = = = = = = = = = = = = = = = = =
>
>
>
>
>
> !!!!
>
>
>
> ------------------------------
>
>
>
> Message: 4
>
> Date: Wed, 21 May 2008 22:05:13 -0600
>
> From: "Lei Tian" <raysmile at gmail.com>
>
> Subject: Re: [Disksim-users] DiskSim 4.0 released
>
> To: "Greg Ganger" <ganger at ece.cmu.edu>,         "disksim-users at ece.cmu.edu
> "
>
>          <disksim-users at ece.cmu.edu>
>
> Message-ID: <200805212205131137513 at gmail.com>
>
> Content-Type: text/plain; charset="gb2312"
>
>
>
> Hi,
>
>
>
> I compiled the source code of disksim 4.0 successfully on my virtual
> machine (Fedora Core 4), and ran runvalid and memsvalid files under the
> valid directory.
>
>
>
> The results are as follows, and it seems that,
>
> 1) for runvalid, some simulation results are not the same as expected,
> please see the results marked in red.
>
> 2) for memsvalid, it looks like there is no mems.g3.parv file under the
> valid directory.
>
>
>
> Thanks,
>
>
>
> Lei
>
>
>
>
>
> [root at smile valid]# ./runvalid
>
>
>
> These results represent actual drive validation experiments
>
>
>
> QUANTUM_QM39100TD-SW (rms should be about 0.378)
>
> disksim_run_simulation(): simulated 1090389 events
>
> rms = 0.377952
>
>
>
> SEAGATE_ST32171W (rms should be about 0.349)
>
> disksim_run_simulation(): simulated 1585710 events
>
> rms = 0.347570
>
>
>
> SEAGATE_ST34501N (rms should be about 0.318)
>
> disksim_run_simulation(): simulated 1591859 events
>
> rms = 0.317972
>
>
>
> SEAGATE_ST39102LW (rms should be about 0.107)
>
> disksim_run_simulation(): simulated 883217 events
>
> rms = 0.106906
>
>
>
> IBM_DNES-309170W (rms should be about 0.135)
>
> disksim_run_simulation(): simulated 2690642 events
>
> rms = 0.135884
>
>
>
> QUANTUM_TORNADO (rms should be about 0.159)
>
> disksim_run_simulation(): simulated 1094910 events
>
> rms = 0.267721
>
>
>
> HP_C2247_validate (rms should be about 0.090)
>
> disksim_run_simulation(): simulated 829410 events
>
> rms = 0.089931
>
>
>
> HP_C3323_validate (rms should be about 0.306)
>
> disksim_run_simulation(): simulated 1088847 events
>
> rms = 0.305653
>
>
>
> HP_C2490_validate (rms should be about 0.254)
>
> disksim_run_simulation(): simulated 1068808 events
>
> rms = 0.253762
>
>
>
> DEC_RZ26_validate (rms should be about 0.438)
>
> *** warning: ignoring hpl parameters for non-hpl seek type.
>
> disksim_run_simulation(): simulated 707184 events
>
> rms = 0.340367
>
>
>
> The remaining tests exercise other DiskSim components
>
>
>
> Open synthetic workload (avg. resp. should be about 47.3ms)
>
> disksim_run_simulation(): simulated 1044524 events
>
> IOdriver Response time average:         10.937386
>
>
>
> Closed synthetic workload (avg. resp. should be about 87.6ms)
>
> disksim_run_simulation(): simulated 571678 events
>
> IOdriver Response time average:         87.819135
>
>
>
> Mixed synthetic workload (avg. resp. should be about 24.4ms)
>
> disksim_run_simulation(): simulated 1313881 events
>
> IOdriver Response time average:         22.086628
>
>
>
> RAID 5 at device driver (avg. resp. should be about 22.8ms)
>
> disksim_run_simulation(): simulated 1974909 events
>
> IOdriver Response time average:         22.861326
>
>
>
> Set of disk arrays at device driver (avg. resp. should be about 33.3ms)
>
> disksim_run_simulation(): simulated 1895981 events
>
> Overall I/O System Response time average:       34.272035
>
>
>
> Memory cache at controller (avg. resp. should be about 23.0ms)
>
> disksim_run_simulation(): simulated 1396705 events
>
> IOdriver Response time average:         24.651367
>
>
>
> Cache device managed at controller (avg. resp. should be about 27.4ms)
>
> disksim_run_simulation(): simulated 2123707 events
>
> IOdriver Response time average:         28.939379
>
>
>
> Simpledisk instead of original model (avg. resp. should be about 13.5ms)
>
> disksim_run_simulation(): simulated 377469 events
>
> IOdriver Response time average:         13.711596
>
> 3 different disks
>
> (avg. resps. should be about 10.951)
>
> disksim_run_simulation(): simulated 1044524 events
>
> IOdriver Response time average:         10.937386
>
> 3 disks on separate controllers
>
> (avg. resps. should be about 10.951)
>
> disksim_run_simulation(): simulated 1044524 events
>
> IOdriver Response time average:         10.937386
>
>
>
> Note: this validates HP trace input, *not* the corresponding traced disk
>
> HP srt trace input (avg. resp should be about 48.8ms)
>
> disksim_run_simulation(): simulated 3422024 events
>
> IOdriver Response time average:         48.786646
>
>
>
> ASCII input (avg. resp should be about 13.8ms)
>
> disksim_run_simulation(): simulated 10754770 events
>
> IOdriver Response time average:         13.766948
>
>
>
> syssim: externally-controlled DiskSim (avg. resp should be about 8.9ms)
>
> response time: n=1000 average=8.894719 std. deviation=2.116511
>
> IOdriver Response time average:         8.894719
>
>
>
>
>
>
>
> [root at smile valid]# ./memsvalid
>
>
>
> G1 MEMS Device - synthetic workload (avg. resp. should be about 2.00 ms)
>
> disksim_run_simulation(): simulated 891324 events
>
> IOdriver Response time average:         2.004587
>
>
>
> G2 MEMS Device - synthetic workload (avg. resp. should be about 1.18 ms)
>
> disksim_run_simulation(): simulated 800016 events
>
> IOdriver Response time average:         1.178837
>
>
>
> G3 MEMS Device - synthetic workload (avg. resp. should be about 0.87 ms)
>
> *** assertion failed: in disksim_loadparams() (disksim_loadparams.c:86):
> disksim->parfile != NULL: mems.g3.parv
>
> ./memsvalid: line 15: 11021 gave up                 ../src/disksim
> mems.g3.parv mems.g3.nospring.outv ascii 0 1 mems0 "Spring constant factor"
> 0.00
>
>
>
> G1 MEMS Device with 75% springs - synthetic workload (avg. resp. should be
> about 2.01 ms)
>
> disksim_run_simulation(): simulated 891263 events
>
> IOdriver Response time average:         2.013940
>
>
>
> G2 MEMS Device with 75% springs - synthetic workload (avg. resp. should be
> about 1.16 ms)
>
> disksim_run_simulation(): simulated 799997 events
>
> IOdriver Response time average:         1.158043
>
>
>
> G3 MEMS Device with 75% springs - synthetic workload (avg. resp. should be
> about 0.85 ms)
>
> *** assertion failed: in disksim_loadparams() (disksim_loadparams.c:86):
> disksim->parfile != NULL: mems.g3.parv
>
> ./memsvalid: line 30: 11027 gave up         ../src/disksim mems.g3.parv
> mems.g3.outv ascii 0 1 mems0 "Spring constant factor" 0.75
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> Lei Tian
>
> 2008-05-21
>
>
>
>
>
>
>
> 7"<~HK#: Greg Ganger
>
> 7"KMJ1<d#: 2008-05-21 20:18:40
>
> JU<~HK#: disksim-users at ece.cmu.edu
>
> 3-KM#:
>
> VwLb#: [Disksim-users] DiskSim 4.0 released
>
>
>
>
>
> At long last, we have released a new version of DiskSim, including the
>
> DIXtrac disk characterization tool and the MEMS-based storage device model.
>
>
>
> http://www.pdl.cmu.edu/DiskSim/index.html
>
>
>
> Greg
>
>
>
> _______________________________________________
>
> Disksim-users mailing list
>
> Disksim-users at ece.cmu.edu
>
> https://sos.ece.cmu.edu/mailman/listinfo/disksim-users
>
> -------------- next part --------------
>
> An HTML attachment was scrubbed...
>
> URL:
> http://sos.ece.cmu.edu/pipermail/disksim-users/attachments/20080521/ab51255d/attachment.html
>
>
>
> ------------------------------
>
>
>
> _______________________________________________
>
> Disksim-users mailing list
>
> Disksim-users at ece.cmu.edu
>
> https://sos.ece.cmu.edu/mailman/listinfo/disksim-users
>
>
>
>
>
> End of Disksim-users Digest, Vol 32, Issue 3
>
> ********************************************
>
> _______________________________________________
> Disksim-users mailing list
> Disksim-users at ece.cmu.edu
> https://sos.ece.cmu.edu/mailman/listinfo/disksim-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.andrew.cmu.edu/pipermail/disksim-users/attachments/20080522/6728aecf/attachment.html>


More information about the Disksim-users mailing list