Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 May 2020 20:11:42 +0200
From:      Miroslav Lachman <000.fbsd@quip.cz>
To:        Scott Long <scottl@samsco.org>
Cc:        Kurt Jaeger <pi@freebsd.org>, Warner Losh <imp@bsdimp.com>, FreeBSD-Current <freebsd-current@freebsd.org>
Subject:   Re: PCIe NVME drives not detected on Dell R6515
Message-ID:  <6e6461d1-fbc4-c306-f71f-54767f2849cb@quip.cz>
In-Reply-To: <4736a46d-716d-7860-ff56-6c1d7391dbeb@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> <07B6763F-C23B-4B7C-B76A-26267AC35453@samsco.org> <fe25f330-979c-a1ea-6ca6-fce80e869f04@quip.cz> <20200417194431.GD39563@home.opsec.eu> <148dcdf7-f185-f14f-52ee-d4df3a2a1dc7@quip.cz> <8D8E1F62-AB66-47E1-8444-3D66F8EADA74@samsco.org> <c7fe1d15-a2f7-5aee-466e-a5444340c267@quip.cz> <F8D7C4AF-90D5-4997-B4C3-F7EDF4C787EE@samsco.org> <015c7aa8-9385-4219-1bf1-0137f65ed80d@quip.cz> <90C35FEF-690C-4D04-A0D8-D3E5A448C744@samsco.org> <4736a46d-716d-7860-ff56-6c1d7391dbeb@quip.cz>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2020-04-27 08:02, Miroslav Lachman wrote:
> I don't know what is with Scott. I hope he is well.
> Is there somebody else who can help me with this issue?
> Scott wrote there are hotplug PCIe buses not probed during boot process. 
> I am not a developer so I cannot move forward alone.

The problem is with PCIe Hot Plug.
Hot Plug bus was not enumerated thus no NVME detected.

Dan Lukes suggested (privately) to disable hot plugging by this at 
second stage loader prompt:

set hw.pci.enable_pcie_hp=0

Then I was able to boot FreeBSD installer ISO in BIOS mode (I don't know 
why but this machine is not able to boot FreeBSD ISO media in UEFI 
mode). Installer sees both NVME disks and installation was successful 
but it cannot boot - Dell R6515 in BIOS mode does not show NVME drives. 
Switching to UEFI boot shows disks but they didn't contained EFI 
partition boot code.
When I modified the partitions layout (remove swap, ad efi partition and 
swap again) it is now able to boot FreeBSD 11.3 amd64 in UEFI mode from 
NVME disks with Hot Plug disabled in loader.conf.

Can somebody look on to it why the bus is not probed when Hot Plug is 
enabled?

I have a few days to run some tests on this HW before it will go in to 
production.

Kind regards
Miroslav Lachman



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6e6461d1-fbc4-c306-f71f-54767f2849cb>