Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dealing with SDCARD failure #7750

Closed
sanderux opened this issue Aug 8, 2017 · 6 comments
Closed

Dealing with SDCARD failure #7750

sanderux opened this issue Aug 8, 2017 · 6 comments
Assignees
Labels

Comments

@sanderux
Copy link
Member

sanderux commented Aug 8, 2017

Some flights on a vehicle with a failing SDcard from a client:

Mission read failure (presumably) resulted in unexpected back transition: https://logs.px4.io/plot_app?log=ffa0687e-c817-4163-b52e-4f9fa1a66994 (the user then activated the takeoff waypoint to re-transition)

Complete weirdness at takeoff: https://logs.px4.io/plot_app?log=bc6215da-fd24-425c-a4e8-ecfaa9b12571
Also not all params seem to have been logged

Total failure halfway: https://logs.px4.io/plot_app?log=2258f3eb-fa11-4571-a409-b1d7417f19e3
Also not all params seem to have been logged

At minimum, when mission read fails it must RTL, not loiter around the last known WP
The other strange behavior i am pretty sure is sd card related too, maybe some io buffer issue.

@LorenzMeier @dagar @bkueng thoughts?

Update:
Action: check sd-card performance at boot, warn when performance is below threshold. (see: #4460)
Action: crc checking on read missions
Action: raise awareness in community

@sanderux sanderux added the bug label Aug 8, 2017
@sanderux
Copy link
Member Author

sanderux commented Aug 8, 2017

PS: on the last log, by the clients account it was in RETURN flight mode but kept loitering around the last waypoint.

@dagar
Copy link
Member

dagar commented Aug 9, 2017

TODO:

  • investigate existing dataman data integrity checks and possible improvements
  • add failsafe behavior for dataman failure and thoroughly test navigator
  • refuse to arm or switch to mission without data manager running? Catches a completely broken or missing sdcard.

@sanderux
Copy link
Member Author

sanderux commented Aug 9, 2017

Also i would do a dry run reading all items before switching. Could we do some crc checking?

@LorenzMeier
Copy link
Member

Yes we should. Sorry for not raising this earlier.

@mrpollo mrpollo added this to the Release v1.8.0 milestone Oct 5, 2017
@dagar dagar self-assigned this Oct 8, 2017
@PX4BuildBot
Copy link
Collaborator

Hey, this issue has been closed because the label status/STALE is set and there were no updates for 30 days. Feel free to reopen this issue if you deem it appropriate.

(This is an automated comment from GitMate.io.)

@JohnSnowball
Copy link

hello, I see this issue is closed, but I encountered the same problem when I'm using 1.8.2 stable(modified rtk gps driver) firmware. The SD card is broken and then the plane flew to the last known point until the battery ran out. I want to know if you have plans to fix this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

7 participants