myo fail to build, and i'm not able to solve :S
Search Criteria
Package Details: mpss-daemon 3.8.1-1
Git Clone URL: | https://aur.archlinux.org/mpss.git (read-only, click to copy) |
---|---|
Package Base: | mpss |
Description: | mpssd and micctrl of Intel® Manycore Platform Software Stack |
Upstream URL: | https://software.intel.com/en-us/articles/intel-manycore-platform-software-stack-mpss |
Keywords: | coprocessor intel manycore mpss phi xeon |
Licenses: | |
Groups: | |
Submitter: | marcelhuber |
Maintainer: | image28 |
Last Packager: | marcelhuber |
Votes: | 4 |
Popularity: | 0.056713 |
First Submitted: | 2016-07-28 14:17 |
Last Updated: | 2017-02-10 09:36 |
Dependencies (5)
- mpss-boot-files
- mpss-libscif
- nfs-utils
- asciidoc (asciidoc-git) (make)
- libarchive (libarchive-git) (make)
Required by (0)
Sources (19)
- blacklist-mpss.conf
- dkms.conf
- http://registrationcenter-download.intel.com/akdlm/irc_nas/11194/mpss-3.8.1-k1om.tar
- http://registrationcenter-download.intel.com/akdlm/irc_nas/11194/mpss-3.8.1-linux.tar
- http://registrationcenter-download.intel.com/akdlm/irc_nas/11194/mpss-src-3.8.1.tar
- micmgmt.setup.py
- mpss-coi-gcc6-compilation.patch
- mpss-daemon-archlinux-extension.patch
- mpss-daemon-minimize-modules.patch
- mpss-daemon.service
- mpss-gen-symver-map-python3-compat.patch
- mpss-micmgmt-misleading-indent.patch
- mpss-micmgmt-remove-inline0.patch
- mpss-micmgmt-remove-inline1.patch
- mpss-micmgmt-whitespace.patch
- mpss-modules-explicit-coprocessor-build.patch
- mpss-modules-init-indent.patch
- mpss-modules-Makefile.patch
- mpss-modules-page-cache.patch
Latest Comments
sl1pkn07 commented on 2021-01-16 22:59
sl1pkn07 commented on 2021-01-13 18:17
works with clang if use the patch and add, for silence warnings, this in the pkgbuild
sed -e '/COIProcessLoadLibraryFromFile@@COI_1.0/d' \
-e '/COIProcessLoadLibraryFromMemory@@COI_1.0/d' \
-i mpss-coi/src/include/internal/coi_version_asm.h
but i'm not sure is the deal thing
greetings
sl1pkn07 commented on 2021-01-13 18:03
seems this patch and add -DCOI_LIBRARY_VERSION=2
diff --git mpss-coi/src/api/process/process_source.cpp.orig mpss-coi/src/api/process/process_source.cpp
old mode 100644
new mode 100755
index 5f83075..6459be6
--- mpss-coi/src/api/process/process_source.cpp.orig
+++ mpss-coi/src/api/process/process_source.cpp
@@ -407,6 +407,7 @@ end:
COILOG_FUNC_RETURN_RESULT(coi_result);
}
+#if COI_LIBRARY_VERSION >= 2
COIACCESSAPI
COIRESULT
SYMBOL_VERSION(COIProcessLoadLibraryFromMemory, 2)(
@@ -531,6 +532,7 @@ end:
COILOG_FUNC_RETURN_RESULT(coi_result);
}
+#else
// FIXME: Symbol versioning is not supported on Windows
COIACCESSAPI
COIRESULT
@@ -570,7 +572,9 @@ SYMBOL_VERSION(COIProcessLoadLibraryFromMemory, 1)(
COILOG_FUNC_RETURN_RESULT(coi_result);
}
+#endif
+#if COI_LIBRARY_VERSION >= 2
COIACCESSAPI
COIRESULT
SYMBOL_VERSION(COIProcessLoadLibraryFromFile, 2)(
@@ -625,6 +629,7 @@ end:
COILOG_FUNC_RETURN_RESULT(coi_result);
}
+#else
// FIXME: Symbol versioning not supported on windows.
COIACCESSAPI
COIRESULT
@@ -655,6 +660,7 @@ SYMBOL_VERSION(COIProcessLoadLibraryFromFile, 1)(
COILOG_FUNC_RETURN_RESULT(coi_result);
}
+#endif
COIACCESSAPI
COIRESULT
fix the first issue, but now i get:
{standard input}: Error: invalid attempt to declare external version name as default in symbol `COIEngineGetHostname@@COI_1.0'
:/. now ive try a older gcc...
greetings
sl1pkn07 commented on 2021-01-12 01:21
fixed with
-flto -flto-partition=none
in the CFLAGS
(https://github.com/alsa-project/alsa-lib/issues/6)
NOPE:
{standard input}: Assembler messages:
{standard input}: Error: multiple versions [`COIProcessLoadLibraryFromMemory@COI_2.0'|`COIProcessLoadLibraryFromMemory@COI_1.0'] for symbol `COIProcessLoadLibraryFromMemory'
lto-wrapper: fatal error: g++ returned 1 exit status
compilation terminated.
/usr/bin/ld: error: lto-wrapper failed
collect2: error: ld returned 1 exit status
:/
sl1pkn07 commented on 2021-01-12 00:59
$CC_FLAGS is -fPIC -O3 -D"COI_LIB_VERSION=0" -D"COI_DAEMON_ARCH=x86_64" -g -DNDEBUG -Isrc/include/ -march=native -O2 -pipe -fno-plt -I/tmp/makepkg/mpss/src/fakeroot/usr/include -DMPSS_COMMIT=\"'1f02b0c692006bd79865b0d13090c672d5dec65d'\" -DMPSS_VERSION=\"'3.8.1-1'\" -DMPSS_BUILDNO=\"'0'\" -DMPSS_BUILTBY=\"'sl1pkn07@sL1pKn07'\" -DMPSS_BUILTON=\"'2021-01-12 01:58:29 +0100'\" -Wall -pthread -fexceptions -fstack-protector -D_FORTIFY_SOURCE=2 -D"COIHOST"
$CFLAGS is -march=native -O2 -pipe -fno-plt
$TRANSPORT_FLAGS is
none of transport layers selected, fallback to SCIF
$CC_FLAGS is set to -fPIC -O3 -D"COI_LIB_VERSION=0" -D"COI_DAEMON_ARCH=x86_64" -g -DNDEBUG -Isrc/include/ -march=native -O2 -pipe -fno-plt -I/tmp/makepkg/mpss/src/fakeroot/usr/include -DMPSS_COMMIT=\"'1f02b0c692006bd79865b0d13090c672d5dec65d'\" -DMPSS_VERSION=\"'3.8.1-1'\" -DMPSS_BUILDNO=\"'0'\" -DMPSS_BUILTBY=\"'sl1pkn07@sL1pKn07'\" -DMPSS_BUILTON=\"'2021-01-12 01:58:29 +0100'\" -Wall -pthread -fexceptions -fstack-protector -D_FORTIFY_SOURCE=2 -D"COIHOST" "-DTRANSPORT_SCIF"
$LD_FLAGS is set to -pthread -ldl -lrt -Wl,-z,relro,-z,now -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now "-lscif"
cc -fPIC -O3 -D"COI_LIB_VERSION=0" -D"COI_DAEMON_ARCH=x86_64" -g -DNDEBUG -Isrc/include/ -march=native -O2 -pipe -fno-plt -I/tmp/makepkg/mpss/src/fakeroot/usr/include -DMPSS_COMMIT=\"'1f02b0c692006bd79865b0d13090c672d5dec65d'\" -DMPSS_VERSION=\"'3.8.1-1'\" -DMPSS_BUILDNO=\"'0'\" -DMPSS_BUILTBY=\"'sl1pkn07@sL1pKn07'\" -DMPSS_BUILTON=\"'2021-01-12 01:58:29 +0100'\" -Wall -pthread -fexceptions -fstack-protector -D_FORTIFY_SOURCE=2 -D"COIHOST" "-DTRANSPORT_SCIF" src/api/buffer/buffer_source.cpp -c -o build/api/buffer/buffer_source.o
{standard input}: Assembler messages:
{standard input}: Error: invalid attempt to declare external version name as default in symbol `COIEngineGetHostname@@COI_1.0'
make: *** [Makefile:406: build/api/buffer/buffer_source.o] Error 1
make: Leaving directory '/tmp/makepkg/mpss/src/mpss-coi'
i get he same error with your pkgbuild, so i test one from scratch, but i get the same resoult (the text pasted)
image28 commented on 2020-07-02 05:29
Getting closer to updating this, have some of the packages rebuilt, however I haven't finished re-writting the kernel driver. Looking into using the version from AMD's rocm driver.
image28 commented on 2020-06-15 04:44
@sl1pkn07 Working on getting a package file for 3.8.6 going. Not quite there yet
sl1pkn07 commented on 2019-03-30 20:45
this is still valid? 3.8.5 is out
this can working with Xeon Phi 5110P?
greetings
marcelhuber commented on 2016-09-12 07:06
@smotecel69:
I guess the first line of your dump is related to /etc/modprobe.d/mic.conf where options are passed to the mpss-mic module.
For me it seems that the built in mic_host module (from the kernel tree) is still loaded which shouldn't. /etc/modprobe.d/blacklist-mpss.conf should do this job by blacklisting it. Maybe there are other modules in your system which somehow depend on mic_host which you might try to blacklist too.
You might check these pages to see if you find other hints:
http://industrialinformatics.cz/xeon-phi-installation-gentoo-linux
http://arrayfire.com/getting-started-with-the-intel-xeon-phi-on-ubuntu-14-04linux-kernel-3-13-0/
smotocel69 commented on 2016-09-10 03:18
Sep 10 00:28:32 bachus kernel: mic: unknown parameter 'mic_host' ignored
Sep 10 00:28:32 bachus kernel: vnet: mode: dma, buffers: 62
Sep 10 00:28:32 bachus kernel: Error: Driver 'mic' is already registered, aborting...
Sep 10 00:28:32 bachus kernel: mic: failed to register pci driver -16
Sep 10 00:28:32 bachus kernel: BUG: unable to handle kernel NULL pointer dereference at (null)
Sep 10 00:28:32 bachus kernel: IP: [<ffffffff81092120>] __queue_work+0xa0/0x4b0
Sep 10 00:28:32 bachus kernel: PGD 0
Sep 10 00:28:32 bachus kernel: Oops: 0000 [#1] PREEMPT SMP
Sep 10 00:28:32 bachus kernel: Modules linked in: mic(O+) nct6775 hwmon_vid coretemp cfg80211 edac_core x86_pkg_temp_thermal intel_powerclamp kvm_intel kvm nls_iso8859_1 nls_cp437 irqbypass crct10dif_pclmul crc3
Sep 10 00:28:32 bachus kernel: atkbd libps2 ahci libahci libata xhci_pci ehci_pci xhci_hcd ehci_hcd firewire_ohci scsi_mod firewire_core crc_itu_t usbcore usb_common i8042 serio [last unloaded: hwmon_vid]
Sep 10 00:28:32 bachus kernel: CPU: 3 PID: 19648 Comm: kworker/u16:1 Tainted: G O 4.7.2-1-ARCH #1
Sep 10 00:28:32 bachus kernel: Hardware name: System manufacturer System Product Name/P9X79 WS, BIOS 4601 03/05/2014
Sep 10 00:28:32 bachus kernel: Workqueue: PM ACCEPT mic_pm_accept_work [mic]
Sep 10 00:28:32 bachus kernel: task: ffff8800db0fc740 ti: ffff8801d1c84000 task.ti: ffff8801d1c84000
Sep 10 00:28:32 bachus kernel: RIP: 0010:[<ffffffff81092120>] [<ffffffff81092120>] __queue_work+0xa0/0x4b0
Sep 10 00:28:32 bachus kernel: RSP: 0018:ffff8801d1c87c78 EFLAGS: 00010046
Sep 10 00:28:32 bachus kernel: RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000038
Sep 10 00:28:32 bachus kernel: RDX: ffffffffa0640628 RSI: 000000007fffffff RDI: ffffffffa0640628
Sep 10 00:28:32 bachus kernel: RBP: ffff8801d1c87cb8 R08: 0000000000000000 R09: 0000000000000002
Sep 10 00:28:32 bachus kernel: R10: 0000000000000000 R11: 00000b95afaeb2c9 R12: ffff88020b255400
Sep 10 00:28:32 bachus kernel: R13: 0000000000000080 R14: ffffffffa0640628 R15: 0000000000012930
Sep 10 00:28:32 bachus kernel: FS: 0000000000000000(0000) GS:ffff88021fcc0000(0000) knlGS:0000000000000000
Sep 10 00:28:32 bachus kernel: CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Sep 10 00:28:32 bachus kernel: CR2: 0000000000000000 CR3: 0000000002806000 CR4: 00000000001406e0
Sep 10 00:28:32 bachus kernel: Stack:
Sep 10 00:28:32 bachus kernel: ffff8800db0fc7c0 0000000000000057 000000031fc56bb0 0000000000000286
Sep 10 00:28:32 bachus kernel: 0000000000000000 0000000000000246 ffff88020b21a004 dead000000000100
Sep 10 00:28:32 bachus kernel: ffff8801d1c87cd0 ffffffff81092557 ffff88020b21a000 ffff8801d1c87d00
Sep 10 00:28:32 bachus kernel: Call Trace:
Sep 10 00:28:32 bachus kernel: [<ffffffff81092557>] queue_work_on+0x27/0x40
Sep 10 00:28:32 bachus kernel: [<ffffffffa05f9881>] micscif_add_epd_to_zombie_list+0xd1/0x130 [mic]
Sep 10 00:28:32 bachus kernel: [<ffffffffa05e946d>] __scif_close+0x1dd/0xad0 [mic]
Sep 10 00:28:32 bachus kernel: [<ffffffffa05eb0b3>] scif_accept+0x73/0xb0 [mic]
Sep 10 00:28:32 bachus kernel: [<ffffffffa05da433>] mic_pm_accept_work+0x43/0x2c0 [mic]
Sep 10 00:28:32 bachus kernel: [<ffffffff815da5e5>] ? __schedule+0x2f5/0x7a0
Sep 10 00:28:32 bachus kernel: [<ffffffff81093615>] process_one_work+0x1e5/0x480
Sep 10 00:28:32 bachus kernel: [<ffffffff810938f8>] worker_thread+0x48/0x4e0
Sep 10 00:28:32 bachus kernel: [<ffffffff810938b0>] ? process_one_work+0x480/0x480
Sep 10 00:28:32 bachus kernel: [<ffffffff810938b0>] ? process_one_work+0x480/0x480
Sep 10 00:28:32 bachus kernel: [<ffffffff81099598>] kthread+0xd8/0xf0
Sep 10 00:28:32 bachus kernel: [<ffffffff815de9bf>] ret_from_fork+0x1f/0x40
Sep 10 00:28:32 bachus kernel: [<ffffffff810994c0>] ? kthread_worker_fn+0x170/0x170
Sep 10 00:28:32 bachus kernel: Code: 00 00 02 0f 85 0b 01 00 00 48 63 45 d4 48 c7 c6 20 9b 8e 81 49 8b 9c 24 08 01 00 00 48 03 1c c6 4c 89 f7 e8 73 e3 ff ff 48 85 c0 <48> 8b 3b 0f 84 cb 01 00 00 48 39 f8 0f 84 c
Sep 10 00:28:32 bachus kernel: RIP [<ffffffff81092120>] __queue_work+0xa0/0x4b0
Sep 10 00:28:32 bachus kernel: RSP <ffff8801d1c87c78>
Sep 10 00:28:32 bachus kernel: CR2: 0000000000000000
Sep 10 00:28:32 bachus kernel: ---[ end trace 21aa9f7280e711fa ]---
Sep 10 00:28:32 bachus kernel: BUG: unable to handle kernel paging request at ffffffffffffffd8
Sep 10 00:28:32 bachus kernel: IP: [<ffffffff81099ae0>] kthread_data+0x10/0x20
Sep 10 00:28:33 bachus kernel: PGD 2809067 PUD 280b067 PMD 0
Sep 10 00:28:33 bachus kernel: Oops: 0000 [#2] PREEMPT SMP
Sep 10 00:28:33 bachus kernel: Modules linked in: mic(O+) nct6775 hwmon_vid coretemp cfg80211 edac_core x86_pkg_temp_thermal intel_powerclamp kvm_intel kvm nls_iso8859_1 nls_cp437 irqbypass crct10dif_pclmul crc3
Sep 10 00:28:33 bachus kernel: atkbd libps2 ahci libahci libata xhci_pci ehci_pci xhci_hcd ehci_hcd firewire_ohci scsi_mod firewire_core crc_itu_t usbcore usb_common i8042 serio [last unloaded: hwmon_vid]
Sep 10 00:28:33 bachus kernel: CPU: 3 PID: 19648 Comm: kworker/u16:1 Tainted: G D O 4.7.2-1-ARCH #1
Sep 10 00:28:33 bachus kernel: Hardware name: System manufacturer System Product Name/P9X79 WS, BIOS 4601 03/05/2014
Pinned Comments
image28 commented on 2020-07-02 05:29
Getting closer to updating this, have some of the packages rebuilt, however I haven't finished re-writting the kernel driver. Looking into using the version from AMD's rocm driver.