3.2 kernels can't boot on external SD/MMC card

Bug #912302 reported by Philippe Langlais
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
IglooCommunity
Fix Released
Critical
Thomas Espersson
Linaro Android
Invalid
Medium
Unassigned
Linaro Ubuntu
Fix Released
Undecided
Unassigned

Bug Description

Test environment:
- Hardware: Snowball v5 or higher with external SD/MMC card
- Software: use an Ubuntu nano image flashed with lmc onto SD/MMC card (part1: boot, part2: rootfs), replace the
kernel uImage on boot part by a 3.2 STE LT kernel (stable-linux-ux500-3.2)

In the console, we get many errors "mmc1: error -84 whilst initialising SD card" and the rootfs (mmcblk1p2) partition is not mounted (see attached console log).

If we replace the kernel with 3.1 STE LT or 3.2 linux-stericsson (Linus Walleij STE next kernel) this works fine.
The issue doesn't seem to be a mmc only problem, perhaps a PM or clocking or timing cross case issue,
but after multiple investigations, I failed to find the root cause.

NB: We use PIO mode for SD/MMC driver (DMA disabled in board-mop500-sdi.c)

Revision history for this message
Philippe Langlais (philang) wrote :
Anmar Oueja (anmar)
visibility: private → public
Changed in igloocommunity:
status: New → Confirmed
importance: Undecided → Critical
Anmar Oueja (anmar)
Changed in igloocommunity:
assignee: nobody → Patrik Klinger (patrik-klinger)
Anmar Oueja (anmar)
Changed in igloocommunity:
assignee: Patrik Klinger (patrik-klinger) → Thomas Espersson (espersson)
milestone: none → 2012.01
Revision history for this message
Anmar Oueja (anmar) wrote :

With 3.2 kernel released by the community, it is very important that we move the stable kernel release to 3.2 . Unfortunately, the move is *blocked* by our inability to resolve this issue. The issue has been escalated to Thomas E. and Patrik K. to try and secure internal ST-Ericsson resources to help resolve it.

no longer affects: linaro-landing-team-ste
Revision history for this message
Anmar Oueja (anmar) wrote :

SSM responded with a possible solution. Working on reproducing it locally to validate the fix.

Revision history for this message
Lee Jones (lag) wrote :

Nothing has been heard regarding good news about work commencing on this issue.

Hence, I guess it's not going to make 2012.01.

If I could raise the Importance of this bug higher than 'Critical' I would.

It is single handedly preventing us releasing v3.2+ kernels.

Revision history for this message
Thomas Espersson (espersson) wrote :

Patch identified and tested by Philippe and Fredrik Söderstedt (STE):

I have applied my own patch to disable MMC_CAP_SD_HIGHSPEED and that works fine on my Snowball with 3.2.

Revision history for this message
Patrik Klinger (patrik-klinger) wrote : Re: [Bug 912302] Re: 3.2 kernels can't boot on external SD/MMC card

Härligt!!!

Är det bara jag eller går det som tåget på alla fronter just nu!

*Patrik Klinger*
SnowballProgram Manager

*ST-Ericsson*

Office: +46 46104525
Mobile: +46 768 433547
Email: <email address hidden> <mailto:<email address hidden>>

On 01/19/2012 03:20 PM, Thomas Espersson wrote:
> Patch identified and tested by Philippe and Fredrik Söderstedt (STE):
>
> I have applied my own patch to disable MMC_CAP_SD_HIGHSPEED and that
> works fine on my Snowball with 3.2.
>

Revision history for this message
Linus Walleij (triad) wrote :

On Thu, Jan 19, 2012 at 3:20 PM, Thomas Espersson
<email address hidden> wrote:

> Patch identified and tested by Philippe and Fredrik Söderstedt (STE):
>
> I have applied my own patch to disable MMC_CAP_SD_HIGHSPEED and that
> works fine on my Snowball with 3.2.

Can you make sure that patch goes to the mainline kernel as well, since
it's pretty important?

Yours,
Linus Walleij

Anmar Oueja (anmar)
Changed in igloocommunity:
status: Confirmed → Fix Committed
Anmar Oueja (anmar)
Changed in linaro-ubuntu:
milestone: none → 12.01
Changed in linaro-android:
milestone: none → 12.02
Fathi Boudra (fboudra)
Changed in linaro-ubuntu:
status: New → Fix Released
Lee Jones (lag)
Changed in igloocommunity:
status: Fix Committed → Fix Released
Revision history for this message
Mathieu Poirier (mathieu.poirier-deactivatedaccount) wrote :

Marking invalid for linaro-android as we are currently not using a 3.2 kernel. If there is an issue with the mmc card when we do move to 3.2 then we can file a bug.

Changed in linaro-android:
status: New → Invalid
Zach Pfeffer (pfefferz)
Changed in linaro-android:
assignee: nobody → Mathieu Poirier (mathieu.poirier)
milestone: 12.02 → none
importance: Undecided → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.