keystone-enclave / keystone

Keystone Enclave (QEMU + HiFive Unleashed)
Other
463 stars 133 forks source link

firesim simulation error #239

Open zhushaofeng1992 opened 3 years ago

zhushaofeng1992 commented 3 years ago

Describe the bug i successfully run

firesim launchrunfarm
firesim infrasetup
firesim boot

i enter into the F1 instance an then link to the node by

screen -r fsim0

use root/sifive the login incorrect

i try to use root/firesim

the login successfully but the runfarm is empty , it seem i did not successfully run the keystone workload.

the following are the logs.

log.txt

dayeol commented 3 years ago

what do you mean by the runfarm is empty? if you were able to log in, it means that you're machine is up

zhushaofeng1992 commented 3 years ago

after i login, i can not find the test progarm test.ke, and i saw 'workload_name': 'linux-uniform.json' in the log file , is this means i did not successfully run the keysotn workload. the following is the config_runtime.ini i have set.

[runfarm]
runfarmtag=mainrunfarm

f1_16xlarges=0
m4_16xlarges=0
f1_4xlarges=0
f1_2xlarges=1

runinstancemarket=ondemand
spotinterruptionbehavior=terminate
spotmaxprice=ondemand

[targetconfig]
#Set topology=no_net_config to run without a network simulation
topology=no_net_config
no_net_num_nodes=1
linklatency=6405
switchinglatency=10
netbandwidth=200
profileinterval=-1

# This references a section from config_hwconfigs.ini
# In homogeneous configurations, use this to set the hardware config deployed
# for all simulators
defaulthwconfig=firesim-rocket-quadcore-no-nic-l2-llc4mb-ddr3

[tracing]
enable=no

# Trace output formats. Only enabled if "enable" is set to "yes" above
# 0 = human readable; 1 = binary (compressed raw data); 2 = flamegraph (stack
# unwinding -> Flame Graph)
output_format=0

# Trigger selector.
# 0 = no trigger; 1 = cycle count trigger; 2 = program counter trigger; 3 =
# instruction trigger
selector=1
start=0
end=-1

[autocounter]
readrate=0

[workload]
workloadname=keystone.json
terminateoncompletion=no
suffixtag=

[hostdebug]
# When enabled (=yes), Zeros-out FPGA-attached DRAM before simulations
# begin (takes 2-5 minutes).
# In general, this is not required to produce deterministic simulations on
# target machines running linux. Enable if you observe simulation non-determinism.
zerooutdram=no
# If disable_synth_asserts=no, simulation will print assertion message and
# terminate simulation if synthesized assertion fires.
# If disable_synth_asserts=yes, simulation ignores assertion firing and
# continues simulation.
disable_synth_asserts=no

[synthprint]
# Start and end cycles for outputting synthesized prints.
# They are given in terms of the base clock and will be converted
# for each clock domain.
start=0
end=-1
# When enabled (=yes), prefix print output with the target cycle at which the print was triggered
cycleprefix=yes