In March, my TV tuner card on my Linux machine stopped working. I couldn’t watch any of my channels. As a result, the DVR in Plex stopped recording my shows.
I spent more than a day trying to root cause the problem. I figured out that a kernel upgrade caused the failure. But why it worked in the previous kernel — I didn’t know.
Today I unleashed the LLM on the problem. It turns out that the old kernel had a config setting (CONFIG_PCI_MMCONFIG) that was not set, whereas in the newer kernel it defaults to y.
The fix was simple: adding pci=noioapicquirk to the kernel command line when booting.
The AI was fairly thorough in its investigation and debugging. Below, I had it write a summary of its findings.
Two Hauppauge WinTV-QuadHD-ATSC tuner cards (Conexant cx23885, PCIe) stopped returning channels after a kernel upgrade from 5.15.19 to 6.18.12, on a Gigabyte X99-Phoenix SLI-CF with a Xeon E5 v4.
Symptom. ATSC scans locked frequencies normally (frontend status 0x1f, carrier-to-noise 18-29 dB), but every transponder failed while reading the PAT table, so no channels were returned. The interrupt counter for the cards (IRQ 17) read zero on every CPU since boot, while the cards’ PCI status register had bit 3 (Interrupt Status) set: the devices were asserting their legacy INTx lines, and the kernel received nothing. Tuning and demodulation run over I2C and kept working; the DMA data path needs the interrupts and was dead.
Root cause. quirk_disable_intel_boot_interrupt in drivers/pci/quirks.c sets bit 25 of the CIPINTRC register (configuration offset 0x14C) on the Intel Core IO device (00:05.0, 8086:6f28). On this board, that bit routes legacy interrupts into a path the operating system never sees. The cards use legacy interrupts (no MSI), so every DMA completion interrupt was lost. Clearing the bit at runtime released the pending interrupt immediately, which confirmed the cause.
Why the upgrade triggered it. CIPINTRC sits in the extended configuration space, above byte 255, reachable only through ECAM. The 5.15.19 kernel had CONFIGPCIMMCONFIG disabled, so configuration access used the CF8/CFC port interface, which stops at byte 255; the quirk’s write failed silently and the bit kept its BIOS default. The 6.18.12 kernel enabled CONFIGPCIMMCONFIG and mapped ECAM, so the quirk set the bit for the first time. The quirk’s code is identical in both kernels; only its reach changed.
Fix. Add pci=noioapicquirk to the kernel command line. The boot-interrupt quirks return early, and CIPINTRC keeps its BIOS state, where legacy interrupts reach the IO-APIC normally. After reboot, interrupts flowed during scans and dvbv5-scan wrote the full channel list. The parameter is now permanent in the boot loader configuration.