2 Answers
- Newest
- Most votes
- Most comments
0
@Deep_P: Ok, I'll do so, and I'll elaborate on all my exact steps in detail, in-case it sheds any further light:
- I start up my EC2 instance (an f1.2xlarge in ap-southeast-2b)
- I ssh in
- I check
systemctl status mpd
and see it isn't running yet cd $AWS_FPGA_REPO_DIR
source vitis_runtime_setup.sh
(this appears to run mpd service)- I do a
systemctl status mpd
again, and I see:
● mpd.service - Xilinx Management Proxy Daemon (MPD)
Loaded: loaded (/etc/systemd/system/mpd.service; disabled; vendor preset: disabled)
Active: active (running) since Wed 2022-01-05 22:50:50 UTC; 27s ago
Main PID: 4117 (mpd)
CGroup: /system.slice/mpd.service
└─4117 /opt/xilinx/xrt/bin/mpd
Jan 05 22:51:00 ip-10-161-10-222.ap-southeast-2.compute.internal mpd[4117]: [0:0:1d.0] read 80 bytes out of 80 bytes from f...: 1
Jan 05 22:51:00 ip-10-161-10-222.ap-southeast-2.compute.internal mpd[4117]: [0:0:1d.0] mpd daemon: request 10 received(reqS...32)
Jan 05 22:51:00 ip-10-161-10-222.ap-southeast-2.compute.internal mpd[4117]: AwsDev: 0000:00:1d.0(index: 0)
Jan 05 22:51:00 ip-10-161-10-222.ap-southeast-2.compute.internal mpd[4117]: [0:0:1d.0] write 524360 bytes out of 524360 byt...d 5
Jan 05 22:51:00 ip-10-161-10-222.ap-southeast-2.compute.internal mpd[4117]: [0:0:1d.0] msg arrived on mailbox fd 5
Jan 05 22:51:00 ip-10-161-10-222.ap-southeast-2.compute.internal mpd[4117]: [0:0:1d.0] retrieved msg size from mailbox: 40 bytes Jan 05 22:51:00 ip-10-161-10-222.ap-southeast-2.compute.internal mpd[4117]: [0:0:1d.0] read 72 bytes out of 72 bytes from f...: 1
Jan 05 22:51:00 ip-10-161-10-222.ap-southeast-2.compute.internal mpd[4117]: AwsDev: 0000:00:1d.0(index: 0)
Jan 05 22:51:00 ip-10-161-10-222.ap-southeast-2.compute.internal mpd[4117]: [0:0:1d.0] mpd daemon: request 11 received(reqS...24)
Jan 05 22:51:00 ip-10-161-10-222.ap-southeast-2.compute.internal mpd[4117]: [0:0:1d.0] write 2112 bytes out of 2112 bytes to fd 5
Hint: Some lines were ellipsized, use -l to show in full.
cd $VITIS_DIR/examples/xilinx_2021.1/hello_world
./hello_world ./vadd.awsxclbin
Oh, interesting, when I try it now this morning, it has worked fine, giving me this output!
Platform Name: Xilinx INFO: Reading ./vadd.awsxclbin Loading: './vadd.awsxclbin' Trying to program device[0]: xilinx_aws-vu9p-f1_shell-v04261818_201920_2 Device[0]: program successful! TEST PASSED
I'm not quite sure why it decided to work this morning, perhaps someone has looked into the issue on the AZ and remedied something? If so, that's great, all fine on my end now :)
answered 3 years ago
0
Hello,
Could you try running:
sudo systemctl restart mpd
sudo journalctl -u mpd
The latter should show if mpd started correctly and your devices should work after that.
Let us know if this doesn't work.
-Deep
answered 3 years ago
Relevant content
- asked 5 years ago
- asked 5 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 3 years ago
Good to know. I'm glad it works now! Let us know if you have any more issues around this!