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

MMC Hangs under load with multiple threads #70

Open
cdsteinkuehler opened this issue Nov 9, 2013 · 2 comments
Open

MMC Hangs under load with multiple threads #70

cdsteinkuehler opened this issue Nov 9, 2013 · 2 comments

Comments

@cdsteinkuehler
Copy link

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.

@RobertCNelson
Copy link
Member

Thanks for the ping.

Yeah, i missed this a couple weeks ago while traveling, I'll try to test/push it out..

RobertCNelson added a commit to RobertCNelson/linux-dev that referenced this issue Nov 12, 2013
RobertCNelson added a commit that referenced this issue Nov 12, 2013
Fixes: #70

Reported-by: Charles Steinkuehler <[email protected]>
Signed-off-by: Robert Nelson <[email protected]>
@RobertCNelson
Copy link
Member

Now we just need someone to update the meta-angstrom kernel layer.. ;)

koenkooi pushed a commit to koenkooi/kernel that referenced this issue Nov 20, 2013
Fixes: beagleboard#70

Reported-by: Charles Steinkuehler <[email protected]>
Signed-off-by: Robert Nelson <[email protected]>
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

2 participants