MTD newbie

Cristiano Paris c.paris at libero.it
Tue Oct 2 15:35:20 EDT 2001


On Tue, 2 Oct 2001, David Woodhouse wrote:

> What is /task-familiar-etc? Did you mean:

task-familiar is a jffs2 image that can be dowload from
familiar.handhelds.org and contains a complete filesystem for the iPAQ
handhelds.

>  dd if=/task-familiar-etc of=/dev/mtdblock0

Why are you doing that ? I'm using 'cp' over /dev/mtd0 as said in the
mtd-jffs-HOWTO :

----QUOTE
cp  /tmp/jffs.image /dev/mtd0,1,2
----QUOTE

Actually 'dd' is a more flexible 'cp'. Anyway I tried both ways.

>  mount -t jffs2 /dev/mtdblock0 /mnt

Here's where I was wrong. The mount works but the system freezes for about
30 seconds (YUP) so I thought the system was hung. Anyway, issuing a
"touch /mnt/silly" crashes the system, giving me the same kernel oops. I
increased the debugging level of printk, as you adviced in your previous
post but I cannot post neither the debug messages nor the kernel oops
itself : tomorrow I will buy a NULL modem cable and I'll try to catch the
messages through the serial port.

Taking a look to the stack trace is giving me the impression that my last
backtrace was correct and the reason why this happens is always the same
"invalid operand".

Cristiano





More information about the linux-mtd mailing list