JFFS2 writes fail with 2.4.25

Tino Keitel tino.keitel at innominate.com
Thu Apr 15 10:40:31 EDT 2004


Hi folks,

I just switched from 2.4.19 to 2.4.25 and was afraid that there are
problems with file creation. Here is an example:

# mkdir x
jffs2_readdir() for dir_i #214
Dirent 0: ".", ino #214
Dirent 1: "..", ino #1
jffs2_readdir() for dir_i #214
jffs2_readdir() for dir_i #214
Dirent 0: ".", ino #214
Dirent 1: "..", ino #1
jffs2_readdir() for dir_i #214
Node read from 0094c2b0: node_crc 37d8e027, calculated CRC 37d8e027.
dsize 14, c
size 14, offset 0, buf c03138a0
Node read from 0086fdf8: node_crc 94fff751, calculated CRC 94fff751.
dsize 18, c
size 18, offset 0, buf c03138a0
Node read from 007fcf78: node_crc 479fd806, calculated CRC 479fd806.
dsize 18, c
size 18, offset 0, buf c03138a0
Node read from 007f9fb0: node_crc 14ceb272, calculated CRC 14ceb272.
dsize 7, cs
ize 7, offset 0, buf c03138a0
Node read from 007fcf78: node_crc 479fd806, calculated CRC 479fd806.
dsize 18, c
size 18, offset 0, buf c03138a0
Node read from 007f9fb0: node_crc 14ceb272, calculated CRC 14ceb272.
dsize 7, cs
ize 7, offset 0, buf c03138a0
jffs2_lookup()
jffs2_reserve_space(): Requested 0x44 bytes
Node read from 003af914: node_crc bc895f09, calculated CRC bc895f09.
dsize 12, c
size 12, offset 0, buf c1fa6280
Node read from 003af914: node_crc bc895f09, calculated CRC bc895f09.
dsize 12, c
size 12, offset 0, buf c1fa6280
Node read from 003af914: node_crc bc895f09, calculated CRC bc895f09.
dsize 12, c
size 12, offset 0, buf c1fa6280

...and so on.

The system is an Intel XScale IXP425 board (ARM little endian) with 16
MB NOR flash. I use the JFFS2 from the 2.4.25 kernel. Any hints what's
wrong here?

Regards,
Tino

-- 
tino.keitel at innominate.com
dipl.-inf.                        Innominate Security Technologies AG
software engineer                                   enabling security
tel: +49.30.6392-3308                      http://www.innominate.com/



More information about the linux-mtd mailing list