All of lore.kernel.org
 help / color / mirror / Atom feed
From: Bjorn Helgaas <helgaas@kernel.org>
To: Ron Murray <rjmx@rjmx.net>
Cc: linux-pci@vger.kernel.org
Subject: Re: PCI device appears intermittently
Date: Tue, 2 Apr 2019 08:09:25 -0500	[thread overview]
Message-ID: <20190402130925.GC141706@google.com> (raw)
In-Reply-To: <06ca8af7-46e3-2769-cce0-48596ce99211@rjmx.net>

On Thu, Mar 28, 2019 at 09:22:03PM -0400, Ron Murray wrote:
> I have an ASRock 970A-G/3.1 motherboard, which, with current Linux
> kernels, occasionally "finds" an extra PCI device on the initial
> scan.

Hmmm, I don't have any good ideas.  You mention "current" kernels.  Is
this a regression?  If there is an earlier kernel that never finds
this extra device, it's possible we could find the problem by
bisecting.  It's a little harder with intermittent problems like this,
though.

Is there any rhyme or reason to when the problem occurs?  Do you dual
boot with Windows?  Does it happen after an unusual shutdown (crash,
oops, etc)?  Is there anything connected to that port?

Can you collect the output of "sudo lspci -vvv" and the dmesg logs for
successful and failing boots?  Maybe attach them to a
bugzilla.kernel.org entry.

> I wouldn't mind, but it finds it early in the piece, and that
> changes the PCI allocation of my Ethernet board from 02:06.0 to
> 03:06.0, and, with systemd, Linux comes up with no network
> connection. A reboot fixes it, mostly.
> 
> Here's the first few lines of 'lspci' when Linux doesn't find the
> extra device
> 
> > 00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD/ATI] RD9x0/RX980 Host Bridge (rev 02) 
> > 00:00.2 IOMMU: Advanced Micro Devices, Inc. [AMD/ATI] RD890S/RD990 I/O Memory Management Unit (IOMMU)
> > 00:02.0 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] RD890/RD9x0/RX980 PCI to PCI bridge (PCI Express GFX port 0)
> > 00:11.0 SATA controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 SATA Controller [AHCI mode] (rev 40) 
> 
> and here's the same thing when it does:
> 
> > 00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD/ATI] RD9x0/RX980 Host Bridge (rev 02)
> > 00:00.2 IOMMU: Advanced Micro Devices, Inc. [AMD/ATI] RD890S/RD990 I/O Memory Management Unit (IOMMU)
> > 00:02.0 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] RD890/RD9x0/RX980 PCI to PCI bridge (PCI Express GFX port 0)
> > 00:09.0 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] RD890/RD9x0/RX980 PCI to PCI bridge (PCI Express GPP Port 4)
> > 00:11.0 SATA controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 SATA Controller [AHCI mode] (rev 40)
> > 00:12.0 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB OHCI0 Controller 
> 
> The 00:09.0 device is the extra one. Anything else I can provide to assist?

  reply	other threads:[~2019-04-02 13:09 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-03-29  1:22 PCI device appears intermittently Ron Murray
2019-04-02 13:09 ` Bjorn Helgaas [this message]
2019-04-05 14:10   ` Bjorn Helgaas

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190402130925.GC141706@google.com \
    --to=helgaas@kernel.org \
    --cc=linux-pci@vger.kernel.org \
    --cc=rjmx@rjmx.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.