1234Next
返回列表 发新帖
查看: 13314|回复: 32

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

[复制链接]

4

Threads

350

Posts

1234

Credits

Moderator

Rank: 7Rank: 7Rank: 7

Credits
1234
发表于 2020-11-09 13:24:18 | 显示全部楼层 |阅读模式
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.


回复

使用道具 举报

4

Threads

350

Posts

1234

Credits

Moderator

Rank: 7Rank: 7Rank: 7

Credits
1234
 楼主| 发表于 2021-01-27 17:38:50 | 显示全部楼层
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:
回复 支持 1 反对 0

使用道具 举报

6

Threads

205

Posts

1919

Credits

Moderator

Rank: 7Rank: 7Rank: 7

Credits
1919
发表于 2021-01-15 04:17:16 | 显示全部楼层
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
回复 支持 1 反对 0

使用道具 举报

6

Threads

205

Posts

1919

Credits

Moderator

Rank: 7Rank: 7Rank: 7

Credits
1919
发表于 2021-01-10 00:50:29 | 显示全部楼层
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.
回复 支持 1 反对 0

使用道具 举报

4

Threads

350

Posts

1234

Credits

Moderator

Rank: 7Rank: 7Rank: 7

Credits
1234
 楼主| 发表于 2021-01-05 21:38:37 | 显示全部楼层
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.

回复 支持 1 反对 0

使用道具 举报

4

Threads

350

Posts

1234

Credits

Moderator

Rank: 7Rank: 7Rank: 7

Credits
1234
 楼主| 发表于 2020-12-17 20:20:55 | 显示全部楼层
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.
回复 支持 1 反对 0

使用道具 举报

391

Threads

4189

Posts

110K

Credits

Administrator

Rank: 9Rank: 9Rank: 9

Credits
12751
发表于 2020-11-10 17:52:11 | 显示全部楼层
Hello, we are discussing this issue with the Manjaro developers. We will make the manjaro system compatible with the S922 chip in the future.
回复 支持 1 反对 0

使用道具 举报

2

Threads

57

Posts

1909

Credits

Gold Member

Rank: 6Rank: 6

Credits
1909
发表于 2020-11-10 18:58:54 | 显示全部楼层
I hope the problem will be solved soon.
回复 支持 反对

使用道具 举报

4

Threads

350

Posts

1234

Credits

Moderator

Rank: 7Rank: 7Rank: 7

Credits
1234
 楼主| 发表于 2020-11-10 21:45:37 | 显示全部楼层
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..
回复 支持 反对

使用道具 举报

4

Threads

350

Posts

1234

Credits

Moderator

Rank: 7Rank: 7Rank: 7

Credits
1234
 楼主| 发表于 2020-11-20 17:02:25 | 显示全部楼层
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.
回复 支持 反对

使用道具 举报

4

Threads

350

Posts

1234

Credits

Moderator

Rank: 7Rank: 7Rank: 7

Credits
1234
 楼主| 发表于 2020-11-30 19:22:41 | 显示全部楼层
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)
回复 支持 反对

使用道具 举报

4

Threads

350

Posts

1234

Credits

Moderator

Rank: 7Rank: 7Rank: 7

Credits
1234
 楼主| 发表于 2020-11-30 20:10:48 来自手机 | 显示全部楼层
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.

回复 支持 反对

使用道具 举报

7

Threads

261

Posts

1325

Credits

Moderator

Rank: 7Rank: 7Rank: 7

Credits
1325
发表于 2021-01-01 08:13:07 | 显示全部楼层
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)  -
回复 支持 反对

使用道具 举报

6

Threads

205

Posts

1919

Credits

Moderator

Rank: 7Rank: 7Rank: 7

Credits
1919
发表于 2021-01-02 02:06:03 | 显示全部楼层
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.
回复 支持 反对

使用道具 举报

1234Next
返回列表 发新帖
您需要登录后才可以回帖 登录 | Sign up

本版积分规则

快速回复 返回顶部 返回列表