Data Acquisition: Comedi Compatibility Issues?

Hi I’ve compilied the comedi kernel module using this guide from jetsonhacks:

https://www.jetsonhacks.com/2018/03/22/build-kernel-modules-nvidia-jetson-tx2-2/

I currently have comedilib installed and compiled some of their example programs. The correct driver is used for /dev/comedi0 however when I run any of these there is no output, and the bash instance freezes. I checked the output of dmesg and it contained this line:

[ 9.627985] comedi: module is from the staging directory, the quality is unknown, you have been warned.
[ 9.628691] comedi: version 0.7.76 - http://www.comedi.org
[ 9.630232] comedi_pci: module is from the staging directory, the quality is unknown, you have been warned.
[ 9.631796] comedi_8255: module is from the staging directory, the quality is unknown, you have been warned.
[ 9.633675] ni_tio: module is from the staging directory, the quality is unknown, yo
u have been warned.
[ 9.635493] mite: module is from the staging directory, the quality is unknown, you
have been warned.
[ 9.637141] ni_tiocmd: module is from the staging directory, the quality is unknown,
you have been warned.
[ 9.640587] ni_pcimio: module is from the staging directory, the quality is unknown,
you have been warned.
[ 9.641187] pci 0000:01:00.0: enabling device (0000 -> 0002)
[ 9.641199] pci 0000:01:00.0: enabling bus mastering
[ 9.641207] ni_pcimio 0000:02:04.0: enabling device (0000 -> 0002)
[ 9.641258] ni_pcimio 0000:02:04.0: enabling bus mastering
[ 9.641340] mite: version = 1, type = 4, mite mode = 1, interface mode = 3
[ 9.641342] mite: num channels = 8, write post fifo depth = 1, wins = 0, iowins = 2
[ 9.641363] comedi comedi0: fifo size is 64.
[ 9.678851] Unable to handle kernel paging request at virtual address 3ffffbcc22efe4
0
[ 9.678854] pgd = ffffffc1e3bb4000
[ 9.678858] [3ffffbcc22efe40] *pgd=0000000000000000, *pud=0000000000000000
[ 9.678862] Internal error: Oops: 96000004 [#1] PREEMPT SMP
[ 9.678877] Modules linked in: ni_pcimio(C+) ni_tiocmd© mite© ni_tio© comedi_8
255© comedi_pci© comedi© bcmdhd pci_tegra nfsd nfs_acl bluedroid_pm
[ 9.678883] CPU: 4 PID: 340 Comm: systemd-udevd Tainted: G C 4.4.38-teg
raFSAEv2 #2

I’m currently using an NI-6220 -> pci/pcie adapter -> jetson tx2.

Any help would be appreciated thanks in advance.