2 Replies Latest reply on Apr 16, 2017 12:04 AM by lucasdemarchi

    logger failed creating log root dir

    Lindede

      Why I cannot start log with my Ready To Fly?

      I already put the SD card(Kingston 32GB microSDHC UHS-1 Class10) in the compute board, and on mavlink shell command "logger start".

      Then it show me follow message:

       

      nsh> logger start

      INFO  [logger] logger started (mode=all)

      ERROR [logger] failed creating log root dir: /fs/microsd/log

       

      And in the root dir, no folder named fs:

       

      nsh> ls

      /:

      dev/

      etc/

      obj/

        • 1. Re: logger failed creating log root dir
          Intel Corporation
          This message was posted on behalf of Intel Corporation

          Hi Lindede,

          Thank you for contacting us.

          I think this issue is more related to PX4, the best recommendation that we can give you is to contact PX4 to assist you in a better way. This is the link: https://github.com/PX4/Firmware.

          Feel free to post the solution here, if you find the way to do this. It could be helpful for the community.

          Have a nice day.

          Regards,
          Leonardo R.

          • 2. Re: logger failed creating log root dir
            lucasdemarchi

            The error message

             

            "ERROR [logger] failed creating log root dir: /fs/microsd/log"

             

            Is more related to the way PX4 starts the logger. The microsd is connected by default to Aero, not the flight controller. Support for logging on Aero has been added recently  to PX4 by using the UART between the flight controller and Aero to save the logs. This is available on the new version of the BSP (v1.2) and the logs should appear on /var/lib/mavlink-router automatically. This is how the logs available on logs.px4.io (search for "aero" in http://logs.px4.io/browse )  are generated.