PCIe max_desc_page_size issue

once running 'hailortcli run test.hef" I get following warning message:
[HailoRT] [warning] Requested desc page size (512) is bigger than max on this host (256).

1 Like

Some hosts doesn’t support certain PCIe descriptor page size.
in order to over come this issue you can do one of the following:

  1. remove the module and the install it back with force_desc_page_size=256
modprobe -r hailo_pci modprobe hailo_pci force_desc_page_size=256
  1. add the below under /etc/modprobe.d/hailo_pci.conf:
options hailo_pci force_desc_page_size=256

Similar error can also be seen while trying to inference using pyhailoRT:
[HailoRT] [error] CHECK_AS_EXPECTED failed - max_desc_page_size given 16384 is bigger than hw max desc page size 4096"

In this case the solution is the same as mentioned in the previous post, just set the max_desc_page_size to the relevant size mentioned in the error (e.g. 4096)

Hi @yanivb,

I am experiencing this error message when I run the object_detection example from Hailo-Application-Code-Examples. Note, I have already upgraded to HailoRT4.18 following the instructions here, so I would expect to be able to run this example.

I tried following the instructions here, but the /etc/modprobe.d/hailo_pci.conf config file does not exist on my machine. Moreover, I tried to install it using modprobe, but I got this error:

modprobe: FATAL: Module modprobe not found.

Any suggestions to get this working?

Creating a hailo_pci.conf with the above contents and running the example agin results in the following error message:

[HailoRT] [error] Can’t find hailo pcie class, this may happen if the driver is not installed (this may happen if the kernel was updated), or if there is no connected Hailo board
[HailoRT] [error] CHECK_SUCCESS failed with status=HAILO_PCIE_DRIVER_NOT_INSTALLED(64) - Failed listing pcie devices

Please try to reinstall hailo pci driver. It might get outdated if you’re kernel is updated.