Bug#1023103: linux-image-5.10.0-14-amd64: Wrong power value on APU2 with bullseye

2022-11-06 Thread Alexis Domjan

Hi Salvatore,


Thank you for testing. And before 5.10.113 can you pin point to a
version in which showed sensible versions? If so you have a starting
point to bisect where the problem is introduced which would be very
helpfull to determine the pontential issue.


A friend of mine did these tests and here are the results:

4.19.260 HAS NOT the bug
4.19.264 HAS NOT the bug
5.0.1 HAS the bug
5.1   HAS the bug

So it looks like the bug appeared in kernel 5.

Kind regards,
Alexis Domjan



Bug#1023103: linux-image-5.10.0-14-amd64: Wrong power value on APU2 with bullseye

2022-10-30 Thread Alexis Domjan

Hi Salvatore,


Thank you for testing. And before 5.10.113 can you pin point to a
version in which showed sensible versions? If so you have a starting
point to bisect where the problem is introduced which would be very
helpfull to determine the pontential issue.


The power indicates coherent values under Debian 10.13 with an older version of 
the kernel:

Linux 4.19.0-20-amd64 #1 SMP Debian 4.19.235-1 (2022-03-17) x86_64 GNU/Linux


Does the issue persist with a more recent kernel (either from
backports or from unstable)?


I didn't test any older version of 5.x kernel nor more recent one. I will see 
if I can give a try.

Kind regards,
Alexis Domjan



Bug#1023103: linux-image-5.10.0-14-amd64: Wrong power value on APU2 with bullseye

2022-10-30 Thread Alexis Domjan

Hi Salvatore,

Le 30.10.22 à 10:21, Salvatore Bonaccorso a écrit :

Control: tags -1 + moreinfo
Since 5.10.113-1 is already superseeded by several uploads, can you
confirm the issue you are seeing is still present in the most current
uploaded version? (5.10.149-2).


Sorry, indeed, I didn't noticed it wasn't the latest available version of the 
kernel.

After the update, however, the issue is still present with the same symptoms.

Linux 5.10.0-19-amd64 #1 SMP Debian 5.10.149-2 (2022-10-21) x86_64 GNU/Linux

Do you need more information ?

Kind regards,
Alexis



Bug#1023103: linux-image-5.10.0-14-amd64: Wrong power value on APU2 with bullseye

2022-10-30 Thread Alexis Domjan
Package: src:linux
Version: 5.10.113-1
Severity: normal

Dear Maintainer,

With bullseye, /sys/class/hwmon/hwmon0/power1_average is wrong
when the system is idle (80-120W on a system whose max is probably
10); it is correct when the CPU is used.  The bug is not present in
buster.  With or without amd64 microcode, no change either.


-- Package-specific info:
** Version:
Linux version 5.10.0-14-amd64 (debian-kernel@lists.debian.org) (gcc-10 (Debian 
10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2) #1 SMP 
Debian 5.10.113-1 (2022-04-29)

** Command line:
BOOT_IMAGE=/boot/vmlinuz-5.10.0-14-amd64 
root=UUID=ba17b2ff-2784-40f7-90df-68a96ccea48b ro console=ttyS0,115200u8 quiet

** Not tainted

** Kernel log:
[7.198821] systemd[1]: Mounted Kernel Configuration File System.
[7.206333] systemd[1]: modprobe@fuse.service: Succeeded.
[7.207562] systemd[1]: Finished Load Kernel Module fuse.
[7.213724] systemd[1]: Mounting FUSE Control File System...
[7.235276] systemd[1]: Finished Load Kernel Modules.
[7.240300] systemd[1]: Starting Apply Kernel Variables...
[7.246451] systemd[1]: Mounted FUSE Control File System.
[7.263482] EXT4-fs (sda1): re-mounted. Opts: errors=remount-ro
[7.273219] systemd[1]: Finished Remount Root and Kernel File Systems.
[7.282674] systemd[1]: Condition check resulted in Rebuild Hardware 
Database being skipped.
[7.283062] systemd[1]: Condition check resulted in Platform Persistent 
Storage Archival being skipped.
[7.288279] systemd[1]: Starting Load/Save Random Seed...
[7.293327] systemd[1]: Starting Create System Users...
[7.296280] systemd[1]: modprobe@drm.service: Succeeded.
[7.297513] systemd[1]: Finished Load Kernel Module drm.
[7.302284] systemd[1]: Finished Apply Kernel Variables.
[7.342299] systemd[1]: Finished Create System Users.
[7.347299] systemd[1]: Starting Create Static Device Nodes in /dev...
[7.409230] systemd[1]: Finished Create Static Device Nodes in /dev.
[7.409861] systemd[1]: Reached target Local File Systems (Pre).
[7.410014] systemd[1]: Reached target Local File Systems.
[7.414784] systemd[1]: Starting Load AppArmor profiles...
[7.423382] systemd[1]: Starting Rule-based Manager for Device Events and 
Files...
[7.517617] audit: type=1400 audit(1666944338.055:2): apparmor="STATUS" 
operation="profile_load" profile="unconfined" name="lsb_release" pid=241 
comm="apparmor_parser"
[7.526165] audit: type=1400 audit(1666944338.063:3): apparmor="STATUS" 
operation="profile_load" profile="unconfined" name="nvidia_modprobe" pid=240 
comm="apparmor_parser"
[7.526181] audit: type=1400 audit(1666944338.063:4): apparmor="STATUS" 
operation="profile_load" profile="unconfined" name="nvidia_modprobe//kmod" 
pid=240 comm="apparmor_parser"
[7.527998] audit: type=1400 audit(1666944338.067:5): apparmor="STATUS" 
operation="profile_load" profile="unconfined" name="/usr/bin/man" pid=242 
comm="apparmor_parser"
[7.528014] audit: type=1400 audit(1666944338.067:6): apparmor="STATUS" 
operation="profile_load" profile="unconfined" name="man_filter" pid=242 
comm="apparmor_parser"
[7.528023] audit: type=1400 audit(1666944338.067:7): apparmor="STATUS" 
operation="profile_load" profile="unconfined" name="man_groff" pid=242 
comm="apparmor_parser"
[7.533806] systemd[1]: Finished Load AppArmor profiles.
[7.539810] systemd[1]: Started Rule-based Manager for Device Events and 
Files.
[7.541636] systemd[1]: Finished Coldplug All udev Devices.
[7.547445] systemd[1]: Starting Helper to synchronize boot up for 
ifupdown...
[7.575596] systemd[1]: Finished Helper to synchronize boot up for ifupdown.
[7.581876] systemd[1]: Starting Raise network interfaces...
[7.674257] systemd[1]: Started Journal Service.
[7.720613] acpi_cpufreq: overriding BIOS provided _PSD data
[7.746828] systemd-journald[221]: Received client request to flush runtime 
journal.
[7.780054] input: Power Button as 
/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input0
[7.780510] systemd-journald[221]: File 
/var/log/journal/4c119357469b496fa6c53947165a7aad/system.journal corrupted or 
uncleanly shut down, renaming and replacing.
[7.795601] ACPI: Power Button [PWRB]
[7.795947] input: Power Button as 
/devices/LNXSYSTM:00/LNXPWRBN:00/input/input1
[7.796294] ACPI: Power Button [PWRF]
[7.894510] input: PC Speaker as /devices/platform/pcspkr/input/input2
[7.911246] sp5100_tco: SP5100/SB800 TCO WatchDog Timer Driver
[7.911607] sd 0:0:0:0: Attached scsi generic sg0 type 0
[7.911667] sp5100-tco sp5100-tco: Using 0xfeb0 for watchdog MMIO address
[7.912057] sp5100-tco sp5100-tco: initialized. heartbeat=60 sec (nowayout=0)
[7.954203] usbcore: registered new interface driver usbserial_generic
[7.954241] usbserial: USB Serial support registered for generic
[7.954889] ccp :00:08.0: BAR 0: can't reserve [mem 
0xfeb0-0xfeb1