Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp663579yba; Fri, 5 Apr 2019 14:34:52 -0700 (PDT) X-Google-Smtp-Source: APXvYqzYwkv0y05AMAl4QVEVBLlMB9+QbylKPkrJe7hY95ByZjm2umVmAgcpfex65B7nL4BptEou X-Received: by 2002:a62:ab12:: with SMTP id p18mr14855192pff.216.1554500092024; Fri, 05 Apr 2019 14:34:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554500092; cv=none; d=google.com; s=arc-20160816; b=MGQpQExt3pVfaZorc6zlxSKQi3xO5YUgGlsF/K2RgOglbyVT86QeC1rIQz/wNVxgWx WTp5eUoUCtymlBgJOvNYEweW66pJEktC+z8TFzAOr1sFzDAZxUEHfiFwK2YZ6l8oLJ1G fyjRLAmna+tH+eF0TQPi6lyigr2i9YbFiJGv6cmPAW0SWte54K4yZnF5i7GQvT4EPzbQ ScnZXzlG/HYx8yHgNSpR4OBsz8/bpMAlQQ6vrgsy32E0AC0WLArXxVg//Ep+kD3mnNxb 8Ld8zaNY2gIH4J6glPeoHCDlALoM+IiuPnuENMXq4IVXCNYsBQBw8Kf8/sT1NxkLu2m6 B6KA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=NyvK4CkZko+1ZyXXLKPTfOXhwHWsjBk4NGNi5kyz4ww=; b=fcLQ0lql/lV+UFjpt0MxbnXTKh3cgXrT7nfFlA3SPVrehejBbjhcOgBpfTbirIBdVx fFIXo2MCrxy7t6wXN2HVM7Eqo//CIS8nEHDoywzszOH9j1Oyx6XWw4PKT9JYZeg1edKD 6y8YtBR5plz3kBd0CfDi7XLjPleJHP8cJ/Ejol2JKyBPTemzf1XxCj7e38ESPli3afMg jeUqzQDZNHBmrYoCDL/dIcyRIe3xxLnrhd0BSFzXy5mNcNFgD2lPzJEmHbrJdhhVu+mr 3Fkli6JiRdLLyzD7vX8I4zE7uvmd6jPidc1oXynKiNN2QR9XTQepBgpO7nVAzOs600F1 gymg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mbuki-mvuki-org.20150623.gappssmtp.com header.s=20150623 header.b=O2iDRTx2; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 190si19788323pgj.123.2019.04.05.14.34.36; Fri, 05 Apr 2019 14:34:52 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@mbuki-mvuki-org.20150623.gappssmtp.com header.s=20150623 header.b=O2iDRTx2; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726494AbfDEVdH (ORCPT + 99 others); Fri, 5 Apr 2019 17:33:07 -0400 Received: from mail-wr1-f51.google.com ([209.85.221.51]:38816 "EHLO mail-wr1-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725973AbfDEVdH (ORCPT ); Fri, 5 Apr 2019 17:33:07 -0400 Received: by mail-wr1-f51.google.com with SMTP id k11so9599930wro.5 for ; Fri, 05 Apr 2019 14:33:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mbuki-mvuki-org.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=NyvK4CkZko+1ZyXXLKPTfOXhwHWsjBk4NGNi5kyz4ww=; b=O2iDRTx2YqKVdqsXf/hpIVGmWx1FL0Mnjf0ZmwXLxDgXD/BvYDgJHorj3Y0ZQatMfV G+xz5D8lmKF7hn6cywb0gThedPnuxLwaMybU1zzFjzuKk8LF4S65ly7tNOkOBC3jJVzA xChQink66guhFbwqQ9aNIahLCmszemWpHhI0Qo+MllBz6jbRLCVVGBEyBv9ftZn6KUx4 6iY9Oz6ByjLF/lo3VWjXosUPW9onHbJwwYtxWaEcIRdSMSUrZIc8qIFsWCUn9CnX5tLF owR8n7VIgyXT1vS6zTAETU5HCXKQnUmw3OivIve/QX4iNL02UsVCU5kzKGqGimRlc8Tc 0IPA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=NyvK4CkZko+1ZyXXLKPTfOXhwHWsjBk4NGNi5kyz4ww=; b=T2PnBdMne6qsh7LMstbZjFoo9J0itkxqV5m44kGNVHwBGw3LJE9G1IeBgpAtJMY63F OGz/kXJzK+RiVXXjJVjz1oK55Cl4182Tp5y0iNUtmQAtRdfQ0jjCboEuGcm60Oq58Mti Cj7Ye3iWbeuu26v+a16Is79C4qatXq7rmygMLqQ1Hl7lXpSfcuNiHt2j1SL29BaiWxW3 XqnjDx+5aFrqhKgTHEtwxTgYhr3n96Dk26pbDmyK1rYBjfRHHn3x9q6jRyeYP3AMZTAO 613d7XonXqlHjn5UJKaom10W1nt0z/g0f6JDmvR2RJbhMO4wSp0ov2qB2B/BCf+Bvr2X 8oPg== X-Gm-Message-State: APjAAAXNMfT4gGSpPwizjZXmxh7QbcI6e3LLnNoLxJI82Dc9UCLX/Zgw Nq6+uYeUD+P+G3rQulooi5be761ndCvWuKAwVFGfLQ== X-Received: by 2002:a5d:6406:: with SMTP id z6mr10523988wru.266.1554499637318; Fri, 05 Apr 2019 14:27:17 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Jesse Hathaway Date: Fri, 5 Apr 2019 16:27:06 -0500 Message-ID: Subject: Re: Regression causes a hang on boot with a Comtrol PCI card To: Alan Stern Cc: Bjorn Helgaas , Ingo Molnar , Peter Zijlstra , linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org, Mathias Nyman , Greg Kroah-Hartman , linux-usb@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Apr 4, 2019 at 2:14 PM Alan Stern 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