sd_read_data: not in Sending-Data state (state=4)

Bug #714606 reported by Loïc Minier
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Linaro QEMU
Fix Released
Medium
Unassigned

Bug Description

Hey

When booting a Linaro headless alpha 2 image from 11.05 cycle, I get a lot of these on the console:
sd_read_data: not in Sending-Data state (state=4)

would be nice not to get them, either by implementing this support or by quieting the warnings if this is what the hardware does too.

Cheers,

Peter Maydell (pmaydell)
Changed in qemu-linaro:
status: New → Confirmed
importance: Undecided → Medium
Revision history for this message
Peter Maydell (pmaydell) wrote :

This turns out to be a bug in QEMU's SDcard model where it was not correctly changing from 'transfer' to 'sending data' state when Linux sent it an SD_STATUS command. On OMAP3 the effect is that you get these warnings and read zeroes; on PL18x (versatile/vexpress/etc) the effect is that the Linux driver never sees any data and the MMC card is not detected.

The fix is two lines, so I'll put together a patch to send upstream.

Revision history for this message
Peter Maydell (pmaydell) wrote :

Fix for this submitted upstream:
http://patchwork.ozlabs.org/patch/83594/

In the unlikely event it doesn't get into upstream by then, I'll put it in qemu-linaro for 2011.03.

Changed in qemu-linaro:
milestone: none → 2011.03
status: Confirmed → In Progress
Revision history for this message
Peter Maydell (pmaydell) wrote :

Fixed in qemu-linaro tree and also committed upstream. Will go into 2011.03.

Changed in qemu-linaro:
status: In Progress → Fix Committed
Peter Maydell (pmaydell)
Changed in qemu-linaro:
status: Fix Committed → Fix Released
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.