Setup MX_Bench --hello

Get the following response on trying to verify install on a raspberry pi5 - removed directory and user info leaving just the mx/

(mx) ~/mx $ mx_bench --hello
Traceback (most recent call last):
File “mx/bin/mx_bench”, line 8, in
sys.exit(main())
^^^^^^
File “memryx/runtime/benchmark.py”, line 611, in memryx.runtime.benchmark.main
File “mx/lib/python3.11/site-packages/grpc/_channel.py”, line 1181, in call
return _end_unary_response_blocking(state, call, False, None)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “mx/lib/python3.11/site-packages/grpc/_channel.py”, line 1006, in _end_unary_response_blocking
raise _InactiveRpcError(state) # pytype: disable=not-instantiable
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
grpc._channel._InactiveRpcError: <_InactiveRpcError of RPC that terminated with:
status = StatusCode.UNAVAILABLE
details = “failed to connect to all addresses; last error: UNKNOWN: ipv4:127.0.0.1:10000: Failed to connect to remote host: connect: Connection refused (111)”
debug_error_string = “UNKNOWN:Error received from peer {grpc_status:14, grpc_message:“failed to connect to all addresses; last error: UNKNOWN: ipv4:127.0.0.1:10000: Failed to connect to remote host: connect: Connection refused (111)”}”

Verified MX3 is seen

~/mx $ lspci
0001:00:00.0 PCI bridge: Broadcom Inc. and subsidiaries BCM2712 PCIe Bridge (rev 21)
0001:01:00.0 PCI bridge: ASMedia Technology Inc. ASM1184e 4-Port PCIe x1 Gen2 Packet Switch
0001:02:01.0 PCI bridge: ASMedia Technology Inc. ASM1184e 4-Port PCIe x1 Gen2 Packet Switch
0001:02:03.0 PCI bridge: ASMedia Technology Inc. ASM1184e 4-Port PCIe x1 Gen2 Packet Switch
0001:02:05.0 PCI bridge: ASMedia Technology Inc. ASM1184e 4-Port PCIe x1 Gen2 Packet Switch
0001:02:07.0 PCI bridge: ASMedia Technology Inc. ASM1184e 4-Port PCIe x1 Gen2 Packet Switch
0001:03:00.0 Non-Volatile memory controller: Micron Technology Inc 2550 NVMe SSD (DRAM-less) (rev 01)
0001:06:00.0 Processing accelerators: MemryX MX3
0002:00:00.0 PCI bridge: Broadcom Inc. and subsidiaries BCM2712 PCIe Bridge (rev 21)
0002:01:00.0 Ethernet controller: Raspberry Pi Ltd RP1 PCIe 2.0 South Bridge

Hi Joe, it looks like the mxa_manager service might not be running, or there could have been an issue loading the driver.

Can you please try the following and let us know the results:

  1. Check that the driver is loaded with sudo lsmod | grep memx → should print that the module is loaded
  2. Make sure the device initialized too with ls /dev/memx* → checks if the /dev node exists
  3. If the first two pass, try restarting the manager with sudo service mxa-manager restart
  4. If that still doesn’t work, do sudo service mxa-manager status and let us know the output to help with further debug.

Thanks!

I can’t respond with results or email back as I keep getting rejected

Sorry, new users can only put 2 links in a post.

Hmmm, sorry about that! I’ve just updated the site settings to be more permissive. Can you please try again?