When I “sudo apt-get install 5.10.168-ti-arm64-r108” I get numerous “broken pipe” messages. Attached session. How to get started lkm?
errkernl.txt (6.2 KB)
sudo apt install linux-headers-$(uname -r)
Not sure where I found the info on what I tried, but doing as you suggested I got
sudo apt install linux-headers-$(uname -r)
[sudo] password for x:
Reading package lists… Done
Building dependency tree… Done
Reading state information… Done
linux-headers-5.10.168-ti-arm64-r108 is already the newest version (1bullseye).
0 upgraded, 0 newly installed, 0 to remove and 6 not upgraded.
2 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
OH… this is bad!!!
BeagleBoard.org Debian Bullseye Xfce Image 2023-07-01
Support: https://bbb.io/debian
sudo apt-get install 5.10.168-ti-arm64-r108
[sudo] password for mwindham:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Note, selecting 'ti-sgx-j721e-modules-5.10.168-ti-arm64-r108' for regex '5.10.168-ti-arm64-r108'
Note, selecting 'ti-sgx-23.1-am62-modules-5.10.168-ti-arm64-r108' for regex '5.10.168-ti-arm64-r108'
Note, selecting 'ti-sgx-1.18-j721e-modules-5.10.168-ti-arm64-r108' for regex '5.10.168-ti-arm64-r108'
Note, selecting 'linux-headers-5.10.168-ti-arm64-r108' for regex '5.10.168-ti-arm64-r108'
Note, selecting 'ti-sgx-1.15-j721e-modules-5.10.168-ti-arm64-r108' for regex '5.10.168-ti-arm64-r108'
Note, selecting 'ti-sgx-am62-modules-5.10.168-ti-arm64-r108' for regex '5.10.168-ti-arm64-r108'
Note, selecting 'ti-sgx-1.15-am62-modules-5.10.168-ti-arm64-r108' for regex '5.10.168-ti-arm64-r108'
Note, selecting 'ti-sgx-1.18-am62-modules-5.10.168-ti-arm64-r108' for regex '5.10.168-ti-arm64-r108'
Note, selecting 'linux-image-5.10.168-ti-arm64-r108' for regex '5.10.168-ti-arm64-r108'
Note, selecting 'ti-sgx-23.1-j721e-modules-5.10.168-ti-arm64-r108' for regex '5.10.168-ti-arm64-r108'
linux-headers-5.10.168-ti-arm64-r108 is already the newest version (1bullseye).
linux-image-5.10.168-ti-arm64-r108 is already the newest version (1bullseye).
ti-sgx-1.15-j721e-modules-5.10.168-ti-arm64-r108 is already the newest version (1bullseye).
ti-sgx-am62-modules-5.10.168-ti-arm64-r108 is already the newest version (1bullseye).
The following NEW packages will be installed:
ti-sgx-1.15-am62-modules-5.10.168-ti-arm64-r108 ti-sgx-1.18-am62-modules-5.10.168-ti-arm64-r108
ti-sgx-1.18-j721e-modules-5.10.168-ti-arm64-r108 ti-sgx-23.1-am62-modules-5.10.168-ti-arm64-r108
ti-sgx-23.1-j721e-modules-5.10.168-ti-arm64-r108 ti-sgx-j721e-modules-5.10.168-ti-arm64-r108
0 upgraded, 6 newly installed, 0 to remove and 6 not upgraded.
2 not fully installed or removed.
Need to get 0 B/2396 kB of archives.
After this operation, 13.8 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
We don’t want ti-sgx-j721e-modules and ti-sgx-am62-modules installed on the same system…
Then it get’s even worse with ti-sgx-23.1*/ti-sgx-1.18* varients!!!
crap, i need to hardcode those to not do that…
For the BeaglePlay, the best kernel pacakge to install is:
sudo apt install bbb.io-kernel-5.10-ti-k3-am62
For the modules do as @foxsquirrel showeed…
To correct your install i’d try:
sudo apt remove ti-sgx-1.15-am62-modules-5.10.168-ti-arm64-r108 ti-sgx-1.18-am62-modules-5.10.168-ti-arm64-r108 ti-sgx-1.18-j721e-modules-5.10.168-ti-arm64-r108 ti-sgx-23.1-am62-modules-5.10.168-ti-arm64-r108 ti-sgx-23.1-j721e-modules-5.10.168-ti-arm64-r108 ti-sgx-j721e-modules-5.10.168-ti-arm64-r108 --purge
then:
sudo apt install bbb.io-kernel-5.10-ti-k3-am62
Regards,
mwindham@BPLAY4DCA:~$ sudo apt remove ti-sgx-1.15-am62-modules-5.10.168-ti-arm64-r108 ti-sgx-1.18-am62-modules-510.168-ti-arm64-r108 ti-sgx-1.18-j721e-modules-5.10.168-ti-arm64-r108 ti-sgx-23.1-am62-modules-5.10.168-ti-arm64-r108 ti-sgx-23.1-j721e-modules-5.10.168-ti-arm64-r108 ti-sgx-j721e-modules-5.10.168-ti-arm64-r108 --purge
[sudo] password for mwindham:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package ti-sgx-1.18-am62-modules-510.168-ti-arm64-r108
E: Couldn't find any package by glob 'ti-sgx-1.18-am62-modules-510.168-ti-arm64-r108'
Should I run sudo apt install bbb.io-kernel-5.10-ti-k3-am62 now?
sudo apt install bbb.io-kernel-5.10-ti-k3-am62
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
bbb.io-kernel-5.10-ti-k3-am62 is already the newest version (1.20230801.0-0~bullseye+20230801).
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
sudo apt --reinstall install bbb.io-kernel-5.10-ti-k3-am62
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 1 not upgraded.
Need to get 1264 B of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 https://debian.beagle.cc/arm64 bullseye/main arm64 bbb.io-kernel-5.10-ti-k3-am62 arm64 1.20230801.0-0~bullseye+20230801 [1264 B]
Fetched 1264 B in 2s (606 B/s)
(Reading database ... 145766 files and directories currently installed.)
Preparing to unpack .../bbb.io-kernel-5.10-ti-k3-am62_1.20230801.0-0~bullseye+20230801_arm64.deb ...
Unpacking bbb.io-kernel-5.10-ti-k3-am62 (1.20230801.0-0~bullseye+20230801) over (1.20230801.0-0~bullseye+20230801) ...
Setting up bbb.io-kernel-5.10-ti-k3-am62 (1.20230801.0-0~bullseye+20230801) ...
Scanning processes...
Scanning processor microcode...
Scanning linux images...
Running kernel seems to be up-to-date.
Failed to check for processor microcode upgrades.
No services need to be restarted.
No containers need to be restarted.
No user sessions are running outdated binaries.
Should I reboot?
Are these good now or will they need fixing?
mwindham@BPLAY4DCA:~$ cd /usr/src/linux-headers-$(uname -r)
mwindham@BPLAY4DCA:/usr/src/linux-headers-5.10.168-ti-arm64-r108$ ls
Makefile Module.symvers arch include scripts
mwindham@BPLAY4DCA:/usr/src/linux-headers-5.10.168-ti-arm64-r108$
Rebooted, got response already installed, then
sudo apt --reinstall install linux-headers-$(uname -r)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 1 not upgraded.
Need to get 0 B/7664 kB of archives.
After this operation, 0 B of additional disk space will be used.
(Reading database ... 145766 files and directories currently installed.)
Preparing to unpack .../linux-headers-5.10.168-ti-arm64-r108_1bullseye_arm64.deb ...
Unpacking linux-headers-5.10.168-ti-arm64-r108 (1bullseye) over (1bullseye) ...
Setting up linux-headers-5.10.168-ti-arm64-r108 (1bullseye) ...
Scanning processes...
Scanning processor microcode...
Scanning linux images...
Running kernel seems to be up-to-date.
Failed to check for processor microcode upgrades.
No services need to be restarted.
No containers need to be restarted.
No user sessions are running outdated binaries.
that’s what you want to see…
Thanks! Would you recommend good link or book for wrriting device drivers that would be current or relevant for BPlay?
To date, no one has written a book on the Play… it’s just too new:
Here are a few organizations that help write documents like above…
There are many more, just the first two off the top of my head…
Regards,