BUG REPORT: Possible bug in kernel ACPI code

I'm getting an ACPI error on boot (first line below):

Summary

[ 0.005700] ACPI: Early table checksum verification disabled
[ 0.005704] ACPI: RSDP 0x00000000CDFFE014 000024 (v02 HPQOEM)
[ 0.005708] ACPI: XSDT 0x00000000CDFCE188 000154 (v01 HPQOEM SLIC-MPC 00000002 HP 01000013)
[ 0.005713] ACPI: FACP 0x00000000CDFE3000 00010C (v05 HPQOEM SLIC-MPC 00000002 HP 00040000)
[ 0.005718] ACPI: DSDT 0x00000000CDFD5000 007C7D (v01 HPQOEM SLIC-MPC 00000002 HP 00040000)
[ 0.005721] ACPI: FACS 0x00000000CDED4000 000040
[ 0.005723] ACPI: UEFI 0x00000000CDF7E000 000236 (v01 HPQOEM 0000 00000001 HP 00040000)
[ 0.005726] ACPI: SSDT 0x00000000CDFFC000 00020D (v01 HPQOEM 0000 00000001 HP 00040000)
[ 0.005728] ACPI: SSDT 0x00000000CDFF4000 0072B0 (v02 HPQOEM 0000 00000002 HP 00040000)
[ 0.005731] ACPI: IVRS 0x00000000CDFF3000 0001A4 (v02 HPQOEM 0000 00000001 HP 00040000)
[ 0.005733] ACPI: SSDT 0x00000000CDFEF000 003A21 (v01 HPQOEM 0000 00000001 HP 00040000)
[ 0.005735] ACPI: SSDT 0x00000000CDFEE000 00017D (v01 HPQOEM 0000 00001000 HP 00040000)
[ 0.005738] ACPI: SSDT 0x00000000CDFE7000 006BBC (v01 HPQOEM 0000 00001000 HP 00040000)
[ 0.005740] ACPI: MSDM 0x00000000CDFE6000 000055 (v03 HPQOEM SLIC-MPC 00000001 HP 00040000)
[ 0.005743] ACPI: ASF! 0x00000000CDFE5000 0000A5 (v32 HPQOEM 0000 00000002 HP 00040000)
[ 0.005745] ACPI: BOOT 0x00000000CDFE4000 000028 (v01 HPQOEM 0000 00000002 HP 00040000)
[ 0.005747] ACPI: HPET 0x00000000CDFE2000 000038 (v01 HPQOEM 0000 00000002 HP 00040000)
[ 0.005750] ACPI: APIC 0x00000000CDFE1000 000138 (v03 HPQOEM SLIC-MPC 00000002 HP 00040000)
[ 0.005752] ACPI: MCFG 0x00000000CDFE0000 00003C (v01 HPQOEM 0000 00000002 HP 00040000)
[ 0.005755] ACPI: WDAT 0x00000000CDFDE000 00017C (v01 HPQOEM 0000 00000002 HP 00040000)
[ 0.005757] ACPI: WDRT 0x00000000CDFDD000 000047 (v01 HPQOEM 0000 00000002 HP 00040000)
[ 0.005759] ACPI: SSDT 0x00000000CDFD4000 00011C (v01 HPQOEM 0000 00000002 HP 00040000)
[ 0.005762] ACPI: SSDT 0x00000000CDFD3000 000080 (v01 HPQOEM 0000 00000002 HP 00040000)
[ 0.005764] ACPI: SSDT 0x00000000CDFCF000 003E88 (v02 HPQOEM 0000 00000001 HP 00040000)
[ 0.005767] ACPI: SRAT 0x00000000CDFFD000 000190 (v03 HPQOEM 0000 00000001 HP 00040000)
[ 0.005769] ACPI: MSCT 0x00000000CDFCD000 00004E (v01 HPQOEM 0000 00000000 HP 00040000)
[ 0.005771] ACPI: CRAT 0x00000000CDFCC000 000BB8 (v01 HPQOEM 0000 00000001 HP 00040000)
[ 0.005774] ACPI: CDIT 0x00000000CDFCB000 000029 (v01 HPQOEM 0000 00000001 HP 00040000)
[ 0.005776] ACPI: VFCT 0x00000000CDFBD000 00D884 (v01 HPQOEM 0000 00000001 HP 00040000)
[ 0.005779] ACPI: SSDT 0x00000000CDFBC000 0000F8 (v01 HPQOEM 0000 00001000 HP 00040000)
[ 0.005781] ACPI: SSDT 0x00000000CDFBB000 00005C (v02 HPQOEM 0000 00001000 HP 00040000)
[ 0.005783] ACPI: SSDT 0x00000000CDFBA000 00005C (v02 HPQOEM 0000 00001000 HP 00040000)
[ 0.005786] ACPI: SSDT 0x00000000CDFB9000 000139 (v01 HPQOEM 0000 00000001 HP 00040000)
[ 0.005788] ACPI: SSDT 0x00000000CDFB8000 00028D (v01 HPQOEM 0000 00000001 HP 00040000)
[ 0.005791] ACPI: SSDT 0x00000000CDFB7000 000215 (v01 HPQOEM 0000 00000001 HP 00040000)
[ 0.005793] ACPI: SSDT 0x00000000CDFB6000 000D53 (v01 HPQOEM 0000 00000001 HP 00040000)
[ 0.005795] ACPI: SSDT 0x00000000CDFB4000 0010C5 (v01 HPQOEM 0000 00000001 HP 00040000)
[ 0.005798] ACPI: SSDT 0x00000000CDFB0000 0034AA (v01 HPQOEM 0000 00000001 HP 00040000)
[ 0.005800] ACPI: FPDT 0x00000000CDFAF000 000044 (v01 HPQOEM SLIC-MPC 00000002 HP 00040000)
[ 0.005802] ACPI: BGRT 0x00000000CDFAE000 000038 (v01 HPQOEM 0000 00000001 HP 00040000)
[ 0.005805] ACPI: WSMT 0x00000000CDFAD000 000028 (v01 HPQOEM 0000 00000001 HP 00040000)
[ 0.005807] ACPI: SSDT 0x00000000CDFAC000 00007D (v01 HPQOEM 0000 00000001 HP 00040000)
[ 0.005810] ACPI: SSDT 0x00000000CDFAB000 0004B6 (v01 HPQOEM 0000 00000001 HP 00040000)
[ 0.005812] ACPI: Reserving FACP table memory at [mem 0xcdfe3000-0xcdfe310b]
[ 0.005813] ACPI: Reserving DSDT table memory at [mem 0xcdfd5000-0xcdfdcc7c]
[ 0.005814] ACPI: Reserving FACS table memory at [mem 0xcded4000-0xcded403f]
[ 0.005815] ACPI: Reserving UEFI table memory at [mem 0xcdf7e000-0xcdf7e235]
[ 0.005816] ACPI: Reserving SSDT table memory at [mem 0xcdffc000-0xcdffc20c]
[ 0.005817] ACPI: Reserving SSDT table memory at [mem 0xcdff4000-0xcdffb2af]
[ 0.005817] ACPI: Reserving IVRS table memory at [mem 0xcdff3000-0xcdff31a3]
[ 0.005818] ACPI: Reserving SSDT table memory at [mem 0xcdfef000-0xcdff2a20]
[ 0.005819] ACPI: Reserving SSDT table memory at [mem 0xcdfee000-0xcdfee17c]
[ 0.005820] ACPI: Reserving SSDT table memory at [mem 0xcdfe7000-0xcdfedbbb]
[ 0.005821] ACPI: Reserving MSDM table memory at [mem 0xcdfe6000-0xcdfe6054]
[ 0.005822] ACPI: Reserving ASF! table memory at [mem 0xcdfe5000-0xcdfe50a4]
[ 0.005823] ACPI: Reserving BOOT table memory at [mem 0xcdfe4000-0xcdfe4027]
[ 0.005823] ACPI: Reserving HPET table memory at [mem 0xcdfe2000-0xcdfe2037]
[ 0.005824] ACPI: Reserving APIC table memory at [mem 0xcdfe1000-0xcdfe1137]
[ 0.005825] ACPI: Reserving MCFG table memory at [mem 0xcdfe0000-0xcdfe003b]
[ 0.005826] ACPI: Reserving WDAT table memory at [mem 0xcdfde000-0xcdfde17b]
[ 0.005827] ACPI: Reserving WDRT table memory at [mem 0xcdfdd000-0xcdfdd046]
[ 0.005828] ACPI: Reserving SSDT table memory at [mem 0xcdfd4000-0xcdfd411b]
[ 0.005829] ACPI: Reserving SSDT table memory at [mem 0xcdfd3000-0xcdfd307f]
[ 0.005830] ACPI: Reserving SSDT table memory at [mem 0xcdfcf000-0xcdfd2e87]
[ 0.005830] ACPI: Reserving SRAT table memory at [mem 0xcdffd000-0xcdffd18f]
[ 0.005831] ACPI: Reserving MSCT table memory at [mem 0xcdfcd000-0xcdfcd04d]
[ 0.005832] ACPI: Reserving CRAT table memory at [mem 0xcdfcc000-0xcdfccbb7]
[ 0.005833] ACPI: Reserving CDIT table memory at [mem 0xcdfcb000-0xcdfcb028]
[ 0.005834] ACPI: Reserving VFCT table memory at [mem 0xcdfbd000-0xcdfca883]
[ 0.005835] ACPI: Reserving SSDT table memory at [mem 0xcdfbc000-0xcdfbc0f7]
[ 0.005836] ACPI: Reserving SSDT table memory at [mem 0xcdfbb000-0xcdfbb05b]
[ 0.005837] ACPI: Reserving SSDT table memory at [mem 0xcdfba000-0xcdfba05b]
[ 0.005838] ACPI: Reserving SSDT table memory at [mem 0xcdfb9000-0xcdfb9138]
[ 0.005839] ACPI: Reserving SSDT table memory at [mem 0xcdfb8000-0xcdfb828c]
[ 0.005839] ACPI: Reserving SSDT table memory at [mem 0xcdfb7000-0xcdfb7214]
[ 0.005840] ACPI: Reserving SSDT table memory at [mem 0xcdfb6000-0xcdfb6d52]
[ 0.005841] ACPI: Reserving SSDT table memory at [mem 0xcdfb4000-0xcdfb50c4]
[ 0.005842] ACPI: Reserving SSDT table memory at [mem 0xcdfb0000-0xcdfb34a9]
[ 0.005843] ACPI: Reserving FPDT table memory at [mem 0xcdfaf000-0xcdfaf043]
[ 0.005844] ACPI: Reserving BGRT table memory at [mem 0xcdfae000-0xcdfae037]
[ 0.005845] ACPI: Reserving WSMT table memory at [mem 0xcdfad000-0xcdfad027]
[ 0.005846] ACPI: Reserving SSDT table memory at [mem 0xcdfac000-0xcdfac07c]
[ 0.005847] ACPI: Reserving SSDT table memory at [mem 0xcdfab000-0xcdfab4b5]
[ 0.005888] SRAT: PXM 0 -> APIC 0x00 -> Node 0
[ 0.005890] SRAT: PXM 0 -> APIC 0x01 -> Node 0
[ 0.005891] SRAT: PXM 0 -> APIC 0x02 -> Node 0
[ 0.005891] SRAT: PXM 0 -> APIC 0x03 -> Node 0
[ 0.005892] SRAT: PXM 0 -> APIC 0x04 -> Node 0
[ 0.005893] SRAT: PXM 0 -> APIC 0x05 -> Node 0
[ 0.005893] SRAT: PXM 0 -> APIC 0x06 -> Node 0
[ 0.005894] SRAT: PXM 0 -> APIC 0x07 -> Node 0
[ 0.005895] SRAT: PXM 0 -> APIC 0x08 -> Node 0
[ 0.005895] SRAT: PXM 0 -> APIC 0x09 -> Node 0
[ 0.005896] SRAT: PXM 0 -> APIC 0x0a -> Node 0
[ 0.005897] SRAT: PXM 0 -> APIC 0x0b -> Node 0
[ 0.005898] ACPI: SRAT: Node 1 PXM 1 [mem 0x00000000-0x0009ffff]
[ 0.005900] ACPI: SRAT: Node 1 PXM 1 [mem 0x000c0000-0xcfffffff]
[ 0.005901] ACPI: SRAT: Node 1 PXM 1 [mem 0x100000000-0x12fffffff]
[ 0.005902] ACPI: SRAT: Node 0 PXM 0 [mem 0x130000000-0x32fffffff]
[ 0.005904] NUMA: Node 1 [mem 0x00000000-0x0009ffff] + [mem 0x000c0000-0xcfffffff] -> [mem 0x00000000-0xcfffffff]
[ 0.005906] NUMA: Node 1 [mem 0x00000000-0xcfffffff] + [mem 0x100000000-0x12fffffff] -> [mem 0x00000000-0x12fffffff]
[ 0.005912] NODE_DATA(0) allocated [mem 0x30e2d6000-0x30e2fffff]
[ 0.005923] NODE_DATA(1) allocated [mem 0x12ffd6000-0x12fffffff]
[ 0.006062] Zone ranges:
[ 0.006063] DMA [mem 0x0000000000001000-0x0000000000ffffff]
[ 0.006065] DMA32 [mem 0x0000000001000000-0x00000000ffffffff]
[ 0.006066] Normal [mem 0x0000000100000000-0x000000030e2fffff]
[ 0.006068] Device empty
[ 0.006069] Movable zone start for each node
[ 0.006070] Early memory node ranges
[ 0.006071] node 1: [mem 0x0000000000001000-0x000000000009efff]
[ 0.006072] node 1: [mem 0x0000000000100000-0x0000000009beffff]
[ 0.006073] node 1: [mem 0x0000000009e00000-0x0000000009efffff]
[ 0.006074] node 1: [mem 0x0000000009f0f000-0x00000000c8a7efff]
[ 0.006075] node 1: [mem 0x00000000cdfff000-0x00000000cdffffff]
[ 0.006076] node 1: [mem 0x0000000100000000-0x000000012fffffff]
[ 0.006077] node 0: [mem 0x0000000130000000-0x000000030e2fffff]
[ 0.006078] Initmem setup node 0 [mem 0x0000000130000000-0x000000030e2fffff]
[ 0.006081] Initmem setup node 1 [mem 0x0000000000001000-0x000000012fffffff]
[ 0.006084] On node 1, zone DMA: 1 pages in unavailable ranges
[ 0.006099] On node 1, zone DMA: 97 pages in unavailable ranges
[ 0.006232] On node 1, zone DMA32: 528 pages in unavailable ranges
[ 0.011711] On node 1, zone DMA32: 15 pages in unavailable ranges
[ 0.011898] On node 1, zone DMA32: 21888 pages in unavailable ranges
[ 0.013505] On node 1, zone Normal: 8192 pages in unavailable ranges
[ 0.024745] On node 0, zone Normal: 7424 pages in unavailable ranges
[ 0.024908] ACPI: PM-Timer IO Port: 0x408
[ 0.024916] ACPI: LAPIC_NMI (acpi_id[0x00] high edge lint[0x1])
[ 0.024917] ACPI: LAPIC_NMI (acpi_id[0x01] high edge lint[0x1])
[ 0.024918] ACPI: LAPIC_NMI (acpi_id[0x02] high edge lint[0x1])
[ 0.024919] ACPI: LAPIC_NMI (acpi_id[0x03] high edge lint[0x1])
[ 0.024920] ACPI: LAPIC_NMI (acpi_id[0x04] high edge lint[0x1])
[ 0.024921] ACPI: LAPIC_NMI (acpi_id[0x05] high edge lint[0x1])
[ 0.024921] ACPI: LAPIC_NMI (acpi_id[0x06] high edge lint[0x1])
[ 0.024922] ACPI: LAPIC_NMI (acpi_id[0x07] high edge lint[0x1])
[ 0.024923] ACPI: LAPIC_NMI (acpi_id[0x08] high edge lint[0x1])
[ 0.024923] ACPI: LAPIC_NMI (acpi_id[0x09] high edge lint[0x1])
[ 0.024924] ACPI: LAPIC_NMI (acpi_id[0x0a] high edge lint[0x1])
[ 0.024925] ACPI: LAPIC_NMI (acpi_id[0x0b] high edge lint[0x1])
[ 0.024925] ACPI: LAPIC_NMI (acpi_id[0x0c] high edge lint[0x1])
[ 0.024926] ACPI: LAPIC_NMI (acpi_id[0x0d] high edge lint[0x1])
[ 0.024927] ACPI: LAPIC_NMI (acpi_id[0x0e] high edge lint[0x1])
[ 0.024928] ACPI: LAPIC_NMI (acpi_id[0x0f] high edge lint[0x1])
[ 0.024941] IOAPIC[0]: apic_id 33, version 33, address 0xfec00000, GSI 0-23
[ 0.024947] IOAPIC[1]: apic_id 34, version 33, address 0xfec01000, GSI 24-55
[ 0.024948] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
[ 0.024950] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 low level)
[ 0.024953] ACPI: Using ACPI (MADT) for SMP configuration information
[ 0.024955] ACPI: HPET id: 0x10228210 base: 0xfed00000

Later in dmesg:
[ 0.289576] PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug

[ 0.809444] ACPI: \_TZ_.TZ0_: Invalid passive threshold

[ 12.170922] acpi-tad ACPI000E:00: Missing _PRW

I think that's the reason one of my USB-C ports isn't working:

[    5.849656] usb 3-4.4: new full-speed USB device number 11 using xhci_hcd
[    5.851486] usb 3-4.4: Device not responding to setup address.
[    6.059367] usb 3-4.4: Device not responding to setup address.
[    6.265515] usb 3-4.4: device not accepting address 11, error -71
[    6.266798] usb 3-4-port4: unable to enumerate USB device

I'm not sure if it's related, but I tweaked my ZFS settings by creating a /etc/modprobe.d/zfs.conf file with all the ZFS settings (rather than fetching them from /sys/module/zfs/parameters) and using that .conf file to increase the various prefetch and caches by 50%... it increased the data transfer speed so much that when I'm doing a file transfer to one USB drive, it spikes up to ~470 MB/s at the start, then stumbles down to ~270 MB/s, then the drive disconnects and reconnects.

I'll reset that .conf file to defaults and see if the problem persists.

Devs, let me know if you need any other logs.

[EDIT]
Ok, I backed off a bit on the ZFS settings... it's not quite as fast, but it's not causing the drive to spontaneously disconnect. Strange... it's a USB 3 port and a USB 3 drive, it should be able to sustain 470 MB/s. Perhaps that's just read speed, and during writing I just overwhelmed it?

1 Like

I found out that the drive was disconnecting because the power supply for the USB hub was dead! 0 volts output. This is a USB hub I bought just a couple months ago.

The drive was being powered solely from the computer's USB port, but that hub's got a few other drives on it, and that was just over the limit for the power capability of the computer's USB port.

I just so happened to have a cord with an identical plug (originally designed to plug into an old crank flashlight that could charge your cell phone in a pinch), and a bunch of different USB gender converters (USB-A male to USB-C female, USB-A female to USB-C male, USB-A female-to-female, USB-A male-to-male, etc.), so I plugged the USB-A male-to-male adapter into my big USB charger (it provides up to 5 amps per port), plugged that cord's USB-A female plug into the adapter, then plugged the other end into the USB hub. So far, it's rock-solid stable, no more drive drop-outs when it's getting hit with a lot of data.

A bonus is that that big USB charger has an ammeter for each USB port on it, so I know how much power the USB hub is drawing at any given moment.

1 Like