Halt at mounting
When I copy some files into the jffs2 directory and remove all the files, the next mounting procedure will halt after nand_read_ecc is done. The procedure is,
eraseall /dev/mtd1 //OK
mount -t jffs2 /dev/mtdblock1 /mnt //OK
cp /etc/* /mnt //OK
rm /mnt/* //OK
umount /mnt //OK
mount -t jffs2 /dev/mtdblock1 /mnt //halt
Have any idea? Where can I hack?
The last output message,
nand_read_ecc: from = 0x007fe00c, len = 12nand_read_ecc: from = 0x007fe00c, len = 4096nand_read_ecc: from = 0x007ff00c, len = 4084
Steve Tsai
I use new snapshot source and I can mount jffs2, but it will take about 27 seconds. How to reduce the mounting time?
Steve Tsai
When I copy some files into the jffs2 directory and remove all the files, the next mounting procedure will halt after nand_read_ecc is done. The procedure is,
eraseall /dev/mtd1 //OK
mount -t jffs2 /dev/mtdblock1 /mnt //OK
cp /etc/* /mnt //OK
rm /mnt/* //OK
umount /mnt //OK
mount -t jffs2 /dev/mtdblock1 /mnt //halt
Have any idea? Where can I hack?
The last output message,
nand_read_ecc: from = 0x007fe00c, len = 12nand_read_ecc: from = 0x007fe00c, len = 4096nand_read_ecc: from = 0x007ff00c, len = 4084
Steve Tsai
______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/
I use new snapshot source and I can mount jffs2, but it will take about 27 seconds. How to reduce the mounting time?
Steve Tsai
When I copy some files into the jffs2 directory and remove all the files, the next mounting procedure will halt after nand_read_ecc is done. The procedure is,
eraseall /dev/mtd1 //OK
mount -t jffs2 /dev/mtdblock1 /mnt //OK
cp /etc/* /mnt //OK
rm /mnt/* //OK
umount /mnt //OK
mount -t jffs2 /dev/mtdblock1 /mnt //halt
Have any idea? Where can I hack?
The last output message,
nand_read_ecc: from = 0x007fe00c, len = 12nand_read_ecc: from = 0x007fe00c, len = 4096nand_read_ecc: from = 0x007ff00c, len = 4084
Steve Tsai
______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/
Read the list archive, particularly the message at
http://lists.infradead.org/pipermail/linux-mtd/2002-June/005311.html
I'd have replied to your original messages, but the answers to your questions about improving mount times are in the documentation and the list archives, you didn't bother to quote the errors you saw on compiling against 2.4.17, and besides you've annoyed me now so I can't be bothered.
Signature · 1 line
dwmw2
Sorry for previous mail
Sorry for the previous unqualified email to the list. Because I use mtd into uclinux, it need to patch mtd to run in uclinux 2.x. I do some changes and I can use the new mtd on my board. By the way, I know some email discuss improving mounting times, but it is hard to search all mails to find it out. I will download the old archive to find it out. Anyway, apology again.
Steve Tsai
Read the list archive, particularly the message at
http://lists.infradead.org/pipermail/linux-mtd/2002-June/005311.html
I'd have replied to your original messages, but the answers to your questions about improving mount times are in the documentation and the list archives, you didn't bother to quote the errors you saw on compiling against 2.4.17, and besides you've annoyed me now so I can't be bothered.
Signature · 7 lines
dwmw2 ______________________________________________________ Linux MTD discussion mailing list http://lists.infradead.org/mailman/listinfo/linux-mtd/
Re: Sorry for previous mail
Quoted 6 lines · Steve Tsai
Sorry for the previous unqualified email to the list. Because I use mtd into uclinux, it need to patch mtd to run in uclinux 2.x. I do some changes and I can use the new mtd on my board. By the way, I know some email discuss improving mounting times, but it is hard to search all mails to find it out. I will download the old archive to find it out. Anyway, apology again.
Most of the stuff about improving JFFS2 mount time is in the TODO file, and anything not there is more likely to be in the jffs-dev list archives (on mhonarc.axis.se somewhere) than the MTD list archives. But anything not in the TODO list is probably stuff we decided against anyway.
Signature · 1 line
dwmw2