#840128 linux-perf-4.7: dependency module installation issue

Package:
acpi-call-dkms
Source:
acpi-call
Submitter:
shirish शिरीष
Date:
2021-03-27 17:57:02 UTC
Severity:
normal
Tags:
#840128#5
Date:
2016-10-08 15:54:24 UTC
From:
To:
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.

#840128#10
Date:
2016-10-08 18:54:31 UTC
From:
To:
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.

#840128#17
Date:
2016-10-08 20:49:25 UTC
From:
To:
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.

#840128#22
Date:
2016-10-08 21:32:00 UTC
From:
To:
On Sun, 2016-10-09 at 02:19 +0530, shirish शिरीष wrote:
[...]

Reassigning this accordingly.

Ben.

#840128#33
Date:
2016-10-08 23:54:10 UTC
From:
To:
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,

#840128#38
Date:
2016-10-09 06:22:53 UTC
From:
To:
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'

#840128#43
Date:
2016-10-09 07:05:50 UTC
From:
To:
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.

#840128#48
Date:
2016-10-09 12:16:41 UTC
From:
To:
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,

#840128#53
Date:
2016-10-09 14:06:36 UTC
From:
To:
acpi_call is not ThinkPad specific by any means. It loads on every
hardware.

Regards, Thomas

#840128#58
Date:
2016-10-09 14:14:09 UTC
From:
To:
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,

#840128#63
Date:
2021-03-27 17:53:54 UTC
From:
To:
-- 
—sent by Gmail