PCI-X SSD on Linux kernel 4.X

Клонируем исходники с https://github.com/snuf/iomemory-vsl

и дальше выполняем (данные шаги так же описаны в документации на githab-страничке проекта)

sudo cp -r iomemory-vsl/root/usr/src/iomemory-vsl-3.2.15 /usr/src/
sudo mkdir -p /var/lib/dkms/iomemory-vsl/3.2.15/build
sudo ln -s /usr/src/iomemory-vsl-3.2.15 /var/lib/dkms/iomemory-vsl/3.2.10/source
sudo dkms build -m iomemory-vsl -v 3.2.15
sudo dkms install -m iomemory-vsl -v 3.2.15
sudo modprobe iomemory-vsl

После подгрузки модуля карточка видна:

# fio-status 
error: csr_init failed to map memory

Found 1 ioMemory device in this system
Driver version: 3.2.15 build 1700

Adapter: Single Adapter
        Fusion-io ioDrive 320GB, Product Number:FS1-004-320-CS, SN:51936, FIO SN:51936
        External Power: NOT connected
        PCIe Power limit threshold: 24.75W
        Connected ioMemory modules:
          fct0: SN:51208

fct0    Attached
        ioDIMM3 320GB MLC, SN:51208
        Located in slot 0 Center of Low-Profile ioDIMM Adapter SN:51936
        PCI:08:00.0, Slot Number:3
        Firmware v7.1.17, rev 116786 Public
        320.00 GBytes device size
        Internal temperature: 45.77 degC, max 45.77 degC
        Reserve space status: Healthy; Reserves: 100.00%, warn at 10.00%
        Contained VSUs:
          fioa: ID:0, UUID:b35cfe17-b538-4f07-bddb-662f60bf8687

fioa    State: Online, Type: block device
        ID:0, UUID:b35cfe17-b538-4f07-bddb-662f60bf8687
        320.00 GBytes device size

Примечание.

Может ввести в обман такой вывод:

# lspci | grep Fusion
01:00.0 SCSI storage controller: LSI Logic / Symbios Logic SAS1068E PCI-Express Fusion-MPT SAS (rev 08)
# lspci -s 01:00.0 -v
01:00.0 SCSI storage controller: LSI Logic / Symbios Logic SAS1068E PCI-Express Fusion-MPT SAS (rev 08)
        Subsystem: Dell SAS 6/iR Integrated RAID Controller
        Flags: bus master, fast devsel, latency 0, IRQ 16
        I/O ports at ec00 [size=256]
        Memory at de4fc000 (64-bit, non-prefetchable) [size=16K]
        Memory at de4e0000 (64-bit, non-prefetchable) [size=64K]
        Expansion ROM at de500000 [disabled] [size=1M]
        Capabilities: [50] Power Management version 2
        Capabilities: [68] Express Endpoint, MSI 00
        Capabilities: [98] MSI: Enable- Count=1/1 Maskable- 64bit+
        Capabilities: [b0] MSI-X: Enable- Count=1 Masked-
        Capabilities: [100] Advanced Error Reporting
        Kernel driver in use: mptsas
        Kernel modules: mptsas

где говорится, что драйвер нужен mptsas, хотя на самом деле это не так.

Добавить комментарий

Ваш адрес email не будет опубликован. Обязательные поля помечены *