jffs2 error with gcc 3.3.2

Tino Keitel tino.keitel at innominate.com
Tue Apr 27 10:19:26 EDT 2004


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
   
-- 
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