[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1012440: linux-image-amd64: Long time to load ACPI module battery.ko



Control: reassign src:linux 5.10.113-1
Control: tag -1 moreinfo

On Tuesday, 7 June 2022 11:26:09 CEST Luca wrote:
> the boot process of my new laptop is heavily slowed down by the ACPI modules
> loading.

This sounds like a BIOS problem to me. Have you checked whether a new one is 
available?

> I narrowed down to the battery.ko module: it takes about 8.4 s to load,
> during which the system is apparently not doing anything and just waiting.
> 
> ...
> [    1.026951] SCSI subsystem initialized
> [    1.030514] ACPI: Power Button [PWRF]
> [    9.460317] battery: ACPI: Battery Slot [BAT1] (battery present)
> [    9.465637] intel-lpss 0000:00:15.0: enabling device (0000 -> 0002)
> ...
> 
> Consider that 8 s in my case is very long time since the entire boot process
> (without loading that module) takes only ~10s. I am on a new Lenovo laptop
> with i5-1035G1 and Samsung SSD 256 GB.

To see/verify whether it may be a kernel issue, it's useful to test other 
kernel versions. If it works properly with another kernel version, then it's 
mostly likely a kernel issue, but if it's consistently slow across kernel 
versions, then a HW/BIOS problem seems most likely.

The first version to try would be the one from Stable-backports, which 
according to https://tracker.debian.org/pkg/linux is 5.16.12-1~bpo11+1
Next would be the kernel version from Testing, but (even) better would be the 
one from Unstable (which is now 5.18.2-1, but that version may not be 
available everywhere just yet as it was uploaded yesterday).

https://snapshot.debian.org/ is a way to retrieve other/older versions of 
Debian packages, so that may be of help.
It is also useful to test older versions of the 5.10 series to see whether 
there has been a regression since. 
At https://snapshot.debian.org/package/linux/ you can find older kernel 
versions. F.e. 5.10.46-4 or 5.10.84-1 sound like useful versions to test.

So if you could test those other kernel versions and report back the result, 
that should help.

Attachment: signature.asc
Description: This is a digitally signed message part.


Reply to: