MichaIng / DietPi

Lightweight justice for your single-board computer!
https://dietpi.com/
GNU General Public License v2.0
4.88k stars 497 forks source link

{First deployment failure} Odroid C4 Bullseye DietPi V7 #5278

Closed MDAR closed 2 years ago

MDAR commented 2 years ago

Failure to complete first run

Required Information

Additional Information (if applicable)

- Bug report ID | `echo $G_HW_UUID` - unable to get a command prompt #### Steps to reproduce 1. Download fresh image 2. Flash to eMMC 3. Boot to new image 4. Choose defaults, with the only exception of adding Chromium as a software package #### Expected behaviour - Achieve a simple system with Chromium loading after boot as a kiosk #### Actual behaviour - Fails to complete the initial setup with these error messages ``` E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem. [FAILED] DietPi-Software | APT install for: xserver-xorg-core xserver-xorg-input-libinput xinit dbus-x11 xfonts-base x11-xserver-utils x11-utils libgl1-mesa-dri mesa-utils mesa-utils-extra - Command: apt-get -qq --allow-change-held-packages install xserver-xorg-core xserver-xorg-input-libinput xinit dbus-x11 xfonts-base x11-xserver-utils x11-utils libgl1-mesa-dri mesa-utils mesa-utils-extra [ INFO ] DietPi-BugReport | Generating informative command outputs, please wait... [ INFO ] DietPi-BugReport | cp /tmp/G_EXEC_ERROR_REPORT G_EXEC_ERROR_REPORT, please wait... [ OK ] DietPi-BugReport | cp /tmp/G_EXEC_ERROR_REPORT G_EXEC_ERROR_REPORT [ OK ] DietPi-BugReport | Packing upload archive [ OK ] DietPi-BugReport | Sending bug report [ OK ] DietPi-BugReport | Your bug report has been successfully uploaded. - Reference code: f752bac5-5acd-4feb-a58b-43d27fb58608 ``` This command failed ``` apt -qq --allow-held-packages install xserver-xorg-core xserver-xorg-input-libinput xinit dbus-x11 xfonts-base x11-xserver-utils x11-utils libgl1-mesa-dri mesa-utils mesa-utils-extra ``` #### Extra details - This also happened when I tried to update a previously working system.
MichaIng commented 2 years ago

Many thanks for your report.

I checked your bug report:

dpkg: error processing archive /tmp/apt-dpkg-install-mgmNpt/041-libllvm11_1%3a11.0.1-2_arm64.deb (--unpack):
 cannot copy extracted data for './usr/lib/aarch64-linux-gnu/libLLVM-11.so.1' to '/usr/lib/aarch64-linux-gnu/libLLVM-11.so.1.dpkg-new': failed to write (No space left on device)
...
dpkg: error processing archive /tmp/apt-dpkg-install-mgmNpt/045-libgl1-mesa-dri_20.3.5-1_arm64.deb (--unpack):
 cannot copy extracted data for './usr/lib/aarch64-linux-gnu/dri/armada-drm_dri.so' to '/usr/lib/aarch64-linux-gnu/dri/armada-drm_dri.so.dpkg-new': failed to write (No space left on device)
...

Can you check the free filesystem space, please:

df -h /
MDAR commented 2 years ago

Well spotted.

When I'm finished what I'm doing, I'll drop in another eMMC card and try that

MichaIng commented 2 years ago

But please verify that the used space really is 16 GiB already. It would be also possible that the partition/filesystem expansion failed for some reason. df -h / would reveal this. This could be easily solved.

MDAR commented 2 years ago

Yep

There's the problem

root@DietPi:~# df -h /
Filesystem               Size        Used      Avail      Use%      Mounted on
/dev/mmcblk0p2     740M    577M     149M     80%        /

and for completeness

root@DietPi:~# df
Filesystem     1K-blocks   Used Available Use% Mounted on
udev             1894152      0   1894152   0% /dev
tmpfs             380112  10272    369840   3% /run
/dev/mmcblk0p2    757680 590456    152092  80% /
tmpfs            1900556      0   1900556   0% /dev/shm
tmpfs               5120      0      5120   0% /run/lock
tmpfs               4096      0      4096   0% /sys/fs/cgroup
tmpfs            1900544      0   1900544   0% /tmp
tmpfs              51200     52     51148   1% /var/log
/dev/mmcblk0p1    261868  23492    238376   9% /boot

and for clarity

This is using a brand new 16GB eMMC card (not one I've used previously today) and a new Odroid C4 board, with the Image I downloaded this afternoon

MichaIng commented 2 years ago

Indeed, can you check:

cat /var/tmp/dietpi/logs/fs_partition_resize.log

To expand it:

sfdisk --no-reread --no-tell-kernel -fN2 /dev/mmcblk0 <<< ',+'
partprobe /dev/mmcblk0
sleep 0.5
resize2fs /dev/mmcblk0p2
MDAR commented 2 years ago

Wow, that was a fast reply.

Thanks.

root@DietPi:~# cat /var/tmp/dietpi/logs/fs_partition_resize.log
Removed /etc/systemd/system/local-fs.target.wants/dietpi-fs_partition_resize.service.
Disk /dev/mmcblk0: 14.56 GiB, 15634268160 bytes, 30535680 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x03823826

Old situation:

Device         Boot  Start     End Sectors   Size Id Type
/dev/mmcblk0p1        2048  526335  524288   256M  e W95 FAT16 (LBA)
/dev/mmcblk0p2      526336 2039567 1513232 738.9M 83 Linux

/dev/mmcblk0p2: 
New situation:
Disklabel type: dos
Disk identifier: 0x03823826

Device         Boot  Start      End  Sectors  Size Id Type
/dev/mmcblk0p1        2048   526335   524288  256M  e W95 FAT16 (LBA)
/dev/mmcblk0p2      526336 30535679 30009344 14.3G 83 Linux

The partition table has been altered.
resize2fs 1.46.2 (28-Feb-2021)
resize2fs: No space left on device While checking for on-line resizing support
Filesystem at /dev/mmcblk0p2 is mounted on /; on-line resizing required
old_desc_blocks = 1, new_desc_blocks = 1

I'm not sure I did the right thing next.

I did try to copy your instructions into a script and run it, but got an error saying "Redirection expected"

So out of sheer devilment, I pasted your instructions into the command line and pressed enter

I got this

root@DietPi:/opt# sfdisk --no-reread --no-tell-kernel -fN2 /dev/mmcblk0 <<< ',+' 
partprobe /dev/mmcblk0
sleep 0.5
resize2fs /dev/mmcblk0p2
Disk /dev/mmcblk0: 14.56 GiB, 15634268160 bytes, 30535680 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x03823826

Old situation:

Device         Boot  Start      End  Sectors  Size Id Type
/dev/mmcblk0p1        2048   526335   524288  256M  e W95 FAT16 (LBA)
/dev/mmcblk0p2      526336 30535679 30009344 14.3G 83 Linux

/dev/mmcblk0p2: 
New situation:
Disklabel type: dos
Disk identifier: 0x03823826

Device         Boot  Start      End  Sectors  Size Id Type
/dev/mmcblk0p1        2048   526335   524288  256M  e W95 FAT16 (LBA)
/dev/mmcblk0p2      526336 30535679 30009344 14.3G 83 Linux

The partition table has been altered.
resize2fs 1.46.2 (28-Feb-2021)
Filesystem at /dev/mmcblk0p2 is mounted on /; on-line resizing required
old_desc_blocks = 1, new_desc_blocks = 1
resize2fs: No space left on device While checking for on-line resizing support

and just out of curiosity, I ran the df -h / command

root@DietPi:/opt# df -h /
Filesystem      Size  Used Avail Use% Mounted on
/dev/mmcblk0p2  740M  576M  150M  80% /

Curiosity will be the death of me

I ran your

systemctl start dietpi-fs_partition_resize.service

this added a repeat of the entries in the resize log

MichaIng commented 2 years ago
resize2fs: No space left on device While checking for on-line resizing support

I remember the exact same happened on the legacy Odroid C2 image: #5008 No idea where this is coming from, probably it has to do with the journal recreation we do, but it never was an issue with any other image and the modern Odroid images. I repacked the Odroid C4 image yesterday to add some kernel command-line parameter required for Docker to work, and other applications which require some cgroupv2 features that this old kernel does not support: https://github.com/MichaIng/DietPi/issues/5269#issuecomment-1038150039 I remember it become a little smaller. While 20% and more free space look pretty sufficient for any action, probably some specific part became too small for this kernel to perform a filesystem resize somehow.

I'll now work on the new C4 image. Working on images anyway currently. Let's see how fast I can set this up based on the Odroid N2 work that has been done already.

MDAR commented 2 years ago

If there is anything I can do to help, please just ask.

I'm happy to give you remote access to a machine if that helps you.

MDAR commented 2 years ago

FYI

fdisk /dev/mmcblk0p2 followed by preturns this

Welcome to fdisk (util-linux 2.36.1).
Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.

The device contains 'ext4' signature and it will be removed by a write command. See fdisk(8) man page and --wipe option for more details.

Device does not contain a recognized partition table.
Created a new DOS disklabel with disk identifier 0x04224d6c.

Command (m for help): p
Disk /dev/mmcblk0p2: 14.31 GiB, 15364784128 bytes, 30009344 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x04224d6c

and for mmcblk0p1 returns this

Disk /dev/mmcblk0p1: 256 MiB, 268435456 bytes, 524288 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x01b14692
MDAR commented 2 years ago

FYI

Just thought I'd see what happens now if I tried to add Chromium, Apache and openSSH

It still failed at the xfont-base x11-server-utils x11-util etc stage

root@DietPi:/opt# dietpi-software
[  OK  ] DietPi-Software | Initialised database
[  OK  ] DietPi-Software | Reading database
[  OK  ] DietPi-Software | Setting in /boot/dietpi/.installed adjusted: INDEX_WEBSERVER=0
[  OK  ] DietPi-Software | Setting in /boot/dietpi/.installed adjusted: INDEX_BROWSER=-2
[  OK  ] DietPi-Software | DietPi-Userdata validation: /mnt/dietpi_userdata

 DietPi-Software
─────────────────────────────────────────────────────
 Step: Checking for conflicts and missing inputs

 DietPi-Software
─────────────────────────────────────────────────────
 Step: Checking for prerequisite software

[ INFO ] DietPi-Software | OpenSSH Client will be installed
[  OK  ] DietPi-Software | Checking network connectivity
[  OK  ] DietPi-Software | Checking DNS resolver
[  OK  ] Network time sync | Completed
[ SUB1 ] DietPi-Services > unmask 
[  OK  ] DietPi-Services | unmask : cron
[ SUB1 ] DietPi-Services > stop 
[  OK  ] DietPi-Services | stop : cron
[ INFO ] DietPi-Software | APT update, please wait...
Hit:1 https://deb.debian.org/debian bullseye InRelease
Hit:2 https://deb.debian.org/debian bullseye-updates InRelease
Hit:3 https://deb.debian.org/debian-security bullseye-security InRelease
Hit:4 https://deb.debian.org/debian bullseye-backports InRelease
Hit:5 https://dietpi.com/meveric bullseye InRelease
Hit:6 https://dietpi.com/meveric all InRelease
Reading package lists...
[  OK  ] DietPi-Software | APT update
[  OK  ] DietPi-Software | mkdir -p /mnt/dietpi_userdata/Music /mnt/dietpi_userdata/Pictures /mnt/dietpi_userdata/Video /mnt/dietpi_userdata/downloads /var/www /opt /usr/local/bin
[  OK  ] DietPi-Software | chown dietpi:dietpi /mnt/dietpi_userdata/Music /mnt/dietpi_userdata/Pictures /mnt/dietpi_userdata/Video /mnt/dietpi_userdata/downloads
[  OK  ] DietPi-Software | chmod 0775 /mnt/dietpi_userdata/Music /mnt/dietpi_userdata/Pictures /mnt/dietpi_userdata/Video /mnt/dietpi_userdata/downloads

 DietPi-Software
─────────────────────────────────────────────────────
 Step: Installing OpenSSH Client: Feature-rich SSH, SFTP and SCP client

[ INFO ] DietPi-Software | APT install for: openssh-client, please wait...
debconf: delaying package configuration, since apt-utils is not installed
Selecting previously unselected package libedit2:arm64.
(Reading database ... 15668 files and directories currently installed.)
Preparing to unpack .../libedit2_3.1-20191231-2+b1_arm64.deb ...
Unpacking libedit2:arm64 (3.1-20191231-2+b1) ...
Selecting previously unselected package libcbor0:arm64.
Preparing to unpack .../libcbor0_0.5.0+dfsg-2_arm64.deb ...
Unpacking libcbor0:arm64 (0.5.0+dfsg-2) ...
Selecting previously unselected package libfido2-1:arm64.
Preparing to unpack .../libfido2-1_1.6.0-2_arm64.deb ...
Unpacking libfido2-1:arm64 (1.6.0-2) ...
Selecting previously unselected package openssh-client.
Preparing to unpack .../openssh-client_1%3a8.4p1-5_arm64.deb ...
Unpacking openssh-client (1:8.4p1-5) ...
Setting up libedit2:arm64 (3.1-20191231-2+b1) ...
Setting up libcbor0:arm64 (0.5.0+dfsg-2) ...
Setting up libfido2-1:arm64 (1.6.0-2) ...
Setting up openssh-client (1:8.4p1-5) ...
Processing triggers for libc-bin (2.31-13+deb11u2) ...
[  OK  ] DietPi-Software | APT install for: openssh-client

 DietPi-Software
─────────────────────────────────────────────────────
 Step: Installing OpenSSH Server: Feature-rich SSH server with SFTP and SCP support

[  OK  ] DietPi-Software | systemctl stop dropbear
[ INFO ] DietPi-Software | APT install for: openssh-server, please wait...
debconf: delaying package configuration, since apt-utils is not installed
Selecting previously unselected package ucf.
(Reading database ... 15739 files and directories currently installed.)
Preparing to unpack .../archives/ucf_3.0043_all.deb ...
Moving old data out of the way
Unpacking ucf (3.0043) ...
Selecting previously unselected package libwrap0:arm64.
Preparing to unpack .../libwrap0_7.6.q-31_arm64.deb ...
Unpacking libwrap0:arm64 (7.6.q-31) ...
Selecting previously unselected package openssh-sftp-server.
Preparing to unpack .../openssh-sftp-server_1%3a8.4p1-5_arm64.deb ...
Unpacking openssh-sftp-server (1:8.4p1-5) ...
Selecting previously unselected package runit-helper.
Preparing to unpack .../runit-helper_2.10.3_all.deb ...
Unpacking runit-helper (2.10.3) ...
Selecting previously unselected package openssh-server.
Preparing to unpack .../openssh-server_1%3a8.4p1-5_arm64.deb ...
Unpacking openssh-server (1:8.4p1-5) ...
Setting up runit-helper (2.10.3) ...
Setting up openssh-sftp-server (1:8.4p1-5) ...
Setting up libwrap0:arm64 (7.6.q-31) ...
Setting up ucf (3.0043) ...
Setting up openssh-server (1:8.4p1-5) ...

Creating config file /etc/ssh/sshd_config with new version
Creating SSH2 RSA key; this may take some time ...
3072 SHA256:2saGVmzeah3WIVdBAZLQzKRCSaVvIZfBhFYCrEqWa4M root@DietPi (RSA)
Creating SSH2 ECDSA key; this may take some time ...
256 SHA256:bPaC22EtyrSMNf5bEGSzXLpIhFC0p5Ce718oFVr06Lo root@DietPi (ECDSA)
Creating SSH2 ED25519 key; this may take some time ...
256 SHA256:gdPk1bwjZgXsCNePaT3+JQmqK+sh43mymsy6ohyVijg root@DietPi (ED25519)
Created symlink /etc/systemd/system/sshd.service → /lib/systemd/system/ssh.service.
Created symlink /etc/systemd/system/multi-user.target.wants/ssh.service → /lib/systemd/system/ssh.service.
rescue-ssh.target is a disabled or a static unit, not starting it.
Processing triggers for libc-bin (2.31-13+deb11u2) ...
[  OK  ] DietPi-Software | APT install for: openssh-server
[  OK  ] DietPi-Software | Comment in /etc/ssh/sshd_config converted to setting: PermitRootLogin yes
[  OK  ] DietPi-Software | systemctl enable ssh

 DietPi-Software
─────────────────────────────────────────────────────
 Step: Uninstalling Dropbear: Lightweight SSH server

[ INFO ] DietPi-Software | APT purge for: dropbear*, please wait...
(Reading database ... 15852 files and directories currently installed.)
Removing dropbear (2020.81-3) ...
Removing dropbear-bin (2020.81-3) ...
Removing libtomcrypt1:arm64 (1.18.2-5) ...
Removing libtommath1:arm64 (1.2.0-6) ...
Processing triggers for libc-bin (2.31-13+deb11u2) ...
(Reading database ... 15813 files and directories currently installed.)
Purging configuration files for dropbear (2020.81-3) ...
[  OK  ] DietPi-Software | APT purge for: dropbear*

 DietPi-Software
─────────────────────────────────────────────────────
 Step: Finalising uninstall

[ INFO ] DietPi-Software | APT autopurge, please wait...
[  OK  ] DietPi-Software | APT autopurge
[  OK  ] DietPi-Software | systemctl daemon-reload

 DietPi-Software
─────────────────────────────────────────────────────
 Step: Uninstall completed

 DietPi-Software
─────────────────────────────────────────────────────
 Step: Finalising install

[  OK  ] DietPi-Software | systemctl daemon-reload
2022-02-14 18:23:05 [ INFO ] DietPi-RAMlog | Storing /var/log to /var/tmp/dietpi/logs/dietpi-ramlog_store...
2022-02-14 18:23:05 [  OK  ] DietPi-RAMlog | Stored /var/log to /var/tmp/dietpi/logs/dietpi-ramlog_store.
[ SUB1 ] DietPi-Services > dietpi_controlled 
[  OK  ] DietPi-Services | dietpi_controlled : cron

 DietPi-Software
─────────────────────────────────────────────────────
 Step: Install completed

[  OK  ] DietPi-Survey | Sending survey data
[ SUB1 ] DietPi-Services > restart 
[  OK  ] DietPi-Services | restart : cron
[ INFO ] DietPi-Software | Starting installed services, not controlled by DietPi-Services
[  OK  ] DietPi-Software | systemctl start ssh
root@DietPi:/opt# dietpi-software
[  OK  ] DietPi-Software | Initialised database
[  OK  ] DietPi-Software | Reading database
[  OK  ] DietPi-Software | DietPi-Userdata validation: /mnt/dietpi_userdata

 DietPi-Software
─────────────────────────────────────────────────────
 Step: Checking for conflicts and missing inputs

 DietPi-Software
─────────────────────────────────────────────────────
 Step: Checking for prerequisite software

[ INFO ] DietPi-Software | ALSA will be installed
[ INFO ] DietPi-Software | X.Org X Server will be installed
[  OK  ] DietPi-Software | Checking network connectivity
[  OK  ] DietPi-Software | Checking DNS resolver
[  OK  ] Network time sync | Completed
[ SUB1 ] DietPi-Services > unmask 
[  OK  ] DietPi-Services | unmask : cron
[ SUB1 ] DietPi-Services > stop 
[  OK  ] DietPi-Services | stop : cron
[ INFO ] DietPi-Software | APT update, please wait...
Hit:1 https://deb.debian.org/debian bullseye InRelease
Hit:2 https://deb.debian.org/debian bullseye-updates InRelease
Hit:3 https://deb.debian.org/debian-security bullseye-security InRelease
Hit:4 https://deb.debian.org/debian bullseye-backports InRelease
Hit:5 https://dietpi.com/meveric bullseye InRelease
Hit:6 https://dietpi.com/meveric all InRelease
Reading package lists...
[  OK  ] DietPi-Software | APT update
[  OK  ] DietPi-Software | mkdir -p /mnt/dietpi_userdata/Music /mnt/dietpi_userdata/Pictures /mnt/dietpi_userdata/Video /mnt/dietpi_userdata/downloads /var/www /opt /usr/local/bin
[  OK  ] DietPi-Software | chown dietpi:dietpi /mnt/dietpi_userdata/Music /mnt/dietpi_userdata/Pictures /mnt/dietpi_userdata/Video /mnt/dietpi_userdata/downloads
[  OK  ] DietPi-Software | chmod 0775 /mnt/dietpi_userdata/Music /mnt/dietpi_userdata/Pictures /mnt/dietpi_userdata/Video /mnt/dietpi_userdata/downloads

 DietPi-Software
─────────────────────────────────────────────────────
 Step: Installing ALSA: Advanced Linux Sound Architecture

[ SUB1 ] DietPi-Set_hardware > soundcard (default)
[ INFO ] DietPi-Set_hardware | Checking for required APT packages: alsa-utils
[ INFO ] DietPi-Set_hardware | APT update, please wait...
Hit:1 https://deb.debian.org/debian bullseye InRelease
Hit:2 https://deb.debian.org/debian bullseye-updates InRelease
Hit:3 https://deb.debian.org/debian-security bullseye-security InRelease
Hit:4 https://deb.debian.org/debian bullseye-backports InRelease
Hit:5 https://dietpi.com/meveric bullseye InRelease
Hit:6 https://dietpi.com/meveric all InRelease
Reading package lists...
[  OK  ] DietPi-Set_hardware | APT update
[ INFO ] DietPi-Set_hardware | APT install for: alsa-utils, please wait...
debconf: delaying package configuration, since apt-utils is not installed
Selecting previously unselected package libasound2-data.
(Reading database ... 15808 files and directories currently installed.)
Preparing to unpack .../0-libasound2-data_1.2.4-1.1_all.deb ...
Unpacking libasound2-data (1.2.4-1.1) ...
Selecting previously unselected package libasound2:arm64.
Preparing to unpack .../1-libasound2_1.2.4-1.1_arm64.deb ...
Unpacking libasound2:arm64 (1.2.4-1.1) ...
Selecting previously unselected package libatopology2:arm64.
Preparing to unpack .../2-libatopology2_1.2.4-1.1_arm64.deb ...
Unpacking libatopology2:arm64 (1.2.4-1.1) ...
Selecting previously unselected package libgomp1:arm64.
Preparing to unpack .../3-libgomp1_10.2.1-6_arm64.deb ...
Unpacking libgomp1:arm64 (10.2.1-6) ...
Selecting previously unselected package libfftw3-single3:arm64.
Preparing to unpack .../4-libfftw3-single3_3.3.8-2_arm64.deb ...
Unpacking libfftw3-single3:arm64 (3.3.8-2) ...
Selecting previously unselected package libsamplerate0:arm64.
Preparing to unpack .../5-libsamplerate0_0.2.1+ds0-1_arm64.deb ...
Unpacking libsamplerate0:arm64 (0.2.1+ds0-1) ...
Selecting previously unselected package alsa-utils.
Preparing to unpack .../6-alsa-utils_1.2.4-1_arm64.deb ...
Unpacking alsa-utils (1.2.4-1) ...
Setting up libgomp1:arm64 (10.2.1-6) ...
Setting up libasound2-data (1.2.4-1.1) ...
Setting up libasound2:arm64 (1.2.4-1.1) ...
Setting up libsamplerate0:arm64 (0.2.1+ds0-1) ...
Setting up libatopology2:arm64 (1.2.4-1.1) ...
Setting up libfftw3-single3:arm64 (3.3.8-2) ...
Setting up alsa-utils (1.2.4-1) ...
alsa-restore.service is a disabled or a static unit, not starting it.
alsa-state.service is a disabled or a static unit, not starting it.
Processing triggers for libc-bin (2.31-13+deb11u2) ...
[  OK  ] DietPi-Set_hardware | APT install for: alsa-utils
[ INFO ] DietPi-Set_hardware | Resetting all sound card settings...
alsa-lib parser.c:2179:(load_toplevel_config) Unable to find the top-level configuration file '/usr/share/alsa/ucm2/ucm.conf'.
alsa-lib main.c:1014:(snd_use_case_mgr_open) error: failed to import hw:0 use case configuration -2
Found hardware: "ODROID-HDMI" "" "" "" ""
Hardware is initialized using a generic method
[ INFO ] DietPi-Set_hardware | Applying new sound card settings...
[  OK  ] DietPi-Set_hardware | Setting in /boot/dietpi.txt adjusted: CONFIG_SOUNDCARD=default
[  OK  ] DietPi-Set_hardware | alsactl -g store
[  OK  ] soundcard default | Completed

 DietPi-Software
─────────────────────────────────────────────────────
 Step: Installing X.Org X Server: aka X11 - X Window System implementation

[  OK  ] DietPi-Software | cd /tmp/DietPi-Software
[  OK  ] DietPi-Software | Checking URL: https://raw.githubusercontent.com/MichaIng/DietPi/master/.conf/dps_6/98-dietpi-disable_dpms.conf
[ INFO ] DietPi-Software | G_THREAD_START_0 | curl -sSfL https://raw.githubusercontent.com/MichaIng/DietPi/master/.conf/dps_6/98-dietpi-disable_dpms.conf -o 98-dietpi-disable_dpms.conf
[ INFO ] DietPi-Software | APT install for: xserver-xorg-core xserver-xorg-input-libinput xinit dbus-x11 xfonts-base x11-xserver-utils x11-utils libgl1-mesa-dri mesa-utils mesa-utils-extra, please wait...

Giving this error screen

──────┤ DietPi-Software ├──────────────────────────────────────────────────┐
                                       │ APT install for: xserver-xorg-core xserver-xorg-input-libinput xinit dbus-x11 xfonts-base x11-xserver-utils            
                                       │ x11-utils libgl1-mesa-dri mesa-utils mesa-utils-extra                                                                  
                                       │  - Command: apt-get -qq --allow-change-held-packages install xserver-xorg-core xserver-xorg-input-libinput xinit       
                                       │ dbus-x11 xfonts-base x11-xserver-utils x11-utils libgl1-mesa-dri mesa-utils mesa-utils-extra                           
                                       │  - Exit code: 100                                                                                                      
                                       │  - DietPi version: v8.1.2 (MichaIng/master) | HW_MODEL: 16 | HW_ARCH: 3 | DISTRO: 6                                    
                                       │  - Image creator: DietPi Core Team                                                                                     
                                       │  - Pre-image: Meveric                                                                                                  
                                       │  - Error log:                                                                                                          
                                       │ debconf: delaying package configuration, since apt-utils is not installed                                              
                                       │ Selecting previously unselected package libexpat1:arm64.^M                                                             
                                       │ (Reading database ... ^M(Reading database ... 5%^M(Reading database ... 10%^M(Reading database ... 15%^M(Reading datab 
                                       │ ... 20%^M(Reading database ... 25%^M(Reading database ... 30%^M(Reading database ... 35%^M(Reading database ... 40%^M( 
                                       │ database ... 45%^M(Reading database ... 50%^M(Reading database ... 55%^M(Reading database ... 60%^M(Reading database . 
                                       │ (Reading database ... 70%^M(Reading database ... 75%^M(Reading database ... 80%^M(Reading database ... 85%^M(Reading   
                                       │ database ... 90%^M(Reading database ... 95%^M(Reading database ... 100%^M(Reading database ... 16006 files and directo 
                                       │ currently installed.)^M                                                                                                
                                       │ Preparing to unpack .../000-libexpat1_2.2.10-2+deb11u1_arm64.deb ...^M                                                 
                                       │ Unpacking libexpat1:arm64 (2.2.10-2+deb11u1) ...^M                                                                     
                                       │ Selecting previously unselected package dbus.^M                                                                        
                                       │ Preparing to unpack .../001-dbus_1.12.20-2_arm64.deb ...^M                                                             
                                       │ Unpacking dbus (1.12.20-2) ...^M                                                                                       
                                       │ Selecting previously unselected package libisl23:arm64.^M                                                              
                                       │ Preparing to unpack .../002-libisl23_0.23-1_arm64.deb ...^M                                                            
                                       │ Unpacking libisl23:arm64 (0.23-1) ...^M                                                                                
                                       │ Selecting previously unselected package libmpfr6:arm64.^M                                                              
                                       │ Preparing to unpack .../003-libmpfr6_4.1.0-3_arm64.deb ...^M                                                           
                                       │ Unpacking libmpfr6:arm64 (4.1.0-3) ...^M                                                                               
                                       │ Selecting previously unselected package libmpc3:arm64.^M                                                               
                                       │ Preparing to unpack .../004-libmpc3_1.2.0-1_arm64.deb ...^M                                                            
                                       │ Unpacking libmpc3:arm64 (1.2.0-1) ...^M                                                                                
                                       │ Selecting previously unselected package cpp-10.^M                                                                      
                                       │ Preparing to unpack .../005-cpp-10_10.2.1-6_arm64.deb ...^M                                                            
                                       │ Unpacking cpp-10 (10.2.1-6) ...^M                                                                                      
                                       │ Selecting previously unselected package cpp.^M                                                                         
                                       │ Preparing to unpack .../006-cpp_4%3a10.2.1-1_arm64.deb ...^M                                                           
                                       │ Unpacking cpp (4:10.2.1-1) ...^M                                                                                       
                                       │ Selecting previously unselected package libxau6:arm64.^M                                                               
                                       │ Preparing to unpack .../007-libxau6_1%3a1.0.9-1_arm64.deb ...^M                                                        
                                       │ Unpacking libxau6:arm64 (1:1.0.9-1) ...^M                                                                              
                                       │ Selecting previously unselected package libxdmcp6:arm64.^M                                                             
                                       │ Preparing to unpack .../008-libxdmcp6_1%3a1.1.2-3_arm64.deb ...^M                                                      
                                       │                                                                                                                        
                                       │                        Retry          : Re-run the last command that failed                 ↑                          
                                       │                        DietPi-Config  : Edit network, APT/NTP mirror settings etc           ▮    

Is this the key line ?

dpkg: error processing archive /tmp/apt-dpkg-install-eHAT9a/071-libxmu6_2%3a1.1.2-2+b3_arm64.deb (--unpack):
 cannot copy extracted data for './usr/lib/aarch64-linux-gnu/libXmu.so.6.2.0' to '/usr/lib/aarch64-linux-gnu/libXmu.so.6.2.0.dpkg-new': failed to write (No space left on device)
root@DietPi:/dev# df --human-readable
Filesystem      Size  Used Avail Use% Mounted on
udev            1.9G     0  1.9G   0% /dev
tmpfs           372M  5.4M  366M   2% /run
/dev/mmcblk0p2  740M  725M     0 100% /
tmpfs           1.9G     0  1.9G   0% /dev/shm
tmpfs           5.0M  4.0K  5.0M   1% /run/lock
tmpfs           4.0M     0  4.0M   0% /sys/fs/cgroup
tmpfs           1.9G  4.0K  1.9G   1% /tmp
tmpfs            50M   84K   50M   1% /var/log
/dev/mmcblk0p1  256M   23M  233M   9% /boot
MichaIng commented 2 years ago

No need to retry as long as the filesystem has not been expanded 😉. What fdisk shows you is not the filesystem size but the partition size, which has been expended successfully. It is only the contained ext4 filesystem which fails to be expanded.

MDAR commented 2 years ago

It is only the contained ext4 filesystem which fails to be expanded.

I'm not entirely sure I follow, but I get the general idea.

I'll go back to using a previous image I have and leave you to do your magic in your own time. (I'll just not update past V7)

There's no pressure from me.

Thanks a million Michal

Joulinar commented 2 years ago

The issue is not with updating DietPi. It's the first run setup that did not expand the partition correctly. Question is why? This is something to find out.

MichaIng commented 2 years ago

I'm not gonna invest further time into this resizing issue, since it only affects the legacy Odroid images and we already tried everything on Odroid C2, without success. Better have the new image ready. Good thing is that boot configuration is exactly the same as for Odroid N2. But Armbian offers two different bootloaders (and images) for C4 and HC4. I hope their are identical, especially that they load the correct device tree OOTB. We'll see, else we need to split the images as well 😢.

MichaIng commented 2 years ago

Image ready for testing: https://dietpi.com/downloads/images/

MDAR commented 2 years ago

Image ready for testing: https://dietpi.com/downloads/images/

Trying it right now......

MDAR commented 2 years ago

On first boot this is roughly what I saw on the monitor.

It seems to have hung. I can't get a Prompt from the local terminal and it isn't present on the LAN so I can't try a SSH.

But the Blue LED is still pulsing happily.


thermal thermal_zone0: 
[  2.041373] reg-fixed-voltage regulator-flash_1v8 : failed to register
[ 2.043935]  reg-fixed-voltage regulator-vcc_1v8 : failed to register
(Repeated a lot, as well as something about temperature but that scrolled off the top of the screen before I could read it properly)

Gave up waiting for root file system device. comon problems:
- boot args (cat / proc/cmdline)
- - check rootdelay = (did the system wait long enough?)
- Missing modulees (cat /proc/modules; ls /dev)
- ALERT! UUID=3ccf3790-5e80-44b9-83be-17e3b21083d9 does not exist. Dropping to a shell!
(initramsfs)
MichaIng commented 2 years ago

UUID=3ccf3790-5e80-44b9-83be-17e3b21083d9 does not exist. Dropping to a shell!

Let me see.

MichaIng commented 2 years ago

Ah, I missed to edit the part in PREP where the UUID and root filesystem type are adjusted in /boot/dietpiEnv.txt. I just updated the image accordingly (same link).

If you have a possibility to mount that ext4 filesystem and check its UUID on another system, you can edit it yourself. It's the line starting with rootdev=UUID= and the value should be the output of what on Linux this gives (with the device path adjusted, in case):

lsblk -no UUID /dev/mmcblk0p1
MDAR commented 2 years ago

I just updated the image accordingly (same link).

I very nearly tried to edit the file, until I re-read your post to see that you said you made the change anyway.

SO....

it has now booted up really quickly and pushed me in startup script

let's see what happens......


okay, so Node-RED is running well.

Chromium loaded, but I can't get it to load on boot. (or indeed load as a stand-alone at all)

Initially, it looked like Xterm wasn't installed, but adding that made no difference.

Normally,, I would run this command from a command prompt and all would work perfectly.

sudo xinit /usr/bin/chromium ---kiosk --test-type --window-size=1920,1080 --start-fullscreen --start-maximized --window-position=0,0 --no-user-gesture-required --app=http://bbc.co.uk -- -nocursor

But what I get is a blank screen, as if it is trying to load Xinit and Chromium.

then it returns to the command prompt.

I have tried using the dietpi-config option to set Chromium to start at boot, but I just get the same behaviour.

Quick flash of an xinit session, then a command prompt.


X.Org X Server 1.20.11
X Protocol Version 11, Revision 0
Build Operating System: linux Debian
Current Operating System: Linux DietPi 5.10.81-meson64 #21.08.6 SMP PREEMPT Mon                                                                                                                                                              Nov 22 11:21:51 UTC 2021 aarch64
Kernel command line: root=UUID=28046172-8741-4334-96cd-b24d158eec46 rootfstype=e                                                                                                                                                             xt4 rootwait console=tty1 loglevel=4 consoleblank=0 coherent_pool=2M ubootpart=2                                                                                                                                                             c2a3e4f-01 libata.force=noncq usb-storage.quirks=0x2537:0x1066:u,0x2537:0x1068:u                                                                                                                                                              net.ifnames=0
Build Date: 16 December 2021  05:08:23PM
xorg-server 2:1.20.11-1+deb11u1 (https://www.debian.org/support)
Current version of pixman: 0.40.0
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Tue Feb 15 18:14:54 2022
(==) Using config directory: "/etc/X11/xorg.conf.d"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
(II) modeset(0): Initializing kms color map for depth 24, 8 bpc.
xinit: connection to X server lost

waiting for X server to shut down (II) Server terminated successfully (0). Closing log file.

if I just run xinit then I get the small white terminal appear.

But trying to run /usr/bin/chromium returns an error Trace/breakpoint trap

MichaIng commented 2 years ago

Hmm, so X11 with xterm works but not with Chromium. What does cat /var/log/Xorg.0.log show after trying to start xinit /usr/bin/chromium?

I wonder whether its the same as here: https://dietpi.com/phpbb/viewtopic.php?p=43184#p43184 Through other/additional error messages are thrown, not sure whether those are visible on primary console only (kernel logs), which should then be seen via dmesg elsewhere.

MDAR commented 2 years ago

Hmm, so X11 with xterm works but not with Chromium. What does cat /var/log/Xorg.0.log show after trying to start xinit /usr/bin/chromium?

brace yourself... this is a long log

``` root@DietPi:~# xinit /usr/bin/chromium X.Org X Server 1.20.11 X Protocol Version 11, Revision 0 Build Operating System: linux Debian Current Operating System: Linux DietPi 5.10.81-meson64 #21.08.6 SMP PREEMPT Mon Nov 22 11:21:51 UTC 2021 aarch64 Kernel command line: root=UUID=28046172-8741-4334-96cd-b24d158eec46 rootfstype=ext4 rootwait console=tty1 loglevel=4 consoleblank=0 coherent_pool=2M ubootpart=2c2a3e4f-01 libata.force=noncq usb-storage.quirks=0x2537:0x1066:u,0x2537:0x 1068:u net.ifnames=0 Build Date: 16 December 2021 05:08:23PM xorg-server 2:1.20.11-1+deb11u1 (https://www.debian.org/support) Current version of pixman: 0.40.0 Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. (==) Log file: "/var/log/Xorg.0.log", Time: Tue Feb 15 19:09:41 2022 (==) Using config directory: "/etc/X11/xorg.conf.d" (==) Using system config directory "/usr/share/X11/xorg.conf.d" (II) modeset(0): Initializing kms color map for depth 24, 8 bpc. xinit: connection to X server lost waiting for X server to shut down (II) Server terminated successfully (0). Closing log file. root@DietPi:~# cat /var/log/Xorg.0.log [ 141.048] X.Org X Server 1.20.11 X Protocol Version 11, Revision 0 [ 141.049] Build Operating System: linux Debian [ 141.049] Current Operating System: Linux DietPi 5.10.81-meson64 #21.08.6 SMP PREEMPT Mon Nov 22 11:21:51 UTC 2021 aarch64 [ 141.049] Kernel command line: root=UUID=28046172-8741-4334-96cd-b24d158eec46 rootfstype=ext4 rootwait console=tty 1 loglevel=4 consoleblank=0 coherent_pool=2M ubootpart=2c2a3e4f-01 libata.force=noncq usb-storage.quirks=0x2537:0x106 6:u,0x2537:0x1068:u net.ifnames=0 [ 141.049] Build Date: 16 December 2021 05:08:23PM [ 141.049] xorg-server 2:1.20.11-1+deb11u1 (https://www.debian.org/support) [ 141.049] Current version of pixman: 0.40.0 [ 141.049] Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. [ 141.049] Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. [ 141.049] (==) Log file: "/var/log/Xorg.0.log", Time: Tue Feb 15 19:09:41 2022 [ 141.050] (==) Using config directory: "/etc/X11/xorg.conf.d" [ 141.050] (==) Using system config directory "/usr/share/X11/xorg.conf.d" [ 141.050] (==) No Layout section. Using the first Screen section. [ 141.050] (==) No screen section available. Using defaults. [ 141.050] (**) |-->Screen "Default Screen Section" (0) [ 141.050] (**) | |-->Monitor "" [ 141.051] (==) No monitor specified for screen "Default Screen Section". Using a default monitor configuration. [ 141.051] (**) Option "BlankTime" "0" [ 141.051] (==) Automatically adding devices [ 141.051] (==) Automatically enabling devices [ 141.051] (==) Automatically adding GPU devices [ 141.051] (==) Max clients allowed: 256, resource mask: 0x1fffff [ 141.051] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist. [ 141.051] Entry deleted from font path. [ 141.051] (WW) The directory "/usr/share/fonts/X11/100dpi/" does not exist. [ 141.051] Entry deleted from font path. [ 141.051] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist. [ 141.051] Entry deleted from font path. [ 141.051] (WW) The directory "/usr/share/fonts/X11/Type1" does not exist. [ 141.051] Entry deleted from font path. [ 141.051] (WW) The directory "/usr/share/fonts/X11/100dpi" does not exist. [ 141.051] Entry deleted from font path. [ 141.051] (WW) The directory "/usr/share/fonts/X11/75dpi" does not exist. [ 141.051] Entry deleted from font path. [ 141.051] (==) FontPath set to: /usr/share/fonts/X11/misc, built-ins [ 141.052] (==) ModulePath set to "/usr/lib/xorg/modules" [ 141.052] (**) Extension "DPMS" is disabled [ 141.052] (II) The server relies on udev to provide the list of input devices. If no devices become available, reconfigure udev or disable AutoAddDevices. [ 141.052] (II) Loader magic: 0xaaaaccaf1e28 [ 141.052] (II) Module ABI versions: [ 141.052] X.Org ANSI C Emulation: 0.4 [ 141.052] X.Org Video Driver: 24.1 [ 141.052] X.Org XInput driver : 24.1 [ 141.052] X.Org Server Extension : 10.0 [ 141.053] (--) using VT number 2 [ 141.053] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling login d integration [ 141.055] (II) xfree86: Adding drm device (/dev/dri/card0) [ 141.060] (II) xfree86: Adding drm device (/dev/dri/card1) [ 141.064] (II) no primary bus or device found [ 141.064] falling back to /sys/devices/platform/soc/ff900000.vpu/drm/card0 [ 141.064] (II) LoadModule: "glx" [ 141.064] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so [ 141.067] (II) Module glx: vendor="X.Org Foundation" [ 141.067] compiled for 1.20.11, module version = 1.0.0 [ 141.067] ABI class: X.Org Server Extension, version 10.0 [ 141.067] (==) Matched modesetting as autoconfigured driver 0 [ 141.068] (==) Matched fbdev as autoconfigured driver 1 [ 141.068] (==) Assigned the driver to the xf86ConfigLayout [ 141.068] (II) LoadModule: "modesetting" [ 141.068] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so [ 141.068] (II) Module modesetting: vendor="X.Org Foundation" [ 141.068] compiled for 1.20.11, module version = 1.20.11 [ 141.068] Module class: X.Org Video Driver [ 141.068] ABI class: X.Org Video Driver, version 24.1 [ 141.068] (II) LoadModule: "fbdev" [ 141.069] (WW) Warning, couldn't open module fbdev [ 141.069] (EE) Failed to load module "fbdev" (module does not exist, 0) [ 141.069] (II) modesetting: Driver for Modesetting Kernel Drivers: kms [ 141.093] (II) modeset(0): using drv /dev/dri/card0 [ 141.093] (II) modeset(0): Creating default Display subsection in Screen section "Default Screen Section" for depth/fbbpp 24/32 [ 141.093] (==) modeset(0): Depth 24, (==) framebuffer bpp 32 [ 141.093] (==) modeset(0): RGB weight 888 [ 141.093] (==) modeset(0): Default visual is TrueColor [ 141.093] (II) Loading sub module "glamoregl" [ 141.094] (II) LoadModule: "glamoregl" [ 141.094] (II) Loading /usr/lib/xorg/modules/libglamoregl.so [ 141.111] (II) Module glamoregl: vendor="X.Org Foundation" [ 141.111] compiled for 1.20.11, module version = 1.0.1 [ 141.111] ABI class: X.Org ANSI C Emulation, version 0.4 [ 141.629] (II) modeset(0): glamor X acceleration enabled on Mali G31 (Panfrost) [ 141.630] (II) modeset(0): glamor initialized [ 141.757] (II) modeset(0): Output HDMI-1 has no monitor section [ 141.903] (II) modeset(0): EDID for output HDMI-1 [ 141.904] (II) modeset(0): Manufacturer: HKC Model: 0 Serial#: 0 [ 141.904] (II) modeset(0): Year: 2017 Week: 1 [ 141.904] (II) modeset(0): EDID Version: 1.3 [ 141.904] (II) modeset(0): Digital Display Input [ 141.904] (II) modeset(0): Max Image Size [cm]: horiz.: 64 vert.: 36 [ 141.905] (II) modeset(0): Gamma: 1.00 [ 141.905] (II) modeset(0): No DPMS capabilities specified [ 141.905] (II) modeset(0): Supported color encodings: RGB 4:4:4 YCrCb 4:4:4 [ 141.905] (II) modeset(0): First detailed timing is preferred mode [ 141.905] (II) modeset(0): redX: 0.636 redY: 0.349 greenX: 0.290 greenY: 0.589 [ 141.905] (II) modeset(0): blueX: 0.143 blueY: 0.080 whiteX: 0.313 whiteY: 0.329 [ 141.906] (II) modeset(0): Supported established timings: [ 141.906] (II) modeset(0): 720x400@70Hz [ 141.906] (II) modeset(0): 640x480@60Hz [ 141.906] (II) modeset(0): 800x600@56Hz [ 141.906] (II) modeset(0): 800x600@60Hz [ 141.906] (II) modeset(0): 1024x768@60Hz [ 141.906] (II) modeset(0): Manufacturer's mask: 0 [ 141.907] (II) modeset(0): Supported standard timings: [ 141.907] (II) modeset(0): #0: hsize: 1280 vsize 720 refresh: 60 vid: 49281 [ 141.907] (II) modeset(0): Supported detailed timing: [ 141.907] (II) modeset(0): clock: 85.8 MHz Image Size: 575 x 323 mm [ 141.907] (II) modeset(0): h_active: 1366 h_sync: 1436 h_sync_end 1579 h_blank_end 1792 h_border: 0 [ 141.907] (II) modeset(0): v_active: 768 v_sync: 771 v_sync_end 774 v_blanking: 798 v_border: 0 [ 141.908] (II) modeset(0): Ranges: V min: 23 V max: 71 Hz, H min: 15 H max: 71 kHz, PixClock max 155 MHz [ 141.908] (II) modeset(0): Ranges: V min: 50 V max: 76 Hz, H min: 30 H max: 80 kHz, PixClock max 165 MHz [ 141.908] (II) modeset(0): Monitor name: DSGi TV [ 141.908] (II) modeset(0): Supported detailed timing: [ 141.908] (II) modeset(0): clock: 74.2 MHz Image Size: 708 x 398 mm [ 141.909] (II) modeset(0): h_active: 1280 h_sync: 1720 h_sync_end 1760 h_blank_end 1980 h_border: 0 [ 141.909] (II) modeset(0): v_active: 720 v_sync: 725 v_sync_end 730 v_blanking: 750 v_border: 0 [ 141.909] (II) modeset(0): Supported detailed timing: [ 141.909] (II) modeset(0): clock: 74.2 MHz Image Size: 708 x 398 mm [ 141.909] (II) modeset(0): h_active: 1920 h_sync: 2448 h_sync_end 2492 h_blank_end 2640 h_border: 0 [ 141.910] (II) modeset(0): v_active: 540 v_sync: 542 v_sync_end 547 v_blanking: 562 v_border: 0 [ 141.910] (II) modeset(0): Supported detailed timing: [ 141.910] (II) modeset(0): clock: 27.0 MHz Image Size: 531 x 398 mm [ 141.910] (II) modeset(0): h_active: 720 h_sync: 736 h_sync_end 798 h_blank_end 858 h_border: 0 [ 141.910] (II) modeset(0): v_active: 480 v_sync: 489 v_sync_end 495 v_blanking: 525 v_border: 0 [ 141.911] (II) modeset(0): Supported detailed timing: [ 141.911] (II) modeset(0): clock: 27.0 MHz Image Size: 531 x 398 mm [ 141.911] (II) modeset(0): h_active: 720 h_sync: 732 h_sync_end 796 h_blank_end 864 h_border: 0 [ 141.911] (II) modeset(0): v_active: 576 v_sync: 581 v_sync_end 586 v_blanking: 625 v_border: 0 [ 141.911] (II) modeset(0): Number of EDID sections to follow: 1 [ 141.912] (II) modeset(0): EDID (in hex): [ 141.912] (II) modeset(0): 00ffffffffffff002163000000000000 [ 141.912] (II) modeset(0): 011b0103804024000ad7a5a2594a9624 [ 141.912] (II) modeset(0): 145054a3080081c00101010101010101 [ 141.913] (II) modeset(0): 0101010101017f2156aa51001e30468f [ 141.913] (II) modeset(0): 33003f432100001e000000fd0017470f [ 141.913] (II) modeset(0): 470f000a202020202020000000fd0032 [ 141.913] (II) modeset(0): 4c1e5010000a202020202020000000fc [ 141.914] (II) modeset(0): 00445347692054560a2020202020013a [ 141.914] (II) modeset(0): 02032a715010050403070206011f1413 [ 141.914] (II) modeset(0): 12161115202909070315073c57070183 [ 141.914] (II) modeset(0): 01000066030c00100000011d00bc52d0 [ 141.915] (II) modeset(0): 1e20b8285540c48e2100001e011d80d0 [ 141.915] (II) modeset(0): 721c1620102c2580c48e2100009e8c0a [ 141.915] (II) modeset(0): d08a20e02d10103e9600138e21000018 [ 141.915] (II) modeset(0): 8c0ad090204031200c405500138e2100 [ 141.916] (II) modeset(0): 001800000000000000000000000000c3 [ 141.917] (II) modeset(0): Printing probed modes for output HDMI-1 [ 141.917] (II) modeset(0): Modeline "1366x768"x60.0 85.75 1366 1436 1579 1792 768 771 774 798 +hsync +vsync (4 7.9 kHz eP) [ 141.918] (II) modeset(0): Modeline "1920x1080"x60.0 148.50 1920 2008 2052 2200 1080 1084 1089 1125 +hsync +vsy nc (67.5 kHz e) [ 141.918] (II) modeset(0): Modeline "1920x1080"x50.0 148.50 1920 2448 2492 2640 1080 1084 1089 1125 +hsync +vsy nc (56.2 kHz e) [ 141.918] (II) modeset(0): Modeline "1920x1080"x59.9 148.35 1920 2008 2052 2200 1080 1084 1089 1125 +hsync +vsy nc (67.4 kHz e) [ 141.919] (II) modeset(0): Modeline "1920x1080i"x60.0 74.25 1920 2008 2052 2200 1080 1084 1094 1125 interlace +hsync +vsync (33.8 kHz e) [ 141.919] (II) modeset(0): Modeline "1920x1080i"x50.0 74.25 1920 2448 2492 2640 1080 1084 1094 1125 interlace +hsync +vsync (28.1 kHz e) [ 141.919] (II) modeset(0): Modeline "1920x1080"x24.0 74.25 1920 2558 2602 2750 1080 1084 1089 1125 +hsync +vsy nc (27.0 kHz e) [ 141.919] (II) modeset(0): Modeline "1920x1080i"x59.9 74.18 1920 2008 2052 2200 1080 1084 1094 1125 interlace +hsync +vsync (33.7 kHz e) [ 141.920] (II) modeset(0): Modeline "1920x1080"x24.0 74.18 1920 2558 2602 2750 1080 1084 1089 1125 +hsync +vsy nc (27.0 kHz e) [ 141.920] (II) modeset(0): Modeline "1280x720"x60.0 74.25 1280 1390 1430 1650 720 725 730 750 +hsync +vsync (4 5.0 kHz e) [ 141.920] (II) modeset(0): Modeline "1280x720"x50.0 74.25 1280 1720 1760 1980 720 725 730 750 +hsync +vsync (3 7.5 kHz e) [ 141.921] (II) modeset(0): Modeline "1280x720"x59.9 74.18 1280 1390 1430 1650 720 725 730 750 +hsync +vsync (4 5.0 kHz e) [ 141.921] (II) modeset(0): Modeline "1024x768"x60.0 65.00 1024 1048 1184 1344 768 771 777 806 -hsync -vsync (4 8.4 kHz e) [ 141.921] (II) modeset(0): Modeline "800x600"x60.3 40.00 800 840 968 1056 600 601 605 628 +hsync +vsync (37.9 kHz e) [ 141.921] (II) modeset(0): Modeline "800x600"x56.2 36.00 800 824 896 1024 600 601 603 625 +hsync +vsync (35.2 kHz e) [ 141.922] (II) modeset(0): Modeline "720x576"x50.0 27.00 720 732 796 864 576 581 586 625 -hsync -vsync (31.2 k Hz e) [ 141.922] (II) modeset(0): Modeline "720x480"x59.9 27.00 720 736 798 858 480 489 495 525 -hsync -vsync (31.5 k Hz e) [ 141.922] (II) modeset(0): Output HDMI-1 connected [ 141.922] (II) modeset(0): Using exact sizes for initial modes [ 141.922] (II) modeset(0): Output HDMI-1 using initial mode 1366x768 +0+0 [ 141.923] (==) modeset(0): Using gamma correction (1.0, 1.0, 1.0) [ 141.923] (==) modeset(0): DPI set to (96, 96) [ 141.923] (II) Loading sub module "fb" [ 141.923] (II) LoadModule: "fb" [ 141.927] (II) Loading /usr/lib/xorg/modules/libfb.so [ 141.931] (II) Module fb: vendor="X.Org Foundation" [ 141.931] compiled for 1.20.11, module version = 1.0.0 [ 141.931] ABI class: X.Org ANSI C Emulation, version 0.4 [ 142.134] (==) modeset(0): Backing store enabled [ 142.135] (==) modeset(0): Silken mouse enabled [ 142.147] (II) modeset(0): Initializing kms color map for depth 24, 8 bpc. [ 142.148] (==) modeset(0): DPMS enabled [ 142.148] (II) modeset(0): [DRI2] Setup complete [ 142.148] (II) modeset(0): [DRI2] DRI driver: meson [ 142.148] (II) modeset(0): [DRI2] VDPAU driver: meson [ 142.148] (II) Initializing extension Generic Event Extension [ 142.148] (II) Initializing extension SHAPE [ 142.149] (II) Initializing extension MIT-SHM [ 142.149] (II) Initializing extension XInputExtension [ 142.149] (II) Initializing extension XTEST [ 142.150] (II) Initializing extension BIG-REQUESTS [ 142.150] (II) Initializing extension SYNC [ 142.150] (II) Initializing extension XKEYBOARD [ 142.151] (II) Initializing extension XC-MISC [ 142.151] (II) Initializing extension SECURITY [ 142.151] (II) Initializing extension XFIXES [ 142.152] (II) Initializing extension RENDER [ 142.152] (II) Initializing extension RANDR [ 142.153] (II) Initializing extension COMPOSITE [ 142.153] (II) Initializing extension DAMAGE [ 142.153] (II) Initializing extension MIT-SCREEN-SAVER [ 142.154] (II) Initializing extension DOUBLE-BUFFER [ 142.154] (II) Initializing extension RECORD [ 142.154] (II) Initializing extension Present [ 142.155] (II) Initializing extension DRI3 [ 142.155] (II) Initializing extension X-Resource [ 142.155] (II) Initializing extension XVideo [ 142.156] (II) Initializing extension XVideo-MotionCompensation [ 142.156] (II) Initializing extension SELinux [ 142.156] (II) SELinux: Disabled on system [ 142.156] (II) Initializing extension GLX [ 142.482] (II) AIGLX: Loaded and initialized meson [ 142.482] (II) GLX: Initialized DRI2 GL provider for screen 0 [ 142.482] (II) Initializing extension XFree86-VidModeExtension [ 142.483] (II) Initializing extension XFree86-DGA [ 142.484] (II) Initializing extension XFree86-DRI [ 142.484] (II) Initializing extension DRI2 [ 142.489] (II) modeset(0): Damage tracking initialized [ 142.490] (II) modeset(0): Setting screen physical size to 361 x 203 [ 142.614] (II) config/udev: Adding input device meson-ir (/dev/input/event0) [ 142.614] (**) meson-ir: Applying InputClass "libinput keyboard catchall" [ 142.614] (II) LoadModule: "libinput" [ 142.615] (II) Loading /usr/lib/xorg/modules/input/libinput_drv.so [ 142.621] (II) Module libinput: vendor="X.Org Foundation" [ 142.621] compiled for 1.20.8, module version = 0.30.0 [ 142.621] Module class: X.Org XInput Driver [ 142.621] ABI class: X.Org XInput driver, version 24.1 [ 142.621] (II) Using input driver 'libinput' for 'meson-ir' [ 142.621] (**) meson-ir: always reports core events [ 142.621] (**) Option "Device" "/dev/input/event0" [ 142.621] (**) Option "_source" "server/udev" [ 142.631] (II) event0 - meson-ir: is tagged by udev as: Keyboard Pointingstick [ 142.631] (II) event0 - meson-ir: device is a pointer [ 142.631] (II) event0 - meson-ir: device is a keyboard [ 142.632] (II) event0 - meson-ir: device removed [ 142.678] (II) libinput: meson-ir: needs a virtual subdevice [ 142.678] (**) Option "config_info" "udev:/sys/devices/platform/soc/ff800000.bus/ff808000.ir/rc/rc0/input0/event0" [ 142.678] (II) XINPUT: Adding extended input device "meson-ir" (type: MOUSE, id 6) [ 142.680] (**) Option "AccelerationScheme" "none" [ 142.680] (**) meson-ir: (accel) selected scheme none/0 [ 142.680] (**) meson-ir: (accel) acceleration factor: 2.000 [ 142.680] (**) meson-ir: (accel) acceleration threshold: 4 [ 142.689] (II) event0 - meson-ir: is tagged by udev as: Keyboard Pointingstick [ 142.690] (II) event0 - meson-ir: device is a pointer [ 142.690] (II) event0 - meson-ir: device is a keyboard [ 142.717] (**) meson-ir: Applying InputClass "libinput keyboard catchall" [ 142.717] (II) Using input driver 'libinput' for 'meson-ir' [ 142.717] (**) meson-ir: always reports core events [ 142.717] (**) Option "Device" "/dev/input/event0" [ 142.717] (**) Option "_source" "_driver/libinput" [ 142.717] (II) libinput: meson-ir: is a virtual subdevice [ 142.717] (**) Option "config_info" "udev:/sys/devices/platform/soc/ff800000.bus/ff808000.ir/rc/rc0/input0/event0" [ 142.717] (II) XINPUT: Adding extended input device "meson-ir" (type: KEYBOARD, id 7) [ 142.718] (**) Option "xkb_model" "pc105" [ 142.718] (**) Option "xkb_layout" "gb" [ 143.299] (II) event0 - meson-ir: device removed [ 143.377] (II) UnloadModule: "libinput" [ 143.380] (II) UnloadModule: "libinput" [ 143.521] (II) Server terminated successfully (0). Closing log file. ```

Followed by dmesg log

``` root@DietPi:~# dmesg [ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x411fd050] [ 0.000000] Linux version 5.10.81-meson64 (root@big-59) (aarch64-linux-gnu-gcc (GNU Toolchain for the A-profile Architecture 8.3-2019.03 (arm-rel-8.36)) 8.3.0, GNU ld (GNU Toolchain for the A-profile Architecture 8.3-2019.03 (arm-rel-8.36)) 2.32.0.20190321) #21.08.6 SMP PREEMPT Mon Nov 22 11:21:51 UTC 2021 [ 0.000000] Machine model: Hardkernel ODROID-C4 [ 0.000000] efi: UEFI not found. [ 0.000000] Reserved memory: created CMA memory pool at 0x00000000bd000000, size 896 MiB [ 0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool [ 0.000000] NUMA: No NUMA configuration found [ 0.000000] NUMA: Faking a node at [mem 0x0000000000000000-0x00000000f4ffffff] [ 0.000000] NUMA: NODE_DATA [mem 0xbc7fe100-0xbc7fffff] [ 0.000000] Zone ranges: [ 0.000000] DMA [mem 0x0000000000000000-0x00000000f4ffffff] [ 0.000000] DMA32 empty [ 0.000000] Normal empty [ 0.000000] Movable zone start for each node [ 0.000000] Early memory node ranges [ 0.000000] node 0: [mem 0x0000000000000000-0x0000000004ffffff] [ 0.000000] node 0: [mem 0x0000000005000000-0x00000000052fffff] [ 0.000000] node 0: [mem 0x0000000005300000-0x00000000f4ffffff] [ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x00000000f4ffffff] [ 0.000000] On node 0 totalpages: 1003520 [ 0.000000] DMA zone: 15680 pages used for memmap [ 0.000000] DMA zone: 0 pages reserved [ 0.000000] DMA zone: 1003520 pages, LIFO batch:63 [ 0.000000] psci: probing for conduit method from DT. [ 0.000000] psci: PSCIv1.0 detected in firmware. [ 0.000000] psci: Using standard PSCI v0.2 function IDs [ 0.000000] psci: MIGRATE_INFO_TYPE not supported. [ 0.000000] psci: SMC Calling Convention v1.1 [ 0.000000] percpu: Embedded 23 pages/cpu s57240 r8192 d28776 u94208 [ 0.000000] pcpu-alloc: s57240 r8192 d28776 u94208 alloc=23*4096 [ 0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 [ 0.000000] Detected VIPT I-cache on CPU0 [ 0.000000] CPU features: detected: Virtualization Host Extensions [ 0.000000] CPU features: detected: ARM errata 1165522, 1319367, or 1530923 [ 0.000000] alternatives: patching kernel code [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 987840 [ 0.000000] Policy zone: DMA [ 0.000000] Kernel command line: root=UUID=28046172-8741-4334-96cd-b24d158eec46 rootfstype=ext4 rootwait console=tty1 loglevel=4 consoleblank=0 coherent_pool=2M ubootpart=2c2a3e4f-01 libata.force=noncq usb-storage.quirks=0x2537:0x1066:u,0x2537:0x1068:u net.ifnames=0 [ 0.000000] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes, linear) [ 0.000000] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes, linear) [ 0.000000] mem auto-init: stack:off, heap alloc:on, heap free:off [ 0.000000] Memory: 2974496K/4014080K available (14592K kernel code, 1776K rwdata, 5780K rodata, 3392K init, 589K bss, 122080K reserved, 917504K cma-reserved) [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1 [ 0.000000] rcu: Preemptible hierarchical RCU implementation. [ 0.000000] rcu: RCU event tracing is enabled. [ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=4. [ 0.000000] Trampoline variant of Tasks RCU enabled. [ 0.000000] Rude variant of Tasks RCU enabled. [ 0.000000] Tracing variant of Tasks RCU enabled. [ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies. [ 0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4 [ 0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0 [ 0.000000] GIC: Using split EOI/Deactivate mode [ 0.000000] irq_meson_gpio: 100 to 8 gpio interrupt mux initialized [ 0.000000] random: get_random_bytes called from start_kernel+0x368/0x528 with crng_init=0 [ 0.000000] arch_timer: cp15 timer(s) running at 24.00MHz (phys). [ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns [ 0.000004] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns [ 0.000182] Console: colour dummy device 80x25 [ 0.000211] printk: console [tty1] enabled [ 0.000288] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=96000) [ 0.000299] pid_max: default: 32768 minimum: 301 [ 0.000375] LSM: Security Framework initializing [ 0.000398] Yama: becoming mindful. [ 0.000478] AppArmor: AppArmor initialized [ 0.000526] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes, linear) [ 0.000541] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes, linear) [ 0.002129] rcu: Hierarchical SRCU implementation. [ 0.003809] EFI services will not be available. [ 0.004197] smp: Bringing up secondary CPUs ... [ 0.004959] Detected VIPT I-cache on CPU1 [ 0.005019] CPU1: Booted secondary processor 0x0000000100 [0x411fd050] [ 0.005842] Detected VIPT I-cache on CPU2 [ 0.005884] CPU2: Booted secondary processor 0x0000000200 [0x411fd050] [ 0.006684] Detected VIPT I-cache on CPU3 [ 0.006722] CPU3: Booted secondary processor 0x0000000300 [0x411fd050] [ 0.006800] smp: Brought up 1 node, 4 CPUs [ 0.006810] SMP: Total of 4 processors activated. [ 0.006814] CPU features: detected: Privileged Access Never [ 0.006818] CPU features: detected: LSE atomic instructions [ 0.006821] CPU features: detected: User Access Override [ 0.006825] CPU features: detected: 32-bit EL0 Support [ 0.006828] CPU features: detected: Common not Private translations [ 0.006832] CPU features: detected: RAS Extension Support [ 0.006835] CPU features: detected: Data cache clean to the PoU not required for I/D coherence [ 0.006839] CPU features: detected: CRC32 instructions [ 0.006843] CPU features: detected: 32-bit EL1 Support [ 0.026446] CPU: All CPU(s) started at EL2 [ 0.028150] devtmpfs: initialized [ 0.039061] Registered cp15_barrier emulation handler [ 0.039076] Registered setend emulation handler [ 0.039265] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns [ 0.039289] futex hash table entries: 1024 (order: 4, 65536 bytes, linear) [ 0.062398] pinctrl core: initialized pinctrl subsystem [ 0.063172] DMI not present or invalid. [ 0.063644] NET: Registered protocol family 16 [ 0.065109] DMA: preallocated 2048 KiB GFP_KERNEL pool for atomic allocations [ 0.065469] DMA: preallocated 2048 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations [ 0.066075] DMA: preallocated 2048 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations [ 0.066140] audit: initializing netlink subsys (disabled) [ 0.066317] audit: type=2000 audit(0.064:1): state=initialized audit_enabled=0 res=1 [ 0.068251] thermal_sys: Registered thermal governor 'fair_share' [ 0.068260] thermal_sys: Registered thermal governor 'bang_bang' [ 0.068264] thermal_sys: Registered thermal governor 'step_wise' [ 0.068268] thermal_sys: Registered thermal governor 'user_space' [ 0.068943] cpuidle: using governor menu [ 0.069321] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers. [ 0.069425] ASID allocator initialised with 65536 entries [ 0.070437] Serial: AMBA PL011 UART driver [ 0.116416] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages [ 0.116427] HugeTLB registered 32.0 MiB page size, pre-allocated 0 pages [ 0.116432] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages [ 0.116438] HugeTLB registered 64.0 KiB page size, pre-allocated 0 pages [ 0.118729] cryptd: max_cpu_qlen set to 1000 [ 0.188581] raid6: neonx8 gen() 2120 MB/s [ 0.256646] raid6: neonx8 xor() 1653 MB/s [ 0.324736] raid6: neonx4 gen() 2191 MB/s [ 0.392842] raid6: neonx4 xor() 1648 MB/s [ 0.460884] raid6: neonx2 gen() 2074 MB/s [ 0.528940] raid6: neonx2 xor() 1511 MB/s [ 0.596992] raid6: neonx1 gen() 1772 MB/s [ 0.665073] raid6: neonx1 xor() 1269 MB/s [ 0.733111] raid6: int64x8 gen() 1515 MB/s [ 0.801164] raid6: int64x8 xor() 782 MB/s [ 0.869240] raid6: int64x4 gen() 1638 MB/s [ 0.937308] raid6: int64x4 xor() 847 MB/s [ 1.005410] raid6: int64x2 gen() 1479 MB/s [ 1.073468] raid6: int64x2 xor() 757 MB/s [ 1.141571] raid6: int64x1 gen() 1137 MB/s [ 1.209645] raid6: int64x1 xor() 566 MB/s [ 1.209649] raid6: using algorithm neonx4 gen() 2191 MB/s [ 1.209653] raid6: .... xor() 1648 MB/s, rmw enabled [ 1.209657] raid6: using neon recovery algorithm [ 1.210347] ACPI: Interpreter disabled. [ 1.210862] reg-fixed-voltage regulator-flash_1v8: Failed to register regulator: -517 [ 1.211201] 5V: supplied by 12V [ 1.211700] reg-fixed-voltage regulator-vcc_1v8: Failed to register regulator: -517 [ 1.211806] reg-fixed-voltage regulator-vcc_3v3: Failed to register regulator: -517 [ 1.212035] reg-fixed-voltage regulator-vddao_1v8: Failed to register regulator: -517 [ 1.212124] VDDAO_3V3: supplied by 12V [ 1.212979] iommu: Default domain type: Translated [ 1.213173] vgaarb: loaded [ 1.214073] SCSI subsystem initialized [ 1.214375] usbcore: registered new interface driver usbfs [ 1.214435] usbcore: registered new interface driver hub [ 1.214491] usbcore: registered new device driver usb [ 1.214919] pps_core: LinuxPPS API ver. 1 registered [ 1.214928] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti [ 1.214958] PTP clock support registered [ 1.215249] EDAC MC: Ver: 3.0.0 [ 1.217414] NetLabel: Initializing [ 1.217424] NetLabel: domain hash size = 128 [ 1.217427] NetLabel: protocols = UNLABELED CIPSOv4 CALIPSO [ 1.217482] NetLabel: unlabeled traffic allowed by default [ 1.217869] clocksource: Switched to clocksource arch_sys_counter [ 1.218131] VFS: Disk quotas dquot_6.6.0 [ 1.218188] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes) [ 1.218704] AppArmor: AppArmor Filesystem Enabled [ 1.218778] pnp: PnP ACPI: disabled [ 1.226864] NET: Registered protocol family 2 [ 1.227051] IP idents hash table entries: 65536 (order: 7, 524288 bytes, linear) [ 1.228851] tcp_listen_portaddr_hash hash table entries: 2048 (order: 3, 32768 bytes, linear) [ 1.228985] TCP established hash table entries: 32768 (order: 6, 262144 bytes, linear) [ 1.229265] TCP bind hash table entries: 32768 (order: 7, 524288 bytes, linear) [ 1.229586] TCP: Hash tables configured (established 32768 bind 32768) [ 1.229760] MPTCP token hash table entries: 4096 (order: 4, 98304 bytes, linear) [ 1.229848] UDP hash table entries: 2048 (order: 4, 65536 bytes, linear) [ 1.230025] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes, linear) [ 1.230209] NET: Registered protocol family 1 [ 1.230233] PCI: CLS 0 bytes, default 64 [ 1.230409] Trying to unpack rootfs image as initramfs... [ 1.722950] Freeing initrd memory: 12360K [ 1.723775] kvm [1]: IPA Size Limit: 40 bits [ 1.723915] kvm [1]: vgic interrupt IRQ9 [ 1.724057] kvm [1]: VHE mode initialized successfully [ 1.729920] Initialise system trusted keyrings [ 1.729958] Key type blacklist registered [ 1.730106] workingset: timestamp_bits=44 max_order=20 bucket_order=0 [ 1.734964] zbud: loaded [ 1.736531] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 1.737175] fuse: init (API version 7.32) [ 1.738283] integrity: Platform Keyring initialized [ 1.774017] xor: measuring software checksum speed [ 1.778309] 8regs : 2307 MB/sec [ 1.781683] 32regs : 2920 MB/sec [ 1.785660] arm64_neon : 2482 MB/sec [ 1.785664] xor: using function: 32regs (2920 MB/sec) [ 1.785674] Key type asymmetric registered [ 1.785679] Asymmetric key parser 'x509' registered [ 1.785729] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 244) [ 1.785853] io scheduler mq-deadline registered [ 1.785871] io scheduler kyber registered [ 1.785995] io scheduler bfq registered [ 1.791660] gpio-447 (usb-hub-reset): hogged as output/high [ 1.795801] EINJ: ACPI disabled. [ 1.803802] soc soc0: Amlogic Meson SM1 (S905X3) Revision 2b:c (10:2) Detected [ 1.805641] VDDCPU: supplied by regulator-dummy [ 1.806892] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled [ 1.810778] Serial: AMBA driver [ 1.811152] ff803000.serial: ttyAML0 at MMIO 0xff803000 (irq = 21, base_baud = 1500000) is a meson_uart [ 1.812021] ffd24000.serial: ttyAML1 at MMIO 0xffd24000 (irq = 30, base_baud = 1500000) is a meson_uart [ 1.977913] loop: module loaded [ 1.982621] libphy: Fixed MDIO Bus: probed [ 1.983942] tun: Universal TUN/TAP device driver, 1.6 [ 1.984847] thunder_xcv, ver 1.0 [ 1.984969] thunder_bgx, ver 1.0 [ 1.985021] nicpf, ver 1.0 [ 1.985727] e1000e: Intel(R) PRO/1000 Network Driver [ 1.985734] e1000e: Copyright(c) 1999 - 2015 Intel Corporation. [ 1.985810] igb: Intel(R) Gigabit Ethernet Network Driver [ 1.985814] igb: Copyright (c) 2007-2014 Intel Corporation. [ 1.985927] igbvf: Intel(R) Gigabit Virtual Function Network Driver [ 1.985932] igbvf: Copyright (c) 2009 - 2012 Intel Corporation. [ 1.986167] sky2: driver version 1.30 [ 1.986692] VFIO - User Level meta-driver version: 0.3 [ 1.988413] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 1.988443] ehci-pci: EHCI PCI platform driver [ 1.988493] ehci-platform: EHCI generic platform driver [ 1.988674] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [ 1.988692] ohci-pci: OHCI PCI platform driver [ 1.988750] ohci-platform: OHCI generic platform driver [ 1.989273] usbcore: registered new interface driver usb-storage [ 1.990996] mousedev: PS/2 mouse device common for all mice [ 1.991738] i2c /dev entries driver [ 1.999415] thermal thermal_zone0: binding zone cpu-thermal with cdev thermal-cpufreq-0 failed:-17 [ 2.000548] sdhci: Secure Digital Host Controller Interface driver [ 2.000556] sdhci: Copyright(c) Pierre Ossman [ 2.000818] Synopsys Designware Multimedia Card Interface Driver [ 2.001503] sdhci-pltfm: SDHCI platform and OF driver helper [ 2.002813] ledtrig-cpu: registered to indicate activity on CPUs [ 2.003198] meson-sm: secure-monitor enabled [ 2.003488] hid: raw HID events driver (C) Jiri Kosina [ 2.003616] usbcore: registered new interface driver usbhid [ 2.003620] usbhid: USB HID core driver [ 2.005422] NET: Registered protocol family 10 [ 2.006110] Segment Routing with IPv6 [ 2.006150] NET: Registered protocol family 17 [ 2.006240] 8021q: 802.1Q VLAN Support v1.8 [ 2.006275] Key type dns_resolver registered [ 2.006596] registered taskstats version 1 [ 2.006605] Loading compiled-in X.509 certificates [ 2.008302] Loaded X.509 cert 'Build time autogenerated kernel key: 5761764e16b6e436899baf5235fd1a8f41258305' [ 2.010286] zswap: loaded using pool zstd/z3fold [ 2.010631] Key type ._fscrypt registered [ 2.010634] Key type .fscrypt registered [ 2.010636] Key type fscrypt-provisioning registered [ 2.012275] Btrfs loaded, crc32c=crc32c-generic [ 2.022835] Key type encrypted registered [ 2.022855] AppArmor: AppArmor sha1 policy hashing enabled [ 2.031955] reg-fixed-voltage regulator-flash_1v8: Failed to register regulator: -517 [ 2.032327] reg-fixed-voltage regulator-vcc_1v8: Failed to register regulator: -517 [ 2.032563] VCC_3V3: supplied by VDDAO_3V3 [ 2.032849] reg-fixed-voltage regulator-hub_5v: nonexclusive access to GPIO for regulator-hub_5v [ 2.032984] HUB_5V: supplied by 5V [ 2.033294] USB_PWR_EN: supplied by 5V [ 2.033477] VDDAO_1V8: supplied by VDDAO_3V3 [ 2.035869] meson-drm ff900000.vpu: Queued 2 outputs on vpu [ 2.036308] meson-drm ff900000.vpu: CVBS Output connector not available [ 2.061920] meson-dw-hdmi ff600000.hdmi-tx: Detected HDMI TX controller v2.01a with HDCP (meson_dw_hdmi_phy) [ 2.062317] meson-dw-hdmi ff600000.hdmi-tx: registered DesignWare HDMI I2C bus driver [ 2.062661] meson-drm ff900000.vpu: bound ff600000.hdmi-tx (ops meson_dw_hdmi_ops) [ 2.062992] [drm] Initialized meson 1.0.0 20161109 for ff900000.vpu on minor 0 [ 2.168713] random: fast init done [ 2.334658] Console: switching to colour frame buffer device 170x48 [ 2.357337] meson-drm ff900000.vpu: [drm] fb0: mesondrmfb frame buffer device [ 2.358971] dwc3-meson-g12a ffe09000.usb: USB2 ports: 2 [ 2.358980] dwc3-meson-g12a ffe09000.usb: USB3 ports: 1 [ 2.362029] dwc2 ff400000.usb: supply vusb_d not found, using dummy regulator [ 2.362137] dwc2 ff400000.usb: supply vusb_a not found, using dummy regulator [ 2.362337] dwc2 ff400000.usb: EPs: 7, dedicated fifos, 712 entries in SPRAM [ 2.363391] xhci-hcd xhci-hcd.2.auto: xHCI Host Controller [ 2.363411] xhci-hcd xhci-hcd.2.auto: new USB bus registered, assigned bus number 1 [ 2.363545] xhci-hcd xhci-hcd.2.auto: hcc params 0x0228fe6c hci version 0x110 quirks 0x0000000000010010 [ 2.363580] xhci-hcd xhci-hcd.2.auto: irq 38, io mem 0xff500000 [ 2.363786] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.10 [ 2.363791] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 2.363795] usb usb1: Product: xHCI Host Controller [ 2.363797] usb usb1: Manufacturer: Linux 5.10.81-meson64 xhci-hcd [ 2.363800] usb usb1: SerialNumber: xhci-hcd.2.auto [ 2.364142] hub 1-0:1.0: USB hub found [ 2.364166] hub 1-0:1.0: 2 ports detected [ 2.364397] xhci-hcd xhci-hcd.2.auto: xHCI Host Controller [ 2.364409] xhci-hcd xhci-hcd.2.auto: new USB bus registered, assigned bus number 2 [ 2.364419] xhci-hcd xhci-hcd.2.auto: Host supports USB 3.0 SuperSpeed [ 2.364465] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM. [ 2.364543] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.10 [ 2.364547] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 2.364550] usb usb2: Product: xHCI Host Controller [ 2.364554] usb usb2: Manufacturer: Linux 5.10.81-meson64 xhci-hcd [ 2.364557] usb usb2: SerialNumber: xhci-hcd.2.auto [ 2.364849] hub 2-0:1.0: USB hub found [ 2.364875] hub 2-0:1.0: 1 port detected [ 2.365313] dwc3-meson-g12a ffe09000.usb: switching to Device Mode [ 2.366472] FLASH_1V8: supplied by VCC_3V3 [ 2.366800] VCC_1V8: supplied by VCC_3V3 [ 2.366838] meson-gx-mmc ffe05000.sd: Got CD GPIO [ 2.367006] meson-gx-mmc ffe07000.mmc: allocated mmc-pwrseq [ 2.394505] gpio irq setup: hwirq: 0x3B irqfirst: 0x35 irqlast: 0x3C pin[47] [ 2.396069] Freeing unused kernel memory: 3392K [ 2.429936] Run /init as init process [ 2.429943] with arguments: [ 2.429946] /init [ 2.429948] with environment: [ 2.429950] HOME=/ [ 2.429952] TERM=linux [ 2.429955] ubootpart=2c2a3e4f-01 [ 2.520760] mmc1: new HS200 MMC card at address 0001 [ 2.521427] mmcblk1: mmc1:0001 AJTD4R 14.6 GiB [ 2.521771] mmcblk1boot0: mmc1:0001 AJTD4R partition 1 4.00 MiB [ 2.522228] mmcblk1boot1: mmc1:0001 AJTD4R partition 2 4.00 MiB [ 2.522708] mmcblk1rpmb: mmc1:0001 AJTD4R partition 3 4.00 MiB, chardev (241:0) [ 2.524607] mmcblk1: p1 [ 2.617914] usb 1-1: new high-speed USB device number 2 using xhci-hcd [ 2.675401] meson8b-dwmac ff3f0000.ethernet: IRQ eth_wake_irq not found [ 2.675410] meson8b-dwmac ff3f0000.ethernet: IRQ eth_lpi not found [ 2.675523] meson8b-dwmac ff3f0000.ethernet: PTP uses main clock [ 2.675529] meson8b-dwmac ff3f0000.ethernet: no reset control found [ 2.677603] meson8b-dwmac ff3f0000.ethernet: User ID: 0x11, Synopsys ID: 0x37 [ 2.677614] meson8b-dwmac ff3f0000.ethernet: DWMAC1000 [ 2.677619] meson8b-dwmac ff3f0000.ethernet: DMA HW capability register supported [ 2.677622] meson8b-dwmac ff3f0000.ethernet: RX Checksum Offload Engine supported [ 2.677625] meson8b-dwmac ff3f0000.ethernet: COE Type 2 [ 2.677628] meson8b-dwmac ff3f0000.ethernet: TX Checksum insertion supported [ 2.677630] meson8b-dwmac ff3f0000.ethernet: Wake-Up On Lan supported [ 2.677703] meson8b-dwmac ff3f0000.ethernet: Normal descriptors [ 2.677706] meson8b-dwmac ff3f0000.ethernet: Ring mode enabled [ 2.677709] meson8b-dwmac ff3f0000.ethernet: Enable RX Mitigation via HW Watchdog Timer [ 2.678069] libphy: stmmac: probed [ 2.680236] meson-vrtc ff8000a8.rtc: registered as rtc0 [ 2.680270] meson-vrtc ff8000a8.rtc: setting system clock to 1970-01-01T00:00:02 UTC (2) [ 2.683223] libphy: mdio_mux: probed [ 2.755954] spidev spi0.0: probing from DT [ 2.768642] usb 1-1: New USB device found, idVendor=2109, idProduct=2817, bcdDevice=90.33 [ 2.768651] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [ 2.768655] usb 1-1: Product: USB2.0 Hub [ 2.768658] usb 1-1: Manufacturer: VIA Labs, Inc. [ 2.798816] libphy: mdio_mux: probed [ 2.812790] hub 1-1:1.0: USB hub found [ 2.812972] hub 1-1:1.0: 4 ports detected [ 2.907593] usb 2-1: new SuperSpeed Gen 1 USB device number 2 using xhci-hcd [ 3.000370] usb 2-1: New USB device found, idVendor=2109, idProduct=0817, bcdDevice=90.33 [ 3.000379] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [ 3.000383] usb 2-1: Product: USB3.0 Hub [ 3.000386] usb 2-1: Manufacturer: VIA Labs, Inc. [ 3.020888] hub 2-1:1.0: USB hub found [ 3.021119] hub 2-1:1.0: 4 ports detected [ 3.098894] EXT4-fs (mmcblk1p1): mounted filesystem with ordered data mode. Opts: (null) [ 3.281827] systemd[1]: System time before build time, advancing clock. [ 3.299396] systemd[1]: Inserted module 'autofs4' [ 3.324188] systemd[1]: systemd 247.3-6 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +ZSTD +SECCOMP +BLKID +ELFUTILS +KMOD +IDN2 -IDN +PCRE2 default-hierarchy=unified) [ 3.324582] systemd[1]: Detected architecture arm64. [ 3.328448] systemd[1]: Set hostname to . [ 3.565393] systemd[1]: Queued start job for default target Graphical Interface. [ 3.566419] random: systemd: uninitialized urandom read (16 bytes read) [ 3.568342] systemd[1]: Created slice system-getty.slice. [ 3.568802] random: systemd: uninitialized urandom read (16 bytes read) [ 3.569646] systemd[1]: Created slice system-modprobe.slice. [ 3.570066] random: systemd: uninitialized urandom read (16 bytes read) [ 3.570267] systemd[1]: Started Dispatch Password Requests to Console Directory Watch. [ 3.570652] systemd[1]: Started Forward Password Requests to Wall Directory Watch. [ 3.571321] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point. [ 3.571605] systemd[1]: Reached target Local Encrypted Volumes. [ 3.571887] systemd[1]: Reached target Paths. [ 3.572075] systemd[1]: Reached target Remote File Systems. [ 3.572256] systemd[1]: Reached target Slices. [ 3.572447] systemd[1]: Reached target Swap. [ 3.573078] systemd[1]: Listening on fsck to fsckd communication Socket. [ 3.573493] systemd[1]: Listening on initctl Compatibility Named Pipe. [ 3.574272] systemd[1]: Listening on Journal Audit Socket. [ 3.574860] systemd[1]: Listening on Journal Socket (/dev/log). [ 3.575453] systemd[1]: Listening on Journal Socket. [ 3.576544] systemd[1]: Listening on udev Control Socket. [ 3.577146] systemd[1]: Listening on udev Kernel Socket. [ 3.580054] systemd[1]: Mounting Huge Pages File System... [ 3.585377] systemd[1]: Mounting POSIX Message Queue File System... [ 3.591401] systemd[1]: Mounting Kernel Debug File System... [ 3.594011] systemd[1]: Condition check resulted in Kernel Trace File System being skipped. [ 3.597300] systemd[1]: Starting Restore / save the current clock... [ 3.602890] systemd[1]: Starting Set the console keyboard layout... [ 3.609444] systemd[1]: Starting Create list of static device nodes for the current kernel... [ 3.616216] systemd[1]: Starting Load Kernel Module configfs... [ 3.622213] systemd[1]: Starting Load Kernel Module fuse... [ 3.625327] systemd[1]: Condition check resulted in Set Up Additional Binary Formats being skipped. [ 3.625502] systemd[1]: Condition check resulted in File System Check on Root Device being skipped. [ 3.630628] systemd[1]: Starting Journal Service... [ 3.637202] systemd[1]: Starting Load Kernel Modules... [ 3.642429] systemd[1]: Starting Remount Root and Kernel File Systems... [ 3.647709] systemd[1]: Starting Coldplug All udev Devices... [ 3.655949] systemd[1]: Mounted Huge Pages File System. [ 3.658865] systemd[1]: Mounted POSIX Message Queue File System. [ 3.661577] systemd[1]: Mounted Kernel Debug File System. [ 3.665335] systemd[1]: Finished Restore / save the current clock. [ 3.668730] systemd[1]: Finished Create list of static device nodes for the current kernel. [ 3.671648] systemd[1]: modprobe@configfs.service: Succeeded. [ 3.672437] systemd[1]: Finished Load Kernel Module configfs. [ 3.675667] systemd[1]: modprobe@fuse.service: Succeeded. [ 3.676495] systemd[1]: Finished Load Kernel Module fuse. [ 3.681906] systemd[1]: Mounting FUSE Control File System... [ 3.681960] EXT4-fs (mmcblk1p1): re-mounted. Opts: (null) [ 3.686644] systemd[1]: Mounting Kernel Configuration File System... [ 3.691941] systemd[1]: Mounted FUSE Control File System. [ 3.696424] systemd[1]: Finished Remount Root and Kernel File Systems. [ 3.700526] systemd[1]: Condition check resulted in Rebuild Hardware Database being skipped. [ 3.700727] systemd[1]: Condition check resulted in Platform Persistent Storage Archival being skipped. [ 3.703732] systemd[1]: Starting Load/Save Random Seed... [ 3.709086] systemd[1]: Starting Create System Users... [ 3.714965] systemd[1]: Finished Load Kernel Modules. [ 3.717269] systemd[1]: Mounted Kernel Configuration File System. [ 3.721860] systemd[1]: Starting Apply Kernel Variables... [ 3.748176] systemd[1]: Finished Create System Users. [ 3.753365] systemd[1]: Starting Create Static Device Nodes in /dev... [ 3.775230] systemd[1]: Finished Apply Kernel Variables. [ 3.789112] systemd[1]: Finished Create Static Device Nodes in /dev. [ 3.796138] systemd[1]: Starting Rule-based Manager for Device Events and Files... [ 3.799696] systemd[1]: Finished Set the console keyboard layout. [ 3.802537] systemd[1]: Reached target Local File Systems (Pre). [ 3.808108] systemd[1]: Mounting /tmp... [ 3.813483] systemd[1]: Mounting /var/log... [ 3.824321] systemd[1]: Mounted /tmp. [ 3.826462] systemd[1]: Started Journal Service. [ 3.870813] systemd-journald[1563]: Received client request to flush runtime journal. [ 4.167890] meson-saradc ff809000.adc: supply vref not found, using dummy regulator [ 4.184172] mc: Linux media interface: v0.10 [ 4.196359] videodev: Linux video capture interface: v2.00 [ 4.243020] meson_vdec: module is from the staging directory, the quality is unknown, you have been warned. [ 4.253910] Registered IR keymap rc-odroid [ 4.265558] IR NEC protocol handler initialized [ 4.294066] rc rc0: meson-ir as /devices/platform/soc/ff800000.bus/ff808000.ir/rc/rc0 [ 4.294933] rc rc0: lirc_dev: driver meson-ir registered at minor = 0, raw IR receiver, no transmitter [ 4.295046] input: meson-ir as /devices/platform/soc/ff800000.bus/ff808000.ir/rc/rc0/input0 [ 4.295542] meson-ir ff808000.ir: receiver initialized [ 4.445322] panfrost ffe40000.gpu: clock rate = 24000000 [ 4.445406] panfrost ffe40000.gpu: dev_pm_opp_set_regulators: no regulator (mali) found: -19 [ 4.482024] panfrost ffe40000.gpu: mali-g31 id 0x7093 major 0x0 minor 0x0 status 0x0 [ 4.482036] panfrost ffe40000.gpu: features: 00000000,3fde77ff, issues: 00000000,00000400 [ 4.482041] panfrost ffe40000.gpu: Features: L2:0x07100206 Shader:0x00000000 Tiler:0x00000209 Mem:0x1 MMU:0x00002821 AS:0xff JS:0x7 [ 4.482044] panfrost ffe40000.gpu: shader_present=0x1 l2_present=0x1 [ 4.520858] [drm] Initialized panfrost 1.1.0 20180908 for ffe40000.gpu on minor 1 [ 4.693939] meson8b-dwmac ff3f0000.ethernet eth0: PHY [0.0:00] driver [RTL8211F Gigabit Ethernet] (irq=40) [ 4.706622] meson8b-dwmac ff3f0000.ethernet eth0: No Safety Features support found [ 4.706637] meson8b-dwmac ff3f0000.ethernet eth0: PTP not supported by HW [ 4.707069] meson8b-dwmac ff3f0000.ethernet eth0: configuring for phy/rgmii link mode [ 5.913891] random: crng init done [ 5.913899] random: 7 urandom warning(s) missed due to ratelimiting [ 7.320649] meson8b-dwmac ff3f0000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx [ 7.320678] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready [ 33.757925] USB_PWR_EN: disabling [ 33.757935] TF_IO: disabling ```
MichaIng commented 2 years ago

It is like Chromium is simply stopping immediately after being started. No error messages from the X server, just a regular shutdown after startup finished 🤔. The other error messages on the forum thread may not even be related.

Does it work when you install a desktop and start Chromium from there?

MDAR commented 2 years ago

Does it work when you install a desktop and start Chromium from there?

Thanks Michal

I'm away for a few days, as soon as I get back I'll give it a try.

MDAR commented 2 years ago

Does it work when you install a desktop and start Chromium from there?

Hi

I'm back...

Here's what I have tried so far.

I ran dietpi-software and added LXDE But I DIDN'T change the autoboot option from Chromium.

When rebooting I get a screen full of

login as: root
root@192.168.178.75's password:
Linux DietPi 5.10.81-meson64 #21.08.6 SMP PREEMPT Mon Nov 22 11:21:51 UTC 2021 a                                                                                                               arch64

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Fri Feb 18 11:07:04 2022
 ─────────────────────────────────────────────────────
 DietPi v8.1.2 : 11:14 - Fri 02/18/22
 ─────────────────────────────────────────────────────
 - Device model : Odroid C4/HC4 (aarch64)
 - CPU temp : 33 °C / 91 °F : Cool runnings
 - LAN IP : 192.168.178.75 (eth0)
 - MOTD : DietPi v8.1 is here, check out the release notes:
          https://dietpi.com/docs/releases/v8_1/
 ─────────────────────────────────────────────────────

 DietPi Team     : https://github.com/MichaIng/DietPi#the-dietpi-project-team
 Image by        : DietPi Core Team (pre-image: from scratch)
 Patreon Legends : Camry2731, Chris Gelatt
 Website         : https://dietpi.com/ | https://twitter.com/DietPi_
 Contribute      : https://dietpi.com/contribute.html
 Web Hosting by  : https://myvirtualserver.com

 dietpi-launcher : All the DietPi programs in one place
 dietpi-config   : Feature rich configuration tool for your device
 dietpi-software : Select optimised software for installation
 htop            : Resource monitor
 cpu             : Shows CPU information and stats

root@DietPi:~# dietpi-config
[  OK  ] DietPi-AutoStart | Setting in /boot/dietpi.txt adjusted: SOFTWARE_CHROM                                                                                                               IUM_AUTOSTART_URL=https://www.dietpi.com/
[  OK  ] DietPi-AutoStart | Desired setting in /boot/dietpi.txt was already set:                                                                                                                AUTO_SETUP_AUTOSTART_LOGIN_USER=root
[  OK  ] DietPi-AutoStart | mkdir -p /etc/systemd/system/getty@tty1.service.d /e                                                                                                               tc/systemd/system/console-getty.service.d
[  OK  ] DietPi-AutoStart | systemctl daemon-reload
root@DietPi:~# find / -iname chromium*
/etc/chromium
/etc/chromium.d
/usr/bin/chromium
/usr/share/doc/chromium-common
/usr/share/doc/chromium
/usr/share/bug/chromium
/usr/share/man/man1/chromium.1.gz
/usr/share/bash-completion/completions/chromium-browser
/usr/share/bash-completion/completions/chromium
/usr/share/chromium
/usr/share/gnome-control-center/default-apps/chromium.xml
/usr/share/lintian/overrides/chromium
/usr/share/icons/hicolor/24x24/apps/chromium.png
/usr/share/icons/hicolor/256x256/apps/chromium.png
/usr/share/icons/hicolor/48x48/apps/chromium.png
/usr/share/icons/hicolor/16x16/apps/chromium.png
/usr/share/icons/hicolor/128x128/apps/chromium.png
/usr/share/icons/hicolor/64x64/apps/chromium.png
/usr/share/icons/hicolor/32x32/apps/chromium.png
/usr/share/pixmaps/chromium.png
/usr/share/applications/chromium.desktop
/usr/lib/chromium
/usr/lib/chromium/chromium
/var/lib/dietpi/dietpi-software/installed/chromium-autostart.sh
/var/lib/dpkg/info/chromium.md5sums
/var/lib/dpkg/info/chromium.postinst
/var/lib/dpkg/info/chromium-common.md5sums
/var/lib/dpkg/info/chromium.prerm
/var/lib/dpkg/info/chromium.list
/var/lib/dpkg/info/chromium-common.list
/var/lib/dpkg/info/chromium.conffiles
/root/.config/chromium
/root/.cache/chromium
root@DietPi:~# sh /var/lib/dietpi/dietpi-software/installed/chromium-autostart.sh

X.Org X Server 1.20.11
X Protocol Version 11, Revision 0
Build Operating System: linux Debian
Current Operating System: Linux DietPi 5.10.81-meson64 #21.08.6 SMP PREEMPT Mon Nov 22 11:21:51 UTC 2021 aarch64
Kernel command line: root=UUID=28046172-8741-4334-96cd-b24d158eec46 rootfstype=ext4 rootwait console=tty1 loglevel=4                                                                           consoleblank=0 coherent_pool=2M ubootpart=2c2a3e4f-01 libata.force=noncq usb-storage.quirks=0x2537:0x1066:u,0x2537:0x                                                                          1068:u net.ifnames=0
Build Date: 16 December 2021  05:08:23PM
xorg-server 2:1.20.11-1+deb11u1 (https://www.debian.org/support)
Current version of pixman: 0.40.0
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Fri Feb 18 11:16:01 2022
(==) Using config directory: "/etc/X11/xorg.conf.d"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
(II) modeset(0): Initializing kms color map for depth 24, 8 bpc.
[2681:2712:0218/111604.748835:ERROR:bus.cc(397)] Failed to connect to the bus: Could not parse server address: Unknow                                                                          n address type (examples of valid types are "tcp" and on UNIX "unix")
[2681:2712:0218/111604.749343:ERROR:bus.cc(397)] Failed to connect to the bus: Could not parse server address: Unknow                                                                          n address type (examples of valid types are "tcp" and on UNIX "unix")
*** stack smashing detected ***: terminated
*** stack smashing detected ***: terminated
[2681:2712:0218/111604.788022:ERROR:bus.cc(397)] Failed to connect to the bus: Could not parse server address: Unknow                                                                          n address type (examples of valid types are "tcp" and on UNIX "unix")
[2681:2712:0218/111604.788140:ERROR:bus.cc(397)] Failed to connect to the bus: Could not parse server address: Unknow                                                                          n address type (examples of valid types are "tcp" and on UNIX "unix")
[2681:2712:0218/111604.891078:ERROR:bus.cc(397)] Failed to connect to the bus: Could not parse server address: Unknow                                                                          n address type (examples of valid types are "tcp" and on UNIX "unix")
[2681:2712:0218/111604.891201:ERROR:bus.cc(397)] Failed to connect to the bus: Could not parse server address: Unknow                                                                          n address type (examples of valid types are "tcp" and on UNIX "unix")
*** stack smashing detected ***: terminated
[2681:2681:0218/111605.014512:ERROR:gpu_process_host.cc(978)] GPU process exited unexpectedly: exit_code=6
*** stack smashing detected ***: terminated
*** stack smashing detected ***: terminated
[2681:2681:0218/111605.095049:ERROR:gpu_process_host.cc(978)] GPU process exited unexpectedly: exit_code=6
*** stack smashing detected ***: terminated
*** stack smashing detected ***: terminated
[2681:2681:0218/111605.113204:ERROR:gpu_process_host.cc(978)] GPU process exited unexpectedly: exit_code=6
*** stack smashing detected ***: terminated
*** stack smashing detected ***: terminated
[2681:2681:0218/111605.128790:ERROR:gpu_process_host.cc(978)] GPU process exited unexpectedly: exit_code=6
*** stack smashing detected ***: terminated
*** stack smashing detected ***: terminated
[2681:2681:0218/111605.144491:ERROR:gpu_process_host.cc(978)] GPU process exited unexpectedly: exit_code=6
*** stack smashing detected ***: terminated
*** stack smashing detected ***: terminated
*** stack smashing detected ***: terminated
[2681:2681:0218/111605.165640:ERROR:gpu_process_host.cc(978)] GPU process exited unexpectedly: exit_code=6
[2681:2681:0218/111605.165751:FATAL:gpu_data_manager_impl_private.cc(448)] GPU process isn't usable. Goodbye.
[2719:2736:0218/111605.262777:ERROR:ssl_client_socket_impl.cc(995)] handshake failed; returned -1, SSL error code 1,                                                                           net_error -3
xinit: connection to X server lost

waiting for X server to shut down (II) Server terminated successfully (0). Closing log file.

root@DietPi:~#

What I'm seeing on the device's monitor is the white start screen of Chromium, but only for a few ms.

I'll start the desktop and see if Chromium works


Okay, good test

Chromium won't start from LXDE either.

After clicking on either of the Chromium shortcuts, I see the "working" version of the cursor for a while.

I quick flash (as if Chromium starts and closes) then back to the desktop

A bit more "working" cursor, then resting


What do you suggest I try next?


FYI

Firefox does work in LXDE

MDAR commented 2 years ago

Trying to run each stage manually,

Command prompt login run xinit start chromium from Xinit

I see this kind of error in Xinit

[2681:2712:0218/111604.891078:ERROR:bus.cc(397)] Failed to connect to the bus: Could not parse server address: Unknow                                                                          n address type (examples of valid types are "tcp" and on UNIX "unix")
[2681:2712:0218/111604.891201:ERROR:bus.cc(397)] Failed to connect to the bus: Could not parse server address: Unknow                                                                          n address type (examples of valid types are "tcp" and on UNIX "unix")
*** stack smashing detected ***: terminated
[2681:2681:0218/111605.014512:ERROR:gpu_process_host.cc(978)] GPU process exited unexpectedly: exit_code=6
*** stack smashing detected ***: terminated
*** stack smashing detected ***: terminated
[2681:2681:0218/111605.095049:ERROR:gpu_process_host.cc(978)] GPU process exited unexpectedly: exit_code=6
*** stack smashing detected ***: terminated
*** stack smashing detected ***: terminated
[2681:2681:0218/111605.113204:ERROR:gpu_process_host.cc(978)] GPU process exited unexpectedly: exit_code=6
*** stack smashing detected ***: terminated
*** stack smashing detected ***: terminated
[2681:2681:0218/111605.128790:ERROR:gpu_process_host.cc(978)] GPU process exited unexpectedly: exit_code=6
*** stack smashing detected ***: terminated
*** stack smashing detected ***: terminated
[2681:2681:0218/111605.144491:ERROR:gpu_process_host.cc(978)] GPU process exited unexpectedly: exit_code=6
*** stack smashing detected ***: terminated
*** stack smashing detected ***: terminated
*** stack smashing detected ***: terminated
[2681:2681:0218/111605.165640:ERROR:gpu_process_host.cc(978)] GPU process exited unexpectedly: exit_code=6
FATAL:gpu_data_manager_impl_private.cc(448) GPU process isn't usable. Goodbye
handshake failed; returned -1, SSL error code 1, net_error -3

Is it.... This last line and the GPU error that needs attention?


Curiously, Firefox will start in an Xinit session

But there was a brief point where I saw a similar error message about the GPU

I'll see if I can find it


Crash Annotation GraphicsCriticalError: |[0][GFX1-]: glxtest:libpci missing (t=2.11504) [GFX1-]:glxtest:libpci missing

installing libpci3 resolved that

MichaIng commented 2 years ago

The missing libpci3 dependency has already been reported to Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=993308 Though no reaction so far, I'll try to give this a push.

Definitely an ARMv8 related bug in Chromium, I'll try to replicate and in case report at the Debian bug tracker as well.

MDAR commented 2 years ago

I'll try to replicate and in case report at the Debian

That's very kind of you.

If you don't have a C4 to work with, please let me know

MichaIng commented 2 years ago

Firefox warning appears on all distro versions from Buster to Bookworm. I added it to dietpi-software, might help with Firefox internal render decisions: https://github.com/MichaIng/DietPi/commit/5e2dda0

Gave the bug report a bump, but at least our end it is solved: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=993308

MichaIng commented 2 years ago

According to Chromium, I see *** stack smashing detected ***: terminated on an x86_64 VM as well, together with attempts to access the CPUFreq API, which isn't available on VMs. Probably another things to report to Debian, and in case forward upstream, so that it is checked first whether CPUFreq is available at all before it is tried to read it.

But Chromium works regardless, which indicates that indeed this error message is not related to the crash on C4 or ARMv8 in general.

MichaIng commented 2 years ago

I'll mark this as closed. Let's concentrate on Chromium ARMv8 in a dedicated issue: https://github.com/MichaIng/DietPi/issues/5300