<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.5726" name=GENERATOR><!-- converted from rtf -->
<STYLE>.EmailQuote {
PADDING-LEFT: 4pt; MARGIN-LEFT: 1pt; BORDER-LEFT: #800000 2px solid
}
</STYLE>
</HEAD>
<BODY>
<DIV> </DIV>
<DIV></DIV><FONT face="Arial, sans-serif" size=2>
<DIV>Hi:</DIV>
<DIV> </DIV>
<DIV>I am working with DiskSim and have run across couple of problems. Are
there known fixes to these issues:</DIV>
<DIV>I am running Debian Linux with g++ version 3.4.3.</DIV>
<DIV> </DIV>
<DIV>The first issue I ran into is that during compile, disksim_iosim.c, line
712: <FONT color=#0000ff>StaticAssert (sizeof(ioreq_event) <=
DISKSIM_EVENT_SIZE)</FONT></DIV>
<DIV>returns an error: <FONT color=#0000ff>disksim_iosim.c: In function
`io_initialize':</FONT></DIV>
<DIV><FONT color=#0000ff>disksim_iosim.c:712: error: duplicate case
value</FONT></DIV>
<DIV><FONT color=#0000ff>disksim_iosim.c:712: error: previously used
here</FONT></DIV>
<DIV><FONT color=#0000ff></FONT> </DIV>
<DIV><FONT color=#0000ff></FONT> </DIV>
<DIV>My guess is that the most probable cause for this error is an enumeration
problem with ioreq_event in disksim_iosim.h. However, I am not sure what
the correct fix is.</DIV>
<DIV><FONT color=#0000ff></FONT> </DIV>
<DIV>After working around the first issue by making sizeof(ioreq_event) a
constant, then I run into an issue trying to execute runvalid. The
disksim.c core dumps and points out the enclosed atlas_III.parv parameter file
as invalid format. I checked the format with the user manual and it seemed
to have all required elements. The filename also is consistent within
disksim_global.h. So why is disksim.c crashing?</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV><FONT face="Arial, sans-serif">Thanks</FONT></DIV>
<DIV><FONT size=3></FONT> </DIV>
<DIV><FONT size=3></FONT> </DIV>
<DIV><FONT face="Arial, sans-serif">Luke</FONT></DIV>
<DIV><FONT face="Arial, sans-serif"></FONT> </DIV>
<DIV> </DIV></FONT></BODY></HTML>