Re: eMMC and "mkfs.ext3" hangs without "-E nodiscard"

2014-10-09 Thread Fabio Estevam
Hi Holger, On Mon, Sep 29, 2014 at 10:46 AM, Holger Schurig 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

Re: eMMC and "mkfs.ext3" hangs without "-E nodiscard"

2014-10-09 Thread Uwe Kleine-König
Hello, On Mon, Sep 29, 2014 at 03:46:10PM +0200, Holger Schurig wrote: > 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 nod

Re: eMMC and "mkfs.ext3" hangs without "-E nodiscard"

2014-09-30 Thread Arnd Bergmann
On Tuesday 30 September 2014 09:05:55 Holger Schurig wrote: > Hmm, after one or two minutes I lost my patience. Also, hitting Ctrl-C > didn't abort the application. Suspending it with Ctrl-Z doesn't work > either. I did an strace, and the last few lines look like this: > > stat64("/dev/mmcblk0p1",

Re: eMMC and "mkfs.ext3" hangs without "-E nodiscard"

2014-09-30 Thread Holger Schurig
Hi Arnd, > Are you sure that it's not just taking very long? Hmm, after one or two minutes I lost my patience. Also, hitting Ctrl-C didn't abort the application. Suspending it with Ctrl-Z doesn't work either. I did an strace, and the last few lines look like this: stat64("/dev/mmcblk0p1", {st_mo

Re: eMMC and "mkfs.ext3" hangs without "-E nodiscard"

2014-09-29 Thread Arnd Bergmann
On Monday 29 September 2014 15:46:10 Holger Schurig wrote: > 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", form

eMMC and "mkfs.ext3" hangs without "-E nodiscard"

2014-09-29 Thread Holger Schurig
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 w