Date: Tue, 27 Sep 2016 15:57:27 +0200 From: Borja Marcos <borjam@sarenet.es> To: Jan Henrik Sylvester <me@janh.de> Cc: FreeBSD-STABLE Mailing List <freebsd-stable@freebsd.org> Subject: Re: Status of PCIe Hotplug? Message-ID: <E9D08BBA-762D-4F27-A853-645764235209@sarenet.es> In-Reply-To: <791ee95b-ab4e-f07e-6b8d-0e0b6c49ceb0@janh.de> References: <D7E110DB-EF6D-41DD-8D69-A021422916FA@sarenet.es> <791ee95b-ab4e-f07e-6b8d-0e0b6c49ceb0@janh.de>
next in thread | previous in thread | raw e-mail | index | archive | help
> On 27 Sep 2016, at 15:48, Jan Henrik Sylvester <me@janh.de> wrote: >=20 > On 09/27/2016 12:16, Borja Marcos wrote: >> I have noticed that the GENERIC kernel in 11-STABLE includes the = PCI_HP option, and the >> hotplug bits seem to be present in the kernel, but I don=E2=80=99t = see any userland support for it. >>=20 >> Is it somewhat complete and in that case am I missing something? >=20 > I do not know kind of userland support you mean. I just tried: >=20 > Plugging in my USB 3.0 ExpressCard while 11.0 is running, the = controller > was detected and I was able to use USB devices with it. Great. Thanks :) I was hoping (and I assume it=E2=80=99s the ultimate goal of the = project) to be able to hot plug PCIe devices such as NVMe drives. On Solaris you can replace them provided you power them off previously = (there=E2=80=99s a command for that, =E2=80=9Chotplug=E2=80=9D). On FreeBSD I=E2=80=99ve tried using devctl but powering off, disabling a = device and enabling it again has led to a panic. Interestingly, I disabled nvme0 using devctl and "nvmecontrol devlist" = didn=E2=80=99t find any nvme controllers despite having 10 controllers and 10 drives. However, = the ZFS pool of 10=20 NVMe drives was working happily. Degraded of course, with one NVMe = missing. Borja.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E9D08BBA-762D-4F27-A853-645764235209>