<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2912" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Courier size=2>Hi!</FONT></DIV>
<DIV><FONT face=Courier size=2></FONT> </DIV>
<DIV><FONT face=Courier size=2>I am a beginner in all these embedded linux - mtd
- jffs stuff. I am using Intel FLASH 28F320 (2 interleaved 16b chips of
8MB, so we have 32bit buswidth) (CFI) with TMS320C5471 platform. I
turnd on MTD support, so I have 5 partitions: bootloader (/dev/mtd0), bootloader
parameters (/dev/mtd1), kernel image (/dev/mtd2), ROMFS SDRAM image
(/dev/mtd5), primary file system, which is romfs (/dev/mtd3) and I want the
second to be jffs2 (/dev/mtd4):</FONT></DIV>
<DIV><FONT face=Courier size=2></FONT> </DIV>
<DIV><FONT size=2>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=SR-CYR
style="FONT-SIZE: 10pt; FONT-FAMILY: Courier">c5471_init: CFI FLASH device size:
16384K<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office"
/><o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=SR-CYR
style="FONT-SIZE: 10pt; FONT-FAMILY: Courier">Creating 5 MTD partitions on
"C5471 CFI":<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=SR-CYR
style="FONT-SIZE: 10pt; FONT-FAMILY: Courier">0x00000000-0x000a0000 : "C5471
Bootloader"<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=SR-CYR
style="FONT-SIZE: 10pt; FONT-FAMILY: Courier">0x000a0000-0x000c0000 : "C5471
Bootloader Parameters"<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=SR-CYR
style="FONT-SIZE: 10pt; FONT-FAMILY: Courier">0x000c0000-0x001c0000 : "C5471
Kernel Image"<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=SR-CYR
style="FONT-SIZE: 10pt; FONT-FAMILY: Courier">0x001c0000-0x00800000 : "C5471
Primary File System"<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=SR-CYR
style="FONT-SIZE: 10pt; FONT-FAMILY: Courier">0x00800000-0x01000000 : "C5471
Secondary File System"<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=SR-CYR
style="FONT-SIZE: 10pt; FONT-FAMILY: Courier">Creating 1 MTD partitions on
"SDRAM":<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=SR-CYR
style="FONT-SIZE: 10pt; FONT-FAMILY: Courier">0x00000000-0x006bffe0 : "SDRAM
File System"<o:p></o:p></SPAN></P></FONT></DIV>
<DIV><FONT face=Courier size=2></FONT> </DIV>
<DIV><FONT face=Courier size=2>I have made jffs2 image:</FONT></DIV>
<DIV><FONT face=Courier size=2></FONT> </DIV>
<DIV><FONT face=Courier size=2>arm-uclinux-mkjffs2 -d ./jffsfolder -l -e
0x00020000 -o jffs2.img >/dev/null</FONT></DIV>
<DIV><FONT face=Courier size=2></FONT> </DIV>
<DIV><FONT face=Courier size=2>and I loaded it at addresses from
0x00800000, which correspond to fs2, i.e. /dev/mtd4.</FONT></DIV>
<DIV><FONT face=Courier size=2></FONT> </DIV>
<DIV><FONT face=Courier size=2>When I try to mount jffs2:</FONT></DIV>
<DIV><FONT face=Courier size=2></FONT> </DIV>
<DIV><FONT size=2>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=SR-CYR
style="FONT-SIZE: 10pt; FONT-FAMILY: Courier"># mount -t jffs2 /dev/mtd4
/mnt/ramdisk/tmp</SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=SR-CYR
style="FONT-SIZE: 10pt; FONT-FAMILY: Courier"><o:p><FONT
face=Courier></FONT></o:p></SPAN> </P></FONT><FONT size=2></FONT></DIV>
<DIV><FONT face=Courier size=2>it sends me messages:</FONT></DIV>
<DIV><FONT face=Courier size=2></FONT> </DIV>
<DIV><FONT size=2>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=SR-CYR
style="FONT-SIZE: 10pt; FONT-FAMILY: Courier">jffs2: read_super for device
1f:04<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=SR-CYR
style="FONT-SIZE: 10pt; FONT-FAMILY: Courier">jffs2_scan_eraseblock(): Scanning
block at 0x0<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=SR-CYR
style="FONT-SIZE: 10pt; FONT-FAMILY: Courier">jffs2_scan_eraseblock(): Magic
bitmask 0x1985 not found at 0x00000000: 0xface instead<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=SR-CYR
style="FONT-SIZE: 10pt; FONT-FAMILY: Courier">jffs2_scan_eraseblock(): Magic
bitmask 0x1985 not found at 0x00000004: 0x0020 instead<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=SR-CYR
style="FONT-SIZE: 10pt; FONT-FAMILY: Courier">Empty bitmask at
0x00000008<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=SR-CYR
style="FONT-SIZE: 10pt; FONT-FAMILY: Courier">jffs2_scan_eraseblock(): Magic
bitmask 0x1985 not found at 0x0000000c: 0x5188 instead<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=SR-CYR
style="FONT-SIZE: 10pt; FONT-FAMILY: Courier">jffs2_scan_dirent_node(): Node at
0x00000010<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=SR-CYR
style="FONT-SIZE: 10pt; FONT-FAMILY: Courier">jffs2_get_ino_cache(): ino
1<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=SR-CYR
style="FONT-SIZE: 10pt; FONT-FAMILY: Courier">jffs2_get_ino_cache found 00000000
for ino 1<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=SR-CYR
style="FONT-SIZE: 10pt; FONT-FAMILY: Courier">Allocated inocache at
106dd2c0<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=SR-CYR
style="FONT-SIZE: 10pt; FONT-FAMILY: Courier">jffs2_add_ino_cache: Add 106dd2c0
(ino #1)<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=SR-CYR
style="FONT-SIZE: 10pt; FONT-FAMILY: Courier">jffs2_add_fd_to_list( 1023f6a0,
10219e60 (->00000000))<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=SR-CYR
style="FONT-SIZE: 10pt; FONT-FAMILY: Courier">Dirent "config.last" (hash
0xca144fa2, ino #2<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=SR-CYR
style="FONT-SIZE: 10pt; FONT-FAMILY: Courier">jffs2_scan_inode_node(): Node at
0x00000044<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=SR-CYR
style="FONT-SIZE: 10pt; FONT-FAMILY: Courier">jffs2_get_ino_cache(): ino
2<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=SR-CYR
style="FONT-SIZE: 10pt; FONT-FAMILY: Courier">jffs2_get_ino_cache found 00000000
for ino 2<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=SR-CYR
style="FONT-SIZE: 10pt; FONT-FAMILY: Courier">Allocated inocache at
106dd2d4<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=SR-CYR
style="FONT-SIZE: 10pt; FONT-FAMILY: Courier">jffs2_add_ino_cache: Add 106dd2d4
(ino #2)<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=SR-CYR
style="FONT-SIZE: 10pt; FONT-FAMILY: Courier">Node is ino #2, version 1. Range
0x0-0x1000<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=SR-CYR
style="FONT-SIZE: 10pt; FONT-FAMILY: Courier">jffs2_scan_inode_node(): Node at
0x00001088<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=SR-CYR
style="FONT-SIZE: 10pt; FONT-FAMILY: Courier">jffs2_get_ino_cache(): ino
2<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=SR-CYR
style="FONT-SIZE: 10pt; FONT-FAMILY: Courier">jffs2_get_ino_cache found 106dd2d4
for ino 2<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=SR-CYR
style="FONT-SIZE: 10pt; FONT-FAMILY: Courier">Node is ino #2, version 2. Range
0x1000-0x2000<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=SR-CYR
style="FONT-SIZE: 10pt; FONT-FAMILY: Courier">jffs2_scan_inode_node(): Node at
0x000020cc<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=SR-CYR
style="FONT-SIZE: 10pt; FONT-FAMILY: Courier">jffs2_get_ino_cache(): ino
2<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=SR-CYR
style="FONT-SIZE: 10pt; FONT-FAMILY: Courier">jffs2_get_ino_cache found 106dd2d4
for ino 2<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=SR-CYR
style="FONT-SIZE: 10pt; FONT-FAMILY: Courier">Node is ino #2, version 3. Range
0x2000-0x27c4<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=SR-CYR
style="FONT-SIZE: 10pt; FONT-FAMILY: Courier">jffs2_scan_dirent_node(): Node at
0x000028d4<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=SR-CYR
style="FONT-SIZE: 10pt; FONT-FAMILY: Courier">jffs2_get_ino_cache(): ino
1<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=SR-CYR
style="FONT-SIZE: 10pt; FONT-FAMILY: Courier">jffs2_get_ino_cache found 106dd2c0
for ino 1<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=SR-CYR
style="FONT-SIZE: 10pt; FONT-FAMILY: Courier">jffs2_add_fd_to_list( 1023f6e0,
10219e60 (->1023f6a0))<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=SR-CYR
style="FONT-SIZE: 10pt; FONT-FAMILY: Courier">Dirent "config.last~" (hash
0xaedfc2e3, ino #3<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=SR-CYR
style="FONT-SIZE: 10pt; FONT-FAMILY: Courier">Dirent "config.last" (hash
0xca144fa2, ino #2<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=SR-CYR
style="FONT-SIZE: 10pt; FONT-FAMILY: Courier">jffs2_scan_inode_node(): Node at
0x00002908<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=SR-CYR
style="FONT-SIZE: 10pt; FONT-FAMILY: Courier">jffs2_get_ino_cache(): ino
3<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=SR-CYR
style="FONT-SIZE: 10pt; FONT-FAMILY: Courier">jffs2_get_ino_cache found 00000000
for ino 3<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=SR-CYR
style="FONT-SIZE: 10pt; FONT-FAMILY: Courier">Allocated inocache at
106dd2e8<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=SR-CYR
style="FONT-SIZE: 10pt; FONT-FAMILY: Courier">jffs2_add_ino_cache: Add 106dd2e8
(ino #3)<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=SR-CYR
style="FONT-SIZE: 10pt; FONT-FAMILY: Courier">Node is ino #3, version 1. Range
0x0-0x1000<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=SR-CYR
style="FONT-SIZE: 10pt; FONT-FAMILY: Courier">jffs2_scan_inode_node(): Node at
0x0000394c<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=SR-CYR
style="FONT-SIZE: 10pt; FONT-FAMILY: Courier">jffs2_get_ino_cache(): ino
3<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=SR-CYR
style="FONT-SIZE: 10pt; FONT-FAMILY: Courier">jffs2_get_ino_cache found 106dd2e8
for ino 3<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=SR-CYR
style="FONT-SIZE: 10pt; FONT-FAMILY: Courier">Node is ino #3, version 2. Range
0x1000-0x2000<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=SR-CYR
style="FONT-SIZE: 10pt; FONT-FAMILY: Courier">jffs2_scan_inode_node(): Node at
0x00004990<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=SR-CYR
style="FONT-SIZE: 10pt; FONT-FAMILY: Courier">jffs2_get_ino_cache(): ino
3<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=SR-CYR
style="FONT-SIZE: 10pt; FONT-FAMILY: Courier">jffs2_get_ino_cache found 106dd2e8
for ino 3<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=SR-CYR
style="FONT-SIZE: 10pt; FONT-FAMILY: Courier">Node is ino #3, version 3. Range
0x2000-0x27c4<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=SR-CYR
style="FONT-SIZE: 10pt; FONT-FAMILY: Courier">Found empty flash at
0x5198<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=SR-CYR
style="FONT-SIZE: 10pt; FONT-FAMILY: Courier">Empty flash detected from
0x00005198 to 0x00020000<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=SR-CYR
style="FONT-SIZE: 10pt; FONT-FAMILY: Courier">Block at 0x00000000: free
0x0001ae68, dirty 0x00000010, used 0x00005188<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=SR-CYR
style="FONT-SIZE: 10pt; FONT-FAMILY: Courier">jffs2_scan_eraseblock(): Scanning
block at 0x20000<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=SR-CYR
style="FONT-SIZE: 10pt; FONT-FAMILY: Courier">Empty flash detected from
0x00020000 to 0x00040000<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=SR-CYR
style="FONT-SIZE: 10pt; FONT-FAMILY: Courier">Block at 0x00020000 is empty
(erased)<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=SR-CYR
style="FONT-SIZE: 10pt; FONT-FAMILY: Courier">jffs2_scan_eraseblock(): Scanning
block at 0x40000<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=SR-CYR
style="FONT-SIZE: 10pt; FONT-FAMILY: Courier">Empty flash detected from
0x00040000 to 0x00060000<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=SR-CYR
style="FONT-SIZE: 10pt; FONT-FAMILY: Courier">Block at 0x00040000 is empty
(erased)<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=SR-CYR
style="FONT-SIZE: 10pt; FONT-FAMILY: Courier">jffs2_scan_eraseblock(): Scanning
block at 0x60000<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=SR-CYR
style="FONT-SIZE: 10pt; FONT-FAMILY: Courier">Empty flash detected from
0x00060000 to 0x00080000<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=SR-CYR
style="FONT-SIZE: 10pt; FONT-FAMILY: Courier">Block at 0x00060000 is empty
(erased)</SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=SR-CYR
style="FONT-SIZE: 10pt; FONT-FAMILY: Courier"><FONT
face=Courier></FONT></SPAN> </P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=SR-CYR
style="FONT-SIZE: 10pt; FONT-FAMILY: Courier">etc., and finally:</SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=SR-CYR
style="FONT-SIZE: 10pt; FONT-FAMILY: Courier"></SPAN> </P><SPAN lang=SR-CYR
style="FONT-SIZE: 10pt; FONT-FAMILY: Courier">
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=SR-CYR
style="FONT-SIZE: 10pt; FONT-FAMILY: Courier">Pass 3
complete<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=SR-CYR
style="FONT-SIZE: 10pt; FONT-FAMILY: Courier">jffs2_read_super(): Getting root
inode<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=SR-CYR
style="FONT-SIZE: 10pt; FONT-FAMILY: Courier">jffs2_read_inode():
inode->i_ino == 1<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=SR-CYR
style="FONT-SIZE: 10pt; FONT-FAMILY: Courier">getting
inocache<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=SR-CYR
style="FONT-SIZE: 10pt; FONT-FAMILY: Courier">jffs2_get_ino_cache(): ino
1<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=SR-CYR
style="FONT-SIZE: 10pt; FONT-FAMILY: Courier">jffs2_get_ino_cache found 106dd2c0
for ino 1<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=SR-CYR
style="FONT-SIZE: 10pt; FONT-FAMILY: Courier">jffs2_read_inode(): Got inocache
at 106dd2c0<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=SR-CYR
style="FONT-SIZE: 10pt; FONT-FAMILY: Courier">jffs2_read_inode(): ino #1 nlink
is 1<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=SR-CYR
style="FONT-SIZE: 10pt; FONT-FAMILY: Courier">jffs2_get_inode_nodes(): ino
#1<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=SR-CYR
style="FONT-SIZE: 10pt; FONT-FAMILY: Courier">Node at 000028d4 is a dirent
node<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=SR-CYR
style="FONT-SIZE: 10pt; FONT-FAMILY: Courier">Adding fd "config.last~", ino
#3<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=SR-CYR
style="FONT-SIZE: 10pt; FONT-FAMILY: Courier">jffs2_add_fd_to_list( 1023f6a0,
10707d14 (->00000000))<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=SR-CYR
style="FONT-SIZE: 10pt; FONT-FAMILY: Courier">Dirent "config.last~" (hash
0xaedfc2e3, ino #3<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=SR-CYR
style="FONT-SIZE: 10pt; FONT-FAMILY: Courier">Node at 00000010 is a dirent
node<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=SR-CYR
style="FONT-SIZE: 10pt; FONT-FAMILY: Courier">Adding fd "config.last", ino
#2<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=SR-CYR
style="FONT-SIZE: 10pt; FONT-FAMILY: Courier">jffs2_add_fd_to_list( 1023f6e0,
10707d14 (->1023f6a0))<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=SR-CYR
style="FONT-SIZE: 10pt; FONT-FAMILY: Courier">Dirent "config.last~" (hash
0xaedfc2e3, ino #3<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=SR-CYR
style="FONT-SIZE: 10pt; FONT-FAMILY: Courier">Dirent "config.last" (hash
0xca144fa2, ino #2<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=SR-CYR
style="FONT-SIZE: 10pt; FONT-FAMILY: Courier">jffs2_read_inode()
returning<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=SR-CYR
style="FONT-SIZE: 10pt; FONT-FAMILY: Courier">jffs2_read_super():
d_alloc_root()<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=SR-CYR
style="FONT-SIZE: 10pt; FONT-FAMILY: Courier">thread_should_wake():
nr_free_blocks 0, nr_erasing_blocks 63, dirty_size 0x10<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=SR-CYR
style="FONT-SIZE: 10pt; FONT-FAMILY: Courier">thread_should_wake(): return
0<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=SR-CYR
style="FONT-SIZE: 10pt; FONT-FAMILY: Courier">jffs2_garbage_collect_thread():
posle !thread_should_wake<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=SR-CYR
style="FONT-SIZE: 10pt; FONT-FAMILY: Courier">jffs2_garbage_collect_thread
sleeping...<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=SR-CYR
style="FONT-SIZE: 10pt; FONT-FAMILY: Courier">JFFS2: Garbage collect thread is
pid 37<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=SR-CYR
style="FONT-SIZE: 10pt; FONT-FAMILY: Courier">jffs2_read_super(): pre return
sb<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=SR-CYR
style="FONT-SIZE: 10pt; FONT-FAMILY: Courier">thread_should_wake():
nr_free_blocks 0, nr_erasing_blocks 63, dirty_size 0x10<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=SR-CYR
style="FONT-SIZE: 10pt; FONT-FAMILY: Courier">thread_should_wake(): return
0<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=SR-CYR
style="FONT-SIZE: 10pt; FONT-FAMILY: Courier">Starting erase of pending block
0x00620000<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=SR-CYR
style="FONT-SIZE: 10pt; FONT-FAMILY: Courier">Freeing all node refs for
eraseblock offset 0x00620000<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=SR-CYR
style="FONT-SIZE: 10pt; FONT-FAMILY: Courier">erase.c:
jffs2_free_all_node_refs(): end<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=SR-CYR
style="FONT-SIZE: 10pt; FONT-FAMILY: Courier">jffs2_erase_pending_blocks():
TEST1 </SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=SR-CYR
style="FONT-SIZE: 10pt; FONT-FAMILY: Courier">jffs2_erase_pending_blocks():
TEST2 <o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=SR-CYR
style="FONT-SIZE: 10pt; FONT-FAMILY: Courier">jffs2_erase_block():
TEST1<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=SR-CYR
style="FONT-SIZE: 10pt; FONT-FAMILY: Courier">jffs2_erase_block():
TEST2<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=SR-CYR
style="FONT-SIZE: 10pt; FONT-FAMILY: Courier">jffs2_erase_block():
TEST3<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=SR-CYR
style="FONT-SIZE: 10pt; FONT-FAMILY: Courier">do_erase_oneblock(): status_OK =
CMD(0x80) = 0x800080<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=SR-CYR
style="FONT-SIZE: 10pt; FONT-FAMILY: Courier">do_erase_oneblock():
chip->state1 = 0<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=SR-CYR
style="FONT-SIZE: 10pt; FONT-FAMILY: Courier">do_erase_oneblock():
chip->state2 = 1<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=SR-CYR
style="FONT-SIZE: 10pt; FONT-FAMILY: Courier">do_erase_o<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><o:p></o:p> </P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><o:p>and there it stops every
time, with a few characters more or less. The situation was similar when I
erased my flash before mounting the jffs2 (except it found completely empty
flash). </o:p></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><o:p></o:p> </P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><o:p>Have enyone an idea what I
did wrong or what I missed to do? Could a problem be with that thread thing -
<SPAN lang=SR-CYR
style="FONT-SIZE: 10pt; FONT-FAMILY: Courier">thread_should_wake()?</SPAN></o:p></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><o:p></o:p> </P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><o:p>Thank you in
advance!</o:p></P>
<P class=MsoNormal
style="MARGIN: 0cm 0cm 0pt"><o:p>Iva</o:p></SPAN></P></FONT></DIV>
<DIV><FONT face=Courier size=2></FONT> </DIV>
<DIV><FONT face=Courier size=2></FONT> </DIV>
<DIV><FONT face=Courier size=2></FONT> </DIV>
<DIV><FONT face=Courier></FONT> </DIV></BODY></HTML>