Using POSIX realtime

More
1 year 5 months ago #328173 by rodw
Replied by rodw on topic Using POSIX realtime
From the dmesg log and tainting the kernel, I think you have secure boot is enabled. Try disabling that in your BIOS.

Failing that I did cover very briefly how to enroll the dkms module into the kernel when  you open a spoiler in my how to.
Installing a kernel module (DKMS in this case) under secure boot is denied unless specifically set as being safe. eg it taints the kernel
The following user(s) said Thank You: Roger S

Please Log in or Create an account to join the conversation.

More
1 year 5 months ago #328189 by Hakan
Replied by Hakan on topic Using POSIX realtime
That could be the case, good to get an explanation to this.
Was thinking of the lack of error messages when ethercatctl tried to modprobe ec_generic,
but the error messages might be in /var/log/daemon.log and not in syslog (dmesg).
Also strange that the module can be loaded by hand using modprobe.
If that's caused by secure boot, then that's clear.

Roger can you please check for secure boot in BIOS.
And yes, no problem to update.
Hopefully it goes away with the secure boot flag.

Please Log in or Create an account to join the conversation.

More
1 year 5 months ago #328198 by Roger S
Replied by Roger S on topic Using POSIX realtime
Hi everyone, I've already done that. I've reinstalled the PC three times and always encountered the same problems. I included Mok Management during the second installation. I've done that again this time.
Code:
roger@roger:~$ mokutil --sb-state SecureBoot disabled roger@roger:~$ 

and yet something seems to have gone wrong:
Code:
dpkg: Fehler beim Bearbeiten des Paketes linux-image-6.1.0-34-rt-amd64 (--config ure):  »installiertes post-installation-Skript des Paketes linux-image-6.1.0-34-rt-amd 64«-Unterprozess gab den Fehlerwert 1 zurück dpkg: Abhängigkeitsprobleme verhindern Konfiguration von linux-image-rt-amd64:  linux-image-rt-amd64 hängt ab von linux-image-6.1.0-34-rt-amd64 (= 6.1.135-1);  aber:   Paket linux-image-6.1.0-34-rt-amd64 ist noch nicht konfiguriert. dpkg: Fehler beim Bearbeiten des Paketes linux-image-rt-amd64 (--configure):  Abhängigkeitsprobleme - verbleibt unkonfiguriert Trigger für initramfs-tools (0.142+deb12u1) werden verarbeitet ... update-initramfs: Generating /boot/initrd.img-6.1.0-34-rt-amd64 raspi-firmware: missing /boot/firmware, did you forget to mount it? run-parts: /etc/initramfs/post-update.d//z50-raspi-firmware exited with return c ode 1 dpkg: Fehler beim Bearbeiten des Paketes initramfs-tools (--configure):  »installiertes post-installation-Skript des Paketes initramfs-tools«-Unterproze ss gab den Fehlerwert 1 zurück Fehler traten auf beim Bearbeiten von:  linux-image-6.1.0-34-rt-amd64  linux-image-rt-amd64  initramfs-tools E: Sub-process /usr/bin/dpkg returned an error code (1)

With the workaround everything works so far (I hope) and thanks again

Please Log in or Create an account to join the conversation.

More
1 year 5 months ago #328200 by Hakan
Replied by Hakan on topic Using POSIX realtime
That dkms error is an error in the debian distribution, they included a raspberry package. Just delete it.
Code:
sudo apt remove raspi-firmware
Well I thought the secure boot would be an explanation but now I don't know.
Happy you can use it, anyway.
The following user(s) said Thank You: Roger S

Please Log in or Create an account to join the conversation.

Time to create page: 0.158 seconds
Powered by Kunena Forum