I received a number of unknown enum errors today. The system is Linux Mint 17 with no overclocks. Everything has been very stable for a long time. I started CPU folding along with my GPU folding about a week or so ago on this system. I believe this is the first A7 unit that I have received. The CPU is an I3-8100
I am going to tell you what I think I know, real experts will be along to point and laugh at me later.
Core_a7 can use SSE2 instructions if your CPU is older than Intel's Haswell or AMD's Excavator designs. If it is newer, it uses AVX instructions for even more speed. (Core_a4 is older and always uses SSE2)
When a process needs to swap out one task to run another, it saves all the registers, and restores them when the task runs again, perhaps on another CPU. Obviously, OSes from before Haswell did not save the AVX registers as they were new with Haswell and the authors had no idea there would be new registers. Once Haswell shipped, new releases of major OSes saved and restored AVX registers as well as all the others.
The Programmers at F@H can see your CPU is a Haswell chip and so sends you the AVX version of a7. I suspect Mint 17 is not saving and restoring AVX registers. You may wish to upgrade Mint.
Tsar of all the Rushers
I tried to remain childlike, all I achieved was childish.
A friend to those who want no friends
Thanks for the response. Updating to Mint 18 is something that I'm planning on doing. Since this is my main system, I've been reluctant to do that. I've got a lot of stuff on this system and I don't want to take a chance of losing any of it. Since folding recovered from the error, I'll keep running CPU folding. As nearly as I can tell Alzheimer's research is only being done on CPU. That's one of the diseases that I'm most interested in contributing to. In the meantime, I'll watch for other responses to see if there is some kind of O.S. setting or workaround that I can set to resolve this in the short term.
@JimboPalmer: Good guess. (I don't have anything better to offer.)
@Nert: Are you able to run a utility that tests AVX performance?
Have you searched the Mint support sites for something that might be called AVX support? (It might be considered a component of CPU drivers.)
FAH is supposed to test your system for AVX support and based on that result, decide whether to run a version of Core_a7 that uses AVX or an alternate that uses SSE. If the answers to the previous questions are not fruitful, we may be able to FORCE your system to avoid AVX, but that's a work-around I'd prefer not to recommend, both because it's unsupported and because it would reduce FAH's performanc -- but reduced performance is certainly better than NO performance.
I just realized that the CPU info I posted was incorrect. The correct type is I5-4990. I forgot which system generated the error. I'll do some searching for AVX information on Linux Mint.
Hardware configuration: PC 1: Linux Mint 17.3 three gtx 1080 GPUs One on a powered header Motherboard = [MB-AM3-AS-SB-990FXR2] qty 1 Asus Sabertooth 990FX(+59.99) CPU = [CPU-AM3-FX-8320BR] qty 1 AMD FX 8320 Eight Core 3.5GHz(+41.99)
PC2: Linux Mint 18 Open air case Motherboard: ASUS Crosshair V Formula-Z AM3+ AMD 990FX SATA 6Gb/s USB 3.0 ATX AMD AMD FD6300WMHKBOX FX-6300 6-Core Processor Black Edition with Cooler Master Hyper 212 EVO - CPU Cooler with 120mm PWM Fan three gtx 1080, one gtx 1080 TI on a powered header
just thought I'd mention;
There is an easy upgrade from mint 17 to 17.3 in the update manager. From 17.3 there is an update path to 18 that doesn't require a full reinstall.
google How to Upgrade from Linux Mint 17.3 to Linux Mint 18 for details.
The process generated a lot more output on my terminal than I expected. I have captured and saved it for future reference. I probably should have asked about this before I entered the commands, but what exactly did this do to my system ? What is the tool chain test repository ?
I unpaused FAH and it seems to be working fine. Currently it is working on an A4 unit. I will monitor results to look for an A7 unit and post when I see results.
Later versions of ubuntu have the newer libraries etc already but 14.04 does not (I believe 16.04 is the minimum). By adding the repository you've essentially added the later versions in a safe manner and FahCore_a7 should now work.
Last edited by bollix47 on Sun Jun 17, 2018 9:50 pm, edited 1 time in total.
bollix47 wrote:Later versions of ubuntu have the newer libraries etc already but 14.04 does not (I believe 16.04 is the minimum). By adding the repository you've essentially added the later versions in a safe manner and FahCore_a7 should now work.
Thanks for that. I got a little nervous when I saw all that output. I'm hopeful that this will solve the problem. ... I'll post when I get an A7 unit.
Although your two ldd listings are different there is no error shown in the before listing which I would have expected to see. The problem with your setup not being able to process a7 work units may still exist. We won't know for sure until you get one but we may have to look elsewhere for a solution.
16:53:46:WU01:FS00:0xa4:Folding@home Core Shutdown: FINISHED_UNIT
16:53:56:WU01:FS00:FahCore returned: FINISHED_UNIT (100 = 0x64)
16:53:56:WU01:FS00:Sending unit results: id:01 state:SEND error:NO_ERROR project:14049 run:5 clone:13 gen:67 core:0xa4 unit:0x000000470002894c5aa42ca9219f9817
16:53:56:WU01:FS00:Uploading 4.62MiB to 155.247.166.220
16:53:56:WU01:FS00:Connecting to 155.247.166.220:8080
16:53:56:WARNING:WU01:FS00:WorkServer connection failed on port 8080 trying 80
16:53:56:WU01:FS00:Connecting to 155.247.166.220:80
16:53:56:WARNING:WU01:FS00:Exception: Failed to send results to work server: Failed to connect to 155.247.166.220:80: Connection refused
16:53:56:WU01:FS00:Trying to send results to collection server
16:53:56:WU01:FS00:Uploading 4.62MiB to 155.247.166.219
16:53:56:WU01:FS00:Connecting to 155.247.166.219:8080
16:53:56:WU03:FS00:Starting
16:53:56:WU03:FS00:Running FahCore: /usr/bin/FAHCoreWrapper /var/lib/fahclient/cores/cores.foldingathome.org/Linux/AMD64/AVX/Core_a7.fah/FahCore_a7 -dir 03 -suffix 01 -version 704 -lifeline 1775 -checkpoint 15 -np 2
16:53:56:WU03:FS00:Started FahCore on PID 18860
16:53:56:WU03:FS00:Core PID:18864
16:53:56:WU03:FS00:FahCore 0xa7 started
16:53:57:WARNING:WU03:FS00:FahCore returned: UNKNOWN_ENUM (127 = 0x7f)
16:53:57:WU03:FS00:Starting
16:53:57:WU03:FS00:Running FahCore: /usr/bin/FAHCoreWrapper /var/lib/fahclient/cores/cores.foldingathome.org/Linux/AMD64/AVX/Core_a7.fah/FahCore_a7 -dir 03 -suffix 01 -version 704 -lifeline 1775 -checkpoint 15 -np 2
16:53:57:WU03:FS00:Started FahCore on PID 18870
16:53:57:WU03:FS00:Core PID:18874
16:53:57:WU03:FS00:FahCore 0xa7 started
16:53:58:WARNING:WU03:FS00:FahCore returned: UNKNOWN_ENUM (127 = 0x7f)
16:54:02:WU01:FS00:Upload 37.89%
16:54:08:WU01:FS00:Upload 67.65%
16:54:14:WU01:FS00:Upload 98.77%
16:54:16:WU01:FS00:Upload complete
16:54:16:WU01:FS00:Server responded WORK_ACK (400)
16:54:16:WU01:FS00:Final credit estimate, 7220.00 points
16:54:16:WU01:FS00:Cleaning up
16:54:57:WU03:FS00:Starting
16:54:57:WU03:FS00:Running FahCore: /usr/bin/FAHCoreWrapper /var/lib/fahclient/cores/cores.foldingathome.org/Linux/AMD64/AVX/Core_a7.fah/FahCore_a7 -dir 03 -suffix 01 -version 704 -lifeline 1775 -checkpoint 15 -np 2
16:54:57:WU03:FS00:Started FahCore on PID 18901
16:54:57:WU03:FS00:Core PID:18905
16:54:57:WU03:FS00:FahCore 0xa7 started
16:54:58:WARNING:WU03:FS00:FahCore returned: UNKNOWN_ENUM (127 = 0x7f)
I enabled CPU folding on a second system running Mint 18. That system has been running a7 units without problems over the past couple of days. I can provide any additional information from either system to help if there is any interest, but I will need some guidance on what to do.
In the meantime what would be the recommended steps on the Mint 17 system ?
1) Disable CPU processing
2) Continue CPU processing on Mint 17 to process A4's and let A7' fail and returns.
You can try downloading a new FAHCore_a7. (Assuming you're not running an A7 WU) delete the existing FAHCore from
/usr/bin/FAHCoreWrapper /var/lib/fahclient/cores/cores.foldingathome.org/Linux/AMD64/AVX/Core_a7.fah/FahCore_a7