jffs2 ls hangs
hi all,
I am not able to make out what is going wrong
Till date i did not have this problem
Iam using
linux 2.4.8 , with following patches
patch -2.4.8-ac12
patch -2.4.8-ac12-rmk1
diff -2.4.8-ac12-rmk1-np2
Iam doing an erase on the mtd, then dd a jffs2 image on to it, then mount it, it says
Jffs2: No clean_or_dirty blocks to GC from! where are they all? jffs2 :Couln't find erase block to garbage collect?
which happens if there are very few no. of files in the partition.
Iam able to succesfully mount the partition and create small files and do ls to
display them
but when i copy a big file say (1MB file) to the 13 MB partition and do an ls it hangs.
But last week i was actually downloading 7MB files and was able to succesfully able to do an ls.
I dont know what went wrong.
Thanks in advance
regards
ashok
hi ashok,
even i have faced the same problem i use 2.4.1 when i copy small files its okay but for large
files its gives message as freeing accounting screwed as same what u are getting if find any solution let me know
som
HCL TECHNOLOGIES
--- Ashok M Padmanaban <[email protected]> wrote: >
hi all,
Quoted 31 lines
I am not able to make out what is going wrong
Till date i did not have this problem
Iam using
linux 2.4.8 , with following patches
patch -2.4.8-ac12
patch -2.4.8-ac12-rmk1
diff -2.4.8-ac12-rmk1-np2Iam doing an erase on the mtd, then dd a jffs2 image on to it,
then mount it, it says
Jffs2: Noclean_or_dirtyblocks to GC from! where are they all?
jffs2 :Couln't find erase block to garbage collect?which happens if there are very few no. of files in the partition.
Iam able to succesfully mount the partition and create small files and
do ls to
display them
but when i copy a big file say (1MB file) to the 13 MB partition and do
an ls it hangs.But last week i was actually downloading 7MB files and was able to
succesfully able to do an ls.
I dont know what went wrong.
Quoted 11 lines
Thanks in advance
regards
ashok
______________________________________________________
Quoted 2 lines
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/
____________________________________________________________
*NEW* over 2200 active jobs at Yahoo! Careers *NEW*
Visit http://in.careers.yahoo.com/
Quoted 3 lines · [email protected] said:
Iam able to succesfully mount the partition and create small files and do ls to display them but when i copy a big file say (1MB file) to the 13 MB partition and do an ls it hangs.
Strange. Please could you show me the _decoded_ output of SysRq-T while it's hung, and also set CONFIG_JFFS2_FS_DEBUG=1, then
echo 9 > /proc/sys/kernel/printk before reproducing the problem. Log all the messages it spews (there will be lots) and let me have them.
Quoted 2 lines
But last week i was actually downloading 7MB files and was able to succesfully able to do an ls. I dont know what went wrong.
Hmmm. What changed? Did you update any code?
--
dwmw2