* JFFS2 Errors
@ 2002-09-18 1:18 Carl Przybylek
0 siblings, 0 replies; 5+ messages in thread
From: Carl Przybylek @ 2002-09-18 1:18 UTC (permalink / raw)
To: linux-mtd
Seems the patchin.sh file did not link all the kernel files correctly.
When I try to compile 2.4.19 kernel I get a bunch of undefined reference
errors.
I manually linked the jffs2 directory as that was not included. Im
assuming Ive missed some more.
The zlib_inflate_workspacesize is in the lib/zlib_inflate directory do
those directories need to be linked into the kernel source as well?
Any help would be greatly appreciated
Carl Przybylek
fs/fs.o: In function `jffs2_compress':
fs/fs.o(.text+0x3d654): undefined reference to `jffs2_rtime_compress'
fs/fs.o: In function `jffs2_decompress':
fs/fs.o(.text+0x3d6d9): undefined reference to `jffs2_rtime_decompress'
fs/fs.o: In function `jffs2_zlib_compress':
fs/fs.o(.text+0x3e051): undefined reference to `zlib_deflateInit_'
fs/fs.o(.text+0x3e0c1): undefined reference to `zlib_deflate'
fs/fs.o(.text+0x3e0fa): undefined reference to `zlib_deflate'
fs/fs.o(.text+0x3e102): undefined reference to `zlib_deflateEnd'
fs/fs.o(.text+0x3e12e): undefined reference to `zlib_deflateEnd'
fs/fs.o: In function `jffs2_zlib_decompress':
fs/fs.o(.text+0x3e18e): undefined reference to `zlib_inflateInit_'
fs/fs.o(.text+0x3e1e0): undefined reference to `zlib_inflate'
fs/fs.o(.text+0x3e200): undefined reference to `zlib_inflateEnd'
fs/fs.o: In function `jffs2_symlink':
fs/fs.o(.text+0x3e7db): undefined reference to `crc32'
fs/fs.o(.text+0x3e7f9): undefined reference to `crc32'
fs/fs.o(.text+0x3e806): undefined reference to `crc32'
fs/fs.o(.text+0x3e957): undefined reference to `crc32'
fs/fs.o(.text+0x3e99b): undefined reference to `crc32'
fs/fs.o(.text+0x3e9b0): more undefined references to `crc32' follow
fs/fs.o: In function `jffs2_garbage_collect_thread':
fs/fs.o(.text+0x46f50): undefined reference to `set_user_nice'
fs/fs.o: In function `jffs2_flush_wbuf':
fs/fs.o(.text+0x47a37): undefined reference to `crc32'
fs/fs.o: In function `jffs2_zlib_init':
fs/fs.o(.text.init+0xc15): undefined reference to
`zlib_deflate_workspacesize'
fs/fs.o(.text.init+0xc4a): undefined reference to
`zlib_deflate_workspacesize'
fs/fs.o(.text.init+0xc65): undefined reference to
`zlib_inflate_workspacesize'
fs/fs.o(.text.init+0xc9a): undefined reference to
`zlib_inflate_workspacesize'
^ permalink raw reply [flat|nested] 5+ messages in thread
* JFFS2 Errors
@ 2004-03-19 5:35 Shen Aaron-r62966
2004-03-19 8:58 ` David Woodhouse
0 siblings, 1 reply; 5+ messages in thread
From: Shen Aaron-r62966 @ 2004-03-19 5:35 UTC (permalink / raw)
To: 'linux-mtd@lists.infradead.org'
Hi,
I met some error when using JFFS2 in my new board while there's no problem to use cramfs file system. Actually, the problem is only these disgusting error messeges because the JFFS2 rootdisk can be mounted at last.
Below is the error messege, please help to see what's the cause. Thanks.
......
jffs2_scan_empty(): Empty block at 0x0001fffc ends at 0x00020000 (with 0x2003198
5)! Marking dirty
CLEANMARKER node found at 0x00020000, not first node in block (0x00000000)
jffs2_scan_empty(): Empty block at 0x0005fffc ends at 0x00060000 (with 0x2003198
5)! Marking dirty
CLEANMARKER node found at 0x00060000, not first node in block (0x00040000)
jffs2_scan_empty(): Empty block at 0x0009fff4 ends at 0x000a0000 (with 0x2003198
5)! Marking dirty
CLEANMARKER node found at 0x000a0000, not first node in block (0x00080000)
jffs2_scan_empty(): Empty block at 0x000dfffc ends at 0x000e0000 (with 0x2003198
5)! Marking dirty
CLEANMARKER node found at 0x000e0000, not first node in block (0x000c0000)
jffs2_scan_empty(): Empty block at 0x0011fffc ends at 0x00120000 (with 0x2003198
5)! Marking dirty
CLEANMARKER node found at 0x00120000, not first node in block (0x00100000)
jffs2_scan_empty(): Empty block at 0x0015fffc ends at 0x00160000 (with 0x2003198
5)! Marking dirty
CLEANMARKER node found at 0x00160000, not first node in block (0x00140000)
CLEANMARKER node found at 0x001a0000, not first node in block (0x00180000)
jffs2_scan_empty(): Empty block at 0x001dfffc ends at 0x001e0000 (with 0x2003198
5)! Marking dirty
CLEANMARKER node found at 0x001e0000, not first node in block (0x001c0000)
jffs2_scan_empty(): Empty block at 0x0021fffc ends at 0x00220000 (with 0x2003198
5)! Marking dirty
CLEANMARKER node found at 0x00220000, not first node in block (0x00200000)
jffs2_scan_empty(): Empty block at 0x0025fffc ends at 0x00260000 (with 0x2003198
5)! Marking dirty
CLEANMARKER node found at 0x00260000, not first node in block (0x00240000)
CLEANMARKER node found at 0x002a0000, not first node in block (0x00280000)
CLEANMARKER node found at 0x002e0000, not first node in block (0x002c0000)
CLEANMARKER node found at 0x00320000, not first node in block (0x00300000)
CLEANMARKER node found at 0x00360000, not first node in block (0x00340000)
CLEANMARKER node found at 0x003a0000, not first node in block (0x00380000)
CLEANMARKER node found at 0x003e0000, not first node in block (0x003c0000)
CLEANMARKER node found at 0x00420000, not first node in block (0x00400000)
CLEANMARKER node found at 0x00460000, not first node in block (0x00440000)
CLEANMARKER node found at 0x004a0000, not first node in block (0x00480000)
CLEANMARKER node found at 0x004e0000, not first node in block (0x004c0000)
CLEANMARKER node found at 0x00520000, not first node in block (0x00500000)
CLEANMARKER node found at 0x00560000, not first node in block (0x00540000)
CLEANMARKER node found at 0x005a0000, not first node in block (0x00580000)
CLEANMARKER node found at 0x005e0000, not first node in block (0x005c0000)
CLEANMARKER node found at 0x00620000, not first node in block (0x00600000)
CLEANMARKER node found at 0x00660000, not first node in block (0x00640000)
CLEANMARKER node found at 0x006a0000, not first node in block (0x00680000)
CLEANMARKER node found at 0x006e0000, not first node in block (0x006c0000)
CLEANMARKER node found at 0x00720000, not first node in block (0x00700000)
CLEANMARKER node found at 0x00760000, not first node in block (0x00740000)
CLEANMARKER node found at 0x007a0000, not first node in block (0x00780000)
CLEANMARKER node found at 0x007e0000, not first node in block (0x007c0000)
CLEANMARKER node found at 0x00820000, not first node in block (0x00800000)
CLEANMARKER node found at 0x00860000, not first node in block (0x00840000)
CLEANMARKER node found at 0x008a0000, not first node in block (0x00880000)
CLEANMARKER node found at 0x008e0000, not first node in block (0x008c0000)
jffs2_scan_empty(): Empty block at 0x0091fffc ends at 0x00920000 (with 0x2003198
5)! Marking dirty
CLEANMARKER node found at 0x00920000, not first node in block (0x00900000)
jffs2_scan_empty(): Empty block at 0x0095fffc ends at 0x00960000 (with 0x2003198
5)! Marking dirty
CLEANMARKER node found at 0x00960000, not first node in block (0x00940000)
jffs2_scan_empty(): Empty block at 0x0099fffc ends at 0x009a0000 (with 0x2003198
5)! Marking dirty
CLEANMARKER node found at 0x009a0000, not first node in block (0x00980000)
jffs2_scan_empty(): Empty block at 0x009dfffc ends at 0x009e0000 (with 0x2003198
5)! Marking dirty
CLEANMARKER node found at 0x009e0000, not first node in block (0x009c0000)
jffs2_scan_empty(): Empty block at 0x00a1fffc ends at 0x00a20000 (with 0x2003198
5)! Marking dirty
CLEANMARKER node found at 0x00a20000, not first node in block (0x00a00000)
jffs2_scan_empty(): Empty block at 0x00a5fffc ends at 0x00a60000 (with 0x2003198
5)! Marking dirty
CLEANMARKER node found at 0x00a60000, not first node in block (0x00a40000)
jffs2_scan_empty(): Empty block at 0x00a9fffc ends at 0x00aa0000 (with 0x2003198
5)! Marking dirty
CLEANMARKER node found at 0x00aa0000, not first node in block (0x00a80000)
jffs2_scan_empty(): Empty block at 0x00adfffc ends at 0x00ae0000 (with 0x2003198
5)! Marking dirty
CLEANMARKER node found at 0x00ae0000, not first node in block (0x00ac0000)
jffs2_scan_empty(): Empty block at 0x00b1fffc ends at 0x00b20000 (with 0x2003198
5)! Marking dirty
CLEANMARKER node found at 0x00b20000, not first node in block (0x00b00000)
jffs2_scan_empty(): Empty block at 0x00b5fffc ends at 0x00b60000 (with 0x2003198
5)! Marking dirty
CLEANMARKER node found at 0x00b60000, not first node in block (0x00b40000)
jffs2_scan_inode_node(): Data CRC failed on node at 0x00b8b220: Read 0x1bac7b35,
calculated 0xc731cc62
jffs2_scan_inode_node(): Data CRC failed on node at 0x00b9be10: Read 0x53f45f5f,
calculated 0x28d0f08d
jffs2_scan_inode_node(): Data CRC failed on node at 0x00b9f654: Read 0xe856288d,
calculated 0xa49d79c8
jffs2_scan_empty(): Empty block at 0x00b9fffc ends at 0x00ba0000 (with 0x2003198
5)! Marking dirty
CLEANMARKER node found at 0x00ba0000, not first node in block (0x00b80000)
jffs2_scan_inode_node(): Data CRC failed on node at 0x00bb2dd8: Read 0x5ee2d1dd,
calculated 0xc0f86b28
jffs2_scan_inode_node(): Data CRC failed on node at 0x00bd8e0c: Read 0xe6a360b0,
calculated 0x4b6baaf9
jffs2_scan_empty(): Empty block at 0x00bdff5c ends at 0x00be0000 (with 0x2003198
5)! Marking dirty
CLEANMARKER node found at 0x00be0000, not first node in block (0x00bc0000)
jffs2_scan_inode_node(): Data CRC failed on node at 0x00bfb074: Read 0xe070bd2e,
calculated 0x39ae1cdf
jffs2_scan_inode_node(): Data CRC failed on node at 0x00c08914: Read 0xe7c470b4,
calculated 0xac3121ed
jffs2_scan_inode_node(): Data CRC failed on node at 0x00c0e058: Read 0x0380eb82,
calculated 0xd4d14d5a
jffs2_scan_inode_node(): Data CRC failed on node at 0x00c19e18: Read 0x98b23442,
calculated 0xf13ed0ab
jffs2_scan_empty(): Empty block at 0x00c1ffe4 ends at 0x00c20000 (with 0x2003198
5)! Marking dirty
CLEANMARKER node found at 0x00c20000, not first node in block (0x00c00000)
jffs2_scan_empty(): Empty block at 0x00c5fffc ends at 0x00c60000 (with 0x2003198
5)! Marking dirty
CLEANMARKER node found at 0x00c60000, not first node in block (0x00c40000)
jffs2_scan_inode_node(): Data CRC failed on node at 0x00c621a4: Read 0x5f3a742e,
calculated 0xe4b348f8
Eep. Child "ansi77" (ino #690) of dir ino #488 doesn't exist!
Eep. Child "att610" (ino #794) of dir ino #488 doesn't exist!
Eep. Child "att730" (ino #809) of dir ino #488 doesn't exist!
Eep. Child "cons50l1-m" (ino #954) of dir ino #490 doesn't exist!
Eep. Child "hp2645a" (ino #1259) of dir ino #495 doesn't exist!
Eep. Child "pc6300plus" (ino #1569) of dir ino #503 doesn't exist!
Eep. Child "qvt119p-25-w" (ino #1678) of dir ino #504 doesn't exist!
Eep. Child "soroc120" (ino #1723) of dir ino #506 doesn't exist!
Eep. Child "ti926" (ino #1830) of dir ino #507 doesn't exist!
Eep. Child "wyse60-43-w" (ino #2231) of dir ino #510 doesn't exist!
VFS: Mounted root (jffs2 filesystem).
Mounted devfs on /dev
Freeing init memory: 84K
......
//Then the system is booted up.
Aaron
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: JFFS2 Errors
2004-03-19 5:35 Shen Aaron-r62966
@ 2004-03-19 8:58 ` David Woodhouse
0 siblings, 0 replies; 5+ messages in thread
From: David Woodhouse @ 2004-03-19 8:58 UTC (permalink / raw)
To: Shen Aaron-r62966; +Cc: 'linux-mtd@lists.infradead.org'
On Fri, 2004-03-19 at 13:35 +0800, Shen Aaron-r62966 wrote:
> Hi,
>
> I met some error when using JFFS2 in my new board while there's no
> problem to use cramfs file system. Actually, the problem is only these
> disgusting error messeges because the JFFS2 rootdisk can be mounted at
> last.
>
> Below is the error messege, please help to see what's the cause.
You have generated a JFFS2 image with incorrect erasesize. Use
'-e0x40000' argument to JFFS2.
--
dwmw2
^ permalink raw reply [flat|nested] 5+ messages in thread
* RE: JFFS2 Errors
[not found] <01139FC052A0D411900B00508B9535FC102796E8@ZCH07EXM04.corp.mot.com>
@ 2004-03-19 9:50 ` David Woodhouse
0 siblings, 0 replies; 5+ messages in thread
From: David Woodhouse @ 2004-03-19 9:50 UTC (permalink / raw)
To: Shen Aaron-r62966; +Cc: linux-mtd
On Fri, 2004-03-19 at 17:13 +0800, Shen Aaron-r62966 wrote:
> I have been aware of it after some research. The block size of my Flash
> seems to be 256KiB, which need the erasesize to be set to 0x40000.
> But after I re-build the JFFS2 rootdisk, the following messege are still shown
> althought it will not influence mounting operation.
Is this on a completely clean file system image created by mkfs.jffs2?
Or are the CRC errors on nodes which were written by the kernel itself?
--
dwmw2
^ permalink raw reply [flat|nested] 5+ messages in thread
* Jffs2 errors
@ 2013-06-13 18:58 harsh poshtiwala
0 siblings, 0 replies; 5+ messages in thread
From: harsh poshtiwala @ 2013-06-13 18:58 UTC (permalink / raw)
To: linux-mtd
Hi,
I am using TI OMAP AM3517 with Linux 2.6.32.
>From time to time I see errors when I update mtd partitions
i use the following commands
flash_eraseall -j /dev/mtd10
mount -t jffs2 /dev/mtdblock10 /tmp/nand
cd nand
tar -xzf rootfs.tar.gz
the erase operation goes successfully, however I see the following
errors at the time of mount/writing
,ffffffff}
JFFS2 notice: (429) jffs2_get_inode_nodes: Node header CRC failed at
0xe1018d4. {ffff,ffff,ffffffff,ffffffff}
JFFS2 notice: (429) jffs2_get_inode_nodes: Node header CRC failed at
0xe101690. {ffff,ffff,ffffffff,ffffffff}
JFFS2 notice: (429) jffs2_get_inode_nodes: Node header CRC failed at
0xe10144c. {ffff,ffff,ffffffff,ffffffff}
JFFS2 notice: (429) jffs2_get_inode_nodes: Node header CRC failed at
0xe101208. {ffff,ffff,ffffffff,ffffffff}
JFFS2 notice: (429) jffs2_get_inode_nodes: Node header CRC failed at
0xe100fc4. {ffff,ffff,ffffffff,ffffffff}
JFFS2 notice: (429) jffs2_get_inode_nodes: Node header CRC failed at
0xe100d80. {ffff,ffff,ffffffff,ffffffff}
JFFS2 notice: (429) jffs2_get_inode_nodes: Node header CRC failed at
0xe100b3c. {ffff,ffff,ffffffff,ffffffff}
JFFS2 notice: (429) jffs2_get_inode_nodes: Node header CRC failed at
0xe100000. {ffff,ffff,ffffffff,ffffffff}
and finally, I see the following messages before I get the command prompt
JFFS2 warning: (429) jffs2_do_read_inode_internal: no data nodes found
for ino #11487
Returned error for crccheck of ino #11487. Expect badness...
Header CRC failed on REF_PRISTINE node at 0x11f57414: Read 0xffffffff,
calculated 0x44660075
Header CRC failed on REF_PRISTINE node at 0x11f57ba8: Read 0xffffffff,
calculated 0x44660075
Header CRC failed on REF_PRISTINE node at 0x11f5abfc: Read 0xffffffff,
calculated 0x44660075
Node CRC ffffffff != calculated CRC f09e7845 for node at 11f5adfc
read of old metadata failed in jffs2_garbage_collect_metadata(): -5
Error garbage collecting node at 11f5adfc!
No space for garbage collection. Aborting GC thread
Node CRC ffffffff != calculated CRC f09e7845 for node at 11f5adfc
read of old metadata failed in jffs2_garbage_collect_metadata(): -5
Error garbage collecting node at 11f5adfc!
Node CRC ffffffff != calculated CRC f09e7845 for node at 11f5adfc
read of old metadata failed in jffs2_garbage_collect_metadata(): -5
Error garbage collecting node at 11f5adfc!
Node CRC ffffffff != calculated CRC f09e7845 for node at 11f5adfc
read of old metadata failed in jffs2_garbage_collect_metadata(): -5
Error garbage collecting node at 11f5adfc!
One more thing I found is that the target keeps throwing the following messages.
root@ti-omap3-am3517-evm:/tmp# Node CRC ffffffff != calculated CRC
f09e7845 for node at 11f5adfc
read of old metadata failed in jffs2_garbage_collect_metadata(): -5
Error garbage collecting node at 11f5adfc!
Also, when I type some of the commands it fails with the errors
root@ti-omap3-am3517-evm:/tmp# umount nand
JFFS2 warning: (1183) jffs2_get_inode_nodes: Eep. No valid nodes for ino #11253.
JFFS2 warning: (1183) jffs2_do_read_inode_internal: no data nodes
found for ino #11253
iget() failed for ino #11253
-bash: umount: command not found
I would really appreciate your comments to fix this.
--
Thanks & Regards
Harsh
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2013-06-13 18:59 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-09-18 1:18 JFFS2 Errors Carl Przybylek
-- strict thread matches above, loose matches on Subject: below --
2004-03-19 5:35 Shen Aaron-r62966
2004-03-19 8:58 ` David Woodhouse
[not found] <01139FC052A0D411900B00508B9535FC102796E8@ZCH07EXM04.corp.mot.com>
2004-03-19 9:50 ` David Woodhouse
2013-06-13 18:58 Jffs2 errors harsh poshtiwala
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox