Author

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

legendary
Activity: 966
Merit: 1000
Is there a "cgminer on TP-Link WR703N" thread anywhere?

I see one for Broadcom-based routers, but those are a bit different (mipsel vs mipseb).
hero member
Activity: 481
Merit: 500
Having trouble with my own compiled version:

It compiles as 3.1.1 but when I start it, it says 2.10.3 and complains about not being able to open the diablo stuff. I did a git pull right before doing this compile.
Compiling from git always needs ./autogen.sh first (as per the README).

Yes, I did autogen.sh first. Do I need to specify all the options on autogen or just run it with none?

Edit, just ran it again, and then ./configure and I'm having the same problem.
./autogen.sh
CFLAGS="-O2 -Wall -march=native" ./configure --enable-bflsc --enable-icarus
./cgminer -c /home/cgminer/.cgminer/cgminer.conf.itzod
-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
Having trouble with my own compiled version:

It compiles as 3.1.1 but when I start it, it says 2.10.3 and complains about not being able to open the diablo stuff. I did a git pull right before doing this compile.
Compiling from git always needs ./autogen.sh first (as per the README).
hero member
Activity: 481
Merit: 500
Having trouble with my own compiled version:

It compiles as 3.1.1 but when I start it, it says 2.10.3 and complains about not being able to open the diablo stuff. I did a git pull right before doing this compile.

I wanted to compile in the Icarus code because I have some of the little block erupter USB sticks on order:

------------------------------------------------------------------------
cgminer 3.1.1
------------------------------------------------------------------------


Configuration Options Summary:

  curses.TUI...........: FOUND: -lncurses
  OpenCL...............: FOUND. GPU mining support enabled
  scrypt...............: Disabled
  ADL..................: SDK found, GPU monitoring support enabled

  Avalon.ASICs.........: Disabled
  BFL.ASICs............: Enabled
  BitForce.FPGAs.......: Disabled
  Icarus.FPGAs.........: Enabled
  ModMiner.FPGAs.......: Disabled
  Ztex.FPGAs...........: Disabled
  libudev.detection....: yes

Compilation............: make (or gmake)
  CPPFLAGS.............:
  CFLAGS...............: -O2 -Wall -march=native -I/usr/include/libusb-1.0  
  LDFLAGS..............:  -lpthread
  LDADD................: -ldl -lcurl   -ljansson -lpthread -lOpenCL    -lm -ludev -lusb-1.0  

Installation...........: make install (as root if needed, with 'su' or 'sudo')
  prefix...............: /usr/local

~/Downloads/cgminer$ ./cgminer -n
 [2013-05-12 10:20:01] CL Platform 0 vendor: Advanced Micro Devices, Inc.                    
 [2013-05-12 10:20:01] CL Platform 0 name: AMD Accelerated Parallel Processing                    
 [2013-05-12 10:20:01] CL Platform 0 version: OpenCL 1.2 AMD-APP (923.1)                    
 [2013-05-12 10:20:01] Platform 0 devices: 3                    
 [2013-05-12 10:20:01]    0   Cypress                    
 [2013-05-12 10:20:01]    1   Cypress                    
 [2013-05-12 10:20:01]    2   Cypress                    
 [2013-05-12 10:20:01] GPU 0 ATI Radeon HD 5800 Series  hardware monitoring enabled                    
 [2013-05-12 10:20:01] GPU 1 ATI Radeon HD 5800 Series  hardware monitoring enabled                    
 [2013-05-12 10:20:01] GPU 2 ATI Radeon HD 5800 Series  hardware monitoring enabled                    
 [2013-05-12 10:20:01] 3 GPU devices max detected                    

/home/cgminer/Downloads/cgminer/cgminer -c /home/cgminer/.cgminer/cgminer.conf.itzod
 [2013-05-12 10:25:45] Started cgminer 2.10.3
 [2013-05-12 10:25:45] Loaded configuration file /home/cgminer/.cgminer/cgminer.conf.itzod
 [2013-05-12 10:25:46] Probing for an alive pool
 [2013-05-12 10:25:47] Unable to open diablo121016.cl or /home/cgminer/Downloads/cgminer/diablo121016.cl for reading
 [2013-05-12 10:25:47] Failed to init GPU thread 0, disabling device 0
 [2013-05-12 10:25:47] Restarting the GPU from the menu will not fix this.
 [2013-05-12 10:25:47] Try restarting cgminer.
Press enter to continue:
-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
Server currently being migrated. Bear with me if there's temporary outage.
Server should be successfully migrated by now. Let me know if there any issues.
legendary
Activity: 4592
Merit: 1851
Linux since 1997 RedHat 4
...
Another thing to see if it is related ...
Are you mining GBT or is the computer busy or is it using USB to a HDD or some other high rate USB device?
(but I don't think that's the cause)

999ms to reply is of course WAY too long (what the -7 means)

... however it's only on getting the temperature.
So my guess is actually that the temperature monitoring hardware is faulty.
Stop using it - it cools down - start using it - it heats up and fails.

There's no option to disable getting the temperature in the code.
You could hack it out by editing driver-bitforce.c and removing line 767:
.get_stats = bitforce_get_stats,
and see if that helps you.
sr. member
Activity: 441
Merit: 250
GET IN - Smart Ticket Protocol - Live in market!
I'm getting this error, running v3.1
...
 [2013-05-11 21:56:39] BFL0: Error: Request temp invalid/timed out (0:-7)
 [2013-05-11 21:56:41] Accepted dd30e6b2 Diff 1/1 GPU 1 pool 0
 [2013-05-11 21:56:41] BFL0: Error: Get result reports: Temperature (celcius): 32.2
BUSY

 [2013-05-11 21:56:42] Accepted 317f83a5 Diff 5/1 GPU 0 pool 0
 [2013-05-11 21:56:43] Accepted ff9856a7 Diff 1/1 GPU 4 pool 0
 [2013-05-11 21:56:46] Accepted 3a40124f Diff 4/1 GPU 1 pool 0
 [2013-05-11 21:56:46] Accepted b2508626 Diff 1/1 BFL 0 pool 0
 [2013-05-11 21:56:47] Accepted ba0f9179 Diff 1/1 GPU 3 pool 0
 [2013-05-11 21:56:51] BFL0: Error: Request temp invalid/timed out (0:-7)
 [2013-05-11 21:56:51] BFL0: Error: Get result reports: Temperature (celcius): 32.2
...

The hash rate of BFL Single goes down after the the first message appears, but it will go essentially to 0 after some period of time.

Restarting cgminer solves the problem but problem will reaper after some interval of time.

I think there is a hardware error inside the device, which gets USB buffer for the device out of sync with cgminer. Is it possible to make cgminer to recover after this error by flushing the USB buffer or some other internal reset without a need to restart cgminer?

Hmm - but it should resync anyway ... I presume it is doing that in the log after where you cut it off? (as it did the first time shown)
The actual cause of the problem is the timeout (-7) where the device took more than 999ms to reply (i.e. BFL0 stuffed up Tongue)
If the device really has failed, it will change state to ZOMBIE, but if it does keep working, then in this case it's simply got out of sync fue to a hardware problem and then resynced not long after.
If it resyncs, then reinitialising it wont do any better.

Restarting cgminer does solve the problem - this is why I think that something could be done within the cgminer to recover from it. After restart (of cgminer only), it may work for days without any error messages.

As I said: after the problem first present itself, it doesn't go to 0 hash rate right away - it takes several minutes for the hashrate from the device to get to 0, meanwhile I keep getting those errors.

Here is the full log until the restart: (I only took out GPU shares)
Code:
 [2013-05-11 21:58:03] BFL0: Error: Request temp invalid/timed out (0:-7)
 [2013-05-11 21:58:07] Accepted 0402178f Diff 63/1 BFL 0 pool 0
 [2013-05-11 21:58:08] BFL0: Error: Request temp invalid/timed out (0:-7)
 [2013-05-11 21:58:10] BFL0: Error: Request temp invalid/timed out (0:-7)
 [2013-05-11 21:58:12] BFL0: Error: Get result reports: Temperature (celcius): 32.2

 [2013-05-11 21:58:20] BFL0: Error: Request temp invalid/timed out (0:-7)
 [2013-05-11 21:58:28] Accepted 10e25dc2 Diff 15/2 BFL 0 pool 0
 [2013-05-11 21:58:28] Accepted 586be719 Diff 2/2 BFL 0 pool 0
 [2013-05-11 21:58:32] BFL0: Error: Request temp invalid/timed out (0:-7)
 [2013-05-11 21:58:33] BFL0: Error: Get result reports: Temperature (celcius): 32.7
BUSY

 [2013-05-11 21:58:35] BFL0: Error: Request temp invalid/timed out (0:-7)
 [2013-05-11 21:58:37] BFL0: Error: Request temp invalid/timed out (0:-7)
 [2013-05-11 21:58:38] BFL0: Error: Get result reports: Temperature (celcius): 32.4

 [2013-05-11 21:58:39] BFL0: Error: Request temp invalid/timed out (0:-7)
 [2013-05-11 21:59:00] Accepted 7d9c161a Diff 2/2 BFL 0 pool 0
 [2013-05-11 21:59:02] BFL0: Error: Request temp invalid/timed out (0:-7)
 [2013-05-11 21:59:04] BFL0: Error: Request temp invalid/timed out (0:-7)
 [2013-05-11 21:59:05] BFL0: Error: Get result reports: Temperature (celcius): 32.4

 [2013-05-11 21:59:06] BFL0: Error: Request temp invalid/timed out (0:-7)
 [2013-05-11 21:59:10] Accepted 7cc24416 Diff 2/2 BFL 0 pool 0
 [2013-05-11 21:59:10] Accepted 7e8e4ce0 Diff 2/2 BFL 0 pool 0
 [2013-05-11 21:59:13] BFL0: Error: Request temp invalid/timed out (0:-7)
 [2013-05-11 21:59:15] BFL0: Error: Get result reports: Temperature (celcius): 32.5
BUSY

 [2013-05-11 21:59:26] Accepted 0f4fe67d Diff 16/1 BFL 0 pool 0
 [2013-05-11 21:59:28] BFL0: Error: Request temp invalid/timed out (0:-7)
 [2013-05-11 21:59:31] Accepted b43e14ae Diff 1/1 BFL 0 pool 0
 [2013-05-11 21:59:32] Accepted b63cf524 Diff 1/1 BFL 0 pool 0
 [2013-05-11 21:59:37] Accepted 12c29573 Diff 13/1 BFL 0 pool 0
 [2013-05-11 21:59:37] Accepted a777e978 Diff 1/1 BFL 0 pool 0
 [2013-05-11 21:59:40] BFL0: Error: Request temp invalid/timed out (0:-7)
 [2013-05-11 21:59:42] BFL0: Error: Get result reports: Temperature (celcius): 32.2
NO-NONCE

 [2013-05-11 21:59:47] BFL0: Error: Request temp invalid/timed out (0:-7)
 [2013-05-11 21:59:48] BFL0: Error: Get result reports: Temperature (celcius): 32.2
BUSY

 [2013-05-11 21:59:52] BFL0: Error: Request temp invalid/timed out (0:-7)
 [2013-05-11 21:59:53] BFL0: Error: Get result reports: Temperature (celcius): 32.3
BUSY

 [2013-05-11 21:59:57] BFL0: Error: Request temp invalid/timed out (0:-7)
 [2013-05-11 21:59:58] BFL0: Error: Get result reports: Temperature (celcius): 32.2
BUSY

 [2013-05-11 22:00:04] Accepted 1dcc5b01 Diff 8/1 BFL 0 pool 0
 [2013-05-11 22:00:09] Accepted 192cc2d1 Diff 10/1 BFL 0 pool 0
 [2013-05-11 22:00:09] Accepted 3565e5f9 Diff 4/1 BFL 0 pool 0
 [2013-05-11 22:00:11] BFL0: Error: Request temp invalid/timed out (0:-7)
 [2013-05-11 22:00:14] BFL0: Error: Request temp invalid/timed out (0:-7)
 [2013-05-11 22:00:14] BFL0: Error: Get result reports: Temperature (celcius): 32.2

 [2013-05-11 22:00:20] Accepted 28c03bc3 Diff 6/1 BFL 0 pool 0
 [2013-05-11 22:00:20] Accepted 8a11dea1 Diff 1/1 BFL 0 pool 0
 [2013-05-11 22:00:23] BFL0: Error: Request temp invalid/timed out (0:-7)
 [2013-05-11 22:00:25] BFL0: Error: Get result reports: Temperature (celcius): 32.6
BUSY

 [2013-05-11 22:00:33] BFL0: Error: Request temp invalid/timed out (0:-7)
 [2013-05-11 22:00:35] BFL0: Error: Get result reports: Temperature (celcius): 32.9
BUSY

 [2013-05-11 22:00:45] BFL0: Error: Request temp invalid/timed out (0:-7)
 [2013-05-11 22:00:46] BFL0: Error: Get result reports: Temperature (celcius): 32.3
BUSY

 [2013-05-11 22:00:48] BFL0: Error: Request temp invalid/timed out (0:-7)
 [2013-05-11 22:01:13] Accepted 13c60315 Diff 12/1 BFL 0 pool 0
 [2013-05-11 22:01:18] Accepted d859eee1 Diff 1/1 BFL 0 pool 0
 [2013-05-11 22:01:22] BFL0: Error: Request temp invalid/timed out (0:-7)
 [2013-05-11 22:01:23] BFL0: Error: Get result reports: Temperature (celcius): 32.6
BUSY

 [2013-05-11 22:01:25] BFL0: Error: Request temp invalid/timed out (0:-7)
 [2013-05-11 22:01:28] BFL0: Error: Get result reports: Temperature (celcius): 32.8
BUSY

 [2013-05-11 22:01:34] BFL0: Error: Request temp invalid/timed out (0:-7)
 [2013-05-11 22:01:34] BFL0: Error: Get result reports: Temperature (celcius): 32.7
BUSY

 [2013-05-11 22:01:43] BFL0: Error: Request temp invalid/timed out (0:-7)
 [2013-05-11 22:01:45] BFL0: Error: Get result reports: Temperature (celcius): 32.7
BUSY

 [2013-05-11 22:01:55] BFL0: Error: Request temp invalid/timed out (0:-7)
 [2013-05-11 22:01:55] BFL0: Error: Get result reports: Temperature (celcius): 32.9
BUSY

 [2013-05-11 22:01:57] BFL0: Error: Request temp invalid/timed out (0:-7)
 [2013-05-11 22:02:05] Thread 6 being disabled
 [2013-05-11 22:02:05] Thread 7 being disabled
 [2013-05-11 22:02:05] Thread 2 being disabled
 [2013-05-11 22:02:06] Thread 3 being disabled
 [2013-05-11 22:02:06] Thread 5 being disabled
 [2013-05-11 22:02:06] Thread 4 being disabled
 [2013-05-11 22:02:06] MTX: BitForce USB failed to release 'cgminer-usb-2-3' err (288)

legendary
Activity: 4592
Merit: 1851
Linux since 1997 RedHat 4
is cgminer scanning usb periodically while running? i noticed my Haupauge HD-PVR keeps locking up when running cgminer. if it is, can it be disabled under windows?
--hotplug 0

Ok, thank you i'll give that a shot after the race later. don;t want to lockup the recording device while i'm at work.
java API 'hotplug|0'
newbie
Activity: 57
Merit: 0
is cgminer scanning usb periodically while running? i noticed my Haupauge HD-PVR keeps locking up when running cgminer. if it is, can it be disabled under windows?
--hotplug 0

Ok, thank you i'll give that a shot after the race later. don;t want to lockup the recording device while i'm at work.
-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
is cgminer scanning usb periodically while running? i noticed my Haupauge HD-PVR keeps locking up when running cgminer. if it is, can it be disabled under windows?
--hotplug 0
newbie
Activity: 57
Merit: 0
is cgminer scanning usb periodically while running? i noticed my Haupauge HD-PVR keeps locking up when running cgminer. if it is, can it be disabled under windows?
legendary
Activity: 4592
Merit: 1851
Linux since 1997 RedHat 4
I'm getting this error, running v3.1
...
 [2013-05-11 21:56:39] BFL0: Error: Request temp invalid/timed out (0:-7)
 [2013-05-11 21:56:41] Accepted dd30e6b2 Diff 1/1 GPU 1 pool 0
 [2013-05-11 21:56:41] BFL0: Error: Get result reports: Temperature (celcius): 32.2
BUSY

 [2013-05-11 21:56:42] Accepted 317f83a5 Diff 5/1 GPU 0 pool 0
 [2013-05-11 21:56:43] Accepted ff9856a7 Diff 1/1 GPU 4 pool 0
 [2013-05-11 21:56:46] Accepted 3a40124f Diff 4/1 GPU 1 pool 0
 [2013-05-11 21:56:46] Accepted b2508626 Diff 1/1 BFL 0 pool 0
 [2013-05-11 21:56:47] Accepted ba0f9179 Diff 1/1 GPU 3 pool 0
 [2013-05-11 21:56:51] BFL0: Error: Request temp invalid/timed out (0:-7)
 [2013-05-11 21:56:51] BFL0: Error: Get result reports: Temperature (celcius): 32.2
...

The hash rate of BFL Single goes down after the the first message appears, but it will go essentially to 0 after some period of time.

Restarting cgminer solves the problem but problem will reaper after some interval of time.

I think there is a hardware error inside the device, which gets USB buffer for the device out of sync with cgminer. Is it possible to make cgminer to recover after this error by flushing the USB buffer or some other internal reset without a need to restart cgminer?

Hmm - but it should resync anyway ... I presume it is doing that in the log after where you cut it off? (as it did the first time shown)
The actual cause of the problem is the timeout (-7) where the device took more than 999ms to reply (i.e. BFL0 stuffed up Tongue)
If the device really has failed, it will change state to ZOMBIE, but if it does keep working, then in this case it's simply got out of sync fue to a hardware problem and then resynced not long after.
If it resyncs, then reinitialising it wont do any better.
-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
CGminer crashes when I start it on windows. Any ideas why? (inb4 "you're using windows")

Catalyst 13.4; AMD APP SDK 2.8; I'm using the "cgminer-3.1.1-windows" precompiled binaries; 64bit Windows 7 SP1
AMD HD Radeon 6850

It works fine on linux.
newbie
Activity: 32
Merit: 0
Code:
Problem signature:
  Problem Event Name: APPCRASH
  Application Name: cgminer.exe
  Application Version: 0.0.0.0
  Application Timestamp: 518e20db
  Fault Module Name: cgminer.exe
  Fault Module Version: 0.0.0.0
  Fault Module Timestamp: 518e20db
  Exception Code: c0000005
  Exception Offset: 000265be
  OS Version: 6.1.7601.2.1.0.256.1
  Locale ID: 1033
  Additional Information 1: 0a9e
  Additional Information 2: 0a9e372d3b4ad19135b953a78882e789
  Additional Information 3: 0a9e
  Additional Information 4: 0a9e372d3b4ad19135b953a78882e789

CGminer crashes when I start it on windows. Any ideaas to why? (inb4 "you're using windows")

Catalyst 13.4; AMD APP SDK 2.8; I'm using the "cgminer-3.1.1-windows" precompiled binaries; 64bit Windows 7 SP1
AMD Radeon HD 6850

It works fine on linux.

EDIT: I fixed a couple typos.
sr. member
Activity: 441
Merit: 250
GET IN - Smart Ticket Protocol - Live in market!
I'm getting this error, running v3.1
...
 [2013-05-11 21:56:39] BFL0: Error: Request temp invalid/timed out (0:-7)
 [2013-05-11 21:56:41] Accepted dd30e6b2 Diff 1/1 GPU 1 pool 0
 [2013-05-11 21:56:41] BFL0: Error: Get result reports: Temperature (celcius): 32.2
BUSY

 [2013-05-11 21:56:42] Accepted 317f83a5 Diff 5/1 GPU 0 pool 0
 [2013-05-11 21:56:43] Accepted ff9856a7 Diff 1/1 GPU 4 pool 0
 [2013-05-11 21:56:46] Accepted 3a40124f Diff 4/1 GPU 1 pool 0
 [2013-05-11 21:56:46] Accepted b2508626 Diff 1/1 BFL 0 pool 0
 [2013-05-11 21:56:47] Accepted ba0f9179 Diff 1/1 GPU 3 pool 0
 [2013-05-11 21:56:51] BFL0: Error: Request temp invalid/timed out (0:-7)
 [2013-05-11 21:56:51] BFL0: Error: Get result reports: Temperature (celcius): 32.2
...

The hash rate of BFL Single goes down after the the first message appears, but it will go essentially to 0 after some period of time.

Restarting cgminer solves the problem but problem will reaper after some interval of time.

I think there is a hardware error inside the device, which gets USB buffer for the device out of sync with cgminer. Is it possible to make cgminer to recover after this error by flushing the USB buffer or some other internal reset without a need to restart cgminer?


member
Activity: 86
Merit: 10
What did ./configure return?
Output on
Pastebin

Looks pretty convincing to me:
Code:
configure: WARNING: Could not find curses library - if you want a TUI, install libncurses-dev or pdcurses-dev

  curses.TUI...........: NOT FOUND. TUI support DISABLED

Ohhhh... I'm sorry. I go wrong computer via terminal.
libncurses-dev was not installed.
Now all fine.
-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
please make GBT configurable and turned off by default... nobody needs that!

I guess it would be possible to drop the libcurl requirement if both getwork and GBT could be disabled, right?
Indeed, but would require carving out a large chunk of code to be configurable. The thought has definitely crossed my mind.
sr. member
Activity: 658
Merit: 250
please make GBT configurable and turned off by default... nobody needs that!

I guess it would be possible to drop the libcurl requirement if both getwork and GBT could be disabled, right?
hero member
Activity: 770
Merit: 502
New version: 3.1.1 (for workgroups), 11th May 2013

Thank you so much, ckolivas.

Sending a donation your way. Can you supply me a litecoin donation address?
Sure (hint: SCRYPT-README Wink )

Lc8TWMiKM7gRUrG8VB8pPNP1Yvt1SGZnoH

Ah. Cool. Sent ya 2 ltc Smiley. Great work.
full member
Activity: 168
Merit: 100
please make GBT configurable and turned off by default... nobody needs that!
Jump to: