Pages:
Author

Topic: Modular Python Bitcoin Miner - Official Thread - page 12. (Read 74189 times)

hero member
Activity: 489
Merit: 500
Immersionist
Still nothing after shutting down with Ctrl-C. I have also deleted the file just to make sure it's not locked or something. It is recreated, but with 0kb and again nothing after Ctrl-C. I'll let it run over night and see if there is anything logged by tomorrow. But it was running for hours with logging enabled and log level 500, so it should have already logged something during the past few hours.

Good night.
hero member
Activity: 504
Merit: 500
FPGA Mining LLC
I had it set to the default 500 before, but now it's at 300 and still not logging anything. Is the number in square brackets [300] the log level in the output?

I have some showing up with 350, 400 or also 500 - but nothing is written to the log. At this moment I'd like to log everything, so that I can review the logs after a while and look for errors etc.

Yes, the number in square brackets is the log level. The console shows loglevel <= 500 messages by default. If you want even more verbose logging, go for loglevel 1000.

The log file is not flushed immediately, so python might buffer some kilobytes internally. Is there still no content after shutting down the miner with ctrl+c? This works perfectly fine for me (on linux though).
hero member
Activity: 489
Merit: 500
Immersionist
I had it set to the default 500 before, but now it's at 300 and still not logging anything. Is the number in square brackets [300] the log level in the output?

I have some showing up with 350, 400 or also 500 - but nothing is written to the log. At this moment I'd like to log everything, so that I can review the logs after a while and look for errors etc.

Code:
2012-03-24 23:40:26.037	[500]	Eclipse: Got 60 jobs
2012-03-24 23:40:26.188 [400] Mining ABCPool:00000001c75929193c16514a086855a2b0f59fa0bede00a19069457a0000049600000000eecf8373e14915640ea4b386d0bd77368b34934f58fc7c69945c4cf3aad90b3d4f6deae31a0b3287 on Icarus COM18
2012-03-24 23:40:27.978 [350] Icarus COM18 found share: ABCPool:00000001c75929193c16514a086855a2b0f59fa0bede00a19069457a0000049600000000eecf8373e14915640ea4b386d0bd77368b34934f58fc7c69945c4cf3aad90b3d4f6deae31a0b3287:031b2794
2012-03-24 23:40:27.979 [400] Mining ABCPool:00000001c75929193c16514a086855a2b0f59fa0bede00a19069457a0000049600000000903937e51f5d75d5fe64a6a9c0806007c5239d52120135a2c9032b4ee00956ce4f6deae31a0b3287 on Icarus COM18
2012-03-24 23:40:28.500 [250] ABCPool accepted share 031b2794 (difficulty 1.03617)
2012-03-24 23:40:29.428 [400] Mining ABCPool:00000001c75929193c16514a086855a2b0f59fa0bede00a19069457a000004960000000062de6a3d5d80866b90062553979d6e1d25a972c8f40ebb3924a9c843fd4cc4c34f6deae41a0b3287 on Ztex board 04A346CEC7
2012-03-24 23:40:29.588 [350] Icarus COM17 found share: ABCPool:00000001c75929193c16514a086855a2b0f59fa0bede00a19069457a00000496000000008c01e36fae279b94b0c5b1634b1a2705475f390e98b5dc639f9cc967e97bd5b54f6deae31a0b3287:68b207b8
2012-03-24 23:40:29.588 [400] Mining ABCPool:00000001c75929193c16514a086855a2b0f59fa0bede00a19069457a0000049600000000c4c5ed0c59910bf5d40f1c4ba25cfa634a59c4dc7aa58995be4816ea6077ca934f6deae41a0b3287 on Icarus COM17
2012-03-24 23:40:30.114 [250] ABCPool accepted share 68b207b8 (difficulty 5.72634)
2012-03-24 23:40:30.490 [350] Icarus COM14 found share: ABCPool:00000001c75929193c16514a086855a2b0f59fa0bede00a19069457a00000496000000003af50302af7798f7f428a60b10487fd4a2c372fb60c84513eb5b2d34852143ba4f6deae31a0b3287:32c7b9b7
2012-03-24 23:40:30.491 [400] Mining ABCPool:00000001c75929193c16514a086855a2b0f59fa0bede00a19069457a0000049600000000cf36fcfdcf8d1641d2bdd26cd43d8c380d054264ed890833672baac50f5a44454f6deae61a0b3287 on Icarus COM14
2012-03-24 23:40:31.024 [250] ABCPool accepted share 32c7b9b7 (difficulty 2.04631)
2012-03-24 23:40:31.310 [400] Mining ABCPool:00000001c75929193c16514a086855a2b0f59fa0bede00a19069457a0000049600000000cfd2d0b65fb0d0bbfdd5e5f55bc00ee44be9ff37118a4ed2bf2dab8cfbe532044f6deae61a0b3287 on Icarus COM15
2012-03-24 23:40:31.993 [400] Mining ABCPool:00000001c75929193c16514a086855a2b0f59fa0bede00a19069457a00000496000000005644c2729bb5e3ed84921645602203761ea0d2b487a083c0601c72e04cc1106c4f6deae71a0b3287 on Icarus COM16
2012-03-24 23:40:32.693 [350] Icarus COM17 found share: ABCPool:00000001c75929193c16514a086855a2b0f59fa0bede00a19069457a0000049600000000c4c5ed0c59910bf5d40f1c4ba25cfa634a59c4dc7aa58995be4816ea6077ca934f6deae41a0b3287:9911e5a2
2012-03-24 23:40:32.694 [400] Mining ABCPool:00000001c75929193c16514a086855a2b0f59fa0bede00a19069457a00000496000000008c0379647d384f3b8398cd27e77a2a67b42a5da2dc7b98ef9032c3562e6a02df4f6deae71a0b3287 on Icarus COM17
2012-03-24 23:40:33.201 [250] ABCPool accepted share 9911e5a2 (difficulty 5.14749)
2012-03-24 23:40:35.863 [400] Mining Eclipse:00000001c75929193c16514a086855a2b0f59fa0bede00a19069457a0000049600000000d9ee0b6f018408ed2744e9fe37453cfff0ff3d9fd1295065557c0032f1a8226c4f6deae81a0b3287 on Ztex board 04A3469722
2012-03-24 23:40:35.926 [400] Mining Eclipse:00000001c75929193c16514a086855a2b0f59fa0bede00a19069457a0000049600000000d9ee0b6f018408ed2744e9fe37453cfff0ff3d9fd1295065557c0032f1a8226c4f6deae91a0b3287 on Icarus COM18
2012-03-24 23:40:36.253 [350] Ztex board 04A3469722 found share: Eclipse:00000001c75929193c16514a086855a2b0f59fa0bede00a19069457a0000049600000000d9ee0b6f018408ed2744e9fe37453cfff0ff3d9fd1295065557c0032f1a8226c4f6deae81a0b3287:a7433904
2012-03-24 23:40:36.503 [400] Mining Eclipse:00000001c75929193c16514a086855a2b0f59fa0bede00a19069457a0000049600000000d9ee0b6f018408ed2744e9fe37453cfff0ff3d9fd1295065557c0032f1a8226c4f6deaea1a0b3287 on Ztex board 04A32E00E9
2012-03-24 23:40:36.724 [250] Eclipse accepted share a7433904 (difficulty 1.15452)
2012-03-24 23:40:37.551 [350] Icarus COM16 found share: ABCPool:00000001c75929193c16514a086855a2b0f59fa0bede00a19069457a00000496000000005644c2729bb5e3ed84921645602203761ea0d2b487a083c0601c72e04cc1106c4f6deae71a0b3287:185ad3be
2012-03-24 23:40:37.552 [400] Mining Eclipse:00000001c75929193c16514a086855a2b0f59fa0bede00a19069457a0000049600000000d9ee0b6f018408ed2744e9fe37453cfff0ff3d9fd1295065557c0032f1a8226c4f6deaeb1a0b3287 on Icarus COM16
2012-03-24 23:40:38.066 [250] ABCPool accepted share 185ad3be (difficulty 1.27541)
2012-03-24 23:40:38.399 [400] Mining Eclipse:00000001c75929193c16514a086855a2b0f59fa0bede00a19069457a0000049600000000d9ee0b6f018408ed2744e9fe37453cfff0ff3d9fd1295065557c0032f1a8226c4f6deaec1a0b3287 on Icarus COM14
2012-03-24 23:40:38.827 [350] Icarus COM18 found share: Eclipse:00000001c75929193c16514a086855a2b0f59fa0bede00a19069457a0000049600000000d9ee0b6f018408ed2744e9fe37453cfff0ff3d9fd1295065557c0032f1a8226c4f6deae91a0b3287:81a8bea0
2012-03-24 23:40:38.828 [400] Mining Eclipse:00000001c75929193c16514a086855a2b0f59fa0bede00a19069457a0000049600000000d9ee0b6f018408ed2744e9fe37453cfff0ff3d9fd1295065557c0032f1a8226c4f6deaed1a0b3287 on Icarus COM18
2012-03-24 23:40:38.875 [350] Icarus COM18 found share: Eclipse:00000001c75929193c16514a086855a2b0f59fa0bede00a19069457a0000049600000000d9ee0b6f018408ed2744e9fe37453cfff0ff3d9fd1295065557c0032f1a8226c4f6deaed1a0b3287:4ac66800
2012-03-24 23:40:38.878 [400] Mining Eclipse:00000001c75929193c16514a086855a2b0f59fa0bede00a19069457a0000049600000000d9ee0b6f018408ed2744e9fe37453cfff0ff3d9fd1295065557c0032f1a8226c4f6deaee1a0b3287 on Icarus COM18
2012-03-24 23:40:39.285 [250] Eclipse accepted share 81a8bea0 (difficulty 1.70522)
2012-03-24 23:40:39.340 [250] Eclipse accepted share 4ac66800 (difficulty 1.46263)
2012-03-24 23:40:39.590 [400] Mining Eclipse:00000001c75929193c16514a086855a2b0f59fa0bede00a19069457a0000049600000000d9ee0b6f018408ed2744e9fe37453cfff0ff3d9fd1295065557c0032f1a8226c4f6deaef1a0b3287 on Icarus COM15
2012-03-24 23:40:41.000 [400] Mining Eclipse:00000001c75929193c16514a086855a2b0f59fa0bede00a19069457a0000049600000000d9ee0b6f018408ed2744e9fe37453cfff0ff3d9fd1295065557c0032f1a8226c4f6deaf01a0b3287 on Icarus COM17
hero member
Activity: 504
Merit: 500
FPGA Mining LLC
I created a logger via the Frontend with the default settings. It creates the file mpbm.log but it has a file size of 0, and nothing is ever logged to it.

I shut down MPBM, deleted the file, and started MPBM again, but still the same. New file, no logs written to it.

What did you set the log level to? 500 should be the default, and 300-1000 is a reasonable range, depending on what you actually want to be logged.
hero member
Activity: 489
Merit: 500
Immersionist
I created a logger via the Frontend with the default settings. It creates the file mpbm.log but it has a file size of 0, and nothing is ever logged to it.

I shut down MPBM, deleted the file, and started MPBM again, but still the same. New file, no logs written to it.
hero member
Activity: 504
Merit: 500
FPGA Mining LLC
I have tested this according to your instructions and it worked without problems in my 3 Ztex (+5 Icarus) setup). It recognized the Ztex boards automatically, while I had to add my Icarus COM ports manually (as expected I guess). I only had 5 minutes so I didn't set up my own blockchains (pools), but everything worked as expected.

Once I have more time I will test a bit more and give you feedback in your thread, I have only been using the old version of MPBM so far. One thing I noticed, using Firefox the display on the top left (menu) was messed up. With Chrome it worked fine. Could be one of my Firefox add-ons though.


Yes, I haven't found a way to autodetect Icarus boards yet, their protocol doesn't really make that easy. It's kinda fire and forget.

What do you mean with "old version"? The old version (master branch) doesn't have ztex board support (except for nelisky's branch, but I'm not sure if that one even works yet, haven't tested it). The web user interface is the new (testing) branch.

The firefox issues are known, seems like it has a problem with sizing of scrollable divs. Need to look into that when I find time to do that.

This is from the ztex thread. With "old version" I meant the master branch that works in the console. I used it to run my 5 Icarus and for my 3 ztex I used the BTCMiner in another console.

I now switched to the testing branch on Windows 7 with Python 3.2 and so far it works fine. I have created my own worker sources and noticed it is not possible to assign workers to worker sources, or maybe I just didn't figure out how it works.

In my pools I usually setup two workers, one for icarus one for ztex. The login would usually be username.ztex or username.icarus on the pools.  This way I can also monitor their performance separately in the pools, and via mobile app on the phone for instance. Would this be something that could be done?

What is the idea behind having Blockchains? Now there is only one, the Bitcoin blockchain. And all you can do is set the name and a timeout.

Autodetect Icarus: on windows it seems you can use HARDWARE\\DEVICEMAP\\SERIALCOMM to check for the serial ports, then send some test data to the ones with "Prolific" to see if they are indeed Icarus boards.

http://eli.thegreenplace.net/2009/07/31/listing-all-serial-ports-on-windows-with-python/

Edit: Here is code that seems to work with other OS too, but it's from 2007:
http://bitpim.svn.sourceforge.net/viewvc/bitpim/trunk/bitpim/src/comscan.py?view=markup


Finding the PL2303s is not really an issue, but I the Icarus protocol doesn't allow for any quick and easy probing whether it's actually an Icarus board.
You would have to open the port, send some work, wait for the board to find a nonce and check if it's valid. This means that the probing would take quite some time because you don't get an immediate response, and you would have to send lots of data, which might badly confuse the device if it turns out to not be an Icarus at all. I'd rather not risk breaking some other devices that happen to be connected to the same host that way. PL2303s are just too common.

Blockchains are used for long poll aggregation, to reduce stales. If one pool inside a blockchain reports a new block, MPBM discards the jobs that are in the queue from all other pools of that blockchain as well, even if those pools haven't realized that a new block was found yet.
This means that P2Pool needs to be in a separate blockchain, but all regular bitcoin mining pools should share one.

It currently is not possible to map workers to work sources, because this would make work buffering even more complex, would be error prone, and probably increase latencies enough to produce some more stales. What would this be good for at all? What should a worker do if its assigned work source just doesn't manage to produce work at that very moment? Sit there and idle instead of taking jobs from other sources that are waiting in the queue? You can measure a worker's behavior far more accurately inside MPBM than any pool can. There are JSON APIs for that as well, if you want to hook up something external. MPBM currently does not archive these statistics yet, but that's a feature that might be added at some point (and I'd really appreciate it if other developers could help out with that).
hero member
Activity: 504
Merit: 500
FPGA Mining LLC
hero member
Activity: 489
Merit: 500
Immersionist
I have tested this according to your instructions and it worked without problems in my 3 Ztex (+5 Icarus) setup). It recognized the Ztex boards automatically, while I had to add my Icarus COM ports manually (as expected I guess). I only had 5 minutes so I didn't set up my own blockchains (pools), but everything worked as expected.

Once I have more time I will test a bit more and give you feedback in your thread, I have only been using the old version of MPBM so far. One thing I noticed, using Firefox the display on the top left (menu) was messed up. With Chrome it worked fine. Could be one of my Firefox add-ons though.


Yes, I haven't found a way to autodetect Icarus boards yet, their protocol doesn't really make that easy. It's kinda fire and forget.

What do you mean with "old version"? The old version (master branch) doesn't have ztex board support (except for nelisky's branch, but I'm not sure if that one even works yet, haven't tested it). The web user interface is the new (testing) branch.

The firefox issues are known, seems like it has a problem with sizing of scrollable divs. Need to look into that when I find time to do that.

This is from the ztex thread. With "old version" I meant the master branch that works in the console. I used it to run my 5 Icarus and for my 3 ztex I used the BTCMiner in another console.

I now switched to the testing branch on Windows 7 with Python 3.2 and so far it works fine. I have created my own worker sources and noticed it is not possible to assign workers to worker sources, or maybe I just didn't figure out how it works.

In my pools I usually setup two workers, one for icarus one for ztex. The login would usually be username.ztex or username.icarus on the pools.  This way I can also monitor their performance separately in the pools, and via mobile app on the phone for instance. Would this be something that could be done?

What is the idea behind having Blockchains? Now there is only one, the Bitcoin blockchain. And all you can do is set the name and a timeout.

Autodetect Icarus: on windows it seems you can use HARDWARE\\DEVICEMAP\\SERIALCOMM to check for the serial ports, then send some test data to the ones with "Prolific" to see if they are indeed Icarus boards.

http://eli.thegreenplace.net/2009/07/31/listing-all-serial-ports-on-windows-with-python/

Edit: Here is code that seems to work with other OS too, but it's from 2007:
http://bitpim.svn.sourceforge.net/viewvc/bitpim/trunk/bitpim/src/comscan.py?view=markup
hero member
Activity: 784
Merit: 500
I installed pyusb  and libusb (a while ago not shire which one i installed. Might be the Twain Sane one -- could be to old?). MPBM seems to load the Modules but i can't get it to run with on of my boards.  

I get these errors:

Code:
2012-03-24 01:42:09.936	[100]	Untitled ZTEX worker: Traceback (most recent call last):   File "/Users/BR0KK/Modular-Python-Bitcoin-Miner/modules/theseven/ztex/ztexworker.py", line 147, in main     if not self.serial: raise Exception("Device serial number not set!") Exception: Device serial number not set!  2012-03-24 01:42:10.937	[100]	Untitled ZTEX worker: Traceback (most recent call last):   File "/Users/BR0KK/Modular-Python-Bitcoin-Miner/modules/theseven/ztex/ztexworker.py", line 147, in main     if not self.serial: raise Exception("Device serial number not set!") Exception: Device serial number not set!  2012-03-24 01:42:11.939	[100]	Untitled ZTEX worker: Traceback (most recent call last):   File "/Users/BR0KK/Modular-Python-Bitcoin-Miner/modules/theseven/ztex/ztexworker.py", line 147, in main     if not self.serial: raise Exception("Device serial number not set!") Exception: Device serial number not set!  2012-03-24 01:42:12.940	[100]	Untitled ZTEX worker: Traceback (most recent call last):   File "/Users/BR0KK/Modular-Python-Bitcoin-Miner/modules/theseven/ztex/ztexworker.py", line 147, in main     if not self.serial: raise Exception("Device serial number not set!") Exception: Device serial number not set!  2012-03-24 01:42:13.942	[100]	Untitled ZTEX worker: Traceback (most recent call last):   File "/Users/BR0KK/Modular-Python-Bitcoin-Miner/modules/theseven/ztex/ztexworker.py", line 147, in main     if not self.serial: raise Exception("Device serial number not set!") Exception: Device serial number not set!  2012-03-24 01:42:14.943	[100]	Untitled ZTEX worker: Traceback (most recent call last):   File "/Users/BR0KK/Modular-Python-Bitcoin-Miner/modules/theseven/ztex/ztexworker.py", line 147, in main     if not self.serial: raise Exception("Device serial number not set!") Exception: Device serial number not set!  2012-03-24 01:42:16.048	[100]	Untitled ZTEX worker: Proxy: Exception caught: Traceback (most recent call last):   File "/Users/BR0KK/Modular-Python-Bitcoin-Miner/modules/theseven/ztex/boardproxy.py", line 75, in run     self.device = ZtexDevice(self, self.serial, self.takeover, self.firmware)   File "/Users/BR0KK/Modular-Python-Bitcoin-Miner/modules/theseven/ztex/driver.py", line 49, in __init__     for bus in usb.busses():   File "/Library/Python/2.7/site-packages/usb/legacy.py", line 333, in busses     return (Bus(),)   File "/Library/Python/2.7/site-packages/usb/legacy.py", line 329, in __init__     self.devices = [Device(d) for d in core.find(find_all=True)]   File "/Library/Python/2.7/site-packages/usb/core.py", line 851, in find     return [d for d in device_iter(k, v)]   File "/Library/Python/2.7/site-packages/usb/core.py", line 821, in device_iter     for dev in backend.enumerate_devices():   File "/Library/Python/2.7/site-packages/usb/backend/libusb01.py", line 390, in enumerate_devices     _check(_lib.usb_find_busses())   File "/Library/Python/2.7/site-packages/usb/backend/libusb01.py", line 384, in _check     raise USBError(errmsg, ret) USBError: [Errno None] libusb/darwin.c usb_setup_iterator: IOServiceGetMatchingServices: unknown error  2012-03-24 01:42:16.049	[100]	Untitled ZTEX worker: Traceback (most recent call last):   File "/Users/BR0KK/Modular-Python-Bitcoin-Miner/modules/theseven/ztex/ztexworker.py", line 170, in main     elif data[0] == "dying": raise Exception("Proxy died!") Exception: Proxy died!  2012-03-24 01:42:17.057	[100]	Untitled ZTEX worker: Proxy: Exception caught: Traceback (most recent call last):   File "/Users/BR0KK/Modular-Python-Bitcoin-Miner/modules/theseven/ztex/boardproxy.py", line 75, in run     self.device = ZtexDevice(self, self.serial, self.takeover, self.firmware)   File "/Users/BR0KK/Modular-Python-Bitcoin-Miner/modules/theseven/ztex/driver.py", line 49, in __init__     for bus in usb.busses():   File "/Library/Python/2.7/site-packages/usb/legacy.py", line 333, in busses     return (Bus(),)   File "/Library/Python/2.7/site-packages/usb/legacy.py", line 329, in __init__     self.devices = [Device(d) for d in core.find(find_all=True)]   File "/Library/Python/2.7/site-packages/usb/core.py", line 851, in find     return [d for d in device_iter(k, v)]   File "/Library/Python/2.7/site-packages/usb/core.py", line 821, in device_iter     for dev in backend.enumerate_devices():   File "/Library/Python/2.7/site-packages/usb/backend/libusb01.py", line 390, in enumerate_devices     _check(_lib.usb_find_busses())   File "/Library/Python/2.7/site-packages/usb/backend/libusb01.py", line 384, in _check     raise USBError(errmsg, ret) USBError: [Errno None] libusb/darwin.c usb_setup_iterator: IOServiceGetMatchingServices: unknown error  2012-03-24 01:42:17.059	[100]	Untitled ZTEX worker: Traceback (most recent call last):   File "/Users/BR0KK/Modular-Python-Bitcoin-Miner/modules/theseven/ztex/ztexworker.py", line 170, in main     elif data[0] == "dying": raise Exception("Proxy died!") Exception: Proxy died!  2012-03-24 01:42:18.069	[100]	Untitled ZTEX worker: Proxy: Exception caught: Traceback (most recent call last):   File "/Users/BR0KK/Modular-Python-Bitcoin-Miner/modules/theseven/ztex/boardproxy.py", line 75, in run     self.device = ZtexDevice(self, self.serial, self.takeover, self.firmware)   File "/Users/BR0KK/Modular-Python-Bitcoin-Miner/modules/theseven/ztex/driver.py", line 49, in __init__     for bus in usb.busses():   File "/Library/Python/2.7/site-packages/usb/legacy.py", line 333, in busses     return (Bus(),)   File "/Library/Python/2.7/site-packages/usb/legacy.py", line 329, in __init__     self.devices = [Device(d) for d in core.find(find_all=True)]   File "/Library/Python/2.7/site-packages/usb/core.py", line 851, in find     return [d for d in device_iter(k, v)]   File "/Library/Python/2.7/site-packages/usb/core.py", line 821, in device_iter     for dev in backend.enumerate_devices():   File "/Library/Python/2.7/site-packages/usb/backend/libusb01.py", line 390, in enumerate_devices     _check(_lib.usb_find_busses())   File "/Library/Python/2.7/site-packages/usb/backend/libusb01.py", line 384, in _check     raise USBError(errmsg, ret) USBError: [Errno None] libusb/darwin.c usb_setup_iterator: IOServiceGetMatchingServices: unknown error  2012-03-24 01:42:18.071	[100]	Untitled ZTEX worker: Traceback (most recent call last):   File "/Users/BR0KK/Modular-Python-Bitcoin-Miner/modules/theseven/ztex/ztexworker.py", line 170, in main     elif data[0] == "dying": raise Exception("Proxy died!") Exception: Proxy died!  2012-03-24 01:42:19.083	[100]	Untitled ZTEX worker: Proxy: Exception caught: Traceback (most recent call last):   File "/Users/BR0KK/Modular-Python-Bitcoin-Miner/modules/theseven/ztex/boardproxy.py", line 75, in run     self.device = ZtexDevice(self, self.serial, self.takeover, self.firmware)   File "/Users/BR0KK/Modular-Python-Bitcoin-Miner/modules/theseven/ztex/driver.py", line 49, in __init__     for bus in usb.busses():   File "/Library/Python/2.7/site-packages/usb/legacy.py", line 333, in busses     return (Bus(),)   File "/Library/Python/2.7/site-packages/usb/legacy.py", line 329, in __init__     self.devices = [Device(d) for d in core.find(find_all=True)]   File "/Library/Python/2.7/site-packages/usb/core.py", line 851, in find     return [d for d in device_iter(k, v)]   File "/Library/Python/2.7/site-packages/usb/core.py", line 821, in device_iter     for dev in backend.enumerate_devices():   File "/Library/Python/2.7/site-packages/usb/backend/libusb01.py", line 390, in enumerate_devices     _check(_lib.usb_find_busses())   File "/Library/Python/2.7/site-packages/usb/backend/libusb01.py", line 384, in _check     raise USBError(errmsg, ret) USBError: [Errno None] libusb/darwin.c usb_setup_iterator: IOServiceGetMatchingServices: unknown error  2012-03-24 01:42:19.084	[100]	Untitled ZTEX worker: Traceback (most recent call last):   File "/Users/BR0KK/Modular-Python-Bitcoin-Miner/modules/theseven/ztex/ztexworker.py", line 170, in main     elif data[0] == "dying": raise Exception("Proxy died!") Exception: Proxy died!  2012-03-24 01:42:20.096	[100]	Untitled ZTEX worker: Proxy: Exception caught: Traceback (most recent call last):   File "/Users/BR0KK/Modular-Python-Bitcoin-Miner/modules/theseven/ztex/boardproxy.py", line 75, in run     self.device = ZtexDevice(self, self.serial, self.takeover, self.firmware)   File "/Users/BR0KK/Modular-Python-Bitcoin-Miner/modules/theseven/ztex/driver.py", line 49, in __init__     for bus in usb.busses():   File "/Library/Python/2.7/site-packages/usb/legacy.py", line 333, in busses     return (Bus(),)   File "/Library/Python/2.7/site-packages/usb/legacy.py", line 329, in __init__     self.devices = [Device(d) for d in core.find(find_all=True)]   File "/Library/Python/2.7/site-packages/usb/core.py", line 851, in find     return [d for d in device_iter(k, v)]   File "/Library/Python/2.7/site-packages/usb/core.py", line 821, in device_iter     for dev in backend.enumerate_devices():   File "/Library/Python/2.7/site-packages/usb/backend/libusb01.py", line 390, in enumerate_devices     _check(_lib.usb_find_busses())   File "/Library/Python/2.7/site-packages/usb/backend/libusb01.py", line 384, in _check     raise USBError(errmsg, ret) USBError: [Errno None] libusb/darwin.c usb_setup_iterator: IOServiceGetMatchingServices: unknown error  2012-03-24 01:42:20.098	[100]	Untitled ZTEX worker: Traceback (most recent call last):   File "/Users/BR0KK/Modular-Python-Bitcoin-Miner/modules/theseven/ztex/ztexworker.py", line 170, in main     elif data[0] == "dying": raise Exception("Proxy died!") Exception: Proxy died!  2012-03-24 01:42:21.111	[100]	Untitled ZTEX worker: Proxy: Exception caught: Traceback (most recent call last):   File "/Users/BR0KK/Modular-Python-Bitcoin-Miner/modules/theseven/ztex/boardproxy.py", line 75, in run     self.device = ZtexDevice(self, self.serial, self.takeover, self.firmware)   File "/Users/BR0KK/Modular-Python-Bitcoin-Miner/modules/theseven/ztex/driver.py", line 49, in __init__     for bus in usb.busses():   File "/Library/Python/2.7/site-packages/usb/legacy.py", line 333, in busses     return (Bus(),)   File "/Library/Python/2.7/site-packages/usb/legacy.py", line 329, in __init__     self.devices = [Device(d) for d in core.find(find_all=True)]   File "/Library/Python/2.7/site-packages/usb/core.py", line 851, in find     return [d for d in device_iter(k, v)]   File "/Library/Python/2.7/site-packages/usb/core.py", line 821, in device_iter     for dev in backend.enumerate_devices():   File "/Library/Python/2.7/site-packages/usb/backend/libusb01.py", line 390, in enumerate_devices     _check(_lib.usb_find_busses())   File "/Library/Python/2.7/site-packages/usb/backend/libusb01.py", line 384, in _check     raise USBError(errmsg, ret) USBError: [Errno None] libusb/darwin.c usb_setup_iterator: IOServiceGetMatchingServices: unknown error  2012-03-24 01:42:21.112	[100]	Untitled ZTEX worker: Traceback (most recent call last):   File "/Users/BR0KK/Modular-Python-Bitcoin-Miner/modules/theseven/ztex/ztexworker.py", line 170, in main     elif data[0] == "dying": raise Exception("Proxy died!") Exception: Proxy died!  2012-03-24 01:42:23.432	[500]	Eligius (donation): Got 120 jobs 2012-03-24 01:42:23.656	[500]	BTCGuild (donation): Got 1 jobs 2012-03-24 01:42:51.122	[100]	Untitled ZTEX worker: Proxy: Exception caught: Traceback (most recent call last):   File "/Users/BR0KK/Modular-Python-Bitcoin-Miner/modules/theseven/ztex/boardproxy.py", line 75, in run     self.device = ZtexDevice(self, self.serial, self.takeover, self.firmware)   File "/Users/BR0KK/Modular-Python-Bitcoin-Miner/modules/theseven/ztex/driver.py", line 49, in __init__     for bus in usb.busses():   File "/Library/Python/2.7/site-packages/usb/legacy.py", line 333, in busses     return (Bus(),)   File "/Library/Python/2.7/site-packages/usb/legacy.py", line 329, in __init__     self.devices = [Device(d) for d in core.find(find_all=True)]   File "/Library/Python/2.7/site-packages/usb/core.py", line 851, in find     return [d for d in device_iter(k, v)]   File "/Library/Python/2.7/site-packages/usb/core.py", line 821, in device_iter     for dev in backend.enumerate_devices():   File "/Library/Python/2.7/site-packages/usb/backend/libusb01.py", line 390, in enumerate_devices     _check(_lib.usb_find_busses())   File "/Library/Python/2.7/site-packages/usb/backend/libusb01.py", line 384, in _check     raise USBError(errmsg, ret) USBError: [Errno None] libusb/darwin.c usb_setup_iterator: IOServiceGetMatchingServices: unknown error  2012-03-24 01:42:51.123	[100]	Untitled ZTEX worker: Traceback (most recent call last):   File "/Users/BR0KK/Modular-Python-Bitcoin-Miner/modules/theseven/ztex/ztexworker.py", line 170, in main     elif data[0] == "dying": raise Exception("Proxy died!") Exception: Proxy died!  2012-03-24 01:43:21.135	[100]	Untitled ZTEX worker: Proxy: Exception caught: Traceback (most recent call last):   File "/Users/BR0KK/Modular-Python-Bitcoin-Miner/modules/theseven/ztex/boardproxy.py", line 75, in run     self.device = ZtexDevice(self, self.serial, self.takeover, self.firmware)   File "/Users/BR0KK/Modular-Python-Bitcoin-Miner/modules/theseven/ztex/driver.py", line 49, in __init__     for bus in usb.busses():   File "/Library/Python/2.7/site-packages/usb/legacy.py", line 333, in busses     return (Bus(),)   File "/Library/Python/2.7/site-packages/usb/legacy.py", line 329, in __init__     self.devices = [Device(d) for d in core.find(find_all=True)]   File "/Library/Python/2.7/site-packages/usb/core.py", line 851, in find     return [d for d in device_iter(k, v)]   File "/Library/Python/2.7/site-packages/usb/core.py", line 821, in device_iter     for dev in backend.enumerate_devices():   File "/Library/Python/2.7/site-packages/usb/backend/libusb01.py", line 390, in enumerate_devices     _check(_lib.usb_find_busses())   File "/Library/Python/2.7/site-packages/usb/backend/libusb01.py", line 384, in _check     raise USBError(errmsg, ret) USBError: [Errno None] libusb/darwin.c usb_setup_iterator: IOServiceGetMatchingServices: unknown error  2012-03-24 01:43:21.136	[100]	Untitled ZTEX worker: Traceback (most recent call last):   File "/Users/BR0KK/Modular-Python-Bitcoin-Miner/modules/theseven/ztex/ztexworker.py", line 170, in main     elif data[0] == "dying": raise Exception("Proxy died!") Exception: Proxy died! 

hmmm im not shure if MAC is the right computer for this kind of stuff. i just switched to it, so i have literally no skills in installing things that are complex Sad (don't ask if i do with linux Tongue). Isn't there a how to aviable describing how MPBM works (Just a basic tutorial: like setting up workers etc)?

I'll try to set it up under windows tomorrow.


Thx for the help Smiley
 

hero member
Activity: 504
Merit: 500
FPGA Mining LLC
You'll need to install the PySerial library (http://pyserial.sourceforge.net/), if you want to use SimpleRS232, Icarus or BFL boards.
You'll need to install the PyUSB library (http://sourceforge.net/apps/trac/pyusb/), if you want to use ZTEX boards.
You'll need to install the PyUSB library (http://sourceforge.net/apps/trac/pyusb/, recommended), or, alternatively (but not recommended), the PyD2XX library (http://bleyer.org/pyusb/, often wrongly called PyUSB as well), if you want to use X6500 boards.
hero member
Activity: 784
Merit: 500
Hi, I'm trying to get this running under OSX LION.

The Miner starts but i get these errors:


Seems that under OSX mpbm isn't able to load some modules? Is there an easy way to fix this (remember --> windows guy Cheesy) or do i have to switch to linux / Windows?
hero member
Activity: 504
Merit: 500
FPGA Mining LLC
When enough people have tested it for stability, some more documentation (quick start gudes for various platforms / boards) has been written, and I've ironed out some remaining bugs, e.g. occasional bursts of unneccsary work requests to pools.

I think it might happen rather soon, but it all depends on whether other people are willing to help with testing and possibly documenting.

I'd be especially interested in testing results from large clusters, to see whether MPBM scales well enough with the current work distribution system. I'd prefer that kind of testing to be done on BFL or Icarus boards for various reasons.
legendary
Activity: 3080
Merit: 1080
Just curious to know if you have any idea when the new MPBM will come out of testing and at least into main branch.
hero member
Activity: 504
Merit: 500
FPGA Mining LLC
New feature on testing branch: Butterfly Labs BitFORCE Single support

Thanks to O_Shovah for letting me develop and test this on his one Smiley
hero member
Activity: 504
Merit: 500
FPGA Mining LLC
Okay, I'll throw him 2 BTC. I ended up having to switch the miners off and disconnect then back on and reconnect and it all worked fine. (In case anyone is wondering)

EDIT: There is one address in TheSeven's signature and one in the first post, which one should I send to?

Just chose an arbitrary one. They all go to the same wallet, I just use different addresses to track where people actually look for one Smiley
donator
Activity: 1419
Merit: 1015
Okay, I'll throw him 2 BTC. I ended up having to switch the miners off and disconnect then back on and reconnect and it all worked fine. (In case anyone is wondering)

EDIT: There is one address in TheSeven's signature and one in the first post, which one should I send to?
sr. member
Activity: 407
Merit: 250
On testing build I'm getting some odd behavior. I'm mining with Icarus (12 of them right now) against GPUMax with Slush as backup (for one I tried P2Pool and it failed miserably, timeouts like crazy, and random stalls, among other things)

Anyway, the problem I'm getting is half my miners seem to be doing no work. As in after 12 hours of mining, 6 of them have done 4000+ accepted shares, and the other 6 have done 5. (seems to be random which ones).

Any thoughts of things to look at first? where to start digging?

Thanks!
legendary
Activity: 1022
Merit: 1000
BitMinter
Thanks for the help. Do you have a wallet address?

Also, Icarus with this miner does not seem to work with P2Pool:
(EDIT: Actually I get this with every pool I mine on)


Hello Raize

This one was for free. The miner runs fine, but there seems to be an issue with the boards. Are you sure about the port numbers ? You can check it with the hardware manager (Connections (COM & LPT). If you connect them to a different port the number will change and you can see the driver working in the task bar of windows. When finished it says something like device x on port y ready (don't remember Cheesy). Also check if the libs from Zhang are extracted and in the right place. Perhaps you can send us the code of your conf file.

Edit: You can donate to TheSeven if you got it up and running ! He deserves it.
hero member
Activity: 504
Merit: 500
FPGA Mining LLC
This behavior means that the board just doesn't respond for some reason. Is it powered up? What do the LEDs say? (You should see some go out when you start MPBM and then start flashing from time to time. If they don't, there's a communication issue.)
donator
Activity: 1419
Merit: 1015
Hey Raize here a little write-up for Windows.

Thanks for the help. Do you have a wallet address?

Also, Icarus with this miner does not seem to work with P2Pool:
(EDIT: Actually I get this with every pool I mine on)
Pages:
Jump to: