Skip to contentSkip to conversation

jffs2 error with gcc 3.3.2

DISCUSSION Tino Keitel 2 participants 3 messages Apr 27, 2004 – Apr 28, 2004 Memory technology devices (MTD)

lore
Share & tools
lore
#0 lore raw

Hi folks,

I build a kernel 2.4.25 for ARM XScale using the MTD CVS version from last week with a plain gcc 3.3.2 and binutils 2.14. When the kernel mounts the root-FS, I get this message:

VFS: Mounted root (jffs2 filesystem).
Mounted devfs on /dev
Freeing init memory: 68K
jffs2_get_inode_nodes(): CRC failed on node at 0x00d063a8: Read 0x648da27a, calculated 0xaad091fe
jffs2_do_read_inode(): No data nodes found for ino #513 jffs2_get_inode_nodes(): Data CRC failed on node at 0x00d7aea4: Read 0xc9706472, calculated 0xfb804e0f
jffs2_do_read_inode(): No data nodes found for ino #451

Kernel panic: No init found.  Try passing init= option to kernel.

After a reboot, the filesystem is completly trashed:

VFS: Mounted root (jffs2 filesystem).
Mounted devfs on /dev
Freeing init memory: 68K
jffs2_do_read_inode() on nonexistent ino 513
jffs2_do_read_inode() on nonexistent ino 451

Kernel panic: No init found.  Try passing init= option to kernel.

The filesystem worked before this with a kernel wich was built with gcc 2.95.3. Are there any known issues regarding jffs2 and gcc 3.x?

Regards,
Tino

Signature · 4 lines
[email protected]
dipl.-inf.                        Innominate Security Technologies AG
software engineer                                   enabling security
tel: +49.30.6392-3308                      http://www.innominate.com/
#1 lore raw

I used once jffs2 over blkmtd on compact flash (ide) on a powerpc system, all built with gcc 3.3.2 (and linux 2.4.25) and had no problems beside that mounting was very slow.

regards,

Jaap-Jan

Quoted 32 lines · Tino Keitel

Hi folks,

I build a kernel 2.4.25 for ARM XScale using the MTD CVS version from last week with a plain gcc 3.3.2 and binutils 2.14. When the kernel mounts the root-FS, I get this message:

VFS: Mounted root (jffs2 filesystem).
Mounted devfs on /dev
Freeing init memory: 68K
jffs2_get_inode_nodes(): CRC failed on node at 0x00d063a8: Read 0x648da27a, calculated 0xaad091fe
jffs2_do_read_inode(): No data nodes found for ino #513 jffs2_get_inode_nodes(): Data CRC failed on node at 0x00d7aea4: Read 0xc9706472, calculated 0xfb804e0f
jffs2_do_read_inode(): No data nodes found for ino #451

Kernel panic: No init found.  Try passing init= option to kernel.

After a reboot, the filesystem is completly trashed:

VFS: Mounted root (jffs2 filesystem).
Mounted devfs on /dev
Freeing init memory: 68K
jffs2_do_read_inode() on nonexistent ino 513
jffs2_do_read_inode() on nonexistent ino 451

Kernel panic: No init found.  Try passing init= option to kernel.

The filesystem worked before this with a kernel wich was built with gcc 2.95.3. Are there any known issues regarding jffs2 and gcc 3.x?

Regards,
Tino

Signature · 4 lines
J.G.J. Boor                       Anton Philipsweg 1
Software Engineer                 1223 KZ Hilversum
AimSys bv                         tel. +31 35 689 1941
Postbus 2194, 1200 CD Hilversum   mailto:[email protected]
#2 lore raw
In reply to Tino Keitel
Quoted 15 lines · Tino Keitel

Hi folks,

I build a kernel 2.4.25 for ARM XScale using the MTD CVS version from last week with a plain gcc 3.3.2 and binutils 2.14. When the kernel mounts the root-FS, I get this message:

VFS: Mounted root (jffs2 filesystem).
Mounted devfs on /dev
Freeing init memory: 68K
jffs2_get_inode_nodes(): CRC failed on node at 0x00d063a8: Read 0x648da27a, calculated 0xaad091fe
jffs2_do_read_inode(): No data nodes found for ino #513 jffs2_get_inode_nodes(): Data CRC failed on node at 0x00d7aea4: Read 0xc9706472, calculated 0xfb804e0f
jffs2_do_read_inode(): No data nodes found for ino #451

Quoted 1 line
Kernel panic: No init found.  Try passing init= option to kernel.

Problem solved. You always should make mrproper before switching to a new gcc with other build options.

Signature · 4 lines
[email protected]
dipl.-inf.                        Innominate Security Technologies AG
software engineer                                   enabling security
tel: +49.30.6392-3308                      http://www.innominate.com/