1234Next
Return to list New
View: 11167|Reply: 32

Beelink GT King Pro - Encounter Kernel Panic/Freeze in Mainline Kernel Linux

[Copy link]

4

Threads

350

Posts

1234

Credits

Moderator

Rank: 7Rank: 7Rank: 7

Credits
1234
Post time 2020-11-09 13:24:18 | Show all posts |Read mode
Bee-link Support,

Purchased Beelink GT King Pro serial No.SA9HHQ end of July 2020.  I am encountering random freeze or kernel panic when operating GT King Pro in Linux with Mainline Kernel (kernel 5.7, 5.8 and 5.9.0) be it Armbian or Debian Buster or Debian Bullseye or Manjaro or Ubuntu 20.04.  I did some enquiry an found out that apparently Beelink Development Team is already aware of Beelink Android BSP UBoot is having a conflict with the Linux Mainline Kernel.

Appreciate Beelink Development Team will speed up to come with a solution and firmware upgrade for GT King and GT King Pro to be able to work with Linux Mainline Kernel  Looking forward to your support.

Thank you.


Reply

Use magic Report

4

Threads

350

Posts

1234

Credits

Moderator

Rank: 7Rank: 7Rank: 7

Credits
1234
 Author| Post time 2021-01-27 17:38:50 | Show all posts
Edited by JFL at 2021-01-27 20:12
darkstar replied at 2021-01-27 03:02
I don't have free time these days, pulseaudio service doesn't work properly.
I tried many things  ...

@darkstar
Read this on https://forum.khadas.com/t/anyone-has-tried-out-the-5-10-rcx-kernel-yet/10272, on how Spikerguy managed to get sound on mainline kernel.  Hope it is useful.


Spikerguy
1
Dec '20

Yes seems to work fine after using khadas config so I assume we have been missing CONFIG_RESET_MESON_AUDIO_ARB

Recompiling our linux-rc with our config and with CONFIG_RESET_MESON_AUDIO_AR enabled.

Update: Yes CONFIG_RESET_MESON_AUDIO_AR was missing for us since long time. Finally I have audio on mainline kernels :smiley:
Reply Support 1 Not support 0

Use magic Report

6

Threads

205

Posts

1885

Credits

Moderator

Rank: 7Rank: 7Rank: 7

Credits
1885
Post time 2021-01-15 04:17:16 | Show all posts
I compiled Debian Buster image with stable 5.10.7 kernel it runs really smooth but has a sound problem.
firefox can run 1080p 60fps youtube videos without frame drop 3 drops occured during screencapture


5.10.7

5.10.7
Reply Support 1 Not support 0

Use magic Report

6

Threads

205

Posts

1885

Credits

Moderator

Rank: 7Rank: 7Rank: 7

Credits
1885
Post time 2021-01-10 00:50:29 | Show all posts
JFL replied at 2021-01-09 23:55
Hi darkstar,

Your video results is with MPV playing from local drive or streaming Youtube with MP ...

I don't check mpv stats because mpv uses less resources then web browsers.

Firefox cpu usage reduced to half with mainline kernel now,
Legacy kernel has frame buffer hardware acceleration no xfree, mesa, wayland support.
Mainline kernel driver + mesa + wayland improvements looks promising for Linux distributions now.

I hope we can get 3d hardware acceleration performance near (or better) to legacy frame buffer performance.
Reply Support 1 Not support 0

Use magic Report

4

Threads

350

Posts

1234

Credits

Moderator

Rank: 7Rank: 7Rank: 7

Credits
1234
 Author| Post time 2021-01-05 21:38:37 | Show all posts
Edited by JFL at 2021-01-06 00:29
spikerguy replied at 2021-01-01 08:13
A new mainline uboot was completed for amlogic s922x board which is then chainloaded on top of the a ...

Hi Spikerguy,

You might have already know about the new u-boot ( boot-vim3-2020.09-1) issue but just in case, will provide you with my experience with the new u-boot.

Good part, it resolved Beelink GT King Pro Kernel Panic issue (at least on USB boot) and it works with the linux-vim 5.10.1-1.

The new u-boot at least on GT King Pro (on Manjaro-ARM-VIM3-5.10.1-1) or Armbian-Focal-5.9.0, it is very sensitive to what other USB drive or equipment is connected to GT King Pro. To give some examples:

  • Manjaro Boot Drive on let say USB 3.0 Port 3 and Keyboard and Mouse on USB 3.0 Port 1, it will go into infinite boot up loop (not booting up and reboot itself, on and on)
  • Manjaro Boot Drive, Keyboard and Mouse all on the same USB 3.0 (using USB 3.0 Passive Hub) boot up without any issue.
  • Manjaro Boot Drive, Keboard and Mouse all on the same USB 3.0 port 1 and Printer connected to USB 3.0 Port 3, it will either goes into infinite boot loop or boot up with error USB error -110 but can boot up after trying to resolve the error and complete the boot up or can complete the boot up.
  • Manjaro Boot Drive, Keboard and Mouse all on the same USB 3.0 port 1 and USB HDD connected to USB 3.0 Port 2, will not boot up either infinite loop or stuck.

EDIT:  Forgot to mention, once successful boot up, then inserting/connecting a USB HDD and USB Flash without issue.

Would love to try out a Debian & Ubuntu with kernel 5.10 non-rc.

Reply Support 1 Not support 0

Use magic Report

4

Threads

350

Posts

1234

Credits

Moderator

Rank: 7Rank: 7Rank: 7

Credits
1234
 Author| Post time 2020-12-17 20:20:55 | Show all posts
Hi Beelink Support,

Additional information that will consistently cause Kernel Panic/Freeze on Mainline Kernel Linux on Beelink GT King Pro in addition to above information.

4)  Playing hi-res video (eg. 1080p) with MPV for longer than 8-9 minutes continuously at one go, kernel panic will strike and freeze

Looking for to Beelink Development Team to resolve the Beelink GT King Pro Kernel Panic issue. Thank you.
Reply Support 1 Not support 0

Use magic Report

391

Threads

4190

Posts

110K

Credits

Administrator

Rank: 9Rank: 9Rank: 9

Credits
12689
Post time 2020-11-10 17:52:11 | Show all posts
Hello, we are discussing this issue with the Manjaro developers. We will make the manjaro system compatible with the S922 chip in the future.
Reply Support 1 Not support 0

Use magic Report

2

Threads

57

Posts

1753

Credits

Gold Member

Rank: 6Rank: 6

Credits
1753
Post time 2020-11-10 18:58:54 | Show all posts
I hope the problem will be solved soon.
Reply Support Not support

Use magic Report

4

Threads

350

Posts

1234

Credits

Moderator

Rank: 7Rank: 7Rank: 7

Credits
1234
 Author| Post time 2020-11-10 21:45:37 | Show all posts
beelink replied at 2020-11-10 17:52
Hello, we are discussing this issue with the Manjaro developers. We will make the manjaro system com ...

Beelink Support,

Thank you.  i hope the solution will ensure we can still have the Android OS in the emmc and multiboot Uboot from SD or USB Linux Mainline Kernel and is applicable to other Linux Distros eg. Ubuntu, Debian, Manjaro, etc.

Looking forward to having the solution soon. Thanks..
Reply Support Not support

Use magic Report

4

Threads

350

Posts

1234

Credits

Moderator

Rank: 7Rank: 7Rank: 7

Credits
1234
 Author| Post time 2020-11-20 17:02:25 | Show all posts
Hi Beelink Support,

Checking whether there is any update on new Android BSP U-Boot that works with Linux Mainline Kernel without causing kernel panic or freeze. Thank you.
Reply Support Not support

Use magic Report

4

Threads

350

Posts

1234

Credits

Moderator

Rank: 7Rank: 7Rank: 7

Credits
1234
 Author| Post time 2020-11-30 19:22:41 | Show all posts
Hi Bee-link Support,

Found repeatable situations that will cause Freeze/Kernel Panic on Beelink GT King Pro (rev A).

Additional information which will caused freeze (I presume is kernel panic) on GT King Pro when operating in Linux Mainline Kernel.
Tested and simulated on Manjaro KDE-Plasma-linux-vim 5.9.8-1,  Manjaro Xfce-linux-5.9.11-2 and Armbian-Ubuntu-Focal 5.9.0.

    Firefox 83 open enough tabs where memory used >1.9/3.54GB (around 7 to 9 tabs with lots of pics eg. shopping site)
    Chromium 86 open enough tabs where memory use >1.9/3.54GB

Repeated 5 times both in linux-vim and linux kernel, KDE Plasma or in XFCE. Both freeze after HTOP indicate >1.9GB memory usage.

Another situation that will cause freeze/kernel panic on Beelink GT King Pro is updating a reasonable large linux system update say (system update size of arournd 500MB or larger)
Reply Support Not support

Use magic Report

4

Threads

350

Posts

1234

Credits

Moderator

Rank: 7Rank: 7Rank: 7

Credits
1234
 Author| Post time 2020-11-30 20:10:48 From the mobile phone | Show all posts
Edited by JFL at 2020-12-01 21:28

Hi Beelink Support,
Would like to provide additional information on repeatable situations that will cause freeze/kernel panic on Beelink GT King Pro (Rev. A):

1) In Firefox 83 open enough tabs where memory used >1.9/3.54GB (around 7 to 9 tabs with eg. in internet shopping sites)
2) In Chromium 86 open enough tabs where memory use >1.9/3.54GB (same as above)
3)  Perform a reasonably large system updates of system file size around/greater than 500MB

The above kernel panic is repeatable at least on my Beelink GT King Pro (Rev. A).

Edit:  Other times, the kernel panic do happen randomly.

Reply Support Not support

Use magic Report

7

Threads

261

Posts

1325

Credits

Moderator

Rank: 7Rank: 7Rank: 7

Credits
1325
Post time 2021-01-01 08:13:07 | Show all posts
Edited by spikerguy at 2021-01-01 08:14

A new mainline uboot was completed for amlogic s922x board which is then chainloaded on top of the android bsp uboot which have temporarily fixed the kernel panic issue but have interstices a usb hdd issue during boot.  Users who do not have any hdd connected should have no issues booting with new boot scripts.

Neil is working on the same uboot to chainload with the usb fixed hopefully we should have it soon.  

I hope @JFL and @darkstar will be happy to fully utilize the power of Gt king pro device with mainline kernel.  

Darkstar please build Ubuntu and debian images with the new boot package and hopefully it should work fine.
I have just tested it on GS king X after removing the hdd, i was able to transfer 7gb of videos and 650mb of system pkg update without any kernel panic.

Cheers,  have fun with mainlined device.  

Happy new year everyone.
Beelink GTR7 (7840HS) - Manjaro Linux
Beelink SER5 (5600U) - Manjaro Linux
Beelink GT1 Ultimate (S912) - Libre Elec TV
Beelink GT King Pro (S922X-H) - Manjaro ARM Linux
Beelink GS King X (S922X-H)  -
Reply Support Not support

Use magic Report

6

Threads

205

Posts

1885

Credits

Moderator

Rank: 7Rank: 7Rank: 7

Credits
1885
Post time 2021-01-02 02:06:03 | Show all posts
spikerguy replied at 2021-01-01 08:13
A new mainline uboot was completed for amlogic s922x board which is then chainloaded on top of the a ...

Will Beelink release an update for u-boot or not?
If so every build with mainline kernel should work properly.
Reply Support Not support

Use magic Report

You have to log in before you can reply Login | Sign up

Points Rules

Quick Reply To Top Return to the list