Code Block | ||||
---|---|---|---|---|
| ||||
[root@8101 ~]# uname -a Linux 8101 3.10.0-327.22.2.el7.x86_64 #1 SMP Thu Jun 23 17:05:11 UTC 2016 x86_64 x86_64 x86_ [root@8101 ~]# cat /etc/redhat-release CentOS Linux release 7.2.1511 (Core) [root@8101 ~]# [root@8101 x86_64]# rpm -Uv dkms-2.2.0.3-28.git.7c3e7c5.el7.noarch.rpm warning: dkms-2.2.0.3-28.git.7c3e7c5.el7.noarch.rpm: Header V3 RSA/SHA256 Signature, key ID Preparing packages... dkms-2.2.0.3-28.git.7c3e7c5.el7.noarch [root@8101 x86_64]# rpm -Uv spd-adq-pci-dkms-1.21-1.noarch.rpm Preparing packages... spd-adq-pci-dkms-0:1.21-1.noarch Loading new spd-adq-pci-1.21 DKMS files... Building for 3.10.0-327.22.2.el7.x86_64 Building initial module for 3.10.0-327.22.2.el7.x86_64 Done. spd_adq_pci: Running module version sanity check. - Original module - No original module exists within this kernel - Installation - Installing to /lib/modules/3.10.0-327.22.2.el7.x86_64/extra/ Adding any weak-modules depmod... DKMS: install completed. [root@8101 x86_64]# rpm -Uv libadq0-0.65383-8.1.x86_64.rpm warning: libadq0-0.65383-8.1.x86_64.rpm: Header V3 DSA/SHA1 Signature, key ID 6e9e877a: NOKE Preparing packages... libadq0-0.65383-8.1.x86_64 [root@8101 x86_64]# rpm -Uv adqtools-0.65395-7.2.x86_64.rpm warning: adqtools-0.65395-7.2.x86_64.rpm: Header V3 DSA/SHA1 Signature, key ID 6e9e877a: NOK Preparing packages... adqtools-0.65395-7.2.x86_64 [root@8101 x86_64]# |
Code Block | ||||
---|---|---|---|---|
| ||||
[root@8101 simple_example]# pwd /root/digitizer/tests/simple_example [root@8101 simple_example]# ls ADQAPI_simple_example.c Makefile [root@8101 simple_example]# [root@8101 simple_example]# make g++ -DLINUX -o adqapisimpleexample ADQAPI_simple_example.c -ladq /usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/libadq.so: undefined reference to `libusb_set_auto_detach_kernel_driver' collect2: error: ld returned 1 exit status make: *** [adqapisimpleexample] Error 1 [root@8101 simple_example]# |
Code Block | ||||
---|---|---|---|---|
| ||||
[root@8101 notes]# rpm -qa | grep adq adqtools-0.65395-7.2.x86_64 libadq0-0.65383-8.1.x86_64 spd-adq-pci-dkms-1.21-1.noarch [root@8101 notes]# rpm -qa | grep dkms dkms-2.2.0.3-28.git.7c3e7c5.el7.noarch spd-adq-pci-dkms-1.21-1.noarch [root@8101 notes]# |
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
[ 2.070151] pci_bus 0000:64: resource 4 [io 0x8000-0xbfff]
[ 2.070153] pci_bus 0000:64: resource 5 [mem 0xc6000000-0xe0ffffff]
[ 2.070154] pci_bus 0000:64: resource 6 [mem 0x380080000000-0x3800bfffffff]
[ 2.070179] pci 0000:b5:00.0: BAR 7: no space for [mem size 0x00800000 64bit pref]
[ 2.078130] pci 0000:b5:00.0: BAR 7: failed to assign [mem size 0x00800000 64bit pref]
[ 2.086428] pci 0000:b5:00.1: BAR 7: no space for [mem size 0x00800000 64bit pref]
[ 2.094378] pci 0000:b5:00.1: BAR 7: failed to assign [mem size 0x00800000 64bit pref]
[ 2.102677] pci 0000:b5:00.0: BAR 10: no space for [mem size 0x00100000 64bit pref]
[ 2.110720] pci 0000:b5:00.0: BAR 10: failed to assign [mem size 0x00100000 64bit pref]
[ 2.119107] pci 0000:b5:00.1: BAR 10: no space for [mem size 0x00100000 64bit pref]
[ 2.127143] pci 0000:b5:00.1: BAR 10: failed to assign [mem size 0x00100000 64bit pref]
[ 2.135524] pci 0000:b4:03.0: PCI bridge to [bus b5]
[ 2.140732] pci 0000:b4:03.0: bridge window [mem 0xfbd00000-0xfbdfffff]
[ 2.147769] pci 0000:b4:03.0: bridge window [mem 0xf9000000-0xfb0fffff 64bit pref]
[ 2.155894] pci 0000:b3:00.0: PCI bridge to [bus b4-b5]
[ 2.161366] pci 0000:b3:00.0: bridge window [mem 0xfbd00000-0xfbdfffff]
[ 2.168396] pci 0000:b3:00.0: bridge window [mem 0xf9000000-0xfb0fffff 64bit pref]
[ 2.176531] pci 0000:b2:00.0: PCI bridge to [bus b3-b5]
[ 2.182007] pci 0000:b2:00.0: bridge window [mem 0xfbc00000-0xfbefffff]
[ 2.189038] pci 0000:b2:00.0: bridge window [mem 0xf9000000-0xfb0fffff 64bit pref]
[ 2.197162] pci_bus 0000:b2: Some PCI device resources are unassigned, try booting with pci=realloc
[ 2.206594] pci_bus 0000:b2: resource 4 [io 0xc000-0xffff]
[ 2.206596] pci_bus 0000:b2: resource 5 [mem 0xe1000000-0xfbffffff]
[ 2.206598] pci_bus 0000:b2: resource 6 [mem 0x3800c0000000-0x3800ffffffff]
[ 2.206600] pci_bus 0000:b3: resource 1 [mem 0xfbc00000-0xfbefffff]
[ 2.206601] pci_bus 0000:b3: resource 2 [mem 0xf9000000-0xfb0fffff 64bit pref]
[ 2.206603] pci_bus 0000:b4: resource 1 [mem 0xfbd00000-0xfbdfffff]
[ 2.206605] pci_bus 0000:b4: resource 2 [mem 0xf9000000-0xfb0fffff 64bit pref]
[ 2.206607] pci_bus 0000:b5: resource 1 [mem 0xfbd00000-0xfbdfffff]
[ 2.206608] pci_bus 0000:b5: resourcej2 [mem 0xf9000000-0xfb0fffff 64bit pref] |