Fusion-io ioDrive 2 1.2TB Reference Page

Bert

Active Member
Mar 31, 2018
224
102
43
42
With checkout of v5.6.0, make dpkg fails with a build error:

from /home/temp/Git/iomemory-vsl/driver_source/port-internal.h:62,
from /home/temp/Git/iomemory-vsl/driver_source/kblock.c:32:
/usr/src/linux-headers-4.19.0-16-common/include/linux/spinlock.h:377:57: note: expected ‘spinlock_t *’ {aka ‘struct spinlock *’} but argument is of type ‘spinlock_t **’ {aka ‘struct spinlock **’}
static __always_inline void spin_unlock_irq(spinlock_t *lock)
~~~~~~~~~~~~^~~~
/home/temp/Git/iomemory-vsl/driver_source/kblock.c: In function ‘kfio_disk_stat_write_update’:
/home/temp/Git/iomemory-vsl/driver_source/kblock.c:510:41: error: macro "part_stat_inc" requires 3 arguments, but only 2 given
part_stat_inc(&gd->part0, ios[1]);
^
/home/temp/Git/iomemory-vsl/driver_source/kblock.c:510:9: error: ‘part_stat_inc’ undeclared (first use in this function); did you mean ‘part_stat_show’?
part_stat_inc(&gd->part0, ios[1]);
^~~~~~~~~~~~~




and yes build-essential is already installed.

build-essential is already the newest version (12.6).
 

Bert

Active Member
Mar 31, 2018
224
102
43
42
I don't understand why this is happening. Is there something wrong with my sources or is it about the debian installation I have? Can someone else build the sources on a debian machine?
 

gb00s

Active Member
Jul 25, 2018
459
150
43
Malta
@Bert

Ok got it now with 4.19.0-16.

1. cd /home/temp/Git/ (delete iomemory-vsl directory)
2. git clone snuf/iomemory-vsl
3. cd iomemory-vsl
4. git checkout v4.20.1
5. cd root/usr/src/iomemory-vsl-3.2.16
6. make (takes some seconds)
7. insmod iomemory-vsl.ko (make sure you stay in directory /home/temp/Git/iomemory-vsl/root/usr/src/iomemory-vsl-3.2.16)
8. cd ../../../../
9. mkdir deb && cd deb (for the fio-utils etc.)

10. wget -O fio-common_3.2.16.1731-1.0_amd64.deb https://www.dropbox.com/s/pd2ohfaufhwqc34/fio-common_3.2.16.1731-1.0_amd64.deb?dl=1
11. wget -O fio-firmware-fusion_3.2.16.20180821-1_all.deb https://www.dropbox.com/s/kcn5agi6lyikicf/fio-firmware-fusion_3.2.16.20180821-1_all.deb?dl=1
12. wget -O fio-sysvinit_3.2.16.1731-1.0_all.deb https://www.dropbox.com/s/g39l6lg9of6eqze/fio-sysvinit_3.2.16.1731-1.0_all.deb?dl=1
13. wget -O fio-util_3.2.16.1731-1.0_amd64.deb https://www.dropbox.com/s/57huby17mteg6wp/fio-util_3.2.16.1731-1.0_amd64.deb?dl=1
14. dpkg -i *.deb (shoudl install all 4 packages from above)

A 'fio-status -a' should give you this ...

ioDrive2_install_debian_419016.png
Let me know if this worked for you?
 
Last edited:

Bert

Active Member
Mar 31, 2018
224
102
43
42
Ta-da!


Disk /dev/fioa: 768.3 GiB, 825000000000 bytes, 1611328125 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 32768 bytes
Disklabel type: gpt
Disk identifier: D4C83D6C-E9BF-4ADD-9263-A1304554D74A

Device Start End Sectors Size Type
/dev/fioa1 2048 1611327487 1611325440 768.3G Microsoft basic data


Thank you very much gb00s!
 
Last edited:
  • Like
Reactions: gb00s