December 12, 2019, 07:22:28 pm

News:

Have you visited the Allwinner Chipset wiki? - http://linux-sunxi.org/


cubieboard2 nand boot failure

Started by zimmy, May 16, 2014, 11:18:19 am

Previous topic - Next topic

zimmy

Hi all,

I have got 7 cubieboard2 and I'm experiencing the same problem on 3 of them:
after more or less 2 months of good running the cubies have started to show problems with the nand.
The following message is display in the kern.log, syslog and messages files:
May 14 16:39:36 SH13-MasterSec kernel: [9245372.182575] [MAPPING_ERR] There is none free block in the free block table!
May 14 16:39:36 SH13-MasterSec kernel: [9245372.189537] [MAPPING_ERR] Merge log block failed when create new log block! Err:0xffffffff
May 14 16:39:36 SH13-MasterSec kernel: [9245372.194914] [MAPPING_ERR] Create new log block failed!
May 14 16:39:36 SH13-MasterSec kernel: [9245372.198940] [MAPPING_ERR] Get log page for write failed!
May 14 16:39:36 SH13-MasterSec kernel: [9245372.204320] [LOGICCTL_ERR] Get log page failed when write logical page!
May 14 16:39:36 SH13-MasterSec kernel: [9245372.217143] [MAPPING_ERR] There is none free block in the free block table!
May 14 16:39:36 SH13-MasterSec kernel: [9245372.224124] [MAPPING_ERR] Merge log block failed when create new log block! Err:0xffffffff
May 14 16:39:36 SH13-MasterSec kernel: [9245372.227956] [MAPPING_ERR] Create new log block failed!
May 14 16:39:36 SH13-MasterSec kernel: [9245372.231995] [MAPPING_ERR] Get log page for write failed!
May 14 16:39:36 SH13-MasterSec kernel: [9245372.237299] [LOGICCTL_ERR] Get log page failed when write logical page!
May 14 16:39:36 SH13-MasterSec kernel: [9245372.242986] [MAPPING_ERR] There is none free block in the free block table!
May 14 16:39:36 SH13-MasterSec kernel: [9245372.249939] [MAPPING_ERR] Merge log block failed when create new log block! Err:0xffffffff
May 14 16:39:36 SH13-MasterSec kernel: [9245372.253813] [MAPPING_ERR] Create new log block failed!
May 14 16:39:36 SH13-MasterSec kernel: [9245372.257815] [MAPPING_ERR] Get log page for write failed!
May 14 16:39:36 SH13-MasterSec kernel: [9245372.263139] [LOGICCTL_ERR] Get log page failed when write logical page!
May 14 16:39:36 SH13-MasterSec kernel: [9245372.269393] [MAPPING_ERR] There is none free block in the free block table!
May 14 16:39:36 SH13-MasterSec kernel: [9245372.276379] [MAPPING_ERR] Merge log block failed when create new log block! Err:0xffffffff
May 14 16:39:36 SH13-MasterSec kernel: [9245372.280238] [MAPPING_ERR] Create new log block failed!
May 14 16:39:36 SH13-MasterSec kernel: [9245372.284259] [MAPPING_ERR] Get log page for write failed!
May 14 16:39:36 SH13-MasterSec kernel: [9245372.289560] [LOGICCTL_ERR] Get log page failed when write logical page!

After a reboot the cubies are not able to boot from the nand anymore.
Only red power light on, no output from HDMI ....

I have tried to "rebuilt" the nand using the sd card and the cubian-nandinstall procedure, without good results.
I have tried also to dd the nand with zeros and than repeat the cubian-naninstall procedure, but ... no way   :-\

Could you help me to understand what is happening?

Thanks all!

zimmy

Hi all,
just to add some info:
on the cubieboard I can notice the following message:
EXT4-fs error (device nandc): ext4_ext_remove_space:2676: inode #22103: comm syslog-ng: bad header/extent: invalid magic - magic 8b1f,
entries 9, max 45591(0), depth 21291(0)

The error messages listed above just means that file system has been corrupted.
strange to happen on 3 different cubieboards.

At this stage: the strange thing is that I CAN boot the cubieboard from the SD card
and I can fsck'ed the nandc partition which showed nothing but the regular output but said the file system was modified;
after a reboot (from tha nand, ejecting the SD) the cubieboard is not able to boot, no output from the HDMI ....  :(

In this situation, even if I tried to execute the cubian-nandinstall (completed succesfully), the cubie is not able to boot from the nand;

Somebody can comment my issue, please?

Thanks in advance