Re: Regression causes a hang on boot with a Comtrol PCI card

From: Jesse Hathaway
Date: Fri Apr 05 2019 - 17:33:09 EST


On Thu, Apr 4, 2019 at 2:14 PM Alan Stern <stern@xxxxxxxxxxxxxxxxxxx> wrote:
> Okay. You could try skipping that pci_write_config_byte() call. The
> following loop would probably time out, and you might find that the
> code crashes later on.
>
> You could also try setting try_handoff to 0 near the start of the
> routine. Your system plus the Comtrol PCI card could have the same
> sort of bug as reported in Bugzilla #77021.

I tried both of those options and the output was similar, here is the output
with try_handoff set to 0. In both cases the box then hangs on initializing
pstore. Excuse my ignorance on understanding how having the Comtrol
card present would effect the USB handoff, but would there be any
value in trying to boot this box via UEFI, rather than via the BIOS? Does
UEFI handle the handoff differently?

[ 11.391514] DEBUG: Passed quirk_usb_disable_ehci 945
[ 11.397250] DEBUG: Passed quirk_usb_disable_ehci 950
[ 11.402988] DEBUG: Passed quirk_usb_disable_ehci 958
[ 11.408724] DEBUG: Passed quirk_usb_disable_ehci 964
[ 11.414461] DEBUG: Passed quirk_usb_disable_ehci 968
[ 11.420197] DEBUG: Passed ehci_bios_handoff 849
[ 11.425448] DEBUG: Passed ehci_bios_handoff 889
[ 11.430699] DEBUG: Passed ehci_bios_handoff 902
[ 11.435952] DEBUG: Passed ehci_bios_handoff 918
[ 11.441203] DEBUG: Passed ehci_bios_handoff 926
[ 11.446455] DEBUG: Passed quirk_usb_disable_ehci 981
[ 11.452292] DEBUG: Passed quirk_usb_disable_ehci 1009
[ 11.458180] pci 0000:00:1d.0: quirk_usb_early_handoff+0x0/0x865
took 82350 usecs
[ 11.466568] pci 0000:01:00.0: calling quirk_e100_interrupt+0x0/0x1a0 @ 1
[ 11.474249] pci 0000:01:00.0: quirk_e100_interrupt+0x0/0x1a0 took 0 usecs
[ 11.481931] pci 0000:01:00.1: calling quirk_e100_interrupt+0x0/0x1a0 @ 1
[ 11.489612] pci 0000:01:00.1: quirk_e100_interrupt+0x0/0x1a0 took 0 usecs
[ 11.497296] pci 0000:03:00.0: calling quirk_blacklist_vpd+0x0/0x30 @ 1
[ 11.504783] pci 0000:03:00.0: [Firmware Bug]: disabling VPD access
(can't determine size of non-standard VPD format)
[ 11.516663] pci 0000:03:00.0: quirk_blacklist_vpd+0x0/0x30 took 11600 usecs
[ 11.524538] pci 0000:07:00.0: calling quirk_e100_interrupt+0x0/0x1a0 @ 1
[ 11.532219] pci 0000:07:00.0: quirk_e100_interrupt+0x0/0x1a0 took 0 usecs
[ 11.539901] pci 0000:07:00.1: calling quirk_e100_interrupt+0x0/0x1a0 @ 1
[ 11.547582] pci 0000:07:00.1: quirk_e100_interrupt+0x0/0x1a0 took 0 usecs
[ 11.555374] pci 0000:0b:00.0: calling pci_fixup_video+0x0/0x110 @ 1
[ 11.562797] pci 0000:0b:00.0: Video device with shadowed ROM at
[mem 0x000c0000-0x000dffff]
[ 11.572248] pci 0000:0b:00.0: pci_fixup_video+0x0/0x110 took 9453 usecs
[ 11.579991] Unpacking initramfs...
[ 11.923856] Freeing initrd memory: 22636K
[ 11.950050] PCI-DMA: Using software bounce buffering for IO (SWIOTLB)
[ 11.957345] software IO TLB: mapped [mem 0x76289000-0x7a289000] (64MB)
[ 11.967721] Initialise system trusted keyrings
[ 11.972908] workingset: timestamp_bits=40 max_order=27 bucket_order=0
[ 11.981517] zbud: loaded
[ 12.138528] Key type asymmetric registered
[ 12.143201] Asymmetric key parser 'x509' registered
[ 12.148754] Block layer SCSI generic (bsg) driver version 0.4
loaded (major 247)
[ 12.157245] io scheduler mq-deadline registered
[ 12.163318] pcieport 0000:00:01.0: Signaling PME with IRQ 25
[ 12.169926] pcieport 0000:00:02.0: Signaling PME with IRQ 26
[ 12.176519] pcieport 0000:00:03.0: Signaling PME with IRQ 27
[ 12.183109] pcieport 0000:00:03.2: Signaling PME with IRQ 28
[ 12.189678] pcieport 0000:00:1c.0: Signaling PME with IRQ 29
[ 12.196248] pcieport 0000:00:1c.4: Signaling PME with IRQ 30
[ 12.202833] pcieport 0000:00:1c.7: Signaling PME with IRQ 31
[ 12.212006] pcieport 0000:80:01.0: Signaling PME with IRQ 33
[ 12.218609] pcieport 0000:80:03.0: Signaling PME with IRQ 34
[ 12.225404] shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
[ 12.238133] ERST: Error Record Serialization Table (ERST) support
is initialized.
[ 12.246614] pstore: Registered erst as persistent store backend