Danny Li

JFFS2 block erase error on M54455EVB

Discussion created by Danny Li on Feb 3, 2009
Latest reply on Jun 21, 2013 by arashaz.
Hi I built uclinux image with ltib on M54455EVB after boot with the image I got kernel panic.
I built with linux-2.6.23 kernel with default erase block size128.
Any ideas on how to fix it? Thanks in advance.

                                                            
NTFS driver 2.1.28 [Flags: R/W].                                                                                                           
JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc.                                                                
RAMDISK driver initialized: 16 RAM disks of 64000K size 1024 blocksize                                                                     
loop: module loaded                                                                                                                        
FEC ENET Version 0.2                                                                                                                       
fec: PHY @ 0x0, ID 0x20005ca2 -- DP83849                                                                                                   
eth0: ethernet 00:04:9f:00:81:a9                                                                                                           
physmap platform flash device: 01000000 at 00000000                                                                                        
physmap-flash.0: Found 1 x16 devices at 0x0 in 8-bit bank                                                                                  
 Intel/Sharp Extended Query Table at 0x0031                                                                                                
Using buffer write method                                                                                                                  
cfi_cmdset_0001: Erase suspend on write enabled                                                                                            
2 cmdlinepart partitions found on MTD device physmap-flash.0                                                                               
Creating 2 MTD partitions on "physmap-flash.0":                                                                                            
0x00000000-0x00500000 : "kernel"                                                                                                           
mtd: Giving out device 0 to kernel                                                                                                         
0x00500000-0x01000000 : "jffs2"                                                                                                            
mtd: Giving out device 1 to jffs2                                                                                                          
ColdFire-eDMA: initialized successfully                                                                                                    
SPI: Coldfire master initialized                                                                                                           
ssi_audio: Probed successfully                                                                                                             
Initializing USB Mass Storage driver...                                                                                                    
usbcore: registered new interface driver usb-storage                                                                                       
USB Mass Storage support registered.
mice: PS/2 mouse device common for all mice
DES & 3DES ColdFire CAU driver v0.01 registered.
AES ColdFire CAU driver v0.01 registered.
MD5 ColdFire CAU driver v0.01 registered.
SHA1 ColdFire CAU driver v0.01 registered.
usbcore: registered new interface driver usbhid
drivers/hid/usbhid/hid-core.c: v2.6:USB HID core driver
TCP cubic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
NET: Registered protocol family 15
jffs2_scan_inode_node(): CRC failed on node at 0x000001ec: Read 0xaae6432c, calculated 0xaf2c5a1c
jffs2_scan_inode_node(): CRC failed on node at 0x00000260: Read 0xacd1bfc0, calculated 0xd611eca0
jffs2_scan_dirent_node(): Node CRC failed on node at 0x00000400: Read 0x5b19231b, calculated 0x5b19a71b
jffs2_scan_eraseblock(): Node at 0x0000057c {0x1985, 0xa002, 0x00000044) has invalid CRC 0xa4ef223e (calculated 0xabb72852)
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000584: 0xa4ef instead
...
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000005bc: 0x5e1b instead
jffs2_scan_dirent_node(): Node CRC failed on node at 0x000006a0: Read 0x7a837d17, calculated 0xc1382b25
jffs2_scan_eraseblock(): Node at 0x00017508 {0x1985, 0xe002, 0x00000bc4) has invalid CRC 0x00a378d5 (calculated 0xaaa378d5)
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00017510: 0x00a3 instead
...
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00017528: 0x46e8 instead
Further such events for this erase block will not be printed
jffs2_scan_eraseblock(): Node at 0x0003dc7c {0x1985, 0xe002, 0x00000b40) has invalid CRC 0x407615ec (calculated 0x40763fec)
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0003dc84: 0x4076 instead
...
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0003dcbc: 0x27be instead
Further such events for this erase block will not be printed
jffs2_scan_eraseblock(): Node at 0x0004d4c4 {0x1985, 0xe002, 0x0000099b) has invalid CRC 0x63015632 (calculated 0x63415632)
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0004d4cc: 0x6301 instead
...
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0004d504: 0x99a5 instead
Further such events for this erase block will not be printed
VFS: Mounted root (jffs2 filesystem).
free_initmem: __init_begin = 0xc02da000  __init_end = 0xc02ee000
Data CRC 272eb912 != calculated CRC 9d39b33c for node at 00000840
Data CRC 6ad54fdf != calculated CRC 28dddf2b for node at 00001f3c
Data CRC 272eb912 != calculated CRC 9d39b33c for node at 00000840
Data CRC 272eb912 != calculated CRC 9d39b33c for node at 00000840
Kernel panic - not syncing: No init found.  Try passing init= option to kernel.

Outcomes