Bitcoin Forum
November 10, 2024, 04:56:29 AM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: In case anyone was wondering about using BitForce Singles in OSX  (Read 3378 times)
Phraust (OP)
Full Member
***
Offline Offline

Activity: 206
Merit: 100


Mostly Harmless...


View Profile WWW
May 04, 2012, 08:37:40 AM
 #1

I've had a hell of a time getting these things to work.

Granted, I don't know a whole lot to begin with, but after beating my head over installing the appropriate tools to try to compile cgminer(worked) and ufasoft(didn't work), and trying bitminter.com's java based client, i had just about given up.  OSX wasn't identifying them to a /dev/tty. position, even though they showed up in system reporter, so everything was failing.  I had also installed ubuntu in a vm (parallels), built cgminer and ufasoft, and still no dice.

I was about to try running windows in a vm, when I managed to stumble upon a link to a usb serial driver that matched what I seeing from the output (Future Technology Devices):

http://www.ftdichip.com/Drivers/VCP.htm

I used the x64 (2.2.17) drivers for 10.7 and holy shitballs, they got recognized.  Currently mining using bitminer.com with 3 bitforce singles.

I hope that someone can benefit from my four days of head scratching. Cheesy

SaltySpitoon
Legendary
*
Offline Offline

Activity: 2590
Merit: 2156


Welcome to the SaltySpitoon, how Tough are ya?


View Profile
May 10, 2012, 09:47:56 PM
 #2

I think that because you need a computer in order to run a BFL, and after the emergency technology convention on October 5th, 2011, Macintosh coasters are no longer classified as computers.
bitcoindaddy
Hero Member
*****
Offline Offline

Activity: 481
Merit: 500


View Profile
May 10, 2012, 09:57:27 PM
 #3

I think that because you need a computer in order to run a BFL, and after the emergency technology convention on October 5th, 2011, Macintosh coasters are no longer classified as computers.

Now that's just mean.

BitcoinBaltar, try starting cgminer with the following option added:   --disable-gpu
Phraust (OP)
Full Member
***
Offline Offline

Activity: 206
Merit: 100


Mostly Harmless...


View Profile WWW
May 10, 2012, 11:51:02 PM
 #4

I borked up something so I can't compile cgminer anymore.  mind sharing the binary?

I've been running it through an ubuntu vm (parallels) and passing the devices through.  it's been working pretty well, I've just been too lazy to debug anything.
Red Emerald
Hero Member
*****
Offline Offline

Activity: 742
Merit: 500



View Profile WWW
May 10, 2012, 11:55:35 PM
 #5

I saw a picture somewhere of a couple BFLs hooked up to a Mac Mini.  I think it was in the FPGA picture thread, but I can't find it right now.

Phraust (OP)
Full Member
***
Offline Offline

Activity: 206
Merit: 100


Mostly Harmless...


View Profile WWW
May 11, 2012, 12:15:30 AM
 #6

That was mine...  under FPGA rig photos:

https://bitcointalk.org/index.php?topic=70611.msg886202#msg886202
Red Emerald
Hero Member
*****
Offline Offline

Activity: 742
Merit: 500



View Profile WWW
May 11, 2012, 12:17:40 AM
Last edit: May 11, 2012, 12:40:49 AM by Red Emerald
 #7

Oh. Well then I don't think you will find any other ideas/help there lol

Phraust (OP)
Full Member
***
Offline Offline

Activity: 206
Merit: 100


Mostly Harmless...


View Profile WWW
May 11, 2012, 12:33:58 AM
 #8

Nevermind, got off my ass and fixed it.  running cgminer + 3BFLs native now. Cheesy
MaxSan
Sr. Member
****
Offline Offline

Activity: 369
Merit: 250


View Profile
May 17, 2012, 07:16:13 PM
 #9

ok what do i actually do with these drivers

not sure what they even used for.
Phraust (OP)
Full Member
***
Offline Offline

Activity: 206
Merit: 100


Mostly Harmless...


View Profile WWW
May 17, 2012, 07:54:02 PM
 #10

ok what do i actually do with these drivers

not sure what they even used for.

After you install them, the BitForce SIngles should start appearing under /dev/cu.usbserial*.

Try opening a terminal and doing:

ls /dev/cu.usbserial*

Those are your Bitforce Singles.  This is what I see when I do it:

leviathan:~ phraust$ ls /dev/cu.usbserial*
/dev/cu.usbserial-001013FD /dev/cu.usbserial-005013FD /dev/cu.usbserial-007613FD
/dev/cu.usbserial-002013FD /dev/cu.usbserial-006013FD /dev/cu.usbserial-007713FD
/dev/cu.usbserial-003013FD /dev/cu.usbserial-007113FD
/dev/cu.usbserial-004013FD /dev/cu.usbserial-007513FD

You can use that address in cgminer, eg -S /dev/cu.usbserial-001000FD, and now you have them as mountable USB devices in parallels as well.
Phraust (OP)
Full Member
***
Offline Offline

Activity: 206
Merit: 100


Mostly Harmless...


View Profile WWW
May 20, 2012, 04:01:28 AM
 #11

Well, someone requested that I compile cgminer for them on OSX with FPGA support, so here it is:

http://bitcoin.phraust.com/cgminer.zip

I compiled it on a MacMini (2GHZ Intel Core i7/2012) with OSX 10.7.3 using the lastest git from:
http://github.com/ckolivas/cgminer

With the following switches:
./configure CFLAGS="-O2" --enable-bitforce --enable-icarus --enable-ztex

There is a readme with instructions on how I've managed to cobble things together to make it work.  Any input would be great.
BR0KK
Hero Member
*****
Offline Offline

Activity: 784
Merit: 500



View Profile
May 20, 2012, 09:05:45 PM
 #12

As u know I'm trying to do that with my Ztex devices, but I'm not able to run them atm.

I think that the Driver u need for BFLs doesn't work with Ztex devices.

bulanula
Hero Member
*****
Offline Offline

Activity: 518
Merit: 500



View Profile
May 21, 2012, 11:26:08 AM
 #13

Well, someone requested that I compile cgminer for them on OSX with FPGA support, so here it is:

http://bitcoin.phraust.com/cgminer.zip

I compiled it on a MacMini (2GHZ Intel Core i7/2012) with OSX 10.7.3 using the lastest git from:
http://github.com/ckolivas/cgminer

With the following switches:
./configure CFLAGS="-O2" --enable-bitforce --enable-icarus --enable-ztex

There is a readme with instructions on how I've managed to cobble things together to make it work.  Any input would be great.

Seems like you are a compile god for Mac = just what I needed !

It would be very nice if you could help me fix this issue here with 10.5.8 and litecoind 0.5.0.4 !

https://github.com/downloads/coblee/litecoin/litecoin-mac-client-daemon-0.5.0.4.zip does not work on 10.5.8 but only on 10.6 and I cannot upgrade unfortunately. It uses Intel X86 though.

https://bitcointalk.org/index.php?topic=55105.msg853835#msg853835 for the issue.

Contact me via PM if you want more details and THANKS !

Phraust (OP)
Full Member
***
Offline Offline

Activity: 206
Merit: 100


Mostly Harmless...


View Profile WWW
June 04, 2012, 09:18:13 PM
 #14

Hey, just compiled 2.4.2 for OSX, here:
http://bitcoin.phraust.com/CGMINER_2.4.2.zip

Using:
./configure CFLAGS="-O2" --enable-bitforce --enable-icarus --enable-ztex

Just in case anyone needs it.
BR0KK
Hero Member
*****
Offline Offline

Activity: 784
Merit: 500



View Profile
June 04, 2012, 10:49:33 PM
 #15

Quote
That said, I've taken apart a few of the cheap USB hubs I've received and the internal soldering is beyond appalling. It's a small sample but out of 15 four-port hubs, two had soldering inside that shorted out pins and screwed up everything on that bus. This is perhaps where the 4-chip Ztex boards come into their own - needing fewer USB hubs, at the expense of code incompatibility with other single-Spartan-6 boards (though the Ztex wiki does detail the changes required to support the Quads). I'd be interested in the experiences of other people with substantial numbers of Ztex 1.15x boards and whether USB problems were found...

Im having or had issues with my trust 7 Port hub (powered) .... These are random and affect all boards (or fpgas) the same way. For a month now i didn't have any hashrate drops or libusb errors ....

Same goes for low quality usb cables.

My setup is stable for now but in kind of a "do not touch" state Cheesy

Phraust (OP)
Full Member
***
Offline Offline

Activity: 206
Merit: 100


Mostly Harmless...


View Profile WWW
June 05, 2012, 04:28:02 AM
 #16

How interesting.  I'm noticing that after a long run (24+ hours), some of my BFLs seem to drop off a bit.  I had thought that they were throttling, but even after cooling them off and power cycling them they still showed the same low Utiliy rates and apparent throttling.  Only after I completely reboot everything does it come back 100%...

I had an issue with the Satechi 12 port usb hub, where it wouldn't recognize the unit I was plugging into port 6.  I moved everything down one, thought nothing more of it.  But maybe the low quality USB cables, they way I've tied them, the hub, or a combination of the three could be causing the faults.  I was noticing particularly bad hashrates when I ran the USB cables close to the power cables, so switched them up, now usb's go to the top of the shelf, and power cables go to the bottom.  But I still bundle the 10 usb's together at the hub so they look neat and tidy...

I'll have to look into this more.  I tend to see how well they do for a bit, then like BR0KK it's a "do not touch" state to mine as long as I can.

I have found someone wiling to co-locate my rig however, in a nice, cool environment, for less than I'm currently paying for electricity.  Once I get things setup there and running (much, much) cooler, I'll be able to get a better idea of where the throttling occurs.
Pages: [1]
  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!