Hi,
I am using IMX6qsabrelite board with android JB 4.2.2. with linux kernel version 3.0.35.
I am facing kernel panic sometimes during boot as below:-
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Kernel panic - not syncing: Fatal exception
[<c0051a04>] (unwind_backtrace+0x0/0x138) from [<c0638ab0>] (panic+0x90/0x1c0)
[<c0638ab0>] (panic+0x90/0x1c0) from [<c004e470>] (die+0x218/0x284)
[<c004e470>] (die+0x218/0x284) from [<c0044468>] (do_DataAbort+0x8c/0x9c)
[<c0044468>] (do_DataAbort+0x8c/0x9c) from [<c004a2d0>] (__dabt_svc+0x70/0xa0)
Exception stack(0xd64e3ee8 to 0xd64e3f30)
3ee0: d6946c00 00000001 00000000 00000000 d24dcc58 d6946c0c
3f00: d6946d34 d635c800 d6946c00 00000000 d6946c38 d64e3f44 00000000 d64e3f30
3f20: c0429824 c063f608 60000013 ffffffff
[<c004a2d0>] (__dabt_svc+0x70/0xa0) from [<c063f608>] (_raw_spin_unlock_irq+0x18/0x40)
[<c063f608>] (_raw_spin_unlock_irq+0x18/0x40) from [<c0429824>] (mmc_blk_issue_rw_rq+0x234/0x2d8)
[<c0429824>] (mmc_blk_issue_rw_rq+0x234/0x2d8) from [<c0429efc>] (mmc_blk_issue_rq+0x19c/0x33c)
[<c0429efc>] (mmc_blk_issue_rq+0x19c/0x33c) from [<c042a910>] (mmc_queue_thread+0x5c/0x100)
[<c042a910>] (mmc_queue_thread+0x5c/0x100) from [<c00aaaec>] (kthread+0x80/0x88)
[<c00aaaec>] (kthread+0x80/0x88) from [<c004b408>] (kernel_thread_exit+0x0/0x8)
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Please help, what could be the problem here?
Hi,
Looks like a SD card corruption (mmc_blk_issue), have you tried with another SD card?
Also we now recommend SabreLite users to use Lollipop:
https://boundarydevices.com/android-lollipop-5-0-0-ga-release-for-i-mx6-boards/
Regards,
Gary
Hi Gary,
I am not using external SD card, but this panic may be occuring in the
internel MMC.
I have a lollipop upgrade already, but I need to fix this JB panic issue
specifically.
Is this panic issue is known on JB version? if known do we have a patch
available?
On Mon, Jan 25, 2016 at 7:36 PM, gary_bisson <admin@community.freescale.com>
Hi,
What do you mean by "internal MMC"? The SabreLite only offers two slots to external cards, there's no internal storage apart from the 2MB NOR flash.
I'm not aware of a specific issue with the JB version, but since the kernel is very old my upgrade suggestion was just a wild guess to avoid old issues.
Regards,
Gary
Hi Gary,
I found this below patch:-
this looks like can fix this panic, as the issue is with spin_unlock
operation.
On Tue, Jan 26, 2016 at 9:38 PM, gary_bisson <admin@community.freescale.com>