Bug 217966
Summary: | Weird battery detection issue triggered by extra PCIe slot/port | ||
---|---|---|---|
Product: | ACPI | Reporter: | Tom Yan (tom.ty89) |
Component: | EC | Assignee: | acpi_ec |
Status: | NEW --- | ||
Severity: | normal | CC: | acpi_power-battery, ambx1, bjorn, drivers_pci, io_nvme |
Priority: | P3 | ||
Hardware: | All | ||
OS: | Linux | ||
Kernel Version: | 6.5.5 | Subsystem: | |
Regression: | No | Bisected commit-id: |
Description
Tom Yan
2023-10-02 08:42:38 UTC
It seems that it might to a certain extent have something to do with the drive on the extra/PCH slot as well. When the battery is not detected, I see something like this from `lsblk`: NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS nvme1n1 259:0 0 476.9G 0 disk nvme0n1 259:1 0 931.5G 0 disk and when the battery is detected: NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS nvme0n1 259:0 0 476.9G 0 disk nvme1n1 259:1 0 931.5G 0 disk Perhaps maybe some kind of slowness of the drive's firmware triggered the race/bug? Just to clarity, the odd thing wasn't that the drive on the PCH slot could get enumerated latter than the drive on the CPU slot, but rather it seems to be partially detected or so before the CPU drive and then reacts slower than it. I'm also not sure if this is more of a cause (trigger) or a result of the main issue here though. 1) I'm not sure the ACPI folks monitor bugzilla, so I suggest forwarding this bug report to the ACPI maintainers at: "Rafael J. Wysocki" <rafael@kernel.org> linux-acpi@vger.kernel.org 2) Also attach to this bugzilla (don't paste) the complete dmesg logs for both cases (battery detected and not detected) when booting with this kernel command line argument: dyndbg="file drivers/acpi/* +p" Thanks for the pointer. Will check with dyndbg once I got the time. I actually sent a email to Rafael and the linux-acpi mailing list before I file a report here. So far I haven't got any response over there. Here's the report of this issue on mailing lists: https://lore.kernel.org/all/CAGnHSE=KP8rArKmNbgo3iG489PXrwjqWXLTmUp+nCOPd4VVRhA@mail.gmail.com/ |