web-dev-qa-db-fra.com

Problème Depmod: modules.order et module.built in n'existent pas lors de la tentative d'installation d'un fichier .deb

J'exécute le serveur Ubuntu 16.04 LTS et suis en train d'installer un pilote pour une carte PCIE, mais j'ai un problème qui indique ce qui suit:

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

Jusqu'à présent, j'ai essayé de mettre à jour et de mettre à niveau, et depmod -a. Ni ont travaillé et je ne sais pas quoi faire.

Edit 1: Informations complémentaires 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

Edit 2: Plus d'infos 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

Edit 3:

C'est un ancien ioDrive de sandisk. Je l'ai trouvé traîner dans le stockage, j'imagine que c'était un achat de l'administrateur informatique précédent qui n'avait jamais été utilisé. C'est un Sandisk ioDrive . Je teste pour voir si cela fonctionne toujours et s'il est possible de l'ajouter à l'un de mes serveurs actuels.

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

Edits 4: Quelques erreurs que j'ai eues en essayant de construire le paquet. De plus, je ne suis pas sûr de savoir comment consulter la liste des dépendances pour la construction.

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

Edit 5: Résultats de l’installation post-pilote de Sudo lshw-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

Résultat de 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. 

Edit 6: Syslog associé:

(gnome-logs:3983): Gtk-WARNING **: GtkListBox with a model will ignore sort and filter functions
2
fzlogic

Le meilleur que j'ai pu trouver est celui-ci, github.com/snuf/iomemory-vsl , mais comme le mentionne le développeur, il n'a pas été testé avec les derniers noyaux, le dernier commit datant de 3 mois, vous voudrez peut-être faire un essai.

D'après les erreurs que vous avez commises, il semble que vous ayez essayé de créer le paquet deb. J'ai essayé comme décrit dans le fichier LISEZMOI, l'installation manuelle sur DKMS. Il se construit bien dans 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

Vérifier:

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

Vous devez effectuer la dernière étape aussi, aucun moyen pour moi de tester:

Sudo modprobe iomemory-vsl

Il existe un autre référentiel qui dispose des outils supplémentaires: github.com/promisejohn/fio-driver .

Téléchargez et installez le paquet 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

Vérifier:

Sudo fio-status
0
user.dz