Author

Topic: OLD: BFGMiner 3.10.0: modular ASIC+FPGA, GBT+Strtm, RPC, Mac/Lnx/W64, AntU1, DRB - page 113. (Read 1193386 times)

sr. member
Activity: 447
Merit: 250
windows 8 is probably the problem

Not sure what you are replying to, but my post was in reply to settings that are currently working. 

I posted that I was using win8 to run bfgminer.

I have 2x 7950's and 2x 7850's running with cgminer and the bfgminer running the remote blades.  All are running great under win8, just trying to help others out.

Originally, I used the same bfgminer startup on my win7 laptop when I setup my first blade.  Once I had ran that for a couple of days, I then ran bfgminer on my win8 miner so that I could shutdown my laptop.

If anyone uses the startup that I posted, make sure you open port 8332 with your firewall software to allow the blades to connect.
hero member
Activity: 910
Merit: 550
windows 8 is probably the problem
sr. member
Activity: 447
Merit: 250
win7 64bit,     cant get bfgminer to load properly and recognize my blades,


anyone have the the text of their batch file that would get me going in the right direction?
I am using bfgminer-3.2.1-win32 on Win8 64bit

bfgminer -G --http-port 8332 -o stratum+tcp://stratum.mining.eligius.st:3334 -O btc_address

Blades are configured to connect to IP of the win8 machine.  I am running my blades by themselves with paperclipped psu.

Just in case, use the blade config util to setup to connect to bfgminer machine. Util is at http://192.168.1.254:8000 by default.
hero member
Activity: 1246
Merit: 501
win7 64bit,     cant get bfgminer to load properly and recognize my blades,



Be aware only the 32-bit version of bfgminer supports the Blades.  You can of course run 32-bit bfgminer on 64-bit Windows.

hero member
Activity: 518
Merit: 500
win7 64bit,     cant get bfgminer to load properly and recognize my blades,


anyone have the the text of their batch file that would get me going in the right direction?


Code:
bfgminer --http-port 8332 -o us2.eclipsemc.com:3333 -u your username -p your password -L logfinal.txt -G

Is what I use.
hero member
Activity: 504
Merit: 500
win7 64bit,     cant get bfgminer to load properly and recognize my blades,


anyone have the the text of their batch file that would get me going in the right direction?
full member
Activity: 246
Merit: 100
im trying to go back to bfgminer from easyminer to see if there is a better performance and less hardware errors. When I open up bfgminer it says something about faild to soething opencl library. then the getcomport comes up 2 times.

then I putin url, user and pass. after hitting enter the mining software pauses for a second like its trying to write the cfg file and then I get a error that says this program has stopped responding.

I am on a 64 bit version of windows but have tried both versions, is there any idea what might cause this error?

I have tried running as admin but that did not seem to help.
hero member
Activity: 1246
Merit: 501
As promised.  BFG crapped out three times before it worked with both Blades at the same time.

As said, it's Win7 Exnterprise x86 on a Celeron 847 NUC.  No other software on the machine, other the BFGMiner 3.2.1.


During bitcointroll's outage, I have identified the cause of this crash (a bug in PDCurses), submitted a patch upstream to fix it that will hopefully be merged at some point, and implemented a workaround that will be included in the next release of BFGMiner.

Awesome.  Smiley

Another issue has cropped up.  You'll like this one (not a lot).

On a machine with an AMD APU (E2-2000/A50M), once the AMD drivers are installed, BFGMiner's 'status' display isn't displaying anything (the bit where it says Share Accepted, etc).  It's just blank.  The TUI menus work OK, and it's hashing away like a good one, but nothing comes up to say shares accepted/rejected, new block found, etc.  This is under Windows 8.1 x64 Enterprise.  Exact same install transferred from an Intel machine which worked OK.  If I remove the AMD drivers and go back to the Microsoft Basic Display driver, the text works OK.  

legendary
Activity: 2576
Merit: 1186
As promised.  BFG crapped out three times before it worked with both Blades at the same time.

As said, it's Win7 Exnterprise x86 on a Celeron 847 NUC.  No other software on the machine, other the BFGMiner 3.2.1.

Crash was at log time 15:09:49

Code:
Failed to init bfd from (C:\bfgminer321\pdcurses.dll)
0x66e43b50 : C:\bfgminer321\pdcurses.dll : wclrtoeol
Failed to init bfd from (C:\Windows\system32\msvcrt.dll)
0x762aa442 : C:\Windows\system32\msvcrt.dll : unlock
Failed to init bfd from (C:\Windows\system32\msvcrt.dll)
0x762ba490 : C:\Windows\system32\msvcrt.dll : getenv
Failed to init bfd from (C:\Windows\system32\msvcrt.dll)
0x762ba462 : C:\Windows\system32\msvcrt.dll : getenv
Failed to init bfd from (C:\bfgminer321\pdcurses.dll)
0x66e41408 : C:\bfgminer321\pdcurses.dll : waddch
During bitcointroll's outage, I have identified the cause of this crash (a bug in PDCurses), submitted a patch upstream to fix it that will hopefully be merged at some point, and implemented a workaround that will be included in the next release of BFGMiner.
hero member
Activity: 1246
Merit: 501
Works OK for me with both 8 and 8.1 - I'm running 8.1 Enterprise on my main miner, and just needed the VCP drivers and everything worked first time.
hero member
Activity: 868
Merit: 1000
I'm using this Zotac machine for some of my miners, FWIW.

Same here. Zotac with win7x86 drawing 65W

64 BE's connected with no problem. and BFGMiner 3.2.1
(It looks like it will take close to the maximum usb of 127 for those who can afford that many devices)
Also hosting Bitcoin-Qt

I have a Pi with minepeon. drawing 6W. This starts to become unstable with more than 20 BE's
(Overheating and cpu load of 160%)

Edit:- Also I have a spare Pi in the system programmed, tested, and ready to run. Just for the day when S*** happens.

2nd edit:- the primary Pi will take over the hosting for BlueFury when they arrive in 10 days
(I still need assurance that minepeon will run them)


I wonder if a can try to get a little advice. Im running Win8 64bit, I have 3x10 tecknet (48w per ten psu) hubs powering 30 ports for 30 BE`s, yet windows reports an error after 27 approx. ERROR USB controller does not have enough resources. Im guessing its a com port allocation issue, but I cant see why windows just wont make some more ports, as its a fair high spec PC (cost £1.8k) with i7, 16GB fast RAM, SSD etc etc. Ive tried to Google it but no help found yet.

I gave up trying to get win8 x64 to allocate any usb ports to com ports, and went back to win7 x86
I will be polite and say win 8 is "different"

si-labs told me to re-program my erupters with unique id numbers, at that point win 7 went back online.

win 7 worked first time

win 8 still flags com ports not found   

its the same pc with 2 hard drives.
full member
Activity: 126
Merit: 100
I'm using this Zotac machine for some of my miners, FWIW.

Same here. Zotac with win7x86 drawing 65W

64 BE's connected with no problem. and BFGMiner 3.2.1
(It looks like it will take close to the maximum usb of 127 for those who can afford that many devices)
Also hosting Bitcoin-Qt

I have a Pi with minepeon. drawing 6W. This starts to become unstable with more than 20 BE's
(Overheating and cpu load of 160%)

Edit:- Also I have a spare Pi in the system programmed, tested, and ready to run. Just for the day when S*** happens.

2nd edit:- the primary Pi will take over the hosting for BlueFury when they arrive in 10 days
(I still need assurance that minepeon will run them)


I wonder if a can try to get a little advice. Im running Win8 64bit, I have 3x10 tecknet (48w per ten psu) hubs powering 30 ports for 30 BE`s, yet windows reports an error after 27 approx. ERROR USB controller does not have enough resources. Im guessing its a com port allocation issue, but I cant see why windows just wont make some more ports, as its a fair high spec PC (cost £1.8k) with i7, 16GB fast RAM, SSD etc etc. Ive tried to Google it but no help found yet.
legendary
Activity: 2576
Merit: 1186
3.3 will be released as soon as it's ready...

In the meantime, Windows binaries of the latest bitfury code are here:
http://luke.dashjr.org/tmp/code/webisect/webisect.php?dobuild=bitfury
hero member
Activity: 1246
Merit: 501

I must have installed winusb 5 times and it still didn`t work.  Then I was told there is a problem with usb3 hubs. so the 100 gbp anker hub i`d bought was useless because they hadn`t got round to fixing it

I have an Anker USB3 hub, and it works perfectly with BFGMiner - it works with BFG on USB3 on three different PCs (AsMedia USB3, Intel USB3, NEC USB3), and USB2 on all the computers I've tried.  It also works on a TPLink 703N micro-router running OpenWRT with the Anker hub, which also powers the router.
hero member
Activity: 518
Merit: 500
I'd rather not use my 3 Bluefurys than use cgminer again, it sucks pretty hard when compared to bfgminer - no built-in proxy, poor BlockErupter support, the retarded need for fucking about with WinUSB drivers, terrible interface...  BFG also has and a developer who has a personality and is happy to help with issues rather than saying "README  Roll Eyes" in response to any questions.

But, hey, horses for courses.

+1

Cgminer`s main downfall is that its main developers don`t seem to understand that not everyone can code\compile linux\compile anything.

I must have installed winusb 5 times and it still didn`t work.  Then I was told there is a problem with usb3 hubs. so the 100 gbp anker hub i`d bought was useless because they hadn`t got round to fixing it
hero member
Activity: 1246
Merit: 501
I'd rather not use my 3 Bluefurys than use cgminer again, it sucks pretty hard when compared to bfgminer - no built-in proxy, poor BlockErupter support, the retarded need for fucking about with WinUSB drivers, terrible interface...  BFG also has and a developer who has a personality and is happy to help with issues rather than saying "README  Roll Eyes" in response to any questions.

But, hey, horses for courses.
hero member
Activity: 725
Merit: 503
I had trouble getting my redfury to work with bfg (bitfury branch and whatnot) on my rpi, but cgminer 3.5 worked perfectly; just configure with --enable-bitfury.
hero member
Activity: 868
Merit: 1000
Luke-Jr, any update on when an official version of BFG is due with the Bluefury USB stick stuff built in?  Particularly the Windows version?

I see there's a version supplied by the Bitfury guys, but downloading "bfgMiner.zip" from a non-Luke-Jr server makes my ass twitch a bit.  Undecided

same thoughts here. The "official source" is so much safer.
hero member
Activity: 1246
Merit: 501
Luke-Jr, any update on when an official version of BFG is due with the Bluefury USB stick stuff built in?  Particularly the Windows version?

I see there's a version supplied by the Bitfury guys, but downloading "bfgMiner.zip" from a non-Luke-Jr server makes my ass twitch a bit.  Undecided
legendary
Activity: 1680
Merit: 1014
An update on the UPS/bfgminer problem (previous quotes below).

It was the conflict with the UPS monitoring software after all (ViewPower 2.1.1), which follows with PowerWalker UPS. After uninstalling ViewPower, the problem disappeared.

Having started and stopped bfgminer almost a hundred times, I can see a pattern. ViewPower seems to be locking a random COM port for a very short period of time to communicate with the UPS unit, and then releases it.

bfgminer has two start-up phases, which I would call phase A ("Found BESx at \\.\COMx") and phase B ("Opened Icarus on \\.\COMx"). So:

1. In most cases bfgminer would report the privilege problem on a random COM port during phase A, and then not use it in phase B, resulting in one BE not hashing. Meaning ViewPower still uses the same port between the phases.

2. The same as above, but bfgminer does not find any problems during phase A, but then gets an error during phase B. Meaning ViewPower was in-between communications during the first phase, but then opened one COM port just before phase B started.

3. In less frequent cases, bfgminer would report the problem on one port during phase A and then on another port during phase B, resulting in 2 BEs not hashing. Meaning ViewPower closed the first port and opened a new one between phases.

4. The least frequent case is when bfgminer does not report any problems during either phase A or phase B - all miners are hashing. Meaning the timing was just right for ViewPower to be in the in-between communication state in both phases.

This also seems consistent with the number of BEs, hosted by a machine and probabilities of one case or the other: a machine with 96 BEs has a greater chance of #1 and #2, with an occasional #3. A machine with 43 BEs would see an occasional #1 and #2 with a more frequent #4.

Luke-Jr, could you, please, implement a command-line switch controlled function to rescan a list of previously-failed ports on a time-interval basis? That way I would be able to use the UPS monitoring software, while still having all BEs hashing.

Luke-jr, I have a problem with bfgminer on Windows 7 (both 32 and 64 bit builds), which appeared recently (possibly after I installed monitoring software for UPS units). It appeared on both machines, running about 60 BEs each.

The problem is that when bfgminer starts, I would get

Code:
Do not have user privileges required to open \\.\COMx

where 'x' is some random port (it tends to be in the range 1-15, but will sometimes pick ports in the higher range).

The port will then light solid green and will not hash.

Restarting bfgminer will yield another "failed" port. Sometimes all ports will get recognised and will not light green, but then all miners will blink a little and one port will light solid green again. I have double-checked and have enough power for all miners. I also tried with a smaller subset.

My request: could you for ports that give that "privileges" error, make a retry at a later point. It seems that time-out for failure is too short or something...



The thing is: it's not a specific port, but rather a random one, which will be different between bfgminer restarts.
Also I run bfgminer unattended in my Crypto Miners in Tray with -T command line arguments, so an automatic rescan of failed ports with some command-line defined delay/interval would be welcome.

I also tried removing all USB-COM port mappings (https://bitcointalksearch.org/topic/windows-many-usb-hubs-and-besfuries-clean-up-in-your-devices-manager-300638) and re-inserting the miners from scratch, allowing Windows to reinitialise all hubs and BEs.

In the meantime, I'll try uninstalling the UPS monitoring software and see if the problem goes away.
Jump to: