Bitcoin Forum
July 30, 2015, 06:08:54 AM *
News: New! Latest stable version of Bitcoin Core: 0.11.0 [Torrent]
 
   Home   Help Search Donate Login Register  
Pages: « 1 ... 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 [727] 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 ... 812 »
  Print  
Author Topic: OFFICIAL CGMINER mining software thread for linux/win/osx/mips/arm/r-pi 4.9.2  (Read 3700905 times)
This is a self-moderated topic. If you do not want to be moderated by the person who started this topic, create a new topic.
Tazdalgod
Newbie
*
Offline Offline

Activity: 20


View Profile

Ignore
February 19, 2014, 09:55:46 AM
 #14521

Good day. Please help.
cgminer version 3.7.2 connects via tcp protocol to use the API miner.
Settings in the config file are:

"api-listen": true,
"api-network": true,
"api-port": "4028"

As a result, after the first shipment of any team, it is responsible miner and closes the socket.
What you need to write in the config miner, that he does not break the connection after each answer?
1438236534
Hero Member
*
Offline Offline

Posts: 1438236534

View Profile Personal Message (Offline)

Ignore
1438236534
Reply with quote  #2

1438236534
Report to moderator
1438236534
Hero Member
*
Offline Offline

Posts: 1438236534

View Profile Personal Message (Offline)

Ignore
1438236534
Reply with quote  #2

1438236534
Report to moderator
COINROYALE BITCOIN CASINO GET UP TO 1 BTC FREE Use Code: FORUM100 PLAY NOW
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1438236534
Hero Member
*
Offline Offline

Posts: 1438236534

View Profile Personal Message (Offline)

Ignore
1438236534
Reply with quote  #2

1438236534
Report to moderator
RaTTuS
Hero Member
*****
Offline Offline

Activity: 791


Bite me


View Profile

Ignore
February 19, 2014, 10:23:18 AM
 #14522

ckolivas can you start a new thread and switch this one off .....  Wink

In the Beginning there was CPU , then GPU , then FPGA then ASIC, what next I hear to ask ....

1RaTTuSEN7jJUDiW1EGogHwtek7g9BiEn
dlowings
Full Member
***
Offline Offline

Activity: 227


View Profile

Ignore
February 19, 2014, 03:44:37 PM
 #14523

I found how to launch CGMINER from the command line on the Mac, and it does use my default terminal settings, thanks for that tip... I just got finished reading the read me you had posted on page 1 and couldn't find the answer to another question... can you sign a block with CG miner ? yes, another vanity question lol... I just wanted more than my IP showing on the block chain if I ever hit the lotto lol ...

BTC donations welcome:- 1BrersvQubEKt4m2hBXDNvU1B4RiYe6J4i   -   Feel free to visit wiki.chainminer.com for free hardware listings, and mining info. -  IRC on freenode #wiki.chainminer.com
-ck
Moderator
Legendary
*
Offline Offline

Activity: 1498


Ruu \o/


View Profile WWW

Ignore
February 19, 2014, 11:38:14 PM
 #14524

I found how to launch CGMINER from the command line on the Mac, and it does use my default terminal settings, thanks for that tip... I just got finished reading the read me you had posted on page 1 and couldn't find the answer to another question... can you sign a block with CG miner ? yes, another vanity question lol... I just wanted more than my IP showing on the block chain if I ever hit the lotto lol ...
no

Primary developer/maintainer for cgminer: https://bitcointalk.org/index.php?topic=28402.0
and ckpool/ckproxy: https://bitcointalk.org/index.php?topic=790323.0 , -ck
kano
Legendary
*
Offline Offline

Activity: 1428


Linux since 1997 RedHat 4


View Profile

Ignore
February 20, 2014, 10:52:55 AM
 #14525

Good day. Please help.
cgminer version 3.7.2 connects via tcp protocol to use the API miner.
Settings in the config file are:

"api-listen": true,
"api-network": true,
"api-port": "4028"

As a result, after the first shipment of any team, it is responsible miner and closes the socket.
What you need to write in the config miner, that he does not break the connection after each answer?
It does that by design.

Pool: https://kano.is BTC: 1KanoiBupPiZfkwqB7rfLXAzPnoTshAVmb
CKPool and CGMiner developer, IRC FreeNode #ckpool and #cgminer kanoi
Help keep Bitcoin secure by mining on pools with Stratum, the best protocol to mine Bitcoins with ASIC hardware
rekweam
Jr. Member
*
Offline Offline

Activity: 37


View Profile

Ignore
February 20, 2014, 11:13:41 AM
 #14526

Have just installed 3.12.3 for mac OS X.

I can only get it to pick up 10 USB Block Erupters. The rest give me this, SEM: Icarus USB timeout waiting for (65547) '/tmp/cgminer-usb-20-10'

Any help would be muchly appreciated.
-ck
Moderator
Legendary
*
Offline Offline

Activity: 1498


Ruu \o/


View Profile WWW

Ignore
February 20, 2014, 08:28:10 PM
 #14527

Have just installed 3.12.3 for mac OS X.

I can only get it to pick up 10 USB Block Erupters. The rest give me this, SEM: Icarus USB timeout waiting for (65547) '/tmp/cgminer-usb-20-10'

Any help would be muchly appreciated.

A usb failure can show up in so many ways, this is one of them. Likely there's just not enough power.

Primary developer/maintainer for cgminer: https://bitcointalk.org/index.php?topic=28402.0
and ckpool/ckproxy: https://bitcointalk.org/index.php?topic=790323.0 , -ck
Karin
Member
**
Offline Offline

Activity: 109



View Profile WWW

Ignore
February 20, 2014, 09:37:12 PM
 #14528

Have just installed 3.12.3 for mac OS X.

I can only get it to pick up 10 USB Block Erupters. The rest give me this, SEM: Icarus USB timeout waiting for (65547) '/tmp/cgminer-usb-20-10'

Any help would be muchly appreciated.

A usb failure can show up in so many ways, this is one of them. Likely there's just not enough power.

A fellow by the name of JimJag found the solution to this in this post on the Asteroid forums.

Quote
The issue is that cgminer uses SysV semaphores and make use of the UNDO mechanism. OSX by default only allows 10 of these per process. Use sysctl to update to something more reasonable (eg: sysctl -w kern.sysv.semume=100). If cgminer has already been running, you'll need to do this via /etc/sysctl.conf and reboot.

The solution he suggests, can be implemented by running the following in your Terminal.app and then rebooting.

sudo touch /etc/sysctl.conf; sudo echo kern.sysv.semume=100 >> /etc/sysctl.conf; sudo chown root:wheel /etc/sysctl.conf; sudo chmod 0644 /etc/sysctl.conf

EDIT: See below for correct commands to enter into Terminal.app.

Easiest to use bitcoin/litecoin miner for Mac: AsteroidApp.com | @AsteroidApp | Bitcointalk forum thread
Unofficial cgminer for Mac OS X | sgminer for Mac OS X
rekweam
Jr. Member
*
Offline Offline

Activity: 37


View Profile

Ignore
February 20, 2014, 09:52:17 PM
 #14529

Have just installed 3.12.3 for mac OS X.

I can only get it to pick up 10 USB Block Erupters. The rest give me this, SEM: Icarus USB timeout waiting for (65547) '/tmp/cgminer-usb-20-10'

Any help would be muchly appreciated.

A usb failure can show up in so many ways, this is one of them. Likely there's just not enough power.

A fellow by the name of JimJag found the solution to this in this post on the Asteroid forums.

Quote
The issue is that cgminer uses SysV semaphores and make use of the UNDO mechanism. OSX by default only allows 10 of these per process. Use sysctl to update to something more reasonable (eg: sysctl -w kern.sysv.semume=100). If cgminer has already been running, you'll need to do this via /etc/sysctl.conf and reboot.

The solution he suggests, can be implemented by running the following in your Terminal.app and then rebooting.

Code:
sudo touch /etc/sysctl.conf; sudo echo kern.sysv.semume=100 >> /etc/sysctl.conf; sudo chown root:wheel /etc/sysctl.conf; sudo chmod 0644 /etc/sysctl.conf

Thank you for the reply,

i entered the touch then tried the second one,
Code:
sudo echo kern.sysv.semume=100 >> /etc/sysctl.conf
and got permission denied?
Karin
Member
**
Offline Offline

Activity: 109



View Profile WWW

Ignore
February 20, 2014, 10:03:45 PM
 #14530

Thank you for the reply,

i entered the touch then tried the second one,
Code:
sudo echo kern.sysv.semume=100 >> /etc/sysctl.conf
and got permission denied?

Huh, me too.  Here are the original instructions, I put them on one line to make it easier (silly me, should have tested).  Instead use this:

Code:
sudo su
touch /etc/sysctl.conf
echo kern.sysv.semume=100 >> /etc/sysctl.conf
chown root:wheel /etc/sysctl.conf
chmod 0644 /etc/sysctl.conf

Enter each line one at a time exactly as above, and then reboot.

Easiest to use bitcoin/litecoin miner for Mac: AsteroidApp.com | @AsteroidApp | Bitcointalk forum thread
Unofficial cgminer for Mac OS X | sgminer for Mac OS X
rekweam
Jr. Member
*
Offline Offline

Activity: 37


View Profile

Ignore
February 20, 2014, 10:18:26 PM
 #14531

Thank you for the reply,

i entered the touch then tried the second one,
Code:
sudo echo kern.sysv.semume=100 >> /etc/sysctl.conf
and got permission denied?

Huh, me too.  Here are the original instructions, I put them on one line to make it easier (silly me, should have tested).  Instead use this:

Code:
sudo su
touch /etc/sysctl.conf
echo kern.sysv.semume=100 >> /etc/sysctl.conf
chown root:wheel /etc/sysctl.conf
chmod 0644 /etc/sysctl.conf

Enter each line one at a time exactly as above, and then reboot.

THANK YOU!!! Worked like a treat.
-ck
Moderator
Legendary
*
Offline Offline

Activity: 1498


Ruu \o/


View Profile WWW

Ignore
February 20, 2014, 10:20:28 PM
 #14532

Thank you for the reply,

i entered the touch then tried the second one,
Code:
sudo echo kern.sysv.semume=100 >> /etc/sysctl.conf
and got permission denied?

Huh, me too.  Here are the original instructions, I put them on one line to make it easier (silly me, should have tested).  Instead use this:

Code:
sudo su
touch /etc/sysctl.conf
echo kern.sysv.semume=100 >> /etc/sysctl.conf
chown root:wheel /etc/sysctl.conf
chmod 0644 /etc/sysctl.conf

Enter each line one at a time exactly as above, and then reboot.

THANK YOU!!! Worked like a treat.
Great stuff, will add this to documentation!

Primary developer/maintainer for cgminer: https://bitcointalk.org/index.php?topic=28402.0
and ckpool/ckproxy: https://bitcointalk.org/index.php?topic=790323.0 , -ck
rekweam
Jr. Member
*
Offline Offline

Activity: 37


View Profile

Ignore
February 21, 2014, 02:29:01 AM
 #14533

Thank you for the reply,

i entered the touch then tried the second one,
Code:
sudo echo kern.sysv.semume=100 >> /etc/sysctl.conf
and got permission denied?

Huh, me too.  Here are the original instructions, I put them on one line to make it easier (silly me, should have tested).  Instead use this:

Code:
sudo su
touch /etc/sysctl.conf
echo kern.sysv.semume=100 >> /etc/sysctl.conf
chown root:wheel /etc/sysctl.conf
chmod 0644 /etc/sysctl.conf

Enter each line one at a time exactly as above, and then reboot.

THANK YOU!!! Worked like a treat.
Great stuff, will add this to documentation!

Being a sudo command it will only work until reboot correct?
-ck
Moderator
Legendary
*
Offline Offline

Activity: 1498


Ruu \o/


View Profile WWW

Ignore
February 21, 2014, 02:36:44 AM
 #14534

New MAJOR version - 4.0.0, 21st February 2014

This major version update is marking the conclusion of the move to pure ASIC based mining. It has numerous new drivers and features, but despite that, the major inner workings are only trivially changed so it should be a safe upgrade. The most notable new features are a larger status window, addition of a USB management menu, the cointerra driver, bitmine A1 driver (supported by zefir) and the Avalon2U driver (still in development). While the fpga code is still present in cgminer, the binaries will no longer include them, and modminer users will have to add the bitstream themselves to the bitstreams/ directory to minimise the size of the releases for everyone else.

Human readable changelog:

- Cointerra driver
- Bitmine A1 driver
- Avalon2U driver
- Wider status window now looks like this:
Code:
cgminer version 4.0.0 - Started: [2014-02-21 12:58:03]
--------------------------------------------------------------------------------------------------
 (5s):3.037T (avg):2.569Th/s | A:809704  R:1600  HW:624  WU:35890.5/m
 ST: 1  SS: 0  NB: 6  LW: 875947  GF: 0  RF: 0
 Connected to au.ozco.in diff 1.6K with stratum as user ckolivas.0
 Block: 1522ef37...  Diff:3.13G  Started: [13:14:10]  Best share: 1.08M
--------------------------------------------------------------------------------------------------
 [U]SB device management [P]ool management [S]ettings [D]isplay options [Q]uit
 000: NF1 0:                         | 2.426G/2.397Gh/s | A:  4801 R:   0 HW:  0 WU:   33.9/m
 001: NF1 1:                         | 1.846G/1.960Gh/s | A:     1 R:   0 HW:  0 WU:   27.4/m
 002: BXF 0:  44.2C                  | 5.123G/5.119Gh/s | A:  1602 R:   0 HW:  0 WU:   71.7/m
 004: HFS 1: 625MHz  86C  18% 0.79V  | 1.330T/1.322Th/s | A:433700 R:1600 HW:110 WU:18492.2/m
 005: ANU 0:                         | 2.224G/2.231Gh/s | A:     0 R:   0 HW:371 WU:   15.2/m
 007: BF1 0:                         | 2.353G/2.337Gh/s | A:  4800 R:   0 HW: 63 WU:   33.1/m
 008: HFS 3: 609MHz  85C  19% 0.79V  | 1.571T/1.273Th/s | A:264000 R:   0 HW: 52 WU:17803.3/m
--------------------------------------------------------------------------------------------------
 
The original curses display was never designed with many devices with vast amount of information displayable, and that is still the case now, but the ASIC era has made it that we do need more than previously, but I am trying to keep the display as concise as possible with the most meaningful information.

- USB menu looks like this:
Code:
Hotplug interval:5
9 USB devices, 7 enabled, 0 disabled, 2 zombie
[S]ummary of device information
[E]nable device
[D]isable device
[U]nplug to allow hotplug restart
[R]eset device USB
[L]ist all known devices
[B]lacklist current device from current instance of cgminer
[W]hitelist previously blacklisted device
[H]otplug interval (0 to disable)
These should be self explanatory, except perhaps the black and whitelist features. Normally cgminer will mine on any devices it can detect and has permission to use unless you explicitly restrict it with the --usb command line argument, and it will NOT mine on any devices another cgminer instance is currently using. The blacklist feature allows you to disable a device on the fly that it has tried to mine on, allowing another instance of cgminer to use it. Whitelisting undoes this change.
- ANU devices aka AntminerU1 usb sticks will now take any arbitrary frequency with --anu-freq and  cgminer will try to find the nearest frequency it can set it to, instead of being restricted to 25MHz increments.
- Hashfast device failures will be detected sooner
- Hashfast fan speeds by default will go down to 5%
- The menu now shows hashfast clock speed as detected by the device (which may be different to the requested speed) and fanspeed%
- Hashfast board temperature is now taken into consideration when looking for the hottest component and displaying temperature and adjusting fanspeed
- Hashfast clock speeds per die in the API should more accurately represent what speed they really are.
- Hashfast restarts should be a little more reliable
- Klondike, avalon, bab, drillbit will display more info on screen
- Pools that silently drop stratum shares submitted will not induce a memory leak in cgminer
- If no connection is present at startup, cgminer will be able to connect to a dead pool later when it comes alive
- ./autogen.sh from git will not error if given no arguments but will instead not try to configure the build
- A warning will come up if someone selects system libusb, advising against it (given how few versions of libusb actually work well).
- Fix a couple of potential hangs
- Temperature for devices that support it will now show up in the api devs command
- Icarus and bitfury devices that stop producing shares will now be sent a reset after a minute of no activity, and if they do not respond within another minute will be dropped, allowing cgminer to attempt to re-hotplug them. This has been proven effective at bringing back U1 miners that stop hashing.
- Fix unresponsive bitfury devices from ending up OFF that would not disappear and/or restart
- Bab driver updates disabling cores that stop working and reduce the cpu usage substantially
- miner.php updates
- Allow benchmarking from a --benchfile
- Other minor bugfixes and trivial cosmetic differences


Full changelog:
- Check for error from setfloatval
- Halfdelay cannot be larger than 255.
- Allow any arbitrary frequency to be specified for ANU devices and try to find
the nearest frequency when initialising it, reporting if the frequency is not
exactly as requested.
- Only show system libusb warning when appropriate during configure.
- Merge branch 'avalon2' of https://github.com/xiangfu/cgminer into
xiangfu-avalon2
- Hfa cooling remains satisfactory down to a minimum fanspeed of 5%
- Give a nodev error if we have already set nodev in hfa clear readbuf to avoid
further usb comms attempts.
- Fix missing include
- Move bitmine options to alphabetic positioning.
- bab - missed a few 'DEAD's in last commit
- bab - use 'bad' instead of 'dead' as per the screen B:
- bab - roll work if possible to reduce CPU
- Update the per die hash clock data on a running reset on hfa devices.
- Set the per die clock on hfa to the known starting base clock instead of our
requested clock rate.
- Hfa device failure can be detected within 15 seconds so we should try
restarting it sooner to avoid tripping the device's own watchdog.
- Check return result of hfa clear readbuf to minimise error messages on device
failure.
- Put MHz into cta statline description.
- Send a work restart with every shutdown message to hfa devices to clear any
work that might be stale on the next restart.
- Store the hfa hash_clock rate and display it in the statline.
- Store the maximum board temperature for hfa devices and take that into
consideration when calculating the highest temperature as well as the dies.
- A1: CoinCraft-Desk driver variant
- Initial import of Bitmine.ch A1 SPI driver
- klondike ensure stats type matches
- avalon, bab, drillbit, klondike use more screen space rather than truncating
info
- Add hashfast fanspeed% to statline display.
- Move driver statline padding to cgminer.c, expanding width of maximum
displayable statistics and window width to add more info.
- Prune old stratum shares that we've seen no response for over 2 minutes to
avoid memory leaks for pools that don't respond about some shares.
- Add warning if system libusb is being added.
- Only run ./configure with autogen.sh if extra parameters are passed to it.
- Updated cointerra features.
- Add le16toh defines for platforms that may be missing it.
- Remove modminer bitstreams from distribution and replace with a README saying
what file needs to be added if modminer build is still desired.
- Use the simplelog function from usb_list()
- Add a simplelog function that does not log date and time.
- Use a unique usb_list function displaying only pertinent information when
listing usb devices from the menu.
- Abstract out the _in_use function to take different linked lists.
- Break out of linked list loop in remove_in_use in case we've gone over the
whole list.
- Check for hfa invalid hash clockrate after other error messages.
- Detect non-responsive icarus devices and attempt a usb reset before killing
them after 2 minutes of no hashes.
- Detect non-responsive bitfury devices and try a usb reset on them before
killing their instances off after 2 minutes of no activity.
- Allow hotplug interval to be changed from the USB menu.
- Prevent recursive loop in __is_in_use linked list walking.
- Add the ability to whitelist previously blacklisted usb devices from the menu.
- Use a bool in struct cgpu to know when a usb device has been blacklisted,
avoiding blacklisting it more than once.
- bab - ensure disabled chips are counted in the screen dead chip counter
- bab - only disable the chip once ...
- bab - short work list skip disabled chips
- api.c avoid incorrect gcc warning
- cgminer -h crash fix
- Add blacklisting as an option to the USB menu.
- Add a mechanism to blacklist a usb device from its cgpu.
- Add an option to the USB menu to list all known devices.
- Add an option to send a USB reset via the USB menu.
- Add a usb_reset by cgpu function to usbutils.
- Add warning for attempting to unplug a usb device that is already removed.
- Add USB Unplug option to USB management device management menu.
- Add enable and disable USB device functions to the menu.
- Add a USB menu item, initially with just statistics per device, adding
device number to the device status window display.
- Reuse the cgpu temp entry for avalon and bitfury devices, changing avalon to a
damped value.
- Store the cointerra maximum temperature in the cgpu struct as an exponentially
changing value based on the maximum temperature.
- Reuse the cgpu->temp entry for max temperature in hfa driver.
- bab - disable chips that return only bad results
- Add driver for cointerra devices.
- Add Avalon2 (2U size machine) support
- miner.php - define a default rigport (that can be changed) and don't require a
port number in the rigs array
- miner.php allow links for rig buttons in tables and allow using the 4th IP
octet if no rig name - default disabled for both
- format fix and bad variable usage fix for --benchfile
- Allow running cgminer in benchmark mode with a work file --benchfile
- ANU frequency is in MHz, not hex.
- Remove bitfury devices from the usb list on shutdown in case they have stopped
responding but have not had a fatal usb error.

Primary developer/maintainer for cgminer: https://bitcointalk.org/index.php?topic=28402.0
and ckpool/ckproxy: https://bitcointalk.org/index.php?topic=790323.0 , -ck
Karin
Member
**
Offline Offline

Activity: 109



View Profile WWW

Ignore
February 21, 2014, 06:16:17 AM
 #14535

Builds and runs fine on Mac, but I get the following during make when I include --enable-bitmine_A1:

Code:
 CC       cgminer-driver-SPI-bitmine-A1.o
In file included from driver-SPI-bitmine-A1.c:19:
spi-context.h:4:25: error: linux/types.h: No such file or directory
spi-context.h:5:30: error: linux/spi/spidev.h: No such file or directory
In file included from driver-SPI-bitmine-A1.c:19:
spi-context.h:29: error: ‘SPI_MODE_0’ undeclared here (not in a function)
In file included from driver-SPI-bitmine-A1.c:32:
A1-desk-board-selector-tca9535.c:7:23: error: linux/i2c.h: No such file or directory
A1-desk-board-selector-tca9535.c:8:27: error: linux/i2c-dev.h: No such file or directory
In file included from driver-SPI-bitmine-A1.c:32:
A1-desk-board-selector-tca9535.c: In function ‘tca9535_write’:
A1-desk-board-selector-tca9535.c:39: error: storage size of ‘data’ isn’t known
A1-desk-board-selector-tca9535.c:42: error: storage size of ‘args’ isn’t known
A1-desk-board-selector-tca9535.c:43: error: ‘__s32’ undeclared (first use in this function)
A1-desk-board-selector-tca9535.c:43: error: (Each undeclared identifier is reported only once
A1-desk-board-selector-tca9535.c:43: error: for each function it appears in.)
A1-desk-board-selector-tca9535.c:43: error: expected ‘;’ before ‘err’
A1-desk-board-selector-tca9535.c:45: error: ‘I2C_SMBUS_WRITE’ undeclared (first use in this function)
A1-desk-board-selector-tca9535.c:47: error: ‘I2C_SMBUS_BYTE_DATA’ undeclared (first use in this function)
A1-desk-board-selector-tca9535.c:50: error: ‘err’ undeclared (first use in this function)
A1-desk-board-selector-tca9535.c:50: error: ‘I2C_SMBUS’ undeclared (first use in this function)
A1-desk-board-selector-tca9535.c:42: warning: unused variable ‘args’
A1-desk-board-selector-tca9535.c:39: warning: unused variable ‘data’
A1-desk-board-selector-tca9535.c: In function ‘a1_board_selector_init’:
A1-desk-board-selector-tca9535.c:87: error: ‘I2C_SLAVE’ undeclared (first use in this function)
driver-SPI-bitmine-A1.c: In function ‘exec_cmd’:
driver-SPI-bitmine-A1.c:225: warning: unused variable ‘retval’
driver-SPI-bitmine-A1.c: In function ‘cmd_WRITE_JOB’:
driver-SPI-bitmine-A1.c:327: warning: unused variable ‘cmd’
driver-SPI-bitmine-A1.c: In function ‘A1_detect’:
driver-SPI-bitmine-A1.c:880: error: ‘SPI_MODE_1’ undeclared (first use in this function)
driver-SPI-bitmine-A1.c:848: warning: unused variable ‘board_id’
driver-SPI-bitmine-A1.c: In function ‘A1_queue_full’:
driver-SPI-bitmine-A1.c:1020: warning: unused variable ‘work’
make[1]: *** [cgminer-driver-SPI-bitmine-A1.o] Error 1
make: *** [install-recursive] Error 1

Otherwise working great, thanks!  New cgminer mac builds are online here.

Easiest to use bitcoin/litecoin miner for Mac: AsteroidApp.com | @AsteroidApp | Bitcointalk forum thread
Unofficial cgminer for Mac OS X | sgminer for Mac OS X
canford
Member
**
Offline Offline

Activity: 84


View Profile

Ignore
February 21, 2014, 06:22:06 AM
 #14536

I've been running cgminer for 6 months - most recently 3.12.3 on Windows 7 with a dozen block erupters.  When I make the upgrade to 4.0, I start getting messages about "no hashing for 1 minute, resetting" from the various AMUs, and the hashrate drops.  Half the work is going toward mining on Eligius, so mindiff is 16.  Is that somehow tripping up cgminer?  I also seem to get this problem right away after visiting the new "USB" menu.

Thanks for maintaining a great piece of software!  I'm also running an Avalon and two Antminers, and cgminer is running on everything one way or another.
Karin
Member
**
Offline Offline

Activity: 109



View Profile WWW

Ignore
February 21, 2014, 06:28:42 AM
 #14537

Being a sudo command it will only work until reboot correct?

Not in this case.  Sudo is being used to switch to the superuser, from where a file is added to that the OS reads on startup, which configures how it handles USB devices.  That fix is likely permanent.

Easiest to use bitcoin/litecoin miner for Mac: AsteroidApp.com | @AsteroidApp | Bitcointalk forum thread
Unofficial cgminer for Mac OS X | sgminer for Mac OS X
kano
Legendary
*
Offline Offline

Activity: 1428


Linux since 1997 RedHat 4


View Profile

Ignore
February 21, 2014, 08:11:00 AM
 #14538

Being a sudo command it will only work until reboot correct?

Not in this case.  Sudo is being used to switch to the superuser, from where a file is added to that the OS reads on startup, which configures how it handles USB devices.  That fix is likely permanent.
Changes to /etc/sysctl.conf on linux are of course permanent since it's what the system uses at startup.
No idea about mac though.

Pool: https://kano.is BTC: 1KanoiBupPiZfkwqB7rfLXAzPnoTshAVmb
CKPool and CGMiner developer, IRC FreeNode #ckpool and #cgminer kanoi
Help keep Bitcoin secure by mining on pools with Stratum, the best protocol to mine Bitcoins with ASIC hardware
-ck
Moderator
Legendary
*
Offline Offline

Activity: 1498


Ruu \o/


View Profile WWW

Ignore
February 21, 2014, 08:21:27 AM
 #14539

Builds and runs fine on Mac, but I get the following during make when I include --enable-bitmine_A1:

Code:
make[1]: *** [cgminer-driver-SPI-bitmine-A1.o] Error 1
make: *** [install-recursive] Error 1

Otherwise working great, thanks!  New cgminer mac builds are online here.
Thanks.

None of the SPI devices should be built into any distributed binaries as they're designed for standalone hardware anyway. I suggest the following only for distributed binaries at this stage:

Code:
--enable-icarus --enable-bflsc --enable-avalon --enable-bitfury --enable-klondike --enable-drillbit --enable-hashfast --enable-cointerra

Primary developer/maintainer for cgminer: https://bitcointalk.org/index.php?topic=28402.0
and ckpool/ckproxy: https://bitcointalk.org/index.php?topic=790323.0 , -ck
-ck
Moderator
Legendary
*
Offline Offline

Activity: 1498


Ruu \o/


View Profile WWW

Ignore
February 21, 2014, 08:24:20 AM
 #14540

I've been running cgminer for 6 months - most recently 3.12.3 on Windows 7 with a dozen block erupters.  When I make the upgrade to 4.0, I start getting messages about "no hashing for 1 minute, resetting" from the various AMUs, and the hashrate drops.  Half the work is going toward mining on Eligius, so mindiff is 16.  Is that somehow tripping up cgminer?  I also seem to get this problem right away after visiting the new "USB" menu.

Thanks for maintaining a great piece of software!  I'm also running an Avalon and two Antminers, and cgminer is running on everything one way or another.
Thanks. Pool diff doesn't affect the rate at which shares come back from those devices. The block erupters hash very slowly and perhaps it is quite likely that they wont produce a share even after a minute at 333MH, making that test a little too trigger happy; it was designed around all the new 2GH+ devices appearing. For now I suggest leaving the erupters on 3.12.3.

Primary developer/maintainer for cgminer: https://bitcointalk.org/index.php?topic=28402.0
and ckpool/ckproxy: https://bitcointalk.org/index.php?topic=790323.0 , -ck
Pages: « 1 ... 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 [727] 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 ... 812 »
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!