更具体一点内核dmesg存在:nvme nvme0:Device not ready: aborting initialisation, CSTS=0x0那么你就来...
00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir Device 24: Function 4 00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir Device 24: Function 5 00:18.6 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir Device 24: Function 6 00:18.7 Hos...
NVME_REG_CSTS, &csts)) == 0) { if ((csts & NVME_CSTS_RDY) == bit) break; msleep(100); if (fatal_signal_pending(current)) return -EINTR; if (time_after(jiffies, timeout)) { dev_err(ctrl->dev, "Device not ready; aborting %s\n", enabled ? "initialisation" : "reset"); re...
if (time_after(jiffies, timeout)) { //jiffies比timeout靠后返回1 dev_err(&dev->pci_dev->dev, "Device not ready; aborting initialisation\n"); return -ENODEV; } } return 0; } static int nvme_disable_ctrl(struct nvme_dev *dev, u64 cap) { u32 cc = readl(&dev->bar->cc); if...
(readl(&dev->bar->csts) & NVME_CSTS_RDY)) { msleep(100); if (fatal_signal_pending(current)) result = -EINTR; if (time_after(jiffies, timeout)) { dev_err(&dev->pci_dev->dev, "Device not ready; aborting initialisation\n"); result = -ENODEV; } } if (result) { nvme_free_...
3.938GB/s。目前,NVMe SSD最高搭载PCIe Gen4通路,其理论有效带宽为7.877GB/s。
[37315.433868] nvme nvme1: I/O 793 QID 1 timeout, aborting [37334.505837] nvme nvme1: I/O 988 QID 3 timeout, reset controller [37364.905876] nvme nvme1: I/O 20 QID 0 timeout, reset controller [37408.175812] nvme nvme1: Device not ready; aborting reset, CSTS=0x1 ...
(readl(&dev->bar->csts) & NVME_CSTS_RDY)) { msleep(100); if (fatal_signal_pending(current)) return -EINTR; if (time_after(jiffies, timeout)) { dev_err(&dev->pci_dev->dev, "Device not ready; aborting initialisation\n"); return -ENODEV; } } result = queue_request_irq(dev, ...