-
Notifications
You must be signed in to change notification settings - Fork 51
Description
Hello,
Thank you for creating this Simulator for research purposes. As I was trying to run your simulator, however, I could not boot the qemu-image from the qemu-system-x86_64 executable that is provided in the VSSIM package.
Earlier, I was getting the following error when I ran the run.sh command:
Formatting '../../RAMDISK/rd/ssd_hda.img', fmt=qcow size=21474836480 encryption=off
[FTL_INIT] start
[SSD_MONITOR] SERVER THREAD CREATED!!!
[SSD_MONITOR] Wait for client....[13]
[SSD_MONITOR] Connected![-1]
[SSD_MONITOR] Error No. [4] msg: Interrupted system call
[SSD_IO_INIT] SSD Version: 1.2 ver. (17.11.10)
[FTL_INIT] complete
[FTL_TERM] start
Average Read Latency 0.000 us
Average Write Latency 0.000 us
[FTL_TERM] complete
Besides the already placed print statement "The error No. 4" I also added strerror(errno) which prints "Interrupted System Call" Also, note that "Connected" prints -1 for the client port number. I have changed 9995 to different values between 9991 and 9999 at the two locations that the README suggests. I was still unable to resolve this issue.
Later, I saw that the #define MNT_DEBUG flag starts the client, so I commented that out as well. With that also, I was unable to boot the image, and I get the following output, with monitor screen and with QEMU screen inifinitely trying to reboot with the boot screen.
[FTL_INIT] start
[SSD_IO_INIT] SSD Version: 1.2 ver. (17.11.10)
[FTL_INIT] complete
[FTL_TERM] start
Average Read Latency 0.000 us
Average Write Latency 0.000 us
[FTL_TERM] complete
Finally, I changed guest Image from 16.04 to 14.04, installed the OS on the guest with a separate working version of qemu, and then rebooted the 14.04 image with the run.sh command. I still keep getting the infinite boot screen on 14.04 image.
Please let me know if you would require further information to get to the root cause of the issue? The Guest VM image boots properly with other qemu version, however, with the qemu executable that ./run.sh references (inside QEMU folder), the Guest goes into infinite loop. Please advise.
Attached herewith is the screenshot of the bootscreen that infinitely keeps showing up. Note that the guest image already has a valid ubuntu image.
Thanks,
Shehbaz
