Debian
sata 熱插拔不工作
你能幫我理解一下,為什麼我的 SATA hotplug 不工作嗎?當我插入sata磁碟時,
lsblk
不會改變。只有我的系統盤/dev/sda
。我有Linux:
$ uname -a Linux Z170-D3H 4.9.0-3-amd64 #1 SMP Debian 4.9.25-1 (2017-05-02) x86_64 GNU/Linux
核心設置:
$ cat /boot/config-4.9.0-3-amd64 | grep 熱插拔
CONFIG_MEMORY_HOTPLUG=y CONFIG_MEMORY_HOTPLUG_SPARSE=y # CONFIG_MEMORY_HOTPLUG_DEFAULT_ONLINE is not set CONFIG_HOTPLUG_CPU=y # CONFIG_BOOTPARAM_HOTPLUG_CPU0 is not set # CONFIG_DEBUG_HOTPLUG_CPU0 is not set CONFIG_ARCH_ENABLE_MEMORY_HOTPLUG=y CONFIG_ACPI_HOTPLUG_CPU=y CONFIG_ACPI_HOTPLUG_MEMORY=y CONFIG_ACPI_HOTPLUG_IOAPIC=y CONFIG_HOTPLUG_PCI_PCIE=y CONFIG_HOTPLUG_PCI=y CONFIG_HOTPLUG_PCI_ACPI=y CONFIG_HOTPLUG_PCI_ACPI_IBM=m CONFIG_HOTPLUG_PCI_CPCI=y CONFIG_HOTPLUG_PCI_CPCI_ZT5550=m CONFIG_HOTPLUG_PCI_CPCI_GENERIC=m CONFIG_HOTPLUG_PCI_SHPC=m CONFIG_XEN_BALLOON_MEMORY_HOTPLUG=y CONFIG_XEN_BALLOON_MEMORY_HOTPLUG_LIMIT=512 # CONFIG_CPU_HOTPLUG_STATE_CONTROL is not set
$ cat /boot/config-4.9.0-3-amd64 | 握持SATA
CONFIG_SATA_ZPODD=y CONFIG_SATA_PMP=y CONFIG_SATA_AHCI=m # CONFIG_SATA_AHCI_PLATFORM is not set # CONFIG_SATA_INIC162X is not set CONFIG_SATA_ACARD_AHCI=m CONFIG_SATA_SIL24=m CONFIG_SATA_QSTOR=m CONFIG_SATA_SX4=m # SATA SFF controllers with BMDMA # CONFIG_SATA_DWC is not set CONFIG_SATA_MV=m CONFIG_SATA_NV=m CONFIG_SATA_PROMISE=m CONFIG_SATA_SIL=m CONFIG_SATA_SIS=m CONFIG_SATA_SVW=m CONFIG_SATA_ULI=m CONFIG_SATA_VIA=m CONFIG_SATA_VITESSE=m
$ cat /boot/config-4.9.0-3-amd64 | grep AHCI
CONFIG_SATA_AHCI=m # CONFIG_SATA_AHCI_PLATFORM is not set CONFIG_SATA_ACARD_AHCI=m
SATA控制器:
$ lspci | grep SATA 00:17.0 SATA controller: Intel Corporation Sunrise Point-H SATA controller [AHCI mode] (rev 31)
問題在於錯誤的 BIOS 配置。
解決方案*(對於我的主機板 Z170-D3H)*是轉到BIOS > Peripherals > SATA Configuration並在此處為每個 SATA 埠啟用**熱插拔選項。**然後保存設置並重新啟動電腦。
現在一切正常!