saidsay-so / acpi_ec

Kernel module to access directly to the ACPI EC.
GNU General Public License v3.0
48 stars 7 forks source link

cannot uninstall #4

Closed dumprop closed 3 years ago

dumprop commented 3 years ago
Creating symlink /var/lib/dkms/acpi_ec/v1.0.2/source -> /usr/src/acpi_ec-v1.0.2

Kernel preparation unnecessary for this kernel. Skipping...

Building module:
cleaning build area...
make -j8 KERNELRELEASE=5.14.14-300.fc35.x86_64 -C /lib/modules/5.14.14-300.fc35.x86_64/build M=/var/lib/dkms/acpi_ec/v1.0.2/build/src modules...
cleaning build area...

acpi_ec.ko.xz:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/5.14.14-300.fc35.x86_64/extra/

depmod....
Job for systemd-modules-load.service failed because the control process exited with error code.
See "systemctl status systemd-modules-load.service" and "journalctl -xeu systemd-modules-load.service" for details.
[user@fedora acpi_ec]$ systemctl status systemd-modules-load.service
× systemd-modules-load.service - Load Kernel Modules
     Loaded: loaded (/usr/lib/systemd/system/systemd-modules-load.service; static)
     Active: failed (Result: exit-code) since Thu 2021-11-04 02:45:06 +03; 52s ago
       Docs: man:systemd-modules-load.service(8)
             man:modules-load.d(5)
    Process: 4512 ExecStart=/usr/lib/systemd/systemd-modules-load (code=exited, status=1/FAILURE)
   Main PID: 4512 (code=exited, status=1/FAILURE)
        CPU: 16ms

Nov 04 02:45:06 fedora systemd[1]: Starting Load Kernel Modules...
Nov 04 02:45:06 fedora systemd-modules-load[4512]: Failed to insert module 'acpi_ec': Key was rejected by service
Nov 04 02:45:06 fedora systemd-modules-load[4512]: Module 'msr' is built in
Nov 04 02:45:06 fedora systemd-modules-load[4512]: Failed to insert module 'ipmi_si': No such device
Nov 04 02:45:06 fedora systemd[1]: systemd-modules-load.service: Main process exited, code=exited, status=1/FAILURE
Nov 04 02:45:06 fedora systemd[1]: systemd-modules-load.service: Failed with result 'exit-code'.
Nov 04 02:45:06 fedora systemd[1]: Failed to start Load Kernel Modules.
[user@fedora acpi_ec]$ sudo ./uninstall.sh
sed: can't read /etc/modules-load.d/modules.conf: No such file or directory
[user@fedora acpi_ec]$ sudo ./install.sh 
acpi_ec vv1.0.2 is already installed
saidsay-so commented 3 years ago

Did you restart your computer to enroll the new key? Also, I fixed the uninstallation issue (2f4c740).

dumprop commented 3 years ago

Did you restart your computer to enroll the new key? Also, I fixed the uninstallation issue (2f4c740).

Yes, but there another little problem

[root@fedora acpi_ec]# ./uninstall.sh 
modprobe: FATAL: Module acpi_ec not found.
[root@fedora acpi_ec]# ./install.sh 
acpi_ec vv1.0.2 is already installed
saidsay-so commented 3 years ago

My apologies! The uninstallation script was full of mistakes. I solved most of the problems and I pushed on the master branch if you want to give it a try.

dumprop commented 3 years ago

My apologies! The uninstallation script was full of mistakes. I solved most of the problems and I pushed on the master branch if you want to give it a try.

Cool, currently all should be removed :)