Depmod issue: modules.order e module.built in não existem ao tentar instalar um .deb

2

Estou executando o servidor Ubuntu 16.04 LTS e estou no processo de instalar um driver para uma placa PCIE, mas tenho um problema em que diz o seguinte:

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) ...

Até agora eu tentei atualizar e atualizar e depmod -a. Nem trabalhei e não sei o que fazer.

Editar 1: informações adicionais 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

Editar 2: Mais informações 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

Editar 3:

É um ioDrive antigo do sandisk. Eu achei que estava no armazenamento, imagino que foi uma compra pelo administrador de TI anterior que nunca foi usada. É um Sandisk ioDrive . Estou testando para ver se ainda funciona e se é possível adicioná-lo a um dos meus servidores atuais.

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

Edições 4: Alguns erros que eu tenho tentando construir o pacote. Também não sei como ver a lista de dependências para a compilação.

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

Editar 5: Resultados da instalação do driver post de sudo lshw -c disk, armazenamento -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

Resultado do estado do fio:

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. 

Editar 6: Syslog relacionado:

(gnome-logs:3983): Gtk-WARNING **: GtkListBox with a model will ignore sort and filter functions
    
por fzlogic 25.06.2016 / 05:55

1 resposta

0

O melhor que pude encontrar é este, github.com/snuf/iomemory-vsl , mas como desenvolvedor mencionar, não é testado com os últimos kernels, último commit foi de 3 meses atrás, você pode querer experimentá-lo.

Dos erros que você obteve, parece que você tentou criar o pacote deb. Eu tentei como documentado no README, instalando o DKMS manualmente. Ele compila bem no 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

Verifique:

$ 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
...

Você também tem que dar o último passo, não tem como eu testar:

sudo modprobe iomemory-vsl

Existe outro repositório que tem as ferramentas adicionais: github.com/promisejohn/fio-driver .

Fazer o download & amp; instale o pacote 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

Verifique:

sudo fio-status
    
por user.dz 25.06.2016 / 20:11