[Disksim-users] Re: Problem when running disksim in emulation mode

Yinliang Yue yueyinliang at gmail.com
Sun Nov 9 19:45:01 EST 2008


Hi Sankaran,

The real data can't be written onto the emulation disks in disksim. I am not
sure whether this is the actual reason.

If you copy a linux source code to the emulated disk, I think you should
transform then into the trace format which can be accepted by disksim, such
as ascii format.

-Yinliang


On 11/10/08, Sankaran Sivathanu <ssankaran at gmail.com> wrote:
>
> Hi,
>
> I configured disksim to work in emulation mode using the functions in
> disksim_interface.c.  I have setup disksim in the target side of ISCSI
> driver. So, as the requests come to the ISCSI target, I send it to disksim
> through disksim_interface_request_arrive() and then get the simulation time
> from the disksim.
>
> When I run it, it works fine for quite a long time, but when I stress it
> with continous worklaods(i copied a linux source tree to the emulated disk),
> the assert stmt in src/disksim_diskctlr.c  viz. "ddbg_assert2(tmpioreq != 0,
> "Cannot find ioreq")" in line number 3327 fails and the simulation stops.  I
> have no clue as to how the
> tmpioreq is becoming 0 suddenly.
>
> It would be great if anyone could tell me the reason/fix for this problem.
>
> Thanks,
> Sankaran.
>
>
> --
> Sankaran Sivathanu
> www.cc.gatech.edu/~sankaran
>
> _______________________________________________
> Disksim-users mailing list
> Disksim-users at ece.cmu.edu
> https://sos.ece.cmu.edu/mailman/listinfo/disksim-users
>
>


-- 
Best regards!

Yinliang YUE
HUST, Wuhan, China
yueyinliang at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.andrew.cmu.edu/pipermail/disksim-users/attachments/20081110/a809ed18/attachment.html>


More information about the Disksim-users mailing list