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

storage mount fails most of the time with usbsdmux #416

Open
jan-kiszka opened this issue Mar 19, 2024 · 0 comments
Open

storage mount fails most of the time with usbsdmux #416

jan-kiszka opened this issue Mar 19, 2024 · 0 comments

Comments

@jan-kiszka
Copy link
Contributor

We are too fast with trying to mount a partition, it seems. I'm getting most of the time

# mtda-cli storage mount 1
'storage mount' failed!

for a partition on an usbsdmux-managed card. And that even when the mux is set to host already. mtda is unconditionally switching the muxer mode on mount, right? This seems to trigger some re-plugging of the card on the host, and udev is still running while mounting is already attempted.

Simply adding some sleep to the switch may mitigate, but I'm unsure if that issues is actually generic, not limited to usbsdmux. And it is also hard to define a reasonable waiting time (specifically given how slow the process is already).

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

No branches or pull requests

1 participant