Bug 247676

Summary: nvme not detected when hot-adding new ebs to aws instance
Product: Base System Reporter: Vincent Milum Jr <freebsd>
Component: kernAssignee: freebsd-bugs (Nobody) <bugs>
Status: New ---    
Severity: Affects Some People CC: dgmorris, pat
Priority: ---    
Version: 12.1-RELEASE   
Hardware: amd64   
OS: Any   

Description Vincent Milum Jr 2020-07-01 03:47:43 UTC
On AWS, when hot adding an EBS volume to an EC2 instance, FreeBSD doesn't auto-detect the hot-add event.

Manually running "devctl rescan pci0" will detect the newly added device.

Rebooting the instance (which also forces a pci rescan at boot) will also work.


12.1-RELEASE-p6 GENERIC  amd64

FreeBSD 12.1-RELEASE-amd64-f5af2713-6d84-41f0-95ea-2eaee78f2af4-ami-0de268ac2498ba33d.4 - ami-05c3afd6554d42483

FreeBSD/amd64 releng/12.1@354233

Root Device Type: ebs Virtualization type: hvm

t3.small
Comment 1 dgmorris@earthlink.net 2023-02-19 18:10:01 UTC
I'm not sure if this was ever fixed for 12.1 -- but it is fixed in 13 at least by https://reviews.freebsd.org/D21948.