Inode #274 was a directory with children - removing those too...
What means "Inode #274 was a directory with children - removing those too..." ?
I switched on CONFIG_MTD_DEBUG to 2:
scb9328_flash: Found 1 x16 devices at 0x0 in 16-bit bank
Intel/Sharp Extended Query Table at 0x0031
Using buffer write methodcfi_cmdset_0001: Erase suspend on write enabled
5 cmdlinepart partitions found on MTD device scb9328_flash Creating 5 MTD partitions on "scb9328_flash":
0x00000000-0x00020000 : "U-boot"
0x00020000-0x00040000 : "U-boot_env" 0x00040000-0x00240000 : "kernel"
0x00240000-0x00740000 : "root"
0x00740000-0x01000000 : "fs"
NET: Registered protocol family 2
IP route cache hash table entries: 256 (order: -2, 1024 bytes) TCP established hash table entries: 1024 (order: 1, 8192 bytes) TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
TCP: Hash tables configured (established 1024 bind 1024) TCP reno registered
TCP bic registered
NET: Registered protocol family 1
Inode #274 was a directory with children - removing those too...
VFS: Mounted root (jffs2 filesystem).
Freeing init memory: 64K
x0003aca1, ino #55
, ino #536
f ino#52
2_read_inode_range: ino #70, range 0x00058000-0x00059000 30986c
248-53792, before the region we care about
g e000-f000: 0x0009831c(2) on flash (*c0309e70). left (00000000), right (00000000), parent (c0309e8c)
x3000; phys 0x000c8e1c (*c03093d4)
ino #474
rent "ftpput" (hash 0xc092a6bb, ino #451
Initializing random number generator... done.
Starting network...
ip: RTNETLINK answers: File exists
eth0: link down
(00000000), right (00000000), parent (c0c1463c)
Starting dropbear sshd: 4), right (c0309d20), parent (00000000) 40
OK
I use 2.6.13 on arm (mach-imx) with a nor flash device...
Regards Konsti
Signature · 2 lines
GPG KeyID EF62FCEF Fingerprint: 13C9 B16B 9844 EC15 CC2E A080 1E69 3FDA EF62 FCEF
Quoted 3 lines · Konstantin Kletschke
What means "Inode #274 was a directory with children - removing those too..." ?
This means JFFS2 has found a deleted directory which has children. This should be harmless.
Signature · 3 lines
Best Regards, Artem B. Bityuckiy, St.-Petersburg, Russia.
At Wed, 28 Sep 2005 14:50:16 +0400,
Quoted 2 lines · Artem B. Bityutskiy
This means JFFS2 has found a deleted directory which has children. This should be harmless.
It happens on a virgin created image. After that on every mount. The partition is used as /.
K
Signature · 2 lines
GPG KeyID EF62FCEF Fingerprint: 13C9 B16B 9844 EC15 CC2E A080 1E69 3FDA EF62 FCEF
Quoted 2 lines · Konstantin Kletschke
It happens on a virgin created image. After that on every mount. The partition is used as /.
Refine "virgin created image" please. If you mean you made it by mkfs.jffs2 and mount and see that message - there is a bug I think.
Signature · 3 lines
Best Regards, Artem B. Bityuckiy, St.-Petersburg, Russia.
At Wed, 28 Sep 2005 13:21:46 +0200,
Quoted 2 lines · Konstantin Kletschke
It happens on a virgin created image. After that on every mount. The partition is used as /.
I did some further debugging:
konsti@synertronixx3:/usr/src/buildroot$ ls -laR build_arm/root/etc/network/ build_arm/root/etc/network/: total 8 drwxr-xr-x 3 konsti konsti 41 2005-09-28 09:51 . drwxr-xr-x 4 konsti konsti 4096 2005-09-28 09:51 .. drwxrwxr-x 2 konsti konsti 33 2005-08-26 15:42 if-pre-up.d -rw-r--r-- 1 konsti konsti 1618 2005-09-28 11:09 interfaces
build_arm/root/etc/network/if-pre-up.d:
total 8
drwxrwxr-x 2 konsti konsti 33 2005-08-26 15:42 . drwxr-xr-x 3 konsti konsti 41 2005-09-28 09:51 .. -rwxr-xr-x 1 konsti konsti 6027 2005-08-26 15:42 linux-wlan-ng-pre-up
Then:
/usr/src/buildroot/toolchain_build_arm/mtd-20050122.orig/util/mkfs.jffs2\
-e 0x20000 -l \
-d /usr/src/buildroot/build_arm/root \
-o /usr/src/buildroot/root_fs_arm.jffs2 \
-D target/scb9328/device_table.txtOn Target:
# ls -laR /etc/network/ /etc/network/: drwxr-xr-x 6 default default 0 Sep 28 2005 . drwxr-xr-x 5 default default 0 Jan 1 00:00 .. drwxr-xr-x 2 root root 0 Sep 28 2005 if-down.d drwxr-xr-x 2 root root 0 Sep 28 2005 if-post-down.d drwxr-xr-x 2 root root 0 Aug 26 2005 if-pre-up.d drwxr-xr-x 2 root root 0 Sep 28 2005 if-up.d -rw-r--r-- 1 default default 1618 Sep 28 2005 interfaces
/etc/network/if-down.d:
drwxr-xr-x 2 root root 0 Sep 28 2005 . drwxr-xr-x 6 default default 0 Sep 28 2005 ..
/etc/network/if-post-down.d:
drwxr-xr-x 2 root root 0 Sep 28 2005 . drwxr-xr-x 6 default default 0 Sep 28 2005 ..
/etc/network/if-pre-up.d:
drwxr-xr-x 2 root root 0 Aug 26 2005 . drwxr-xr-x 6 default default 0 Sep 28 2005 ..
/etc/network/if-up.d:
drwxr-xr-x 2 root root 0 Sep 28 2005 . drwxr-xr-x 6 default default 0 Sep 28 2005 ..
#
With this devicetable:
/etc/network/if-up.d d 755 0 0
- - - - -/etc/network/if-pre-up.d d 755 0 0
- - - - -/etc/network/if-down.d d 755 0 0
- - - - -/etc/network/if-post-down.d d 755 0 0
- - - - -
I attach jffs2dump because I am not able to convince emacs to not linebreak it, it looks unuseable broken at 72 chars.
Konsti
Signature · 3 lines
-- GPG KeyID EF62FCEF Fingerprint: 13C9 B16B 9844 EC15 CC2E A080 1E69 3FDA EF62 FCEF
At Wed, 28 Sep 2005 15:36:46 +0400,
Quoted 2 lines · Artem B. Bityutskiy
Refine "virgin created image" please. If you mean you made it by mkfs.jffs2 and mount and see that message - there is a bug I think.
That I meant, yes.
Signature · 2 lines
GPG KeyID EF62FCEF Fingerprint: 13C9 B16B 9844 EC15 CC2E A080 1E69 3FDA EF62 FCEF