PCIe driver failure

Got the following error:

hailo_platform.pyhailort.pyhailort.HailoRTPCIeDriverException: PCIe driver failure. run ‘dmesg | grep hailo’ for more information

This is the the dmesg content:

[ 2.575005] hailo: Init module. driver version 4.18.0
[ 2.583826] hailo 0000:01:00.0: Probing on: 1e60:2864…
[ 2.583836] hailo 0000:01:00.0: Probing: Allocate memory for device extension, 11632
[ 2.583856] hailo 0000:01:00.0: enabling device (0000 → 0002)
[ 2.583863] hailo 0000:01:00.0: Probing: Device enabled
[ 2.583888] hailo 0000:01:00.0: Probing: mapped bar 0 - 000000000adf7cc2 16384
[ 2.583896] hailo 0000:01:00.0: Probing: mapped bar 2 - 000000007cc172d9 4096
[ 2.583901] hailo 0000:01:00.0: Probing: mapped bar 4 - 0000000009d1b539 16384
[ 2.583905] hailo 0000:01:00.0: Probing: Force setting max_desc_page_size to 4096 (recommended value is 16384)
[ 2.583914] hailo 0000:01:00.0: Probing: Enabled 64 bit dma
[ 2.583919] hailo 0000:01:00.0: Probing: Using userspace allocated vdma buffers
[ 2.583927] hailo 0000:01:00.0: Disabling ASPM L0s
[ 2.583932] hailo 0000:01:00.0: Successfully disabled ASPM L0s
[ 2.767743] hailo 0000:01:00.0: Firmware was loaded successfully
[ 2.791993] hailo 0000:01:00.0: Probing: Added board 1e60-2864, /dev/hailo0
[ 1722.674712] hailo 0000:01:00.0: hailo_pcie_driver_down, timeout waiting for shutdown response (timeout_ms=5)
[ 1722.674722] hailo 0000:01:00.0: Failed sending FW shutdown event
[ 2038.785292] hailo 0000:01:00.0: Device disconnected while opening device

Any idea what can be the issue? I’m using Hailo 8L

Hey @Erez,

Based on your dmesg output showing PCIe driver issues with the Hailo-8 on Raspberry Pi, here’s a quick breakdown and steps to try:

Understanding the Issues:

  • The driver and firmware initialize correctly.
  • You’re seeing timeout errors during shutdown.
  • The device disconnects unexpectedly.

Steps to Troubleshoot:

  1. Test with Different PCIe Cable or Power Supply: If you have another PCIe cable, slot, or power supply, try these with the Hailo-8 to rule out hardware stability issues.

  2. Run hailortcli scan: This will help confirm if the driver is correctly installed and the device is detected.

  3. Reinstall the Driver: If the above steps don’t help, try reinstalling the driver to see if the issue persists.

Let me know if these steps make any difference!

Looking at the pci driver code seems like it’s a failure to set a mailbox

Can you elaborate what does “Mailbox” mean?