Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Jun 2022 11:34:50 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 264819] panic: pci_get_bus failed for pcib0 on bus legacy0, error = 2
Message-ID:  <bug-264819-227-eHc7yWxkqN@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-264819-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-264819-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D264819

Andriy Gapon <avg@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|New                         |Open

--- Comment #1 from Andriy Gapon <avg@FreeBSD.org> ---
It seems that mptable_pci_host_res_init() should not use pci_get_bus().
At minimum, it should use pcib_get_bus (note 'b') but it looks that the most
proper method would be legacy_get_picbus.

The same is true for mptable_hostb_probe().
pcib_get_bus works there because PCIB_IVAR_BUS happens (or is designed) to =
have
the same value as LEGACY_IVAR_PCIBUS.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-264819-227-eHc7yWxkqN>