no usb3 after apt upgrade / Rock64

Hello, the usb 3 port no longer works after running the apt upgrade command. It seems to me that the armbian firmware package has been updated. The usb 2 ports still work but the transfer speed is slower…
Is it possible to go back to the old version where usb 3 was working?

root: uname -a
Linux DietPi 5.15.25-rockchip64 #22.02.1 SMP PREEMPT Sun Feb 27 09:05:47 UTC 2022 aarch64 GNU/Linux

MichaIng
Do you know if there is a way to downgrade Armbian kernel/firmware

I had the same problem but with the network card, so I cannot longer SSH to it, or run armbian-config. I traced the problem to the last linux-image-current-rockchip64 update. I restored a backup I had and started to test. What broke it was this:

javi@rock64:~$ sudo apt list -a linux-image-current-rockchip64
[sudo] password for javi:
Listing... Done
linux-image-current-rockchip64/bionic 22.02.1 arm64 [upgradable from: 21.08.2]
linux-image-current-rockchip64/bionic,now 21.08.2 arm64 [installed,upgradable to: 22.02.1]
linux-image-current-rockchip64/bionic 21.08.1 arm64
linux-image-current-rockchip64/bionic 21.05.9 arm64
linux-image-current-rockchip64/bionic 21.05.4 arm64
linux-image-current-rockchip64/bionic 21.05.1 arm64
linux-image-current-rockchip64/bionic 21.02.3 arm64
linux-image-current-rockchip64/bionic 21.02.2 arm64

javi@rock64:~$ sudo apt install linux-image-current-rockchip64=22.02.1
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be upgraded:
  linux-image-current-rockchip64
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 51.2 MB of archives.
After this operation, 123 MB disk space will be freed.
Get:1 https://stpete-mirror.armbian.com/apt bionic/main arm64 linux-image-current-rockchip64 arm64 22.02.1 [51.2 MB]
Fetched 51.2 MB in 10s (5,066 kB/s)
(Reading database ... 109695 files and directories currently installed.)
Preparing to unpack .../linux-image-current-rockchip64_22.02.1_arm64.deb ...
update-initramfs: Deleting /boot/initrd.img-5.10.63-rockchip64
Removing obsolete file uInitrd-5.10.63-rockchip64
Unpacking linux-image-current-rockchip64 (22.02.1) over (21.08.2) ...
Setting up linux-image-current-rockchip64 (22.02.1) ...
update-initramfs: Generating /boot/initrd.img-5.15.25-rockchip64
modinfo: ERROR: Module /lib/modules/5.15.25-rockchip64/kernel/drivers/cdrom/cdrom.ko.xz not found.
modinfo: ERROR: Module /lib/modules/5.15.25-rockchip64/kernel/fs/isofs/isofs.ko.xz not found.
modinfo: ERROR: Module /lib/modules/5.15.25-rockchip64/kernel/fs/jfs/jfs.ko.xz not found.
modinfo: ERROR: Module /lib/modules/5.15.25-rockchip64/kernel/fs/reiserfs/reiserfs.ko.xz not found.
modinfo: ERROR: Module /lib/modules/5.15.25-rockchip64/kernel/fs/udf/udf.ko.xz not found.
modinfo: ERROR: Module /lib/modules/5.15.25-rockchip64/kernel/fs/xfs/xfs.ko.xz not found.
modinfo: ERROR: Module /lib/modules/5.15.25-rockchip64/kernel/fs/netfs/netfs.ko.xz not found.
modinfo: ERROR: Module /lib/modules/5.15.25-rockchip64/kernel/fs/fscache/fscache.ko.xz not found.
modinfo: ERROR: Module /lib/modules/5.15.25-rockchip64/kernel/net/sunrpc/sunrpc.ko.xz not found.
modinfo: ERROR: Module /lib/modules/5.15.25-rockchip64/kernel/fs/nfs_common/grace.ko.xz not found.
modinfo: ERROR: Module /lib/modules/5.15.25-rockchip64/kernel/fs/lockd/lockd.ko.xz not found.
modinfo: ERROR: Module /lib/modules/5.15.25-rockchip64/kernel/fs/nfs/nfs.ko.xz not found.
modinfo: ERROR: Module /lib/modules/5.15.25-rockchip64/kernel/fs/nfs/nfsv2.ko.xz not found.
modinfo: ERROR: Module /lib/modules/5.15.25-rockchip64/kernel/fs/nfs_common/nfs_acl.ko.xz not found.
modinfo: ERROR: Module /lib/modules/5.15.25-rockchip64/kernel/fs/nfs/nfsv3.ko.xz not found.
modinfo: ERROR: Module /lib/modules/5.15.25-rockchip64/kernel/fs/nfs/nfsv4.ko.xz not found.
modinfo: ERROR: Module /lib/modules/5.15.25-rockchip64/kernel/fs/nls/nls_iso8859-1.ko.xz not found.
modinfo: ERROR: Module /lib/modules/5.15.25-rockchip64/kernel/lib/842/842_decompress.ko.xz not found.
modinfo: ERROR: Module /lib/modules/5.15.25-rockchip64/kernel/drivers/md/dm-mod.ko.xz not found.
update-initramfs: Converting to u-boot format

The version 21.08.2 was working fine but when I went to update to 22.02.1, it showed all of those errors and that’s it, no network card and probably no quite a lot of other things.
I’ll restore the backup and hold back that package until it’s fixed.
Create an image of the sdcard now and then!

yes looks like latest Armbian kernel is having some issues. We have a couple of reports for various issues with this kernel version.

following should rollback and avoid kernel being updated next time again, until we wait for a fix from Armbian side.

apt install linux-dtb-current-rockchip64=21.08.2 linux-image-current-rockchip64=21.08.2
apt-mark hold linux-dtb-current-rockchip64 linux-image-current-rockchip64

There is a device tree overlay available named “usb4”. Not sure whether this was there before. Please try to add “usb4” to the “overlays” line in /boot/armbianEnv.txt.

Another thing: Do not upgrade linux-image-current-rockchip64 without upgrading linux-dtb-current-rockchip64 as well. Kernel and device tree must always match.

The error messages during initramfs generation are actually interesting. Also since the contain NFS, known to be broken with latest kernel. I wonder whether some internal references are wrong, regarding compressed (with *.xz ending) vs uncompressed kernel modules. Probably the following solves it as well:

depmod -a
update-initramfs -u

And yet another thing that caught my eyes: Why your kernel packages have a “bionic” suffix? Is the Armbian repo correct?

cat /etc/apt/sources.list.d/armbian.list

USB 3 port still not working

/boot/armbianEnv.txt
verbosity=4
bootlogo=false
overlay_prefix=rockchip
rootdev=UUID=19e46d43-2ef4-45d3-be06-ceee5e2cb50f
rootfstype=ext4
usbstoragequirks=0x2537:0x1066:u,0x2537:0x1068:u
extraargs=net.ifnames=0
docker_optimizations=off
overlay=usb4

cat /etc/apt/sources.list.d/armbian.list
deb http://apt.armbian.com/ bullseye main

The line needs to be called “overlays=usb4” with plural s :wink:.

Thank you for the reply! I’ll get another SD card and try to update linux-dtb-current-rockchip64 at the same time than the linux-image-current-rockchip64. I updated the dtb first to see which one was the one that created the problems.

I’ll try as well the depmod and intrafms update and see if that fixes something.

Regarding the “bionic” suffix in the repo, I have no idea. I installed armbian and I didn’t add any other ubuntu or debian repo, so who knows. Fun fact: in the welcome screen when you log it with ssh now it says “Ubuntu 18.04” instead of armbian. It changed when I updated all the packages (around 280) of my backup image from Dec 2020 I had around. So yes, there is something fishy there… Maybe it didn’t like to update very old packages, who knows… But as far as I know, except the last version of the linux-image-current-rockchip64 package, everything else works fine.

Thank you!

Edit: I forgot to post the contents of /etc/apt/sources.list.d/armbian.list

deb > http://apt.armbian.com > bionic main bionic-utils bionic-desktop

OK, a bit of an update:
I downgraded the version of linux-dtb-current-rockchip64 to match the one for linux-image-current-rockchip64

sudo apt install linux-dtb-current-rockchip64=21.08.2

javi@rock64:~$ apt list --upgradable
Listing... Done
linux-dtb-current-rockchip64/bionic 22.02.1 arm64 [upgradable from: 21.08.2]
linux-image-current-rockchip64/bionic 22.02.1 arm64 [upgradable from: 21.08.2]

And rebooted just in case. Then I run

javi@rock64:~$ sudo depmod -a
javi@rock64:~$ sudo update-initramfs -u
update-initramfs: Generating /boot/initrd.img-5.10.63-rockchip64
update-initramfs: Converting to u-boot format

Rebooted again just in case. Then I did an upgrade and had the same problem:

Unpacking linux-image-current-rockchip64 (22.02.1) over (21.08.2) ...
Preparing to unpack .../openvpn_2.4.4-2ubuntu1.7_arm64.deb ...
Unpacking openvpn (2.4.4-2ubuntu1.7) over (2.4.4-2ubuntu1.6) ...
Setting up linux-image-current-rockchip64 (22.02.1) ...
update-initramfs: Generating /boot/initrd.img-5.15.25-rockchip64
modinfo: ERROR: Module /lib/modules/5.15.25-rockchip64/kernel/drivers/cdrom/cdrom.ko.xz not found.
modinfo: ERROR: Module /lib/modules/5.15.25-rockchip64/kernel/fs/isofs/isofs.ko.xz not found.
modinfo: ERROR: Module /lib/modules/5.15.25-rockchip64/kernel/fs/jfs/jfs.ko.xz not found.
modinfo: ERROR: Module /lib/modules/5.15.25-rockchip64/kernel/fs/reiserfs/reiserfs.ko.xz not found.
modinfo: ERROR: Module /lib/modules/5.15.25-rockchip64/kernel/fs/udf/udf.ko.xz not found.
modinfo: ERROR: Module /lib/modules/5.15.25-rockchip64/kernel/fs/xfs/xfs.ko.xz not found.
modinfo: ERROR: Module /lib/modules/5.15.25-rockchip64/kernel/fs/netfs/netfs.ko.xz not found.
modinfo: ERROR: Module /lib/modules/5.15.25-rockchip64/kernel/fs/fscache/fscache.ko.xz not found.
modinfo: ERROR: Module /lib/modules/5.15.25-rockchip64/kernel/net/sunrpc/sunrpc.ko.xz not found.
modinfo: ERROR: Module /lib/modules/5.15.25-rockchip64/kernel/fs/nfs_common/grace.ko.xz not found.
modinfo: ERROR: Module /lib/modules/5.15.25-rockchip64/kernel/fs/lockd/lockd.ko.xz not found.
modinfo: ERROR: Module /lib/modules/5.15.25-rockchip64/kernel/fs/nfs/nfs.ko.xz not found.
modinfo: ERROR: Module /lib/modules/5.15.25-rockchip64/kernel/fs/nfs/nfsv2.ko.xz not found.
modinfo: ERROR: Module /lib/modules/5.15.25-rockchip64/kernel/fs/nfs_common/nfs_acl.ko.xz not found.
modinfo: ERROR: Module /lib/modules/5.15.25-rockchip64/kernel/fs/nfs/nfsv3.ko.xz not found.
modinfo: ERROR: Module /lib/modules/5.15.25-rockchip64/kernel/fs/nfs/nfsv4.ko.xz not found.
modinfo: ERROR: Module /lib/modules/5.15.25-rockchip64/kernel/fs/nls/nls_iso8859-1.ko.xz not found.
modinfo: ERROR: Module /lib/modules/5.15.25-rockchip64/kernel/lib/842/842_decompress.ko.xz not found.
modinfo: ERROR: Module /lib/modules/5.15.25-rockchip64/kernel/drivers/md/dm-mod.ko.xz not found.
update-initramfs: Converting to u-boot format

So probably it’s just a matter of waiting for a fix…

deb > http://apt.armbian.com > bionic main bionic-utils bionic-desktop

That is definitely wrong.

I installed armbian and I didn’t add any other ubuntu or debian repo, so who knows.

What do you mean by “installed armbian”? You mean you installed DietPi on an Armbian image? If this was an Armbian Ubuntu image, it shouldn’t be possible to install DietPi on it, as the PREP script checks for the distro and errors out if it is not Debian. Otherwise, did you manually edit that file, or where did you get the image from?

I’m not sure now distro and version it is at all, can you paste the output of:

cat /etc/apt/sources.list
cat /etc/os-release
dpkg -l | grep ubuntu

Ah, I’m so sorry. I looked for problems similar to mine and I landed on this forum not realising that DietPi was a specific distro. I just flashed my SD with Armbian for the Rock64 on 2019 probably, and I’ve been updating it since then. So yes, it’s not a DietPi distro. I’m sorry for the confusion and the wasted time. Although I guess it’s good to know the problem with the kernel happens with other distros as well.

Just in case it’s useful, this is the output of your commands:

javi@rock64:~$ cat /etc/apt/sources.list
deb http://ports.ubuntu.com/ bionic main restricted universe multiverse
#deb-src http://ports.ubuntu.com/ bionic main restricted universe multiverse

deb http://ports.ubuntu.com/ bionic-security main restricted universe multiverse
#deb-src http://ports.ubuntu.com/ bionic-security main restricted universe multiverse

deb http://ports.ubuntu.com/ bionic-updates main restricted universe multiverse
#deb-src http://ports.ubuntu.com/ bionic-updates main restricted universe multiverse

deb http://ports.ubuntu.com/ bionic-backports main restricted universe multiverse
#deb-src http://ports.ubuntu.com/ bionic-backports main restricted universe multiverse

This output is definitely wrong for some reason. It changed Armbian for Ubuntu:

javi@rock64:~$ cat /etc/os-release
NAME="Ubuntu"
VERSION="18.04.6 LTS (Bionic Beaver)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 18.04.6 LTS"
VERSION_ID="18.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=bionic
UBUNTU_CODENAME=bionic

And of course, almost all the packages probably are from the ubuntu repos:

javi@rock64:~$ dpkg -l | grep ubuntu
ii  accountsservice                       0.6.45-1ubuntu1.3                    arm64        query and manipulate user account information
ii  adduser                               3.116ubuntu1                         all          add and remove users and groups
ii  adwaita-icon-theme                    3.28.0-1ubuntu1                      all          default icon theme of GNOME (small subset)
ii  alsa-utils                            1.1.3-1ubuntu1                       arm64        Utilities for configuring and using ALSA
ii  apport                                2.20.9-0ubuntu7.27                   all          automatically generate crash reports for debugging
ii  aptdaemon                             1.1.1+bzr982-0ubuntu19.5             all          transaction based package management service
ii  aptdaemon-data                        1.1.1+bzr982-0ubuntu19.5             all          data files for clients
ii  aptitude                              0.8.10-6ubuntu1                      arm64        terminal-based package manager
ii  aptitude-common                       0.8.10-6ubuntu1                      all          architecture independent files for the aptitude package manager
ii  aspell                                0.60.7~20110707-4ubuntu0.2           arm64        GNU Aspell spell-checker
ii  atril                                 1.20.1-2ubuntu2                      arm64        MATE document viewer
ii  atril-common                          1.20.1-2ubuntu2                      all          MATE document viewer (common files)
ii  automake                              1:1.15.1-3ubuntu2                    all          Tool for generating GNU Standards-compliant Makefiles
ii  avahi-autoipd                         0.7-3.1ubuntu1.3                     arm64        Avahi IPv4LL network address configuration daemon
ii  avahi-daemon                          0.7-3.1ubuntu1.3                     arm64        Avahi mDNS/DNS-SD daemon
ii  avahi-utils                           0.7-3.1ubuntu1.3                     arm64        Avahi browsing, publishing and discovery utilities
ii  base-files                            10.1ubuntu2.11                       arm64        Debian base system miscellaneous files
ii  bash                                  4.4.18-2ubuntu1.2                    arm64        GNU Bourne Again SHell
ii  bash-completion                       1:2.8-1ubuntu1                       all          programmable completion for the bash shell
ii  bind9-host                            1:9.11.3+dfsg-1ubuntu1.17            arm64        DNS lookup utility (deprecated)
ii  binutils                              2.30-21ubuntu1~18.04.7               arm64        GNU assembler, linker and binary utilities
ii  binutils-aarch64-linux-gnu            2.30-21ubuntu1~18.04.7               arm64        GNU binary utilities, for aarch64-linux-gnu target
ii  binutils-common:arm64                 2.30-21ubuntu1~18.04.7               arm64        Common files for the GNU assembler, linker and binary utilities
ii  blueman                               2.0.5-1ubuntu1.1                     arm64        Graphical bluetooth manager
ii  bluez                                 5.48-0ubuntu3.8                      arm64        Bluetooth tools and daemons
ii  bluez-obexd                           5.48-0ubuntu3.8                      arm64        bluez obex daemon
ii  bridge-utils                          1.5-15ubuntu1                        arm64        Utilities for configuring the Linux Ethernet bridge
ii  bsdmainutils                          11.1.2ubuntu1                        arm64        collection of more utilities from FreeBSD
ii  bsdutils                              1:2.31.1-0.4ubuntu3.7                arm64        basic utilities from 4.4BSD-Lite
ii  build-essential                       12.4ubuntu1                          arm64        Informational list of build-essential packages
ii  busybox-initramfs                     1:1.27.2-2ubuntu3.4                  arm64        Standalone shell setup for initramfs
ii  bzip2                                 1.0.6-8.1ubuntu0.2                   arm64        high-quality block-sorting file compressor - utilities
ii  chromium-browser                      99.0.4844.51-0ubuntu0.18.04.1        arm64        Chromium web browser, open-source version of Chrome
ii  chromium-browser-l10n                 99.0.4844.51-0ubuntu0.18.04.1        all          chromium-browser language packages
ii  chromium-codecs-ffmpeg-extra          99.0.4844.51-0ubuntu0.18.04.1        arm64        Extra ffmpeg codecs for the Chromium Browser
ii  cmake                                 3.10.2-1ubuntu2.18.04.2              arm64        cross-platform, open-source make system
ii  cmake-data                            3.10.2-1ubuntu2.18.04.2              all          CMake data files (modules, templates and documentation)
ii  console-setup                         1.178ubuntu2.9                       all          console font and keymap setup program
ii  console-setup-linux                   1.178ubuntu2.9                       all          Linux specific part of console-setup
ii  coreutils                             8.28-1ubuntu1                        arm64        GNU core utilities
ii  cpio                                  2.12+dfsg-6ubuntu0.18.04.4           arm64        GNU cpio -- a program to manage archives of files
ii  cpp                                   4:7.4.0-1ubuntu2.3                   arm64        GNU C preprocessor (cpp)
ii  cpp-7                                 7.5.0-3ubuntu1~18.04                 arm64        GNU C preprocessor
ii  cron                                  3.0pl1-128.1ubuntu1                  arm64        process scheduling daemon
ii  cups                                  2.2.7-1ubuntu2.8                     arm64        Common UNIX Printing System(tm) - PPD/driver support, web interface
ii  cups-browsed                          1.20.2-0ubuntu3.1                    arm64        OpenPrinting CUPS Filters - cups-browsed
ii  cups-client                           2.2.7-1ubuntu2.8                     arm64        Common UNIX Printing System(tm) - client programs (SysV)
ii  cups-common                           2.2.7-1ubuntu2.8                     all          Common UNIX Printing System(tm) - common files
ii  cups-core-drivers                     2.2.7-1ubuntu2.8                     arm64        Common UNIX Printing System(tm) - driverless printing
ii  cups-daemon                           2.2.7-1ubuntu2.8                     arm64        Common UNIX Printing System(tm) - daemon
ii  cups-filters                          1.20.2-0ubuntu3.1                    arm64        OpenPrinting CUPS Filters - Main Package
ii  cups-filters-core-drivers             1.20.2-0ubuntu3.1                    arm64        OpenPrinting CUPS Filters - Driverless printing
ii  cups-ipp-utils                        2.2.7-1ubuntu2.8                     arm64        Common UNIX Printing System(tm) - IPP developer/admin utilities
ii  cups-pk-helper                        0.2.6-1ubuntu1.2                     arm64        PolicyKit helper to configure cups with fine-grained privileges
ii  cups-ppdc                             2.2.7-1ubuntu2.8                     arm64        Common UNIX Printing System(tm) - PPD manipulation utilities
ii  cups-server-common                    2.2.7-1ubuntu2.8                     all          Common UNIX Printing System(tm) - server common files
ii  curl                                  7.58.0-2ubuntu3.16                   arm64        command line tool for transferring data with URL syntax
ii  dbus                                  1.12.2-1ubuntu1.2                    arm64        simple interprocess messaging system (daemon and utilities)
ii  dbus-user-session                     1.12.2-1ubuntu1.2                    arm64        simple interprocess messaging system (systemd --user integration)
ii  dbus-x11                              1.12.2-1ubuntu1.2                    arm64        simple interprocess messaging system (X11 deps)
ii  dconf-gsettings-backend:arm64         0.26.0-2ubuntu3                      arm64        simple configuration storage system - GSettings back-end
ii  dconf-service                         0.26.0-2ubuntu3                      arm64        simple configuration storage system - D-Bus service
ii  ddclient                              3.8.3-1.1ubuntu1                     all          address updating utility for dynamic DNS services
ii  debconf                               1.5.66ubuntu1                        all          Debian configuration management system
ii  debconf-i18n                          1.5.66ubuntu1                        all          full internationalization support for debconf
ii  debconf-utils                         1.5.66ubuntu1                        all          debconf utilities
ii  desktop-base                          8.0.2ubuntu1                         all          common files for the Debian Desktop
ii  desktop-file-utils                    0.23-1ubuntu3.18.04.2                arm64        Utilities for .desktop filesii  dh-python                             3.20180325ubuntu2                    all          Debian helper tools for packaging Python libraries and applications
ii  dirmngr                               2.2.4-1ubuntu1.4                     arm64        GNU privacy guard - network certificate management service
ii  distro-info                           0.18ubuntu0.18.04.1                  arm64        provides information about the distributions' releases
ii  distro-info-data                      0.37ubuntu0.13                       all          information about the distributions' releases (data files)
ii  dmsetup                               2:1.02.145-4.1ubuntu3.18.04.3        arm64        Linux Kernel Device Mapper userspace library
ii  dnsutils                              1:9.11.3+dfsg-1ubuntu1.17            arm64        Clients provided with BIND
ii  dpkg                                  1.19.0.5ubuntu2.3                    arm64        Debian package management system
ii  dpkg-dev                              1.19.0.5ubuntu2.3                    all          Debian package development tools
ii  e2fsprogs                             1.44.1-1ubuntu1.3                    arm64        ext2/ext3/ext4 file system utilities
ii  ethtool                               1:4.15-0ubuntu1                      arm64        display or change Ethernet device settings
ii  exo-utils                             0.12.2-0ubuntu0.18.04.1              arm64        Utility files for libexo
ii  fbi                                   2.10-2ubuntu1                        arm64        Linux frame buffer image viewer
ii  fdisk                                 2.31.1-0.4ubuntu3.7                  arm64        collection of partitioning utilities
ii  ffmpeg                                7:3.4.8-0ubuntu0.2                   arm64        Tools for transcoding, streaming and playing of multimedia files
ii  file                                  1:5.32-2ubuntu0.4                    arm64        Recognize the type of data in a file using "magic" numbers
ii  fontconfig                            2.12.6-0ubuntu2                      arm64        generic font configuration library - support binaries
ii  fontconfig-config                     2.12.6-0ubuntu2                      all          generic font configuration library - configuration
ii  fuse                                  2.9.7-1ubuntu1                       arm64        Filesystem in Userspace
ii  g++                                   4:7.4.0-1ubuntu2.3                   arm64        GNU C++ compiler
ii  g++-7                                 7.5.0-3ubuntu1~18.04                 arm64        GNU C++ compiler
ii  gcc                                   4:7.4.0-1ubuntu2.3                   arm64        GNU C compiler
ii  gcc-7                                 7.5.0-3ubuntu1~18.04                 arm64        GNU C compiler
ii  gcc-7-base:arm64                      7.5.0-3ubuntu1~18.04                 arm64        GCC, the GNU Compiler Collection (base package)
ii  gcc-8-base:arm64                      8.4.0-1ubuntu1~18.04                 arm64        GCC, the GNU Compiler Collection (base package)
ii  gconf-service                         3.2.6-4ubuntu1                       arm64        GNOME configuration database system (D-Bus service)
ii  gconf-service-backend                 3.2.6-4ubuntu1                       arm64        GNOME configuration database system (D-Bus service)
ii  gconf2                                3.2.6-4ubuntu1                       arm64        GNOME configuration database system (support tools)
ii  gconf2-common                         3.2.6-4ubuntu1                       all          GNOME configuration database system (common files)
ii  geoclue-2.0                           2.4.7-1ubuntu1                       arm64        geoinformation service
ii  gettext                               0.19.8.1-6ubuntu0.3                  arm64        GNU Internationalization utilities
ii  gettext-base                          0.19.8.1-6ubuntu0.3                  arm64        GNU Internationalization utilities for the base system
ii  ghostscript                           9.26~dfsg+0-0ubuntu0.18.04.15        arm64        interpreter for the PostScript language and for PDF
ii  gir1.2-appindicator3-0.1              12.10.1+18.04.20200408.1-0ubuntu1    arm64        Typelib files for libappindicator3-1.
ii  gir1.2-gtk-3.0:arm64                  3.22.30-1ubuntu4                     arm64        GTK+ graphical user interface library -- gir bindings
ii  gir1.2-harfbuzz-0.0:arm64             1.7.2-1ubuntu1                       arm64        OpenType text shaping engine (GObject introspection data)
ii  gir1.2-packagekitglib-1.0             1.1.9-1ubuntu2.18.04.6               arm64        GObject introspection data for the PackageKit GLib library
ii  gir1.2-pango-1.0:arm64                1.40.14-1ubuntu0.1                   arm64        Layout and rendering of internationalized text - gir bindings
ii  gir1.2-polkit-1.0                     0.105-20ubuntu0.18.04.6              arm64        GObject introspection data for PolicyKit
ii  gir1.2-vte-2.91:arm64                 0.52.2-1ubuntu1~18.04.2              arm64        GObject introspection data for the VTE library
ii  git                                   1:2.17.1-1ubuntu0.9                  arm64        fast, scalable, distributed revision control system
ii  git-man                               1:2.17.1-1ubuntu0.9                  all          fast, scalable, distributed revision control system (manual pages)
ii  glib-networking:arm64                 2.56.0-1ubuntu0.1                    arm64        network-related giomodules for GLib
ii  glib-networking-common                2.56.0-1ubuntu0.1                    all          network-related giomodules for GLib - data files
ii  glib-networking-services              2.56.0-1ubuntu0.1                    arm64        network-related giomodules for GLib - D-Bus services
ii  gnome-keyring                         3.28.0.2-1ubuntu1.18.04.1            arm64        GNOME keyring services (daemon and tools)
ii  gnome-keyring-pkcs11:arm64            3.28.0.2-1ubuntu1.18.04.1            arm64        GNOME keyring module for the PKCS#11 module loading library
ii  gnome-orca                            3.28.0-3ubuntu1                      all          Scriptable screen reader - transitional package
ii  gnome-system-monitor                  3.28.2-0ubuntu1                      arm64        Process viewer and system resource monitor for GNOME
ii  gnome-terminal                        3.28.2-1ubuntu1~18.04.1              arm64        GNOME terminal emulator application
ii  gnome-terminal-data                   3.28.2-1ubuntu1~18.04.1              all          Data files for the GNOME terminal emulator
ii  gnupg                                 2.2.4-1ubuntu1.4                     arm64        GNU privacy guard - a free PGP replacement
ii  gnupg-l10n                            2.2.4-1ubuntu1.4                     all          GNU privacy guard - localization files
ii  gnupg-utils                           2.2.4-1ubuntu1.4                     arm64        GNU privacy guard - utility programs
ii  gnupg2                                2.2.4-1ubuntu1.4                     all          GNU privacy guard - a free PGP replacement (dummy transitional package)
ii  gpg                                   2.2.4-1ubuntu1.4                     arm64        GNU Privacy Guard -- minimalist public key operations
ii  gpg-agent                             2.2.4-1ubuntu1.4                     arm64        GNU privacy guard - cryptographic agent
ii  gpg-wks-client                        2.2.4-1ubuntu1.4                     arm64        GNU privacy guard - Web Key Service client
ii  gpg-wks-server                        2.2.4-1ubuntu1.4                     arm64        GNU privacy guard - Web Key Service server
ii  gpgconf                               2.2.4-1ubuntu1.4                     arm64        GNU privacy guard - core configuration utilities
ii  gpgsm                                 2.2.4-1ubuntu1.4                     arm64        GNU privacy guard - S/MIME version
ii  gpgv                                  2.2.4-1ubuntu1.4                     arm64        GNU privacy guard - signature verification tool
ii  gsettings-desktop-schemas             3.28.0-1ubuntu1                      all          GSettings desktop-wide schemas
ii  gstreamer1.0-gl:arm64                 1.14.5-0ubuntu1~18.04.3              arm64        GStreamer plugins for GL
ii  gstreamer1.0-plugins-base:arm64       1.14.5-0ubuntu1~18.04.3              arm64        GStreamer plugins from the "base" set
ii  gstreamer1.0-plugins-good:arm64       1.14.5-0ubuntu1~18.04.2              arm64        GStreamer plugins from the "good" set
ii  gstreamer1.0-pulseaudio:arm64         1.14.5-0ubuntu1~18.04.2              arm64        GStreamer plugin for PulseAudio
ii  gstreamer1.0-x:arm64                  1.14.5-0ubuntu1~18.04.3              arm64        GStreamer plugins for X11 and Pango
ii  gtk-update-icon-cache                 3.22.30-1ubuntu4                     arm64        icon theme caching utility
ii  gtk2-engines-murrine:arm64            0.98.2-2ubuntu1                      arm64        cairo-based gtk+-2.0 theme engine
ii  gtk2-engines-pixbuf:arm64             2.24.32-1ubuntu1                     arm64        pixbuf-based theme for GTK+ 2.x
ii  gvfs:arm64                            1.36.1-0ubuntu1.3.3                  arm64        userspace virtual filesystem - GIO module
ii  gvfs-backends                         1.36.1-0ubuntu1.3.3                  arm64        userspace virtual filesystem - backends
ii  gvfs-common                           1.36.1-0ubuntu1.3.3                  all          userspace virtual filesystem - common data files
ii  gvfs-daemons                          1.36.1-0ubuntu1.3.3                  arm64        userspace virtual filesystem - servers
ii  gvfs-fuse                             1.36.1-0ubuntu1.3.3                  arm64        userspace virtual filesystem - fuse server
ii  gvfs-libs:arm64                       1.36.1-0ubuntu1.3.3                  arm64        userspace virtual filesystem - private libraries
ii  gzip                                  1.6-5ubuntu1.1                       arm64        GNU compression utilities
ii  hexchat                               2.14.1-2ubuntu0.18.04.1              arm64        IRC client for X based on X-Chat 2
ii  hexchat-common                        2.14.1-2ubuntu0.18.04.1              all          Common files for HexChat
ii  hexchat-perl:arm64                    2.14.1-2ubuntu0.18.04.1              arm64        Perl plugin for HexChat
ii  hexchat-plugins:arm64                 2.14.1-2ubuntu0.18.04.1              arm64        Common plugins for HexChat
ii  hexchat-python3:arm64                 2.14.1-2ubuntu0.18.04.1              arm64        Python 3 plugin for HexChat
ii  hwdata                                0.290-1ubuntu0.18.04.1               all          hardware identification / configuration data
ii  icu-devtools                          60.2-3ubuntu3.2                      arm64        Development utilities for International Components for Unicode
ii  ifenslave                             2.9ubuntu1                           all          configure network interfaces for parallel routing (bonding)
ii  ifupdown                              0.8.17ubuntu1.1                      arm64        high level tools to configure network interfaces
ii  im-config                             0.34-1ubuntu1.3                      all          Input method configuration framework
ii  imagemagick                           8:6.9.7.4+dfsg-16ubuntu6.12          arm64        image manipulation programs -- binaries
ii  imagemagick-6-common                  8:6.9.7.4+dfsg-16ubuntu6.12          all          image manipulation programs -- infrastructure
ii  imagemagick-6.q16                     8:6.9.7.4+dfsg-16ubuntu6.12          arm64        image manipulation programs -- quantum depth Q16
ii  initramfs-tools                       0.130ubuntu3.13                      all          generic modular initramfs generator (automation)
ii  initramfs-tools-bin                   0.130ubuntu3.13                      arm64        binaries used by initramfs-tools
ii  initramfs-tools-core                  0.130ubuntu3.13                      all          generic modular initramfs generator (core tools)
ii  iproute2                              4.15.0-2ubuntu1.3                    arm64        networking and traffic control tools
ii  iptables                              1.6.1-2ubuntu2                       arm64        administration tools for packet filtering and NAT
ii  iptables-persistent                   1.0.4+nmu2ubuntu1.1                  all          boot-time loader for netfilter rules, iptables plugin
ii  iputils-arping                        3:20161105-1ubuntu3                  arm64        Tool to send ICMP echo requests to an ARP address
ii  iputils-ping                          3:20161105-1ubuntu3                  arm64        Tools to test the reachability of network hosts
ii  isc-dhcp-client                       4.3.5-3ubuntu7.3                     arm64        DHCP client for automatically obtaining an IP address
ii  isc-dhcp-common                       4.3.5-3ubuntu7.3                     arm64        common manpages relevant to all of the isc-dhcp packages
ii  kbd                                   2.0.4-2ubuntu1                       arm64        Linux console font and keytable utilities
ii  keyboard-configuration                1.178ubuntu2.9                       all          system-wide keyboard preferences
ii  klibc-utils                           2.0.4-9ubuntu2                       arm64        small utilities built with klibc for early boot
ii  kmod                                  24-1ubuntu3.5                        arm64        tools for managing Linux kernel modules
ii  libaccountsservice0:arm64             0.6.45-1ubuntu1.3                    arm64        query and manipulate user account information - shared libraries
ii  libaio1:arm64                         0.3.110-5ubuntu0.1                   arm64        Linux kernel AIO access library - shared library
ii  libao-common                          1.2.2+20180113-1ubuntu1              all          Cross Platform Audio Output Library (Common files)
ii  libao4:arm64                          1.2.2+20180113-1ubuntu1              arm64        Cross Platform Audio Output Library
ii  libapparmor1:arm64                    2.12-4ubuntu5.1                      arm64        changehat AppArmor library
ii  libappindicator3-1                    12.10.1+18.04.20200408.1-0ubuntu1    arm64        Application Indicators
ii  libappstream4:arm64                   0.12.0-3ubuntu1                      arm64        Library to access AppStream services
ii  libarchive-zip-perl                   1.60-1ubuntu0.1                      all          Perl module for manipulation of ZIP archives
ii  libarchive13:arm64                    3.2.2-3.1ubuntu0.7                   arm64        Multi-format archive and compression library (shared library)
ii  libasan4:arm64                        7.5.0-3ubuntu1~18.04                 arm64        AddressSanitizer -- a fast memory error detector
ii  libasound2:arm64                      1.1.3-5ubuntu0.6                     arm64        shared library for ALSA applications
ii  libasound2-data                       1.1.3-5ubuntu0.6                     all          Configuration files and profiles for ALSA drivers
ii  libasound2-plugins:arm64              1.1.1-1ubuntu1                       arm64        ALSA library additional plugins
ii  libaspell15:arm64                     0.60.7~20110707-4ubuntu0.2           arm64        GNU Aspell spell-checker runtime library
ii  libatomic1:arm64                      8.4.0-1ubuntu1~18.04                 arm64        support library providing __atomic built-in functions
ii  libatrildocument3                     1.20.1-2ubuntu2                      arm64        MATE document rendering library
ii  libatrilview3                         1.20.1-2ubuntu2                      arm64        MATE document viewing library
ii  libaudit-common                       1:2.8.2-1ubuntu1.1                   all          Dynamic library for security auditing - common files
ii  libaudit1:arm64                       1:2.8.2-1ubuntu1.1                   arm64        Dynamic library for security auditing
ii  libavahi-client3:arm64                0.7-3.1ubuntu1.3                     arm64        Avahi client library
ii  libavahi-common-data:arm64            0.7-3.1ubuntu1.3                     arm64        Avahi common data files
ii  libavahi-common3:arm64                0.7-3.1ubuntu1.3                     arm64        Avahi common library
ii  libavahi-core7:arm64                  0.7-3.1ubuntu1.3                     arm64        Avahi's embeddable mDNS/DNS-SD library
ii  libavahi-glib1:arm64                  0.7-3.1ubuntu1.3                     arm64        Avahi GLib integration library
ii  libavcodec57:arm64                    7:3.4.8-0ubuntu0.2                   arm64        FFmpeg library with de/encoders for audio/video codecs - runtime files
ii  libavdevice57:arm64                   7:3.4.8-0ubuntu0.2                   arm64        FFmpeg library for handling input and output devices - runtime files
ii  libavfilter6:arm64                    7:3.4.8-0ubuntu0.2                   arm64        FFmpeg library containing media filters - runtime files
ii  libavformat57:arm64                   7:3.4.8-0ubuntu0.2                   arm64        FFmpeg library with (de)muxers for multimedia containers - runtime files
ii  libavresample3:arm64                  7:3.4.8-0ubuntu0.2                   arm64        FFmpeg compatibility library for resampling - runtime files
ii  libavutil55:arm64                     7:3.4.8-0ubuntu0.2                   arm64        FFmpeg library with functions for simplifying programming - runtime files
ii  libbind9-160:arm64                    1:9.11.3+dfsg-1ubuntu1.17            arm64        BIND9 Shared Library used by BIND
ii  libbinutils:arm64                     2.30-21ubuntu1~18.04.7               arm64        GNU binary utilities (private shared library)
ii  libblkid1:arm64                       2.31.1-0.4ubuntu3.7                  arm64        block device ID library
ii  libbluetooth3:arm64                   5.48-0ubuntu3.8                      arm64        Library to use the BlueZ Linux Bluetooth stack
ii  libboost-filesystem1.65.1:arm64       1.65.1+dfsg-0ubuntu5                 arm64        filesystem operations (portable paths, iteration over directories, etc) in C++
ii  libboost-iostreams1.65.1:arm64        1.65.1+dfsg-0ubuntu5                 arm64        Boost.Iostreams Library
ii  libboost-python1.65.1                 1.65.1+dfsg-0ubuntu5                 arm64        Boost.Python Library
ii  libboost-system1.65.1:arm64           1.65.1+dfsg-0ubuntu5                 arm64        Operating system (e.g. diagnostics support) library
ii  libbrlapi0.6:arm64                    5.5-4ubuntu2.0.1                     arm64        braille display access via BRLTTY - shared library
ii  libbrotli1:arm64                      1.0.3-1ubuntu1.3                     arm64        library implementing brotli encoder and decoder (shared libraries)
ii  libbsd0:arm64                         0.8.7-1ubuntu0.1                     arm64        utility functions from BSD systems - shared library
ii  libbz2-1.0:arm64                      1.0.6-8.1ubuntu0.2                   arm64        high-quality block-sorting file compressor library - runtime
ii  libc-bin                              2.27-3ubuntu1.5                      arm64        GNU C Library: Binaries
ii  libc-dev-bin                          2.27-3ubuntu1.5                      arm64        GNU C Library: Development binaries
ii  libc6:arm64                           2.27-3ubuntu1.5                      arm64        GNU C Library: Shared libraries
ii  libc6-dev:arm64                       2.27-3ubuntu1.5                      arm64        GNU C Library: Development Libraries and Header Files
ii  libcaca0:arm64                        0.99.beta19-2ubuntu0.18.04.3         arm64        colour ASCII art library
ii  libcairo-gobject2:arm64               1.15.10-2ubuntu0.1                   arm64        Cairo 2D vector graphics library (GObject library)
ii  libcairo2:arm64                       1.15.10-2ubuntu0.1                   arm64        Cairo 2D vector graphics library
ii  libcaja-extension1:arm64              1.20.2-4ubuntu1                      arm64        libraries for Caja components
ii  libcanberra-gtk3-0:arm64              0.30-5ubuntu1                        arm64        GTK+ 3.0 helper for playing widget event sounds with libcanberra
ii  libcanberra-gtk3-module:arm64         0.30-5ubuntu1                        arm64        translates GTK3 widgets signals to event sounds
ii  libcanberra0:arm64                    0.30-5ubuntu1                        arm64        simple abstract interface for playing event sounds
ii  libcc1-0:arm64                        8.4.0-1ubuntu1~18.04                 arm64        GCC cc1 plugin for GDB
ii  libcdio17:arm64                       1.0.0-2ubuntu2                       arm64        library to read and control CD-ROM
ii  libcom-err2:arm64                     1.44.1-1ubuntu1.3                    arm64        common error description library
ii  libcomerr2:arm64                      1.44.1-1ubuntu1.3                    arm64        transitional package
ii  libcryptsetup12:arm64                 2:2.0.2-1ubuntu1.2                   arm64        disk encryption support - shared library
ii  libcups2:arm64                        2.2.7-1ubuntu2.8                     arm64        Common UNIX Printing System(tm) - Core library
ii  libcupscgi1:arm64                     2.2.7-1ubuntu2.8                     arm64        Common UNIX Printing System(tm) - CGI library
ii  libcupsfilters1:arm64                 1.20.2-0ubuntu3.1                    arm64        OpenPrinting CUPS Filters - Shared library
ii  libcupsimage2:arm64                   2.2.7-1ubuntu2.8                     arm64        Common UNIX Printing System(tm) - Raster image library
ii  libcupsmime1:arm64                    2.2.7-1ubuntu2.8                     arm64        Common UNIX Printing System(tm) - MIME library
ii  libcupsppdc1:arm64                    2.2.7-1ubuntu2.8                     arm64        Common UNIX Printing System(tm) - PPD manipulation library
ii  libcurl3-gnutls:arm64                 7.58.0-2ubuntu3.16                   arm64        easy-to-use client-side URL transfer library (GnuTLS flavour)
ii  libcurl4:arm64                        7.58.0-2ubuntu3.16                   arm64        easy-to-use client-side URL transfer library (OpenSSL flavour)
ii  libcurl4-openssl-dev:arm64            7.58.0-2ubuntu3.16                   arm64        development files and documentation for libcurl (OpenSSL flavour)
ii  libdb5.3:arm64                        5.3.28-13.1ubuntu1.1                 arm64        Berkeley v5.3 Database Libraries [runtime]
ii  libdbus-1-3:arm64                     1.12.2-1ubuntu1.2                    arm64        simple interprocess messaging system (library)
ii  libdbusmenu-glib4:arm64               16.04.1+18.04.20171206-0ubuntu2      arm64        library for passing menus over DBus
ii  libdbusmenu-gtk3-4:arm64              16.04.1+18.04.20171206-0ubuntu2      arm64        library for passing menus over DBus - GTK+ version
ii  libdconf1:arm64                       0.26.0-2ubuntu3                      arm64        simple configuration storage system - runtime library
ii  libdebconfclient0:arm64               0.213ubuntu1                         arm64        Debian Configuration Management System (C-implementation library)
ii  libdevmapper1.02.1:arm64              2:1.02.145-4.1ubuntu3.18.04.3        arm64        Linux Kernel Device Mapper userspace library
ii  libdjvulibre-text                     3.5.27.1-8ubuntu0.4                  all          Linguistic support files for libdjvulibre
ii  libdjvulibre21:arm64                  3.5.27.1-8ubuntu0.4                  arm64        Runtime support for the DjVu image format
ii  libdns-export1100                     1:9.11.3+dfsg-1ubuntu1.17            arm64        Exported DNS Shared Library
ii  libdns1100:arm64                      1:9.11.3+dfsg-1ubuntu1.17            arm64        DNS Shared Library used by BIND
ii  libdouble-conversion1:arm64           2.0.1-4ubuntu1                       arm64        routines to convert IEEE floats to and from strings
ii  libdpkg-perl                          1.19.0.5ubuntu2.3                    all          Dpkg perl modules
ii  libegl-mesa0:arm64                    20.0.8-0ubuntu1~18.04.1              arm64        free implementation of the EGL API -- Mesa vendor library
ii  libegl1:arm64                         1.0.0-2ubuntu2.3                     arm64        Vendor neutral GL dispatch library -- EGL support
ii  libegl1-mesa:arm64                    20.0.8-0ubuntu1~18.04.1              arm64        transitional dummy package
ii  libelf1:arm64                         0.170-0.4ubuntu0.1                   arm64        library to read and write ELF files
ii  libevdev2:arm64                       1.5.8+dfsg-1ubuntu0.1                arm64        wrapper library for evdev devices
ii  libexif12:arm64                       0.6.21-4ubuntu0.6                    arm64        library to parse EXIF files
ii  libexiv2-14:arm64                     0.25-3.1ubuntu0.18.04.11             arm64        EXIF/IPTC/XMP metadata manipulation library
ii  libexo-1-0:arm64                      0.12.2-0ubuntu0.18.04.1              arm64        Library with extensions for Xfce (GTK-2 version)
ii  libexo-2-0:arm64                      0.12.2-0ubuntu0.18.04.1              arm64        Library with extensions for Xfce (GTK-3 version)
ii  libexo-common                         0.12.2-0ubuntu0.18.04.1              all          libexo common files
ii  libexo-helpers                        0.12.2-0ubuntu0.18.04.1              all          helpers for the exo library
ii  libexpat1:arm64                       2.2.5-3ubuntu0.7                     arm64        XML parsing C library - runtime library
ii  libexpat1-dev:arm64                   2.2.5-3ubuntu0.7                     arm64        XML parsing C library - development kit
ii  libext2fs2:arm64                      1.44.1-1ubuntu1.3                    arm64        ext2/ext3/ext4 file system libraries
ii  libfdisk1:arm64                       2.31.1-0.4ubuntu3.7                  arm64        fdisk partitioning library
ii  libfontconfig1:arm64                  2.12.6-0ubuntu2                      arm64        generic font configuration library - runtime
ii  libfontembed1:arm64                   1.20.2-0ubuntu3.1                    arm64        OpenPrinting CUPS Filters - Font Embed Shared library
ii  libfreetype6:arm64                    2.8.1-2ubuntu2.1                     arm64        FreeType 2 font engine, shared library files
ii  libfuse2:arm64                        2.9.7-1ubuntu1                       arm64        Filesystem in Userspace (library)
ii  libgail-common:arm64                  2.24.32-1ubuntu1                     arm64        GNOME Accessibility Implementation Library -- common modules
...

There are more packages but they don’t fit in the message…
Thank you for the support and I’m sorry again.

Ah okay that makes all sense then. Not sure whether Armbian ships an own/etc/os-release file, so probably it was interned, while it’s probably not smart given that the underlying base OS indeed is Ubuntu which should be represented by this file.

Since we use the same kernel for ROCK64 (from the Debian suite of the Armbian repo, but basically it’s the same) it makes sense that DietPi suffers from the same issue.

You may want to report it here, at least I do not see that it was retorted yet: https://forum.armbian.com/forum/21-rockchip-3288-3328/
Although, one problem is that the ROCK64 is not officially supported anymore, i.e. there is no Armbian maintainer for this SBC anymore, which may explain why this issue hasn’t been detected or fixed yet :frowning:.

:rofl:

USB 3 port still not working

/boot/armbianEnv.txt
verbosity=4
bootlogo=false
overlay_prefix=rockchip
rootdev=UUID=19e46d43-2ef4-45d3-be06-ceee5e2cb50f
rootfstype=ext4
usbstoragequirks=0x2537:0x1066:u,0x2537:0x1068:u
extraargs=net.ifnames=0
docker_optimizations=off
overlays=usb4

I came back under the old version the usb3 port works again.

apt install linux-dtb-current-rockchip64=21.08.2 linux-image-current-rockchip64=21.08.2
apt-mark hold linux-dtb-current-rockchip64 linux-image-current-rockchip64

Thank you very much! I’ll report it to the Armbian forum and in the meantime I’ll tinker with other distros to see if there is one that works with the latest kernel. I flashed the other day the Armbian_21.08.1_Rock64_bullseye_current_5.10.60.img.xz image, updated everything and it worked but I didn’t test it properly and I didn’t check if it updated to the 5.15 kernel (we know 5.10 works). But in any case, the thought of having to configure everything again is putting me off :rofl:

Thank you again!

Another update that it could be interesting. I just flashed the image Armbian_21.08.1_Rock64_bullseye_current_5.10.60.img.xz, updated everything and the rock64 looks like it’s running fine!

javi@rock64:~$ uname -a
Linux rock64 5.15.25-rockchip64 #22.02.1 SMP PREEMPT Sun Feb 27 09:05:47 UTC 2022 aarch64 GNU/Linux

I’ve mounted an external USB3 HDD and done some quick testing:

javi@rock64:/mnt/MyPassport1TB$ sudo hdparm -tv /dev/sda7

/dev/sda7:
 multcount     =  0 (off)
 readonly      =  0 (off)
 readahead     = 256 (on)
 geometry      = 114808/255/63, sectors = 1844398080, start = 109056000
 Timing buffered disk reads: 308 MB in  3.01 seconds = 102.38 MB/sec

So it looks like the USB3 port is working fine as well. So I think there is hope for this kernel!

Interesting. Probably something changed in the boot.cmd/scr/armbianEnv.txt which became required now. I’ll compare those. Ah and maybe a U-Boot upgrade was required, i.e. we didn’t test on the old image:

. /usr/lib/u-boot/platform_install.sh
write_uboot_platform "$DIR" "$(lsblk -npo PKNAME "$(findmnt -Ufnro SOURCE -M /)")"

Comparing the /boot/armbianEnv.txt, some USB quirks have been removed, this line does not exist anymore:

usbstoragequirks=0x2537:0x1066:u,0x2537:0x1068:u

It disables UAS for drives which have/had issues with it. Probably with recent kernel and firmware it causes exactly these issues.

/boot/boot.cmd and /boot/boot.scr are identical, so either U-Boot or the USB quirks are the relevant difference.

I’ve tried to run those two commands before updating linux-image-current-rockchip64 and linux-dbt-current-rockchip64 from 21.08.2 to 22.02.1 but the result was the same errors on the update and no network after reboot. I run them without sudo. They just didn’t print anything so I assumed they worked. Should I try with sudo? Typically if it’s needed you’re told that you don’t have permissions or it throws some kind of error.

Another update. I’ve tried running the two commands with sudo and removing the usb3 quirks but again, the result is the same. I’m not sure how to remove the quirks properly though because if you reboot, they appear again…

javi@rock64:~$ apt list --upgradable
Listing... Done
linux-dtb-current-rockchip64/bionic 22.02.1 arm64 [upgradable from: 21.08.2]
linux-image-current-rockchip64/bionic 22.02.1 arm64 [upgradable from: 21.08.2]
javi@rock64:~$ sudo su -
root@rock64:~# . /usr/lib/u-boot/platform_install.sh
root@rock64:~# write_uboot_platform "$DIR" "$(lsblk -npo PKNAME "$(findmnt -Ufnro SOURCE -M /)")"
root@rock64:~# reboot
....
javi@rock64:~$ sudo vim /boot/armbianEnv.txt
javi@rock64:~$ cat /boot/armbianEnv.txt
verbosity=1
overlay_prefix=rockchip
rootdev=UUID=1639309a-8d38-46b5-b9bc-ac91ff373f78
rootfstype=ext4
javi@rock64:~$ sudo apt upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
  linux-dtb-current-rockchip64 linux-image-current-rockchip64
2 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 51.6 MB of archives.
After this operation, 122 MB disk space will be freed.
Do you want to continue? [Y/n]
Get:1 http://es.armbian.mirrors.bret.dk/apt bionic/main arm64 linux-dtb-current-rockchip64 arm64 22.02.1 [365 kB]
Get:2 http://mirrors.fossho.st/armbian/apt bionic/main arm64 linux-image-current-rockchip64 arm64 22.02.1 [51.2 MB]
Fetched 51.6 MB in 5s (11.2 MB/s)
(Reading database ... 109681 files and directories currently installed.)
Preparing to unpack .../linux-dtb-current-rockchip64_22.02.1_arm64.deb ...
Unpacking linux-dtb-current-rockchip64 (22.02.1) over (21.08.2) ...
Preparing to unpack .../linux-image-current-rockchip64_22.02.1_arm64.deb ...
update-initramfs: Deleting /boot/initrd.img-5.10.63-rockchip64
Removing obsolete file uInitrd-5.10.63-rockchip64
Unpacking linux-image-current-rockchip64 (22.02.1) over (21.08.2)
Setting up linux-image-current-rockchip64 (22.02.1)
update-initramfs: Generating /boot/initrd.img-5.15.25-rockchip64
modinfo: ERROR: Module /lib/modules/5.15.25-rockchip64/kernel/drivers/cdrom/cdrom.ko.xz not found.
modinfo: ERROR: Module /lib/modules/5.15.25-rockchip64/kernel/fs/isofs/isofs.ko.xz not found.
modinfo: ERROR: Module /lib/modules/5.15.25-rockchip64/kernel/fs/jfs/jfs.ko.xz not found.
modinfo: ERROR: Module /lib/modules/5.15.25-rockchip64/kernel/fs/reiserfs/reiserfs.ko.xz not found.
modinfo: ERROR: Module /lib/modules/5.15.25-rockchip64/kernel/fs/udf/udf.ko.xz not found.
modinfo: ERROR: Module /lib/modules/5.15.25-rockchip64/kernel/fs/xfs/xfs.ko.xz not found.
modinfo: ERROR: Module /lib/modules/5.15.25-rockchip64/kernel/fs/netfs/netfs.ko.xz not found.
modinfo: ERROR: Module /lib/modules/5.15.25-rockchip64/kernel/fs/fscache/fscache.ko.xz not found.
modinfo: ERROR: Module /lib/modules/5.15.25-rockchip64/kernel/net/sunrpc/sunrpc.ko.xz not found.
modinfo: ERROR: Module /lib/modules/5.15.25-rockchip64/kernel/fs/nfs_common/grace.ko.xz not found.
modinfo: ERROR: Module /lib/modules/5.15.25-rockchip64/kernel/fs/lockd/lockd.ko.xz not found.
modinfo: ERROR: Module /lib/modules/5.15.25-rockchip64/kernel/fs/nfs/nfs.ko.xz not found.
modinfo: ERROR: Module /lib/modules/5.15.25-rockchip64/kernel/fs/nfs/nfsv2.ko.xz not found.
modinfo: ERROR: Module /lib/modules/5.15.25-rockchip64/kernel/fs/nfs_common/nfs_acl.ko.xz not found.
modinfo: ERROR: Module /lib/modules/5.15.25-rockchip64/kernel/fs/nfs/nfsv3.ko.xz not found.
modinfo: ERROR: Module /lib/modules/5.15.25-rockchip64/kernel/fs/nfs/nfsv4.ko.xz not found.
modinfo: ERROR: Module /lib/modules/5.15.25-rockchip64/kernel/fs/nls/nls_iso8859-1.ko.xz not found.
modinfo: ERROR: Module /lib/modules/5.15.25-rockchip64/kernel/lib/842/842_decompress.ko.xz not found.
modinfo: ERROR: Module /lib/modules/5.15.25-rockchip64/kernel/drivers/md/dm-mod.ko.xz not found.
update-initramfs: Converting to u-boot format
Setting up linux-dtb-current-rockchip64 (22.02.1) ...

Let me know if you think any other thing to try!

The USB quicks reappear? :thinking:

When you run:

sudo sed -i '/usbstoragequirks/d' /boot/armbianEnv.txt
reboot

They are again/still there after reboot?

Btw, before upgrading U-Boot, assure that the U-Boot package is up-to-date as well:

apt install linux-u-boot-rock64-current

The U-Boot flashing itself indeed needs to be run as root. Failures are redirected to /dev/null along with other output, which isn’t so clever indeed. The following should work:

sudo bash -c '. /usr/lib/u-boot/platform_install.sh; write_uboot_platform "$DIR" "$(lsblk -npo PKNAME "$(findmnt -Ufnro SOURCE -M /)")"'

The write_uboot_platform alone cannot be executed with sudo, since it is a function created by sourcing the platform_install.sh. But sudo clears the environment, hence the function does not exist within the sudo environment. So both needs to be done in one sudo call.