jffs2 error with gcc 3.3.2
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: 68Kjffs2_get_inode_nodes(): CRC failed on node at 0x00d063a8: Read 0x648da27a, calculated 0xaad091fejffs2_do_read_inode(): No data nodes found for ino #513 jffs2_get_inode_nodes(): Data CRC failed on node at 0x00d7aea4: Read 0xc9706472, calculated 0xfb804e0fjffs2_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: 68Kjffs2_do_read_inode() on nonexistent ino 513jffs2_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/
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: 68Kjffs2_get_inode_nodes(): CRC failed on node at0x00d063a8: Read0x648da27a, calculated0xaad091fejffs2_do_read_inode(): No data nodes found for ino #513jffs2_get_inode_nodes(): Data CRC failed on node at0x00d7aea4: Read0xc9706472, calculated0xfb804e0fjffs2_do_read_inode(): No data nodes found for ino #451Kernel 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: 68Kjffs2_do_read_inode()on nonexistent ino 513jffs2_do_read_inode()on nonexistent ino 451Kernel 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]
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: 68Kjffs2_get_inode_nodes(): CRC failed on node at0x00d063a8: Read0x648da27a, calculated0xaad091fejffs2_do_read_inode(): No data nodes found for ino #513jffs2_get_inode_nodes(): Data CRC failed on node at0x00d7aea4: Read0xc9706472, calculated0xfb804e0fjffs2_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/