keystone firesim: error encountered

56 views
Skip to first unread message

Jason Kang

unread,
Apr 14, 2020, 3:23:36 AM4/14/20
to Keystone Enclave Forum
Hi,

I have tried the firesim running single node simulation and i have no problem with it.

However i encountered some errors when i tried keystone with firesim.

For the keystone with firesim. i have followed the latest guide.

In the config_runtime.ini
f1_2xlarges=1,
topology=no_net_config
no_net_num_nodes=1
defaulthwconfig=firesim-rocket-quadcore-no-nic-l2-llc4mb-ddr3

However, when i run firesim infrasetup, i have encountered this fatal error below.

Can anyone help to advise?Thank you.




Jason Kang

unread,
Apr 14, 2020, 8:27:17 AM4/14/20
to Keystone Enclave Forum

Errors as shown in the file attached.
keystone-firesim_error.JPG

Dayeol Lee

unread,
Apr 14, 2020, 10:18:29 PM4/14/20
to Jason Kang, Keystone Enclave Forum
Hi Jason,

Can you copy the full log?
The path to the full log is shown in the error message (See the line below "The full log of this run is:")

Thanks
Dayeol

On Tue, Apr 14, 2020 at 5:27 AM Jason Kang <jason...@gmail.com> wrote:

Errors as shown in the file attached.

--
You received this message because you are subscribed to the Google Groups "Keystone Enclave Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to keystone-enclave-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/keystone-enclave-forum/3854b130-ea80-4549-a5bd-0ff3fc582a32%40googlegroups.com.

Jason Kang

unread,
Apr 15, 2020, 2:41:48 AM4/15/20
to Keystone Enclave Forum
Hi Dayeol,

Attached is the log file. I can boot from QEMU but not from Firesim. Please help to advise. Thank you

On Wednesday, April 15, 2020 at 10:18:29 AM UTC+8, Dayeol Lee wrote:
Hi Jason,

Can you copy the full log?
The path to the full log is shown in the error message (See the line below "The full log of this run is:")

Thanks
Dayeol

On Tue, Apr 14, 2020 at 5:27 AM Jason Kang <jason...@gmail.com> wrote:

Errors as shown in the file attached.

--
You received this message because you are subscribed to the Google Groups "Keystone Enclave Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to keystone-enclave-forum+unsub...@googlegroups.com.
2020-04-15--06-31-55-infrasetup-IIXNMVV4E75M1I4T.log

Dayeol Lee

unread,
Apr 15, 2020, 3:00:30 AM4/15/20
to Jason Kang, Keystone Enclave Forum
Can you try this:

make DESIGN=FireSim TARGET_CONFIG=DDR3FRFCFSLLC4MB_FireSimQuadRocketConfig PLATFORM_CONFIG=F90MHz_BaseF1Config f1

in the 'firesim/sim' directory and see what it complains about?

On Tue, Apr 14, 2020 at 11:41 PM Jason Kang <jason...@gmail.com> wrote:
Hi Dayeol,

Attached is the log file. I can boot from QEMU but not from Firesim. Please help to advise. Thank you

On Wednesday, April 15, 2020 at 10:18:29 AM UTC+8, Dayeol Lee wrote:
Hi Jason,

Can you copy the full log?
The path to the full log is shown in the error message (See the line below "The full log of this run is:")

Thanks
Dayeol

On Tue, Apr 14, 2020 at 5:27 AM Jason Kang <jason...@gmail.com> wrote:

Errors as shown in the file attached.

--
You received this message because you are subscribed to the Google Groups "Keystone Enclave Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to keystone-enclave-...@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "Keystone Enclave Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to keystone-enclave-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/keystone-enclave-forum/4841b310-2cbb-4c44-ba76-be86f98f8a0f%40googlegroups.com.

Jason Kang

unread,
Apr 15, 2020, 4:38:31 AM4/15/20
to Keystone Enclave Forum
Hi Dayeol,

For this instance, i am using Justin Tullo's method because i have tried to follow the guide on the keystone website and i also experience the same issue for firesim setup as Justin Tullo.


I tried the
make DESIGN=FireSim TARGET_CONFIG=DDR3FRFCFSLLC4MB_FireSimQuadRocketConfig PLATFORM_CONFIG=F90MHz_BaseF1Config f1

This error below occur even though i have source sourceme-f1-manager.sh





Thks.


On Wednesday, April 15, 2020 at 3:00:30 PM UTC+8, Dayeol Lee wrote:
Can you try this:

make DESIGN=FireSim TARGET_CONFIG=DDR3FRFCFSLLC4MB_FireSimQuadRocketConfig PLATFORM_CONFIG=F90MHz_BaseF1Config f1

in the 'firesim/sim' directory and see what it complains about?

On Tue, Apr 14, 2020 at 11:41 PM Jason Kang <jason...@gmail.com> wrote:
Hi Dayeol,

Attached is the log file. I can boot from QEMU but not from Firesim. Please help to advise. Thank you

On Wednesday, April 15, 2020 at 10:18:29 AM UTC+8, Dayeol Lee wrote:
Hi Jason,

Can you copy the full log?
The path to the full log is shown in the error message (See the line below "The full log of this run is:")

Thanks
Dayeol

On Tue, Apr 14, 2020 at 5:27 AM Jason Kang <jason...@gmail.com> wrote:

Errors as shown in the file attached.

--
You received this message because you are subscribed to the Google Groups "Keystone Enclave Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to keystone-enclave-forum+unsub...@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "Keystone Enclave Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to keystone-enclave-forum+unsub...@googlegroups.com.

Justin Tullos

unread,
Apr 15, 2020, 7:16:03 AM4/15/20
to Keystone Enclave Forum
Hey Jason,

It looks like source isn't working though. It says it failed in your log. I didn't encounter the same error, but did you confirm you have the setup script running for the the instance?

I wouldn't follow my other post, I think Dayeol had fixed some of the issues.

I can't be much more help, I switched to using an FPGA instead of Firesim.

Jason Kang

unread,
Apr 15, 2020, 9:19:31 AM4/15/20
to Keystone Enclave Forum
Hi Justin,
I have tried several methods.
1) the first method i have followed the keystone firesim quick start. But I have encountered build errors like you did.
2) the second method, i tried to build the keystone firesim image bbl in my local machine and copy it to the instance to run simulation. But it failed at the launchrunfarm or infrasetup too.
3) the third method i tried to follow your method(as in the log file ) attached. Do you still have the keystone firesim image file that you can shared so that i can test it? Thks

Hi Dayeol,
Do you have a docker with the keystone firesim or the keystone firesim image file? Thks.
Message has been deleted

Jason Kang

unread,
Apr 16, 2020, 8:45:24 PM4/16/20
to Keystone Enclave Forum
Hi Dayeol,

I have solved the issue. The issue is that the path to the image is not working. I have to put the image in deploy/workload/linux-uniform folder and change the config_runtime.ini without the path.  Thks.

There is one question, when it boot up it is waiting for starting network for long time (e.g 5 minutes). Waiting for inteface eth0 to appear.  Is there any way to disable or skip it? thks.


Dayeol Lee

unread,
Apr 16, 2020, 8:51:44 PM4/16/20
to Keystone Enclave Forum
I forgot if it was configurable by the buildroot config, but you can open this file: `target/etc/network/interfaces` in the buildroot skeleton
and remove the line "  wait-delay 15" from the file and re-build the buildroot.

Taking a look at this buildroot patch would be also helpful: 
Reply all
Reply to author
Forward
0 new messages