# voxl-px4 start on boot inconsistent

Source: https://forum.modalai.com/topic/3105/voxl-px4-start-on-boot-inconsistent
Category: VOXL 2 and VOXL 2 Mini (https://forum.modalai.com/category/26/voxl-2-and-voxl-2-mini)
Tags: voxl-2
Posted: 2024-02-09 16:45:27 UTC by Jeremy Frederick
Replies: 3 · Views: 803

## Jeremy Frederick · 2024-02-09 16:45:27 UTC

Hello,

we've noticed an issue with the voxl-px4 service failing to start on boot (SDK 1.0). Even though the service is enabled and set up properly. After manually starting the service via SSH, it runs and connects to QGC with no issue. However, roughly 1 in 10 times the service will fail to start, forcing us to start the service manually.

## Reply by Eric Katzfey (ModalAI staff) · 2024-02-09 17:07:16 UTC

@Jeremy-Frederick Yes, this is a known issue with certain configurations. We added the `Restart=on-failure` statement to voxl-px4.service after SDK 1.0.0 to automatically restart voxl-px4 if this failure happens. We would recommend moving to SDK 1.1.2.

## Reply by Jeremy Frederick · 2024-02-24 18:38:06 UTC (in reply to Eric Katzfey)

@Eric-Katzfey We've moved to SDK 1.1.2 and have had a lot better success with initial boot. However, we have noticed 1 in 6 (ish) flights, the px4 service will crash mid flight. I was wondering if you have any recommendations on this front, or if its something that's been seen before.

## Reply by Eric Katzfey (ModalAI staff) · 2024-02-25 17:33:32 UTC (in reply to Jeremy Frederick)

@Jeremy-Frederick No, it should not ever crash in mid flight! Can you provide the console output (`journalctl -b -u voxl-px4`), px4 log, and dmesg output from one of these in flight crashes so we can try to figure out what is going on?
