Author

Topic: OFFICIAL CGMINER mining software thread for linux/win/osx/mips/arm/r-pi 4.11.0 - page 550. (Read 5806088 times)

legendary
Activity: 4634
Merit: 1851
Linux since 1997 RedHat 4
Did you ever actually install a version of fglrx some other way than apt-get?
At a guess that is most likely the cause.
And my guess would be that the install setup some env variable that points at the wrong directory for a library.
I just did a reinstall of fglrx a couple days ago where I removed the one that was installed in the software center and installed the 12.1 driver. For the SDK, I had originally installed 2.5 using your guide, but when I upgraded to Ubuntu 12.04, it updated itself to 2.6 (probably came with the fglrx update that I didn't realize was being installed). If you could tell me how to get rid of all of it so I can start fresh, that'd be great. Smiley
Sorry - no idea - other than what I've already said.
However, yes, 12.x installs the SDK also (as alluded to in my script)
But once a single set of everything is installed you will most likely need to recompile cgminer ...

I've never used upgrade coz it depends on every single developer out there knowing how to handle an upgrade to their software and doing it correctly each their own way ...
hero member
Activity: 591
Merit: 500
Did you ever actually install a version of fglrx some other way than apt-get?
At a guess that is most likely the cause.
And my guess would be that the install setup some env variable that points at the wrong directory for a library.
I just did a reinstall of fglrx a couple days ago where I removed the one that was installed in the software center and installed the 12.1 driver. For the SDK, I had originally installed 2.5 using your guide, but when I upgraded to Ubuntu 12.04, it updated itself to 2.6 (probably came with the fglrx update that I didn't realize was being installed). If you could tell me how to get rid of all of it so I can start fresh, that'd be great. Smiley
newbie
Activity: 14
Merit: 0
re: anti-virus declaring a Trojans.
I just downloaded the cgminer-2.4.3-Win2.zip
-Jesse


It's in the FAQ portion on page 1: (You're safe)
Quote
Q: Is this a virus?
A: Cgminer is being packaged with other trojan scripts and some antivirus
software is falsely accusing cgminer.exe as being the actual virus, rather
than whatever it is being packaged with. If you installed cgminer yourself,
then you do not have a virus on your computer. Complain to your antivirus
software company.

Understood. (And I had read the FAQ, but thanks. Smiley)
I mentioned it here because I downloaded it from the official pristine location, linked in the topmost post.
If the official version accidentally packaged up a trojan version of a 3rd party library (libpdcurses) it seemed worth mentioning.

-Jesse
legendary
Activity: 4634
Merit: 1851
Linux since 1997 RedHat 4
Did you ever actually install a version of fglrx some other way than apt-get?
At a guess that is most likely the cause.
And my guess would be that the install setup some env variable that points at the wrong directory for a library.

The manual cgminer (mine and ckolivas') SDK procedure puts files in 3 places
 /usr/lib/
 /etc/OpenCL/
 /usr/include/CL/

The installs that people download or follow from other people can also redirects the system to look for those files in other places.
(and I have no idea if there are some weird flavours of linux that do this in strange ways)

My original comment was basically saying that I think you've done something different to the script and that's the problem, thus you'll have to sort out what you did.
You could just manually remove all the drivers and SDK and reinstall it from scratch
Manual removal may cause problems with apt - so you may need to work out how to tell apt stuff is removed also (or use apt to remove it as long as it doesn't try to uninstal half of linux along with whatever you remove)

Aside: a system install of linux is very simple and quick ... I've even written a script on how to do that with xubu 11.04 Smiley
So unless you have 7xxx cards ... though that can be handled with ... my SDK script Smiley
hero member
Activity: 591
Merit: 500
Segfaults at startup are usually mixed sdk files +/- bin files.
I know that, that's why I was telling him. Something's missing from his instructions.

EDIT: Now I've tried installing 2.4, 2.6 and 2.7 with those instructions, all resulting in a segfault (or in the case of 2.7, it told me that all devices were disabled).
So any ideas about maybe getting rid of the SDK completely and reinstalling or am I gonna have to reinstall Ubuntu again?
hero member
Activity: 626
Merit: 500
Mining since May 2011.
re: anti-virus declaring a Trojans.

I just downloaded the cgminer-2.4.3-Win2.zip

I use AVG anti-virus, and it said that libpdcurses.dll contained a Key Logger Trojan.

On the one hand, I suspect it is a false positive.
On the other hand I don't mind getting a new copy of a library from a trusted source just to be safe.

-Jesse


It's in the FAQ portion on page 1: (You're safe)
Quote
Q: Is this a virus?
A: Cgminer is being packaged with other trojan scripts and some antivirus
software is falsely accusing cgminer.exe as being the actual virus, rather
than whatever it is being packaged with. If you installed cgminer yourself,
then you do not have a virus on your computer. Complain to your antivirus
software company.
newbie
Activity: 14
Merit: 0
re: anti-virus declaring a Trojans.

I just downloaded the cgminer-2.4.3-Win2.zip

I use AVG anti-virus, and it said that libpdcurses.dll contained a Key Logger Trojan.

On the one hand, I suspect it is a false positive.
On the other hand I don't mind getting a new copy of a library from a trusted source just to be safe.

-Jesse
hero member
Activity: 591
Merit: 500
You delete your .bins?
Yeah, I moved it out of the folder before I started cgminer.
newbie
Activity: 57
Merit: 0
Could you please compile cgminer for Atheros Chipset ( Big Endian ) ?
That would be very helpful, then it were possible to run cgminer with dd-wrt on TP-Link devices with Atheros Chipset.

I think many users here would like that Smiley
legendary
Activity: 952
Merit: 1000
Segfaults at startup are usually mixed sdk files +/- bin files.
I know that, that's why I was telling him. Something's missing from his instructions.

EDIT: Now I've tried installing 2.4, 2.6 and 2.7 with those instructions, all resulting in a segfault (or in the case of 2.7, it told me that all devices were disabled).

You delete your .bins?
hero member
Activity: 591
Merit: 500
Segfaults at startup are usually mixed sdk files +/- bin files.
I know that, that's why I was telling him. Something's missing from his instructions.

EDIT: Now I've tried installing 2.4, 2.6 and 2.7 with those instructions, all resulting in a segfault (or in the case of 2.7, it told me that all devices were disabled).
-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
Segfaults at startup are usually mixed sdk files +/- bin files.
hero member
Activity: 591
Merit: 500
The related details that may or may not help:
https://github.com/kanoi/linux-usb-cgminer/blob/master/linux-AMD-SDK-2.4-2.6-upgrade-downgrade

Though if you know yourself what you are doing that should tell you what to look for.
I don't remember exactly, but I think those instructions are what messed up my OS in the first place.
Nope - it was you that did Smiley
Just used these instructions to revert back to SDK 2.5 and once again, I get a segmentation fault when I start up cgminer.
legendary
Activity: 2702
Merit: 1468
Wait until his AV software tells him the cgminer.py/cgminer.exe is a trojan.   Grin

I feel like I'm in one of those awkward moments when people refer to you in the third person when your still In the room ...

 Roll Eyes This forum is like that.  Just add those users to your ignore list.

re: cgminer being a virus
If you cannot compile it yourself from sources use pre-compiled binaries done by Con.
If I were you, I would install the OS on a clean machine and just put cgminer and afterburner on it.  Don't install any AV software.
They are useless on mining rigs.  They only waste network and CPU resources. IMHO
legendary
Activity: 4634
Merit: 1851
Linux since 1997 RedHat 4
923.1 is probably the problem
Someone else with a 5xxx will probably know for sure ...
sr. member
Activity: 448
Merit: 250
Guys what am I doing wrong, i've spent a long time trying to get cgminer to work.

I've just made a fresh install of xubuntu, i've installed fglrx fglrx-amdcccle fglrx-dev

fglrxinfo and aticonfig --lsa both show correct information:


andrew@ren:~/cg/cgminer-2.4.3-x86_64-built$ fglrxinfo
display: :0  screen: 0
OpenGL vendor string: Advanced Micro Devices, Inc.
OpenGL renderer string: ATI Radeon HD 5800 Series
OpenGL version string: 4.2.11627 Compatibility Profile Context

andrew@ren:~/cg/cgminer-2.4.3-x86_64-built$ aticonfig --lsa
* 0. 01:00.0 ATI Radeon HD 5800 Series

* - Default adapter


I've installed AMD APP 2.4 by doing the following:

 sudo bash
 cd /opt
 cp ~/AMD-APP-SDK-v2.4-lnx64.tgz .
 tar -xvzf /home/ubuntu/AMD-APP-SDK-v2.4-lnx64.tgz
 cd AMD-APP-SDK-v2.4-lnx64/
 cp -pv lib/x86_64/* /usr/lib/
 rsync -avl include/CL/ /usr/include/CL/
 tar -xvzf icd-registration.tgz
 rsync -avl etc/OpenCL/ /etc/OpenCL/
 ldconfig

And installed curl (apt-get install libcurl)

Whenever I run the precompiled binary as in post #1 it segfaults:
./cgminer --verbose --benchmark
[2012-06-23 23:29:24] Started cgminer 2.4.3
 [2012-06-23 23:29:24] CL Platform 0 vendor: Advanced Micro Devices, Inc.
 [2012-06-23 23:29:24] CL Platform 0 name: AMD Accelerated Parallel Processing
 [2012-06-23 23:29:24] CL Platform 0 version: OpenCL 1.2 AMD-APP (923.1)
 [2012-06-23 23:29:24] Platform 0 devices: 1
 [2012-06-23 23:29:24]  0       Cypress
 [2012-06-23 23:29:24] GPU 0 ATI Radeon HD 5800 Series hardware monitoring enabl
ed
 [2012-06-23 23:29:24] Found 0 ztex board(s)Segmentation fault (core dumped)


Any ideas?


hero member
Activity: 518
Merit: 500
I think ckolivas should do this himself, not that I don't trust you kano.

What is the point using 12.04 anyway ? It sucks big time and 11.04 is best for miners.
I don't want to be going nuts creating multiple binaries.

Why 12.04? At every next installation people will find it harder and harder to install old versions as they become less and less maintained and featured, like ANY software. At some stage I have to choose when to move on, and as I did from previously with ubuntu, I decided now was the time. There is absolutely nothing wrong with 12.04 except for the fact that you don't like the AMD drivers that come with it. Choosing the best driver is non-trivial for ANY version of ANY operating system though.

I understand your choice. I was just wondering why.

Keep up the good work !
-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
I think ckolivas should do this himself, not that I don't trust you kano.

What is the point using 12.04 anyway ? It sucks big time and 11.04 is best for miners.
I don't want to be going nuts creating multiple binaries.

Why 12.04? At every next installation people will find it harder and harder to install old versions as they become less and less maintained and featured, like ANY software. At some stage I have to choose when to move on, and as I did from previously with ubuntu, I decided now was the time. There is absolutely nothing wrong with 12.04 except for the fact that you don't like the AMD drivers that come with it. Choosing the best driver is non-trivial for ANY version of ANY operating system though.
hero member
Activity: 591
Merit: 500
What is the point using 12.04 anyway ? It sucks big time and 11.04 is best for miners.
What makes it suck? I just upgraded and haven't seen much of a difference so far.
hero member
Activity: 518
Merit: 500
For anyone still running ubuntu/xubuntu 11.04 like I do, the latest release binary 2.4.3 will not run on 11.04
(it's built on 12.04)

You can of course compile it yourself ... or:

I've compiled a distro version of 2.4.3 with all devices enabled and placed it my git downloads
What this is built from is the exact source in the 2.4.3 release - cgminer-2.4.3.tar.bz2,
all default options, (including ADL, GPU, curses) and also libudev & libusb,
CFLAGS="-O2 -W -Wall" ./configure --enable-icarus --enable-bitforce --enable-ztex --enable-modminer

So basically the same as the binary in the binary release, except compiled on xubuntu 11.04

It reports itself as cgminer 2.4.3a on the screen and in the version info

If you want it, it's in my git downloads: https://github.com/kanoi/cgminer/downloads

I'll do this 'all devices' version after each release, so people with 11.04 can get a binary without having to build it, if they don't want to build it.

I'm using it successfully on a rig with one 6950 GPU + one BFL
Edit: and also on my fedora 16 rig with two Icarus

I think ckolivas should do this himself, not that I don't trust you kano.

What is the point using 12.04 anyway ? It sucks big time and 11.04 is best for miners.

I don't want to be compiling each time ...
Jump to: