Hi @spikerguyKernel Panic when Epiphany 42.2-1 stream Youtube Video
Just updated to Arm-Stable-Update-2022-05-06. I was trying out Gnome-Web (epiphany -42.2-1) on GT King Pro Gnome-linux-khdas-5.17.5-1.
Had two kernel panic both time streaming Youtube video with Web-browser Epiphany 42.2-1. First time yesterday evening and second kernel panic just a while ago. Both time Epiphany 42.2-1 was streaming Youtube for less than 10 minutes. Most likely is Epiphany 42.2-1 related issue which causes the kernel panic.
Do not have kernel panic while streaming Youtube with Chromium or Firefox.
Wonder anybody else is encountering this issue with Epiphany-Browser 42.2-1 using same linux-khadas or different kernel?
I notice on Manjaro-Arm-Gnome-linux-khadas-5.17.5-1 after boot-up to Desktop Environment. The system is still not fully settled yet in the sense, command like:
jflim@jflim-gtkpro ī° ļ ī° systemd-analyze
Bootup is not yet finished (org.freedesktop.systemd1.Manager.FinishTimestampMonotonic=0).
Please try again later.
Hint: Use 'systemctl list-jobs' to see active jobs
ī ī° jflim@jflim-gtkpro ī° ļ ī° systemd-analyze blame
Bootup is not yet finished (org.freedesktop.systemd1.Manager.FinishTimestampMonotonic=0).
Please try again later.
Hint: Use 'systemctl list-jobs' to see active jobs
ī ī° jflim@jflim-gtkpro ī° ļ ī° systemctl list-jobs
JOB UNIT TYPE STATE
118 systemd-networkd-wait-online.service start running
114 smb.service start waiting
2 multi-user.target start waiting
120 nmb.service start waiting
1 graphical.target start waiting
115 network-online.target start waiting
6 jobs listed.
jflim@jflim-gtkpro ī° ļ ī° systemctl list-jobs
JOB UNIT TYPE STATE
118 systemd-networkd-wait-online.service start running
114 smb.service start waiting
2 multi-user.target start waiting
120 nmb.service start waiting
1 graphical.target start waiting
115 network-online.target start waiting
6 jobs listed.
jflim@jflim-gtkpro ī° ļ ī°
After 2 minutes the command:
jflim@jflim-gtkpro ī° ļ ī° systemd-analyze
Bootup is not yet finished (org.freedesktop.systemd1.Manager.FinishTimestampMonotonic=0).
Please try again later.
Hint: Use 'systemctl list-jobs' to see active jobs
Check again at 8 minutes after boot up, the āsystemd-analyzeā return expected results:
jflim@jflim-gtkpro ī° ļ ī° systemctl list-jobs
No jobs running.
jflim@jflim-gtkpro ī° ļ ī° systemd-analyze
Startup finished in 4.204s (kernel) + 2min 3.161s (userspace) = 2min 7.366s
graphical.target reached after 2min 3.160s in userspace
Is this normal? The system boot up to Desktop Environment relatively fast but the above command seems to indicate the it is still not fully settled after boot up to Desktop Environment.
As far as I can remember the USB Flash is relatively new less than a year old. Other than āsystemd-analyzeā indicating system still not ready, apps do launch as expected. The image boot up to Desktop fast.
How to test whether it is deprecated?
Edit: So far Manjaro-Arm-Gnome-linux-khadas-5.17.5-1 runs well so far just to point out āsystemd-analyzeā issue which is puzzling. Wonder any other users had encounter this.
TV Box Internet Radio Recorder (TVBIRR) is an ansible playbook to configure a X96 Max+ (or similar, if you adjust the playbook) TV box running Armbian to act as an internet radio streaming and recording device that you can operate entirely with the infrared remote included with the TV box. It includes a playlist of over 32000 free-to-play internet radio stations.
Is this rtl8822cs driver only for the 5.12 kernel or does it work with the 5.11 kernel too? Iāve been going through this thread and Iām a bit lost on this. Iām assuming this installation can be done though chroot, right?
I burned the Manjaro-ARM-xfce-vim3-21.03.img.xz image on the SD card, and Iām using the meson-sm1-x96maxplus-vim100m.dtb found on the Amlogic TV boxes wiki page (is this the right version to get?). It boots without issue on my x96 Max+ (4GB Ram, 32GB ROM). Itās running the 5.11.4 kernel according to the output of āinxi -F.ā WiFi doesnāt work. USB soundcard works. I mistakenly used a patch cable instead of a crossover cable to connect the x96 Max+ to my main PC, but ethernet probably also works because the network icon got alive with that rolling circle.
I havenāt opened my tv box to check, but if the distinct versions of this device can be identified by the memory/storage specs, then my box should have the same rtl8822cs wifi chipset according to this Spanish review.
By the way, this Spanish website also has a page with an update for the stock firmware here. But I have no idea where they got that from nor how legit it isā¦
EDIT: Actually, nevermind. Iāll try one of the most recent Odroid images and dtb files.
Uhā¦ I downloaded the latest (22.06) xfce images for the Odroid N2+ and Khadas Vim 3, burned both on the SD card with Balena Etcher, and couldnāt find the āuEnv.iniā file on the BOOT_MNJRO partition of either image. I only see a boot.ini file. And thereās no extlinux.conf file either.
Havenāt seen anyone mentioning this issue, so not sure whatās up. I must be missing somethingā¦
The error you mention is correct, I have a X96 Air TV box (the Q100 variant with CDTECH) and I made it work with Manjaro 21.03 (Manjaro-ARM-xfce-vim3-21.03.img) but after several updates it no longer wanted to start , what I have done is to record the images in 2 usb (the current image in one and in another the 21.03), copy all the files from the BOOT unit of version 21.03 to the BOOT unit of the most recent version, the problem is that after the reboot, already being in version 22.07, it does not start and sends a kernel panic message āKernel panic - not syncing: No working init found.ā
Try to follow the steps I gave you to see if it gives you results
I was able to successfully boot the latest version (22.06) of the xfce Khadas VIM3 ARM image from the SD card image by copying almost all the contents of the BOOT_MNJRO partition of the 21.03 image into the BOOT_MNJRO partition of the more recent image. The only things I didnāt override were the dtbs folder and the files Image and initramfs-linux.img. This way I was able to boot Manjaro ARM with the latest kernel (5.18) on my x96 Max+.
Doesnāt seem to run as stable as the older 21.03 version. The mouse icon flickers randomly and opening the āabout:supportā page on Firefox causes the browser to freeze, for example. Also, canāt unlock the screen after locking even though I input the correct administrative password (I set up no user password). Used the meson-sm1-x96maxplus-vim100m.dtb file. Still have to try other things to figure out how to make it more stable. Havenāt tried to boot after overwriting the kernel files yet.
So I would suggest to leave the latest versionās original Image and initramfs-linux.img files untouched in the boot partition and copy everything else. See if that works for you. Iām assuming those are the kernel files, and I think the kernel version needs to match the system configuration to work properly.
I also tried to boot the latest Odroid N2+ image with this method: ovewriting the Image and initramfs-linux.img files allowed it to go through the booting sequence until it got stuck in emergency mode. I wasnāt sure what to do there. Need to record the output of ājournalctl -xbā somehow. This was with either the meson-sm1-x96maxplus-vim100m.dtb or meson-sm1-x96maxplus-vim1000m.dtb file.
By leaving the kernel files untouched, it never managed to load the kernel, at least in a useful amount of timeā¦ got stuck right after loading the dtb file. Still many variables to explore. Hopefully, I can get the Odroid version working because I need the wifi and ethernet working together.
Thank you for the clarification @spikerguy. I was really clueless at that point, but Iāve been getting a better idea of how the different images work with some experimentation these past few hours. Iāve experimented mostly with VIM3, AM6 and Odroid images and was about to report that the latest image for the Odroid HC4 (22.06, KDE) + meson-sm1-h96-max.dtb work extremely well together on the x96 Max+. It probably helps that both the Odroid HC4 and H96 Max tv box are both based on the same SoC as the x96 Max+ (S905x3). To make the Odroid image boot on the x96 Max+ I did copied some of the boot files in the boot partition of some other Vim3 image.
Itās running pretty fluid with very few graphical hiccups worth of note (just some occasional mouse flickering). Feels responsive at 1920x1080. HDMI audio, USB audio, ethernet and, probably, SPDIF work by default. Bluetooth is disabled, even though it shows up as an active service and the chipset is apparently detected under inxi -Fxzi. I have hardware acceleration disabled (donāt need it).
Wifi (and bluetooth) seems to be the only thing that isnāt working from the get go and I would appreciate some guidance with this. This Odroid HC4 image has the linux-odroid and linux-odroid-headers packages preinstalled and I have already installed the bc package, but none of my attempts to install the dkms-rtl8822cs driver has succeeded. Iām running into this :
[blablabla ~]$ sudo pamac install dkms-rtl8822cs
[sudo] password for blablabla:
Preparing...
Synchronizing package databases...
Resolving dependencies...
Checking inter-conflicts...
To install (7):
libmpc 1.2.1-2 (Required By: dkms-rtl8822cs) core
libisl 0.25-1 (Required By: dkms-rtl8822cs) core
gcc 12.1.0-2.1 (Required By: dkms-rtl8822cs) core
make 4.3-3.1 (Required By: dkms-rtl8822cs) core
patch 2.7.6-8 (Required By: dkms-rtl8822cs) core
dkms 3.0.5-1 (Required By: dkms-rtl8822cs) extra
dkms-rtl8822cs 2020.11.20-3 community
Total installed size: 184,9 MB
Apply transaction ? [y/N] y
Checking keyring... [7/7]
Checking integrity... [7/7]
Loading packages files... [7/7]
Checking file conflicts... [7/7]
Checking available disk space... [7/7]
Installing libmpc (1.2.1-2)... [1/7]
Installing libisl (0.25-1)... [2/7]
Installing gcc (12.1.0-2.1)... [3/7]
Installing make (4.3-3.1)... [4/7]
Installing patch (2.7.6-8)... [5/7]
Installing dkms (3.0.5-1)... [6/7]
Installing dkms-rtl8822cs (2020.11.20-3)... [7/7]
Binary sign-file not found, module won't be signed
Signing key: /var/lib/dkms/mok.key
Public certificate (MOK): /var/lib/dkms/mok.pub
Creating symlink /var/lib/dkms/rtl8822cs/2020.11.20/source -> /usr/src/rtl8822cs-2020.11.20
Building module:
Cleaning build area...
'make' -j4 ARCH=arm64 KVER=5.18.5-1-MANJARO-ARM-ODROID KSRC=/lib/modules/5.18.5-1-MANJARO-ARM-ODROID/build/................................(bad exit status: 2)
Error! Bad return status for module build on kernel: 5.18.5-1-MANJARO-ARM-ODROID (aarch64)
Error while configuring dkms-rtl8822cs
Consult /var/lib/dkms/rtl8822cs/2020.11.20/build/make.log for more information.
Error: dkms-rtl8822cs: command failed to execute correctly
Running post-transaction hooks...
Arming ConditionNeedsUpdate... [1/3]
Install DKMS modules [2/3]
==> dkms install --no-depmod rtl8822cs/2020.11.20 -k 5.18.5-1-MANJARO-ARM-ODROID
Error! Bad return status for module build on kernel: 5.18.5-1-MANJARO-ARM-ODROID (aarch64)
Consult /var/lib/dkms/rtl8822cs/2020.11.20/build/make.log for more information.
==> WARNING: `dkms install --no-depmod rtl8822cs/2020.11.20 -k 5.18.5-1-MANJARO-ARM-ODROID' exited 10
Updating the info directory file... [3/3]
Transaction successfully finished.
[blablabla ~]$
Apologies for such a long copy-paste. Not really sure what is going onā¦ Almost looks like I have the wrong kernel for this driver?
Appreciate the detail @gausus . This is all very helpful. Iāve figured out how to do some of this. The AM6 boots fine with uEnv.ini so itās easier. Never seen one of the DTBs youāre sharing. Might give it a go. I downloaded everything, but, right now, Iām so happy with my current KDE install that I donāt feel like chasing anymoreā¦ Unless thereās a surefire way to get wifi working on the x96 Max+ (preferably, without compromising elsewhere) because thatās critical for what I plan to do with this device. But Iām confident I can get it to work somehow.
Spikerguy made a update to package dkms-rtl8822cs some time ago.
It will not work on newer kernels.
Maybe Spikerguy will fix it for newer kernel or remove the packaged as it no longer work.
You need to use linux-aml kernel 5.13 to get it working.
And install some dependencies.
sudo pacman -S linux-aml linux-aml-headers make bc
Actually, on the x96 Max+, wifi will work on the 5.16 kernel. Got it working with the 22.03 version of the AM6 Plus image (KDE) after installing bc and linux-khadas-headers. Unfortunately, my experience was similar to @TheMojoMan in that I stumbled upon odd graphical issues. It didnāt run very stable. Bluetooth also wouldnāt work even after switching to the H96 Max DTB. I could try the XFCE version, but I strongly prefer KDE. Used same DTB he used - meson-sm1-x96maxplus-vim1000m.dtb. I keep forgetting to try the meson-sm1-x96maxplus-100M-mainline.dtb.
Plan to try the Odroid HC4 22.04 image soon. Hopefully, it will have the 5.16 kernel. My observation is that the x96 Max+ tends to run more stable and with far less hiccups with the Odroid images that boot successfully. Maybe not necessarily the snappiest, but less erratic behavior. The only odd issue Iāve found in my preferred combination (22.06 HC4 KDE image + H96 Max DTB) besides the occasional mouse flickering is that the color mapping isnāt quite accurate. The whites are clipped. I think this can be easily solved with some sRGB color management package, though. Other than that, runs rock solid. Also, works fine as a usbip host over ethernet.
The occassional mouse flickering on my device (GT King Pro) is when I am on Xorg session only and rock steady mouse pointer/cursor on Wayland Sessision ā Gnome or KDE Plasma Wayland now works very well and surprisingly Gnome and KDE now uses about the same RAM resources as XFCE on boot up (Gnome <450 MB and KDE Plasma around 550 MB).
I am thrilled to announce that now my Mecool K3 Pro ( Mecool kiii Pro) working
with image Manjaro-ARM-kde-plasma-gtking-pro-20220718.img.xz.
The image is still bit slow.
I am able to get both Bluetooth and Onboard Wifi working after adding below files from the LibreELEC branch
BCM4335A0.hcd
BCM4335B0.hcd
brcmfmac4335-sdio.bin
brcmfmac4335-sdio.txt
I did try the commands in post 1336 by gausus above but it did not bring up the wifi/Blutooth.
May be it helped resolve other issues not sure but now after adding these 4 files to /lib/firmware/brcm Both Wifi and Bluetooth working fine.