Skip to content

MMC Hangs under load with multiple threads #70

@cdsteinkuehler

Description

@cdsteinkuehler

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions