1

On my ubuntu I am missing rescan files under /sys/bus/pci/devices/<B:D:F:>/ Does anyone know how to restore them? Can I simply copy them from /sys/bus/pci/rescan ?

  1. Ubuntu : 16.04.6 LTS
  2. Kernel: 5.4.14.050414-generic
  3. NVMe driver version: 1.0
User1990
  • 161
  • 11

1 Answers1

0

In Kernel 5.4 and later:

  • rescan in /sys/.../<domain:bus:dev.fn>/ was renamed dev_rescan (for PCI devices)
  • rescan in /sys/.../pci_bus/<domain:bus>/ was renamed bus_rescan

This caused application breakage and there is a proposed patch to revert the behaviour

Mikel Rychliski
  • 3,455
  • 5
  • 22
  • 29