public inbox for linux-mmc@vger.kernel.org
 help / color / mirror / Atom feed
* eMMC and "mkfs.ext3" hangs without "-E nodiscard"
@ 2014-09-29 13:46 Holger Schurig
  2014-09-29 14:12 ` Arnd Bergmann
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Holger Schurig @ 2014-09-29 13:46 UTC (permalink / raw)
  To: linux-mmc

Hi all,

on kernel 3.16.3 running on an i.MX6 with an eMMC card formatting a
partition won't work, it hangs. With an added -v the last thing it
spit out is "Discarding device blocks: 4096/196608".

When I run mkfs with "-E nodiscard", formatting & booting works.


Noteworthy: when the eMMC device was still in virgin mode,
partitioning without "-E nodiscard" worked. But last week I used the
mmc tool to turn the user space into enhanced format. Basically, I
first run "mmc extcsd read /dev/mmcblk0" and used the number after
MAX_ENH_SIZE_MULT for an "mmc enh_area set -y 0 7651323 /dev/mmcblk0".
Then, after a power-cycle, I also turned bkops on because kernel was
complaining that it wasn't enabled. And since the default discard
option of mkfs.ext3 doesn't seem to work anymore.

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2014-10-09 20:40 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-29 13:46 eMMC and "mkfs.ext3" hangs without "-E nodiscard" Holger Schurig
2014-09-29 14:12 ` Arnd Bergmann
2014-09-30  7:05   ` Holger Schurig
2014-09-30 10:16     ` Arnd Bergmann
2014-10-09 18:44 ` Uwe Kleine-König
2014-10-09 20:40 ` Fabio Estevam

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox