- Package:
- acpi-call-dkms
- Source:
- acpi-call
- Submitter:
- shirish शिरà¥à¤·
- Date:
- 2021-03-27 17:57:02 UTC
- Severity:
- normal
- Tags:
Dear Maintainer,
I was installing/upgrading the kernel when I came across this -
Setting up linux-headers-4.7.0-1-amd64 (4.7.5-1) ...
/etc/kernel/header_postinst.d/dkms:
Error! Problems with depmod detected. Automatically uninstalling this module.
DKMS: Install Failed (depmod problems). Module rolled back to built state.
The following NEW packages will be installed:
linux-headers-4.7.0-1-amd64{a} linux-headers-4.7.0-1-common{a}
linux-kbuild-4.7{a} linux-perf-4.7{a}
The following packages will be REMOVED:
linux-perf-4.6{u}
As can be seen I am running kernel 4.7. I dunno why it didn't get
installed when the kernel was updated.
Control: tag -1 moreinfo [...] This is strange but unrelated to linux-perf-4.7. Please send the dkms log so we can reassign this properly. Ben.
at bottom :- Dear Ben, A cursory look at /var/log/ didn't show any dkms log. I did try searching search-engines as well for the data but couldn't get anything meaningful. Although invoking dkms status got me this - $ su - Password: root@think-debian:~# dkms status acpi-call, 1.1.0, 4.6.0-1-amd64, x86_64: installed acpi-call, 1.1.0, 4.7.0-1-amd64, x86_64: built nvidia-current, 367.44, 4.7.0-1-amd64, x86_64: installed open-vm-tools, 10.0.7, 4.7.0-1-amd64, x86_64: installed tp_smapi, 0.42, 4.7.0-1-amd64, x86_64: installed virtualbox, 5.1.6, 4.7.0-1-amd64, x86_64: installed virtualbox-guest, 5.1.6, 4.7.0-1-amd64, x86_64: installed so guessing some issue in the acpi-call module perhaps or something ? Please let me know how to give you the info. you need if it's not above.
On Sun, 2016-10-09 at 02:19 +0530, shirish शिरीष wrote: [...] Reassigning this accordingly. Ben.
Indeed, I need more info on this one. I can't see what's wrong with my package, or the relation with linux-perf, except that tlp (which I also maintain) recommends linux-tools, which was replaced by linux-perf (I'll fix the dependency for the next upload), and also suggests acpi-call-dkms. Unfortunately, I don't currently have at my disposal one of those newer ThinkPads that would be able to load the acpi-call module. The ThinkPads I currently own are older ones which still use the tp-smapi module to set battery (dis)charge thresholds. Anyway, on my Sid box (which has acpi-call-dkms installed, but can't load it, since it's not a ThinkPad), the module was correctly built and installed by DKMS for Linux 4.7: raph@arche:~$ sudo dkms status acpi-call, 1.1.0, 4.7.0-1-amd64, x86_64: installed Shirish, DKMS logs are available in /var/lib/dkms: raph@arche:~$ cat /var/lib/dkms/acpi-call/1.1.0/4.7.0-1-amd64/x86_64/log/make.log DKMS make.log for acpi-call-1.1.0 for kernel 4.7.0-1-amd64 (x86_64) jeudi 1 septembre 2016, 03:35:05 (UTC+0200) make : on entre dans le répertoire « /usr/src/linux-headers-4.7.0-1-amd64 » LD /var/lib/dkms/acpi-call/1.1.0/build/built-in.o CC [M] /var/lib/dkms/acpi-call/1.1.0/build/acpi_call.o Building modules, stage 2. MODPOST 1 modules CC /var/lib/dkms/acpi-call/1.1.0/build/acpi_call.mod.o LD [M] /var/lib/dkms/acpi-call/1.1.0/build/acpi_call.ko make : on quitte le répertoire « /usr/src/linux-headers-4.7.0-1-amd64 » Unfortunately, I could only find the build log, which seems to have worked on your machine, too. Could you please have a look at the contents of the /var/lib/dkms directory and report if anything seems to have gone wrong ? Regards,
at bottom :- Dear Raphael, I also have tlp so maybe it is a dependency issue. Anyways, here's the log you requested, it is same as yours - $ cat /var/lib/dkms/acpi-call/1.1.0/4.7.0-1-amd64/x86_64/log/make.log DKMS make.log for acpi-call-1.1.0 for kernel 4.7.0-1-amd64 (x86_64) Sat Oct 8 21:15:30 IST 2016 make: Entering directory '/usr/src/linux-headers-4.7.0-1-amd64' LD /var/lib/dkms/acpi-call/1.1.0/build/built-in.o CC [M] /var/lib/dkms/acpi-call/1.1.0/build/acpi_call.o Building modules, stage 2. MODPOST 1 modules CC /var/lib/dkms/acpi-call/1.1.0/build/acpi_call.mod.o LD [M] /var/lib/dkms/acpi-call/1.1.0/build/acpi_call.ko make: Leaving directory '/usr/src/linux-headers-4.7.0-1-amd64'
at bottom :- Hi, Btw how did you know that I have a newer thinkpad or anything of that sort. I looked up and didn't see anything which talks about the lappy being a thinkpad or it being an older or later. Look forward for more details.
Le 09/10/2016 à 09:05, shirish शिरीष a écrit : Educated guess. acpi-call and tp-smapi are mainly installed by ThinkPad users, to set battery (dis)charge thresholds. tp-smapi is for older models, acpi-call for newer ones. Regards,
acpi_call is not ThinkPad specific by any means. It loads on every hardware. Regards, Thomas
Le 09/10/2016 à 16:06, Thomas Koch a écrit : Indeed, I never thought to try it, but it works. Good to know, thanks. Regards,
-- —sent by Gmail