Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Apr 2020 21:41:54 +0200
From:      Miroslav Lachman <000.fbsd@quip.cz>
To:        Scott Long <scottl@samsco.org>
Cc:        Warner Losh <imp@bsdimp.com>, FreeBSD-Current <freebsd-current@freebsd.org>
Subject:   Re: PCIe NVME drives not detected on Dell R6515
Message-ID:  <fe25f330-979c-a1ea-6ca6-fce80e869f04@quip.cz>
In-Reply-To: <07B6763F-C23B-4B7C-B76A-26267AC35453@samsco.org>
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> <07B6763F-C23B-4B7C-B76A-26267AC35453@samsco.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Scott Long wrote on 04/17/2020 21:18:
> 
> 
>> On Apr 17, 2020, at 11:46 AM, Miroslav Lachman <000.fbsd@quip.cz> wrote:
>>
>> 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’s 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?
>>
>> Sorry for my late reply. Booting the Linux SystemRescueCd is too slow.
>>
>> lspci -tvv output is attached
>>
>> I tried to connect to SOL by SSH but it shows black screen only.
>>
>> lspci shows drives:
>>
>> Intel Corporation NVMe Datacenter SSD [3DNAND, Beta Rock Controller]
>>
>> Kind regards
>> Miroslav Lachman
>>
> 
> It looks like pcib12 and pcib13 in FreeBSD should be the bridges that have the NVMe devices behind them, but those devices aren’t showing up.  I don’t see any obvious code in linux to handle those bridges, so there must be something subtle that we’re missing in FreeBSD.  Maybe we’re 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

Printscreen attached.

Anything else I can provide?

Thank you
Miroslav Lachman



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?fe25f330-979c-a1ea-6ca6-fce80e869f04>