Kernel panic because of file system corruption(/dev/mmbblk0p1) in imx6UL evk board

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Kernel panic because of file system corruption(/dev/mmbblk0p1) in imx6UL evk board

1,021 Views
vijayaragavansr
Contributor II

Hi All,

I got into to one strange problem .... we are booting the imx6UL evk board from SD card and the .sdcard image is built using yocto project. it was working fine for a month.... all of sudden SD card file system partition(/dev/mmcblk0p1) is corrupted or unable to read from the partition(even if that SD card is connected to linux machine only Boot imxul partition is seen)       now is there  way to recover it back? or is it possible to create one more partition during the SD card boot preparation so that in kernel we can specify so that if kernel is unable to mount the file system from /dev/mmcblk0p1 then it can try mounting from other partition like /dev/mmcblk0p1,/dev/mmcblk0p2,etc....

1. Recovery should be from other partition, if yes how?

2. is there way to have raid level kind of things here? how ?

3. is there kernel argument so that in uboot we can tell kernel that if you are unable to mount the file system from the specified partition, try from other partition, if other partition how to have kernel argument in uboot?

This might be the 1950's issue because of  memery corruption as far as linux is considered .

kindly help me out to clear this problem . am struck here...

Thanks

Vijaty

0 Kudos
Reply
1 Reply

699 Views
igorpadykov
NXP Employee
NXP Employee

Hi Vijaty

data may be corrupted due to sudden lost of power, for example turning off power

supply, so recommended to use linux poweroff command, so linux could finish all

sd operations. Other questions are just general linux and may be posted/find answer

on linux forums/mail lists.

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos
Reply