imx8mm : Getting Kernel Panic

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

imx8mm : Getting Kernel Panic

ソリューションへジャンプ
1,786件の閲覧回数
santhosh2
Contributor IV

Hello,

I am getting a kernel panic message after that the processor hangs and the only way to recover is to do a power on reset. Is there any other way that once kernel panic happens the processor reboots automatically?

 

Regards

Santhosh

0 件の賞賛
返信
1 解決策
1,766件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi Santhosh

 

in general wdog can be used in such situations, it can reset pmic and all board,

example can be found in i.MX8M Mini EVK design

https://www.nxp.com/design/development-boards/i-mx-evaluation-and-development-boards/evaluation-kit-...

 

Best regards
igor

元の投稿で解決策を見る

0 件の賞賛
返信
2 返答(返信)
1,767件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi Santhosh

 

in general wdog can be used in such situations, it can reset pmic and all board,

example can be found in i.MX8M Mini EVK design

https://www.nxp.com/design/development-boards/i-mx-evaluation-and-development-boards/evaluation-kit-...

 

Best regards
igor

0 件の賞賛
返信
1,761件の閲覧回数
santhosh2
Contributor IV

Thanks,

Link: https://www.techrepublic.com/blog/linux-and-open-source/auto-reboot-linux-after-a-kernel-panic/

I also configured Linux to automatically reboot on a kernel panic by making a small modification to /etc/sysctl.conf,

Add the following to /etc/sysctl.conf:

kernel.panic = 20

This tells the kernel that if it encounters a panic, it is to reboot the system after a 20 second delay. By default, the kernel will never reboot when it encounters a panic, but with the above setting you can force it to.

 

Regards

Santhosh

0 件の賞賛
返信