Title: CGMiner 3.1.0 built under linux, then segfault on execution Post by: ChristianRiesen on May 11, 2013, 06:48:52 AM Hello everyone. I've decided to jump head first into the boiling pot and got stuck at a rather inconvenient location.
I've tried building the miner now about a dozen different ways, no dice. The endresult is always this, if I get it to configure and compile at all that is: Code: # ./cgminer --benchmark I read in the official thread about adding a stacktrace with gdb cgminer core and here it is: Code: # gdb cgminer core Any idea anyone how to fix this? I have a few GPU's laying around just idleing :) Title: Re: CGMiner 3.1.0 built under linux, then segfault on execution Post by: ChristianRiesen on May 11, 2013, 08:51:15 AM I went a bit further and tried installing the latest drivers.
Removed the drivers I had in before with this: aptitude purge fglrx-updates fglrx-amdcccle-updates fglrx-updates-dev Got the drivers here: http://www2.ati.com/drivers/linux/amd-catalyst-13.4-linux-x86.x86_64.zip It complained about not having X so I installed it with this: aptitude install x11-common xserver-xorg-core Installed it, and then rebooted. Configure fails with this: OpenCL...............: NOT FOUND. GPU mining support DISABLED aticonfig fails with this: # aticonfig -lsa aticonfig: error while loading shared libraries: libXrandr.so.2: cannot open shared object file: No such file or directory Fixed it with aptitude install libxrandr2. Output now is: # aticonfig --lsa * 0. 01:00.0 AMD Radeon HD 7900 Series * - Default adapter configure still fails... Title: Re: CGMiner 3.1.0 built under linux, then segfault on execution Post by: ChristianRiesen on May 11, 2013, 09:04:01 AM So it works, sort of, still needs a bit of testing, but here is how I got it to do as it should in the end:
I will retry at a later stage to see if I can reproduce the success. Title: Re: CGMiner 3.1.0 built under linux, then segfault on execution Post by: Schland on May 30, 2013, 08:23:14 PM Hi Christian,
Could you eventually reproduce this error and do you have a resolution for this? I experience the same message with OpenSuSE 12.2 and CGminer 3.1.0. aticonfig --lsa recognizes my two graphi9cs cards OK, configure and make install do also work flawlessly. Thanks Schland Title: Re: CGMiner 3.1.0 built under linux, then segfault on execution Post by: ChristianRiesen on May 31, 2013, 07:16:00 AM Hi Christian, Could you eventually reproduce this error and do you have a resolution for this? I experience the same message with OpenSuSE 12.2 and CGminer 3.1.0. aticonfig --lsa recognizes my two graphi9cs cards OK, configure and make install do also work flawlessly. Thanks Schland Hi I made mistakes that far back that resulted in a rather ugly binary. I have since refined the process and can reproduce a stable version with working ADL in it on 3 different machines. I'm working on a tutorial for that as of now :) Title: Re: CGMiner 3.1.0 built under linux, then segfault on execution Post by: rafi365 on June 17, 2013, 09:15:41 PM I've had the same problem. Hope you will make tutorial asap.
Thanks in advance. ;) Title: Re: CGMiner 3.1.0 built under linux, then segfault on execution Post by: CryptoBadger on June 17, 2013, 09:28:59 PM Any reason that you're trying to build your own binary vs just downloading the precompiled linux build from the author?
I have a pretty thorough linux guide here (part 2), if it helps: http://www.cryptobadger.com/build-your-own-litecoin-mining-rig/ Although I don't compile cgminer from source in my guide; I just use ckolivas's build. Title: Re: CGMiner 3.1.0 built under linux, then segfault on execution Post by: TR4L on October 15, 2013, 07:06:51 PM Any reason that you're trying to build your own binary vs just downloading the precompiled linux build from the author? I have a pretty thorough linux guide here (part 2), if it helps: http://www.cryptobadger.com/build-your-own-litecoin-mining-rig/ Although I don't compile cgminer from source in my guide; I just use ckolivas's build. I've used this but I get Segmentation fault when I try to run cgminer. This has been a problem with absolutely every guide I've used. |