我正在运行 Ubuntu 服务器 16.04 LTS,并且正在安装 PCIE 卡的驱动程序,但是我遇到了以下问题:
depmod: WARNING: could not open /lib/modules/3.13.0-24-generic/modules.order: No such file or directory
depmod: WARNING: could not open /lib/modules/3.13.0-24-generic/modules.builtin: No such file or directory
Processing triggers for libc-bin (2.23-0ubuntu3) ...
到目前为止,我已尝试更新和升级以及 depmod -a。两者都不起作用,我不知道该怎么办。
编辑1:附加信息uname -a; lsb_release -sd; apt-cache policy linux-generic
Linux saber 4.4.0-24-generic #43-Ubuntu SMP Wed Jun 8 19:27:37 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
Ubuntu 16.04 LTS
linux-generic:
Installed: 4.4.0.24.25
Candidate: 4.4.0.24.25
Version table:
*** 4.4.0.24.25 500
500 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages
500 http://security.ubuntu.com/ubuntu xenial-security/main amd64 Packages
100 /var/lib/dpkg/status
4.4.0.21.22 500
500 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 Packages
编辑2:更多信息ls /boot/*-generic
/boot/abi-4.4.0-21-generic
/boot/config-4.4.0-21-generic
/boot/initrd.img-4.4.0-21-generic
/boot/System.map-4.4.0-21-generic
/boot/vmlinuz-4.4.0-21-generic
/boot/abi-4.4.0-24-generic
/boot/config-4.4.0-24-generic
/boot/initrd.img-4.4.0-24-generic
/boot/System.map-4.4.0-24-generic
/boot/vmlinuz-4.4.0-24-generic
编辑3:
这是 sandisk 的旧款 ioDrive。我发现它放在存储中,我想这是前任 IT 管理员购买的,但从未使用过。这是Sandisk ioDrive。我正在测试它是否仍然有效,以及是否可以将其添加到我当前的服务器之一。
sudo lshw -c disk,storage -sanitize
*-storage UNCLAIMED
description: Mass storage controller
product: ioDrive
vendor: SanDisk
physical id: 0
bus info: pci@0000:05:00.0
version: 04
width: 32 bits
clock: 33MHz
capabilities: storage pm msi pciexpress bus_master cap_list
configuration: latency=0
resources: memory:feaf0000-feafffff
*-storage
description: RAID bus controller
product: SATA Controller [RAID mode]
vendor: Intel Corporation
physical id: 1f.2
bus info: pci@0000:00:1f.2
version: 02
width: 32 bits
clock: 66MHz
capabilities: storage msi pm bus_master cap_list
configuration: driver=ahci latency=0
resources: irq:29 ioport:d880(size=8) ioport:d800(size=4) ioport:d480(size=8) ioport:d400(size=4) ioport:d080(size=32) memory:fe7ff000-fe7ff7ff
*-scsi
physical id: 1
logical name: scsi1
capabilities: emulated
*-disk
description: ATA Disk
product: WDC WD6400AAKS-6
vendor: Western Digital
physical id: 0.0.0
bus info: scsi@1:0.0.0
logical name: /dev/sda
version: 3B01
serial: [REMOVED]
size: 596GiB (640GB)
capabilities: partitioned partitioned:dos
configuration: ansiversion=5 logicalsectorsize=512 sectorsize=512 signature=7f12a981
编辑4:我在尝试构建包时遇到了一些错误。另外,我不确定如何查看构建的依赖项列表。
dh_install --sourcedir=root --fail-missing -X/usr/share/doc/iomemory-vsl
dh_install: iomemory-vsl-source missing files: usr/src/iomemory-vsl-3.2.10/iomemory-vsl.mod.c
dh_install: iomemory-vsl-source missing files: usr/src/iomemory-vsl-3.2.10/iomemory-vsl.mod.c
dh_install: iomemory-vsl-source missing files: usr/src/iomemory-vsl-3.2.10/kfio/.x86_64_cc52_libkfio.o.cmd
dh_install: iomemory-vsl-source missing files: usr/src/iomemory-vsl-3.2.10/kfio/x86_64_cc52_libkfio.o_shipped
dh_install: usr/src/iomemory-vsl-3.2.10/kfio/.x86_64_cc53_libkfio.o.cmd exists in root but is not installed to anywhere
dh_install: usr/src/iomemory-vsl-3.2.10/kfio/x86_64_cc53_libkfio.o_shipped exists in root but is not installed to anywhere
编辑5:sudo lshw -c disk,storage -sanitize 的驱动程序安装后结果
*-storage
description: Mass storage controller
product: ioDrive
vendor: SanDisk
physical id: 0
bus info: pci@0000:05:00.0
version: 04
width: 32 bits
clock: 33MHz
capabilities: storage pm msi pciexpress bus_master cap_list
configuration: driver=iodrive latency=0
resources: irq:31 memory:feaf0000-feafffff
*-usb
description: Mass storage device
product: Cruzer Glide
vendor: SanDisk
physical id: 3
bus info: usb@1:3
logical name: scsi6
version: 1.27
serial: [REMOVED]
capabilities: usb-2.00 scsi emulated scsi-host
configuration: driver=usb-storage maxpower=200mA speed=480Mbit/s
*-disk
description: SCSI Disk
product: Cruzer Glide
vendor: SanDisk
physical id: 0.0.0
bus info: scsi@6:0.0.0
logical name: /dev/sdb
version: 1.27
serial: [REMOVED]
size: 14GiB (16GB)
capabilities: partitioned partitioned:dos
configuration: ansiversion=6 logicalsectorsize=512 sectorsize=512 signature=0717f938
*-storage
description: RAID bus controller
product: SATA Controller [RAID mode]
vendor: Intel Corporation
physical id: 1f.2
bus info: pci@0000:00:1f.2
version: 02
width: 32 bits
clock: 66MHz
capabilities: storage msi pm bus_master cap_list
configuration: driver=ahci latency=0
resources: irq:30 ioport:d880(size=8) ioport:d800(size=4) ioport:d480(size=8) ioport:d400(size=4) ioport:d080(size=32) memory:fe7ff000-fe7ff7ff
*-scsi
physical id: 1
logical name: scsi1
capabilities: emulated
*-disk
description: ATA Disk
product: WDC WD6400AAKS-6
vendor: Western Digital
physical id: 0.0.0
bus info: scsi@1:0.0.0
logical name: /dev/sda
version: 3B01
serial: [REMOVED]
size: 596GiB (640GB)
capabilities: partitioned partitioned:dos
configuration: ansiversion=5 logicalsectorsize=512 sectorsize=512 signature=7f12a981
fio-status 的结果:
Found 1 ioMemory device in this system
Driver version: 3.2.10 build 1509
Adapter: Single Controller Adapter
Fusion-io ioDrive 1.205TB, Product Number:XXXXXXXXXXXXXX, SN:XXXXXXXXXXXXXXX, FIO SN:XXXXXXXXXXXXXX
External Power: NOT connected
PCIe Power limit threshold: 24.75W
Connected ioMemory modules:
fct0: Product Number:XXXXXXXXXX, SN:XXXXXXXXXXXX
fct0 Status unknown: Driver is in MINIMAL MODE:
The firmware on this device is not compatible with the currently installed version of the driver
ioDrive Adapter Controller, Product Number:XXXXXXXXXXXXXXX, SN:XXXXXXXXXXXXXXXXX
!! ---> There are active errors or warnings on this device! Read below for details.
Located in slot 0 Center of ioDrive Adapter Controller SN:XXXXXXXXXXX
PCI:05:00.0
Firmware v6.0.0, rev 105902 Public
Geometry and capacity information not available.
Internal temperature: 70.38 degC, max 70.87 degC
ACTIVE WARNINGS:
The bandwidth of the PCI slot is not optimal for the ioMemory.
The ioMemory is currently running in a minimal state.
编辑6: 相关系统日志:
(gnome-logs:3983): Gtk-WARNING **: GtkListBox with a model will ignore sort and filter functions
答案1
我能找到的最好的是这个,github.com/snuf/iomemory-vsl,但正如开发人员提到的,它没有用最新的内核进行测试,最后一次提交是在 3 个月前,您可能想尝试一下。
从您收到的错误来看,您似乎尝试过构建 deb 包。我按照 README 中的说明尝试手动安装到 DKMS。它在 Ubuntu 16.04 (VBox) 中构建得很好。
sudo apt install linux-generic dkms git
git clone https://github.com/snuf/iomemory-vsl.git
sudo cp -r iomemory-vsl/root/usr/src/iomemory-vsl-3.2.10 /usr/src/
sudo mkdir -p /var/lib/dkms/iomemory-vsl/3.2.10/build
sudo ln -s /usr/src/iomemory-vsl-3.2.10 /var/lib/dkms/iomemory-vsl/3.2.10/source
sudo dkms build -m iomemory-vsl -v 3.2.10
sudo dkms install -m iomemory-vsl -v 3.2.10
查看:
$ dkms status
iomemory-vsl, 3.2.10, 4.4.0-24-generic, x86_64: installed
virtualbox-guest, 5.0.18, 4.4.0-24-generic, x86_64: installed
...
您还必须完成最后一步,我无法测试:
sudo modprobe iomemory-vsl
还有另一个存储库包含附加工具:github.com/promisejohn/fio-driver。
下载并安装 deb 包
wget https://github.com/promisejohn/fio-driver/raw/master/utils/fio-util_3.2.10.1509-1.0_amd64.deb
sudo dpkg -i fio-util_3.2.10.1509-1.0_amd64.deb
查看:
sudo fio-status