Kernel Panic

Post Reply
Transhumanism
Posts: 2
Joined: Mon Jul 08, 2019 3:30 pm
languages_spoken: english
ODROIDs: n2
Has thanked: 0
Been thanked: 0
Contact:

Kernel Panic

Unread post by Transhumanism » Mon Jul 08, 2019 4:02 pm

Hello,
I get a Kernel panic and spontaneous reboots.

Bad mode in Error handler detected on CPU3, code 0xbf000000 -- SError
Internal error: Oops - bad mode: 0 [#1] SMP

I can't post the full log because it always happens in a user process and that process is most often openvpn.

I think my problem is similar to the one described in:
viewtopic.php?f=177&t=35360

I have a Segate external USB harddrive attached to the odroid that has its own power supply.
The Kernel panic happens sporadically.

I have tried to fix the problem by using a different more powerful power supply 12V 3.5A but the problem remains.

User avatar
tobetter
Posts: 3688
Joined: Mon Feb 25, 2013 10:55 am
languages_spoken: Korean, English
ODROIDs: X, X2, U2, U3, XU3, C1
Location: Paju, South Korea
Has thanked: 28 times
Been thanked: 116 times
Contact:

Re: Kernel Panic

Unread post by tobetter » Mon Jul 08, 2019 4:09 pm

Transhumanism wrote:
Mon Jul 08, 2019 4:02 pm
Hello,
I get a Kernel panic and spontaneous reboots.

Bad mode in Error handler detected on CPU3, code 0xbf000000 -- SError
Internal error: Oops - bad mode: 0 [#1] SMP

I can't post the full log because it always happens in a user process and that process is most often openvpn.

I think my problem is similar to the one described in:
viewtopic.php?f=177&t=35360

I have a Segate external USB harddrive attached to the odroid that has its own power supply.
The Kernel panic happens sporadically.

I have tried to fix the problem by using a different more powerful power supply 12V 3.5A but the problem remains.
Which OS are you running on it?
Can you try to boot with official Ubuntu image to see if the panic still happens?

Transhumanism
Posts: 2
Joined: Mon Jul 08, 2019 3:30 pm
languages_spoken: english
ODROIDs: n2
Has thanked: 0
Been thanked: 0
Contact:

Re: Kernel Panic

Unread post by Transhumanism » Mon Jul 08, 2019 4:33 pm

I am running the official ubuntu image:
ubuntu-18.04.2-4.9-minimal-odroid-n2-20190329.img.xz

All packages are updated to the latest versions.
The problem occurs with the kernel installed via packet manager as well with a self compiled kernel from the repository updated to:
commit 524635bb3c6ccc6fe3b29132f0cd40b3c513d8e5 (HEAD -> odroidn2-4.9.y, tag: 4.9.182-35, origin/odroidn2-4.9.y, origin/HEAD)
Merge: d525861effcc 821551746ae1
Author: Dongjin Kim <tobetter@hardkernel.com>
Date: Mon Jul 1 12:02:45 2019 +0900

Merge "ODROID-COMMON: usb: xhci: Make sg_tablesize can be set by bootargs" into odroidn2-4.9.y

User avatar
tobetter
Posts: 3688
Joined: Mon Feb 25, 2013 10:55 am
languages_spoken: Korean, English
ODROIDs: X, X2, U2, U3, XU3, C1
Location: Paju, South Korea
Has thanked: 28 times
Been thanked: 116 times
Contact:

Re: Kernel Panic

Unread post by tobetter » Mon Jul 08, 2019 4:40 pm

Transhumanism wrote:
Mon Jul 08, 2019 4:33 pm
I am running the official ubuntu image:
ubuntu-18.04.2-4.9-minimal-odroid-n2-20190329.img.xz

All packages are updated to the latest versions.
The problem occurs with the kernel installed via packet manager as well with a self compiled kernel from the repository updated to:
commit 524635bb3c6ccc6fe3b29132f0cd40b3c513d8e5 (HEAD -> odroidn2-4.9.y, tag: 4.9.182-35, origin/odroidn2-4.9.y, origin/HEAD)
Merge: d525861effcc 821551746ae1
Author: Dongjin Kim <tobetter@hardkernel.com>
Date: Mon Jul 1 12:02:45 2019 +0900

Merge "ODROID-COMMON: usb: xhci: Make sg_tablesize can be set by bootargs" into odroidn2-4.9.y
Awakard since I am able to my name here. :)

Since you mentioned openvpn, the kernel panic only happen when the process is running?
Can you capture the log if you have a USB-to-Serial dongle?

rosenrot
Posts: 33
Joined: Wed Apr 10, 2019 2:37 am
languages_spoken: english
ODROIDs: n2
Has thanked: 0
Been thanked: 1 time
Contact:

Re: Kernel Panic

Unread post by rosenrot » Wed Jul 17, 2019 5:38 am

I think I'm also facing kernel panics that lead to reboots. How can I log kernel panics without a uart adapter?

I tried sudo apt install linux-crashdump

But it tells me that the crashdump boot parameter is missing. Could someone tell me how to add it?

Error message: * no crashkernel= parameter in the kernel cmdline

User avatar
tobetter
Posts: 3688
Joined: Mon Feb 25, 2013 10:55 am
languages_spoken: Korean, English
ODROIDs: X, X2, U2, U3, XU3, C1
Location: Paju, South Korea
Has thanked: 28 times
Been thanked: 116 times
Contact:

Re: Kernel Panic

Unread post by tobetter » Wed Jul 17, 2019 5:52 pm

rosenrot wrote:
Wed Jul 17, 2019 5:38 am
I think I'm also facing kernel panics that lead to reboots. How can I log kernel panics without a uart adapter?

I tried sudo apt install linux-crashdump

But it tells me that the crashdump boot parameter is missing. Could someone tell me how to add it?

Error message: * no crashkernel= parameter in the kernel cmdline
Do you have any file in /var/log?

rosenrot
Posts: 33
Joined: Wed Apr 10, 2019 2:37 am
languages_spoken: english
ODROIDs: n2
Has thanked: 0
Been thanked: 1 time
Contact:

Re: Kernel Panic

Unread post by rosenrot » Fri Jul 19, 2019 4:58 am

Sure. I have kern.log and syslog. However, non shows the moments before the reboot. Which one I have to look for and is it a must that it will show me an error before reboot?

Post Reply

Return to “Issues”

Who is online

Users browsing this forum: No registered users and 1 guest