Odd behavior of JFFS with AMD chips - kernel panic!

Nicolas Pitre nico at cam.org
Mon Dec 4 15:32:59 EST 2000



On Mon, 4 Dec 2000 mark.langsdorf at amd.com wrote:

> I'm still working on diagnosising what's causing my problems
> with JFFS and MTD.
>
> I built a version of the Dec 3rd MTD code for my device, and
> booted the kernel.
>
> As far as I can tell, my device works fine with the char interface,
> and I was able to build a file system image and put it in flash
> using 'cat Flash.img > /dev/mtd2'
>
> mounting the flash system with 'mount -t jffs /dev/mtdblock2 /tst'
> also seemed to work.

Beware that /dev/mtd2 (char 90:2) and /dev/mtdblock2 (block 31:2) aren't
pointing to the same MTD object...

David --> This is really really misleading and non-intuitive.  Is there a
good reason to have a separate device node only for read-only access?


Nicolas



To unsubscribe, send "unsubscribe mtd" to majordomo at infradead.org



More information about the linux-mtd mailing list