public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* jffs2 error with gcc 3.3.2
@ 2004-04-27 14:19 Tino Keitel
  2004-04-27 15:26 ` Jaap-Jan Boor
  2004-04-28 11:18 ` Tino Keitel
  0 siblings, 2 replies; 3+ messages in thread
From: Tino Keitel @ 2004-04-27 14:19 UTC (permalink / raw)
  To: linux-mtd

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@innominate.com
dipl.-inf.                        Innominate Security Technologies AG
software engineer                                   enabling security
tel: +49.30.6392-3308                      http://www.innominate.com/

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: jffs2 error with gcc 3.3.2
  2004-04-27 14:19 jffs2 error with gcc 3.3.2 Tino Keitel
@ 2004-04-27 15:26 ` Jaap-Jan Boor
  2004-04-28 11:18 ` Tino Keitel
  1 sibling, 0 replies; 3+ messages in thread
From: Jaap-Jan Boor @ 2004-04-27 15:26 UTC (permalink / raw)
  To: Tino Keitel; +Cc: linux-mtd

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

On Tue, 2004-04-27 at 16:19, Tino Keitel wrote:
> 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
>    
-- 
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:jjboor@aimsys.nl

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: jffs2 error with gcc 3.3.2
  2004-04-27 14:19 jffs2 error with gcc 3.3.2 Tino Keitel
  2004-04-27 15:26 ` Jaap-Jan Boor
@ 2004-04-28 11:18 ` Tino Keitel
  1 sibling, 0 replies; 3+ messages in thread
From: Tino Keitel @ 2004-04-28 11:18 UTC (permalink / raw)
  To: linux-mtd

On Tue, Apr 27, 2004 at 16:19:26 +0200, Tino Keitel wrote:
> 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.

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

-- 
tino.keitel@innominate.com
dipl.-inf.                        Innominate Security Technologies AG
software engineer                                   enabling security
tel: +49.30.6392-3308                      http://www.innominate.com/

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-04-28 11:18 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-04-27 14:19 jffs2 error with gcc 3.3.2 Tino Keitel
2004-04-27 15:26 ` Jaap-Jan Boor
2004-04-28 11:18 ` Tino Keitel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox