Bitcoin Forum
November 12, 2024, 10:47:17 AM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 ... 672 673 674 675 676 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 ... 843 »
  Print  
Author Topic: OFFICIAL CGMINER mining software thread for linux/win/osx/mips/arm/r-pi 4.11.1  (Read 5805627 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. (3 posts by 1+ user deleted.)
stefffe
Full Member
***
Offline Offline

Activity: 131
Merit: 100



View Profile
February 18, 2014, 06:39:14 PM
 #14421

Hi!

I used to run 2x 7950 + 2x 280X in one rig(4gb ram) with thread concurrency 24000.

Now I bought 2 more 280X and placed them together with the other  280's, to use TC 8192 which gives more khash overall on that rig.

So I place my 2x 7950 in my other rig which has 16gb ram, other rig has 4gb ram.

So when I try to start cgminer it says

[2014-02-18 19:32:18] Maximum buffer memory device 0 supports says 536870912
[2014-02-18 19:32:18] Your scrypt settings come to 1572864000
[2014-02-18 19:32:18] Error -61: clCreateBuffer (padbuffer8), decrease TC or increase LG

So I tried setx GPU_MAX_ALLOC_PERCENT 100 but that doesnt help either.

Only TC that works for me now is 8192

Anyone got some ideas?

EDIT: forgot some details

Also, higher TC works in GUIminer without problem...


Sapphire radeon 7950 dualx, cg miner 3.7

"intensity" : "20",
"vectors" : "1",
"worksize" : "256",
"kernel" : "scrypt",
"lookup-gap" : "2",
"thread-concurrency" : "24000",
"shaders" : "0",
"api-port" : "4028",
"expiry" : "120",
"gpu-dyninterval" : "7",
"gpu-platform" : "0",
"gpu-threads" : "1",
"gpu-engine" : "1020",
"gpu-memclock" : "1225",
"gpu-powertune" : "20",

YinCoin YangCoin ☯☯First Ever POS/POW Alternator! Multipool! ☯ ☯ http://yinyangpool.com/ 
Free Distribution! https://bitcointalk.org/index.php?topic=623937
techman05
Hero Member
*****
Offline Offline

Activity: 546
Merit: 500


View Profile WWW
February 18, 2014, 06:59:41 PM
 #14422

Hi,

I have soldered Ants @ 1,088V. Did have some problems with bfgminer and because of that tested the new release of cgminer.


I tested every single Antminer with my Notebook Win7 and CGminer 3.12.3.

One Stick threw HW error during startup. But ran fine then. I got 2,8 Ghash out of every Stick. About one third did 3Ghash without problems (no HW error). So my new goal is getting all together @ 2,8 Ghash.

Tried CGminer 3.12.3 (http://ck.kolivas.org/apps/cgminer/cgminer-3.12.3.tar.bz2) on my Pi with the 49 Port hub. It told me not supporting the "--anu-freq 350" parameter. Is this not supported for the pi/linux?

Then  I tried the 49- Port Hub (pluged in all 16 Ants) with my Windows notebook. Only got lots of errors, saying it could not detect and "wrong device?"

Then I tried a single Ant at the 49 port hub. Worked without probems. Pluged in the second Ant - worked fine. Pluged in the third Ant and cgminer could not detect it and did not detect any further Ant. Tried that several times but never got more then 4 Ants working. I noticed that the LED (which is normally flashing when the Ant is hashing) is on (not flashing) for a few seconds on those Ants which did not get detected.

Looks for me like CGminer has sometime problems during initalization and is then not able to detect further Ants. Does that make sense?

I am crosposting that over at the Antminer Tips and Tricks thread.


Is there anyplace that actually does the modd or sells them post modded. Ebay's catching on that people want these but I haven't seen any mentioning this. At least the resistor itself is only a few bucks for a hundred.

If your going to cross-post also link to it like this -> https://bitcointalk.org/index.php?topic=390929.msg5155376#msg5155376




Like the info address for potential tips Wink
BTC 1CL5BnNhdL2wDVmSDwMbW1cNhZew87CAPV
* http://www.miningrigrentals.com/register?ref=563
Tazdalgod
Newbie
*
Offline Offline

Activity: 20
Merit: 0


View Profile
February 19, 2014, 09:55:46 AM
 #14423

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?
RaTTuS
Hero Member
*****
Offline Offline

Activity: 792
Merit: 1000


Bite me


View Profile
February 19, 2014, 10:23:18 AM
 #14424

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: 226
Merit: 100


View Profile
February 19, 2014, 03:44:37 PM
 #14425

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 (OP)
Legendary
*
Offline Offline

Activity: 4284
Merit: 1645


Ruu \o/


View Profile WWW
February 19, 2014, 11:38:14 PM
 #14426

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

Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel
2% Fee Solo mining at solo.ckpool.org
-ck
kano
Legendary
*
Offline Offline

Activity: 4620
Merit: 1851


Linux since 1997 RedHat 4


View Profile
February 20, 2014, 10:52:55 AM
 #14427

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 - low 0.5% fee PPLNS 3 Days - Most reliable Solo with ONLY 0.5% fee   Bitcointalk thread: Forum
Discord support invite at https://kano.is/ Majority developer of the ckpool code - k for kano
The ONLY active original developer of cgminer. Original master git: https://github.com/kanoi/cgminer
rekweam
Newbie
*
Offline Offline

Activity: 37
Merit: 0


View Profile
February 20, 2014, 11:13:41 AM
 #14428

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 (OP)
Legendary
*
Offline Offline

Activity: 4284
Merit: 1645


Ruu \o/


View Profile WWW
February 20, 2014, 08:28:10 PM
 #14429

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.

Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel
2% Fee Solo mining at solo.ckpool.org
-ck
Karin
Member
**
Offline Offline

Activity: 109
Merit: 10



View Profile WWW
February 20, 2014, 09:37:12 PM
Last edit: February 20, 2014, 10:15:59 PM by Karin
 #14430

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
Newbie
*
Offline Offline

Activity: 37
Merit: 0


View Profile
February 20, 2014, 09:52:17 PM
 #14431

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
Merit: 10



View Profile WWW
February 20, 2014, 10:03:45 PM
 #14432

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
Newbie
*
Offline Offline

Activity: 37
Merit: 0


View Profile
February 20, 2014, 10:18:26 PM
 #14433

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 (OP)
Legendary
*
Offline Offline

Activity: 4284
Merit: 1645


Ruu \o/


View Profile WWW
February 20, 2014, 10:20:28 PM
 #14434

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!

Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel
2% Fee Solo mining at solo.ckpool.org
-ck
rekweam
Newbie
*
Offline Offline

Activity: 37
Merit: 0


View Profile
February 21, 2014, 02:29:01 AM
 #14435

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 (OP)
Legendary
*
Offline Offline

Activity: 4284
Merit: 1645


Ruu \o/


View Profile WWW
February 21, 2014, 02:36:44 AM
Last edit: February 21, 2014, 02:56:57 AM by ckolivas
 #14436

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.

Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel
2% Fee Solo mining at solo.ckpool.org
-ck
Karin
Member
**
Offline Offline

Activity: 109
Merit: 10



View Profile WWW
February 21, 2014, 06:16:17 AM
 #14437

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: 89
Merit: 10


View Profile WWW
February 21, 2014, 06:22:06 AM
 #14438

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.

Пoльзyйтecь бecплaтнo и пишитe чтo вaм нyжнo yлyчшить:trd.ai
Bидeo, кaк пoльзoвaтьcя пpoeктoм:https://www.youtube.com/watch?v=pNhx715vOOk&feature=youtu.be
Karin
Member
**
Offline Offline

Activity: 109
Merit: 10



View Profile WWW
February 21, 2014, 06:28:42 AM
 #14439

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: 4620
Merit: 1851


Linux since 1997 RedHat 4


View Profile
February 21, 2014, 08:11:00 AM
 #14440

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 - low 0.5% fee PPLNS 3 Days - Most reliable Solo with ONLY 0.5% fee   Bitcointalk thread: Forum
Discord support invite at https://kano.is/ Majority developer of the ckpool code - k for kano
The ONLY active original developer of cgminer. Original master git: https://github.com/kanoi/cgminer
Pages: « 1 ... 672 673 674 675 676 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 ... 843 »
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!