desktop gone after sudo apt upgrade

This is what’s on a 16GB MicroSD card
‘’‘bone-debian-10.9-lxqt-armhf-2021-04-27-4gb.img.xz’’’
Information about this:

debian@beaglebone:~$ uname -a
Linux beaglebone 4.19.94-ti-r62 #1buster SMP PREEMPT Sat Apr 24 00:27:24 UTC 2021 armv7l GNU/Linux
debian@beaglebone:~$ cat /etc/dogtag
BeagleBoard.org Debian Buster LXQt Image 2021-04-27
debian@beaglebone:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description:    Debian GNU/Linux 10 (buster)
Release:        10
Codename:       buster

Change the passwords and then expand the file system

sudo /opt/scripts/tools/grow_partition.sh
sudo reboot 

I’ve attached dmesg output as DMESG-1.txt
Desktop is still there since now I can do:

debian@beaglebone:~$ sudo apt update 
debian@beaglebone:~$ sudo apt upgrade

So what happened?
It appears to go south here:

[    1.760395] pinctrl-single 44e10800.pinmux: pin PIN108 already requested by ocp:A15_pinmux; cannot claim for 0-0070
[    1.770982] pinctrl-single 44e10800.pinmux: pin-108 (0-0070) status -22
[    1.777665] pinctrl-single 44e10800.pinmux: could not request pin 108 (PIN108) from group nxp_hdmi_bonelt_pins  on device pinctrl-single
[    1.790007] tda998x 0-0070: Error applying setting, reverse things back
[    1.796746] tda998x: probe of 0-0070 failed with error -22

DMESG-1.txt (24.2 KB)
DMESG-2.txt (24.1 KB)

And now my desktop is gone. I can still get in via puTTY and grab dmesg attached as DMESG-2.txt

sudo /opt/scripts/tools/update_kernel.sh 

Regards,

Thank you. That worked. I’ll add it to my building up a beagle document. Is there a way so that apt upgrade does this automatically? Either tests for kernel version and won’t run until it’s upgraded or does it automatically?

I broke bb-cape-overlays on v4.19.x when fixing it for v5.4.x and v5.10.x

Just lock it…

sudo apt-mark hold bb-cape-overlays

It’s not getting upgraded anymore, as i’ve moved to Kernel “overlays”…

Regards,

On the 19th of September you had posted to someone else having the same problem to apt update and upgrade and reboot.

This bit of not upgrading anymore? I’m puzzled why the instructions for the BBB keep changing. How many books have now been made useless by stopping bb-cape-overlays? How many 10’s of thousands of man hours are now being tossed in the trash or wasted looking for solutions?

So is
sudo apt-mark hold bb-cape-overlays
supposed to be done before sudo apt update or before sudo apt upgrade? Or after? Or does the kernel need to be updated first?
It was after reflashing the 16Gb MicroSD for the 7th time, backing up one operation each time, before I decided I wasn’t doing anything wrong and asked for help.
And again, why isn’t there something in the update or upgrade script that either warns or announces the issue. Why doesn’t apt upgrade also update the kernel with a request as to which one we’d like? That would have prevented this problem.

Just curious.

it’s an ABI problem… The kernel keeps changing, over time, I’ve “dropped” support for v4.1.x, v4.4.x, and v4.9.x from bb-cape-overlays… Most users didn’t notice this as it was just assuming v4.14.x+ drivers… However after v5.9.x was released there was a major ABI change in mainline effectually breaking “all” pinmux’ing…

Drew changed this one bit: ARM: dts: am33xx-l4: change #pinctrl-cells from 1 to 2 - kernel/git/stable/linux.git - Linux kernel stable tree as he’s been working on making config-pin work with a mainline solution…

This effectually stopped bb-cape-overlay from working on 5.9.x+ built kernels.

My workaround is to “move”

to kernel specific versions:

So “while” this effectually ends the “bb-cape-overlay” package as built-binary, it’s source is still much alive.

My mistake was when back-porting other device tree fixes into the bb-cape-overlay project i broke our older v4.19.x kernel on https://beagleboard.org/latest-images

While i have a new snapshot here: https://rcn-ee.net/rootfs/bb.org/testing/2021-10-01/

Do i now “break” all “v4.19.x” users who i just fixed? idk…

yeah now i wish i had created a meta package to handle this… i can add this now, but it’s still too late for older images…

Regards,

Done:

sudo apt update
sudo apt install bbb.io-kernel-4.19-ti-am335x

https://rcn-ee.net/repos/debian/pool/main/b/bbb.io-kernel/

Regards,

Simple question. What is ‘ABI’

Generic: Application binary interface - Wikipedia

Regards,

Debian GNU/Linux 10 beaglebone ttyS0

BeagleBoard.org Debian Buster IoT Image 2020-04-06

Support: http://elinux.org/Beagleboard:BeagleBoneBlack_Debian

default username:password is [debian:temppwd]

beaglebone login: root
Password: 
Last login: Mon Apr  6 13:27:04 UTC 2020 on ttyS0

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.
root@beaglebone:~# apt update ; apt install bbb.io-kernel-4.19-ti-am335x
Get:1 http://deb.debian.org/debian buster InRelease [122 kB]
Get:2 http://deb.debian.org/debian buster-updates InRelease [51.9 kB]
Get:3 http://deb.debian.org/debian-security buster/updates InRelease [65.4 kB]
Get:4 http://repos.rcn-ee.com/debian buster InRelease [3,078 B]
Get:5 http://deb.debian.org/debian buster/contrib armhf Packages [40.1 kB]
Get:6 http://deb.debian.org/debian buster/non-free armhf Packages [62.1 kB]
Get:7 http://deb.debian.org/debian buster/main armhf Packages [7,698 kB]
Get:8 http://deb.debian.org/debian buster-updates/main armhf Packages [14.4 kB]
Get:9 http://deb.debian.org/debian-security buster/updates/main armhf Packages [300 kB]
Get:10 http://repos.rcn-ee.com/debian buster/main armhf Packages [2,073 kB]    
Fetched 10.4 MB in 1min 7s (156 kB/s)                                          
Reading package lists... Done
Building dependency tree       
Reading state information... Done
145 packages can be upgraded. Run 'apt list --upgradable' to see them.
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  bb-u-boot-am335x-evm bbb.io-kernel-tasks libpruio-modules-4.19.94-ti-r68
  linux-image-4.19.94-ti-r68 ti-sgx-ti335x-modules-4.19.94-ti-r68
The following NEW packages will be installed:
  bb-u-boot-am335x-evm bbb.io-kernel-4.19-ti-am335x bbb.io-kernel-tasks
  libpruio-modules-4.19.94-ti-r68 linux-image-4.19.94-ti-r68
  ti-sgx-ti335x-modules-4.19.94-ti-r68
0 upgraded, 6 newly installed, 0 to remove and 145 not upgraded.
Need to get 29.0 MB of archives.
After this operation, 50.1 MB of additional disk space will be used.
Do you want to continue? [Y/n]
Unpacking bb-u-boot-am335x-evm (2019.04.20210831.0-0~buster+20210831) ...
Setting up bbb.io-kernel-tasks (1.20211014.2-0~buster+20211014) ...
Setting up bbb.io-kernel-4.19-ti-am335x (1.20211014.2-0~buster+20211014) ...
Setting up ti-sgx-ti335x-modules-4.19.94-ti-r68 (1buster) ...
Setting up bb-u-boot-am335x-evm (2019.04.20210831.0-0~buster+20210831) ...
Setting up libpruio-modules-4.19.94-ti-r68 (1buster) ...
root@beaglebone:~# apt upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
The following NEW packages will be installed:
  gt libbrotli1 libconfig9 libusbgx
The following packages have been kept back:
  c9-core-installer
The following packages will be upgraded:
  apt apt-utils avahi-daemon avahi-utils base-files bb-bbai-firmware
  bb-cape-overlays bb-customizations bb-node-red-installer bb-usb-gadgets
  bb-wl18xx-firmware bind9-host bluetooth bluez bone101 ca-certificates
  connman curl dbus debconf debconf-i18n debian-archive-keyring
  device-tree-compiler distro-info-data dnsmasq dnsmasq-base file git git-man
  groff-base hostapd iproute2 ipumm-dra7xx-installer iputils-ping
  isc-dhcp-client isc-dhcp-common klibc-utils libapt-inst2.0 libapt-pkg5.0
  libavahi-client3 libavahi-common-data libavahi-common3 libavahi-core7
  libbind9-161 libbluetooth3 libbsd0 libc-ares2 libcpupower1 libcurl3-gnutls
  libcurl4 libdbus-1-3 libdbus-1-dev libdns-export1104 libdns1104 libfreetype6
  libgcrypt20 libglib2.0-0 libgnutls30 libgssapi-krb5-2 libhogweed4
  libisc-export1100 libisc1100 libisccc161 libisccfg163 libjpeg62-turbo
  libjs-jquery libjson-c3 libk5crypto3 libklibc libkrb5-3 libkrb5support0
  libldap-2.4-2 libldap-common liblwres161 liblz4-1 libmagic-mgc libmagic1
  libnettle6 libnginx-mod-http-auth-pam libnginx-mod-http-dav-ext
  libnginx-mod-http-echo libnginx-mod-http-geoip
  libnginx-mod-http-image-filter libnginx-mod-http-subs-filter
  libnginx-mod-http-upstream-fair libnginx-mod-http-xslt-filter
  libnginx-mod-mail libnginx-mod-stream libnode-dev libnode64 libnss-systemd
  libp11-kit0 libpam-systemd libperl5.28 libpython3.7 libpython3.7-dev
  libpython3.7-minimal libpython3.7-stdlib librobotcontrol libsqlite3-0
  libssl-dev libssl1.1 libsystemd0 libtiff5 libudev1 libuv1 libuv1-dev
  libwebp6 libx11-6 libx11-data libxml2 libzstd1 linux-cpupower linux-libc-dev
  mjpg-streamer nginx nginx-common nginx-full node-ansi-regex
  node-hosted-git-info node-ini node-minimist node-tar node-y18n
  node-yargs-parser nodejs nodejs-doc npm openssl perl perl-base
  perl-modules-5.28 python3.7 python3.7-dev python3.7-minimal screen sudo
  systemd systemd-sysv ti-pru-cgt-installer tzdata udev vpdma-dra7xx-installer
  wpasupplicant
144 upgraded, 4 newly installed, 0 to remove and 1 not upgraded.
Need to get 289 MB of archives.
After this operation, 99.8 MB of additional disk space will be used.
Do you want to continue? [Y/n]
Processing triggers for ca-certificates (20200601~deb10u2) ...
Updating certificates in /etc/ssl/certs...
0 added, 0 removed; done.
Running hooks in /etc/ca-certificates/update.d...
done.
root@beaglebone:~# reboot
Debian GNU/Linux 10 beaglebone ttyS0

BeagleBoard.org Debian Buster IoT Image 2020-04-06

Support: http://elinux.org/Beagleboard:BeagleBoneBlack_Debian

default username:password is [debian:temppwd]

beaglebone login: root
Password: 
Last login: Thu Oct 14 18:22:45 UTC 2021 on ttyS0

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.
root@beaglebone:~# uname -r
4.19.94-ti-r68

Video/etc all still work…

Do i need to document these:

root@beaglebone:~# apt-cache search bbb.io
bbb.io-kernel-4.19-ti - BeagleBoard.org 4.19-ti
bbb.io-kernel-4.19-ti-am335x - BeagleBoard.org 4.19-ti for am335x
bbb.io-kernel-4.19-ti-am57xx - BeagleBoard.org 4.19-ti for am57xx
bbb.io-kernel-4.19-ti-rt - BeagleBoard.org 4.19-ti-rt
bbb.io-kernel-4.19-ti-rt-am335x - BeagleBoard.org 4.19-ti-rt for am335x
bbb.io-kernel-4.19-ti-rt-am57xx - BeagleBoard.org 4.19-ti-rt for am57xx
bbb.io-kernel-5.10-ti - BeagleBoard.org 5.10-ti
bbb.io-kernel-5.10-ti-am335x - BeagleBoard.org 5.10-ti for am335x
bbb.io-kernel-5.10-ti-am57xx - BeagleBoard.org 5.10-ti for am57xx
bbb.io-kernel-5.10-ti-rt - BeagleBoard.org 5.10-ti-rt
bbb.io-kernel-5.10-ti-rt-am335x - BeagleBoard.org 5.10-ti-rt for am335x
bbb.io-kernel-5.10-ti-rt-am57xx - BeagleBoard.org 5.10-ti-rt for am57xx
bbb.io-kernel-5.4-ti - BeagleBoard.org 5.4-ti
bbb.io-kernel-5.4-ti-am335x - BeagleBoard.org 5.4-ti for am335x
bbb.io-kernel-5.4-ti-am57xx - BeagleBoard.org 5.4-ti for am57xx
bbb.io-kernel-5.4-ti-rt - BeagleBoard.org 5.4-ti-rt
bbb.io-kernel-5.4-ti-rt-am335x - BeagleBoard.org 5.4-ti-rt for am335x
bbb.io-kernel-5.4-ti-rt-am57xx - BeagleBoard.org 5.4-ti-rt for am57xx
bbb.io-kernel-tasks - BeagleBoard.org Kernel Branches

Regards,