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

Race condition in sdcard/os/hypriotos.sh #142

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

taylorsmcclure
Copy link

Adding a sleep for one second as buffer for using this in a higher latency environment such as on a VM. For example if you are using USB emulation pass through from bare metal not having a buffer will result in a race condition. You will receive a device does not exist error:

mount: special device /dev/sdb2 does not exist

Race condition found on:

Virtualized OS: Ubuntu 16.04 LTS
Virtualization Method: Virtualbox
USB Device: Transcend USB3.0 SD card reader
Host OS: Windows 10

Adding a sleep for one second as buffer for using this in a higher latency environment such as on a VM. If you are using USB emulation pass through from bare metal not having a buffer will result in a race condition.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant