beagleboard / beagleboard/kernel

MMC Hangs under load with multiple threads

Open
#70 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Shell
Stars
172
Forks
156
PR merge metrics
No merged PRs in 30d

Description

If you missed the post:

https://groups.google.com/d/msg/beagleboard/g8JQWFmw4_w/by2kdCbjZmgJ

...there's a problem where all 3.8 BeagleBone kernels (it actually goes back to 3.2, I think) will hang if you have a heavy SD/MMC I/O load across multiple threads. This is particularly apparent in the Xenomai patched kernels, where the increased IRQ latency causes the bug to be easier to trigger, but it happens with the "stock" non-xenomai patched kernels as well (typically when doing apt-get upgrade for those running Debian/Ubuntu). The fix is to back-port a commit from the 3.12 kernel tree:

http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=7472bab236bdee1173412585591329e718f4d324

That commit fixes the race condition which results in corruption of the MMC controller's status flags that causes the hang.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.