public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* Halt at mounting
@ 2002-06-25  4:14 Steve Tsai
  2002-06-25 11:04 ` Steve Tsai
  2002-06-26  2:04 ` Steve Tsai
  0 siblings, 2 replies; 6+ messages in thread
From: Steve Tsai @ 2002-06-25  4:14 UTC (permalink / raw)
  To: Linux MTD mailing list

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 = 12
nand_read_ecc: from = 0x007fe00c, len = 4096
nand_read_ecc: from = 0x007ff00c, len = 4084


Steve Tsai

^ permalink raw reply	[flat|nested] 6+ messages in thread

* RE: Halt at mounting
  2002-06-25  4:14 Halt at mounting Steve Tsai
@ 2002-06-25 11:04 ` Steve Tsai
  2002-06-26  2:04 ` Steve Tsai
  1 sibling, 0 replies; 6+ messages in thread
From: Steve Tsai @ 2002-06-25 11:04 UTC (permalink / raw)
  To: Linux MTD mailing list

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 = 12
nand_read_ecc: from = 0x007fe00c, len = 4096
nand_read_ecc: from = 0x007ff00c, len = 4084


Steve Tsai


______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/

^ permalink raw reply	[flat|nested] 6+ messages in thread

* RE: Halt at mounting
  2002-06-25  4:14 Halt at mounting Steve Tsai
  2002-06-25 11:04 ` Steve Tsai
@ 2002-06-26  2:04 ` Steve Tsai
  2002-06-26  4:40   ` David Woodhouse
  1 sibling, 1 reply; 6+ messages in thread
From: Steve Tsai @ 2002-06-26  2:04 UTC (permalink / raw)
  To: Linux MTD mailing list

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 = 12
nand_read_ecc: from = 0x007fe00c, len = 4096
nand_read_ecc: from = 0x007ff00c, len = 4084


Steve Tsai


______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/

^ permalink raw reply	[flat|nested] 6+ messages in thread

* RE: Halt at mounting
  2002-06-26  2:04 ` Steve Tsai
@ 2002-06-26  4:40   ` David Woodhouse
  2002-06-26  5:39     ` Sorry for previous mail Steve Tsai
  0 siblings, 1 reply; 6+ messages in thread
From: David Woodhouse @ 2002-06-26  4:40 UTC (permalink / raw)
  To: Steve Tsai; +Cc: Linux MTD mailing list

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.

-- 
dwmw2

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Sorry for previous mail
  2002-06-26  4:40   ` David Woodhouse
@ 2002-06-26  5:39     ` Steve Tsai
  2002-06-27  2:32       ` David Woodhouse
  0 siblings, 1 reply; 6+ messages in thread
From: Steve Tsai @ 2002-06-26  5:39 UTC (permalink / raw)
  To: 'David Woodhouse'; +Cc: Linux MTD mailing list

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.

-- 
dwmw2



______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Sorry for previous mail
  2002-06-26  5:39     ` Sorry for previous mail Steve Tsai
@ 2002-06-27  2:32       ` David Woodhouse
  0 siblings, 0 replies; 6+ messages in thread
From: David Woodhouse @ 2002-06-27  2:32 UTC (permalink / raw)
  To: Steve Tsai; +Cc: Linux MTD mailing list

On Wed, 26 Jun 2002, Steve Tsai wrote:

> 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.

-- 
dwmw2

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2002-06-27  2:46 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-06-25  4:14 Halt at mounting Steve Tsai
2002-06-25 11:04 ` Steve Tsai
2002-06-26  2:04 ` Steve Tsai
2002-06-26  4:40   ` David Woodhouse
2002-06-26  5:39     ` Sorry for previous mail Steve Tsai
2002-06-27  2:32       ` David Woodhouse

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox