mirkix / ardupilotblue

Howto use BeagleBone Blue with ArduPilot
GNU General Public License v3.0
151 stars 56 forks source link

LOG File #20

Open gpresho opened 6 years ago

gpresho commented 6 years ago

I am getting an error starting Ardupilot on the BBB.

PLEASE NOTE

I'm currently using: https://rcn-ee.net/rootfs/bb.org/testing/2018-07-15/stretch-console/bone-debian-9.5-console-armhf-2018-07-15-1gb.img.xz.

---+++ Please try using this precise image first before raising issues! +++---

IS NOT AVAILABLE

debian@beaglebone:~$ systemctl status arducopter ● arducopter.service - ArduCopter Service Loaded: loaded (/lib/systemd/system/arducopter.service; enabled; vendor preset: enabled) Active: activating (auto-restart) (Result: exit-code) since Wed 2018-08-22 23:53:23 UTC; 1s ago Process: 3142 ExecStart=/usr/bin/ardupilot/arducopter-3_5_4 $TELEM1 $TELEM2 $GPS (code=exited, status=1/FAILURE) Process: 3133 ExecStartPre=/usr/bin/ardupilot/aphw (code=exited, status=0/SUCCESS) Main PID: 3142 (code=exited, status=1/FAILURE)

Aug 22 23:53:23 beaglebone systemd[1]: arducopter.service: Failed with result 'exit-code'.

the journalctl output shows an error in

Aug 22 23:53:59 beaglebone systemd[1]: Starting ArduCopter Service... Aug 22 23:53:59 beaglebone aphw[3565]: /bin/echo: write error: Device or resource busy Aug 22 23:53:59 beaglebone systemd[1]: Started ArduCopter Service. Aug 22 23:53:59 beaglebone arducopter-3_5_4[3574]: RCOutputAioPRU.cpp:SIGBUS error gernerated Aug 22 23:53:59 beaglebone systemd[1]: arducopter.service: Main process exited, code=exited, status=1/FAILURE Aug 22 23:53:59 beaglebone systemd[1]: arducopter.service: Unit entered failed state. Aug 22 23:53:59 beaglebone systemd[1]: arducopter.service: Failed with result 'exit-code'. Aug 22 23:54:00 beaglebone systemd[1]: arducopter.service: Service hold-off time over, scheduling restart. Aug 22 23:54:00 beaglebone systemd[1]: Stopped ArduCopter Service. Aug 22 23:54:00 beaglebone systemd[1]: Starting ArduCopter Service...

Version arducopter-3_5_4 build from the Aug 20th 2018 for the software.

As an added note, when I tried to execute systemctl stop arducopter.service I get

Failed to stop arducopter.service: The name org.freedesktop.PolicyKit1 was not provided by any .service files

Thank you for putting together the instruction sheet, and the time to assist others.

V/r

Glen