Date: Fri, 17 Apr 2020 13:18:20 -0600 From: Scott Long <scottl@samsco.org> To: Miroslav Lachman <000.fbsd@quip.cz> Cc: Warner Losh <imp@bsdimp.com>, FreeBSD-Current <freebsd-current@freebsd.org> Subject: Re: PCIe NVME drives not detected on Dell R6515 Message-ID: <07B6763F-C23B-4B7C-B76A-26267AC35453@samsco.org> In-Reply-To: <573f5fab-1ef6-151f-18ca-58d3a4a89c72@quip.cz> References: <bc00d2f4-d281-e125-3333-65f38da20817@quip.cz> <0F8BCB8C-DE60-4A34-A4D8-F1BB4B9F906A@samsco.org> <CANCZdfprct8pELBaev=Ub3sXb_JRx9xovUhzxDpSwY2rXfMtrg@mail.gmail.com> <9EF043C1-FF8F-4997-B59A-EC3BF7D1CEEE@samsco.org> <31E8B2BE-BED2-4084-868D-32C48CB3CD6E@samsco.org> <573f5fab-1ef6-151f-18ca-58d3a4a89c72@quip.cz>
next in thread | previous in thread | raw e-mail | index | archive | help
> On Apr 17, 2020, at 11:46 AM, Miroslav Lachman <000.fbsd@quip.cz> = wrote: >=20 > Scott Long wrote on 04/17/2020 18:17: >> You are correct about Intel vs AMD. Comparing the full output of = pciconf from FreeBSD with the fragment of lspci from Linux suggests that = there=E2=80=99s at least one set of a PCIe switch and child devices that = is not being enumerated by FreeBSD. Can you send the full output of = `lspci -tvv` from linux? >=20 > Sorry for my late reply. Booting the Linux SystemRescueCd is too slow. >=20 > lspci -tvv output is attached >=20 > I tried to connect to SOL by SSH but it shows black screen only. >=20 > lspci shows drives: >=20 > Intel Corporation NVMe Datacenter SSD [3DNAND, Beta Rock Controller] >=20 > Kind regards > Miroslav Lachman >=20 It looks like pcib12 and pcib13 in FreeBSD should be the bridges that = have the NVMe devices behind them, but those devices aren=E2=80=99t = showing up. I don=E2=80=99t see any obvious code in linux to handle = those bridges, so there must be something subtle that we=E2=80=99re = missing in FreeBSD. Maybe we=E2=80=99re having trouble enumerating = above PCI bus 128? I think that was a problem a few years ago but I = also thought it was fixed. Can you do the following in FreeBSD: pciconf -lBc pcib12 pciconf -lBc pcib13 Thanks, Scott
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?07B6763F-C23B-4B7C-B76A-26267AC35453>