nwoolls (OP)
|
|
November 18, 2013, 05:44:39 PM |
|
Previous brew installs from your formulae for BFGMiner went off without a hitch, so I wonder if the latest update to libmicrohttpd kills this one. Cleared the download homebrew cache just to be sure it wasnt a corrupt download. Same issue with failing to make libmicrohttpd.
For the time being you can download the bfgminer.rb file and remove the libmicrohttpd dependency and then brew install the local file. It should work fine. I added the libmicrohttpd dependency so that bfgminer would build with stratum proxy support.
|
MultiMiner: Any Miner, Any Where, on Any Device | Xgminer: Mine with popular miners on Mac OS X
|
|
|
jedimstr
|
|
November 18, 2013, 06:08:38 PM |
|
Previous brew installs from your formulae for BFGMiner went off without a hitch, so I wonder if the latest update to libmicrohttpd kills this one. Cleared the download homebrew cache just to be sure it wasnt a corrupt download. Same issue with failing to make libmicrohttpd.
For the time being you can download the bfgminer.rb file and remove the libmicrohttpd dependency and then brew install the local file. It should work fine. I added the libmicrohttpd dependency so that bfgminer would build with stratum proxy support. Compiled fine using the local rb without the libmicrohttpd dependency. Of course now BFGMiner fails to fully start, which is common for me if I don't physically pull USB cables from the hubs to redetect my BE's. Since I'm remote at the moment, I can't do this, so I'll get back to the thread later with results once I'm able to reset my hubs. EDIT: Since my non-related issue is with USB BE's, I just started it with my lowly 5770 active instead and was able to start it up fine. So assuming the usual USB cable juggling goes fine later today, then bfgminer should be working fine. That said, is there anything I can do to get libmicrohttpd to compile properly? Not that I currently need the built-in bfgminer stratum proxy at the moment, but I hate leaving things "undone" as it were. I have no ASICMiner Blades and I run my own P2Pool node, so it's really really not necessary, but I know it's just going to keep tickling the back of my neck.
|
|
|
|
singermornings
Newbie
Offline
Activity: 8
Merit: 0
|
|
November 20, 2013, 08:17:03 PM |
|
I have tried everything on my mac but bfgminer doesn't recognize the BlueFury. I can see it on my system profiler, have installed the latest bfgminer from brew and unloaded the kext's but nothing.... I really don't know what else to do... :-(
|
|
|
|
LockUnlock
Newbie
Offline
Activity: 20
Merit: 0
|
|
November 21, 2013, 04:11:26 PM |
|
I have tried everything on my mac but bfgminer doesn't recognize the BlueFury. I can see it on my system profiler, have installed the latest bfgminer from brew and unloaded the kext's but nothing.... I really don't know what else to do... :-(
Open up terminal and type in: bfgminer -o [your pool] -u [username] -p [passcode] -S bigpic:all
and see if that works.
|
|
|
|
CarneMuerta
Newbie
Offline
Activity: 17
Merit: 0
|
|
November 21, 2013, 06:42:18 PM |
|
I have tried everything on my mac but bfgminer doesn't recognize the BlueFury. I can see it on my system profiler, have installed the latest bfgminer from brew and unloaded the kext's but nothing.... I really don't know what else to do... :-(
Just a shot in the dark, but you may wanna give this a read http://blog.nwoolls.com/2013/07/01/bitcoin-mining-on-mac-os-x-asics/this line caught my eye "if you are using bfgminer you must install the CP210x USB to UART Bridge VCP driver" This advice is worth everything you paid for it, as I have yet to play with bfgminer
|
|
|
|
singermornings
Newbie
Offline
Activity: 8
Merit: 0
|
|
November 21, 2013, 07:44:47 PM |
|
I have tried everything on my mac but bfgminer doesn't recognize the BlueFury. I can see it on my system profiler, have installed the latest bfgminer from brew and unloaded the kext's but nothing.... I really don't know what else to do... :-(
Open up terminal and type in: bfgminer -o [your pool] -u [username] -p [passcode] -S bigpic:all
and see if that works. I tried that also (just did it again just in case) and it only shows up the GPU
|
|
|
|
singermornings
Newbie
Offline
Activity: 8
Merit: 0
|
|
November 21, 2013, 07:52:39 PM |
|
I have tried everything on my mac but bfgminer doesn't recognize the BlueFury. I can see it on my system profiler, have installed the latest bfgminer from brew and unloaded the kext's but nothing.... I really don't know what else to do... :-(
Just a shot in the dark, but you may wanna give this a read http://blog.nwoolls.com/2013/07/01/bitcoin-mining-on-mac-os-x-asics/this line caught my eye "if you are using bfgminer you must install the CP210x USB to UART Bridge VCP driver" This advice is worth everything you paid for it, as I have yet to play with bfgminer Yes, I followed all his posts regarding mac mining and everything worked like a charm. Had to install those drivers for the Block Erupters (which work fine by the way).... I bought this BF1 afterwards and is driving me crazy!
|
|
|
|
nwoolls (OP)
|
|
November 21, 2013, 08:07:09 PM |
|
Just as a heads up, the only way I was able to get cgminer to see my BlueFury under Mac OS 10.7, 10.8 and 10.9 was to 'unload' the new USB modem
sudo kextunload -b com.apple.driver.AppleUSBCDC sudo kextunload -b com.apple.driver.AppleUSBCDCACMData
Hopefully this will save someone else a LOT of hair pulling
Finally have a BF1 (Red Fury on-loan) and can confirm this. Before doing this I would get the following error: cgminer -d? [2013-11-21 15:06:02] Started cgminer 3.8.2 [2013-11-21 15:06:03] bitfury detect (93:2) failed to initialise (incorrect device?) [2013-11-21 15:06:04] Devices detected: [2013-11-21 15:06:04] 0 devices listed After unloading both kernel extensions and re-plugging the device cgminer was able to recognize it.
|
MultiMiner: Any Miner, Any Where, on Any Device | Xgminer: Mine with popular miners on Mac OS X
|
|
|
singermornings
Newbie
Offline
Activity: 8
Merit: 0
|
|
November 21, 2013, 08:36:51 PM |
|
Just as a heads up, the only way I was able to get cgminer to see my BlueFury under Mac OS 10.7, 10.8 and 10.9 was to 'unload' the new USB modem
sudo kextunload -b com.apple.driver.AppleUSBCDC sudo kextunload -b com.apple.driver.AppleUSBCDCACMData
Hopefully this will save someone else a LOT of hair pulling
Finally have a BF1 (Red Fury on-loan) and can confirm this. Before doing this I would get the following error: cgminer -d? [2013-11-21 15:06:02] Started cgminer 3.8.2 [2013-11-21 15:06:03] bitfury detect (93:2) failed to initialise (incorrect device?) [2013-11-21 15:06:04] Devices detected: [2013-11-21 15:06:04] 0 devices listed After unloading both kernel extensions and re-plugging the device cgminer was able to recognize it. I tried that also. On cgminer (I have v. 3.6.6) I get this: willy$ cgminer -d? [2013-11-21 21:29:51] Started cgminer 3.6.6 [2013-11-21 21:29:51] Icarus detect (253:17) failed to initialise (incorrect device?) [2013-11-21 21:29:51] Icarus detect (253:16) failed to initialise (incorrect device?) [2013-11-21 21:29:51] Icarus detect (253:14) failed to initialise (incorrect device?) [2013-11-21 21:29:51] Icarus detect (253:12) failed to initialise (incorrect device?) [2013-11-21 21:29:51] Icarus detect (253:11) failed to initialise (incorrect device?) [2013-11-21 21:29:51] Icarus detect (253:10) failed to initialise (incorrect device?) [2013-11-21 21:29:51] Icarus detect (253:9) failed to initialise (incorrect device?) [2013-11-21 21:29:51] Icarus detect (253:8) failed to initialise (incorrect device?) [2013-11-21 21:29:51] Icarus detect (253:6) failed to initialise (incorrect device?) [2013-11-21 21:29:52] Devices detected: [2013-11-21 21:29:52] 0. GPU 0 (driver: opencl) [2013-11-21 21:29:52] 1 devices listed
The 9 devices correspond to the Block erupters (I only use cgminer for LTC) and on bfgminer: iMac-de-willy:~ willy$ bfgminer -S all -d? [2013-11-21 21:32:26] Started bfgminer 3.6.0 [2013-11-21 21:32:31] Read of fd 10 returned 0 [2013-11-21 21:32:38] Devices detected: [2013-11-21 21:32:38] 0. ICA 0 (driver: icarus) [2013-11-21 21:32:38] 1. ICA 1 (driver: icarus) [2013-11-21 21:32:38] 2. ICA 2 (driver: icarus) [2013-11-21 21:32:38] 3. ICA 3 (driver: icarus) [2013-11-21 21:32:38] 4. ICA 4 (driver: icarus) [2013-11-21 21:32:38] 5. ICA 5 (driver: icarus) [2013-11-21 21:32:38] 6. ICA 6 (driver: icarus) [2013-11-21 21:32:38] 7. ICA 7 (driver: icarus) [2013-11-21 21:32:38] 8. ICA 8 (driver: icarus) 9 devices listed iMac-de-willy:~ willy$ bfgminer -S bigpic:all -d? [2013-11-21 21:35:03] Started bfgminer 3.6.0 [2013-11-21 21:35:04] Devices detected: [2013-11-21 21:35:04] 0. OCL 0 (driver: opencl) 1 devices listed iMac-de-willy:~ willy$ bfgminer -S BF1:all -d? [2013-11-21 21:35:11] Started bfgminer 3.6.0 [2013-11-21 21:35:11] Devices detected: [2013-11-21 21:35:11] 0. OCL 0 (driver: opencl)
I'm going to try on an Ubuntu virtual machine.... see what happens.
|
|
|
|
-ck
Legendary
Offline
Activity: 4186
Merit: 1643
Ruu \o/
|
|
November 21, 2013, 08:49:26 PM |
|
Just as a heads up, the only way I was able to get cgminer to see my BlueFury under Mac OS 10.7, 10.8 and 10.9 was to 'unload' the new USB modem
sudo kextunload -b com.apple.driver.AppleUSBCDC sudo kextunload -b com.apple.driver.AppleUSBCDCACMData
Hopefully this will save someone else a LOT of hair pulling
Finally have a BF1 (Red Fury on-loan) and can confirm this. Before doing this I would get the following error: cgminer -d? [2013-11-21 15:06:02] Started cgminer 3.8.2 [2013-11-21 15:06:03] bitfury detect (93:2) failed to initialise (incorrect device?) [2013-11-21 15:06:04] Devices detected: [2013-11-21 15:06:04] 0 devices listed After unloading both kernel extensions and re-plugging the device cgminer was able to recognize it. I tried that also. On cgminer (I have v. 3.6.6) I get this: willy$ cgminer -d? [2013-11-21 21:29:51] Started cgminer 3.6.6 [2013-11-21 21:29:51] Icarus detect (253:17) failed to initialise (incorrect device?)
I'm going to try on an Ubuntu virtual machine.... see what happens. AMUs use a different driver (no idea what it's called on macosx), so if you have installed a driver for it, you will probably need to use the kextunload command but specify a different driver to unload than the AppleUSBCDC which is used by the BF1.
|
Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel 2% Fee Solo mining at solo.ckpool.org -ck
|
|
|
singermornings
Newbie
Offline
Activity: 8
Merit: 0
|
|
November 21, 2013, 09:05:08 PM |
|
I'll have too look for other drivers on the osx side. As for the ubuntu vm, after installing bfgminer things look more promising: parallels@ubuntu:~/miners/bfgminer$ sudo ./bfgminer -d? [2013-11-21 22:02:50] Started bfgminer 3.6.0 [2013-11-21 22:02:51] Devices detected: [2013-11-21 22:02:51] Bitfury BF1 by BFMG (driver=bigpic; procs=1; serial=A49313136333516192D0; path=/dev/ttyACM0) 1 devices listed
I'll try and see if it works...
|
|
|
|
nwoolls (OP)
|
|
November 21, 2013, 09:45:06 PM |
|
Some more information on getting BF1 sticks to work on OS X. As with the Erupter sticks, there is a driver that must be installed for bfgminer to work, and it must be unloaded in order for cgminer to work. With the Erupters these are the UART to USB drivers. So, in order to get cgminer to detect the BF1 device on OS X, you must unload the following drivers (as stated by other users): sudo kextunload -b com.apple.driver.AppleUSBCDC sudo kextunload -b com.apple.driver.AppleUSBCDCACMData And, in order to get bfgminer to detect the BF1 device, you must load the same drivers: sudo kextload -b com.apple.driver.AppleUSBCDC sudo kextload -b com.apple.driver.AppleUSBCDCACMData After you do either you will have to unplug and replug in the BF1 device and then it should be detected by executing either miner with the -d? argument: bfgminer -d? -S bigpic:all [2013-11-21 16:38:38] Started bfgminer 3.6.0 [2013-11-21 16:38:38] Devices detected: [2013-11-21 16:38:38] 0. BPM 0 (driver: bigpic) 1 devices listed cgminer -d? [2013-11-21 16:49:06] Started cgminer 3.8.2 [2013-11-21 16:49:09] Devices detected: [2013-11-21 16:49:09] 0. BF1 0 (driver: bitfury) [2013-11-21 16:49:09] 1 devices listed
|
MultiMiner: Any Miner, Any Where, on Any Device | Xgminer: Mine with popular miners on Mac OS X
|
|
|
singermornings
Newbie
Offline
Activity: 8
Merit: 0
|
|
November 21, 2013, 09:46:48 PM |
|
And it does! bfgminer version 3.6.0 - Started: [2013-11-21 22:07:55] - [ 0 days 00:01:10] [M]anage devices [P]ool management [S]ettings [D]isplay options [H]elp [Q]uit Connected to btc-eu.give-me-coins.com diff 4 with stratum as user xxxxxx Block: ...bde80cb3 #270814 Diff:609M ( 4.36Ph/s) Started: [22:07:54] ST:2 F:0 NB:1 AS:0 BW:[ 10/ 0kB/s] E:0.11 I:86.09uBTC/hr BS:477 1 | 2.47/ 2.40/ 2.19Gh/s | A:9 R:0+0(none) HW:2/5.4% -------------------------------------------------------------------------------- BPM 0: | 2.43/ 2.40/ 2.21Gh/s | A:10 R:0+0(none) HW:2/5.3% --------------------------------------------------------------------------------
Select processor to manage using up/down arrow keys BPM 0 : | 1.53/ 2.29/ 2.48Gh/s | A:1 R:0+0(none) HW:0/none Bitfury BF1 from BFMG Serial: A49313136333516192D0
[D]isable [I]dentify [Slash] Find processor [Plus] Add device(s) [Enter] Close device manager [2013-11-21 22:08:43] Pool 0 is hiding block contents from us
|
|
|
|
|
singermornings
Newbie
Offline
Activity: 8
Merit: 0
|
|
November 22, 2013, 03:26:06 PM |
|
I will try it once I get home. I remember seeing a new modem driver under dev whenever I connected the BF1, and go away when unloading the drivers, but since I didn't load them back I couldn't make it work.
|
|
|
|
CarneMuerta
Newbie
Offline
Activity: 17
Merit: 0
|
|
November 22, 2013, 03:58:32 PM |
|
Some more information on getting BF1 sticks to work on OS X. As with the Erupter sticks, there is a driver that must be installed for bfgminer to work, and it must be unloaded in order for cgminer to work. With the Erupters these are the UART to USB drivers. So, in order to get cgminer to detect the BF1 device on OS X, you must unload the following drivers (as stated by other users): sudo kextunload -b com.apple.driver.AppleUSBCDC sudo kextunload -b com.apple.driver.AppleUSBCDCACMData And, in order to get bfgminer to detect the BF1 device, you must load the same drivers: sudo kextload -b com.apple.driver.AppleUSBCDC sudo kextload -b com.apple.driver.AppleUSBCDCACMData After you do either you will have to unplug and replug in the BF1 device and then it should be detected by executing either miner with the -d? argument: bfgminer -d? -S bigpic:all [2013-11-21 16:38:38] Started bfgminer 3.6.0 [2013-11-21 16:38:38] Devices detected: [2013-11-21 16:38:38] 0. BPM 0 (driver: bigpic) 1 devices listed cgminer -d? [2013-11-21 16:49:06] Started cgminer 3.8.2 [2013-11-21 16:49:09] Devices detected: [2013-11-21 16:49:09] 0. BF1 0 (driver: bitfury) [2013-11-21 16:49:09] 1 devices listed As another heads up, the ktext unload for cgminer will only last until you reboot, I won't tell you how I know, but trust me I know
|
|
|
|
|
|
jedimstr
|
|
November 27, 2013, 08:35:45 PM |
|
Nate: FYI, encountered this bug with the status log with the latest Homebrewed 3.7.0 BFGMiner: Posted it on Luke-Jr's BFGMiner thread... here's his response: Running 3.7.0 compiled using Homebrew.
The running stats log on the second half of the terminal window does not have any line breaks. It updates as one continuous string that just fills the bottom of the screen: Bug when compiled without unicode support. Already fixed in git. Would you be able to pull from the latest Git commit for a new Forumula or do you have to wait for the new version release? Thanks!
|
|
|
|
nwoolls (OP)
|
|
November 27, 2013, 08:40:01 PM |
|
Would you be able to pull from the latest Git commit for a new Forumula or do you have to wait for the new version release?
If you do the following it will build from Git: brew install bfgminer --HEAD
|
MultiMiner: Any Miner, Any Where, on Any Device | Xgminer: Mine with popular miners on Mac OS X
|
|
|
|