* JFFS2 problem
@ 2006-08-10 8:29 Amit Kumar Sharma
2006-08-10 9:32 ` Artem B. Bityutskiy
0 siblings, 1 reply; 5+ messages in thread
From: Amit Kumar Sharma @ 2006-08-10 8:29 UTC (permalink / raw)
To: linux-mtd
Hi
I am looking for JFFS2 stable version for kernel 2.4, Can u help me because
I am facing strange problem. My device size is 187M and JFFS2 creating 2G
file on my device. But when I checked same device partition on 2.6 kernel it
also show file size 2G "it can not be possible because MTD partition is 187M
" SO I run same test program on 2.6 kernel. it stops after creating 187M
file size. SO I wonder may it is a problem of JFFS2 version I am using with
mvl 2.4.20 kernel.
Rgs
Amit
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: JFFS2 problem
2006-08-10 8:29 JFFS2 problem Amit Kumar Sharma
@ 2006-08-10 9:32 ` Artem B. Bityutskiy
2006-08-16 4:14 ` JFFS2 problem(amit Kumar sharma) Amit Kumar Sharma
0 siblings, 1 reply; 5+ messages in thread
From: Artem B. Bityutskiy @ 2006-08-10 9:32 UTC (permalink / raw)
To: Amit Kumar Sharma; +Cc: linux-mtd
Hello Amit,
Amit Kumar Sharma wrote:
> I am looking for JFFS2 stable version for kernel 2.4, Can u help me because
> I am facing strange problem. My device size is 187M and JFFS2 creating 2G
> file on my device. But when I checked same device partition on 2.6 kernel it
> also show file size 2G "it can not be possible because MTD partition is 187M
> " SO I run same test program on 2.6 kernel. it stops after creating 187M
> file size. SO I wonder may it is a problem of JFFS2 version I am using with
> mvl 2.4.20 kernel.
I'd suggest you to contact MV instead. MTD community is mostly not
interested in 2.4, so you probably won't get any help here.
--
Best Regards,
Artem B. Bityutskiy,
St.-Petersburg, Russia.
^ permalink raw reply [flat|nested] 5+ messages in thread
* RE: JFFS2 problem(amit Kumar sharma)
2006-08-10 9:32 ` Artem B. Bityutskiy
@ 2006-08-16 4:14 ` Amit Kumar Sharma
2006-08-16 8:33 ` Artem B. Bityutskiy
0 siblings, 1 reply; 5+ messages in thread
From: Amit Kumar Sharma @ 2006-08-16 4:14 UTC (permalink / raw)
To: 'Artem B. Bityutskiy'; +Cc: linux-mtd
Hi Artem
I have one problem related to JFFS2 partition ,My partition size is 20MB
but I am able to copy more then 20 MB in this partition and strange is after
rebooting file exist with out any problem ,Can u tell me ,how JFFS2 maintain
partition size information during copy or file write command.In which area I
must check in JFFS2 or mtd.
Thanks
Amit
-----Original Message-----
From: Artem B. Bityutskiy [mailto:dedekind@yandex.ru]
Sent: Thursday, August 10, 2006 6:33 PM
To: Amit Kumar Sharma
Cc: linux-mtd@lists.infradead.org
Subject: Re: JFFS2 problem
Hello Amit,
Amit Kumar Sharma wrote:
> I am looking for JFFS2 stable version for kernel 2.4, Can u help me
because
> I am facing strange problem. My device size is 187M and JFFS2 creating 2G
> file on my device. But when I checked same device partition on 2.6 kernel
it
> also show file size 2G "it can not be possible because MTD partition is
187M
> " SO I run same test program on 2.6 kernel. it stops after creating 187M
> file size. SO I wonder may it is a problem of JFFS2 version I am using
with
> mvl 2.4.20 kernel.
I'd suggest you to contact MV instead. MTD community is mostly not
interested in 2.4, so you probably won't get any help here.
--
Best Regards,
Artem B. Bityutskiy,
St.-Petersburg, Russia.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: JFFS2 problem(amit Kumar sharma)
2006-08-16 4:14 ` JFFS2 problem(amit Kumar sharma) Amit Kumar Sharma
@ 2006-08-16 8:33 ` Artem B. Bityutskiy
2006-08-18 2:27 ` Amit Kumar Sharma
0 siblings, 1 reply; 5+ messages in thread
From: Artem B. Bityutskiy @ 2006-08-16 8:33 UTC (permalink / raw)
To: Amit Kumar Sharma; +Cc: linux-mtd
Amit Kumar Sharma wrote:
> I have one problem related to JFFS2 partition ,My partition size is 20MB
> but I am able to copy more then 20 MB in this partition and strange is after
> rebooting file exist with out any problem ,Can u tell me ,how JFFS2 maintain
> partition size information during copy or file write command.In which area I
> must check in JFFS2 or mtd.
JFFS2 compresses the data so ir is possible that you fit more then
20MiB. Try to copy mp3 files - you'll you fit less then 20MiB. WRT to
your question, I'm not sure what to answer - it's too general.
--
Best Regards,
Artem B. Bityutskiy,
St.-Petersburg, Russia.
^ permalink raw reply [flat|nested] 5+ messages in thread
* RE: JFFS2 problem(amit Kumar sharma)
2006-08-16 8:33 ` Artem B. Bityutskiy
@ 2006-08-18 2:27 ` Amit Kumar Sharma
0 siblings, 0 replies; 5+ messages in thread
From: Amit Kumar Sharma @ 2006-08-18 2:27 UTC (permalink / raw)
To: 'Artem B. Bityutskiy'; +Cc: linux-mtd
Hi Artem
I am able to solve this problem .I have one more. I lost data after reboot
but without reboot, I try mount, umount and then mount so I did not lost any
data. I find JFFS2 erase my all blocks, as it did not find any valid clean
marker in OOB area.
I am getting these debug messages.
Unknown but compatible feature node (0x2005) found at offset 0x00380000
jffs2_check_nand_cleanmarker(): Clean marker node not detected in block at
003a00
OOB at 003a0000 was ff ff 85 19 05 ff ff ff a6 9a a9 3f ff ff ff ff ff ff ff
ff
jffs_check_nand_cleanmarker returned 1
Unknown but compatible feature node (0x2005) found at offset 0x003a0000
jffs2_check_nand_cleanmarker(): Cleanmarker node not detected in block at
003c00
OOB at 003c0000 was ff ff 85 19 05 ff ff ff aa 95 55 3f ff ff ff ff ff ff ff
ff
jffs_check_nand_cleanmarker returned 1
Unknown but compatible feature node (0x2005) found at offset 0x003c0000
jffs_check_nand_cleanmarker returned 0
jffs2_check_oob_empty returned 1
JFFS2: Erase block at 0x003e0000 is not formatted. It will be erased
jffs_check_nand_cleanmarker returned 0
jffs2_check_oob_empty returned 1
JFFS2: Erase block at 0x00400000 is not formatted. It will be erased
jffs_check_nand_cleanmarker returned 0
jffs2_check_oob_empty returned 1
JFFS2: Erase block at 0x00420000 is not formatted. It will be erased
jffs_check_nand_cleanmarker returned 0
Thanks
Amit
-----Original Message-----
From: Artem B. Bityutskiy [mailto:dedekind@yandex.ru]
Sent: Wednesday, August 16, 2006 5:34 PM
To: Amit Kumar Sharma
Cc: linux-mtd@lists.infradead.org
Subject: Re: JFFS2 problem(amit Kumar sharma)
Amit Kumar Sharma wrote:
> I have one problem related to JFFS2 partition ,My partition size is 20MB
> but I am able to copy more then 20 MB in this partition and strange is
after
> rebooting file exist with out any problem ,Can u tell me ,how JFFS2
maintain
> partition size information during copy or file write command.In which area
I
> must check in JFFS2 or mtd.
JFFS2 compresses the data so ir is possible that you fit more then
20MiB. Try to copy mp3 files - you'll you fit less then 20MiB. WRT to
your question, I'm not sure what to answer - it's too general.
--
Best Regards,
Artem B. Bityutskiy,
St.-Petersburg, Russia.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2006-08-18 2:27 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-08-10 8:29 JFFS2 problem Amit Kumar Sharma
2006-08-10 9:32 ` Artem B. Bityutskiy
2006-08-16 4:14 ` JFFS2 problem(amit Kumar sharma) Amit Kumar Sharma
2006-08-16 8:33 ` Artem B. Bityutskiy
2006-08-18 2:27 ` Amit Kumar Sharma
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox