Hi,
My Setup:
Hailo8l based AI-HAT+
Raspi 5, 4 GB RAM
Raspberry Pi OS 64 bit, up to date (06.05.25)
Two months ago I installed the hailo rpi5 examples on my raspi and I could execute all the “hailo-rpi5-examples” without problems. Now I have the problem that only the detection_simple.py example is running sometimes.
All other examples will start (and have some output), but the preview video does not appear and the inferencing does not start.
Journalctl -f shows me the following lines which may cause the problem:
May 06 10:31:03 raspikatze kernel: hailo: get_user_pages failed with -4
May 06 10:31:03 raspikatze kernel: hailo 0001:01:00.0: failed to set sg list for user buffer -4
May 06 10:31:03 raspikatze kernel: hailo 0001:01:00.0: failed map buffer 7fff20428000
If the detection_simple.py examples runs successfully I will not see these lines in the kernel log.
I made a lot of testing on my OS installation and so I took a brand new SD card and installed a fresh copy of the latest Raspberry Pi OS 64 bit. Then:
sudo apt update
sudo apt full-upgrade
sudo apt install hailo-all
reboot
git clone GitHub - hailo-ai/hailo-rpi5-examples
./install.sh
source setup_env.sh
python basic_pipelines/detection.py
Unfortunately same behavior as before. Nothing else was installed and so it looks like some kind of driver problem.
hailortcli fw-control identify:
Executing on device: 0001:01:00.0
Identifying board
Control Protocol Version: 2
Firmware Version: 4.20.0 (release,app,extended context switch buffer)
Logger Version: 0
Board Name: Hailo-8
Device Architecture: HAILO8L
Serial Number: <N/A>
Part Number: <N/A>
Product Name: <N/A>
sudo rpi-eeprom-update
BOOTLOADER: up to date
CURRENT: Wed 19 Mar 13:41:26 UTC 2025 (1742391686)
LATEST: Mon 10 Mar 17:10:37 UTC 2025 (1741626637)
RELEASE: default (/usr/lib/firmware/raspberrypi/bootloader-2712/default)
As this is so easy to reproduce it may affect not only me.
Any suggestions?