Hi Holger, On Mon, Sep 29, 2014 at 10:46 AM, Holger Schurig <holgerschurig@xxxxxxxxx> wrote: > 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. Can you try applying this series to see if it helps? http://www.spinics.net/lists/linux-mmc/msg23656.html It has been applied into linux-next already. -- To unsubscribe from this list: send the line "unsubscribe linux-mmc" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html