Bitcoin Forum

Bitcoin => Mining software (miners) => Topic started by: TheSeven on February 06, 2012, 04:10:15 PM



Title: Modular Python Bitcoin Miner - Official Thread
Post by: TheSeven on February 06, 2012, 04:10:15 PM
    Modular Python Bitcoin Miner


    The Modular Python Bitcoin Miner is a very flexible mining software written in Python, aiming to unify the frontend of FPGA-based mining hardware.


    Features

    • Runs on Python 2.6+ / 3.0+
    • Very flexible, to allow for all kinds of weird mining hardware and future mining pool protocols
    • Multi-pool support (load balancing or failover, configurable)
    • Multi-worker support
    • Worker hotplug support
    • Web interface
    • All UI functions available through JSON API
    • Can easily handle clusters of tens of gigahashes, dependinding on the board type


    Supported devices

    • Simple RS232-based interface, as a starting point for interface developers
    • X6500 FPGA mining board (no need for D2XX driver!)
    • Icarus board
    • ZTEX boards
    • Butterfly Labs (BFL) BitFORCE Single
    • ...more to follow!
    • Feel free to implement your own one!
    • Board vendors: Contact TheSeven (https://bitcointalk.org/index.php?action=profile;u=15929) with an offer (e.g. a board for testing) if you want your board to be added!


    Screenshots

    https://i.imgur.com/jBi2a.png?1 (https://i.imgur.com/jBi2a.png)


    News

    • 2012-03-26: v0.1.0beta released
    • 2012-03-22: Testing branch almost ready to be released for production use
    • 2012-03-21: Added ztex board support to testing branch
    • 2012-02-09: Added experimental support for Icarus board
    • 2012-02-06: Initial public beta release (v0.0.4beta)


    Documentation / Howtos

    • Coming soon...


    Download / Source code

    • https://github.com/TheSeven/Modular-Python-Bitcoin-Miner (https://github.com/TheSeven/Modular-Python-Bitcoin-Miner)
    • Packaged releases:
      • Hosted on Wuala: (https://www.wuala.com/theseven/mpbm-releases/?key=PxlJ9f779gSC)
        • mpbm-v0.1.0beta.zip (https://content.wuala.com/contents/theseven/mpbm-releases/mpbm-v0.1.0beta.zip?key=PxlJ9f779gSC&dl=1) (Core package, platform independent)
        • windows-runtime-v0.1.0beta.zip (https://content.wuala.com/contents/theseven/mpbm-releases/windows-runtime-v0.1.0beta.zip?key=PxlJ9f779gSC&dl=1) (If you don't want to install Python on Windows)
      • Hosted on MediaFire: (http://www.mediafire.com/?7ufqwl98lgv74)
        • mpbm-v0.1.0beta.zip (http://www.mediafire.com/?8267yf1ay41ps6y) (Core package, platform independent)
        • windows-runtime-v0.1.0beta.zip (http://www.mediafire.com/?tdqpuvoppkqxb3y) (If you don't want to install Python on Windows)


    IRC channel

    • #mpbm on irc.freenode.net (http://webchat.freenode.net?channels=mpbm)


    Donations

    • Donations to 13NuRX6rdE4Do4vddzhfKK7FqmGSTMcjYh are gratefully accepted ;D
    • Or, even better, donate a small share of your mining power to the MPBM authors by leaving the demo pool entries in the default configuration file enabled



    [/list]


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: TheSeven on February 06, 2012, 04:10:37 PM
    <placeholder>


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: shad on February 06, 2012, 06:27:52 PM
    so without the D2xx-drivers we could get this thing running on OpenWRT?


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: TheSeven on February 06, 2012, 06:42:53 PM
    so without the D2xx-drivers we could get this thing running on OpenWRT?

    That depends on:
    • Availability of /dev/bus/usb
    • Availability of libusb
    • Availability of python
    • Available RAM etc.


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: O_Shovah on February 06, 2012, 08:01:02 PM
    Is there a more detailed description for setting the scripts up avaidable ?

    I tried running it on my linux maschine but i keep getting errors for a common file.
    I guess my Pm to you dindn't reach you. Seems to be unreliable lately.


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: thirdlight on February 06, 2012, 08:36:05 PM
    I'm using windows xp & getting
    Code:
    2012-02-06 20:23:21.406000: Traceback (most recent call last):
    2012-02-06 20:23:21.406000:   File "miner.py", line 331, in <module>
    2012-02-06 20:23:21.406000:     miner.run()
    2012-02-06 20:23:21.406000:   File "miner.py", line 171, in run
    2012-02-06 20:23:21.406000:     self.adjustfetchers()
    2012-02-06 20:23:21.406000:   File "miner.py", line 180, in adjustfetchers
    2012-02-06 20:23:21.406000:     self.spawnfetcher()
    2012-02-06 20:23:21.406000:   File "miner.py", line 192, in spawnfetcher
    2012-02-06 20:23:21.406000:     excessmhashes = p.mhashes - ((now - p.starttime).total_seconds() + queuedelay) * p.hashrate
    2012-02-06 20:23:21.406000: AttributeError: 'datetime.timedelta' object has no attribute 'total_seconds'
    in the log.

    The terminal window is blank.

    Am I missing something?

    Thanks


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: torusJKL on February 06, 2012, 08:49:52 PM
    Looks great.
    Thanks for sharing.


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: TheSeven on February 06, 2012, 08:59:11 PM
    I'm using windows xp & getting
    Code:
    2012-02-06 20:23:21.406000: Traceback (most recent call last):
    [...]
    2012-02-06 20:23:21.406000:     excessmhashes = p.mhashes - ((now - p.starttime).total_seconds() + queuedelay) * p.hashrate
    2012-02-06 20:23:21.406000: AttributeError: 'datetime.timedelta' object has no attribute 'total_seconds'
    in the log.
    That sounds like you're using Python <2.7 to me. Only 2.7 and 3.x is supported.

    @O_Shovah: I've responded to your PM now... Looks like common.py is missing for some reason? (I have no idea why...)


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: kronosvl on February 06, 2012, 09:40:27 PM
    Sub'd
    same here, specially openWRT oportunity


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: thirdlight on February 06, 2012, 09:47:54 PM
    That sounds like you're using Python <2.7 to me. Only 2.7 and 3.x is supported.
    Yes, 2.6.7 as standard for X6500.

    I tried 2.7, log has:
    Code:
    2012-02-06 21:45:41.750000: Exception in thread X6500 hotplug controller_main:
    2012-02-06 21:45:41.750000: Traceback (most recent call last):
    2012-02-06 21:45:41.750000:   File "c:\python27\lib\threading.py", line 552, in __bootstrap_inner
    2012-02-06 21:45:41.750000:     self.run()
    2012-02-06 21:45:41.750000:   File "c:\python27\lib\threading.py", line 505, in run
    2012-02-06 21:45:41.750000:     self.__target(*self.__args, **self.__kwargs)
    2012-02-06 21:45:41.750000:   File "C:\mpbm\worker\fpgamining\x6500hotplug.py", line 127, in main
    2012-02-06 21:45:41.750000:     if not self.useftd2xx or self.takeover: import usb
    2012-02-06 21:45:41.750000: ImportError: No module named usb

    How do I get usb module?

    Thanks


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: TheSeven on February 06, 2012, 09:59:57 PM
    That sounds like you're using Python <2.7 to me. Only 2.7 and 3.x is supported.
    Yes, 2.6.7 as standard for X6500.

    I tried 2.7, log has:
    Code:
    2012-02-06 21:45:41.750000: Exception in thread X6500 hotplug controller_main:
    2012-02-06 21:45:41.750000: Traceback (most recent call last):
    2012-02-06 21:45:41.750000:   File "c:\python27\lib\threading.py", line 552, in __bootstrap_inner
    2012-02-06 21:45:41.750000:     self.run()
    2012-02-06 21:45:41.750000:   File "c:\python27\lib\threading.py", line 505, in run
    2012-02-06 21:45:41.750000:     self.__target(*self.__args, **self.__kwargs)
    2012-02-06 21:45:41.750000:   File "C:\mpbm\worker\fpgamining\x6500hotplug.py", line 127, in main
    2012-02-06 21:45:41.750000:     if not self.useftd2xx or self.takeover: import usb
    2012-02-06 21:45:41.750000: ImportError: No module named usb

    How do I get usb module?

    Thanks


    http://sourceforge.net/projects/pyusb/files/PyUSB%201.0/1.0.0-alpha-2/pyusb-1.0.0a2.zip/download

    you can just unpack the "usb" directory from that zip file into the mpbm directory, or install it system-wide using setup.py


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: bitcowok on February 07, 2012, 02:48:53 AM
    Hi.

    Looking really good!

    Couple problems with v0.0.4alpha that I can see:
    1) curses line characters are all messed up in my locale  (en_AU.UTF-8) (let me know if you want a screenshot)
    2) I'm getting "Invalid long polling URL for Slushies: http://api.bitcoin.cz:8410"

    Thanks for this work, i'm loving the idea of one program to run ALL the FPGA's.


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: coblee on February 07, 2012, 04:27:10 AM
    I'm getting this error:

    Code:
    2012-02-06 20:25:26.472938: X6500 board AH00WOWD: No backend available
    2012-02-06 20:25:26.475037: X6500 board AH00WI18: dlsym(RTLD_DEFAULT, usb_find_busses): symbol not found


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: LazarusLong on February 07, 2012, 08:27:54 AM
    I was working on a port with libftdi to replace the d2xx lib - it did not work, some bits in the data streams differ.
    Great work! I really need this stuff on openwrt... ;D


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: thirdlight on February 07, 2012, 08:37:58 AM
    you can just unpack the "usb" directory from that zip file ...

    Thanks, TheSeven. I bet you underestimated the level of hand-holding some users need!

    Now getting:
    Code:
    2012-02-07 08:34:53.468000: Caught exception: No backend available

    Not getting quite as far as coblee, as no board serial detected?


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: coblee on February 07, 2012, 09:25:38 AM
    Well, I put the serial in the config.py myself:

    Code:
      # Single X6500 worker
      { \
        # Worker module
        "type": worker.fpgamining.x6500.X6500Worker, \
        # Worker module parameters, in this case board serial number (default: take first available)
        "deviceid": "AH00WOWD", \
      }, \

      # Single X6500 worker
      { \
        # Worker module
        "type": worker.fpgamining.x6500.X6500Worker, \
        # Worker module parameters, in this case board serial number (default: take first available)
        "deviceid": "AH00WI18", \
      }, \


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: TheSeven on February 07, 2012, 12:07:40 PM
    Hi.

    Looking really good!

    Couple problems with v0.0.4alpha that I can see:
    1) curses line characters are all messed up in my locale  (en_AU.UTF-8) (let me know if you want a screenshot)
    2) I'm getting "Invalid long polling URL for Slushies: http://api.bitcoin.cz:8410"

    Thanks for this work, i'm loving the idea of one program to run ALL the FPGA's.

    1) might be curses not properly detecting your terminal type. Running it inside a screen session sometimes helps with this. If you're using PuTTY as a terminal, make sure to set its charset to UTF-8.
    2) MPBM probably expects a trailing slash here... I'll fix that later today.

    I'm getting this error:

    Code:
    2012-02-06 20:25:26.472938: X6500 board AH00WOWD: No backend available
    2012-02-06 20:25:26.475037: X6500 board AH00WI18: dlsym(RTLD_DEFAULT, usb_find_busses): symbol not found

    you can just unpack the "usb" directory from that zip file ...

    Thanks, TheSeven. I bet you underestimated the level of hand-holding some users need!

    Now getting:
    Code:
    2012-02-07 08:34:53.468000: Caught exception: No backend available

    Not getting quite as far as coblee, as no board serial detected?

    Sounds like you don't have libusb installed or a weird version of it.

    Well, I put the serial in the config.py myself:

    Code:
      # Single X6500 worker
      { \
        # Worker module
        "type": worker.fpgamining.x6500.X6500Worker, \
        # Worker module parameters, in this case board serial number (default: take first available)
        "deviceid": "AH00WOWD", \
      }, \

      # Single X6500 worker
      { \
        # Worker module
        "type": worker.fpgamining.x6500.X6500Worker, \
        # Worker module parameters, in this case board serial number (default: take first available)
        "deviceid": "AH00WI18", \
      }, \

    If that works, autodetecting should have worked as well.


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: TheSeven on February 07, 2012, 12:25:01 PM
    2) I'm getting "Invalid long polling URL for Slushies: http://api.bitcoin.cz:8410"

    Fixed :)


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: TheSeven on February 07, 2012, 12:41:33 PM
    I'm using windows xp & getting
    Code:
    2012-02-06 20:23:21.406000: Traceback (most recent call last):
    [...]
    2012-02-06 20:23:21.406000:     excessmhashes = p.mhashes - ((now - p.starttime).total_seconds() + queuedelay) * p.hashrate
    2012-02-06 20:23:21.406000: AttributeError: 'datetime.timedelta' object has no attribute 'total_seconds'
    in the log.

    MPBM should now be compatible with Python 2.6 as well.
    Thanks to LazarusLong for providing the patch :)


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: thirdlight on February 07, 2012, 04:58:53 PM
    I've had mpbm working using "useftd2xx":"true" and python 2.6.7.

    It saw all the boards, but couldn't "open" all of them.

    Seemed to be getting shares, pool reported widely varying hashrate. The terminal window has a message about "window too small" so no stats to relay.

    Froze around an hour later, no reason in the log.

    I like that it manages (or tries to) all the boards at once - much neater than multiple windows. I will persevere.


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: thirdlight on February 07, 2012, 06:16:07 PM
    So I've found & installed libusb-win32. This has stopped the other X6500 software from working.

    mpbm programs all boards, but then:
    Code:
    2012-02-07 18:04:08.375000: X6500 board AH00WOW1: Error while booting board: Traceback (most recent call last):
    2012-02-07 18:04:08.375000:   File "C:\mpbm\worker\fpgamining\x6500.py", line 204, in main
    2012-02-07 18:04:08.375000:     FPGA.programBitstream(self.miner, self.device, jtag, bitfile.bitstream, self.progresshandler)
    2012-02-07 18:04:08.375000:   File "C:\mpbm\worker\fpgamining\util\fpga.py", line 240, in programBitstream
    2012-02-07 18:04:08.375000:     jtag.load_bitstream(bitstream, progresscallback)
    2012-02-07 18:04:08.375000:   File "C:\mpbm\worker\fpgamining\util\jtag.py", line 242, in load_bitstream
    2012-02-07 18:04:08.375000:     self.ft232r._purgeBuffers()
    2012-02-07 18:04:08.375000: AttributeError: FT232R instance has no attribute '_purgeBuffers'

     ???


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: TheSeven on February 07, 2012, 06:26:07 PM
    I've had mpbm working using "useftd2xx":"true" and python 2.6.7.

    It saw all the boards, but couldn't "open" all of them.

    Seemed to be getting shares, pool reported widely varying hashrate. The terminal window has a message about "window too small" so no stats to relay.

    Froze around an hour later, no reason in the log.

    I like that it manages (or tries to) all the boards at once - much neater than multiple windows. I will persevere.

    ftd2xx has a couple of issues, especially that boards can get stuck if a miner software doesn't terminate cleanly. Most likely the reason for some of your boards to not be recognized correctly.

    Window too small means exactly what it says, those rather huge stats tables need like 150 chars of width.

    What were the last log messages before it froze?


    So I've found & installed libusb-win32. This has stopped the other X6500 software from working.

    mpbm programs all boards, but then:
    Code:
    2012-02-07 18:04:08.375000: X6500 board AH00WOW1: Error while booting board: Traceback (most recent call last):
    2012-02-07 18:04:08.375000:   File "C:\mpbm\worker\fpgamining\x6500.py", line 204, in main
    2012-02-07 18:04:08.375000:     FPGA.programBitstream(self.miner, self.device, jtag, bitfile.bitstream, self.progresshandler)
    2012-02-07 18:04:08.375000:   File "C:\mpbm\worker\fpgamining\util\fpga.py", line 240, in programBitstream
    2012-02-07 18:04:08.375000:     jtag.load_bitstream(bitstream, progresscallback)
    2012-02-07 18:04:08.375000:   File "C:\mpbm\worker\fpgamining\util\jtag.py", line 242, in load_bitstream
    2012-02-07 18:04:08.375000:     self.ft232r._purgeBuffers()
    2012-02-07 18:04:08.375000: AttributeError: FT232R instance has no attribute '_purgeBuffers'

     ???


    Damn, I overlooked that one during a rework. Has been fixed this very moment.


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: thirdlight on February 07, 2012, 07:26:14 PM
    Damn, I overlooked that one during a rework. Has been fixed this very moment.
    Pulled, programs & mines on all boards except one:
    Code:
    2012-02-07 19:12:04.062000: X6500 board AH00WLON: 99.2% complete [30 kB/s] [0s remaining]
    2012-02-07 19:12:04.937000: X6500 board AH00WLON: Programmed FPGAs in 123.391000 seconds
    2012-02-07 19:12:04.937000: X6500 board AH00WLON FPGA 0: Waking up...
    2012-02-07 19:12:04.984000: X6500 board AH00WLON FPGA 1: Waking up...
    2012-02-07 19:12:04.984000: X6500 board AH00WLON FPGA 0: Verifying correct operation...
    2012-02-07 19:12:05.031000: X6500 board AH00WLON FPGA 1: Verifying correct operation...
    2012-02-07 19:12:05.343000: X6500 board AH00WLON FPGA 0: Mining device sent a share before even getting a job
    Reprograms, fails again, and repeat.

    After 10 mins or so, it's finally succeded! +1 that it keeps on trying!

    Found out how to increase the window size (presumably everyone else knows to make a shortcut to the .bat file and change the size in the layout tab of the shortcut's properties). Wow. Lots of stats!

    So pleased this is working, as I can't go back...


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: TheSeven on February 07, 2012, 07:45:47 PM
    Damn, I overlooked that one during a rework. Has been fixed this very moment.
    Pulled, programs & mines on all boards except one:
    Code:
    2012-02-07 19:12:04.062000: X6500 board AH00WLON: 99.2% complete [30 kB/s] [0s remaining]
    2012-02-07 19:12:04.937000: X6500 board AH00WLON: Programmed FPGAs in 123.391000 seconds
    2012-02-07 19:12:04.937000: X6500 board AH00WLON FPGA 0: Waking up...
    2012-02-07 19:12:04.984000: X6500 board AH00WLON FPGA 1: Waking up...
    2012-02-07 19:12:04.984000: X6500 board AH00WLON FPGA 0: Verifying correct operation...
    2012-02-07 19:12:05.031000: X6500 board AH00WLON FPGA 1: Verifying correct operation...
    2012-02-07 19:12:05.343000: X6500 board AH00WLON FPGA 0: Mining device sent a share before even getting a job
    Reprograms, fails again, and repeat.

    After 10 mins or so, it's finally succeded! +1 that it keeps on trying!

    Found out how to increase the window size (presumably everyone else knows to make a shortcut to the .bat file and change the size in the layout tab of the shortcut's properties). Wow. Lots of stats!

    So pleased this is working, as I can't go back...
    Heh, that sounds like very un-lucky timing. Reprogramming over and over wouldn't have been neccessary, it would have just needed to retry the validation.
    I think I know what was going and I'll have a look into avoiding that...


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: shad on February 07, 2012, 07:47:59 PM
    i am running it on an Buffalo WRZ-HP-AG300H-EU, it uses around 40MB-Ram openwrt+miner
    (i didn't get it running on my linksys wrt54gl because of to few diskspace)

    installation on OpenWRT

    Quote
    opkg update
    opkg install phyton
    opkg install libncurses
    opkg install libncursesw
    opkg install libusb

    rmmod ftdi_sio
    python miner.py

    bitstream was already installed, will try installing bitstream over openwrt later


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: thirdlight on February 07, 2012, 08:14:05 PM
    i am running it on an Buffalo WRZ-HP-AG300H-EU
    That's fantastic!

    Also, I'm mining with fpga's on p2pool. Perfect!


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: shad on February 07, 2012, 08:44:58 PM
    i am running it on an Buffalo WRZ-HP-AG300H-EU
    That's fantastic!

    Also, I'm mining with fpga's on p2pool. Perfect!

    i think i have to choose between running on ARM or mining on P2Pool


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: TheSeven on February 07, 2012, 08:45:27 PM
    Also, I'm mining with fpga's on p2pool. Perfect!

    Please be aware that the x6500 has relatively long long poll latencies due to its architecture, which will probably result in extremely high (around 20-50%) stale rates on the (very fast) p2pool network.


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: thirdlight on February 07, 2012, 09:01:36 PM
    i think i have to choose between running on ARM or mining on P2Pool
    Is that because p2pool won't run on ARM? My fpga controller pc isn't strong enough for p2pool, so I've got it on a vps.
    extremely high (around 20-50%) stale rates
    Yes, showing 20% on factory settings currently.


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: shad on February 07, 2012, 09:07:39 PM
    i think i have to choose between running on ARM or mining on P2Pool
    Is that because p2pool won't run on ARM? My fpga controller pc isn't strong enough for p2pool, so I've got it on a vps.

    p2pool will run on arm, but you need a bitcoin-server
    okay, i think you could be able to compile the bitcoin-server for ARM, you also have to hold the blockchain on the device, maybe with an usb-stick, but when i mined with my celeron 900Mhz on P2Pool, i had connection loses between p2pool and bitcoin because of high system load, i don't think this will run nice on my router


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: bitcowok on February 08, 2012, 03:36:29 AM
    1) might be curses not properly detecting your terminal type. Running it inside a screen session sometimes helps with this. If you're using PuTTY as a terminal, make sure to set its charset to UTF-8.
    2) MPBM probably expects a trailing slash here... I'll fix that later today.

    Your fix to (2) is worked, thanks. Its now mining like a champ.

    Re UTF-8 issues:  my first problem was i am using xterm, which needs to be started in utf-8 mode like this:
    xterm -u8

    If i run MPBM within xterm -u8, i get nice pretty graphics.

    Now when I try to run it within screen (within that xterm -u8), I now get strange characters. (even using screen -U  , which forces UTF-8)

    As a test, running this should result a capital O with circumflex.
    Code:
    perl -le 'print "\x{d4}"'

    And what i'm seeing without screen, and within:
    http://jabawok.net/uploads/problems/utf-8-screen-problem.png

    Heres my locale:
    Code:
    $ locale
    LANG=en_AU.UTF-8
    LC_CTYPE="en_AU.UTF-8"
    LC_NUMERIC="en_AU.UTF-8"
    LC_TIME="en_AU.UTF-8"
    LC_COLLATE="en_AU.UTF-8"
    LC_MONETARY="en_AU.UTF-8"
    LC_MESSAGES="en_AU.UTF-8"
    LC_PAPER="en_AU.UTF-8"
    LC_NAME="en_AU.UTF-8"
    LC_ADDRESS="en_AU.UTF-8"
    LC_TELEPHONE="en_AU.UTF-8"
    LC_MEASUREMENT="en_AU.UTF-8"
    LC_IDENTIFICATION="en_AU.UTF-8"
    LC_ALL=

    so I'm stumped. I'm running it outside of screen for the time being, and its working beautifully, but if anyone has any clues to fix the utf-8 problem i'm having with screen, I'd love to hear them.


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: coblee on February 08, 2012, 08:24:28 AM
    I finally got this working by installing libusb (and it does break the x6500 default miner)
    This miner is fantastic! It has all the stats that I can think of in a nice layout... color coded as well!

    Anyone working on an Icarus worker?


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: TheSeven on February 08, 2012, 02:14:11 PM
    Anyone working on an Icarus worker?

    I might do that if someone can offer me access to a board for testing.


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: freshzive on February 08, 2012, 04:36:59 PM
    Anyone have this working on a Mac? Before I try setting it up for my x6500 miners, wanted to make sure someone had already tested.


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: coblee on February 08, 2012, 05:06:07 PM
    Anyone have this working on a Mac? Before I try setting it up for my x6500 miners, wanted to make sure someone had already tested.

    Yes, it's working on my Mac. I needed to install these 2:
    http://sourceforge.net/projects/pyusb/files/PyUSB%201.0/1.0.0-alpha-2/pyusb-1.0.0a2.zip/download
    http://sourceforge.net/projects/libusb/files/libusb-1.0/libusb-1.0.8/


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: coblee on February 08, 2012, 06:59:04 PM
    Anyone working on an Icarus worker?

    I might do that if someone can offer me access to a board for testing.

    I might be able to do that. What kind of access do you need?


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: TheSeven on February 08, 2012, 11:01:21 PM
    Anyone working on an Icarus worker?

    I might do that if someone can offer me access to a board for testing.

    I might be able to do that. What kind of access do you need?

    Just ssh into a box that's connected to a board (and the appropriate permissions to access the board's device node) should be sufficient.
    I'll probably also need some python modules to be installed (the python curses bindings and pyserial), ideally both python 2.7 and 3.x.


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: TheSeven on February 09, 2012, 12:17:28 AM
    Experimental Icarus board support has been added, thanks a lot to O_Shovah for letting me test it on his board :)


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: ngzhang on February 09, 2012, 11:10:53 AM
    Experimental Icarus board support has been added, thanks a lot to O_Shovah for letting me test it on his board :)

    Offering some bitcoins might encourage you to not be lazy :)  ;D

    is there any implementation guide for Icarus?  ???

    Code:
    #  # Icarus worker
      { \
    #    # Worker module
        "type": worker.theseven.icarus.IcarusWorker, \
    #    # Worker module parameters, in this case serial port name (default: /dev/ttyS0)
        "port": "COM7", \
      }, \


    Code:
    C:\project\TheSeven-Modular-Python-Bitcoin-Miner-aef8b23\TheSeven-Modular-Python-Bitcoin-Miner-aef8b23>c:\python27\python.exe miner.py
    Traceback (most recent call last):
      File "miner.py", line 331, in <module>
        exec("import " + configfile + " as config")
      File "<string>", line 1, in <module>
      File "C:\project\TheSeven-Modular-Python-Bitcoin-Miner-aef8b23\TheSeven-Modular-Python-Bitcoin-Miner-aef8b23\config.py", line 121, in <module>
        "type": worker.theseven.icarus.IcarusWorker, \
    AttributeError: 'module' object has no attribute 'theseven'

    C:\project\TheSeven-Modular-Python-Bitcoin-Miner-aef8b23\TheSeven-Modular-Python-Bitcoin-Miner-aef8b23>PAUSE

     :-[


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: TheSeven on February 09, 2012, 02:13:00 PM
    Code:
    C:\project\TheSeven-Modular-Python-Bitcoin-Miner-aef8b23\TheSeven-Modular-Python-Bitcoin-Miner-aef8b23>c:\python27\python.exe miner.py
    Traceback (most recent call last):
      File "miner.py", line 331, in <module>
        exec("import " + configfile + " as config")
      File "<string>", line 1, in <module>
      File "C:\project\TheSeven-Modular-Python-Bitcoin-Miner-aef8b23\TheSeven-Modular-Python-Bitcoin-Miner-aef8b23\config.py", line 121, in <module>
        "type": worker.theseven.icarus.IcarusWorker, \
    AttributeError: 'module' object has no attribute 'theseven'

    C:\project\TheSeven-Modular-Python-Bitcoin-Miner-aef8b23\TheSeven-Modular-Python-Bitcoin-Miner-aef8b23>PAUSE

     :-[

    add
    Code:
    import worker.theseven.icarus
    at the top and remove the x6500 one.


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: ngzhang on February 09, 2012, 04:10:29 PM
    i must say, it works and have a very high efficiency.

    but the form is a bit strange on my machine. :-[

    http://i.minus.com/iHWHV1UdMiZYW.jpg

    python 2.7.2 and curses 2.2  (AMD64)  ???


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: freshzive on February 09, 2012, 04:25:29 PM
    So does the hotplug not work with multiple x6500s? Or am I doing something wrong? I have 5, it seems like they all connect, but they never start hashing and I keep getting lots of Errno 19 where they disconnect.

    https://i.imgur.com/e1eR9.png


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: freshzive on February 09, 2012, 04:30:59 PM
    Yeah, weird. When I specify them each by serial # it works perfectly.


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: thirdlight on February 09, 2012, 04:31:55 PM
    So does the hotplug not work with multiple x6500s?
    I have it working with multiple X6500s - on windows, though.


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: freshzive on February 09, 2012, 04:34:51 PM
    So does the hotplug not work with multiple x6500s?
    I have it working with multiple X6500s - on windows, though.

    Yeah, maybe it's my Mac? Also, specifying the serial # in the config does nothing. When using the single x6500 miner, it automatically connects to device 0.


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: TheSeven on February 09, 2012, 05:50:30 PM
    Are you sure that there's a bitstream running on the FPGAs? If they just get validation job timeouts after 3 minutes that might just be an FPGA that wasn't booted. MPBM won't upload bitstreams unless you instruct it to in the config file.


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: freshzive on February 09, 2012, 06:59:29 PM
    Very sure. I programmed them using the x6500 software. I have all 5 up and running using 5 instances of your software with single x6500....but the hotplug won't work for whatever reason. Any suggestions?


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: coblee on February 09, 2012, 07:01:18 PM
    Very sure. I programmed them using the x6500 software. I have all 5 up and running using 5 instances of your software with single x6500....but the hotplug won't work for whatever reason. Any suggestions?

    I never got the hotplug working on my Mac either. I got the same error message. So I gave up and just specified the serial and that's been working fine.


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: TheSeven on February 09, 2012, 08:13:09 PM
    Very sure. I programmed them using the x6500 software. I have all 5 up and running using 5 instances of your software with single x6500....but the hotplug won't work for whatever reason. Any suggestions?
    No idea how hotplug cannot work if single workers do, that's really weird. They both enumerate all devices on the bus, just that the single worker skips everything where the serial doesn't match, and that hotplug spawns a single worker for every serial that it finds on the bus.
    But you should be able to just copy the worker definition in the config file for all 5 boards instead of running 5 MPBM instances. That's basically what hotplug would do anyway.


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: coblee on February 09, 2012, 08:17:59 PM
    Very sure. I programmed them using the x6500 software. I have all 5 up and running using 5 instances of your software with single x6500....but the hotplug won't work for whatever reason. Any suggestions?
    No idea how hotplug cannot work if single workers do, that's really weird. They both enumerate all devices on the bus, just that the single worker skips everything where the serial doesn't match, and that hotplug spawns a single worker for every serial that it finds on the bus.
    But you should be able to just copy the worker definition in the config file for all 5 boards instead of running 5 MPBM instances. That's basically what hotplug would do anyway.

    I have 2 x6500 workers in a single instance of MPBM on my Mac.


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: freshzive on February 09, 2012, 09:02:36 PM
    Weird, specifying them by serial # doesn't seem to work on my Mac. No matter what serial # I put, it seems to connect to device #0 first. The second instance then connects to device #1, and so on.

    Coblee can I see what your config file looks like? Would love to only have 1 instance running.

    Thanks for all the help :)


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: coblee on February 09, 2012, 11:31:20 PM
    Here's the relevant part:

    Code:
      # Single X6500 worker
      { \
        "type": worker.fpgamining.x6500.X6500Worker, \
        "deviceid": "AH00WOWD", \
        "firmware": "worker/fpgamining/firmware/ztexmerge_200mhz.bit", \
        "takeover": True, \
    #    "uploadfirmware": True, \
      }, \

      # Single X6500 worker
      { \
        "type": worker.fpgamining.x6500.X6500Worker, \
        "deviceid": "AH00WI18", \
        "firmware": "worker/fpgamining/firmware/ztexmerge_200mhz.bit", \
        "takeover": True, \
    #    "uploadfirmware": True, \
      }, \


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: coblee on February 09, 2012, 11:33:14 PM
    When using the icarus worker, if I stop the miner and restart it, the icarus worker will fail to start with this message:

    Code:
    Icarus board on /dev/tty.usbserial: Timeout waiting for validation job to finish 

    It seems like I have to disconnect and reconnect them in order for it to work again. Any ideas?


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: freshzive on February 10, 2012, 06:06:02 AM
    So what's the proper way to specifiy a backup pool? I set my primary pool to a priority of '1000' and the backup to '1', yet my backup pool seems to be getting lots of shares still for some reason...

    Thanks for the help coblee, got it running successfully with all 5 x6500s in one instance :)


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: finway on February 10, 2012, 07:56:09 AM
    Mark.


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: TheSeven on February 10, 2012, 08:55:55 AM
    So what's the proper way to specifiy a backup pool? I set my primary pool to a priority of '1000' and the backup to '1', yet my backup pool seems to be getting lots of shares still for some reason...

    Thanks for the help coblee, got it running successfully with all 5 x6500s in one instance :)
    If your main pool behaves normally this should only happen shortly after starting the miner (or if the backup pool is incredibly lucky).
    I might have to adjust some of the bias values in the default configuration to improve the startup behavior, in order to not confuse people...

    You might want to try something like these:
    Code:
    getworkbias = -3000
    longpollkillbias = 3000
    getworkfailbias = -5000
    jobstartbias = 0
    jobfinishbias = 3000
    sharebias = 1000
    uploadfailbias = 0
    stalebias = -10000
    biasdecay = 0.9995
    That should make the hashrate distribution more predictable and less pool luck dependent. Use that with priority 10-20 for the main and 1 for the backup pool.

    If you want it to just distribute hashrate accordingly to the priority/hashrate settings and completely ignore the pool's behavior, use this:
    Code:
    getworkbias = -3000
    longpollkillbias = 3000
    getworkfailbias = 3000
    jobstartbias = 0
    jobfinishbias = 3000
    sharebias = 0
    uploadfailbias = 0
    stalebias = 0
    biasdecay = 0.9995
    This will make it flood the primary pool with requests though if it's down and might end up not being able to fetch work quick enough in that situation, so this should only be used with multiple load-balanced pools at similar priority levels.


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: nbtcminer on February 10, 2012, 01:55:00 PM
    For those with Win x64, where are you getting libusb from?
     I'm basically stuck at the x6500 driver; no backend available


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: TheSeven on February 10, 2012, 02:04:06 PM
    For those with Win x64, where are you getting libusb from?
     I'm basically stuck at the x6500 driver; no backend available
    In theory, building a WinUSB driver for the FTDI should work, libusb can nowadays use WinUSB as a backend.
    I haven't got around to building such a driver yet though.


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: allinvain on February 10, 2012, 03:49:29 PM
    Wohoo..got it working. Just a note for those on Win 7 x64. First download and install curses mython module from here:

    http://www.lfd.uci.edu/~gohlke/pythonlibs/#curses


    On a different note, what percent stale shares are you folks seeing?

    Edit: Whoops, replied to wrong thread. But still relevant. I meant to reply to the Icarus thread.


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: allinvain on February 10, 2012, 04:00:34 PM
    In regards to this:

     "priority": 30, \

    I take it the higher the number the higher the priority. And if so what is a recommended priority setting. I'm testing with BTC Guild for example, and I just kept the stock config's 30 level priority. This might be too high?? Could this explain failed job requests?




    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: TheSeven on February 10, 2012, 04:45:23 PM
    The priority values just define how hashrate will be distributed between the pools in the long term. If one pool has two times the priority of another one, it will get twice the hashrate compared to the other one on average. The absolute values don't matter, just the relative differences do. Assuming you have one pool with priority 1000 and another one with 2000 that's the same as if the first one had priority 1 and the second one 2.

    This should not make job requests fail, but if a pool has issues, these values do influence MPBM's failover behavior. It is recommended to have at least two pools with similar priority levels (let's say no more than a factor of 2 or 3 apart from each other), otherwise MPBM might try to fetch work from your primary pool too agressively during an outage, causing the work buffer to run empty before it attempts to fetch work from another pool. This is especially important if you use the bias values I have posted above to make it distribute hashrate more evenly, the default values should be a bit more tolerant here (by "punishing" pools a lot harder for failed requests or stales).
    I'd recommend setting up two (or more) pools with the same priority for load balancing and failover, and if you want to, additionally the demo pool entries (at a lower priority) if you want to donate some hashrate.


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: allinvain on February 10, 2012, 05:01:14 PM
    Excellent reply. Thanks. I intend to setup more than one, but first I'm waiting for Mr. ngzhang to deliver another fpga board. Right now I have 1 Icarus board mining with your miner. I must admit I'm a big sucker for colored terminals and I find watching the miner's output the equivalent of "seeing into the matrix"


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: nbtcminer on February 10, 2012, 05:41:21 PM
    Here the steps I've taken so far:

    I'm running:

    Windows 7 64-bit

    I have:

    - Python 2.6.7 (32-bit) installed (
    - curses-2.2.win32-py2.6.‌exe (From: http://www.lfd.uci.edu/~gohlke/pythonlibs/#curses)
    - USB module copied into MPBM folder (http://sourceforge.net/projects/pyusb/files/PyUSB%201.0/1.0.0-alpha-2/pyusb-1.0.0a2.zip/download)
    - Copied the default_config.py and renamed it to config.py
    - Setup the serial number for my X6500 and my pool information in the config.py

    I'm at the point where I need to get libusb (from what I gather) installed. I previous had the FTDI D2XX driver (64bit) installed. Do I need to have the 32-bit drivers installed?


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: TheSeven on February 10, 2012, 06:17:57 PM
    Here the steps I've taken so far:

    I'm running:

    Windows 7 64-bit

    I have:

    - Python 2.6.7 (32-bit) installed (
    - curses-2.2.win32-py2.6.‌exe (From: http://www.lfd.uci.edu/~gohlke/pythonlibs/#curses)
    - USB module copied into MPBM folder (http://sourceforge.net/projects/pyusb/files/PyUSB%201.0/1.0.0-alpha-2/pyusb-1.0.0a2.zip/download)
    - Copied the default_config.py and renamed it to config.py
    - Setup the serial number for my X6500 and my pool information in the config.py

    I'm at the point where I need to get libusb (from what I gather) installed. I previous had the FTDI D2XX driver (64bit) installed. Do I need to have the 32-bit drivers installed?

    You can only install 64bit drivers on a 64bit OS, and Win7 x64 has mandantory driver signing.
    You have 4 options:
    • Build a WinUSB driver inf file for the device (I might do that at some point if nobody else wants to bother with it) and install a recent libusb dll that can use WinUSB.
    • Find a signed libusb driver version and build a driver inf file based on that.
    • Disable driver signing (BCD patch) and use an arbitrary libusb device or filter driver.
    • Keep D2XX driver and set "useftd2xx": True in the worker parameters section (where the serial number is).


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: nbtcminer on February 10, 2012, 06:22:37 PM
    @TheSeven:

    Thanks for the quick reply! I might try building my own WinUSB driver inf file (but we'll see how that goes). For now I think the easiest thing to do is to just use the D2XX driver (I want to test your miner over the weekend).


    Edit:

    If I wanted to add the FTDI D2xx line would it in:

    config.py (under the workers section)

    or

    \workers\fpgaming\x6500.py

    Thanks in advance for the help!



    Cheers!


    You can only install 64bit drivers on a 64bit OS, and Win7 x64 has mandantory driver signing.
    You have 4 options:
    • Build a WinUSB driver inf file for the device (I might do that at some point if nobody else wants to bother with it) and install a recent libusb dll that can use WinUSB.
    • Find a signed libusb driver version and build a driver inf file based on that.
    • Disable driver signing (BCD patch) and use an arbitrary libusb device or filter driver.
    • Keep D2XX driver and set "useftd2xx": True in the worker parameters section (where the serial number is).


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: TheSeven on February 10, 2012, 06:46:49 PM
    In config.py, like this:
    Code:
      { \
        "type": worker.fpgamining.x6500.X6500Worker, \
        "deviceid": "ABCDEFGH", \
        "useftd2xx": True, \
      }, \

    See x6500.py for more available config options to be put there.


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: nbtcminer on February 10, 2012, 11:36:30 PM
    @Theseven:

    Awesome! I've got it up and running with the D2XX drivers and things look ok so far! However I'm an error that i used to get with the old X6500 as well:

    Code:
    Error while requesting job from "pool" timed out

    Any idea on that one?

    In config.py, like this:
    Code:
      { \
        "type": worker.fpgamining.x6500.X6500Worker, \
        "deviceid": "ABCDEFGH", \
        "useftd2xx": True, \
      }, \

    See x6500.py for more available config options to be put there.


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: freshzive on February 11, 2012, 03:22:02 AM
    So what's the proper way to specifiy a backup pool? I set my primary pool to a priority of '1000' and the backup to '1', yet my backup pool seems to be getting lots of shares still for some reason...

    Thanks for the help coblee, got it running successfully with all 5 x6500s in one instance :)
    If your main pool behaves normally this should only happen shortly after starting the miner (or if the backup pool is incredibly lucky).
    I might have to adjust some of the bias values in the default configuration to improve the startup behavior, in order to not confuse people...

    You might want to try something like these:
    Code:
    getworkbias = -3000
    longpollkillbias = 3000
    getworkfailbias = -5000
    jobstartbias = 0
    jobfinishbias = 3000
    sharebias = 1000
    uploadfailbias = 0
    stalebias = -10000
    biasdecay = 0.9995
    That should make the hashrate distribution more predictable and less pool luck dependent. Use that with priority 10-20 for the main and 1 for the backup pool.

    So I tried this, and it actually seemed to be sending MORE shares to my backup pool than it had previously (this was with priority set to 20 for main and 1 for backup).

    With the default settings and priorities of 1000 (main) and 1 (backup), it was sending about 100Mh/s of 2000Mh/s total to my backup pool over the course of ~24 hours.

    Any other ideas? Thanks.


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: TheSeven on February 11, 2012, 04:29:38 AM
    @Theseven:

    Awesome! I've got it up and running with the D2XX drivers and things look ok so far! However I'm an error that i used to get with the old X6500 as well:

    Code:
    Error while requesting job from "pool" timed out

    Any idea on that one?


    Sounds like your pool is having issues (or you didn't configure it correctly)?


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: TheSeven on February 11, 2012, 04:31:30 AM
    So I tried this, and it actually seemed to be sending MORE shares to my backup pool than it had previously (this was with priority set to 20 for main and 1 for backup).

    With the default settings and priorities of 1000 (main) and 1 (backup), it was sending about 100Mh/s of 2000Mh/s total to my backup pool over the course of ~24 hours.

    Any other ideas? Thanks.

    Interesting. It shouldn't be doing that unless your main pool is having severe trouble. Can you send me a screenshot of the full statistics and your config file (with passwords removed if neccessary)?


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: cypherdoc on February 11, 2012, 03:06:18 PM
    To op,

    will there ever be a version of this great software for non coders?


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: freshzive on February 11, 2012, 04:10:24 PM
    Sent you a BTC for development of this great software :)


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: allinvain on February 11, 2012, 04:16:25 PM
    http://img836.imageshack.us/img836/2045/mpbm1.png (http://imageshack.us/photo/my-images/836/mpbm1.png/)

    Uploaded with ImageShack.us (http://imageshack.us)

    TheSeven, I'm wondering if you can tell me if the "failed job requests" , "Share upload retries" and "Efficiency" stats are within normal ranges. I know the failed job requests and share upload retries varies from person to person, but shouldn't the efficiency be higher? For a while it was at 98%. What does the efficiency level refer to?


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: nbtcminer on February 11, 2012, 04:30:55 PM
    @Theseven:

    It's BTCGuild, since they swapped servers yesterday things have been a bit weird.


    Cheers,
    nbtcminer

    Sounds like your pool is having issues (or you didn't configure it correctly)?


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: allinvain on February 11, 2012, 04:36:02 PM
    It seems it's sporadic. It sometimes goes pretty bad..checkout all the red lol:

    http://img29.imageshack.us/img29/4593/mpbm2.png (http://imageshack.us/photo/my-images/29/mpbm2.png/)

    Uploaded with ImageShack.us (http://imageshack.us)


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: TheSeven on February 11, 2012, 05:45:37 PM
    TheSeven, I'm wondering if you can tell me if the "failed job requests" , "Share upload retries" and "Efficiency" stats are within normal ranges. I know the failed job requests and share upload retries varies from person to person, but shouldn't the efficiency be higher? For a while it was at 98%. What does the efficiency level refer to?

    The failed job request, upload retries and stale share values are looking like there's connectivity trouble. Either a very slow (or rather high-latency) internet connection, a DDoS affecting the pool, or something similar.
    The efficiency value is basically your luck minus invalids/stales, it should usually be around 85-110% after some time (it needs some minutes to stabilize). However in your case something seems to have gone wrong with hashrate measurement at some point (look at your average hashrate), which will of course screw up the efficiency calculations. If you account for that, your effective efficiency is around 98%, which is pretty much normal.


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: TheSeven on February 11, 2012, 05:53:56 PM
    To op,

    will there ever be a version of this great software for non coders?

    Well, you don't really require coding skills to use this software. Currently it isn't really documented well yet (this project was launched just days ago), and some general programming experience will of course make the installation and configuration easier, because programmers will usually grasp the general concepts of how this kind of thing works faster.
    However, if you look at the configuration file with some common sense, you'll probably recognize some patterns, how the definitions in there look like, which should enable you to adapt them to fit your needs. It really isn't all that complicated. Just ask for help if you don't understand something.

    I'm planning to remove the MPBM configuration file one day, and add a web interface instead through which it can be configured. This will require some major changes and thus take quite some time. Let's see how much spare time I'll have during the next months...


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: TheSeven on February 11, 2012, 05:55:25 PM
    Sent you a BTC for development of this great software :)
    Thanks a lot, I really appreciate that :)


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: allinvain on February 11, 2012, 06:33:17 PM
    TheSeven, I'm wondering if you can tell me if the "failed job requests" , "Share upload retries" and "Efficiency" stats are within normal ranges. I know the failed job requests and share upload retries varies from person to person, but shouldn't the efficiency be higher? For a while it was at 98%. What does the efficiency level refer to?

    The failed job request, upload retries and stale share values are looking like there's connectivity trouble. Either a very slow (or rather high-latency) internet connection, a DDoS affecting the pool, or something similar.
    The efficiency value is basically your luck minus invalids/stales, it should usually be around 85-110% after some time (it needs some minutes to stabilize). However in your case something seems to have gone wrong with hashrate measurement at some point (look at your average hashrate), which will of course screw up the efficiency calculations. If you account for that, your effective efficiency is around 98%, which is pretty much normal.

    I think it was the pool as it has now stabilized. The efficiency is slowly climbing back up too. Average hashrate is also dropping to a more realistic figure.

    As for latency it's kind of funny cause I chose to use BTC Guild specifically due to the low ping and low number of hops from me to their server.

    I'll keep an eye on it and see how it goes.

    Props to you for coding a neat miner.



    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: coblee on February 12, 2012, 11:26:40 AM
    I have 2 Icarus boards and after mining for a while, the stats start to look weird:

    Code:
                   Worker               │Accepted│Accepted│Stale shares│Invalid shares│Current│ Average │Temperature│Effi- │   Current                                             
                    name                │  jobs  │ shares │ (rejected) │ (K not zero) │MHash/s│ MHash/s │(degrees C)│ciency│     pool   
    Icarus board on /dev/tty.usbserial  │    4389│    2195│   23 (1.0%)│      2 (0.1%)│ 379.70│   373.31│  Unknown  │ 94.7%│   Eclipse                                             
    Icarus board on /dev/tty.usbserial20│    4459│    2272│   23 (1.0%)│      7 (0.3%)│ 379.36│129609.80│  Unknown  │  0.3%│   Eclipse                                             

    The accepted shares are about the same, but the 2nd board is shwoing a wrong average mhash/s and efficiency. In the logs I do notice a that the 2nd board had timed out a few times. TheSeven, any ideas?


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: O_Shovah on February 12, 2012, 02:08:05 PM
    Has anybody suceded in running a Icarus board and a x6500 in parallel ?

    It seems im missing something in the config.
    It only recognices and starts the x6500.
    The Icarus remains unseen.


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: allinvain on February 12, 2012, 03:10:23 PM
    Has anybody suceded in running a Icarus board and a x6500 in parallel ?

    It seems im missing something in the config.
    It only recognices and starts the x6500.
    The Icarus remains unseen.

    Do you have this in the list of modules to be loaded section:

    import worker.theseven.icarus

    and then in the list of workers section, this:

    # Icarus worker
      { \
        # Worker module
        "type": worker.theseven.icarus.IcarusWorker, \
        # Worker module parameters, in this case serial port name (default: /dev/ttyS0)
        "port": "COM3", \
      }, \



    Just remember to change the port variable to your particular one (ie COMx, or /dev/ttyUSBx)


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: TheSeven on February 12, 2012, 03:27:07 PM
    I have 2 Icarus boards and after mining for a while, the stats start to look weird:

    Code:
                   Worker               │Accepted│Accepted│Stale shares│Invalid shares│Current│ Average │Temperature│Effi- │   Current                                             
                    name                │  jobs  │ shares │ (rejected) │ (K not zero) │MHash/s│ MHash/s │(degrees C)│ciency│     pool  
    Icarus board on /dev/tty.usbserial  │    4389│    2195│   23 (1.0%)│      2 (0.1%)│ 379.70│   373.31│  Unknown  │ 94.7%│   Eclipse                                            
    Icarus board on /dev/tty.usbserial20│    4459│    2272│   23 (1.0%)│      7 (0.3%)│ 379.36│129609.80│  Unknown  │  0.3%│   Eclipse                                            

    The accepted shares are about the same, but the 2nd board is shwoing a wrong average mhash/s and efficiency. In the logs I do notice a that the 2nd board had timed out a few times. TheSeven, any ideas?
    Looks like something goes wrong with the total MHash counter for that worker. No idea what though, I've had a quick look at that code and can't spot any obvious reason for this. I also can't reproduce it by deliberately causing communication problems with the board.

    Has anybody suceded in running a Icarus board and a x6500 in parallel ?

    It seems im missing something in the config.
    It only recognices and starts the x6500.
    The Icarus remains unseen.
    This is a bit tricky because the Icarus board requires the ftdi_sio kernel module, which conflicts with the x6500.
    The following might be worth a try:
    • Configure both workers in the MPBM config file
    • rmmod ftdi_sio
    • Start MPBM (Icarus will fail)
    • modprobe ftdi_sio (Icarus should be detected now)

    EDIT: It seems like the Icarus board isn't based on FTDI, but on some other USB to serial converter, which means that it doesn't need the ftdi_sio kernel module either (but possibly some other one, which doesn't hurt x6500 though).


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: nbtcminer on February 15, 2012, 09:21:58 PM
    Interesting note:

    Found a method for installing Libusb on Windows but haven't had a change to test it yet. It seems like someone make this work around for iPhones but it may work for MPBM purposes:

    http://www.limesn0w.org/how-to-install-libusb-on-windows-7-vista-64-bit/

    I'll give it a try tomorrow and let y'all know how it goes.



    Cheers,
    nbtcminer


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: coblee on February 15, 2012, 09:26:58 PM
    I have 2 Icarus boards and after mining for a while, the stats start to look weird:

    Code:
                   Worker               │Accepted│Accepted│Stale shares│Invalid shares│Current│ Average │Temperature│Effi- │   Current                                             
                    name                │  jobs  │ shares │ (rejected) │ (K not zero) │MHash/s│ MHash/s │(degrees C)│ciency│     pool  
    Icarus board on /dev/tty.usbserial  │    4389│    2195│   23 (1.0%)│      2 (0.1%)│ 379.70│   373.31│  Unknown  │ 94.7%│   Eclipse                                            
    Icarus board on /dev/tty.usbserial20│    4459│    2272│   23 (1.0%)│      7 (0.3%)│ 379.36│129609.80│  Unknown  │  0.3%│   Eclipse                                            

    The accepted shares are about the same, but the 2nd board is shwoing a wrong average mhash/s and efficiency. In the logs I do notice a that the 2nd board had timed out a few times. TheSeven, any ideas?
    Looks like something goes wrong with the total MHash counter for that worker. No idea what though, I've had a quick look at that code and can't spot any obvious reason for this. I also can't reproduce it by deliberately causing communication problems with the board.

    This keeps happening to me. Let me know how I can help you fix this. I am running the latest code.


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: allinvain on February 16, 2012, 11:30:21 PM
    Hmm, maybe this can be addressed in the next version of the miner, but it seems after connection/get work issues the miner reports ridiculous hash rates and low efficiency levels. Right now it says my average is 4244 MHs with 9.0% efficiency - I wish!! (I'm running a single Icarus board)

    Maybe it should reset it's average/stats after a series of connection problems?


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: allinvain on February 17, 2012, 08:25:05 AM
    wtf..how come efficiency is showing as being negative!! looool. I'm pushing an average of -3716 MHs.


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: TheSeven on February 19, 2012, 12:16:43 PM
    wtf..how come efficiency is showing as being negative!! looool. I'm pushing an average of -3716 MHs.


    I bet this is a race condition of some kind in the Icarus worker module. However I fail to spot/reproduce it. :P
    Feel free to have a look at the code yourself, it isn't all that complex. An additional pair of eyes can't hurt :)
    Anyway, I'm preparing for a new major version which will overhaul a lot of things (so it might take a while until it's finished), but as this module will probably completely rewritten during the process, I hope that this bug will just be gone afterwards...


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: allinvain on February 19, 2012, 02:04:03 PM
    wtf..how come efficiency is showing as being negative!! looool. I'm pushing an average of -3716 MHs.


    I bet this is a race condition of some kind in the Icarus worker module. However I fail to spot/reproduce it. :P
    Feel free to have a look at the code yourself, it isn't all that complex. An additional pair of eyes can't hurt :)
    Anyway, I'm preparing for a new major version which will overhaul a lot of things (so it might take a while until it's finished), but as this module will probably completely rewritten during the process, I hope that this bug will just be gone afterwards...

    As far as I can tell it only happens when the pool I'm mining on has major connection issues or is down. Either it's not really that big of a deal - a quick restart of the miner fixes it. But I'm glad to hear you're rewriting the module/miner.


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: thirdlight on February 19, 2012, 02:15:15 PM
    I'm preparing for a new major version
    Can you add uptime to the top line? So stable, like to see the weeks ticking by!


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: ngzhang on February 19, 2012, 05:41:14 PM
    Code:
                                            Modular Python Bitcoin Miner v0.0.4alpha
    ────────────────────────────────────────────────────────────
    Total speed: 2277.0 MH/s - Buffer: 36/37 (49.27 seconds)

        Pool   │Long          │  Job   │   Failed   │Accepted│Rejected│Accepted│Ses│s│Share upload│Average│Effi-
    rrentame   │poll│Difficulty│requests│job requests│  jobs  │  jobs res │ (rejected) │  retries   │MHash/s│cienc
    bias it.net Yes n│   9999800│  574│  196 3.30%.0%)│525    0│30     0269     5 (1.8%)0 (0.0%)│     383.75│17.13.04
    22707ol.co  Yes n│   9999800│ 2577    65 (2.5%).0%) 2326    0 149     1151     50│ 4  0 (0.0%)│    1743.52│1008%%22
    31089
            Worker       │Accepted│Accepted│Stale shares│Invalid shares│Cu│Average│Temperature│Effi-Current rurrent
             name        │  jobs  │ shares │ (rejected) │ (K not zero) │MH│MHash/s│(degrees C)│ciencc pool
    Icarus board on COM6 │    4670│   226 0│    0 (0.0%)│      0 (0.0380.06│ 39.030│  Unknown  91.19.ABCPool.co .
    Icarus board on COM7 │    4780│   250│    2 0.80%0%)│      0 (0. 377.64│ 32.115│  Unknown  99.98.ABCPool.co .
    Icarus board on COM10│    4800│   250│    1 0.40%0%)│      0 (0. 378.29│ 36.363│  Unknown   7.27.ABCPool.co .
    Icarus board on COM15│    4850│   252 0│    0 (0.0%)│      0 (0. 380.94│ 35.595│  Unknown   4.72.ABCPool.co .
    Icarus board on COM16│    4580│   203     3 (1.5%)0      2 (1.0%).0380.12│ 37.256│  Unknown   2.23.ABCPool.co .
    Icarus board on COM17      483      239     4 (1.6%))│      0 (0.0% 380.00│ 26.947│  Unknown   3.02.ABCPool.co .
    ────────────────────────────────────────────────────────────
    2012-02-20 01:40:37.869000: Mining ABCPool.co:cc9e828c095bd3f5a3d9ee6ae27b7b6856b73b4ceaebcf6962d3938f26b2ef5a:1dd183124
    2012-02-20 01:40:38.758000: Mining ABCPool.co:b1355f70b6ff98c5173e60020a023a765aa0b8be9fd30a0f997cbfbea2ba2e5e:3b7a44224
    2012-02-20 01:40:38.820000: ABCPool.co accepted share 32c9758a (difficulty 1.33552)
    2012-02-20 01:40:39.335000: Icarus board on COM17 found share: ABCPool.co:b1355f70b6ff98c5173e60020a023a765aa0b8be9fd30a
    2012-02-20 01:40:39.397000: Mining ABCPool.co:798d60f1abee1f9a065035be22a4915ae1d89d218300f4fe9140025fc022c5a3:9e8a76e14
    2012-02-20 01:40:40.021000: ABCPool.co accepted share f6658d86 (difficulty 1.83261)
    2012-02-20 01:40:42.689000: Icarus board on COM16 found share: ABCPool.co:cc9e828c095bd3f5a3d9ee6ae27b7b6856b73b4ceaebcf
    2012-02-20 01:40:42.751000: Mining ABCPool.co:42dfd20b1ef26f4035be9187743ef131b29b8d0c96e560472cbd0170421ab011:acb11fe74
    2012-02-20 01:40:42.907000: Mining ABCPool.co:3c6e7d82feda19f8af4d62bc1a8494d8d02410d63fe1acea94c91ebe3e666996:63d37f274
    2012-02-20 01:40:43.173000: Mining ABCPool.co:9de391c99a6ea9903974dd9312608e7dded3974d0ce20529fc0529b9c4c7e806:263345134
    2012-02-20 01:40:43.438000: ABCPool.co long poll failed: ''
    2012-02-20 01:40:43.719000: ABCPool.co accepted share 56619936 (difficulty 1.86586)
    2012-02-20 01:40:43.890000: Mining ABCPool.co:51b605b9dca67c187b894217f4312f6c9aff5f0c5d5bf74445a2227c23060ef2:1e74f8204
    2012-02-20 01:40:44.452000: Icarus board on COM17 found share: ABCPool.co:798d60f1abee1f9a065035be22a4915ae1d89d218300f4
    2012-02-20 01:40:44.467000: Mining ABCPool.co:4cd8471800d3777a727eeedeed6ab98ffe47b6b298f6fb7c9586434af68a401f:897d52e04
    2012-02-20 01:40:44.592000: Icarus board on COM10 found share: ABCPool.co:3c6e7d82feda19f8af4d62bc1a8494d8d02410d63fe1ac
    2012-02-20 01:40:44.608000: Mining ABCPool.co:dd9ef771b4c1f1981170150bbae961fc2062757342c585b5260897d475f38c69:8b0893b44
    2012-02-20 01:40:45.450000: ABCPool.co accepted share cd3d3e39 (difficulty 1.45851)
    2012-02-20 01:40:45.575000: ABCPool.co accepted share b91efe92 (difficulty 1.69001)
    2012-02-20 01:40:46.074000: Mining ABCPool.co:8cd84d3d3a2840351be3d13c51ab278a5ab570f354c944cde891a064aa5c0da7:17b466b64
    2012-02-20 01:40:47.665000: Icarus board on COM15 found share: ABCPool.co:8cd84d3d3a2840351be3d13c51ab278a5ab570f354c944
    2012-02-20 01:40:47.712000: Mining ABCPool.co:da141d2f51aa6bd9b5f7b41eb0af39b7c1845ae9679a82b46f5ee4583b214365:4b04517e4
    2012-02-20 01:40:47.884000: Icarus board on COM6 found share: ABCPool.co:9de391c99a6ea9903974dd9312608e7dded3974d0ce2052
    2012-02-20 01:40:47.931000: Mining ABCPool.co:e43970301d29b08e0f5bafac066d6fb8e5db9ce4600cd244987a5844d2938dfb:203859b04
    2012-02-20 01:40:48.523000: ABCPool.co accepted share 6d0a5b35 (difficulty 1.21961)
    2012-02-20 01:40:48.695000: ABCPool.co accepted share 2c010f12 (difficulty 1.78641)
    2012-02-20 01:40:51.035000: Mining ABCPool.co:b39d9f7c89fbb434c36f4d713ec8c5b07c82c7a4f1962b60482051c8037e901d:3b2391d04


    running 6 boards.


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: O_Shovah on February 19, 2012, 09:36:11 PM
    I finally got both the Icarus board and the x6500 board working on my "Gumstix" ARM computer.

    Afther some dirty kernel hacking i got the modules to appear finally.

    I will measure the power and create "How to" for Gumstix boards this week.

    Manys thanks to TheSeven for his tips and patience on me and my ARM problems.


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: ngzhang on February 20, 2012, 06:38:30 PM
    I finally got both the Icarus board and the x6500 board working on my "Gumstix" ARM computer.

    Afther some dirty kernel hacking i got the modules to appear finally.

    I will measure the power and create "How to" for Gumstix boards this week.

    Manys thanks to TheSeven for his tips and patience on me and my ARM problems.

    hi, i think you need a free icarus. please PM me your address.


    Code:
                                                                Modular Python Bitcoin Miner v0.0.4alpha
    ────────────────────────────────────────────────────────────────────────────────
    Total speed: 6714.2 MH/s - Buffer: 103/110 (46.81 seconds)

        Pool   │Long          │  Job   │   Failed   │Accepted│Rejected│Accepted│Ses│s│Share upload│AveragEffi- │Current
        name   │poll│Difficulty│requests│job requests│  jobs  │  jobs res │ (rejected) │  retries   │MHashciency│  bias
    deepbit.net Yes n│   9999800│  121│    1 0.80%.0%)│ 23    0│       0 10      0│    0 (0.0%)│    0556.25│24.05│035763
    ABCPool.co  Yes n│   9999800│  179 97│    0 (0.0%)│166    0│       0 69      0│    0 (0.0%)│    5616.09│ 4.71% 2641747

            Worker       │Accepted│Accepted│Stale shares│Invalid shares│Current│Average│TempeEffi- │ Current urrent
             name        │  jobs  │ shares │ (rejected) │ (K not zero) │MHash/s│MHash/s│(degrciency│c  pool
    Icarus board on COM6 │     100│     3 0│    0 (0.0%)│      0 (0.0%83.0088340.48  0.00│  Unkn60.8%  ABCPool.co
    Icarus board on COM7 │      80│     1 0│    0 (0.0%)│      0 (0.0%)0.2388329.10  0.00│  Unkn21.0%  ABCPool.co
    Icarus board on COM10│     120│     9 0│    0 (0.0%)│      0 (0.0%79.7963328.67  0.00│  Unk188.8%  ABCPool.co
    Icarus board on COM15│     110│     5 0│    0 (0.0%)│      0 (0.0%80.1963324.28  0.00│  Unk106.3%  ABCPool.co
    Icarus board on COM16│     100│     5 0│    0 (0.0%)│      0 (0.0%76.8063345.66  0.00│  Unk 99.8%  ABCPool.co
    Icarus board on COM17│     120│     5 0│    0 (0.0%)│      0 (0.0%79.9663369.77  0.00│  Unk 93.3%│deepbit.ne
    Icarus board on COM18│      90│     5 0│    0 (0.0%)│      0 (0.0%80.0663330.80  0.00│  Unk104.2%  ABCPool.co nown
    Icarus board on COM19│     110│     3 0│    0 (0.0%)│      0 (0.0%77.8388362.95  0.00│  Unk 57.0% deepbit.net
    Icarus board on COM20│      90│     4 0│    0 (0.0%)│      0 (0.0%79.7988325.46  0.00│  Unk 84.8%  ABCPool.co
    Icarus board on COM21│     130│     7 0│    0 (0.0%)│      0 (0.0%80.4863362.83  0.00│  Unk133.1% deepbit.net
    Icarus board on COM22│     110│     4 0│    0 (0.0%)│      0 (0.0%81.1988329.84  0.00│  Unk 83.6%  ABCPool.co
    Icarus board on COM23│     100│     4 0│    0 (0.0%)│      0 (0.0%79.0163313.29  0.00│  Unk 88.1%  ABCPool.co
    Icarus board on COM24│     100│     3 0│    0 (0.0%)│      0 (0.0%79.2488362.98  0.00│  Unk 57.0%  ABCPool.co
    Icarus board on COM25│     120│     3 0│    0 (0.0%)│      0 (0.0256.7363367.14  0.00│  Unk 56.4% deepbit.net
    Icarus board on COM26│     100│     4 0│    0 (0.0%)│      0 (0.0%79.2888363.76  0.00│  Unk 75.8%│deepbit.ne
    Icarus board on COM27│     100│     6 0│    0 (0.0%)│      0 (0.0%80.8063338.64  0.00│  Unk122.2%  ABCPool.co
    Icarus board on COM28│     130│     7 0│    0 (0.0%)│      0 (0.0%80.4088345.38  0.00│  Unk139.8%  ABCPool.co
    Icarus board on COM29│      80│     1 0│    0 (0.0%)│      0 (0.0%79.4063332.55   Unknown    20.7%  ABCPool.co
    ────────────────────────────────────────────────────────────────────────────────
    2012-02-21 02:37:31.156000: ABCPool.co accepted share 6ad8235a (difficulty 1.25493)
    2012-02-21 02:37:31.234000: Mining ABCPool.co:bd493bdc18c03cbce19cfc5b0fa765eeffed5a5269df3a459559221abcd7182c:50c7abd94f4292d31a0c309c on Icarus board on COM1
    2012-02-21 02:37:31.422000: ABCPool.co accepted share e88ab92e (difficulty 28.64714)
    2012-02-21 02:37:31.702000: ABCPool.co accepted share 67b8fed8 (difficulty 1.14714)
    2012-02-21 02:37:31.952000: ABCPool.co accepted share ed7f309c (difficulty 1.67040)
    2012-02-21 02:37:31.983000: ABCPool.co accepted share ee6713a9 (difficulty 1.12833)
    2012-02-21 02:37:32.061000: Mining ABCPool.co:c930882db32c99251c430a311ad6f77ddb6f094f2b59c55915c8227869ec301a:881adb0f4f4292d31a0c309c on Icarus board on COM2
    2012-02-21 02:37:32.217000: Mining ABCPool.co:5c2fb51d1d14a084d053f1e39e53396e839d0f44f55d0fde8c41a9fadeef16df:ce4c6a4b4f4292d31a0c309c on Icarus board on COM2
    2012-02-21 02:37:32.342000: Mining ABCPool.co:f754f28724b18d093cbc7509a2d1db2bab71afd6da52d9122fec8577b93bea7b:c53aad1c4f4292d31a0c309c on Icarus board on COM7
    2012-02-21 02:37:32.482000: Icarus board on COM10 found share: ABCPool.co:eef89fa0481fedb1c067322985b09a9d956273d959c92d38c3dd5ab3aef6d295:c67372f74f4292d31a0c
    2012-02-21 02:37:32.529000: Mining ABCPool.co:d02c6a6a1bfc7f581fa13d2038242eed5f2f1231b0f7c11c1ea6528fce3b7ec0:437d35c74f4292d31a0c309c on Icarus board on COM1
    2012-02-21 02:37:32.529000: Icarus board on COM28 found share: ABCPool.co:c930882db32c99251c430a311ad6f77ddb6f094f2b59c55915c8227869ec301a:881adb0f4f4292d31a0c
    2012-02-21 02:37:32.529000: Icarus board on COM28 found share: ABCPool.co:c930882db32c99251c430a311ad6f77ddb6f094f2b59c55915c8227869ec301a:881adb0f4f4292d31a0c
    2012-02-21 02:37:32.576000: Mining ABCPool.co:ef08880b785631b92f8ca8acd65bad81724d27213b1b15735bc15de16b575d5e:8390db6c4f4292d31a0c309c on Icarus board on COM2
    2012-02-21 02:37:32.607000: Mining ABCPool.co:5db0e7bda8ecf944f67cda1bf911eafbec3865361b9fc4f3617980b2b6b5e767:e1ce485a4f4292d31a0c309c on Icarus board on COM1
    2012-02-21 02:37:33.325000: Mining ABCPool.co:c0980c142acd5e150fdf5a799789522868a417c47bdaa020174f4a0dfba555e9:996f97f84f4292d31a0c309c on Icarus board on COM2
    2012-02-21 02:37:33.356000: Icarus board on COM22 found share: ABCPool.co:96d25b46cedcfa3452fc3593e869c32baaf131289762444a74733bfb02cf886b:2992ccfb4f4292d31a0c
    2012-02-21 02:37:33.434000: Mining ABCPool.co:66530ee458dc6c61c6dec776e6ce465386f595bb3d1718283423aa89892eefb4:0ef644534f4292d31a0c309c on Icarus board on COM2
    2012-02-21 02:37:33.434000: ABCPool.co accepted share c33a05b6 (difficulty 1.01786)
    2012-02-21 02:37:33.481000: ABCPool.co accepted share f1a95385 (difficulty 1.12404)
    2012-02-21 02:37:33.840000: Mining ABCPool.co:b711e7429ff5cc3ff2250611855af1bef21c15954cc5e796d5c371572e261d34:0e2eaa1e4f4292d31a0c309c on Icarus board on COM2
    2012-02-21 02:37:33.949000: Icarus board on COM25 found share: ABCPool.co:b711e7429ff5cc3ff2250611855af1bef21c15954cc5e796d5c371572e261d34:0e2eaa1e4f4292d31a0c
    2012-02-21 02:37:33.980000: Mining ABCPool.co:538b1914eeb5e172cf25a474c14a089e29e319bce08ff43ca2b5b0ca1c4f40ba:1cdace8c4f4292d31a0c309c on Icarus board on COM2
    2012-02-21 02:37:34.027000: Icarus board on COM17 found share: ABCPool.co:40bf90c90c25593b1520d4e8fceeac6bc1590bc3e87261d1c40da7a9ade3ddb9:b07eb4fd4f4292d31a0c
    2012-02-21 02:37:34.074000: Mining ABCPool.co:40047f1e38030d17230c244a38e5741ece898550320f0fa65210df641c420291:c85389d24f4292d31a0c309c on Icarus board on COM1
    2012-02-21 02:37:34.167000: Icarus board on COM17 found share: ABCPool.co:40047f1e38030d17230c244a38e5741ece898550320f0fa65210df641c420291:c85389d24f4292d31a0c
    2012-02-21 02:37:34.214000: Mining ABCPool.co:453f2775edc5759e3a44792af2c252fb0e7e6e3eed5ffaec0faa474d1a9e216d:c469a5824f4292d31a0c309c on Icarus board on COM1
    2012-02-21 02:37:34.230000: Mining ABCPool.co:48ae70fb9f3ba56c71b92aa071da3bf89b18fd380893c24b57a0e0407b973bdb:85d7850c4f4292d31a0c309c on Icarus board on COM6
    2012-02-21 02:37:34.245000: Icarus board on COM27 found share: ABCPool.co:649061e0aee626498efdab28c94c4fc0cd44b312900bbcb0f132b976bb5d61bc:2598ae164f4292d31a0c
    2012-02-21 02:37:34.323000: Mining ABCPool.co:65157a37c83ab9eb8b169271ddb450623aeb9b6e9c29008438a9dd52220d3259:ed514a644f4292d31a0c309c on Icarus board on COM2


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: O_Shovah on February 20, 2012, 07:38:18 PM
    I finally got both the Icarus board and the x6500 board working on my "Gumstix" ARM computer.

    Afther some dirty kernel hacking i got the modules to appear finally.

    I will measure the power and create "How to" for Gumstix boards this week.

    Manys thanks to TheSeven for his tips and patience on me and my ARM problems.

    hi, i think you need a free icarus. please PM me your address.

    Did you mean TheSeven or me  ??? *confused*

    I will post a guide to your thread too.
    It gives a host computer with a almost full flavoured Linux using only 4 W. :)


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: TheSeven on February 20, 2012, 09:44:16 PM
    I finally got both the Icarus board and the x6500 board working on my "Gumstix" ARM computer.
    Afther some dirty kernel hacking i got the modules to appear finally.
    I will measure the power and create "How to" for Gumstix boards this week.
    Manys thanks to TheSeven for his tips and patience on me and my ARM problems.
    Sorry about not being able to help you during the weekend, I was kinda busy with non-bitcoin stuff. Seems like you managed to get it running nevertheless?
    Which distro did you base this on? I know Ubuntu on the Pandaboard works like a charm (I'm using that over here), but I'm not sure about Gumstix.


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: O_Shovah on February 20, 2012, 10:19:53 PM
    I finally got both the Icarus board and the x6500 board working on my "Gumstix" ARM computer.
    Afther some dirty kernel hacking i got the modules to appear finally.
    I will measure the power and create "How to" for Gumstix boards this week.
    Manys thanks to TheSeven for his tips and patience on me and my ARM problems.
    Sorry about not being able to help you during the weekend, I was kinda busy with non-bitcoin stuff. Seems like you managed to get it running nevertheless?
    Which distro did you base this on? I know Ubuntu on the Pandaboard works like a charm (I'm using that over here), but I'm not sure about Gumstix.

    Its a Ubuntu distru. A 10.04 "natty" to be precise.

    Its the same i tried using your client eralier.The charm was to compile a customised modified kernel for the board wich now seems to feature all modules intended for a regular ubuntu.
    I found a book (540pages) " The linux kernel " :D  That helped a lot.

    I may hand it to you if i'm sure it works properly.


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: ngzhang on February 21, 2012, 02:10:55 AM
    I finally got both the Icarus board and the x6500 board working on my "Gumstix" ARM computer.

    Afther some dirty kernel hacking i got the modules to appear finally.

    I will measure the power and create "How to" for Gumstix boards this week.

    Manys thanks to TheSeven for his tips and patience on me and my ARM problems.

    hi, i think you need a free icarus. please PM me your address.

    Did you mean TheSeven or me  ??? *confused*

    I will post a guide to your thread too.
    It gives a host computer with a almost full flavoured Linux using only 4 W. :)

    ahhhhh, i mean TheSeven. i made a mistake.

     :-[


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: ngzhang on February 21, 2012, 03:16:01 PM
    Code:
                                                                Modular Python Bitcoin Miner v0.0.4alpha
    ───────────────────────────────────────────────────────────────────────────────
    Total speed: 9501.1 MH/s - Buffer: 128/148 (43.24 seconds)

        Pool   │Long          │  Job   │   Failed   │Accepted│Rejected│Accepted│Ses│s│Share upload│Average│Effi- │Cur
        name   │poll│Difficulty│requests│job requests│  jobs  │  jobs res │ (rejected) │  retries   │MHash/s│ciency│
    deepbit.net Yes n│   9999800│ 5780 14032 24.35%.0%) 4251    0│73     2256     90│ 4  0 (0.9%)│4   4984.66│ 8.50.  22388
    ABCPool.co  Yes n│   9999800│ 630411344 (21.3%).0%) 4793    0│72     2605│  121 0.50%0   12 (0.5%) 4942.30 103.02% 692540

            Worker       │Accepted│Accepted│Stale shares│Invalid shaCurrent│Average│Temperature│Effi- │  Currerrent
             name        │  jobs  │ shares │ (rejected) │ (K not zerMHash/s│MHash/s│(degrees C)│ciency  pool
    Icarus board on COM20│    3500│   174 0│    0 (0.0%)│      0 (0. 380.45│ 38.403│  Unknown  89.99. ABCPool.co.n
    Icarus board on COM22│    3730│   209│    2 0.90%0%)│      0 (0.0378.98│ 38.266│  Unknown   8.07.deepbit.net.n
    Icarus board on COM27│    3620│   210 0│ 1  0 50.0%)│      0 (0. 380.39│ 60.204│  Unknown   4.04. ABCPool.co.n
    Icarus board on COM28│    3630│   198 0│ 1  0 50.0%)│      0 (0.0380.06│ 38.975│  Unknown   2.12. ABCPool.co.nown
    Icarus board on COM29│    3670│   203 0│ 1  0 50.0%)│      0 (0.0379.81│ 38.208│  Unknown   4.94. ABCPool.co.n
    Icarus board on COM30│    3740│   211 0│    0 (0.0%)│      0 (0.0382.28│ 38.885│  Unknown  08.98. ABCPool.co.n
    Icarus board on COM31│    3590│   192     3 (1.5%)0%)│  1   05(0.0380.44│ 38.977│  Unknown  99.07. ABCPool.co.n
    Icarus board on COM32│    3650│   201 0│    0 (0.0%)│      0 (0.0380.06│ 37.979│  Unknown   4.03.deepbit.net.n
    Icarus board on COM33│    3560│   193 0│    0 (0.0%)│      0 (0.0379.81│ 39.175│  Unknown  99.59. ABCPool.co.n
    Icarus board on COM34│    3560│   179 0│    0 (0.0%)│      0 (0.0379.39│ 38.029│  Unknown  92.6%  ABCPool.co.n
    Icarus board on COM35│    3650│   218 0│ 2  0.90.0%)│  1   05(0. 379.38│ 09.197│  Unknown   6.94.deepbit.net.n
    Icarus board on COM36│    3580│   186 0│    0 (0.0      1 (0.5%).0380.48│ 38.508│  Unknown  96.1%  ABCPool.co.n
    Icarus board on COM37│    3510│   175 0│    0 (0.0%)│      0 (0.0379.78│ 37.803│  Unknown  90.69.deepbit.net.n
    Icarus board on COM38│    3850│   216 0│ 1  0 50.0%)│      0 (0.0380.07│ 38.602│  Unknown  11.59. ABCPool.co.n
    Icarus board on COM39│    3640│   214 0│ 1  0 50.0%)│      0 (0.0379.74│ 36.784│  Unknown  11.00. ABCPool.co.n
    Icarus board on COM40│    3610│   177 0│    0 (0.0%)│  1   06(0.0379.44│ 38.199│  Unknown   1.51. ABCPool.co.n
    Icarus board on COM41│    3580│   181 0│ 1  0 50.0%)│      0 (0. 382.96│ 35.759│  Unknown   6.75. ABCPool.co.n
    Icarus board on COM42│    3370│   154 0│    0 (0.0%)│      0 (0. 379.39│ 31.686│  Unknown   1.01. ABCPool.co.n
    Icarus board on COM43│    3670│   198 0│ 1  0 50.0%)│      0 (0. 382.76│ 36.622│  Unknown 102.81.deepbit.net.n
    Icarus board on COM44│    3580│   177 0│    0 (0.0      1 (0.6%).0376.90│ 34.727│  Unknown   2.31.deepbit.net.n
    Icarus board on COM45│    3610│   193 0│ 1  0 50.0      1 (0.5%).0379.43│ 37.002│  Unknown 100.11. ABCPool.co.n
    Icarus board on COM46│    3490│   182     3 (1.6%)0%)│      0 (0. 379.82│ 34.469│  Unknown  95.1%. ABCPool.co.n
    Icarus board on COM47│    3700│   219 0│    0 (0.0%)│      0 (0.0379.28│ 35.368│  Unknown   4.16.deepbit.net.n
    Icarus board on COM48│    3660│   203│    2 (1.0%0%)│      0 (0. 380.36│ 34.218│  Unknown   9.09. ABCPool.co.n
    Icarus board on COM49│    3690│   198│    1 0.50%0%)│      0 (0.0379.52│ 80.609│  Unknown   1.82. ABCPool.co.n
    ───────────────────────────────────────────────────────────────────────────────
    2012-02-21 23:15:16.919000: ABCPool.co accepted share 18a61c5a (difficulty 4.25345)
    2012-02-21 23:15:16.982000: Mining deepbit.net:8dc29feadd3154ac010632c2fce76f9921ea4cf19b44941dffa2aeaa6b6fb355:b50ea4c54f43b4c91a0c309c on Icarus board on C
    2012-02-21 23:15:17.028000: Mining deepbit.net:bc37c4813405d1ffde670e32b848b56ee809cbc565f177669ec44794a246b198:a87a9d7f4f43b4c91a0c309c on Icarus board on C
    2012-02-21 23:15:17.294000: ABCPool.co accepted share 38fceba2 (difficulty 3.06567)
    2012-02-21 23:15:17.574000: ABCPool.co accepted share dffaa428 (difficulty 1.20454)
    2012-02-21 23:15:17.652000: Mining ABCPool.co:09865af1d5af72a6cd31a5484fe2a6e0218f387b49958d679a22066991a184fd:ccafb4ab4f43b4df1a0c309c on Icarus board on CO
    2012-02-21 23:15:17.793000: ABCPool.co accepted share 4f0a8db6 (difficulty 3.36600)
    2012-02-21 23:15:17.871000: ABCPool.co accepted share 080d2c4d (difficulty 3.63887)
    2012-02-21 23:15:18.479000: Error while requesting job from ABCPool.co: timed out
    2012-02-21 23:15:18.620000: Error while requesting job from ABCPool.co: timed out
    2012-02-21 23:15:18.776000: Mining ABCPool.co:a4c88a9d19a8a2e79010a8b7412e0400b69b0e4241374fb22da4842f1e22d989:354596c34f43b4df1a0c309c on Icarus board on CO
    2012-02-21 23:15:18.947000: Icarus board on COM20 found share: deepbit.net:3493454ea634847a5f7b03b6aba3dca97487c810bc746bc949810bf76d3c2e03:6cba7b524f43b4c71
    2012-02-21 23:15:18.978000: Mining ABCPool.co:e9672d547f1963be53109e96d2bd7020b8f614b73395f7b1d3407dc860f871c1:ee8d2bcf4f43b4df1a0c309c on Icarus board on CO
    2012-02-21 23:15:19.025000: Icarus board on COM48 found share: deepbit.net:87a360d5b86f448461ea70febd5db5a6aa718011661dfe184a33c982c72c2979:fedb36cf4f43b4c71
    2012-02-21 23:15:19.088000: Mining ABCPool.co:0fb14822cfb72b6c12f69831115fcfe7ae6d13a8d6532eeba67fd67a923f7091:38fe923b4f43b4df1a0c309c on Icarus board on CO
    2012-02-21 23:15:19.524000: Mining ABCPool.co:d56782cfdac639a104dfcc025e6667c2f920d4afe6f245778de14228eae435ef:c39ca4ad4f43b4e01a0c309c on Icarus board on CO
    2012-02-21 23:15:19.727000: Icarus board on COM45 found share: ABCPool.co:09865af1d5af72a6cd31a5484fe2a6e0218f387b49958d679a22066991a184fd:ccafb4ab4f43b4df1a
    2012-02-21 23:15:19.790000: Mining ABCPool.co:803cc6a2cb6a05b29f15d1aa40e2266be44df1d35148ef1bdf130f9cc7b9d9fb:8e4959194f43b4e01a0c309c on Icarus board on CO
    2012-02-21 23:15:20.070000: Icarus board on COM31 found share: deepbit.net:419fce1e422248c073f504425561d9ec43edef7232f0671d87aa769c72be774f:54c506ee4f43b4c71
    2012-02-21 23:15:20.102000: Mining ABCPool.co:8565198346e55e547c19e8d3ec15e4df5bbca5d5e29a2c89e12e6f726e40f455:bb1afffe4f43b4e01a0c309c on Icarus board on CO


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: TheSeven on February 21, 2012, 04:12:06 PM
    Code:
                                                                Modular Python Bitcoin Miner v0.0.4alpha
    ───────────────────────────────────────────────────────────────────────────────
    Total speed: 9501.1 MH/s - Buffer: 128/148 (43.24 seconds)

        Pool   │Long          │  Job   │   Failed   │Accepted│Rejected│Accepted│Ses│s│Share upload│Average│Effi- │Cur
        name   │poll│Difficulty│requests│job requests│  jobs  │  jobs res │ (rejected) │  retries   │MHash/s│ciency│
    deepbit.net Yes n│   9999800│ 5780 14032 24.35%.0%) 4251    0│73     2256     90│ 4  0 (0.9%)│4   4984.66│ 8.50.  22388
    ABCPool.co  Yes n│   9999800│ 630411344 (21.3%).0%) 4793    0│72     2605│  121 0.50%0   12 (0.5%) 4942.30 103.02% 692540

            Worker       │Accepted│Accepted│Stale shares│Invalid shaCurrent│Average│Temperature│Effi- │  Currerrent
             name        │  jobs  │ shares │ (rejected) │ (K not zerMHash/s│MHash/s│(degrees C)│ciency  pool
    Icarus board on COM20│    3500│   174 0│    0 (0.0%)│      0 (0. 380.45│ 38.403│  Unknown  89.99. ABCPool.co.n
    Icarus board on COM22│    3730│   209│    2 0.90%0%)│      0 (0.0378.98│ 38.266│  Unknown   8.07.deepbit.net.n
    Icarus board on COM27│    3620│   210 0│ 1  0 50.0%)│      0 (0. 380.39│ 60.204│  Unknown   4.04. ABCPool.co.n
    Icarus board on COM28│    3630│   198 0│ 1  0 50.0%)│      0 (0.0380.06│ 38.975│  Unknown   2.12. ABCPool.co.nown
    Icarus board on COM29│    3670│   203 0│ 1  0 50.0%)│      0 (0.0379.81│ 38.208│  Unknown   4.94. ABCPool.co.n
    Icarus board on COM30│    3740│   211 0│    0 (0.0%)│      0 (0.0382.28│ 38.885│  Unknown  08.98. ABCPool.co.n
    Icarus board on COM31│    3590│   192     3 (1.5%)0%)│  1   05(0.0380.44│ 38.977│  Unknown  99.07. ABCPool.co.n
    Icarus board on COM32│    3650│   201 0│    0 (0.0%)│      0 (0.0380.06│ 37.979│  Unknown   4.03.deepbit.net.n
    Icarus board on COM33│    3560│   193 0│    0 (0.0%)│      0 (0.0379.81│ 39.175│  Unknown  99.59. ABCPool.co.n
    Icarus board on COM34│    3560│   179 0│    0 (0.0%)│      0 (0.0379.39│ 38.029│  Unknown  92.6%  ABCPool.co.n
    Icarus board on COM35│    3650│   218 0│ 2  0.90.0%)│  1   05(0. 379.38│ 09.197│  Unknown   6.94.deepbit.net.n
    Icarus board on COM36│    3580│   186 0│    0 (0.0      1 (0.5%).0380.48│ 38.508│  Unknown  96.1%  ABCPool.co.n
    Icarus board on COM37│    3510│   175 0│    0 (0.0%)│      0 (0.0379.78│ 37.803│  Unknown  90.69.deepbit.net.n
    Icarus board on COM38│    3850│   216 0│ 1  0 50.0%)│      0 (0.0380.07│ 38.602│  Unknown  11.59. ABCPool.co.n
    Icarus board on COM39│    3640│   214 0│ 1  0 50.0%)│      0 (0.0379.74│ 36.784│  Unknown  11.00. ABCPool.co.n
    Icarus board on COM40│    3610│   177 0│    0 (0.0%)│  1   06(0.0379.44│ 38.199│  Unknown   1.51. ABCPool.co.n
    Icarus board on COM41│    3580│   181 0│ 1  0 50.0%)│      0 (0. 382.96│ 35.759│  Unknown   6.75. ABCPool.co.n
    Icarus board on COM42│    3370│   154 0│    0 (0.0%)│      0 (0. 379.39│ 31.686│  Unknown   1.01. ABCPool.co.n
    Icarus board on COM43│    3670│   198 0│ 1  0 50.0%)│      0 (0. 382.76│ 36.622│  Unknown 102.81.deepbit.net.n
    Icarus board on COM44│    3580│   177 0│    0 (0.0      1 (0.6%).0376.90│ 34.727│  Unknown   2.31.deepbit.net.n
    Icarus board on COM45│    3610│   193 0│ 1  0 50.0      1 (0.5%).0379.43│ 37.002│  Unknown 100.11. ABCPool.co.n
    Icarus board on COM46│    3490│   182     3 (1.6%)0%)│      0 (0. 379.82│ 34.469│  Unknown  95.1%. ABCPool.co.n
    Icarus board on COM47│    3700│   219 0│    0 (0.0%)│      0 (0.0379.28│ 35.368│  Unknown   4.16.deepbit.net.n
    Icarus board on COM48│    3660│   203│    2 (1.0%0%)│      0 (0. 380.36│ 34.218│  Unknown   9.09. ABCPool.co.n
    Icarus board on COM49│    3690│   198│    1 0.50%0%)│      0 (0.0379.52│ 80.609│  Unknown   1.82. ABCPool.co.n
    ───────────────────────────────────────────────────────────────────────────────
    2012-02-21 23:15:16.919000: ABCPool.co accepted share 18a61c5a (difficulty 4.25345)
    2012-02-21 23:15:16.982000: Mining deepbit.net:8dc29feadd3154ac010632c2fce76f9921ea4cf19b44941dffa2aeaa6b6fb355:b50ea4c54f43b4c91a0c309c on Icarus board on C
    2012-02-21 23:15:17.028000: Mining deepbit.net:bc37c4813405d1ffde670e32b848b56ee809cbc565f177669ec44794a246b198:a87a9d7f4f43b4c91a0c309c on Icarus board on C
    2012-02-21 23:15:17.294000: ABCPool.co accepted share 38fceba2 (difficulty 3.06567)
    2012-02-21 23:15:17.574000: ABCPool.co accepted share dffaa428 (difficulty 1.20454)
    2012-02-21 23:15:17.652000: Mining ABCPool.co:09865af1d5af72a6cd31a5484fe2a6e0218f387b49958d679a22066991a184fd:ccafb4ab4f43b4df1a0c309c on Icarus board on CO
    2012-02-21 23:15:17.793000: ABCPool.co accepted share 4f0a8db6 (difficulty 3.36600)
    2012-02-21 23:15:17.871000: ABCPool.co accepted share 080d2c4d (difficulty 3.63887)
    2012-02-21 23:15:18.479000: Error while requesting job from ABCPool.co: timed out
    2012-02-21 23:15:18.620000: Error while requesting job from ABCPool.co: timed out
    2012-02-21 23:15:18.776000: Mining ABCPool.co:a4c88a9d19a8a2e79010a8b7412e0400b69b0e4241374fb22da4842f1e22d989:354596c34f43b4df1a0c309c on Icarus board on CO
    2012-02-21 23:15:18.947000: Icarus board on COM20 found share: deepbit.net:3493454ea634847a5f7b03b6aba3dca97487c810bc746bc949810bf76d3c2e03:6cba7b524f43b4c71
    2012-02-21 23:15:18.978000: Mining ABCPool.co:e9672d547f1963be53109e96d2bd7020b8f614b73395f7b1d3407dc860f871c1:ee8d2bcf4f43b4df1a0c309c on Icarus board on CO
    2012-02-21 23:15:19.025000: Icarus board on COM48 found share: deepbit.net:87a360d5b86f448461ea70febd5db5a6aa718011661dfe184a33c982c72c2979:fedb36cf4f43b4c71
    2012-02-21 23:15:19.088000: Mining ABCPool.co:0fb14822cfb72b6c12f69831115fcfe7ae6d13a8d6532eeba67fd67a923f7091:38fe923b4f43b4df1a0c309c on Icarus board on CO
    2012-02-21 23:15:19.524000: Mining ABCPool.co:d56782cfdac639a104dfcc025e6667c2f920d4afe6f245778de14228eae435ef:c39ca4ad4f43b4e01a0c309c on Icarus board on CO
    2012-02-21 23:15:19.727000: Icarus board on COM45 found share: ABCPool.co:09865af1d5af72a6cd31a5484fe2a6e0218f387b49958d679a22066991a184fd:ccafb4ab4f43b4df1a
    2012-02-21 23:15:19.790000: Mining ABCPool.co:803cc6a2cb6a05b29f15d1aa40e2266be44df1d35148ef1bdf130f9cc7b9d9fb:8e4959194f43b4e01a0c309c on Icarus board on CO
    2012-02-21 23:15:20.070000: Icarus board on COM31 found share: deepbit.net:419fce1e422248c073f504425561d9ec43edef7232f0671d87aa769c72be774f:54c506ee4f43b4c71
    2012-02-21 23:15:20.102000: Mining ABCPool.co:8565198346e55e547c19e8d3ec15e4df5bbca5d5e29a2c89e12e6f726e40f455:bb1afffe4f43b4e01a0c309c on Icarus board on CO
    Woah!
    Can it really handle that much hashing power? Seems like the fetchers can keep up with it, but how does that setup behave shortly after long polls?


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: ngzhang on February 21, 2012, 06:32:06 PM
    Code:
                                                                Modular Python Bitcoin Miner v0.0.4alpha
    ───────────────────────────────────────────────────────────────────────────────
    Total speed: 9501.1 MH/s - Buffer: 128/148 (43.24 seconds)

        Pool   │Long          │  Job   │   Failed   │Accepted│Rejected│Accepted│Ses│s│Share upload│Average│Effi- │Cur
        name   │poll│Difficulty│requests│job requests│  jobs  │  jobs res │ (rejected) │  retries   │MHash/s│ciency│
    deepbit.net Yes n│   9999800│ 5780 14032 24.35%.0%) 4251    0│73     2256     90│ 4  0 (0.9%)│4   4984.66│ 8.50.  22388
    ABCPool.co  Yes n│   9999800│ 630411344 (21.3%).0%) 4793    0│72     2605│  121 0.50%0   12 (0.5%) 4942.30 103.02% 692540

            Worker       │Accepted│Accepted│Stale shares│Invalid shaCurrent│Average│Temperature│Effi- │  Currerrent
             name        │  jobs  │ shares │ (rejected) │ (K not zerMHash/s│MHash/s│(degrees C)│ciency  pool
    Icarus board on COM20│    3500│   174 0│    0 (0.0%)│      0 (0. 380.45│ 38.403│  Unknown  89.99. ABCPool.co.n
    Icarus board on COM22│    3730│   209│    2 0.90%0%)│      0 (0.0378.98│ 38.266│  Unknown   8.07.deepbit.net.n
    Icarus board on COM27│    3620│   210 0│ 1  0 50.0%)│      0 (0. 380.39│ 60.204│  Unknown   4.04. ABCPool.co.n
    Icarus board on COM28│    3630│   198 0│ 1  0 50.0%)│      0 (0.0380.06│ 38.975│  Unknown   2.12. ABCPool.co.nown
    Icarus board on COM29│    3670│   203 0│ 1  0 50.0%)│      0 (0.0379.81│ 38.208│  Unknown   4.94. ABCPool.co.n
    Icarus board on COM30│    3740│   211 0│    0 (0.0%)│      0 (0.0382.28│ 38.885│  Unknown  08.98. ABCPool.co.n
    Icarus board on COM31│    3590│   192     3 (1.5%)0%)│  1   05(0.0380.44│ 38.977│  Unknown  99.07. ABCPool.co.n
    Icarus board on COM32│    3650│   201 0│    0 (0.0%)│      0 (0.0380.06│ 37.979│  Unknown   4.03.deepbit.net.n
    Icarus board on COM33│    3560│   193 0│    0 (0.0%)│      0 (0.0379.81│ 39.175│  Unknown  99.59. ABCPool.co.n
    Icarus board on COM34│    3560│   179 0│    0 (0.0%)│      0 (0.0379.39│ 38.029│  Unknown  92.6%  ABCPool.co.n
    Icarus board on COM35│    3650│   218 0│ 2  0.90.0%)│  1   05(0. 379.38│ 09.197│  Unknown   6.94.deepbit.net.n
    Icarus board on COM36│    3580│   186 0│    0 (0.0      1 (0.5%).0380.48│ 38.508│  Unknown  96.1%  ABCPool.co.n
    Icarus board on COM37│    3510│   175 0│    0 (0.0%)│      0 (0.0379.78│ 37.803│  Unknown  90.69.deepbit.net.n
    Icarus board on COM38│    3850│   216 0│ 1  0 50.0%)│      0 (0.0380.07│ 38.602│  Unknown  11.59. ABCPool.co.n
    Icarus board on COM39│    3640│   214 0│ 1  0 50.0%)│      0 (0.0379.74│ 36.784│  Unknown  11.00. ABCPool.co.n
    Icarus board on COM40│    3610│   177 0│    0 (0.0%)│  1   06(0.0379.44│ 38.199│  Unknown   1.51. ABCPool.co.n
    Icarus board on COM41│    3580│   181 0│ 1  0 50.0%)│      0 (0. 382.96│ 35.759│  Unknown   6.75. ABCPool.co.n
    Icarus board on COM42│    3370│   154 0│    0 (0.0%)│      0 (0. 379.39│ 31.686│  Unknown   1.01. ABCPool.co.n
    Icarus board on COM43│    3670│   198 0│ 1  0 50.0%)│      0 (0. 382.76│ 36.622│  Unknown 102.81.deepbit.net.n
    Icarus board on COM44│    3580│   177 0│    0 (0.0      1 (0.6%).0376.90│ 34.727│  Unknown   2.31.deepbit.net.n
    Icarus board on COM45│    3610│   193 0│ 1  0 50.0      1 (0.5%).0379.43│ 37.002│  Unknown 100.11. ABCPool.co.n
    Icarus board on COM46│    3490│   182     3 (1.6%)0%)│      0 (0. 379.82│ 34.469│  Unknown  95.1%. ABCPool.co.n
    Icarus board on COM47│    3700│   219 0│    0 (0.0%)│      0 (0.0379.28│ 35.368│  Unknown   4.16.deepbit.net.n
    Icarus board on COM48│    3660│   203│    2 (1.0%0%)│      0 (0. 380.36│ 34.218│  Unknown   9.09. ABCPool.co.n
    Icarus board on COM49│    3690│   198│    1 0.50%0%)│      0 (0.0379.52│ 80.609│  Unknown   1.82. ABCPool.co.n
    ───────────────────────────────────────────────────────────────────────────────
    2012-02-21 23:15:16.919000: ABCPool.co accepted share 18a61c5a (difficulty 4.25345)
    2012-02-21 23:15:16.982000: Mining deepbit.net:8dc29feadd3154ac010632c2fce76f9921ea4cf19b44941dffa2aeaa6b6fb355:b50ea4c54f43b4c91a0c309c on Icarus board on C
    2012-02-21 23:15:17.028000: Mining deepbit.net:bc37c4813405d1ffde670e32b848b56ee809cbc565f177669ec44794a246b198:a87a9d7f4f43b4c91a0c309c on Icarus board on C
    2012-02-21 23:15:17.294000: ABCPool.co accepted share 38fceba2 (difficulty 3.06567)
    2012-02-21 23:15:17.574000: ABCPool.co accepted share dffaa428 (difficulty 1.20454)
    2012-02-21 23:15:17.652000: Mining ABCPool.co:09865af1d5af72a6cd31a5484fe2a6e0218f387b49958d679a22066991a184fd:ccafb4ab4f43b4df1a0c309c on Icarus board on CO
    2012-02-21 23:15:17.793000: ABCPool.co accepted share 4f0a8db6 (difficulty 3.36600)
    2012-02-21 23:15:17.871000: ABCPool.co accepted share 080d2c4d (difficulty 3.63887)
    2012-02-21 23:15:18.479000: Error while requesting job from ABCPool.co: timed out
    2012-02-21 23:15:18.620000: Error while requesting job from ABCPool.co: timed out
    2012-02-21 23:15:18.776000: Mining ABCPool.co:a4c88a9d19a8a2e79010a8b7412e0400b69b0e4241374fb22da4842f1e22d989:354596c34f43b4df1a0c309c on Icarus board on CO
    2012-02-21 23:15:18.947000: Icarus board on COM20 found share: deepbit.net:3493454ea634847a5f7b03b6aba3dca97487c810bc746bc949810bf76d3c2e03:6cba7b524f43b4c71
    2012-02-21 23:15:18.978000: Mining ABCPool.co:e9672d547f1963be53109e96d2bd7020b8f614b73395f7b1d3407dc860f871c1:ee8d2bcf4f43b4df1a0c309c on Icarus board on CO
    2012-02-21 23:15:19.025000: Icarus board on COM48 found share: deepbit.net:87a360d5b86f448461ea70febd5db5a6aa718011661dfe184a33c982c72c2979:fedb36cf4f43b4c71
    2012-02-21 23:15:19.088000: Mining ABCPool.co:0fb14822cfb72b6c12f69831115fcfe7ae6d13a8d6532eeba67fd67a923f7091:38fe923b4f43b4df1a0c309c on Icarus board on CO
    2012-02-21 23:15:19.524000: Mining ABCPool.co:d56782cfdac639a104dfcc025e6667c2f920d4afe6f245778de14228eae435ef:c39ca4ad4f43b4e01a0c309c on Icarus board on CO
    2012-02-21 23:15:19.727000: Icarus board on COM45 found share: ABCPool.co:09865af1d5af72a6cd31a5484fe2a6e0218f387b49958d679a22066991a184fd:ccafb4ab4f43b4df1a
    2012-02-21 23:15:19.790000: Mining ABCPool.co:803cc6a2cb6a05b29f15d1aa40e2266be44df1d35148ef1bdf130f9cc7b9d9fb:8e4959194f43b4e01a0c309c on Icarus board on CO
    2012-02-21 23:15:20.070000: Icarus board on COM31 found share: deepbit.net:419fce1e422248c073f504425561d9ec43edef7232f0671d87aa769c72be774f:54c506ee4f43b4c71
    2012-02-21 23:15:20.102000: Mining ABCPool.co:8565198346e55e547c19e8d3ec15e4df5bbca5d5e29a2c89e12e6f726e40f455:bb1afffe4f43b4e01a0c309c on Icarus board on CO
    Woah!
    Can it really handle that much hashing power? Seems like the fetchers can keep up with it, but how does that setup behave shortly after long polls?

    i must say, even there are some stales. but the program is very stable.

    and here are some data, i think you may be interested in.

    Code:
    2012-02-22 13:51:25.376000: Mining deepbit.net:c0379cbe273aa46c307ad85e69353eb75f57aa1ab1e2d7b9ff3fc23965235d25:b0c7fb034f44821d1a0c309c on Icarus board on COM39
    2012-02-22 13:51:25.470000: Mining deepbit.net:18ef464a258347da200ee3715e694b7ede4c9e900a75b3584434911dff15c3bf:9189843c4f44821e1a0c309c on Icarus board on COM41
    2012-02-22 13:51:25.626000: Icarus board on COM34 found share: deepbit.net:296bc25ab467bbaa2dc96da3d9e4369625b71cc168ce9889c74219190bba46fa:e17b50694f44821d1a0c309c:2af89c0a
    2012-02-22 13:51:25.641000: Mining deepbit.net:d6e7fbbb379475a71693b094cb624c3663d0d1b9c765f705ad04c8689ea605b4:4c7c97d94f44821e1a0c309c on Icarus board on COM34
    2012-02-22 13:51:26.063000: Icarus board on COM46 found share: deepbit.net:39c6971c7fe9a22473e52ee5d10e3eb6ced4b25551eefb71267ccbf098ea1e50:35c364f54f44821d1a0c309c:8ff2238f
    2012-02-22 13:51:26.109000: Mining deepbit.net:0144584b0714a639184bbfbaa477da385923aa6d20f96b4cf53e8224e5e1e0ff:274864df4f44821e1a0c309c on Icarus board on COM46
    2012-02-22 13:51:26.780000: Error while requesting job from deepbit.net: timed out
    2012-02-22 13:51:26.889000: deepbit.net accepted share 2af89c0a (difficulty 4.41044)
    2012-02-22 13:51:27.217000: Mining deepbit.net:b9fa2d2e751a1c48e60255e88c9b0d616c300e98ae6e510af66c0ab6763d8f2d:dd2fdfed4f44821e1a0c309c on Icarus board on COM37
    2012-02-22 13:51:27.217000: Mining deepbit.net:63c4b7041c5d837483401b8a611cf1b912938739a1cb30482a7b90fac55166c1:02489b4b4f44821e1a0c309c on Icarus board on COM48
    2012-02-22 13:51:27.311000: deepbit.net rejected share 8ff2238f (difficulty 1.21512): Unknown reason
    2012-02-22 13:51:27.763000: Mining deepbit.net:91fff46a7edb63f3a1d9a4da92f79536d7255291c57e15040e5b9fd3122a87cb:598070494f44821e1a0c309c on Icarus board on COM20
    2012-02-22 13:51:27.950000: Mining deepbit.net:bee73a91f56abaf561adc7fac9e2c8685a141b0b2b26026f347a1c98e1b5fd41:1e0ea4e24f44821e1a0c309c on Icarus board on COM22
    2012-02-22 13:51:28.091000: Long polling: deepbit.net indicates that a new block was found
    2012-02-22 13:51:28.091000: Mining deepbit.net:4711ac6383552ab94e9b4fbe6614fbcadcd96dc38c509e1438d51530f408bc31:4b61ba674f44824e1a0c309c on Icarus board on COM34
    2012-02-22 13:51:28.902000: Icarus board on COM44 found share: deepbit.net:e61671de00e633738c33dd6899a44947d81fe3da359991afd331e213d457cd77:67ed21914f44821c1a0c309c:f24159b5
    2012-02-22 13:51:28.933000: Long polling: ABCPool.co indicates that a new block was found
    2012-02-22 13:51:29.089000: Icarus board on COM34 found share: deepbit.net:4711ac6383552ab94e9b4fbe6614fbcadcd96dc38c509e1438d51530f408bc31:4b61ba674f44824e1a0c309c:41f32d0b
    2012-02-22 13:51:29.307000: Icarus board on COM49 found share: deepbit.net:4165d95c14b454f6b6e92e1d9163183ca5f536dead052949327757c2f99a4d14:b207d2044f44821c1a0c309c:4a5ebd38
    2012-02-22 13:51:29.323000: Icarus board on COM27 found share: deepbit.net:22acca157b9527e9baa3bb91e2ba195e3feb6a21c02b59c3c8e31a200f0eb22a:8b57315f4f44821c1a0c309c:157424c1
    2012-02-22 13:51:29.463000: Icarus board on COM30 found share: ABCPool.co:1d3ae4396a6266a471bc216efe8cb9d4913741dc753b0d21780f1eaad766b7c1:23475b514f4482351a0c309c:842e425d
    2012-02-22 13:51:29.510000: Icarus board on COM38 found share: deepbit.net:ca9b173db5801ee6cec2090b5ebf599b56a2d4edbd42b919565a9851d30ea9c0:a81e17b14f44821d1a0c309c:e38cbeb2
    2012-02-22 13:51:29.682000: Mining deepbit.net:2ef81e7bfd8745d6a2d2ea363683f2603f470c65387822a5704e2fd72ee65480:204b430a4f4482501a0c309c on Icarus board on COM22
    2012-02-22 13:51:29.682000: Mining deepbit.net:90981c3c8b6d5b169d3224ad99d802f6f32caa793e7da6a944656f89190f9ab4:15d92ac84f4482501a0c309c on Icarus board on COM36
    2012-02-22 13:51:29.697000: Mining deepbit.net:f5214341a8b79f983bd875349cee1939a3fd24d8a9870f3df4be21fcdda08c22:b9c03d6b4f4482501a0c309c on Icarus board on COM43
    2012-02-22 13:51:29.713000: Mining deepbit.net:09c591a9e704af31d39a92ee2f1aa4218254025a31030860e78ea0bb23233769:dc98aadf4f4482501a0c309c on Icarus board on COM20
    2012-02-22 13:51:29.729000: Icarus board on COM39 found share: deepbit.net:c0379cbe273aa46c307ad85e69353eb75f57aa1ab1e2d7b9ff3fc23965235d25:b0c7fb034f44821d1a0c309c:4c3e3ab1
    2012-02-22 13:51:29.729000: Mining deepbit.net:e857aad052e7992afd3ab7475675d453195652b3f01932b181355c9a7e8fe4e0:64075f4f4f4482501a0c309c on Icarus board on COM48
    2012-02-22 13:51:29.744000: Mining deepbit.net:7da0fa718b8746d0bf6e38c842cb1431f9842e5e9b38644f0eb4c9859dc73235:62d5ee9a4f4482501a0c309c on Icarus board on COM40
    2012-02-22 13:51:29.744000: Mining deepbit.net:61f0161e4acc7bbc598b9de11275adc296c3121ca69c48287eac4c025f009608:6af6adc04f4482501a0c309c on Icarus board on COM38
    2012-02-22 13:51:29.744000: Mining deepbit.net:fc14e6869da3f5b4827ac331a993e57827d994c7a3148aa189c979455f48a59b:b8102e5e4f4482501a0c309c on Icarus board on COM30
    2012-02-22 13:51:29.760000: Mining deepbit.net:e0d6c8c36c1bcd7c0b88886f0f583cabcf92da1e8376601a11235ee3a224b9de:9367106d4f4482501a0c309c on Icarus board on COM41
    2012-02-22 13:51:29.760000: Mining deepbit.net:807df547037bc1b15c13e7c97d967230f93add3268383ebe649a828264f31144:d42631d74f4482501a0c309c on Icarus board on COM37
    2012-02-22 13:51:29.760000: Mining deepbit.net:894f29a8cc8fcbc37e35f8bb7a8c39ff19f37ab731aa33648a90a1815244cbb7:63f229e04f4482501a0c309c on Icarus board on COM42
    2012-02-22 13:51:29.822000: Mining deepbit.net:1d68d4c07563ad96dc66f26f1df2d5da46e693f21cec78cb42e4bfde17e7f4d5:e85a471b4f4482501a0c309c on Icarus board on COM49
    2012-02-22 13:51:29.838000: Mining deepbit.net:33bb9b5c97d9313024beef7d563a58658deeccd079985da2970497d537d403b1:88ff26314f4482501a0c309c on Icarus board on COM29
    2012-02-22 13:51:29.838000: Mining deepbit.net:a28cfa2345420a5b08ae7abc620e3fa3fdd5b6258efec6614d63b8b1f39b5083:2412b9644f4482501a0c309c on Icarus board on COM46
    2012-02-22 13:51:29.853000: Mining deepbit.net:162cc83c992f5123d6836207b1dab4645c424036415a3f536d0af57b117cfda7:e861ea1b4f4482501a0c309c on Icarus board on COM47
    2012-02-22 13:51:29.853000: Mining deepbit.net:acb5665365dfdc4dfe815b80996a6d87282c18afa5b41d0c7f170525fe91dd44:5447ad664f4482501a0c309c on Icarus board on COM28
    2012-02-22 13:51:29.869000: Mining deepbit.net:3470ad15d5008cac148d5dcf0349904de688e173fea21e4bd4b8e3e09415b0bb:55eef6fb4f4482501a0c309c on Icarus board on COM27
    2012-02-22 13:51:29.885000: Mining deepbit.net:c3d03ce952a3d6d1b5efe056fde8c73db24e936493d4a77c4ffed0b1fb8ffc42:86fa4aee4f4482501a0c309c on Icarus board on COM32
    2012-02-22 13:51:29.885000: Mining deepbit.net:3f25785f193e1d20e9056e42d4f27bf77ba236c994084ee481bf30f76b08e7a6:23392f864f4482501a0c309c on Icarus board on COM44
    2012-02-22 13:51:29.885000: Mining deepbit.net:dadebdeeb7d061a1da37c5a76325f6c28a153bf713ceab9989a8054becd21ba9:918398744f4482501a0c309c on Icarus board on COM45
    2012-02-22 13:51:29.900000: Mining deepbit.net:94f5b28592076779085e15fdda8e4beddbef0c58adf263f0a9ecd6d0a77c747b:4aebd7114f4482501a0c309c on Icarus board on COM35
    2012-02-22 13:51:29.916000: Mining deepbit.net:ea0a2f7cb2f20df4b32679d4053be6a37e9f93bbd04d2fcf6e4875fc5ee0af96:834ce50a4f4482501a0c309c on Icarus board on COM33
    2012-02-22 13:51:29.916000: Mining deepbit.net:7d796c68e5c45528ec97992857ae61aef2de6a0f576a27bafa9bef80be0dae02:1070057e4f4482501a0c309c on Icarus board on COM31
    2012-02-22 13:51:29.916000: Mining deepbit.net:17a92cf34d317ca6f324c3f09b0922e53e67e138895e2542198b28de620be5a7:1393f0c24f4482501a0c309c on Icarus board on COM39
    2012-02-22 13:51:29.931000: Mining deepbit.net:9e7bd10eaa86d39b203808fbcc5446b86a6e7fe30d53260585183ad0fdde9093:6848faf34f4482501a0c309c on Icarus board on COM34
    2012-02-22 13:51:29.963000: Error while requesting job from ABCPool.co: timed out
    2012-02-22 13:51:30.321000: Error while requesting job from ABCPool.co: timed out
    2012-02-22 13:51:30.571000: deepbit.net accepted share 41f32d0b (difficulty 3.03043)
    2012-02-22 13:51:30.571000: ABCPool.co rejected share 842e425d (difficulty 1.14839): Unknown reason
    2012-02-22 13:51:30.602000: Error while requesting job from deepbit.net: timed out
    2012-02-22 13:51:30.602000: Error while requesting job from deepbit.net: timed out
    2012-02-22 13:51:30.602000: Error while requesting job from deepbit.net: timed out
    2012-02-22 13:51:30.602000: Error while requesting job from deepbit.net: timed out
    2012-02-22 13:51:30.602000: Error while requesting job from deepbit.net: timed out
    2012-02-22 13:51:30.602000: Error while requesting job from deepbit.net: timed out
    2012-02-22 13:51:30.602000: Error while requesting job from deepbit.net: timed out
    2012-02-22 13:51:30.633000: Error while requesting job from deepbit.net: timed out
    2012-02-22 13:51:30.633000: Error while requesting job from deepbit.net: timed out
    2012-02-22 13:51:30.633000: Error while requesting job from deepbit.net: timed out
    2012-02-22 13:51:30.633000: Error while requesting job from deepbit.net: timed out
    2012-02-22 13:51:30.633000: deepbit.net rejected share 4a5ebd38 (difficulty 4.51469): Unknown reason
    2012-02-22 13:51:30.633000: deepbit.net rejected share 157424c1 (difficulty 2.01695): Unknown reason
    2012-02-22 13:51:30.649000: Error while requesting job from deepbit.net: timed out
    2012-02-22 13:51:30.649000: Error while requesting job from deepbit.net: timed out
    2012-02-22 13:51:30.665000: Error while requesting job from deepbit.net: timed out
    2012-02-22 13:51:30.665000: Error while requesting job from deepbit.net: timed out
    2012-02-22 13:51:30.665000: Error while requesting job from deepbit.net: timed out
    2012-02-22 13:51:30.665000: Error while requesting job from deepbit.net: timed out
    2012-02-22 13:51:30.665000: Error while requesting job from deepbit.net: timed out
    2012-02-22 13:51:30.665000: Error while requesting job from deepbit.net: timed out
    2012-02-22 13:51:30.665000: Error while requesting job from deepbit.net: timed out
    2012-02-22 13:51:30.665000: Error while requesting job from deepbit.net: timed out
    2012-02-22 13:51:30.665000: Error while requesting job from deepbit.net: timed out
    2012-02-22 13:51:30.680000: Error while requesting job from deepbit.net: timed out
    2012-02-22 13:51:30.680000: Error while requesting job from deepbit.net: timed out
    2012-02-22 13:51:30.680000: Error while requesting job from deepbit.net: timed out
    2012-02-22 13:51:30.680000: Error while requesting job from deepbit.net: timed out
    2012-02-22 13:51:30.680000: Error while requesting job from deepbit.net: timed out
    2012-02-22 13:51:30.680000: Error while requesting job from deepbit.net: timed out
    2012-02-22 13:51:30.680000: Error while requesting job from deepbit.net: timed out
    2012-02-22 13:51:30.680000: Error while requesting job from deepbit.net: timed out
    2012-02-22 13:51:30.680000: Error while requesting job from deepbit.net: timed out
    2012-02-22 13:51:30.696000: Error while requesting job from deepbit.net: timed out
    2012-02-22 13:51:30.696000: Error while requesting job from deepbit.net: timed out
    2012-02-22 13:51:30.696000: Error while requesting job from deepbit.net: timed out
    2012-02-22 13:51:30.696000: Error while requesting job from deepbit.net: timed out
    2012-02-22 13:51:30.696000: Error while requesting job from deepbit.net: timed out
    2012-02-22 13:51:30.696000: Error while requesting job from deepbit.net: timed out
    2012-02-22 13:51:30.696000: Error while requesting job from deepbit.net: timed out
    2012-02-22 13:51:30.696000: Error while requesting job from deepbit.net: timed out
    2012-02-22 13:51:30.711000: Error while requesting job from deepbit.net: timed out
    2012-02-22 13:51:30.711000: Error while requesting job from deepbit.net: timed out
    2012-02-22 13:51:30.711000: Error while requesting job from deepbit.net: timed out
    2012-02-22 13:51:30.711000: Error while requesting job from deepbit.net: timed out
    2012-02-22 13:51:30.711000: Error while requesting job from deepbit.net: timed out
    2012-02-22 13:51:30.711000: Error while requesting job from deepbit.net: timed out
    2012-02-22 13:51:30.711000: Error while requesting job from deepbit.net: timed out
    2012-02-22 13:51:30.711000: Error while requesting job from deepbit.net: timed out
    2012-02-22 13:51:30.711000: Error while requesting job from deepbit.net: timed out
    2012-02-22 13:51:30.711000: Error while requesting job from deepbit.net: timed out
    2012-02-22 13:51:30.711000: Error while requesting job from deepbit.net: timed out
    2012-02-22 13:51:30.727000: Error while requesting job from deepbit.net: timed out
    2012-02-22 13:51:30.727000: Error while requesting job from deepbit.net: timed out
    2012-02-22 13:51:30.727000: Error while requesting job from deepbit.net: timed out
    2012-02-22 13:51:30.727000: Error while requesting job from deepbit.net: timed out
    2012-02-22 13:51:30.727000: Error while requesting job from deepbit.net: timed out
    2012-02-22 13:51:30.727000: Error while requesting job from deepbit.net: timed out
    2012-02-22 13:51:30.727000: Error while requesting job from deepbit.net: timed out
    2012-02-22 13:51:30.727000: Error while requesting job from deepbit.net: timed out
    2012-02-22 13:51:30.727000: Error while requesting job from deepbit.net: timed out
    2012-02-22 13:51:30.743000: Error while requesting job from deepbit.net: timed out
    2012-02-22 13:51:30.743000: Error while requesting job from deepbit.net: timed out
    2012-02-22 13:51:30.743000: Error while requesting job from deepbit.net: timed out
    2012-02-22 13:51:30.743000: Error while requesting job from deepbit.net: timed out
    2012-02-22 13:51:30.743000: Error while requesting job from deepbit.net: timed out
    2012-02-22 13:51:30.743000: Error while requesting job from deepbit.net: timed out
    2012-02-22 13:51:30.743000: Error while requesting job from deepbit.net: timed out
    2012-02-22 13:51:30.743000: Error while requesting job from deepbit.net: timed out
    2012-02-22 13:51:30.758000: Error while requesting job from deepbit.net: timed out
    2012-02-22 13:51:30.758000: Error while requesting job from deepbit.net: timed out
    2012-02-22 13:51:30.758000: Error while requesting job from deepbit.net: timed out
    2012-02-22 13:51:30.758000: Error while requesting job from deepbit.net: timed out
    2012-02-22 13:51:30.758000: Error while requesting job from deepbit.net: timed out
    2012-02-22 13:51:30.758000: Error while requesting job from deepbit.net: timed out
    2012-02-22 13:51:30.774000: Error while requesting job from deepbit.net: timed out
    2012-02-22 13:51:30.774000: Error while requesting job from deepbit.net: timed out
    2012-02-22 13:51:30.774000: Error while requesting job from deepbit.net: timed out
    2012-02-22 13:51:30.774000: Error while requesting job from deepbit.net: timed out
    2012-02-22 13:51:30.774000: Error while requesting job from deepbit.net: timed out
    2012-02-22 13:51:30.774000: Error while requesting job from deepbit.net: timed out
    2012-02-22 13:51:30.774000: Error while requesting job from deepbit.net: timed out
    2012-02-22 13:51:30.774000: Error while requesting job from deepbit.net: timed out
    2012-02-22 13:51:30.774000: Error while requesting job from deepbit.net: timed out
    2012-02-22 13:51:30.774000: Error while requesting job from deepbit.net: timed out
    2012-02-22 13:51:30.774000: Error while requesting job from deepbit.net: timed out
    2012-02-22 13:51:30.774000: Error while requesting job from deepbit.net: timed out
    2012-02-22 13:51:30.774000: Error while requesting job from deepbit.net: timed out
    2012-02-22 13:51:30.789000: Error while requesting job from deepbit.net: timed out
    2012-02-22 13:51:30.789000: Error while requesting job from deepbit.net: timed out
    2012-02-22 13:51:30.789000: Error while requesting job from deepbit.net: timed out
    2012-02-22 13:51:30.789000: Icarus board on COM34 found share: deepbit.net:9e7bd10eaa86d39b203808fbcc5446b86a6e7fe30d53260585183ad0fdde9093:6848faf34f4482501a0c309c:7dd99f09
    2012-02-22 13:51:30.789000: deepbit.net rejected share e38cbeb2 (difficulty 2.42597): Unknown reason
    2012-02-22 13:51:30.883000: Icarus board on COM27 found share: deepbit.net:3470ad15d5008cac148d5dcf0349904de688e173fea21e4bd4b8e3e09415b0bb:55eef6fb4f4482501a0c309c:bee4530b
    2012-02-22 13:51:31.164000: deepbit.net rejected share 4c3e3ab1 (difficulty 1.91738): Unknown reason
    2012-02-22 13:51:31.476000: Icarus board on COM47 found share: deepbit.net:162cc83c992f5123d6836207b1dab4645c424036415a3f536d0af57b117cfda7:e861ea1b4f4482501a0c309c:fa875592
    2012-02-22 13:51:31.538000: Icarus board on COM29 found share: deepbit.net:33bb9b5c97d9313024beef7d563a58658deeccd079985da2970497d537d403b1:88ff26314f4482501a0c309c:b7123393
    2012-02-22 13:51:31.944000: Icarus board on COM45 found share: deepbit.net:dadebdeeb7d061a1da37c5a76325f6c28a153bf713ceab9989a8054becd21ba9:918398744f4482501a0c309c:043c3297
    2012-02-22 13:51:32.162000: Icarus board on COM20 found share: deepbit.net:09c591a9e704af31d39a92ee2f1aa4218254025a31030860e78ea0bb23233769:dc98aadf4f4482501a0c309c:b50d889b
    2012-02-22 13:51:32.521000: deepbit.net accepted share 7dd99f09 (difficulty 1.24396)
    2012-02-22 13:51:32.537000: deepbit.net accepted share bee4530b (difficulty 1.49458)
    2012-02-22 13:51:32.552000: Error while requesting job from deepbit.net: timed out
    2012-02-22 13:51:32.802000: deepbit.net accepted share fa875592 (difficulty 1.04608)
    2012-02-22 13:51:32.802000: deepbit.net accepted share b7123393 (difficulty 2.73578)
    2012-02-22 13:51:33.176000: deepbit.net rejected share f24159b5 (difficulty 1.10182): Unknown reason
    2012-02-22 13:51:33.207000: deepbit.net accepted share 043c3297 (difficulty 10.17144)
    2012-02-22 13:51:33.441000: deepbit.net accepted share b50d889b (difficulty 1.14360)
    2012-02-22 13:51:33.441000: Mining deepbit.net:da061791b63bdb7f200a5bb155105edb4869b6c59a4e87dae9d6bcfbfad8e476:36fb059a4f4482501a0c309c on Icarus board on COM34
    2012-02-22 13:51:33.441000: Mining deepbit.net:3a7c3cba1c1eb7c710bec525acd537a04dde84e397c3854994d6e217db980a0b:f9ab9a784f4482501a0c309c on Icarus board on COM27
    2012-02-22 13:51:33.457000: Mining deepbit.net:b28cbac4fcfd1d8a99a0ae1a9ead8a40c046d420079b30329c3b43c55865dde0:930743574f4482501a0c309c on Icarus board on COM45
    2012-02-22 13:51:33.473000: Mining deepbit.net:7473ed5ec12e12631c84df9b915790fe36c5045afd74fa38e5520e87a422537a:53c800e94f4482501a0c309c on Icarus board on COM29
    2012-02-22 13:51:33.473000: Mining deepbit.net:065a12bfae5f71a1fadf12c7ff067e774ea5c33c491b893ce438f5b251cd6819:ae0859754f4482501a0c309c on Icarus board on COM20
    2012-02-22 13:51:33.488000: Mining deepbit.net:77765f73a1552c972580ac149033b3f282429459a812dadb4bdcbf0b895b2ee2:651ae66b4f4482501a0c309c on Icarus board on COM47
    2012-02-22 13:51:33.519000: Icarus board on COM46 found share: deepbit.net:a28cfa2345420a5b08ae7abc620e3fa3fdd5b6258efec6614d63b8b1f39b5083:2412b9644f4482501a0c309c:5c3f9d29
    2012-02-22 13:51:33.535000: Mining deepbit.net:e9cf28c64d892c44cf80b00f7ce282cc69a28168b84482add94358805d36e7d7:cd7d15204f4482501a0c309c on Icarus board on COM46
    2012-02-22 13:51:34.315000: Icarus board on COM36 found share: deepbit.net:90981c3c8b6d5b169d3224ad99d802f6f32caa793e7da6a944656f89190f9ab4:15d92ac84f4482501a0c309c:15c24c34
    2012-02-22 13:51:34.331000: Mining deepbit.net:55bdb61b7bcc5ef30e20496d5fc134bbd8be81f434191848163ae6007dbe09af:f464b0364f4482501a0c309c on Icarus board on COM36
    2012-02-22 13:51:34.923000: deepbit.net accepted share 5c3f9d29 (difficulty 3.65263)
    2012-02-22 13:51:35.391000: Error while requesting job from ABCPool.co: timed out
    2012-02-22 13:51:35.391000: Error while requesting job from ABCPool.co: timed out
    2012-02-22 13:51:35.391000: Error while requesting job from ABCPool.co: timed out
    2012-02-22 13:51:35.391000: Error while requesting job from ABCPool.co: timed out
    2012-02-22 13:51:35.391000: Error while requesting job from ABCPool.co: timed out
    2012-02-22 13:51:35.407000: Error while requesting job from ABCPool.co: timed out
    2012-02-22 13:51:35.407000: Error while requesting job from ABCPool.co: timed out
    2012-02-22 13:51:35.407000: Error while requesting job from ABCPool.co: timed out
    2012-02-22 13:51:35.407000: Error while requesting job from ABCPool.co: timed out
    2012-02-22 13:51:35.407000: Error while requesting job from ABCPool.co: timed out
    2012-02-22 13:51:35.407000: Error while requesting job from ABCPool.co: timed out
    2012-02-22 13:51:35.407000: Error while requesting job from ABCPool.co: timed out
    2012-02-22 13:51:35.407000: Error while requesting job from ABCPool.co: timed out
    2012-02-22 13:51:35.407000: Error while requesting job from ABCPool.co: timed out
    2012-02-22 13:51:35.407000: Error while requesting job from ABCPool.co: timed out
    2012-02-22 13:51:35.423000: Error while requesting job from ABCPool.co: timed out
    2012-02-22 13:51:35.423000: Error while requesting job from ABCPool.co: timed out
    2012-02-22 13:51:35.423000: Error while requesting job from ABCPool.co: timed out
    2012-02-22 13:51:35.423000: Error while requesting job from ABCPool.co: timed out
    2012-02-22 13:51:35.423000: Error while requesting job from ABCPool.co: timed out
    2012-02-22 13:51:35.438000: Error while requesting job from ABCPool.co: timed out
    2012-02-22 13:51:35.438000: Error while requesting job from ABCPool.co: timed out
    2012-02-22 13:51:35.438000: Error while requesting job from ABCPool.co: timed out
    2012-02-22 13:51:35.438000: Error while requesting job from ABCPool.co: timed out
    2012-02-22 13:51:35.454000: Error while requesting job from ABCPool.co: timed out
    2012-02-22 13:51:35.579000: deepbit.net accepted share 15c24c34 (difficulty 1.99481)
    2012-02-22 13:51:35.953000: Error while requesting job from ABCPool.co: timed out
    2012-02-22 13:51:35.953000: Error while requesting job from ABCPool.co: timed out
    2012-02-22 13:51:36.093000: Error while requesting job from ABCPool.co: timed out
    2012-02-22 13:51:36.577000: Icarus board on COM34 found share: deepbit.net:da061791b63bdb7f200a5bb155105edb4869b6c59a4e87dae9d6bcfbfad8e476:36fb059a4f4482501a0c309c:4c155d23
    2012-02-22 13:51:36.639000: Mining deepbit.net:48fd394b292c4dd57c6cf0db5f011818786d6c5d9e6ee2d56d987551d64d351f:e37148764f4482501a0c309c on Icarus board on COM34
    2012-02-22 13:51:36.780000: Icarus board on COM36 found share: deepbit.net:55bdb61b7bcc5ef30e20496d5fc134bbd8be81f434191848163ae6007dbe09af:f464b0364f4482501a0c309c:4ae4c51b
    2012-02-22 13:51:36.811000: Icarus board on COM35 found share: deepbit.net:94f5b28592076779085e15fdda8e4beddbef0c58adf263f0a9ecd6d0a77c747b:4aebd7114f4482501a0c309c:c7a420ce
    2012-02-22 13:51:36.842000: Mining deepbit.net:68c943d1d83218fbe52f05daba21d50aded760f6b1c736c5eebac7e7eacc74cf:b887f22f4f4482501a0c309c on Icarus board on COM36
    2012-02-22 13:51:36.842000: Mining deepbit.net:99401409c63fb9864c6ea2c9b274217079cd9d0534b98833130e6e0902126fba:ec80a4084f4482501a0c309c on Icarus board on COM35
    2012-02-22 13:51:37.061000: Icarus board on COM47 found share: deepbit.net:77765f73a1552c972580ac149033b3f282429459a812dadb4bdcbf0b895b2ee2:651ae66b4f4482501a0c309c:388085a8
    2012-02-22 13:51:37.123000: Mining deepbit.net:597ece087adc90e14d1a5265f7e67cbdce7a4887ce4f74a3298a9d3163ea79bf:44fc1ee04f4482501a0c309c on Icarus board on COM47
    2012-02-22 13:51:37.560000: Mining deepbit.net:044b1a6abcc5cc9f38a87458df61e3db6738275fb34127d8cf7077bd113d0e45:1f7b50d74f4482501a0c309c on Icarus board on COM43
    2012-02-22 13:51:37.607000: Mining deepbit.net:c56b23507ffb32f8aadf8721abbe715966a351ba324d2c7b8c09ec0985b0c6c1:ae4331e34f4482501a0c309c on Icarus board on COM40
    2012-02-22 13:51:37.607000: Mining deepbit.net:97f918c5c3fc63007f430d5332c794ef7d2e07a2cb00f4ac06c1c3b1f261b35a:a92177fb4f4482501a0c309c on Icarus board on COM38
    2012-02-22 13:51:37.607000: Mining deepbit.net:ecc8112670e6b42746b66024519612731ba39a56fb4425fb00eba1023ddbfb61:1e00d92f4f4482501a0c309c on Icarus board on COM30
    2012-02-22 13:51:37.622000: Mining deepbit.net:0575ff59f4327e01ca05b81bac514dd1f6fef3f330fb8578021b2a9d5af208ba:b2ff7c4a4f4482501a0c309c on Icarus board on COM41
    2012-02-22 13:51:37.685000: Mining deepbit.net:9f80d4d62642f749a3b5c2d13b6819bce8df8da67cdf871ba1c59de4bde0c9d3:54869fb84f4482501a0c309c on Icarus board on COM49
    2012-02-22 13:51:37.747000: Mining deepbit.net:48c86e8e3f4a59d41428d961d1e7f4addce621262fa9da53d7aa9fb97b01e938:76dba8024f4482501a0c309c on Icarus board on COM44
    2012-02-22 13:51:37.747000: Mining deepbit.net:52ea2b321134416efbb8e1f5b2215636fc295a6f2f5d2d1b291707d6ea44773a:03ca9b374f4482501a0c309c on Icarus board on COM32
    2012-02-22 13:51:37.778000: Mining deepbit.net:121d87a4937e3611080105770ef47cb857e27f67ab240dd9c62dcb935f8a23c1:96c8e2684f4482501a0c309c on Icarus board on COM39
    2012-02-22 13:51:37.778000: Mining deepbit.net:f23c6c2ee9c80046b0f830067a07683ed8b56759d325a4f7cb21a835c69d7c5a:bbb0bf1d4f4482501a0c309c on Icarus board on COM33
    2012-02-22 13:51:37.841000: Icarus board on COM29 found share: deepbit.net:7473ed5ec12e12631c84df9b915790fe36c5045afd74fa38e5520e87a422537a:53c800e94f4482501a0c309c:498f6831
    2012-02-22 13:51:37.841000: deepbit.net accepted share 4c155d23 (difficulty 1.26939)


    Code:
    2012-02-22 13:19:11.144000: ABCPool.co long poll failed: ''
    2012-02-22 13:19:11.176000: Long polling: deepbit.net indicates that a new block was found
    2012-02-22 13:19:11.176000: Mining deepbit.net:c8cb51777b4b77d91ce1b4b16a16c81c23aa5a02f0500225c22a4c85906bb7c4:38aa60cc4f447abe1a0c309c on Icarus board on COM27
    2012-02-22 13:19:11.222000: ABCPool.co accepted share d5434f45 (difficulty 3.70632)
    2012-02-22 13:19:11.332000: Error while requesting job from ABCPool.co: timed out
    2012-02-22 13:19:11.566000: Icarus board on COM37 found share: deepbit.net:c437ad073e30371d329acdfee32aa35f101eb76e025dc50f63408e755973b6ec:8b3f16df4f447a8b1a0c309c:6b715ac1
    2012-02-22 13:19:11.628000: Icarus board on COM34 found share: deepbit.net:074ce41082dc932c0b85c248d62ce1b325141d889a1d6b700fa9e38e01b64d20:c8f538b74f447a8d1a0c309c:1e16d7a8
    2012-02-22 13:19:11.690000: Icarus board on COM36 found share: deepbit.net:2252c3beab8160f2764948beeb241859d0ac923196cef1d59672e86e63facded:187013734f447a8f1a0c309c:35250013
    2012-02-22 13:19:11.722000: Icarus board on COM20 found share: ABCPool.co:57310bcef8c6979bcef544ab9c095af0163590408601bca0aebc29707a6b43bf:ed2649324f447ace1a0c309c:1cd6a058
    2012-02-22 13:19:11.753000: deepbit.net rejected share 07176921 (difficulty 9.75199): Unknown reason
    2012-02-22 13:19:11.956000: deepbit.net rejected share 48fe0b86 (difficulty 1.41373): Unknown reason
    2012-02-22 13:19:12.096000: Icarus board on COM47 found share: deepbit.net:a162892bf967e513eb5aaec3a0d066c2253623a043bfffdcdc82c4ee41f8a21f:139f13544f447a8b1a0c309c:f2389239
    2012-02-22 13:19:12.096000: deepbit.net rejected share 65924e83 (difficulty 1.19153): Unknown reason
    2012-02-22 13:19:12.174000: deepbit.net rejected share f4d62ac5 (difficulty 1.13622): Unknown reason
    2012-02-22 13:19:12.174000: deepbit.net rejected share 6b2ab50a (difficulty 1.48492): Unknown reason
    2012-02-22 13:19:12.346000: Mining deepbit.net:e224b5780d6780674237b0125b5c42b6475e466351281a67831fbfdd3373c6f0:d92469124f447abf1a0c309c on Icarus board on COM38
    2012-02-22 13:19:12.392000: Mining deepbit.net:2f4b820a5c2c7364b6e101f4942df46c5fb8cdb4541dfe9d1fb69641f20e45a1:2edb97b34f447abf1a0c309c on Icarus board on COM43
    2012-02-22 13:19:12.392000: Mining deepbit.net:caa7195d4f005027ae2a895a2931d7d3ff3462d1e49b38517d9cb66015d763e3:fae9e32a4f447abf1a0c309c on Icarus board on COM31
    2012-02-22 13:19:12.408000: Mining deepbit.net:45b26b574fdd4d87d3717c426e48de8cb4f84c5c4cb951b8c1583fb857198782:81e914dc4f447abf1a0c309c on Icarus board on COM37
    2012-02-22 13:19:12.408000: Mining deepbit.net:a029c2576927075ee6c973bcf908f62da88e68ec1dac8a4578aae52a5769677e:f494a5124f447abf1a0c309c on Icarus board on COM41
    2012-02-22 13:19:12.424000: Mining deepbit.net:537f0811a54cb372e636289c943ef83fb1b9ca7024f75a35629eede012e6fbbb:f4073f134f447abf1a0c309c on Icarus board on COM35
    2012-02-22 13:19:12.455000: Mining deepbit.net:8957e344bffffcfac512ed0f649f1a0ffd2db525842f117c1790e3b7674c4652:c7387d524f447abf1a0c309c on Icarus board on COM28
    2012-02-22 13:19:12.455000: Mining deepbit.net:b69fa199d4b0d6bf87e3fe4fb4e824feb4d9246bfb120ca35c5e11731fdafc32:b7f552034f447abf1a0c309c on Icarus board on COM29
    2012-02-22 13:19:12.470000: Mining deepbit.net:6b0b782323bc74e41b31ef3dff4dacfd7d30b42c1190b2107ee449f9f45f0db2:19dd866d4f447abf1a0c309c on Icarus board on COM44
    2012-02-22 13:19:12.470000: Mining deepbit.net:d0834f0220648a4939de9c9e36cd297ac4ae0d4a5afaa99f7ea5b53c919a374a:ae820c074f447abf1a0c309c on Icarus board on COM48
    2012-02-22 13:19:12.470000: Mining deepbit.net:1cdd1b4a51fdec459be60e4795f60d61728f912cda87bacf0a2ddbf1cfb9a539:aff15e394f447abf1a0c309c on Icarus board on COM36
    2012-02-22 13:19:12.502000: Mining deepbit.net:3d643771b5d62ebea3fffa919db529b0fd1d1cc726a141b26619b3fb98a5037a:a99c5c9e4f447abf1a0c309c on Icarus board on COM39
    2012-02-22 13:19:12.517000: Mining deepbit.net:4693aacf6f272ca5855e50058f09618098f0995c4af0943e18b345fd2b831ec6:c77c55fc4f447abf1a0c309c on Icarus board on COM32
    2012-02-22 13:19:12.517000: Mining deepbit.net:3711446526c1b01762ca0c6b265c56c3702e9e2902a5e7d3068676d6c9155a65:cee68e994f447abf1a0c309c on Icarus board on COM20
    2012-02-22 13:19:12.533000: Mining deepbit.net:529b3329a2d10107ebc59165ce80aa166e2f5450d2af62fdf2e2a98090d06fa1:861891494f447abf1a0c309c on Icarus board on COM47
    2012-02-22 13:19:12.533000: Mining deepbit.net:4eaf8a62d8eb1df1573787c2fcefd7f457695dc232b42ae4586c8727420b787f:3c4ad2174f447abf1a0c309c on Icarus board on COM22
    2012-02-22 13:19:12.548000: Mining deepbit.net:65f5c4b8334c9528d9cad8195964f4512e33c07293758912171efeb0300a4e11:db3ed0de4f447abf1a0c309c on Icarus board on COM42
    2012-02-22 13:19:12.548000: Mining deepbit.net:de579d126c66908baa52ef2d47ba2eeb84c7cac34580c337c1f0fad815905ab4:884a52c04f447abf1a0c309c on Icarus board on COM49
    2012-02-22 13:19:12.580000: Mining deepbit.net:fa5f1d05f30d7e5a397777b2ef2149f4b283ec699bde27af1e62a1d9f8ce7b8f:b60d37d14f447abf1a0c309c on Icarus board on COM30
    2012-02-22 13:19:12.580000: Mining deepbit.net:c23f3c41437f2d5fc8c7ed8500397d65ed1069775ac900bcb7abc49fa0ed3205:aad3be4c4f447abf1a0c309c on Icarus board on COM45
    2012-02-22 13:19:12.595000: Mining deepbit.net:6b2729b5cd75b3a6cff76e6a0b3546d64fb73bde19d928ab2640ff7017736eca:39a0499d4f447abf1a0c309c on Icarus board on COM40
    2012-02-22 13:19:12.611000: Mining deepbit.net:f4e362519d368505cd1ccdb0bdf809ff9e633f7f3bf47721e4813b9110002aa7:4425ce774f447abf1a0c309c on Icarus board on COM46
    2012-02-22 13:19:12.626000: Mining deepbit.net:97c9bd4f7b031ef61188da7482fed29c018a39162a42cd9ef1b1ae6d2b096003:5d56b0cf4f447abf1a0c309c on Icarus board on COM33
    2012-02-22 13:19:12.626000: Mining deepbit.net:022bd7cda4bb4e3a2d04aefd3531750b241fec49e46ec32d480384d3a175d049:7f6e6d314f447abf1a0c309c on Icarus board on COM34
    2012-02-22 13:19:12.642000: Icarus board on COM35 found share: deepbit.net:537f0811a54cb372e636289c943ef83fb1b9ca7024f75a35629eede012e6fbbb:f4073f134f447abf1a0c309c:7fae4f02
    2012-02-22 13:19:12.704000: Mining deepbit.net:f6fbc8ceca8e9843f02e23c9079203b15f23fec2342af7e9e9676c931a0d144a:f512ea864f447abf1a0c309c on Icarus board on COM35
    2012-02-22 13:19:12.736000: ABCPool.co rejected share 1cd6a058 (difficulty 3.21496): Unknown reason
    2012-02-22 13:19:12.954000: Icarus board on COM27 found share: deepbit.net:c8cb51777b4b77d91ce1b4b16a16c81c23aa5a02f0500225c22a4c85906bb7c4:38aa60cc4f447abe1a0c309c:f7d30114
    2012-02-22 13:19:12.985000: deepbit.net rejected share 6b715ac1 (difficulty 1.57803): Unknown reason
    2012-02-22 13:19:13.001000: Mining deepbit.net:04c52aeaa64a87fa80b2582f7d6abcf2a4210e293f42e81c33f286355d1c84be:6ab510e74f447abf1a0c309c on Icarus board on COM27
    2012-02-22 13:19:13.001000: deepbit.net rejected share 1e16d7a8 (difficulty 5.51067): Unknown reason
    2012-02-22 13:19:13.016000: deepbit.net rejected share 35250013 (difficulty 4.88769): Unknown reason
    2012-02-22 13:19:13.562000: deepbit.net rejected share f2389239 (difficulty 1.90245): Unknown reason
    2012-02-22 13:19:13.765000: Error while requesting job from deepbit.net: timed out
    2012-02-22 13:19:13.765000: Error while requesting job from deepbit.net: timed out
    2012-02-22 13:19:13.765000: Error while requesting job from deepbit.net: timed out
    2012-02-22 13:19:13.765000: Error while requesting job from deepbit.net: timed out
    2012-02-22 13:19:13.765000: Error while requesting job from deepbit.net: timed out
    2012-02-22 13:19:13.765000: Error while requesting job from deepbit.net: timed out
    2012-02-22 13:19:13.765000: Error while requesting job from deepbit.net: timed out
    2012-02-22 13:19:13.765000: Error while requesting job from deepbit.net: timed out
    2012-02-22 13:19:13.765000: Error while requesting job from deepbit.net: timed out
    2012-02-22 13:19:13.765000: Error while requesting job from deepbit.net: timed out
    2012-02-22 13:19:13.781000: Error while requesting job from deepbit.net: timed out
    2012-02-22 13:19:13.781000: Error while requesting job from deepbit.net: timed out
    2012-02-22 13:19:13.781000: Error while requesting job from deepbit.net: timed out
    2012-02-22 13:19:13.781000: Error while requesting job from deepbit.net: timed out
    2012-02-22 13:19:13.781000: Error while requesting job from deepbit.net: timed out
    2012-02-22 13:19:13.781000: Error while requesting job from deepbit.net: timed out
    2012-02-22 13:19:13.781000: Error while requesting job from deepbit.net: timed out
    2012-02-22 13:19:13.781000: Error while requesting job from deepbit.net: timed out
    2012-02-22 13:19:13.781000: Error while requesting job from deepbit.net: timed out
    2012-02-22 13:19:13.781000: Error while requesting job from deepbit.net: timed out
    2012-02-22 13:19:13.781000: Error while requesting job from deepbit.net: timed out
    2012-02-22 13:19:13.796000: Error while requesting job from deepbit.net: timed out
    2012-02-22 13:19:13.796000: Error while requesting job from deepbit.net: timed out
    2012-02-22 13:19:13.796000: Error while requesting job from deepbit.net: timed out
    2012-02-22 13:19:13.796000: Error while requesting job from deepbit.net: timed out
    2012-02-22 13:19:13.796000: Error while requesting job from deepbit.net: timed out
    2012-02-22 13:19:13.796000: Error while requesting job from deepbit.net: timed out
    2012-02-22 13:19:13.796000: Error while requesting job from deepbit.net: timed out
    2012-02-22 13:19:13.796000: Error while requesting job from deepbit.net: timed out
    2012-02-22 13:19:13.796000: Error while requesting job from deepbit.net: timed out
    2012-02-22 13:19:13.796000: Error while requesting job from deepbit.net: timed out
    2012-02-22 13:19:13.812000: Error while requesting job from deepbit.net: timed out
    2012-02-22 13:19:13.812000: Error while requesting job from deepbit.net: timed out
    2012-02-22 13:19:13.812000: Error while requesting job from deepbit.net: timed out
    2012-02-22 13:19:13.812000: Error while requesting job from deepbit.net: timed out
    2012-02-22 13:19:13.812000: Error while requesting job from deepbit.net: timed out
    2012-02-22 13:19:13.812000: Error while requesting job from deepbit.net: timed out
    2012-02-22 13:19:13.812000: Error while requesting job from deepbit.net: timed out
    2012-02-22 13:19:13.812000: Error while requesting job from deepbit.net: timed out
    2012-02-22 13:19:13.812000: Error while requesting job from deepbit.net: timed out
    2012-02-22 13:19:13.812000: Error while requesting job from deepbit.net: timed out
    2012-02-22 13:19:13.812000: Error while requesting job from deepbit.net: timed out
    2012-02-22 13:19:13.828000: Error while requesting job from deepbit.net: timed out
    2012-02-22 13:19:13.828000: Error while requesting job from deepbit.net: timed out
    2012-02-22 13:19:13.828000: Error while requesting job from deepbit.net: timed out
    2012-02-22 13:19:13.828000: Error while requesting job from deepbit.net: timed out
    2012-02-22 13:19:13.828000: Error while requesting job from deepbit.net: timed out
    2012-02-22 13:19:13.828000: Error while requesting job from deepbit.net: timed out
    2012-02-22 13:19:13.828000: Error while requesting job from deepbit.net: timed out
    2012-02-22 13:19:13.828000: Error while requesting job from deepbit.net: timed out
    2012-02-22 13:19:13.843000: Error while requesting job from deepbit.net: timed out
    2012-02-22 13:19:13.843000: Error while requesting job from deepbit.net: timed out
    2012-02-22 13:19:13.843000: Error while requesting job from deepbit.net: timed out
    2012-02-22 13:19:13.843000: Error while requesting job from deepbit.net: timed out
    2012-02-22 13:19:13.843000: Error while requesting job from deepbit.net: timed out
    2012-02-22 13:19:13.843000: Error while requesting job from deepbit.net: timed out
    2012-02-22 13:19:13.843000: Error while requesting job from deepbit.net: timed out
    2012-02-22 13:19:13.843000: Error while requesting job from deepbit.net: timed out
    2012-02-22 13:19:13.843000: Error while requesting job from deepbit.net: timed out
    2012-02-22 13:19:13.843000: Error while requesting job from deepbit.net: timed out
    2012-02-22 13:19:13.843000: Error while requesting job from deepbit.net: timed out
    2012-02-22 13:19:13.859000: Error while requesting job from deepbit.net: timed out
    2012-02-22 13:19:13.859000: Error while requesting job from deepbit.net: timed out
    2012-02-22 13:19:13.859000: Error while requesting job from deepbit.net: timed out
    2012-02-22 13:19:13.859000: Error while requesting job from deepbit.net: timed out
    2012-02-22 13:19:13.859000: Error while requesting job from deepbit.net: timed out
    2012-02-22 13:19:13.859000: Error while requesting job from deepbit.net: timed out
    2012-02-22 13:19:13.859000: Error while requesting job from deepbit.net: timed out
    2012-02-22 13:19:13.859000: Error while requesting job from deepbit.net: timed out
    2012-02-22 13:19:13.859000: Error while requesting job from deepbit.net: timed out
    2012-02-22 13:19:13.859000: Error while requesting job from deepbit.net: timed out
    2012-02-22 13:19:13.859000: Error while requesting job from deepbit.net: timed out
    2012-02-22 13:19:13.874000: Error while requesting job from deepbit.net: timed out
    2012-02-22 13:19:13.874000: Error while requesting job from deepbit.net: timed out
    2012-02-22 13:19:13.874000: Error while requesting job from deepbit.net: timed out
    2012-02-22 13:19:13.937000: deepbit.net accepted share 7fae4f02 (difficulty 1.29799)
    2012-02-22 13:19:13.968000: Error while requesting job from deepbit.net: timed out
    2012-02-22 13:19:14.077000: Error while requesting job from deepbit.net: timed out
    2012-02-22 13:19:14.108000: Error while requesting job from deepbit.net: timed out
    2012-02-22 13:19:14.218000: deepbit.net accepted share f7d30114 (difficulty 15.55292)
    2012-02-22 13:19:14.452000: Icarus board on COM34 found share: deepbit.net:022bd7cda4bb4e3a2d04aefd3531750b241fec49e46ec32d480384d3a175d049:7f6e6d314f447abf1a0c309c:60d87514
    2012-02-22 13:19:15.778000: deepbit.net accepted share 60d87514 (difficulty 4.00226)


    Code:
    2012-02-22 08:00:36.322000: Error while uploading share a1541d8f (difficulty 1.76645) to deepbit.net (pit.deepbit.net:8332): timed out
    2012-02-22 08:00:36.525000: Icarus board on COM37 found share: deepbit.net:427db771d9269a1337fed110c0011ad216811abd1814918344bb43961ac5cc79:80a602b34f442fdd1a0c309c:5fd9a022
    2012-02-22 08:00:36.587000: Icarus board on COM30 found share: deepbit.net:5c6422950094d504b9e58486ac16720978b0e171ffd3330bbb370161961909aa:847a4c424f442fd91a0c309c:4e8014e9
    2012-02-22 08:00:36.977000: Error while uploading share 249f7714 (difficulty 1.59669) to deepbit.net (pit.deepbit.net:8332): timed out
    2012-02-22 08:00:37.071000: Icarus board on COM33 found share: deepbit.net:d8fb85c874136a996e9f6bfc287f60bb5b07b7976282f9057fab5ca21dd44c62:e5456dca4f442fda1a0c309c:b84536d0
    2012-02-22 08:00:37.149000: Icarus board on COM22 found share: deepbit.net:e8416465b97320ea45baa33cd0cdb2cb1e5e421b1f23a1e2b9eb8aa3eed172c8:d9d7c5524f442fda1a0c309c:5d91af59
    2012-02-22 08:00:37.289000: Error while uploading share dd6037da (difficulty 1.44503) to deepbit.net (pit.deepbit.net:8332): timed out
    2012-02-22 08:00:37.507000: Icarus board on COM27 found share: deepbit.net:205be5410211474704f569e7b1bd671ac1c18ef707f912a274981387722c8d66:e49ad77d4f442fdc1a0c309c:8708f62f
    2012-02-22 08:00:37.757000: Icarus board on COM48 found share: deepbit.net:427db771d9269a1337fed110c0011ad216811abd1814918344bb43961ac5cc79:80a602b34f442fdb1a0c309c:5061bfb2
    2012-02-22 08:00:42.265000: Icarus board on COM42 found share: deepbit.net:71beb9ec0a51c5eeed351993b8859279e2e3ba70dd988ad79da13c18549d0e75:cd5da6d94f442fdd1a0c309c:d9fac565
    2012-02-22 08:00:42.858000: Error while requesting job from ABCPool.co: [Errno 11004] getaddrinfo failed
    2012-02-22 08:00:45.151000: Error while requesting job from ABCPool.co: [Errno 11004] getaddrinfo failed
    2012-02-22 08:00:47.445000: Error while uploading share 9726a1c9 (difficulty 1.03911) to deepbit.net (pit.deepbit.net:8332): [Errno 11004] getaddrinfo failed
    2012-02-22 08:00:49.738000: Error while requesting job from ABCPool.co: [Errno 11004] getaddrinfo failed
    2012-02-22 08:00:52.031000: Error while requesting job from ABCPool.co: [Errno 11004] getaddrinfo failed
    2012-02-22 08:00:54.028000: Mining deepbit.net:56ee90df5eaea0dd13e09dbb5a99d2d484788aab5addc225664d7a7664d910e5:5abb4b344f442fdd1a0c309c on Icarus board on COM35
    2012-02-22 08:00:54.028000: Mining deepbit.net:c2f0cc1e162ef0b971c264e306a3e7a62b58519b9abfb14cc1d8d04b97631617:9f472d4e4f442fdd1a0c309c on Icarus board on COM20
    2012-02-22 08:00:54.043000: Mining deepbit.net:f3f4c9de35cb9c5a1c32d77cd63b87b5a4a2f3d6fbea82fa84e4357f895778ae:729f86344f442fde1a0c309c on Icarus board on COM34
    2012-02-22 08:00:54.043000: Mining deepbit.net:c6fbdcb8cc91f00146da444e1a38828041ca96e11b9efb86d227a0065c6cb9d0:fd9cbd8c4f442fde1a0c309c on Icarus board on COM31
    2012-02-22 08:00:54.043000: Mining deepbit.net:b9e3c7a0bef57698d6e39ff4067e0aab1a3981715240be2b91cdf0cfd15e21f4:ba7ab7374f442fde1a0c309c on Icarus board on COM49
    2012-02-22 08:00:54.043000: Mining deepbit.net:675ee4ba5ba706ef6f3aa6ef55d607dc10c688412bb0ccf52e14d350a5483838:f0f2c71a4f442fde1a0c309c on Icarus board on COM28
    2012-02-22 08:00:54.043000: Mining deepbit.net:f6072b87def364f459ddf0a7ff7af678cfff39c7d4ec0ab75adf7a8245c2dd10:d290836c4f442fde1a0c309c on Icarus board on COM40
    2012-02-22 08:00:54.043000: Mining deepbit.net:89f7dce36ed1b854b26c2d95b4b215a2e5e05756a8a998eb9d8b2c5f3fff0dd8:1d32f3684f442fdf1a0c309c on Icarus board on COM30
    2012-02-22 08:00:54.043000: Mining deepbit.net:0020e119ec6af9b28f3d02352b540db66dd0129045cb1745cb3cd4494b04e907:cfe40de44f442fdf1a0c309c on Icarus board on COM38
    2012-02-22 08:00:54.043000: Mining deepbit.net:b26fcf40fd4031cd9fc50662999f1fab20b229a4f31cbafeef32f5aae6140bd6:e0f3b1544f442fdf1a0c309c on Icarus board on COM41
    2012-02-22 08:00:54.043000: Mining deepbit.net:bc24042ab919e28e519cb1f40ef826cd323ca429a0827bfab40c1f72a457086a:b14164584f442fe01a0c309c on Icarus board on COM32
    2012-02-22 08:00:54.043000: Mining deepbit.net:380c71bc76dca22ab2f6cd3cc2b855a3f8ae3e869a76f5585b2f4a9d0ca8718e:257a9c9a4f442fe01a0c309c on Icarus board on COM22
    2012-02-22 08:00:54.043000: Mining deepbit.net:5106a568819598e4d43cfbde24fbb76a2525878f2dfa36ab9d3f6b014e44c63d:f75b5abd4f442fe01a0c309c on Icarus board on COM44
    2012-02-22 08:00:54.043000: Mining deepbit.net:9fe2c8c80446e83c606b1a4ca9704c27c0774267466e29e846203d92a7f703ab:f875d0df4f442fe01a0c309c on Icarus board on COM33
    2012-02-22 08:00:54.043000: Mining deepbit.net:6546df5117b77948c74ee095e631e00048bf92aff89290e473b4d24d4b3ff1d2:daa845b84f442fe11a0c309c on Icarus board on COM47
    2012-02-22 08:00:54.043000: Mining deepbit.net:1b364be2fdeb2596d2aefde12458308b74bf311f6ec68781b3364d25b837ed87:045653314f442fe11a0c309c on Icarus board on COM36
    2012-02-22 08:00:54.043000: Mining deepbit.net:38e2c52e490e4de204374fad6f2ea73f5e436a7a7065f4d03cb5b8f7bf354a38:c57d264c4f442fe11a0c309c on Icarus board on COM43
    2012-02-22 08:00:54.043000: Mining deepbit.net:b609cff731770a525d6d25eae55c7a23640ae375d0a4243c069d7af3ae2d4d2f:652b7e6c4f442fe11a0c309c on Icarus board on COM45
    2012-02-22 08:00:54.043000: Mining deepbit.net:34f10cbb9577e651552bcdfa68628cbc1c26dcb6737596078dc99749f6374062:be656a254f442fe21a0c309c on Icarus board on COM39
    2012-02-22 08:00:54.043000: Mining deepbit.net:5aa831f6184f5054f87992e60a55db760d99d16dcfa83f4786cdbd99c87f6e53:9166aba24f442fe21a0c309c on Icarus board on COM29
    2012-02-22 08:00:54.059000: Mining deepbit.net:82d8f9496e2ff6c134ba1fe706db9462b342b697a8ae155be1a95f154c1ac904:390b82ed4f442fe21a0c309c on Icarus board on COM27
    2012-02-22 08:00:54.059000: Mining deepbit.net:b0ed54ad585d9db1f9573a749aa371c19f07fd0a1da7642b5d3ea9bd027e9d87:b3cd681b4f442fe21a0c309c on Icarus board on COM48
    2012-02-22 08:00:54.059000: Mining deepbit.net:2a7a9f1283a1ea13ab47b2588340601033152356e63371494a6b3666a6d1c33d:328138684f442fe31a0c309c on Icarus board on COM46
    2012-02-22 08:00:54.059000: Mining deepbit.net:01893cae5fc40bc88551f2ed3b04c7574c0988bc40da1070487530872cf6ec1d:0550e3174f442fe31a0c309c on Icarus board on COM42
    2012-02-22 08:00:54.059000: Mining deepbit.net:f75a1b31a8d5cece569480d1f2f7f0bdd7a0ffe3eb5dc85a640a5abfea2ab8a4:44d5a2af4f442fe31a0c309c on Icarus board on COM37
    2012-02-22 08:00:54.075000: Icarus board on COM33 found share: deepbit.net:9fe2c8c80446e83c606b1a4ca9704c27c0774267466e29e846203d92a7f703ab:f875d0df4f442fe01a0c309c:0b378f62
    2012-02-22 08:00:54.075000: Icarus board on COM33 sent K-not-zero share 0b378f62
    2012-02-22 08:00:54.075000: Icarus board on COM37 found share: deepbit.net:f75a1b31a8d5cece569480d1f2f7f0bdd7a0ffe3eb5dc85a640a5abfea2ab8a4:44d5a2af4f442fe31a0c309c:5b993bd7
    2012-02-22 08:00:54.075000: Icarus board on COM27 found share: deepbit.net:82d8f9496e2ff6c134ba1fe706db9462b342b697a8ae155be1a95f154c1ac904:390b82ed4f442fe21a0c309c:cb4c80b0
    2012-02-22 08:00:54.075000: Mining deepbit.net:fe73d42b739c2d941c0b4e416d63a65a91bad86da122fb062965d8f0ec393e68:ee8ceb2b4f442fe31a0c309c on Icarus board on COM41
    2012-02-22 08:00:54.075000: Icarus board on COM37 sent K-not-zero share 5b993bd7
    2012-02-22 08:00:54.075000: Icarus board on COM27 sent K-not-zero share cb4c80b0
    2012-02-22 08:00:54.075000: Mining deepbit.net:e8462d13e80be52beb0141d95fd6d1d987aa856d6dcd6db797fa288207ba9f3a:4433f53c4f442fe31a0c309c on Icarus board on COM45
    2012-02-22 08:00:54.075000: Icarus board on COM22 found share: deepbit.net:380c71bc76dca22ab2f6cd3cc2b855a3f8ae3e869a76f5585b2f4a9d0ca8718e:257a9c9a4f442fe01a0c309c:a5fcc1eb
    2012-02-22 08:00:54.075000: Mining deepbit.net:b6269875c4de867ab0fea58f46c83042bcdd8fb937d572dd6c6096c8018f8659:303f6baa4f442fe41a0c309c on Icarus board on COM28
    2012-02-22 08:00:54.075000: Mining deepbit.net:97a80809d49ce8cb1d09706e93214c8299618f84becd8333e2fd58583f32c81e:9d7c7c614f442fe51a0c309c on Icarus board on COM31
    2012-02-22 08:00:54.075000: Mining deepbit.net:e560d114438ecb494084b7d7b08772b7d03d7218d0f781f407c3a45c8194688b:006e2cc04f442fe51a0c309c on Icarus board on COM46
    2012-02-22 08:00:54.075000: Icarus board on COM22 sent K-not-zero share a5fcc1eb
    2012-02-22 08:00:54.106000: Mining deepbit.net:078eca7c8261b5e910cae13b48c10c175cd2166fc5e63b6521eb2ee75dac1454:0dc2ab364f442fe51a0c309c on Icarus board on COM38
    2012-02-22 08:00:54.106000: Mining deepbit.net:368185253ff017834dec57ebe578a0f250e19f189c52cabdca786fae38bcea1b:fc3285544f442fe51a0c309c on Icarus board on COM27
    2012-02-22 08:00:54.106000: Mining deepbit.net:5001a54daa5b86e0dbcdbbdc8daed4c11b95b1080b88ed7c42f3b61bbc44bb1c:bf8d50604f442fe61a0c309c on Icarus board on COM48
    2012-02-22 08:00:54.106000: Mining deepbit.net:17dd413f0e0776b3352f6748d2beb41f98f40768d74190c5f58f4def8a9d0c91:4e0bbc554f442fe61a0c309c on Icarus board on COM30
    2012-02-22 08:00:54.106000: Mining deepbit.net:5aa831f6184f5054f87992e60a55db760d99d16dcfa83f4786cdbd99c87f6e53:9166aba24f442fe61a0c309c on Icarus board on COM33
    2012-02-22 08:00:54.106000: Mining deepbit.net:df3cceb1a0bc1bfefa2f125f2f2cfc3c138ef5b0b60570d71341b910750dd94e:a1e69b544f442fe61a0c309c on Icarus board on COM22
    2012-02-22 08:00:54.106000: Mining deepbit.net:f61189be3bda772bb57446fc3df78103ee18def93cdd7224f0fba868672cf92b:2b7953a84f442fe61a0c309c on Icarus board on COM37
    2012-02-22 08:00:54.106000: Mining deepbit.net:cd8b029025457c9a13c8f77e50e4b8f4292ff16138eed2e2ff9de795c0dee338:7b5642044f442fe71a0c309c on Icarus board on COM42
    2012-02-22 08:00:54.262000: Icarus board on COM28 found share: deepbit.net:b6269875c4de867ab0fea58f46c83042bcdd8fb937d572dd6c6096c8018f8659:303f6baa4f442fe41a0c309c:9a6ef281
    2012-02-22 08:00:54.293000: Mining deepbit.net:2112719107034b8b03602b7371c29c49796abcdfd0cd92322f600c148112565b:c5cbb75a4f442fe71a0c309c on Icarus board on COM28
    2012-02-22 08:00:54.324000: Error while requesting job from ABCPool.co: [Errno 11004] getaddrinfo failed



    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: TheSeven on February 22, 2012, 05:57:52 PM
    Hm, looks like deepbit is a bit swamped with requests after a long poll and can't respond to all of those 128 work requests it got from MPBM within 2 seconds. You basically ended up with like 3 seconds of wasted work after the long poll, which seems fine to me for such a huge army of workers.
    If the FPGA design supports nonce ranges one day, it might be worth looking into splitting up work across multiple boards while the work fetchers are struggling to keep up after an LP.
    Another possibility would be adding an option that keeps multiple LP connections to the pools, so that there's more work to be put in the queue when the LP responses come in. I'll probably add support for that in the v0.1.x series.


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: ngzhang on February 23, 2012, 03:43:00 AM
    Hm, looks like deepbit is a bit swamped with requests after a long poll and can't respond to all of those 128 work requests it got from MPBM within 2 seconds. You basically ended up with like 3 seconds of wasted work after the long poll, which seems fine to me for such a huge army of workers.
    If the FPGA design supports nonce ranges one day, it might be worth looking into splitting up work across multiple boards while the work fetchers are struggling to keep up after an LP.
    Another possibility would be adding an option that keeps multiple LP connections to the pools, so that there's more work to be put in the queue when the LP responses come in. I'll probably add support for that in the v0.1.x series.

    is it possible to support nonce ranges by miner software? i mean split the work by the miner, and transparent for the FPGAs.


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: TheSeven on February 23, 2012, 04:12:08 PM
    Hm, looks like deepbit is a bit swamped with requests after a long poll and can't respond to all of those 128 work requests it got from MPBM within 2 seconds. You basically ended up with like 3 seconds of wasted work after the long poll, which seems fine to me for such a huge army of workers.
    If the FPGA design supports nonce ranges one day, it might be worth looking into splitting up work across multiple boards while the work fetchers are struggling to keep up after an LP.
    Another possibility would be adding an option that keeps multiple LP connections to the pools, so that there's more work to be put in the queue when the LP responses come in. I'll probably add support for that in the v0.1.x series.

    is it possible to support nonce ranges by miner software? i mean split the work by the miner, and transparent for the FPGAs.
    It isn't, because currently none of the FPGA interfaces support setting a nonce range/start nonce.


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: cypherdoc on February 23, 2012, 06:37:24 PM
    do any of you guys understand how BitForce is apparently outperforming your design boards?  its a mystery to me.


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: shad on February 23, 2012, 07:53:19 PM
    i think the use some high performance fpga's


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: bitcowok on February 24, 2012, 12:35:57 AM
    Define "outperforming". Bitforce boards currently use roughly double the power per megahash that spartan-6 boards get.

    for example:
    1 x bitforce = 80W  @832MH
    2 x x6500   = 40W  @800MH


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: cypherdoc on February 24, 2012, 12:41:21 AM
    Define "outperforming". Bitforce boards currently use roughly double the power per megahash that spartan-6 boards get.

    for example:
    1 x bitforce = 80W  @832MH
    2 x x6500   = 40W  @800MH

    understood but you neglected to add at roughly the same price; the Mh/s is also slightly more than double.

    do we know for sure that the chips for the Bitforce are older generation?  and does that matter in the end?


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: ngzhang on February 24, 2012, 05:02:23 AM
    do any of you guys understand how BitForce is apparently outperforming your design boards?  its a mystery to me.

    think about this first:
    why do not massive sale this alien's stuff? all of us know it will be sell well.


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: ngzhang on February 24, 2012, 05:09:10 AM
    Hm, looks like deepbit is a bit swamped with requests after a long poll and can't respond to all of those 128 work requests it got from MPBM within 2 seconds. You basically ended up with like 3 seconds of wasted work after the long poll, which seems fine to me for such a huge army of workers.
    If the FPGA design supports nonce ranges one day, it might be worth looking into splitting up work across multiple boards while the work fetchers are struggling to keep up after an LP.
    Another possibility would be adding an option that keeps multiple LP connections to the pools, so that there's more work to be put in the queue when the LP responses come in. I'll probably add support for that in the v0.1.x series.

    is it possible to support nonce ranges by miner software? i mean split the work by the miner, and transparent for the FPGAs.
    It isn't, because currently none of the FPGA interfaces support setting a nonce range/start nonce.

    understood.
    so how many bit in the nonce range is enough? now you know is 32bit wide. (11s@400MH/s)


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: TheSeven on February 24, 2012, 06:45:10 PM
    Hm, looks like deepbit is a bit swamped with requests after a long poll and can't respond to all of those 128 work requests it got from MPBM within 2 seconds. You basically ended up with like 3 seconds of wasted work after the long poll, which seems fine to me for such a huge army of workers.
    If the FPGA design supports nonce ranges one day, it might be worth looking into splitting up work across multiple boards while the work fetchers are struggling to keep up after an LP.
    Another possibility would be adding an option that keeps multiple LP connections to the pools, so that there's more work to be put in the queue when the LP responses come in. I'll probably add support for that in the v0.1.x series.

    is it possible to support nonce ranges by miner software? i mean split the work by the miner, and transparent for the FPGAs.
    It isn't, because currently none of the FPGA interfaces support setting a nonce range/start nonce.

    understood.
    so how many bit in the nonce range is enough? now you know is 32bit wide. (11s@400MH/s)
    I think 4 bits (to divide a piece of work into 16 nonceranges) should be sufficient. Couldn't hurt to be able to specify exact start/end nonces though.


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: antirack on February 29, 2012, 02:45:18 AM
    Total Python noob here.

    I received 5 Icarus boards yesterday and I am trying to get MPBM to work (I have RG7Miner working fine with Icarus and 1 ZTEX board with the ZTEX Java Miner).

    I am on Windows 7 32bit. That's what I did so far.

    - Downloaded and installed Python 3.2 (python-3.2.2.msi).
    - Extracted TheSeven-Modular-Python-Bitcoin-Miner-4b06f62.zip to C:\mpbm
    - Edited config file and enabled Icarus and added my pool
    (I have only one entry in there now for my worker with COM3, would I just duplicate the entries for each worker?)
    - Installed curses-2.2.win32-py3.2.exe
    - Installed pyserial-2.5.win32.exe
    - I am not sure if I need JSON-RPC, so I downloaded joshmarshall-jsonrpclib-e3a3cde.zip and put it into the Python/Lib folder.

    Do I need to install a libusb or something?

    When I try to start the miner I get the following:

    Code:
    C:\mpbm>python miner.py
    Traceback (most recent call last):
      File "miner.py", line 331, in <module>
        exec("import " + configfile + " as config")
      File "<string>", line 1, in <module>
      File "C:\mpbm\config.py", line 13, in <module>
        import worker.theseven.icarus
      File "C:\mpbm\worker\theseven\icarus.py", line 35, in <module>
        import serial
      File "C:\python32\lib\site-packages\serial\__init__.py", line 19, in <module>
        from serialwin32 import *
    ImportError: No module named serialwin32

    Some coins are waiting for the one helping me to make this to work ;)


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: allinvain on February 29, 2012, 05:32:08 AM
    Did you install the PL303 driver? here: http://www.prolific.com.tw/eng/downloads.asp?id=31

    Also you made sure you install the python modules such as serial,jsonrpc,curses. All available in ngzhang's github package:
    https://github.com/ngzhang/Icarus

    git it now :p



    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: antirack on February 29, 2012, 07:31:59 AM
    Did you install the PL303 driver? here: http://www.prolific.com.tw/eng/downloads.asp?id=31

    Also you made sure you install the python modules such as serial,jsonrpc,curses. All available in ngzhang's github package:
    https://github.com/ngzhang/Icarus

    git it now :p



    Thanks, we have success!

    I had the PL303 driver, but I somehow missed that the modules where available on ngzhang's github.

    Just putting the serial directory in the Lib folder didn't work, installing pyserial-2.5 also didn't work. I had to get pyserial-2.6.tar.gz and run 'python setup.py install' on it to get it to work (before that I had all sorts of errors, including syntax errors). Might be because I am using Python 3.2.2.

    Post your bitcoin address and I'll send you some coins :)

    I'll post a screenshot after a few hours. Right now I don't know what to make of all those numbers. So far I have this:

    Code:
                                                                Modular Python Bitcoin Miner v0.0.4alpha
    ────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
    Total speed: 1885.5 MH/s - Buffer: 30/30 (49.94 seconds)

           Pool       │Long│          │  Job   │   Failed   │Accepted│Rejected│Accepted│Stale shares│Share upload│Average│Effi- │Current
           name       │poll│Difficulty│requests│job requests│  jobs  │  jobs  │ shares │ (rejected) │  retries   │MHash/s│ciency│  bias
    Slush (bitcoin.cz)│Yes │   0.99998│    1204│   31 (2.6%)│    1018│     125│     503│   23 (4.4%)│    0 (0.0%)│1878.44│ 99.0%│1246210

           Worker       │Accepted│Accepted│Stale shares│Invalid shares│Current│Average│Temperature│Effi- │     Current
            name        │  jobs  │ shares │ (rejected) │ (K not zero) │MHash/s│MHash/s│(degrees C)│ciency│       pool
    Icarus board on COM3│     203│      98│    6 (5.8%)│      1 (1.0%)│ 379.65│ 372.56│  Unknown  │ 97.2%│Slush (bitcoin.cz)
    Icarus board on COM4│     215│     114│    4 (3.4%)│      0 (0.0%)│ 372.43│ 376.24│  Unknown  │112.0%│Slush (bitcoin.cz)
    Icarus board on COM5│     203│     106│    2 (1.9%)│      0 (0.0%)│ 375.02│ 376.84│  Unknown  │104.0%│Slush (bitcoin.cz)
    Icarus board on COM6│     205│     102│    6 (5.6%)│      0 (0.0%)│ 379.05│ 376.48│  Unknown  │100.1%│Slush (bitcoin.cz)
    Icarus board on COM7│     192│      83│    5 (5.7%)│      0 (0.0%)│ 379.37│ 376.36│  Unknown  │ 81.5%│Slush (bitcoin.cz)
    ────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────



    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: allinvain on February 29, 2012, 08:31:18 AM
    Did you install the PL303 driver? here: http://www.prolific.com.tw/eng/downloads.asp?id=31

    Also you made sure you install the python modules such as serial,jsonrpc,curses. All available in ngzhang's github package:
    https://github.com/ngzhang/Icarus

    git it now :p



    Thanks, we have success!

    I had the PL303 driver, but I somehow missed that the modules where available on ngzhang's github.

    Just putting the serial directory in the Lib folder didn't work, installing pyserial-2.5 also didn't work. I had to get pyserial-2.6.tar.gz and run 'python setup.py install' on it to get it to work (before that I had all sorts of errors, including syntax errors). Might be because I am using Python 3.2.2.

    Post your bitcoin address and I'll send you some coins :)

    I'll post a screenshot after a few hours. Right now I don't know what to make of all those numbers. So far I have this:

    Code:
                                                                Modular Python Bitcoin Miner v0.0.4alpha
    ────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
    Total speed: 1885.5 MH/s - Buffer: 30/30 (49.94 seconds)

           Pool       │Long│          │  Job   │   Failed   │Accepted│Rejected│Accepted│Stale shares│Share upload│Average│Effi- │Current
           name       │poll│Difficulty│requests│job requests│  jobs  │  jobs  │ shares │ (rejected) │  retries   │MHash/s│ciency│  bias
    Slush (bitcoin.cz)│Yes │   0.99998│    1204│   31 (2.6%)│    1018│     125│     503│   23 (4.4%)│    0 (0.0%)│1878.44│ 99.0%│1246210

           Worker       │Accepted│Accepted│Stale shares│Invalid shares│Current│Average│Temperature│Effi- │     Current
            name        │  jobs  │ shares │ (rejected) │ (K not zero) │MHash/s│MHash/s│(degrees C)│ciency│       pool
    Icarus board on COM3│     203│      98│    6 (5.8%)│      1 (1.0%)│ 379.65│ 372.56│  Unknown  │ 97.2%│Slush (bitcoin.cz)
    Icarus board on COM4│     215│     114│    4 (3.4%)│      0 (0.0%)│ 372.43│ 376.24│  Unknown  │112.0%│Slush (bitcoin.cz)
    Icarus board on COM5│     203│     106│    2 (1.9%)│      0 (0.0%)│ 375.02│ 376.84│  Unknown  │104.0%│Slush (bitcoin.cz)
    Icarus board on COM6│     205│     102│    6 (5.6%)│      0 (0.0%)│ 379.05│ 376.48│  Unknown  │100.1%│Slush (bitcoin.cz)
    Icarus board on COM7│     192│      83│    5 (5.7%)│      0 (0.0%)│ 379.37│ 376.36│  Unknown  │ 81.5%│Slush (bitcoin.cz)
    ────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────



    Congrats. And thanks for the tip :) btc address is: 12c8Yd8P1YpTRdRDMwnvqLbTqEcymnvC67

    As far as python 3.2 for sure you had to do that because you were using 3.2. Ngzhang recommends 2.7 AFAIK - that's what I'm using at the moment.

    Those numbers are good so far, but you need a longer running time to gain some useful data. Keep an eye for a high percentage of invalid shares. A higher number of invalid shares typically indicates overheating. I don't think you should have a problem with the stock Icarus cooling solution unless you run the board in a cramped hot area, or a very hot geographical location.

    Another tip for you, try using a pool that has the lowest latency/ping time from your location.



    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: antirack on February 29, 2012, 10:31:38 AM
    Quote from: allinvain
    Congrats. And thanks for the tip :) btc address is: 12c8Yd8P1YpTRdRDMwnvqLbTqEcymnvC67

    Coins sent.

    Quote from: allinvain
    Another tip for you, try using a pool that has the lowest latency/ping time from your location.

    It's been running for about 2.5 hours and I have about 300 errors regarding my pool (slushes - bitcoin.cz) in my log.

    Ping is about 300ms from here. Most others are not much better to be honest (btcguild is).

    Here is an error only log file. Most are time outs, but if you scroll down you'll also see others.

    http://pastebin.com/5mrssXkj
     
    Edit: I changed getworktimeout to 4 seconds, this seems to have solved the time out errors for now. But do I waste a lot of time this way?


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: TheSeven on February 29, 2012, 03:57:29 PM
    Edit: I changed getworktimeout to 4 seconds, this seems to have solved the time out errors for now. But do I waste a lot of time this way?
    It shouldn't waste time directly, it only increases the risk of the work buffer not filling fast enough, especially after long polls, if a pool misbehaves. 4 seconds should still be fine though, I use 2 seconds here because that's what pools manage to meet in >99% of the cases for me.

    You should probably add a backup pool though, so that your boards won't run idle if slush has problems.
    Generally I'd recommend using 2 or 3 pools at the same priority, i.e. balancing your hashing power across them equally. If one of them is acting up, MPBM will automatically move some hashing power away from it, towards a better working pool.


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: allinvain on February 29, 2012, 04:14:04 PM
    Quote from: allinvain
    Congrats. And thanks for the tip :) btc address is: 12c8Yd8P1YpTRdRDMwnvqLbTqEcymnvC67

    Coins sent.

    Quote from: allinvain
    Another tip for you, try using a pool that has the lowest latency/ping time from your location.

    It's been running for about 2.5 hours and I have about 300 errors regarding my pool (slushes - bitcoin.cz) in my log.

    Ping is about 300ms from here. Most others are not much better to be honest (btcguild is).

    Here is an error only log file. Most are time outs, but if you scroll down you'll also see others.

    http://pastebin.com/5mrssXkj
     
    Edit: I changed getworktimeout to 4 seconds, this seems to have solved the time out errors for now. But do I waste a lot of time this way?


    Thanks antirack! :)

    Hmm, 300ms is pretty bad. How much better is btcguild? For me btcguild is the lowest latency pool. Slush is in the 120ms mark. There is no local pool or regional pool where you're located?


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: ngzhang on March 01, 2012, 10:33:31 AM
    i usually get 800-1200ms here.  ;D
    300ms? extremely fast  :P


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: allinvain on March 01, 2012, 02:25:27 PM
    i usually get 800-1200ms here.  ;D
    300ms? extremely fast  :P

    Whoa. I am extremely surprised. That is some pretty bad latency there ngzhang.


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: Wandering Albatross on March 01, 2012, 07:00:50 PM
    Quote from: ngzhang
    i usually get 800-1200ms here.  ;D

    You may want to try p2pool. I couldn't tell you if it will help you or not. If you check the p2pool thread someone might be able to tell you more. I am guessing you're in Asia or maybe you're on a sat link.


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: nelisky on March 03, 2012, 12:17:49 PM

    https://github.com/nelisky/Modular-Python-Bitcoin-Miner/tree/ztex

    This is a very crude first attempt, many things are still missing, the devices need to be preflashed and the bitstreams must match the firmware. Only one device is supported (it does filter by serial, but then uses only the first device found) and the freq change algorithm from the error rate is much, much simpler than ztex's, and I only implemented the low speed FPGA config so far.

    Next step would be multiple device suport but as I only have one currently I'm not going to blindly implement that. I might add to the code base to support more of ztex's original java source goodies ported to python, like the high speed config, but I'll be happy to pass that anyone else wanting to lend a hand.

    Have fun (I'm mining on p2pool with my single ztex using this code right now).


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: allinvain on March 03, 2012, 04:37:03 PM
    Awesome nelisky! Thanks for your contribution. Even though I do not have a ztex board I can definitely appreciate your working on support for it.


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: coretechs on March 04, 2012, 02:33:02 PM
    I just set up MPBM yesterday and have to say I was impressed.  I will definitely be using this software in the future.  Donation sent, thanks!


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: nelisky on March 04, 2012, 11:52:10 PM
    I have updated https://github.com/nelisky/Modular-Python-Bitcoin-Miner/tree/ztex with high speed FPGA configuration (which appears to be just as slow from my tests) and multi device hotplug support, though I only tested with my single board. Anyone having multiple ztex boards and wanting to experiment with MPBM, please give this a try and let me know.

    I also created a pull request to get this into TheSeven's repo: https://github.com/TheSeven/Modular-Python-Bitcoin-Miner/pull/5


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: O_Shovah on March 05, 2012, 07:21:42 AM
    I have finally gotten my ARM board + icarus + x6500 board  running with bitcoin-qt p2pool and MPBM.

    I am currently getting somewhere around 13% stales.

    How are your experiences regarding optimised values to improve efficiency on p2pool using MPBM ?


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: shad on March 05, 2012, 12:51:29 PM
    I have finally gotten my ARM board + icarus + x6500 board  running with bitcoin-qt p2pool and MPBM.

    I am currently getting somewhere around 13% stales.

    How are your experiences regarding optimised values to improve efficiency on p2pool using MPBM ?

    do you run bitcoin-qt on your arm device?
    what OS are you using? Openwrt?


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: O_Shovah on March 05, 2012, 03:06:20 PM
    I am using a modified Ubuntu 11.04 natty.
    I recompiled both bitcoind and bitcoin-qt for the plattform.


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: julz on March 05, 2012, 06:52:22 PM
    I just got this running with Icarus on Windows 7.. nice!
    Bitcoin donated.

    Is there a proper way to shut down MPBM? I've just been killing the command window as things like ctrl-c ctrl-z don't seem to have any effect.



    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: TheSeven on March 05, 2012, 11:07:39 PM
    I just got this running with Icarus on Windows 7.. nice!
    Bitcoin donated.
    Thank you!

    Is there a proper way to shut down MPBM? I've just been killing the command window as things like ctrl-c ctrl-z don't seem to have any effect.
    Hm, usually Ctrl+C should kill it. If it doesn't, there's probably something that locks up while attempting to shut things down. The Icarus worker module is currently kind of a 5 minute hack to make it work somehow, so it might suffer from that kind of thing. This will be improved in the upcoming major release.
    Just killing the miner should be fine, it doesn't do any real cleanup anyway (yet).


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: antirack on March 06, 2012, 01:03:44 AM
    I just got this running with Icarus on Windows 7.. nice!
    Bitcoin donated.
    Thank you!

    Is there a proper way to shut down MPBM? I've just been killing the command window as things like ctrl-c ctrl-z don't seem to have any effect.
    Hm, usually Ctrl+C should kill it. If it doesn't, there's probably something that locks up while attempting to shut things down. The Icarus worker module is currently kind of a 5 minute hack to make it work somehow, so it might suffer from that kind of thing. This will be improved in the upcoming major release.
    Just killing the miner should be fine, it doesn't do any real cleanup anyway (yet).

    Ctrl-C doesn't work on my Windows 7/Icarus setup neither. Ctrl-Break works.

    I now also have 3 ZTEX boards, but I will be traveling for the next 10 days so I can't try it using the new code in MPBM.


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: O_Shovah on March 06, 2012, 07:49:33 AM
    I am using a modified Ubuntu 11.04 natty.
    I recompiled both bitcoind and bitcoin-qt for the plattform.
    Have you done a writeup on this anywhere?

    I will create thread for Bitcoin on ARM devices as soon as i find the time.
    Maybe this weekend.
    I will post descriptions  downloadable system images, build instructions....
    For the "Gumstix" ARM , the panda board , and maybe for a rasberry pi
    if i get one.

    So you will have to be a little patient.
    I would appreciate anybody else who has created systems on ARM devices
    to post his system there.

    And again:
    what are your experience values  with MPBM and p2pool ( stales,rates, ..)
    And wich values do you adjust to improve performance.


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: TheSeven on March 06, 2012, 03:06:43 PM
    And again:
    what are your experience values  with MPBM and p2pool ( stales,rates, ..)
    And wich values do you adjust to improve performance.
    Should be between 10% and 20% stales if p2pool performs well (which my installation clearly doesn't, due to a sluggish bitcoind).
    And you can't really adjust any values to improve that, maybe increase the polling frequency if it's a x6500/ztex board.
    The only thing you could do about it would be latency optimizing the code, which will break the modular approach (and multi-worker/multi-pool capabilities).


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: TheSeven on March 07, 2012, 09:34:11 PM
    I've uploaded an MPBM v0.1.x prototype to the testing branch of the git repository.
    It's working sufficiently to fetch work from the demo work sources somehow, so people can start porting worker interfaces. The SimpleRS232Worker module has already been ported, and might serve as kind of a porting guide.

    Please not that this is not ready for production use yet. At the moment it supports neither long polling nor any other getwork extensions, and it's likely that there's still quite a lot of bugs. There also is no UI for the statistics yet (but the statistics should be collected in the background).

    Tasks left to be done before the beta release:
    • Clean up BCJSONRPC module
    • Implement getwork extensions
    • Possibly implement UBBP module
    • Implement statistics UI (still needs some cosmetic improvements)
    • Add work queue debug UI
    • Possibly port CursesUI (likely not to be done)
    • Port Icarus worker module (mostly working, minor statistics issues)
    • Implement out of process worker support (might make sense for the X6500/ztex interfaces)
    • Port X6500 worker modules (untested)
    • Possibly implement support for uploading firmware to multiple X6500 boards at once, with only a single shared preparation process (will not be implemented)
    • Possibly implement BFL worker module
    • Decide what to do about the ztex worker module
    • Possibly implement GPU mining (cherrypick from poclbm?) (not anytime soon)
    • Fix bugs
    • Fix even more bugs
    • Improve documentation
    • Clean up the code
    • Do some benchmarks and identify/fix bottlenecks


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: Turbor on March 08, 2012, 07:46:47 PM
    Finally working :D no curses, no miner... donation sent !


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: TheSeven on March 08, 2012, 09:06:36 PM
    Finally working :D no curses, no miner... donation sent !
    Are you sure that you prefer CursesUI over WebUI+StderrLogger with ANSI coding enabled?


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: Turbor on March 08, 2012, 09:13:18 PM
    Finally working :D no curses, no miner... donation sent !
    Are you sure that you prefer CursesUI over WebUI+StderrLogger with ANSI coding enabled?

     :o i'm a carpenter, no idea what you talk about :D


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: Turbor on March 10, 2012, 05:41:29 PM
    Runs stable at 0.1% rejects. No more sleep mode. Only thing that's not working after some time is the average MH/s rate and the efficiency. It says 600+ MH for one board. Restart helps.


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: TheSeven on March 17, 2012, 11:21:15 PM
    I'd like to invite everyone who's willing to take a small risk of deadlocks and other annoyances, to check out the testing branch of MPBM.
    It isn't quite ready for production use that's unattended over months yet, but it has at least survived a week of testing on my own low-hashrate board.
    It would be especially interesting for me to collect testing results from bigger FPGA rigs (>2GH/s, or even >10GH/s), but please only do that if you can react quickly in case of failure, to prevent wasting valuable hashing time.
    Please note that latencies seem to be too high to work reasonably well with P2Pool. This seems to be the price you have to pay for flexibility. We'll see if that can be improved.

    One of the most important new features is the web based user interface, which allows to configure the miner on the fly, and removes the need for a configuration file.

    If you want to check it out, do this:
    • Check out the testing branch (git clone git://github.com/TheSeven/Modular-Python-Bitcoin-Miner.git -b testing)
    • Run "python run-mpbm.py"
    • Open http://localhost:8832
    • Log in with user name "admin", password "mpbm"
    • Configure the WebUI frontend to set your own password
    • Add your own work sources to the "user work sources" group
    • Right click on the created work sources and assign them to the "Bitcoin" blockchain (or whichever blockchain they belong to), to enable long poll aggregation
    • When you're done, hit "save configuration" (will be done during a clean shutdown anyway, but it can't hurt to do it manually after lots of changes to reduce the risk of data loss)

    Btw. the correct way to shut down MPBM is just hitting ctrl+c on the console.

    Known issues:
    • Hashrate/priority settings do reach their targets after days of runtime, but shortly after starting the miner the hashrate distribution depends more on X-Roll-NTime support of the work source than anything else.
    • The WebUI doesn't play nice with Firefox. Anyone got a fix for that?

    If you hit some issues, or just want to provide some feedback, feel free to post here or contact me at #mpbm on irc.freenode.net (http://webchat.freenode.net?channels=mpbm).
    In case you should hit a deadlock, please obtain a thread state dump from the debug menu on WebUI and pastebin that.


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: coblee on March 19, 2012, 12:18:26 AM
    I can't seem to get my X6500 workers to work.

    2012-03-18 17:17:44.525   [100]   X6500 worker - AH00WI18: Proxy: Exception caught: Traceback (most recent call last):
      File "/Users/charlie/Modular-Python-Bitcoin-Miner-testing/modules/fpgamining/x6500/boardproxy.py", line 77, in run
        else: self.device = FT232R(FT232R_PyUSB(self.serial, self.takeover))
      File "/Users/charlie/Modular-Python-Bitcoin-Miner-testing/modules/fpgamining/x6500/util/ft232r.py", line 314, in __init__
        for bus in usb.busses():
      File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/usb/legacy.py", line 333, in busses
        return (Bus(),)
      File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/usb/legacy.py", line 329, in __init__
        self.devices = [Device(d) for d in core.find(find_all=True)]
      File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/usb/core.py", line 851, in find
        return [d for d in device_iter(k, v)]
      File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/usb/core.py", line 821, in device_iter
        for dev in backend.enumerate_devices():
      File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/usb/backend/libusb10.py", line 457, in enumerate_devices
        return _DevIterator()
      File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/usb/backend/libusb10.py", line 445, in __init__
        byref(self.dev_list))
      File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/usb/backend/libusb10.py", line 403, in _check
        raise USBError(_str_error[ret], ret, _libusb_errno[ret])
    USBError: [Errno None] Unknown error
    2012-03-18 17:17:44.528   [100]   X6500 worker - AH00WI18: Traceback (most recent call last):
      File "/Users/charlie/Modular-Python-Bitcoin-Miner-testing/modules/fpgamining/x6500/x6500worker.py", line 211, in main
        elif data[0] == "dying": raise Exception("Proxy died!")
    Exception: Proxy died!


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: TheSeven on March 19, 2012, 02:00:49 AM
    USBError: [Errno None] Unknown error

    Now that's the kind of libusb errors that I like most.
    What OS is that? Mac? Does this affect only the testing branch or both? Does it work with the D2XX driver?


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: coblee on March 19, 2012, 03:30:01 AM
    USBError: [Errno None] Unknown error

    Now that's the kind of libusb errors that I like most.
    What OS is that? Mac? Does this affect only the testing branch or both? Does it work with the D2XX driver?

    OS is Mac. Only affects testing branch. Haven't tried D2XX drivers. Will try that later.


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: TheSeven on March 19, 2012, 08:51:32 PM
    I'm running it both with 2.7 and 3.2, everything >=2.6 should work.


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: Raize on March 20, 2012, 05:34:41 AM
    Never used Python in my life. Anyone willing to give me a step-by-step on exactly how to do this? I've got Python 2.7 installed and I downloaded default_config.py and miner.py. I have literally no idea what is safe to edit. I use P2Pool. I've made the necessary edits and nothing seem to be working. CGminer also doesn't work, and nor does RG7Miner under Java. I'm starting to think I've gotten a bad Icarus device.

    Bounty of 2 Bitcoin to whoever provides a successful step-by-step.


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: Turbor on March 20, 2012, 11:42:55 AM
    Never used Python in my life. Anyone willing to give me a step-by-step on exactly how to do this? I've got Python 2.7 installed and I downloaded default_config.py and miner.py. I have literally no idea what is safe to edit. I use P2Pool. I've made the necessary edits and nothing seem to be working. CGminer also doesn't work, and nor does RG7Miner under Java. I'm starting to think I've gotten a bad Icarus device.

    Bounty of 2 Bitcoin to whoever provides a successful step-by-step.

    What OS ? Windows ? I spent some hours to get my board running. You need some important files to make it work. It's very unlike that the board is bad. Can help you this evening (european time) if your on IRC.


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: Turbor on March 20, 2012, 06:26:13 PM
    Hey Raize here a little write-up for Windows.

    Download and install the USB to Serial driver:

    http://www.prolific.com.tw/support/files/%5CIO%20Cable%5CPL-2303%5CDrivers%20-%20Generic%5CWindows%5Callinone%5CPL2303_Prolific_DriverInstaller_v1.5.0.zip (http://www.prolific.com.tw/support/files/%5CIO%20Cable%5CPL-2303%5CDrivers%20-%20Generic%5CWindows%5Callinone%5CPL2303_Prolific_DriverInstaller_v1.5.0.zip)

    Install Python:

    http://www.python.org/getit/ (http://www.python.org/getit/)

    Get the python libs from Zhang (need them to run the board) and put them into the python27/Lib folder:

    https://github.com/ngzhang/Icarus/tree/0945ce06be6ed85fc2623ef36aa15c70ae82e56f/Downloads/python_Libs (https://github.com/ngzhang/Icarus/tree/0945ce06be6ed85fc2623ef36aa15c70ae82e56f/Downloads/python_Libs)

    For .exe curses go to http://www.lfd.uci.edu/~gohlke/pythonlibs/#curses (http://www.lfd.uci.edu/~gohlke/pythonlibs/#curses), scroll down to curses and install the one you need for your Windows version !

    Download MPBM, unzip in a location of your choice:

    https://github.com/TheSeven/Modular-Python-Bitcoin-Miner/zipball/master

    Here is my default_config.py file:

    Code:
    # Modular Python Bitcoin Miner demonstration configuration file
    # Copy this file to config.py and modify it to fit your needs.


    ################################
    # List of modules to be loaded #
    ################################

    import frontend.theseven.cursesui
    import frontend.theseven.simplelogger
    import pool.theseven.bcjsonrpc
    #import worker.theseven.simplers232
    import worker.theseven.icarus
    #import worker.fpgamining.x6500
    #import worker.fpgamining.x6500hotplug


    ###################
    # Global settings #
    ###################

    #bufferseconds = 50 # Work buffer size in seconds (default: 50). This should generally be no
    # # more than 60 seconds, otherwise you will get increased stale rates!
    #getworktimeout = 2 # Work source response timeout in seconds (default: 2)
    #sendsharetimeout = 10 # Share upload timeout in seconds (default: 10)
    #longpolltimeout = 900 # Long poll connection inactivity timeout in seconds (default: 900)
    #longpollgrouptime = 30 # Long poll aggregation timeout in seconds (default: 30)
    #longpollgrouptime = 30 # Long poll aggregation timeout in seconds (default: 30)

    # DON'T PLAY WITH THESE UNLESS YOU KNOW WHAT YOU'RE DOING!
    #getworkbias = -1 # Bias (in MHashes) that is credited to the work source for every work
    # # request (default: -1). This punishes work sources which cancel their
    # # work very often, but the default value effectively disables this
    # # behavior. This needs to be negative (non-zero) though, in order
    # # to ensure that work requests are distributed evenly between work
    # # sources during startup.
    #longpollkillbias = 0 # Bias (in MHashes) that is credited to the work source for every piece
    # # of work that was invalidated by a long poll (default: 0). This is
    # # used to compensate for anomalies caused by getworkbias.
    #getworkfailbias = -3000 # Bias (in MHashes) that is credited to the work source for every
    # # failed work request (default: -3000). This punishes work source
    # # downtime in general.
    #jobstartbias = 0 # Bias (in MHashes) that is credited to the work source everytime
    # # a job of that work source starts being processed on a worker (default: 0).
    #jobfinishbias = 0 # Bias (in MHashes) that is credited to the work source everytime
    # # a job of that work source ends being processed on a worker (default: 0).
    #sharebias = 4000 # Bias (in MHashes) that is multiplied with the difficulty and credited
    # # to the work source for each found share (default: 4000). This rewards
    # # work sources with high efficiency. Keep it near the default value to
    # # ensure that work sources which produce junk work (that never yields
    # # shares) can not consume much hashing power.
    #uploadfailbias = -100 # Bias (in MHashes) that is and credited to the work source for
    # # each share upload retry (default: -100). Because a huge bias
    # # doesn't keep a work source from retrying to upload the share,
    # # you should keep this relatively low to ensure that the work
    # # source will be used again when it pops back to life. Work source
    # # downtime should be punished using getjobfailbias instead.
    #stalebias = -15000 # Bias (in MHashes) that is multiplied by the difficulty and credited
    # # to the work source for each stale share (default: -15000). With the
    # # default settings this will half the work source's hashing power at
    # # a stale rate of about 2%.
    #biasdecay = 0.9995 # Decay factor that is multiplied onto all work sources' bias on every
    # # getwork on any work source (default: 0.9995). Helps ensuring that
    # # work sources will be favored after they recover from temporary
    # # failures until they have caught up with the configured priority.


    ###########################
    # List of user interfaces #
    ###########################

    interfaces = [ \

      # Curses UI
      { \
        # User interface module
        "type": frontend.theseven.cursesui.CursesUI, \
        # Update stats every second (default)
        "updateinterval": 1, \
      }, \

      # Simple logger
      { \
        # User interface module
        "type": frontend.theseven.simplelogger.SimpleLogger, \
        # Log file location (default)
        "logfile": "miner.log", \
      }, \

    ]


    ###################
    # List of workers #
    ###################

    workers = [ \

    # # SimpleRS232 worker
    # { \
    # # Worker module
    # "type": worker.theseven.simplers232.SimpleRS232Worker, \
    # # Worker module parameters, in this case serial port name (default: /dev/ttyS0)
    # "port": "/dev/ttyUSB0", \
    # }, \

    # # Single X6500 worker
    # { \
    # # Worker module
    # "type": worker.fpgamining.x6500.X6500Worker, \
    # # Worker module parameters, in this case board serial number (default: take first available)
    # #"deviceid": "ABCDEFGH", \
    # }, \

    # # X6500 hotplug worker
    # { \
    # # Worker module
    # "type": worker.fpgamining.x6500hotplug.X6500HotplugWorker, \
    # }, \

     # Icarus worker
     { \
     # Worker module
     "type": worker.theseven.icarus.IcarusWorker, \
     # Worker module parameters, in this case serial port name (default: /dev/ttyUSB0)
     "port": "COM4", \
     }, \

    ]


    ########################
    # List of work sources #
    ########################

    # MPBM supports multiple blockchains and aggregates long poll responses
    # from all pools within a blockchain to further reduce stales.
    # Work from all pools within a blockchain is flushed as soon as any of
    # the pools responds to a long poll (subsequent long poll responses from
    # other pools within the next seconds will be suppressed).
    # This means that e.g. P2Pool will need to be put into a separate blockchain
    # definition because its long poll responses don't correlate with other pools.

    # The available hashing power (from all workers) can be distributed across
    # different work sources by adjusting the priority values. MPBM will attempt
    # to distribute hash rate proportionally to these priorities, unless a work
    # source fails. If that happens, the work source's priority will be reduced
    # and slowly be increased again when the work source comes back to life.
    # You can see this in action with the P2Pool entry in the default config
    # if you don't have a P2Pool instance running on localhost.

    # If you want to support further development of MPBM, you can do me a favor by
    # leaving the demo pool entries active, and just adding your own one below them.
    # If you give your own pool entries a total priority of 1000, you will donate
    # 1% (on average) of your total hash rate to the author of this software.
    # This won't make a big difference for you, but it does for me.
    # Templates for that can be found below the demo pool entries.

    blockchains = [ \

      # Regular bitcoin blockchain
      { \
        # Pools to be used for this blockchain
        "pools": [ \

    # # BitMinter
    # { \
    # # Pool interface module
    # "type": pool.theseven.bcjsonrpc.JSONRPCPool, \
    # # Display name of the pool (default: host name)
    # "name": "BitMinter", \
    # # Priority (default: 2)
    # "priority": 1, \
    # # Host name of the pool
    # "host": "mint.bitminter.com", \
    # # HTTP port of the pool (default: 8332)
    # "port": 8332, \
    # # HTTP authentication user name (default: no authentication)
    # "username": "XXX", \
    # # HTTP authentication password (default: empty)
    # "password": "XXX", \
    # }, \

     # GPUMAX
     { \
     # Pool interface module
     "type": pool.theseven.bcjsonrpc.JSONRPCPool, \
     # Display name of the pool (default: host name)
     "name": "GPUMAX", \
     # Priority (default: 1)
     "priority": 1, \
     # Host name of the pool
     "host": "gpumax.com", \
     # HTTP port of the pool (default: 8332)
     "port": 8332, \
     # HTTP authentication user name (default: no authentication)
     "username": "XXX", \
     # HTTP authentication password (default: empty)
     "password": "XXX", \
     }, \

        ], \
      }, \

    # # P2Pool sharechain
    # { \
    # # Pools to be used for this blockchain
    # "pools": [ \
    #
    # # P2Pool instance on localhost
    # { \
    # # Pool interface module
    # "type": pool.theseven.bcjsonrpc.JSONRPCPool, \
    # # Display name of the pool (default: host name)
    # "name": "P2Pool", \
    # # Priority (default: 1)
    # "priority": 1000, \
    # # Host name of the pool
    # "host": "127.0.0.1", \
    # # HTTP port of the pool (default: 8332)
    # "port": 9332, \
    # }, \
    #
    # ], \
    # }, \

    ]

    Once edited for your needs, start the miner with the command prompt, something like below if you installed the software to user:

    C:\Users\Samxxx Xxxxxx>miner.py

    If the board is well, it "should" fire up. If you have questions, feel free to ask.

     


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: TheSeven on March 20, 2012, 09:44:14 PM
    New feature on testing branch: ZTEX board support

    Even though ztex himself still does not seem to want to cooperate, a user of MPBM was kind enough to let me test things on a couple ZTEX boards.

    For now, the dynamic overclocking behavior is 100% cloned from BTCMiner to avoid warranty issues. Feel free to check things out! :)


    Anyone with a BFL board around who wants to help adding the last missing FPGA board interface module?


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: bitcowok on March 21, 2012, 12:33:23 AM
    Anyone with a BFL board around who wants to help adding the last missing FPGA board interface module?

    As soon as mine arrives, i'll set you up with ssh access, if you still need it. It was ordered in jan, so i'm hoping in the next month or so.


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: O_Shovah on March 21, 2012, 12:02:11 PM
    My BFL box has been working for some days now hooked up to cgminer.

    If theres anyone interested , maybe you TheSeven or anybody else i will create a ssh access for him to
    develop a module.
    I would very much appreciate this.


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: Raize on March 22, 2012, 03:36:41 AM
    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)
    https://i.imgur.com/9Og8g.png


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: TheSeven on March 22, 2012, 09:24:16 AM
    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.)


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: Turbor on March 22, 2012, 05:54:42 PM
    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)
    https://i.imgur.com/9Og8g.png

    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 :D). 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.


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: Glasswalker on March 22, 2012, 06:31:27 PM
    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!


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: Raize on March 23, 2012, 12:33:07 AM
    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?


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: TheSeven on March 23, 2012, 01:45:40 AM
    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 :)


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: TheSeven on March 23, 2012, 01:48:01 AM
    New feature on testing branch: Butterfly Labs BitFORCE Single support

    Thanks to O_Shovah for letting me develop and test this on his one :)


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: allinvain on March 23, 2012, 01:51:34 AM
    Just curious to know if you have any idea when the new MPBM will come out of testing and at least into main branch.


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: TheSeven on March 23, 2012, 02:27:20 AM
    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.


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: BR0KK on March 23, 2012, 11:53:28 AM
    Hi, I'm trying to get this running under OSX LION.

    The Miner starts but i get these errors:
    http://www.abload.de/thumb/bildschirmfoto2012-03mv5bb.png (http://www.abload.de/image.php?img=bildschirmfoto2012-03mv5bb.png)

    Seems that under OSX mpbm isn't able to load some modules? Is there an easy way to fix this (remember --> windows guy :D) or do i have to switch to linux / Windows?


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: TheSeven on March 23, 2012, 02:21:15 PM
    You'll need to install the PySerial library (http://pyserial.sourceforge.net/ (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/ (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/ (http://sourceforge.net/apps/trac/pyusb/), recommended), or, alternatively (but not recommended), the PyD2XX library (http://bleyer.org/pyusb/ (http://bleyer.org/pyusb/), often wrongly called PyUSB as well), if you want to use X6500 boards.


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: BR0KK on March 24, 2012, 01:08:49 AM
    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 :( (don't ask if i do with linux :P). 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 :)
     



    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: antirack on March 24, 2012, 02:07:10 AM
    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


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: TheSeven on March 24, 2012, 10:37:19 AM
    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 :( (don't ask if i do with linux :P). 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 :)

    Looks like you instantiated a single ZTEX board worker and didn't configure the board number. You should probably just use the ZTEX hotplug worker instead, which autodetects which boards are present.


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: TheSeven on March 24, 2012, 10:47:01 AM
    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).


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: antirack on March 24, 2012, 01:53:20 PM
    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.


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: TheSeven on March 24, 2012, 02:31:50 PM
    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.


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: antirack on March 24, 2012, 03:42:27 PM
    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


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: TheSeven on March 24, 2012, 03:49:13 PM
    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).


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: antirack on March 24, 2012, 03:52:01 PM
    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.


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: antirack on March 25, 2012, 02:34:54 AM
    Still no log. I also tried python run-mpbm.py > my.log, but this also results in a 0 kb file. That's very strange. Since it was git which created my directories, I copied the whole MPBM folder to another location and replaced all permissions with my own 'Full' permissions, this didn't make a difference. I am really puzzled, but I guess it's not really a bug in your code if piping the command doesn't work either.

    What worked, in the same command prompt (run as Administrator) is "dir > my.log" or creating a new file with "edit my.log" and writing something to it. Maybe it's python which doesn't have permission somehow?

    Anyway, this is VERY low priority but I just thought I'd report back.

    Now I just found this:

    Code:
    2012-03-25 10:35:10.694000 [100]: Core: Could not start frontend Untitled log file logger: Traceback (most recent call last):
    2012-03-25 10:35:10.694000 [100]:   File "C:\Modular-Python-Bitcoin-Miner\core\core.py", line 197, in _start
    2012-03-25 10:35:10.694000 [100]:     frontend.start()
    2012-03-25 10:35:10.694000 [100]:   File "C:\Modular-Python-Bitcoin-Miner\core\startable.py", line 64, in start
    2012-03-25 10:35:10.694000 [100]:     self._start()
    2012-03-25 10:35:10.694000 [100]:   File "C:\Modular-Python-Bitcoin-Miner\modules\theseven\basicloggers\logfilelogger.py", line 64, in _start
    2012-03-25 10:35:10.694000 [100]:     self.handle.write("\n" + "=" * 200 + "\n\n")
    2012-03-25 10:35:10.694000 [100]: TypeError: 'str' does not support the buffer interface
    2012-03-25 10:35:10.694000 [100]:


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: TheSeven on March 25, 2012, 10:52:44 AM
    Still no log. I also tried python run-mpbm.py > my.log, but this also results in a 0 kb file. That's very strange. Since it was git which created my directories, I copied the whole MPBM folder to another location and replaced all permissions with my own 'Full' permissions, this didn't make a difference. I am really puzzled, but I guess it's not really a bug in your code if piping the command doesn't work either.

    What worked, in the same command prompt (run as Administrator) is "dir > my.log" or creating a new file with "edit my.log" and writing something to it. Maybe it's python which doesn't have permission somehow?

    It logs to stderr, not stdout, which explains why piping it that way doesn't work.

    Anyway, this is VERY low priority but I just thought I'd report back.

    Now I just found this:

    Code:
    2012-03-25 10:35:10.694000 [100]: Core: Could not start frontend Untitled log file logger: Traceback (most recent call last):
    2012-03-25 10:35:10.694000 [100]:   File "C:\Modular-Python-Bitcoin-Miner\core\core.py", line 197, in _start
    2012-03-25 10:35:10.694000 [100]:     frontend.start()
    2012-03-25 10:35:10.694000 [100]:   File "C:\Modular-Python-Bitcoin-Miner\core\startable.py", line 64, in start
    2012-03-25 10:35:10.694000 [100]:     self._start()
    2012-03-25 10:35:10.694000 [100]:   File "C:\Modular-Python-Bitcoin-Miner\modules\theseven\basicloggers\logfilelogger.py", line 64, in _start
    2012-03-25 10:35:10.694000 [100]:     self.handle.write("\n" + "=" * 200 + "\n\n")
    2012-03-25 10:35:10.694000 [100]: TypeError: 'str' does not support the buffer interface
    2012-03-25 10:35:10.694000 [100]:


    I think you just caught it! Need to fix that. This would explain why it only works on Python 2.x, which I'm currently running on. Fix will be pushed in a minute.


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: antirack on March 25, 2012, 01:13:05 PM
    How do I get the fixed code without overwriting my config or other files?

    git clone git://github.com/TheSeven/Modular-Python-Bitcoin-Miner.git -b testing

    Or something else?

    By the way, the ZTEX hotplug manager points to the X6500 firmware file.
    modules/fpgamining/x6500/firmware/x6500.bit

    The file doesn't actually exist if I am not wrong and I assume I am currently mining with the bit stream that was already programmed into my ztex boards before.



    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: TheSeven on March 25, 2012, 08:35:28 PM
    How do I get the fixed code without overwriting my config or other files?

    git clone git://github.com/TheSeven/Modular-Python-Bitcoin-Miner.git -b testing

    Or something else?

    git pull

    By the way, the ZTEX hotplug manager points to the X6500 firmware file.
    modules/fpgamining/x6500/firmware/x6500.bit

    The file doesn't actually exist if I am not wrong and I assume I am currently mining with the bit stream that was already programmed into my ztex boards before.

    I just fixed the default value for that. That setting should point to the directory where the bit files are, which are needed to boot the FPGA if it was power cycled. As long as it's running those files won't be touched. Also, no MCU firmware will ever be programmed to the board, just an FPGA bitstream (that matches the currently installed MCU firmware) if neccessary.


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: TheSeven on March 26, 2012, 12:30:09 AM
    I've just released MPBM v0.1.0beta

    Please test it, and report any issues that you encounter, so that I can take care of them.

    We should probably have some place for howtos, especially explaining how to install required drivers on windows.
    In order to run MPBM on ztex/x6500 boards, you'll need a libusb driver, which I haven't packaged yet.

    I've made some packages for windows users who haven't got Python installed, see the first post.
    Can somebody who doesn't have the neccessary stuff installed on his system yet please try these out?

    If I test them locally, I never know if they're really self-contained or if something just picked up a library that was present on my system anyway.
    Just extract both zip files to the same directory and run mpbm.exe.


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: coretechs on March 26, 2012, 03:31:38 AM
    Just upgraded the instance I was using for my X6500s.  I added the workers and pool to my config but I'm getting the following error for each board:

    Code:
    2012-03-25 23:28:17.791608 [100]: X6500 worker 4: Proxy: Exception caught: Traceback (most recent call last):
      File "/home/user/Modular-Python-Bitcoin-Miner2/modules/fpgamining/x6500/boardproxy.py", line 77, in run
        else: self.device = FT232R(FT232R_PyUSB(self.serial, self.takeover))
      File "/home/user/Modular-Python-Bitcoin-Miner2/modules/fpgamining/x6500/util/ft232r.py", line 309, in __init__
        import usb
    ImportError: No module named usb
    2012-03-25 23:28:17.792289 [100]: X6500 worker 4: Traceback (most recent call last):
      File "/home/user/Modular-Python-Bitcoin-Miner2/modules/fpgamining/x6500/x6500worker.py", line 211, in main
        elif data[0] == "dying": raise Exception("Proxy died!")
    Exception: Proxy died!

    Also I am unable to kill the process with ctrl-c, it just keeps getting jobs.


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: bitcowok on March 26, 2012, 05:31:51 AM
    same for me, a whole heap of "Proxy died!".

    I dont get the "no module named usb" error (i have pyusb-1.0.0_alpha1 installed with my distro's package management)

    running using:
    Code:
    python run-mpbm.py --detect-workers --detect-frontends

    last few lines of output (theres pages...):
    Code:
    2012-03-26 13:26:06.749902 [500]: X6500 board AH00WOWJ: Proxy: FPGA 1: Spartan 6 LX150 - Firmware: rev 0, build 0
    2012-03-26 13:26:06.749902 [500]: X6500 board AH00WOWJ: Proxy: FPGA 1: Spartan 6 LX150 - Firmware: rev 0, build 0
    2012-03-26 13:26:06.750040 [200]: X6500 board AH00WOWJ: Proxy: Programming FPGAs...
    2012-03-26 13:26:06.750040 [200]: X6500 board AH00WOWJ: Proxy: Programming FPGAs...
    2012-03-26 13:26:06.750903 [100]: X6500 board AH00WOWJ: Proxy: Exception caught: Traceback (most recent call last):
      File "/home/fpgamining/x6500/mpbm-v0.1.0beta/modules/fpgamining/x6500/boardproxy.py", line 92, in run
        bitfile = BitFile.read(self.firmware)
      File "/home/fpgamining/x6500/mpbm-v0.1.0beta/modules/fpgamining/x6500/util/BitstreamReader.py", line 75, in read
        with open(name, 'rb') as f:
    IOError: [Errno 2] No such file or directory: 'modules/fpgamining/x6500/firmware/x6500.bit'
    2012-03-26 13:26:06.750903 [100]: X6500 board AH00WOWJ: Proxy: Exception caught: Traceback (most recent call last):
      File "/home/fpgamining/x6500/mpbm-v0.1.0beta/modules/fpgamining/x6500/boardproxy.py", line 92, in run
        bitfile = BitFile.read(self.firmware)
      File "/home/fpgamining/x6500/mpbm-v0.1.0beta/modules/fpgamining/x6500/util/BitstreamReader.py", line 75, in read
        with open(name, 'rb') as f:
    IOError: [Errno 2] No such file or directory: 'modules/fpgamining/x6500/firmware/x6500.bit'
    2012-03-26 13:26:06.751589 [100]: X6500 board AH00WOWJ: Traceback (most recent call last):
      File "/home/fpgamining/x6500/mpbm-v0.1.0beta/modules/fpgamining/x6500/x6500worker.py", line 211, in main
        elif data[0] == "dying": raise Exception("Proxy died!")
    Exception: Proxy died!

    2012-03-26 13:26:06.751589 [100]: X6500 board AH00WOWJ: Traceback (most recent call last):
      File "/home/fpgamining/x6500/mpbm-v0.1.0beta/modules/fpgamining/x6500/x6500worker.py", line 211, in main
        elif data[0] == "dying": raise Exception("Proxy died!")
    Exception: Proxy died!


    I'm assuming a bitstream file is missing. (which is correct, i'm managing bitstreams myself)


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: TheSeven on March 26, 2012, 08:57:44 AM
    Just upgraded the instance I was using for my X6500s.  I added the workers and pool to my config but I'm getting the following error for each board:

    Code:
    2012-03-25 23:28:17.791608 [100]: X6500 worker 4: Proxy: Exception caught: Traceback (most recent call last):
      File "/home/user/Modular-Python-Bitcoin-Miner2/modules/fpgamining/x6500/boardproxy.py", line 77, in run
        else: self.device = FT232R(FT232R_PyUSB(self.serial, self.takeover))
      File "/home/user/Modular-Python-Bitcoin-Miner2/modules/fpgamining/x6500/util/ft232r.py", line 309, in __init__
        import usb
    ImportError: No module named usb
    2012-03-25 23:28:17.792289 [100]: X6500 worker 4: Traceback (most recent call last):
      File "/home/user/Modular-Python-Bitcoin-Miner2/modules/fpgamining/x6500/x6500worker.py", line 211, in main
        elif data[0] == "dying": raise Exception("Proxy died!")
    Exception: Proxy died!

    Also I am unable to kill the process with ctrl-c, it just keeps getting jobs.

    Did you upgrade from v0.0.4 to v0.1.0beta, or just from v0.1.0alpha (testing branch) to v0.1.0 beta?
    Did you previously use the D2XX driver or PyUSB?
    Have you installed PyUSB correctly for the Python version you're running MPBM on?


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: TheSeven on March 26, 2012, 08:59:13 AM
    same for me, a whole heap of "Proxy died!".

    I dont get the "no module named usb" error (i have pyusb-1.0.0_alpha1 installed with my distro's package management)

    running using:
    Code:
    python run-mpbm.py --detect-workers --detect-frontends

    last few lines of output (theres pages...):
    Code:
    2012-03-26 13:26:06.749902 [500]: X6500 board AH00WOWJ: Proxy: FPGA 1: Spartan 6 LX150 - Firmware: rev 0, build 0
    2012-03-26 13:26:06.749902 [500]: X6500 board AH00WOWJ: Proxy: FPGA 1: Spartan 6 LX150 - Firmware: rev 0, build 0
    2012-03-26 13:26:06.750040 [200]: X6500 board AH00WOWJ: Proxy: Programming FPGAs...
    2012-03-26 13:26:06.750040 [200]: X6500 board AH00WOWJ: Proxy: Programming FPGAs...
    2012-03-26 13:26:06.750903 [100]: X6500 board AH00WOWJ: Proxy: Exception caught: Traceback (most recent call last):
      File "/home/fpgamining/x6500/mpbm-v0.1.0beta/modules/fpgamining/x6500/boardproxy.py", line 92, in run
        bitfile = BitFile.read(self.firmware)
      File "/home/fpgamining/x6500/mpbm-v0.1.0beta/modules/fpgamining/x6500/util/BitstreamReader.py", line 75, in read
        with open(name, 'rb') as f:
    IOError: [Errno 2] No such file or directory: 'modules/fpgamining/x6500/firmware/x6500.bit'
    2012-03-26 13:26:06.750903 [100]: X6500 board AH00WOWJ: Proxy: Exception caught: Traceback (most recent call last):
      File "/home/fpgamining/x6500/mpbm-v0.1.0beta/modules/fpgamining/x6500/boardproxy.py", line 92, in run
        bitfile = BitFile.read(self.firmware)
      File "/home/fpgamining/x6500/mpbm-v0.1.0beta/modules/fpgamining/x6500/util/BitstreamReader.py", line 75, in read
        with open(name, 'rb') as f:
    IOError: [Errno 2] No such file or directory: 'modules/fpgamining/x6500/firmware/x6500.bit'
    2012-03-26 13:26:06.751589 [100]: X6500 board AH00WOWJ: Traceback (most recent call last):
      File "/home/fpgamining/x6500/mpbm-v0.1.0beta/modules/fpgamining/x6500/x6500worker.py", line 211, in main
        elif data[0] == "dying": raise Exception("Proxy died!")
    Exception: Proxy died!

    2012-03-26 13:26:06.751589 [100]: X6500 board AH00WOWJ: Traceback (most recent call last):
      File "/home/fpgamining/x6500/mpbm-v0.1.0beta/modules/fpgamining/x6500/x6500worker.py", line 211, in main
        elif data[0] == "dying": raise Exception("Proxy died!")
    Exception: Proxy died!


    I'm assuming a bitstream file is missing. (which is correct, i'm managing bitstreams myself)


    Your assumption is correct. Just put the right bitstream there, or disable bitstream upload at all (which means you have to boot the boards manually).


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: antirack on March 26, 2012, 10:52:07 AM
    Pulled the latest version and works without problems. Logging to the log file now also works. I can stop the miner with Ctrl-C.

    Here are a couple of errors I am getting, but everything seems to work fine though.

    Code:
    2012-03-26 18:45:18.245000 [100]: Ztex board 04A3469722: Proxy: Exception caught: Traceback (most recent call last):
    2012-03-26 18:45:18.245000 [100]:   File "C:\Modular-Python-Bitcoin-Miner\modules\theseven\ztex\boardproxy.py", line 75, in run
    2012-03-26 18:45:18.245000 [100]:     self.device = ZtexDevice(self, self.serial, self.takeover, self.firmware)
    2012-03-26 18:45:18.245000 [100]:   File "C:\Modular-Python-Bitcoin-Miner\modules\theseven\ztex\driver.py", line 73, in __init__
    2012-03-26 18:45:18.245000 [100]:     raise Exception("Can not open the specified device, possibly because it is already in use")
    2012-03-26 18:45:18.245000 [100]: Exception: Can not open the specified device, possibly because it is already in use
    2012-03-26 18:45:18.245000 [100]: Ztex board 04A3469722: Traceback (most recent call last):
    2012-03-26 18:45:18.245000 [100]:   File "C:\Modular-Python-Bitcoin-Miner\modules\theseven\ztex\ztexworker.py", line 170, in main
    2012-03-26 18:45:18.245000 [100]:     elif data[0] == "dying": raise Exception("Proxy died!")
    2012-03-26 18:45:18.245000 [100]: Exception: Proxy died!
    2012-03-26 18:45:18.245000 [100]:
    2012-03-26 18:45:18.261000 [100]: Ztex board 04A32E00E9: Proxy: Exception caught: Traceback (most recent call last):
    2012-03-26 18:45:18.261000 [100]:   File "C:\Modular-Python-Bitcoin-Miner\modules\theseven\ztex\boardproxy.py", line 75, in run
    2012-03-26 18:45:18.261000 [100]:     self.device = ZtexDevice(self, self.serial, self.takeover, self.firmware)
    2012-03-26 18:45:18.261000 [100]:   File "C:\Modular-Python-Bitcoin-Miner\modules\theseven\ztex\driver.py", line 73, in __init__
    2012-03-26 18:45:18.261000 [100]:     raise Exception("Can not open the specified device, possibly because it is already in use")
    2012-03-26 18:45:18.261000 [100]: Exception: Can not open the specified device, possibly because it is already in use
    2012-03-26 18:45:18.261000 [100]: Ztex board 04A32E00E9: Traceback (most recent call last):
    2012-03-26 18:45:18.261000 [100]:   File "C:\Modular-Python-Bitcoin-Miner\modules\theseven\ztex\ztexworker.py", line 170, in main
    2012-03-26 18:45:18.261000 [100]:     elif data[0] == "dying": raise Exception("Proxy died!")
    2012-03-26 18:45:18.261000 [100]: Exception: Proxy died!
    2012-03-26 18:45:18.261000 [100]:
    2012-03-26 18:45:18.276000 [100]: Ztex board 04A346CEC7: Proxy: Exception caught: Traceback (most recent call last):
    2012-03-26 18:45:18.276000 [100]:   File "C:\Modular-Python-Bitcoin-Miner\modules\theseven\ztex\boardproxy.py", line 75, in run
    2012-03-26 18:45:18.276000 [100]:     self.device = ZtexDevice(self, self.serial, self.takeover, self.firmware)
    2012-03-26 18:45:18.276000 [100]:   File "C:\Modular-Python-Bitcoin-Miner\modules\theseven\ztex\driver.py", line 73, in __init__
    2012-03-26 18:45:18.276000 [100]:     raise Exception("Can not open the specified device, possibly because it is already in use")
    2012-03-26 18:45:18.276000 [100]: Exception: Can not open the specified device, possibly because it is already in use
    2012-03-26 18:45:18.276000 [100]: Ztex board 04A346CEC7: Traceback (most recent call last):
    2012-03-26 18:45:18.276000 [100]:   File "C:\Modular-Python-Bitcoin-Miner\modules\theseven\ztex\ztexworker.py", line 170, in main
    2012-03-26 18:45:18.276000 [100]:     elif data[0] == "dying": raise Exception("Proxy died!")
    2012-03-26 18:45:18.276000 [100]: Exception: Proxy died!

    Code:
    2012-03-26 18:48:46.573000 [200]: ABCPool long poll failed: Traceback (most recent call last):
    2012-03-26 18:48:46.573000 [200]:   File "C:\Modular-Python-Bitcoin-Miner\modules\theseven\bcjsonrpc\bcjsonrpcworksource.py", line 181, in _longpollingworker
    2012-03-26 18:48:46.573000 [200]:     response = conn.getresponse()
    2012-03-26 18:48:46.573000 [200]:   File "C:\python32\lib\http\client.py", line 1046, in getresponse
    2012-03-26 18:48:46.573000 [200]:     response.begin()
    2012-03-26 18:48:46.573000 [200]:   File "C:\python32\lib\http\client.py", line 346, in begin
    2012-03-26 18:48:46.573000 [200]:     version, status, reason = self._read_status()
    2012-03-26 18:48:46.573000 [200]:   File "C:\python32\lib\http\client.py", line 316, in _read_status
    2012-03-26 18:48:46.573000 [200]:     raise BadStatusLine(line)
    2012-03-26 18:48:46.573000 [200]: http.client.BadStatusLine: ''


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: BR0KK on March 26, 2012, 11:28:49 AM
    Hi, tried to use the windows-runtime-v0.1.0beta on my windows 7 x86 FPGA Miner.  I'm unable to run the mpbm.exe on my computer.

    Displaying that error message (it's German):
    http://www.abload.de/thumb/bildschirmfoto2012-03pk2wv.png (http://www.abload.de/image.php?img=bildschirmfoto2012-03pk2wv.png)

    It says that the Version of this Program is not compatible with my Windows System (Windows 7 x86 w. latest Drivers and System updates) and that i should look if my computer is x86 or x64.

    (That could all be part of the "MAC OSX Lion + Parallels + VM" Problem so it is not important that this works :))

    On my experimental GPU Miner (Windows 7 x64) the program seems to be ok but I'm also unable to start it. When i try to start the mpbm.exe (via cmd) it displays an error:

    http://www.abload.de/thumb/bildschirmfoto2012-03tlu28.png (http://www.abload.de/image.php?img=bildschirmfoto2012-03tlu28.png)


    Are there any basic instructions how to run that program?



    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: TheSeven on March 26, 2012, 01:03:38 PM
    Hi, tried to use the windows-runtime-v0.1.0beta on my windows 7 x86 FPGA Miner.  I'm unable to run the mpbm.exe on my computer.

    Displaying that error message (it's German):
    http://www.abload.de/thumb/bildschirmfoto2012-03pk2wv.png (http://www.abload.de/image.php?img=bildschirmfoto2012-03pk2wv.png)

    It says that the Version of this Program is not compatible with my Windows System (Windows 7 x86 w. latest Drivers and System updates) and that i should look if my computer is x86 or x64.

    (That could all be part of the "MAC OSX Lion + Parallels + VM" Problem so it is not important that this works :))

    I just realized that I actually compiled this for 64bit. I'll release a 32bit runtime package later today. Runtime package has been fixed.

    On my experimental GPU Miner (Windows 7 x64) the program seems to be ok but I'm also unable to start it. When i try to start the mpbm.exe (via cmd) it displays an error:

    http://www.abload.de/thumb/bildschirmfoto2012-03tlu28.png (http://www.abload.de/image.php?img=bildschirmfoto2012-03tlu28.png)


    Are there any basic instructions how to run that program?

    You need to merge the contents of those two zip files, not put them in separate folders. Then it'll magically work, and you can access it at http://localhost:8832 (user: admin, password: mpbm)


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: TheSeven on March 26, 2012, 01:06:50 PM
    Pulled the latest version and works without problems. Logging to the log file now also works. I can stop the miner with Ctrl-C.

    Here are a couple of errors I am getting, but everything seems to work fine though.

    Code:
    2012-03-26 18:45:18.245000 [100]: Ztex board 04A3469722: Proxy: Exception caught: Traceback (most recent call last):
    2012-03-26 18:45:18.245000 [100]:   File "C:\Modular-Python-Bitcoin-Miner\modules\theseven\ztex\boardproxy.py", line 75, in run
    2012-03-26 18:45:18.245000 [100]:     self.device = ZtexDevice(self, self.serial, self.takeover, self.firmware)
    2012-03-26 18:45:18.245000 [100]:   File "C:\Modular-Python-Bitcoin-Miner\modules\theseven\ztex\driver.py", line 73, in __init__
    2012-03-26 18:45:18.245000 [100]:     raise Exception("Can not open the specified device, possibly because it is already in use")
    2012-03-26 18:45:18.245000 [100]: Exception: Can not open the specified device, possibly because it is already in use
    2012-03-26 18:45:18.245000 [100]: Ztex board 04A3469722: Traceback (most recent call last):
    2012-03-26 18:45:18.245000 [100]:   File "C:\Modular-Python-Bitcoin-Miner\modules\theseven\ztex\ztexworker.py", line 170, in main
    2012-03-26 18:45:18.245000 [100]:     elif data[0] == "dying": raise Exception("Proxy died!")
    2012-03-26 18:45:18.245000 [100]: Exception: Proxy died!
    2012-03-26 18:45:18.245000 [100]:
    2012-03-26 18:45:18.261000 [100]: Ztex board 04A32E00E9: Proxy: Exception caught: Traceback (most recent call last):
    2012-03-26 18:45:18.261000 [100]:   File "C:\Modular-Python-Bitcoin-Miner\modules\theseven\ztex\boardproxy.py", line 75, in run
    2012-03-26 18:45:18.261000 [100]:     self.device = ZtexDevice(self, self.serial, self.takeover, self.firmware)
    2012-03-26 18:45:18.261000 [100]:   File "C:\Modular-Python-Bitcoin-Miner\modules\theseven\ztex\driver.py", line 73, in __init__
    2012-03-26 18:45:18.261000 [100]:     raise Exception("Can not open the specified device, possibly because it is already in use")
    2012-03-26 18:45:18.261000 [100]: Exception: Can not open the specified device, possibly because it is already in use
    2012-03-26 18:45:18.261000 [100]: Ztex board 04A32E00E9: Traceback (most recent call last):
    2012-03-26 18:45:18.261000 [100]:   File "C:\Modular-Python-Bitcoin-Miner\modules\theseven\ztex\ztexworker.py", line 170, in main
    2012-03-26 18:45:18.261000 [100]:     elif data[0] == "dying": raise Exception("Proxy died!")
    2012-03-26 18:45:18.261000 [100]: Exception: Proxy died!
    2012-03-26 18:45:18.261000 [100]:
    2012-03-26 18:45:18.276000 [100]: Ztex board 04A346CEC7: Proxy: Exception caught: Traceback (most recent call last):
    2012-03-26 18:45:18.276000 [100]:   File "C:\Modular-Python-Bitcoin-Miner\modules\theseven\ztex\boardproxy.py", line 75, in run
    2012-03-26 18:45:18.276000 [100]:     self.device = ZtexDevice(self, self.serial, self.takeover, self.firmware)
    2012-03-26 18:45:18.276000 [100]:   File "C:\Modular-Python-Bitcoin-Miner\modules\theseven\ztex\driver.py", line 73, in __init__
    2012-03-26 18:45:18.276000 [100]:     raise Exception("Can not open the specified device, possibly because it is already in use")
    2012-03-26 18:45:18.276000 [100]: Exception: Can not open the specified device, possibly because it is already in use
    2012-03-26 18:45:18.276000 [100]: Ztex board 04A346CEC7: Traceback (most recent call last):
    2012-03-26 18:45:18.276000 [100]:   File "C:\Modular-Python-Bitcoin-Miner\modules\theseven\ztex\ztexworker.py", line 170, in main
    2012-03-26 18:45:18.276000 [100]:     elif data[0] == "dying": raise Exception("Proxy died!")
    2012-03-26 18:45:18.276000 [100]: Exception: Proxy died!

    This part looks like two workers are fighting for some boards, or the hotplug worker has detected boards that are currently being controlled by some other software. I need to know some more details about your configuration to figure out what exactly is going on.

    Code:
    2012-03-26 18:48:46.573000 [200]: ABCPool long poll failed: Traceback (most recent call last):
    2012-03-26 18:48:46.573000 [200]:   File "C:\Modular-Python-Bitcoin-Miner\modules\theseven\bcjsonrpc\bcjsonrpcworksource.py", line 181, in _longpollingworker
    2012-03-26 18:48:46.573000 [200]:     response = conn.getresponse()
    2012-03-26 18:48:46.573000 [200]:   File "C:\python32\lib\http\client.py", line 1046, in getresponse
    2012-03-26 18:48:46.573000 [200]:     response.begin()
    2012-03-26 18:48:46.573000 [200]:   File "C:\python32\lib\http\client.py", line 346, in begin
    2012-03-26 18:48:46.573000 [200]:     version, status, reason = self._read_status()
    2012-03-26 18:48:46.573000 [200]:   File "C:\python32\lib\http\client.py", line 316, in _read_status
    2012-03-26 18:48:46.573000 [200]:     raise BadStatusLine(line)
    2012-03-26 18:48:46.573000 [200]: http.client.BadStatusLine: ''

    That's just a dropped long poll connection from the pool (due to them restarting something?), nothing to worry about. MPBM will just reconnect it.


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: antirack on March 26, 2012, 01:37:48 PM
    I have these longpoll errors frequently with ABCPool, so unless they are having issues at this moment I suspect there is something wrong. I didn't see it happen with the alpha version, but I don't have a log file to check.

    I don't have any other miner working in the background. I just power cycled my ztex boards and reprogrammed them, still the same.

    It only happens in the beginning a couple of times, but strangely not for all the boards. I just restarted MPBM and it happened 4 times in total, 3 time with with my board *C7 and only 1 time with my board *22. Not at all with my 3rd board *E9.

    Edit: the ABCPool longpoll error also happens on the alpha version.


     


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: coretechs on March 26, 2012, 04:07:16 PM
    Just upgraded the instance I was using for my X6500s.  I added the workers and pool to my config but I'm getting the following error for each board:

    Code:
    2012-03-25 23:28:17.791608 [100]: X6500 worker 4: Proxy: Exception caught: Traceback (most recent call last):
      File "/home/user/Modular-Python-Bitcoin-Miner2/modules/fpgamining/x6500/boardproxy.py", line 77, in run
        else: self.device = FT232R(FT232R_PyUSB(self.serial, self.takeover))
      File "/home/user/Modular-Python-Bitcoin-Miner2/modules/fpgamining/x6500/util/ft232r.py", line 309, in __init__
        import usb
    ImportError: No module named usb
    2012-03-25 23:28:17.792289 [100]: X6500 worker 4: Traceback (most recent call last):
      File "/home/user/Modular-Python-Bitcoin-Miner2/modules/fpgamining/x6500/x6500worker.py", line 211, in main
        elif data[0] == "dying": raise Exception("Proxy died!")
    Exception: Proxy died!

    Also I am unable to kill the process with ctrl-c, it just keeps getting jobs.

    Did you upgrade from v0.0.4 to v0.1.0beta, or just from v0.1.0alpha (testing branch) to v0.1.0 beta?
    Did you previously use the D2XX driver or PyUSB?
    Have you installed PyUSB correctly for the Python version you're running MPBM on?

    I upgraded from 0.0.4 by doing a git pull.  I have the D2XX driver installed (older version as recommended, though I did try a later one to rule that out) and had configured PyUSB in the past based on the guide on fpgamining.com.  When creating the workers in the new version, it automatically saves them using PyUSB even if I try to specify D2XX on the worker config.  I assume I have some configuration issue

    I went back to 0.0.4 and it loads with no problems and the boards function as expected.

    BTW this is running on Mint 11 (ubuntu)


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: TheSeven on March 26, 2012, 05:44:10 PM
    I upgraded from 0.0.4 by doing a git pull.  I have the D2XX driver installed (older version as recommended, though I did try a later one to rule that out) and had configured PyUSB in the past based on the guide on fpgamining.com.  When creating the workers in the new version, it automatically saves them using PyUSB even if I try to specify D2XX on the worker config.  I assume I have some configuration issue

    I went back to 0.0.4 and it loads with no problems and the boards function as expected.

    BTW this is running on Mint 11 (ubuntu)

    OK, I'll fix that. However it looks like this is purely a display issue, the workers should actually accept that setting, just show the wrong one when reading it back. This means that it should actually mine correctly... does it?

    BTW I'd strongly recommend switching to PyUSB.


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: BR0KK on March 26, 2012, 10:11:40 PM
    It's finally running but I'm having difficulties running more than one board. My FPGA Miner VM goes right into Bluescreen Of  Death when more than one board is connected while starting mpbm.

    http://www.abload.de/thumb/bildschirmfoto2012-03euktq.png (http://www.abload.de/image.php?img=bildschirmfoto2012-03euktq.png)http://www.abload.de/thumb/bildschirmfoto2012-03s1kp8.png (http://www.abload.de/image.php?img=bildschirmfoto2012-03s1kp8.png)
    Could this be because all the boards use the same serial number? (While flashing them with BTCMiner for cluster mode all the boards get the same number assigned to them. Not shure how to change that back?)

    I leave the donations on while I'm testing this miner btw. :)


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: TheSeven on March 26, 2012, 10:17:43 PM
    urgh... ztex, WHAT THE HELL!? what's the point of a serial number!?

    MPBM won't like that at all. As far as I can tell the hotplug worker will ignore all but one which have the same serial. Instantiating multiple of them manually will make all hell break loose, effectively ending up in that bluescreen (by triggering a windows or libusb bug apparently).

    You'll probably have to assign them different serial numbers again. Ask ztex for instructions, I have no clue.


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: antirack on March 26, 2012, 11:06:01 PM
    It's finally running but I'm having difficulties running more than one board. My FPGA Miner VM goes right into Bluescreen Of  Death when more than one board is connected while starting mpbm.

    http://www.abload.de/thumb/bildschirmfoto2012-03euktq.png (http://www.abload.de/image.php?img=bildschirmfoto2012-03euktq.png)http://www.abload.de/thumb/bildschirmfoto2012-03s1kp8.png (http://www.abload.de/image.php?img=bildschirmfoto2012-03s1kp8.png)
    Could this be because all the boards use the same serial number? (While flashing them with BTCMiner for cluster mode all the boards get the same number assigned to them. Not shure how to change that back?)

    I leave the donations on while I'm testing this miner btw. :)

    What is the exact command you use the program them for cluster mode? (and you only need to do it once in their lifetime if I am not wrong)



    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: BR0KK on March 26, 2012, 11:37:09 PM
    Quote

    Programming one device:
    java -cp ZtexBTCMiner-120208.jar BTCMiner -m p -f ztex_ufm1_15d2.ihx -s 01-02-01

    Reprogramming that specific device:
    java -cp ZtexBTCMiner-120208.jar BTCMiner -m p -ps 01-02-01 -f ztex_ufm1_15d2.ihx

    Reprogramming all devices that had been programmed with the firmware .....:
    java -cp ZtexBTCMiner-120208.jar BTCMiner -m p -pt ztex_ufm1_15d2 -f ztex_ufm1_15d2.ihx


    Somewhere between these steps it must have happened...... -s is the serial number of a device (it could be anything even a name) I took one of the boards serial numbers when I tried to run this for the first time:) <--- had no clue what I was doing then.....

    When I run BTCminer with the option -I i get this printout:
    http://www.abload.de/thumb/unbenannt01105.png (http://www.abload.de/image.php?img=unbenannt01105.png)

    See .... Every board uses the same Serial number ..... I might ask Ztex how to change that.


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: antirack on March 26, 2012, 11:41:35 PM
    Quote

    Programming one device:
    java -cp ZtexBTCMiner-120208.jar BTCMiner -m p -f ztex_ufm1_15d2.ihx -s 01-02-01

    Reprogramming that specific device:
    java -cp ZtexBTCMiner-120208.jar BTCMiner -m p -ps 01-02-01 -f ztex_ufm1_15d2.ihx

    Reprogramming all devices that had been programmed with the firmware .....:
    java -cp ZtexBTCMiner-120208.jar BTCMiner -m p -pt ztex_ufm1_15d2 -f ztex_ufm1_15d2.ihx


    Somewhere between these steps it must have happened...... -s is the serial number of a device (it could be anything even a name) I took one of the boards serial numbers when I tried to run this for the first time:) <--- had no clue what I was doing then.....

    When I run BTCminer with the option -I i get this printout:
    Pic is comming soon;)

    You could always just copy and paste the output, no pic needed.

    Can't you just unplug all your devices but one, then program with a new serial number? Rinse and repeat for all your boards. Problem fixed. I am not very experienced with the programming mode, so I can't think of any other solution for now.


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: BR0KK on March 26, 2012, 11:51:27 PM
    I'm on an iPhone right now. Pics are easier to make :D 



    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: bitcowok on March 27, 2012, 06:03:16 AM
    I'm assuming a bitstream file is missing. (which is correct, i'm managing bitstreams myself)
    Your assumption is correct. Just put the right bitstream there, or disable bitstream upload at all (which means you have to boot the boards manually).

    Any clues as to disabling bitstream upload? (or how to configure anything at all?)

    I see a "config" directory with a default.cfg which seems to be a binary format (what the?)

    the old version had a config.py or similar which was nicely commented. I see no such file with this release, unless i'm missing something obvious. I'm fairly sure i've read the whole thread, and of course first post still says documentation "coming soon...". perhaps a wiki is in order?

    Thanks
    -bitcowok


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: TheSeven on March 27, 2012, 12:50:59 PM
    I'm assuming a bitstream file is missing. (which is correct, i'm managing bitstreams myself)
    Your assumption is correct. Just put the right bitstream there, or disable bitstream upload at all (which means you have to boot the boards manually).

    Any clues as to disabling bitstream upload? (or how to configure anything at all?)

    I see a "config" directory with a default.cfg which seems to be a binary format (what the?)

    the old version had a config.py or similar which was nicely commented. I see no such file with this release, unless i'm missing something obvious.

    There is no such thing any more. The new configuration store is a Python pickle, so that it is easily machine read/write/editable. Configuration is now done through user interface modules, currently only WebUI supports that: http://localhost:8832 (user: admin, password: mpbm)

    I'm fairly sure i've read the whole thread, and of course first post still says documentation "coming soon...". perhaps a wiki is in order?

    Thanks
    -bitcowok

    Yes, a wiki sounds like a plan. Maybe put it into http://wiki.btcfpga.com (http://wiki.btcfpga.com)?


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: O_Shovah on March 27, 2012, 08:25:52 PM
    Hello everybody,

    As promised i release some images and data of my FPGA family at its daily work.

    The setup (please excuse the messy workbench)                                                                                                                                                                

    http://img26.imageshack.us/img26/7428/miningsetup.png       (http://imageshack.us/photo/my-images/26/miningsetup.png/)

    [From left to right: ARM board "Gumstix" (the first i developed on), Icarus(rev0),120mmfan ,x6500(rev2),120mmfan,Pandaboard ES(revB2),Bitforce single(1.0)]

    And the mining data thanks to TheSeven

    http://img41.imageshack.us/img41/6237/webuiscreenshot.png (http://imageshack.us/photo/my-images/41/webuiscreenshot.png/)


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: macbook-air on March 27, 2012, 10:45:34 PM
    MPBM's support of fallback pools is the best. Any idea to make it support phatk2 video card mining?


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: TheSeven on March 27, 2012, 10:49:07 PM
    MPBM's support of fallback pools is the best. Any idea to make it support phatk2 video card mining?
    Well, in theory you should be able to rip the relevant parts of code out of poclbm or some other python gpu miner, and implant it into MPBM as a worker module. I'd figure that this should probably be an out of process worker module like ztex/x6500, to prevent GIL congestion and have some isolation to prevent a buggy GPU driver from taking down the whole MPBM instance.


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: hashking on March 28, 2012, 02:50:12 AM
    I just recieved 3 x6500 boards and 2 of them work fine but one of them I keep getting

    X6500 A4014OEH: Error while booting board: Traceback (most recent call last):
    2012-03-26 16:29:52.619000:   File "worker\fpgamining\x6500.pyc", line 194, in main
    2012-03-26 16:29:52.619000:   File "worker\fpgamining\util\fpga.pyc", line 83, in detect
    2012-03-26 16:29:52.619000:   File "worker\fpgamining\util\jtag.pyc", line 90, in detect
    2012-03-26 16:29:52.619000:   File "worker\fpgamining\util\jtag.pyc", line 331, in _readIdcodes
    2012-03-26 16:29:52.619000:   File "worker\fpgamining\util\jtag.pyc", line 166, in read_dr
    2012-03-26 16:29:52.619000:   File "worker\fpgamining\util\jtag.pyc", line 163, in shift_dr
    2012-03-26 16:29:52.619000:   File "worker\fpgamining\util\jtag.pyc", line 170, in read_tdo
    2012-03-26 16:29:52.619000:   File "worker\fpgamining\util\ft232r.pyc", line 203, in read_data
    2012-03-26 16:29:52.619000:   File "worker\fpgamining\util\ft232r.pyc", line 163, in write
    2012-03-26 16:29:52.619000:   File "worker\fpgamining\util\ft232r.pyc", line 410, in write
    2012-03-26 16:29:52.619000:   File "usb\legacy.pyc", line 148, in bulkWrite
    2012-03-26 16:29:52.619000:   File "usb\core.pyc", line 619, in write
    2012-03-26 16:29:52.619000:   File "usb\backend\libusb01.pyc", line 474, in bulk_write
    2012-03-26 16:29:52.619000:   File "usb\backend\libusb01.pyc", line 556, in __write
    2012-03-26 16:29:52.619000:   File "usb\backend\libusb01.pyc", line 384, in _check
    2012-03-26 16:29:52.619000: USBError: [Errno None] libusb0-dll:err [_usb_reap_async] timeout error
    2012-03-26 16:29:52.619000:
    2012-03-26 16:29:52.619000:

    My other two work fine.
    I am using Windows 7 64 bit.  Downloaded the software off of fpgamining.com.


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: TheSeven on March 28, 2012, 03:29:59 AM
    I just recieved 3 x6500 boards and 2 of them work fine but one of them I keep getting

    X6500 A4014OEH: Error while booting board: Traceback (most recent call last):
    2012-03-26 16:29:52.619000:   File "worker\fpgamining\x6500.pyc", line 194, in main
    2012-03-26 16:29:52.619000:   File "worker\fpgamining\util\fpga.pyc", line 83, in detect
    2012-03-26 16:29:52.619000:   File "worker\fpgamining\util\jtag.pyc", line 90, in detect
    2012-03-26 16:29:52.619000:   File "worker\fpgamining\util\jtag.pyc", line 331, in _readIdcodes
    2012-03-26 16:29:52.619000:   File "worker\fpgamining\util\jtag.pyc", line 166, in read_dr
    2012-03-26 16:29:52.619000:   File "worker\fpgamining\util\jtag.pyc", line 163, in shift_dr
    2012-03-26 16:29:52.619000:   File "worker\fpgamining\util\jtag.pyc", line 170, in read_tdo
    2012-03-26 16:29:52.619000:   File "worker\fpgamining\util\ft232r.pyc", line 203, in read_data
    2012-03-26 16:29:52.619000:   File "worker\fpgamining\util\ft232r.pyc", line 163, in write
    2012-03-26 16:29:52.619000:   File "worker\fpgamining\util\ft232r.pyc", line 410, in write
    2012-03-26 16:29:52.619000:   File "usb\legacy.pyc", line 148, in bulkWrite
    2012-03-26 16:29:52.619000:   File "usb\core.pyc", line 619, in write
    2012-03-26 16:29:52.619000:   File "usb\backend\libusb01.pyc", line 474, in bulk_write
    2012-03-26 16:29:52.619000:   File "usb\backend\libusb01.pyc", line 556, in __write
    2012-03-26 16:29:52.619000:   File "usb\backend\libusb01.pyc", line 384, in _check
    2012-03-26 16:29:52.619000: USBError: [Errno None] libusb0-dll:err [_usb_reap_async] timeout error
    2012-03-26 16:29:52.619000:
    2012-03-26 16:29:52.619000:

    My other two work fine.
    I am using Windows 7 64 bit.  Downloaded the software off of fpgamining.com.

    Hm, USB communication trouble... Wild guess: Bad cable? Might also be all kinds of other shit though.


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: hashking on March 28, 2012, 03:32:28 AM
    I switched the cable with one of the good ones and its the same thing.  The other 2 work great.  Once it gets going then I get this.
    X6500 A4014OEL: Discovering FPGA 0...
    2012-03-27 22:33:25.213000: X6500 A4014OEL: Error while booting board: Traceback (most recent call last):
    2012-03-27 22:33:25.213000:   File "worker\fpgamining\x6500.pyc", line 194, in main
    2012-03-27 22:33:25.213000:   File "worker\fpgamining\util\fpga.pyc", line 83, in detect
    2012-03-27 22:33:25.213000:   File "worker\fpgamining\util\jtag.pyc", line 88, in detect
    2012-03-27 22:33:25.213000: NoDevicesDetected

    X6500 A4014OEL: Reading FPGA temperatures failed: list index out of range


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: TheSeven on March 28, 2012, 03:34:35 AM
    I've made some packages for windows users who haven't got Python installed, see the first post.
    Can somebody who doesn't have the neccessary stuff installed on his system yet please try these out?

    If I test them locally, I never know if they're really self-contained or if something just picked up a library that was present on my system anyway.
    Just extract both zip files to the same directory and run mpbm.exe.

    http://img38.imageshack.us/img38/576/mpbmw.jpg (http://imageshack.us/photo/my-images/38/mpbmw.jpg/)

    Interesting... I need to check why this is happening tomorrow.
    Temporary workaround: Move that dll file into c:\windows\system32 (on 32bit windows) or c:\windows\syswow64 (on 64bit windows).


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: hashking on March 28, 2012, 03:37:43 AM
    Is this a bad board?


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: antirack on March 28, 2012, 03:50:29 AM
    Is this a bad board?

    If your other two boards work, and switching around the cables, changing the socket on the USB hub, switching around power supply etc doesn't work, then that would be my guess.

    I'd mail to support@fpgamining.com and see if they have any other ideas what the problem might be.

    I haven't personally used the X6500 yet, but it may just be something stupid. I forgot to switch my Icarus boards ON since I was used to Ztex boards which don't have a on/off switch. You plug them in and they start mining (if the software is already running). This reminds me, I should test if Ztex hotplug really works with MPBM (edit: working very well).






    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: antirack on March 28, 2012, 04:07:31 AM
    I've had my Icarus + Ztex combo up and running with MPBM for 1D 12h now.

    I'd like to understand some of the numbers.

    For instance, why are cancelled jobs on the Ztex boards 11.50%, 14.58% and 13.61% vs. only between 1.11% and 1.16% on my Icarus boards?

    The 'GHashes total' on the Icarus seems lower per FPGA (ie. Ztex 28290 vs. Icarus 25045) than on the Ztex, but then the jobs per hour seems higher (Ztex 240-250 Icarus 308-318).

    Do any other numbers seem off in the screenshot? I realize that Slush has a lot of upload errors. The timeout is 5 now (default), would increasing that possibly solve that problem? 5 seems already very long to me.

    http://image.bayimg.com/lannpaadj.jpg


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: antirack on March 28, 2012, 12:01:01 PM
    So far the only thing that shows up in my log file (log level 300) with 'long poll' or 'longpoll' is those error messages. How can I actually confirm that long polling is working? Canceled Jobs = long polling works?

    Code:
    2012-03-26 23:23:20.042000 [200]: ABCPool long poll failed: Traceback (most recent call last):
    2012-03-26 23:23:20.042000 [200]:   File "C:\Modular-Python-Bitcoin-Miner\modules\theseven\bcjsonrpc\bcjsonrpcworksource.py", line 181, in _longpollingworker
    2012-03-26 23:23:20.042000 [200]:     response = conn.getresponse()
    2012-03-26 23:23:20.042000 [200]:   File "C:\python32\lib\http\client.py", line 1046, in getresponse
    2012-03-26 23:23:20.042000 [200]:     response.begin()
    2012-03-26 23:23:20.042000 [200]:   File "C:\python32\lib\http\client.py", line 346, in begin
    2012-03-26 23:23:20.042000 [200]:     version, status, reason = self._read_status()
    2012-03-26 23:23:20.042000 [200]:   File "C:\python32\lib\http\client.py", line 316, in _read_status
    2012-03-26 23:23:20.042000 [200]:     raise BadStatusLine(line)
    2012-03-26 23:23:20.042000 [200]: http.client.BadStatusLine: ''

    I have two other pools (slush + eclipse) but as said nothing that confirms any long polling in my log file.

    And long polling with ABCPool works with Ztex BTCMiner.

    I'd like to see a message in the logs when a long poll is received. Is that possible?


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: TheSeven on March 28, 2012, 01:52:02 PM
    There are two libusb implementations, both called the same thing but incompatible with each other.

    This actually shouldn't matter for MPBM. PyUSB (which MPBM relies on) supports both libusb versions, and something called openusb, which I think is apple's own libusb equivalent. So you might possibly get away without any libusb at all.

    Gotta run now... Antirack, I'll explain the stats to you later today.


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: TheSeven on March 28, 2012, 02:28:39 PM
    So far the only thing that shows up in my log file (log level 300) with 'long poll' or 'longpoll' is those error messages. How can I actually confirm that long polling is working? Canceled Jobs = long polling works?

    Canceled jobs do not necessarily mean that long polling actually works, because MPBM tries to detect new blocks by other means as well.

    Code:
    2012-03-26 23:23:20.042000 [200]: ABCPool long poll failed: Traceback (most recent call last):
    2012-03-26 23:23:20.042000 [200]:   File "C:\Modular-Python-Bitcoin-Miner\modules\theseven\bcjsonrpc\bcjsonrpcworksource.py", line 181, in _longpollingworker
    2012-03-26 23:23:20.042000 [200]:     response = conn.getresponse()
    2012-03-26 23:23:20.042000 [200]:   File "C:\python32\lib\http\client.py", line 1046, in getresponse
    2012-03-26 23:23:20.042000 [200]:     response.begin()
    2012-03-26 23:23:20.042000 [200]:   File "C:\python32\lib\http\client.py", line 346, in begin
    2012-03-26 23:23:20.042000 [200]:     version, status, reason = self._read_status()
    2012-03-26 23:23:20.042000 [200]:   File "C:\python32\lib\http\client.py", line 316, in _read_status
    2012-03-26 23:23:20.042000 [200]:     raise BadStatusLine(line)
    2012-03-26 23:23:20.042000 [200]: http.client.BadStatusLine: ''

    I have two other pools (slush + eclipse) but as said nothing that confirms any long polling in my log file.

    And long polling with ABCPool works with Ztex BTCMiner.

    This message does not mean that long polling does not work at all. It just means that a long poll connection died without getting a response. MPBM will automatically reconnect it, so if you only get that message occasionally, this is probably just a sign of a slightly unstable pool, connection issues (bad router? have seen this before...) or just someone restarting something on the pool side.

    I'd like to see a message in the logs when a long poll is received. Is that possible?

    If you increase the loglevel to 500, you should occasionally see these messages:
    Code:
    <Pool name>: Got <job number> jobs from long poll response


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: TheSeven on March 28, 2012, 02:56:50 PM
    I've had my Icarus + Ztex combo up and running with MPBM for 1D 12h now.

    I'd like to understand some of the numbers.

    For instance, why are cancelled jobs on the Ztex boards 11.50%, 14.58% and 13.61% vs. only between 1.11% and 1.16% on my Icarus boards?

    A Ztex board takes about twice as long to process a job than an Icarus. This means that the probability that a job is hit by a long poll is twice as high.
    The actual probability for a job to be canceled on an Icarus should be around 1.3% on average, twice that on Ztex. So your Icarus numbers look perfectly fine to me.
    The reason that your Ztex boards show higher numbers is a bit more complicated: MPBM fetches new work as soon as the number of jobs in the queue that expire in more than 10 seconds goes below some threshold. However, if jobs are received in bursts due to X-Roll-NTime, it's rather likely that all jobs in the queue have the same expiry time, and that this is somewhere between 10 (fetcher threshold) and 15 (Ztex board job processing time) seconds in the future. Because of this, there are no jobs with a remaining life of >15 seconds in the queue, and the Ztex board is forced to work on a job that it can't possibly finish in time. As soon as the remaining jobs cross the 10 second boundary, MPBM will fetch new jobs, and as soon as the remaining life of the accepted job hits zero, the board will behave as if a long poll came in, cancel its current job and get a new one (with longer life). To account for network latencies, a safety margin of about 5 seconds is subtracted from the expiry time reported by the pool before inserting the jobs into the queue.
    TL;DR: This is caused by MPBMs inner workings, and nothing to worry about.

    The 'GHashes total' on the Icarus seems lower per FPGA (ie. Ztex 28290 vs. Icarus 25045) than on the Ztex, but then the jobs per hour seems higher (Ztex 240-250 Icarus 308-318).

    This is partially caused by the effect I described above, and partially by the fact that MPBM pushes new work to the boards about 1 second before the board actually exhausts the noncerange of the previous job, because none of the boards that we have today support real queueing of jobs (which means we need to do this to prevent the board from idling briefly between jobs). This absolute time value doesn't depend on the hashrate, and thus offsets the number of jobs against the number of gigahashes.

    Do any other numbers seem off in the screenshot? I realize that Slush has a lot of upload errors. The timeout is 5 now (default), would increasing that possibly solve that problem? 5 seems already very long to me.

    5 Seconds should be plenty. If a pool fails to respond within this timeframe, I'd avoid that pool. I wouldn't increase that timeout, because that would decrease MPBM's aggressiveness to deliver a share, thereby possibly causing more stales, especially if the timeout was not caused by the pool software being overloaded, but rather by network packet loss (retrying is likely to be faster than waiting for the protocol layer to detect the packet loss, trigger retransmissions, and finally get a response). However it seems like stales are still within a reasonable margin on this instance, so I wouldn't care too much about those retries.


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: BR0KK on March 30, 2012, 10:59:41 PM
    Somehow i'm unable to get it running.... Ztex told me how to revert my "serial number problem" and every board has back its unique one. When i start mpbm (the windows packaged) on my VM the hot plug worker recognizes the 5 Boards. But they are in some kind of constant reconnection loop. The don't start mining since they are kicked out of the work immediately when the connect to it.

    even one board doesn't function with it (and it did before)?

    Some Screens (I'm on an iPad so I'm only able to make screenshots):

    http://www.abload.de/thumb/bildschirmfoto2012-03hx5c4.png (http://www.abload.de/image.php?img=bildschirmfoto2012-03hx5c4.png)http://www.abload.de/thumb/bildschirmfoto2012-038x07u.png (http://www.abload.de/image.php?img=bildschirmfoto2012-038x07u.png)

    It could be som VM related problems .... so its not neccecary that this works:)

    I'm only curious whats the cause of this is?


    Ill hook them to my gnu miner if i have some time tomorrow.


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: TheSeven on March 30, 2012, 11:52:31 PM
    Somehow i'm unable to get it running.... Ztex told me how to revert my "serial number problem" and every board has back its unique one. When i start mpbm (the windows packaged) on my VM the hot plug worker recognizes the 5 Boards. But they are in some kind of constant reconnection loop. The don't start mining since they are kicked out of the work immediately when the connect to it.

    even one board doesn't function with it (and it did before)?

    Some Screens (I'm on an iPad so I'm only able to make screenshots):

    http://www.abload.de/thumb/bildschirmfoto2012-03hx5c4.png
    http://www.abload.de/thumb/bildschirmfoto2012-038x07u.png

    It could be som VM related problems .... so its not neccecary that this works:)

    I'm only curious whats the cause of this is?


    Ill hook them to my gnu miner if i have some time tomorrow.

    That's the result of a typo in the ztex bitstream upload code. Apparently nobody has ever tested this before, and I can't do it myself because I don't have a board and ztex doesn't want to cooperate with me.
    I have pushed a fix for that particular bug to the testing branch, however I'm not sure if this was the only problem with that code. There's likely more to it, if this indeed was never tested before.

    If you haven't done that yet, you'll probably need to extract the bitstream files from BTCMiner and put them into the directory that you specified as the firmware path for that worker.

    As a workaround, you can let another miner software upload the bitstream for now, and then switch to MPBM. This will be neccessary after every power cycle of the boards.


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: antirack on March 31, 2012, 12:38:21 AM
    BR0KK, before starting MPBM, fire up BTCMiner via command line and wait till all the boards are configured and it starts mining.

    Then press Control-C to exit. Now start MPBM. This should fix the problem.




    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: TheSeven on March 31, 2012, 12:55:05 AM
    BR0KK, before starting MPBM, fire up BTCMiner via command line and wait till all the boards are configured and it starts mining.

    Then press Control-C to exit. Now start MPBM. This should fix the problem.

    Well, it's a workaround. A fix would be if I'd finally get a board from ztex to test this kind of stuff properly.


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: antirack on March 31, 2012, 01:50:30 AM
    I just pulled the latest code and tried it with the .bit file in the MPBM directory and the path (not filename, since the fn is set automatically it seems) set in the hotplug manager. Got this error (in addition to the "Can not open the specified device, possibly because it is already in use"):

    Code:
    2012-03-31 09:46:20.445000 [100]:   File "C:\Modular-Python-Bitcoin-Miner\modules\theseven\ztex\boardproxy.py", line 75, in run
    2012-03-31 09:46:20.445000 [100]:     self.device = ZtexDevice(self, self.serial, self.takeover, self.firmware)
    2012-03-31 09:46:20.445000 [100]:   File "C:\Modular-Python-Bitcoin-Miner\modules\theseven\ztex\driver.py", line 124, in __init__
    2012-03-31 09:46:20.445000 [100]:     if sig2 < 0 or (sig1 >= 0 and sig1 < sig2): raise Exception("Signature not found in bitstream, wrong bit order?")
    2012-03-31 09:46:20.445000 [100]: Exception: Signature not found in bitstream, wrong bit order?
    2012-03-31 09:46:20.446000 [100]: Ztex board 04A32E00E9: Traceback (most recent call last):
    2012-03-31 09:46:20.446000 [100]:   File "C:\Modular-Python-Bitcoin-Miner\modules\theseven\ztex\ztexworker.py", line 170, in main
    2012-03-31 09:46:20.446000 [100]:     elif data[0] == "dying": raise Exception("Proxy died!")
    2012-03-31 09:46:20.446000 [100]: Exception: Proxy died!


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: BR0KK on March 31, 2012, 11:56:02 AM
    The Seven where do you come from? Not from Germany or somewhere near that?


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: TheSeven on March 31, 2012, 12:04:01 PM
    The Seven where do you come from? Not from Germany or somewhere near that?
    From exactly that :)


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: BR0KK on March 31, 2012, 12:43:59 PM
    Hm Ztex won't give u one for free for this ..... Would at least remote access to one help u?

    May be Somerset of us Ztex owners could provide a board for testing? Kickstarter ?

    Also mein VM Miner leuft 24/7 Und ich have Zugriff via teamviewer darauf. Wenns hilft kann ich dich drauf lassen?  


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: TheSeven on March 31, 2012, 04:04:31 PM
    Hm Ztex won't give u one for free for this ..... Would at least remote access to one help u?

    I still don't quite understand why he doesn't give me a free one for this, because he once stated he would offer free boards to mining software developers, but apparently he has changed his mind and tries to even prevent third party software support these days.

    And yes, remote access would help, but I'll probably need some kind of a "board power cycling agent" at the other end of the tunnel to test the bitstream upload part.

    May be Somerset of us Ztex owners could provide a board for testing? Kickstarter ?

    Someone actually tried to raise a non-negligible bounty for cgminer ztex support, but as of now I don't know of any efforts to do that for MPBM. cgminer is just much more popular.


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: BR0KK on March 31, 2012, 10:54:16 PM
    Quote
    And yes, remote access would help, but I'll probably need some kind of a "board power cycling agent" at the other end of the tunnel to test the bitstream upload part.

    Remote Access its easy to give but the remote shutdown isn't. I currently do not own an IP - switchable power plug (IP Steckdose). Maybe i can find something the next time i'm at saturn or mediamarkt?. Couldn't be that expensive?

    My Setup is somewhat complicated (Mac --> Parallels 7 --> Windows 7). I hope that won't have an effect on your programing? (I only have a windows VM, but i could install a Linux for that?).

    Doing it directly on the mac isn't possible because mac osx LION does have some wierd problems with teamviewer 7 beta (all the other versions i've tried are not working properly to) and i literally lack any experience with UNIX or linux at all.


    Tell me where u are from with a pm. Maybe we can work something out :)

    I'm trying to get a new board soon (or more if i could raise the money)......

     


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: antirack on March 31, 2012, 11:37:59 PM
    The BountyChest effort to get a ztex board for Con in Australia fr cgminer development didn't go anywhere. They are going to "refund" the people at one point as far as I know from mjt (bountychest dev).

    If I didn't understand this wrong, with ztex's discount program you would have to buy your ztex board, then write the software, and then once done he would decide how much credit you get in form of a refund to your bank account.

    http://www.ztex.de/os_discount_program.e.html

    You will get the money refunded (via bank wire transfer to a European EUR account or via Paypal) after the project is published and rated.

    You'd also have to publish it on his wiki etc and link back to ztex on the MPBM website/thread to qualify.

    And the way his discount program sounds, a "simple" miner (which effectively duplicates functionality that's already there with his own open source project) wouldn't score very high on his 15% to >50% discount table IMHO.

    I have to be absolutely honest here, if I would only have ztex boards I would probably never have tried MPBM. Now that I am using it, I see a couple of great and unique features (ie the way it handles work sources/blockchains). But I can also understand ztex for discouraging third party miner use, he has to cover his ass for the 2 years warranty and if somebody fries the FPGA chips it will be very costly to replace the boards.

    The main advantage (to me) in having a third party miner would actually be to get it to work on platforms with a very low resource/power footprint. But I don't know enough about Python to say if that would be possible. I always liked xiangfu's approach of running his cgminer with 40+ Icarus in a mini dlink router that's not much bigger than a pack of cigarettes. This won't happen with Java. But would this be possible with python for instance?




    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: antirack on March 31, 2012, 11:48:23 PM

    Remote Access its easy to give but the remote shutdown isn't. I currently do not own an IP - switchable power plug (IP Steckdose). Maybe i can find something the next time i'm at saturn or mediamarkt?. Couldn't be that expensive?

    BROKK, Remote Power Switch made in Germany (retail price Euro 399.00, I had a few of their 8 port a few years ago in a server cabinet):
    http://www.ebay.de/itm/Leunig-Remote-Power-Switch-4G-/160772462474?pt=DE_Computer_Peripherie_Netzwerk&hash=item256ec9178a

    This one is also cool (but probably dodgy and low quality). Control your power socket with a SIM card via a mobile phone.

    http://www.ebay.de/itm/New-Fashion-Cellphone-Phone-PDA-GSM-RC-Remote-Control-Socket-Power-Switch-DD-/150764040585?pt=LH_DefaultDomain_77&hash=item231a3cb189

    It's kind of universal, but it doesn't show what kind of male plugs it has on the back, so you may need to use a travel adapter to make the setup even more dodgy and the risk of burning down your house even higher.

    PS: Although I am not from Germany and actually far far away, I am another native German speaker ;)


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: BR0KK on March 31, 2012, 11:57:32 PM
    there is something similar from allnet (or other companies) thats far cheaper than this :) (i can't afford to pay 600€ for one purpose, if i had that money i could buy two and send one to TheSeven; but I'm out of money since i invested in 5 Ztex Boards last month).

    Had one at my old workplace and its was controllable via Browser IP. I remember it costs a blot 60 -100€ or even less.



    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: antirack on April 01, 2012, 12:01:15 AM
    I checked their price list. New price Euro 399. The one on eBay costs Euro 150 and is 4 port. But I get your point. Probably overdoing it for a home setup with a few FPGA boards. If you control servers you need something robust, that's why they are still in business even with those prices.

    (The allnet thing is 8A max, the Leunig one 16A continues and 120A tops).




    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: fizzisist on April 01, 2012, 12:23:29 AM
    Another option might be the low tech version: hang out on IRC with TheSeven and he can initiate a power cycle by typing:
    Code:
    Hey BR0KK, can you power cycle the board for me?

     :P


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: antirack on April 01, 2012, 12:30:25 AM
    Another option might be the low tech version: hang out on IRC with TheSeven and he can initiate a power cycle by typing:
    Code:
    Hey BR0KK, can you power cycle the board for me?

     :P

    Buying new tech toys is way more fun!


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: TheSeven on April 01, 2012, 01:18:50 AM
    The BountyChest effort to get a ztex board for Con in Australia fr cgminer development didn't go anywhere. They are going to "refund" the people at one point as far as I know from mjt (bountychest dev).

    If I didn't understand this wrong, with ztex's discount program you would have to buy your ztex board, then write the software, and then once done he would decide how much credit you get in form of a refund to your bank account.

    http://www.ztex.de/os_discount_program.e.html

    You will get the money refunded (via bank wire transfer to a European EUR account or via Paypal) after the project is published and rated.

    You'd also have to publish it on his wiki etc and link back to ztex on the MPBM website/thread to qualify.

    And the way his discount program sounds, a "simple" miner (which effectively duplicates functionality that's already there with his own open source project) wouldn't score very high on his 15% to >50% discount table IMHO.

    He mentioned up to 100% for mining software on his forum thread at some point.

    I have to be absolutely honest here, if I would only have ztex boards I would probably never have tried MPBM. Now that I am using it, I see a couple of great and unique features (ie the way it handles work sources/blockchains). But I can also understand ztex for discouraging third party miner use, he has to cover his ass for the 2 years warranty and if somebody fries the FPGA chips it will be very costly to replace the boards.

    This is why MPBM 100% replicates ztex's clocking behavior.

    The main advantage (to me) in having a third party miner would actually be to get it to work on platforms with a very low resource/power footprint. But I don't know enough about Python to say if that would be possible. I always liked xiangfu's approach of running his cgminer with 40+ Icarus in a mini dlink router that's not much bigger than a pack of cigarettes. This won't happen with Java. But would this be possible with python for instance?

    That's very well possible, but not with ztex boards, those cause too much host CPU usage due to offloading the error rate measurement and clock adjustment to the host.
    With Icarus or BFL boards MPBM should easily handle two figure board numbers on ARM platforms. It might need quite a bit of RAM, but not all that much CPU.


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: BR0KK on April 01, 2012, 11:14:43 AM
    Quote
    Quote from: fizzisist on Today at 12:23:29 AM
    Another option might be the low tech version: hang out on IRC with TheSeven and he can initiate a power cycle by typing:
    Code:
    Hey BR0KK, can you power cycle the board for me?

     

    Buying new tech toys is way more fun!

    Defently possible and yes buing new hardware is my hobby :D

    Since im not home all day we have to work sonething out. Maybe in the evenings ?
    I work at a restaurant atm. so it could get late .....

    If i get a new job in some weeks that shouldnt be a problem anymore.


    Quote
    That's very well possible, but not with ztex boards, those cause too much host CPU usage due to offloading the error rate measurement and clock adjustment to the host.
    With Icarus or BFL boards MPBM should easily handle two figure board numbers on ARM platforms. It might need quite a bit of RAM, but not all that much CPU.

    I ordered a rasberry pi for the ztex boards yesterday. I will try to run the Ztex boards with it.... hope to get this thing soon. For 30€ its worth a try ;)

    Did you try it?  Is it impossible to run this boards with an arm powered device? What are the sideffects?


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: O_Shovah on April 01, 2012, 11:57:59 AM
    I am running mpbm, p2pool and the bitcoin clients on ARM boards for some time now very sucessfull.

    There is the Gumstix, the Panda board and other.

    I just dint get a rasberry yet.
    I will offer a system for it too as soon as i get one.


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: antirack on April 01, 2012, 12:17:14 PM
    I am running mpbm, p2pool and the bitcoin clients on ARM boards for some time now very sucessfull.

    There is the Gumstix, the Panda board and other.

    I just dint get a rasberry yet.
    I will offer a system for it too as soon as i get one.

    How many FPGA boards do you have connected, which ones, and how about CPU load etc?
    If you'd build a bigger cluster, what would you use?



    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: O_Shovah on April 01, 2012, 02:04:10 PM
    Highly depends on if you use p2pool or a pool.

    I had 7 boards connected at maximum. This resultet in ~ 55% CPU for the Gumstix  and ~12 % on the Panda.

    Running a p2pool server seems limited to the Pandaboard but is also highly influenced by SD card I/O performance.
    It then uses something like 40% CPU.

    The Gumstix uses 4W maximum on the wall and could be plugged on top of a modular board. (Measueres something like 50 by 20 mm)
    But the panda board is easier to develop for and uses 7,5 W. In additionis has a dual core so paralelising threads is easier.
    Therefore i would recommend The panda baord for bigger setups with USB connectors and the Gumstix for modular board approaches.


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: TheSeven on April 01, 2012, 09:35:23 PM
    I had a closer look at the Ztex issues: Seems like there's some bitswapping that needs to be done so that the boards understand it.
    This will however take ages if implemented in Python, so I'd prefer to distribute pre-swapped firmware files.
    Sounds like I'll have to work out some licensing issues with Stefan...

    For those keen on doing it themselves:
    - Extract the bit file from the btcminer jar file
    - There should be a couple 0xFFs in the first few hundred bytes.
    - Reverse the bits of each byte starting from there, i.e. bit 0 swapped with bit 7, bit 1 swapped with bit 6, ...
    - MPBM should accept the resulting firmware file


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: hashking on April 03, 2012, 06:02:06 AM
    I have the version .4a for windows.  How can I install the new version..


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: TheSeven on April 03, 2012, 07:25:59 AM
    • Clone my git (testing branch if you want to try the latest greatest, risking that it might break from time to time)
    • With the boards you want it to use plugged, run run-mpbm.py, it should autodetect them unless they are Icarus boards
    • http://localhost:8832 (user: admin, password: mpbm)
    • Add your pools to the "User work sources" group
    • Right-click on them and assign them to the right blockchain


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: BR0KK on April 03, 2012, 06:29:44 PM
    Hi im not home but in 3 Days we could arrange the Remote Access to all of my boards if you want :)


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: TheSeven on April 03, 2012, 06:42:00 PM
    Hi im not home but in 3 Days we could arrange the Remote Access to all of my boards if you want :)

    I don't think it will help much right now. I've identified at least one problem, which I can only really fix after sorting out licensing issues with ztex.


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: BR0KK on April 03, 2012, 07:23:04 PM
    Uhh Licensing; thats complicated....Hope that you can arrange something with Ztex. If u need Accesss to a board sometimes just ask :)


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: hashking on April 04, 2012, 01:53:52 AM
    Which pools is this program optimized for?


    Title: Re: Modular Python Bitcoin Miner - Official Thread - HELP!
    Post by: Garr255 on April 05, 2012, 01:35:07 AM
    Hey all,

    I've been having a terrible time getting some x6500s running. I've tried everything under Ubuntu 10.10, XP, and 7. I spend a night on IRC with a few people but with no success. (Thanks for your effort anyway!)

    My current error under a clean install of Ubuntu 10.10 with proper drivers, python-usb, etc installed:

    http://pastebin.com/Mm0stxux

    I really hope this gets resolved soon! Thanks.


    Turns out it was a PSU activation method error (OK to ON instead of ON to ground). Derp.

    -Garrett


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: TheSeven on April 05, 2012, 02:39:07 PM
    Which pools is this program optimized for?

    Well, basically anything except for pools that don't comply to the usual JSON-RPC protocol or do some other weird things like ozcoin.


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: freshzive on April 06, 2012, 04:35:42 AM
    Is this version working properly with p2pool (using x6500s)? Just wanted to make sure before I upgrade from that pesky v0.0.4alpha


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: allinvain on April 06, 2012, 05:35:13 AM
    TheSeven, any ideas when we can expect a non beta release?


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: TheSeven on April 06, 2012, 11:53:44 AM
    Is this version working properly with p2pool (using x6500s)? Just wanted to make sure before I upgrade from that pesky v0.0.4alpha

    While x6500 generally isn't the board that's best-suited for p2pool (but it should work reasonably well, 1-2% DoA unless your host PC is overloaded), there should not be much difference between the MPBM versions left. While 0.0.x might have generally lower latencies due to less complexity, 0.1.x has added a couple of optimizations, which seem to more  than outweigh that.

    That said, I'm currently running MPBM 0.1.0beta on an Icarus and I'm getting like 0.8-0.9% DoA, ~5% stales total, so that's >100% efficiency, even though p2pool isn't running on the same host.


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: TheSeven on April 06, 2012, 11:58:23 AM
    TheSeven, any ideas when we can expect a non beta release?

    When enough people have tested it and we can consider it bug-free. Oh, the UI also still needs some improvements (IE/firefox/opera compatibility, highlighting in the stats table to make that more readable, description tooltips for some elements, ...), and it should also be documented better.

    There are currently some experimental fixes and improvements in the testing branch, which I'd like to apply to master soon. This version has been running for like a week here without any issues, however I might have broken compatibility with some python/pyusb version and board type combinations by accident, so some more people should test this.

    BTW, a non-beta of 0.0.x was never released, and I'd say that 0.1.0beta should outperform that on most aspects.


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: freshzive on April 06, 2012, 03:40:57 PM
    Any idea what causes this? It seems to crash python.

    Code:
    2012-04-06 08:40:00.470180 [100]: Core: Starting up...
    2012-04-06 08:40:00.490875 [200]: Core: Startup completed
    The process has forked and you cannot use this CoreFoundation functionality safely. You MUST exec().
    Break on __THE_PROCESS_HAS_FORKED_AND_YOU_CANNOT_USE_THIS_COREFOUNDATION_FUNCTIONALITY___YOU_MUST_EXEC__() to debug.
    The process has forked and you cannot use this CoreFoundation functionality safely. You MUST exec().
    Break on __THE_PROCESS_HAS_FORKED_AND_YOU_CANNOT_USE_THIS_COREFOUNDATION_FUNCTIONALITY___YOU_MUST_EXEC__() to debug.
    The process has forked and you cannot use this CoreFoundation functionality safely. You MUST exec().
    Break on __THE_PROCESS_HAS_FORKED_AND_YOU_CANNOT_USE_THIS_COREFOUNDATION_FUNCTIONALITY___YOU_MUST_EXEC__() to debug.
    The process has forked and you cannot use this CoreFoundation functionality safely. You MUST exec().
    Break on __THE_PROCESS_HAS_FORKED_AND_YOU_CANNOT_USE_THIS_COREFOUNDATION_FUNCTIONALITY___YOU_MUST_EXEC__() to debug.
    The process has forked and you cannot use this CoreFoundation functionality safely. You MUST exec().
    Break on __THE_PROCESS_HAS_FORKED_AND_YOU_CANNOT_USE_THIS_COREFOUNDATION_FUNCTIONALITY___YOU_MUST_EXEC__() to debug.

    Edit: It actually starts up, but all of my x6500s show this:

    Code:
    X6500 board AH00WOVX: Proxy: Exception caught: Traceback (most recent call last):
      File "/Users/christian/modular/modules/fpgamining/x6500/boardproxy.py", line 77, in run
        else: self.device = FT232R(FT232R_PyUSB(self.serial, self.takeover))
      File "/Users/christian/modular/modules/fpgamining/x6500/util/ft232r.py", line 315, in __init__
        for bus in usb.busses():
      File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/usb/legacy.py", line 333, in busses
        return (Bus(),)
      File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/usb/legacy.py", line 329, in __init__
        self.devices = [Device(d) for d in core.find(find_all=True)]
      File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/usb/core.py", line 851, in find
        return [d for d in device_iter(k, v)]
      File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/usb/core.py", line 821, in device_iter
        for dev in backend.enumerate_devices():
      File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/usb/backend/libusb10.py", line 457, in enumerate_devices
        return _DevIterator()
      File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/usb/backend/libusb10.py", line 445, in __init__
        byref(self.dev_list))
      File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/usb/backend/libusb10.py", line 403, in _check
        raise USBError(_str_error[ret], ret, _libusb_errno[ret])
    USBError: [Errno None] Unknown error
    2012-04-06 08:45:34.453529 [100]: X6500 board AH00WOVX: Traceback (most recent call last):
      File "/Users/christian/modular/modules/fpgamining/x6500/x6500worker.py", line 212, in main
        elif data[0] == "dying": raise Exception("Proxy died!")
    Exception: Proxy died!

    I take it the ztex200mhz file doesn't work? I tried loading firmware using program.py and still get these errors on all devices. This is on Mac OS X with Python 2.7.2


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: TheSeven on April 06, 2012, 06:04:11 PM
    Any idea what causes this? It seems to crash python.

    Code:
    2012-04-06 08:40:00.470180 [100]: Core: Starting up...
    2012-04-06 08:40:00.490875 [200]: Core: Startup completed
    The process has forked and you cannot use this CoreFoundation functionality safely. You MUST exec().
    Break on __THE_PROCESS_HAS_FORKED_AND_YOU_CANNOT_USE_THIS_COREFOUNDATION_FUNCTIONALITY___YOU_MUST_EXEC__() to debug.
    The process has forked and you cannot use this CoreFoundation functionality safely. You MUST exec().
    Break on __THE_PROCESS_HAS_FORKED_AND_YOU_CANNOT_USE_THIS_COREFOUNDATION_FUNCTIONALITY___YOU_MUST_EXEC__() to debug.
    The process has forked and you cannot use this CoreFoundation functionality safely. You MUST exec().
    Break on __THE_PROCESS_HAS_FORKED_AND_YOU_CANNOT_USE_THIS_COREFOUNDATION_FUNCTIONALITY___YOU_MUST_EXEC__() to debug.
    The process has forked and you cannot use this CoreFoundation functionality safely. You MUST exec().
    Break on __THE_PROCESS_HAS_FORKED_AND_YOU_CANNOT_USE_THIS_COREFOUNDATION_FUNCTIONALITY___YOU_MUST_EXEC__() to debug.
    The process has forked and you cannot use this CoreFoundation functionality safely. You MUST exec().
    Break on __THE_PROCESS_HAS_FORKED_AND_YOU_CANNOT_USE_THIS_COREFOUNDATION_FUNCTIONALITY___YOU_MUST_EXEC__() to debug.

    Edit: It actually starts up, but all of my x6500s show this:

    Code:
    X6500 board AH00WOVX: Proxy: Exception caught: Traceback (most recent call last):
      File "/Users/christian/modular/modules/fpgamining/x6500/boardproxy.py", line 77, in run
        else: self.device = FT232R(FT232R_PyUSB(self.serial, self.takeover))
      File "/Users/christian/modular/modules/fpgamining/x6500/util/ft232r.py", line 315, in __init__
        for bus in usb.busses():
      File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/usb/legacy.py", line 333, in busses
        return (Bus(),)
      File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/usb/legacy.py", line 329, in __init__
        self.devices = [Device(d) for d in core.find(find_all=True)]
      File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/usb/core.py", line 851, in find
        return [d for d in device_iter(k, v)]
      File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/usb/core.py", line 821, in device_iter
        for dev in backend.enumerate_devices():
      File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/usb/backend/libusb10.py", line 457, in enumerate_devices
        return _DevIterator()
      File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/usb/backend/libusb10.py", line 445, in __init__
        byref(self.dev_list))
      File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/usb/backend/libusb10.py", line 403, in _check
        raise USBError(_str_error[ret], ret, _libusb_errno[ret])
    USBError: [Errno None] Unknown error
    2012-04-06 08:45:34.453529 [100]: X6500 board AH00WOVX: Traceback (most recent call last):
      File "/Users/christian/modular/modules/fpgamining/x6500/x6500worker.py", line 212, in main
        elif data[0] == "dying": raise Exception("Proxy died!")
    Exception: Proxy died!

    I take it the ztex200mhz file doesn't work? I tried loading firmware using program.py and still get these errors on all devices. This is on Mac OS X with Python 2.7.2

    Now that's very odd. Haven't seen something like this before.
    Which python/pyusb/libusb version is showing that behavior?


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: hashking on April 07, 2012, 01:05:25 PM
    Anyone using the program to work with GPUMAX.  I can't get mine to connect.  What are your settings for source?


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: TheSeven on April 07, 2012, 08:42:04 PM
    Anyone using the program to work with GPUMAX.  I can't get mine to connect.  What are your settings for source?


    I didn't get a GPUMAX invite yet, so I can't tell you the exact configuration, but other people said it's pretty much straightforward.


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: Garr255 on April 07, 2012, 10:28:15 PM
    Anyone using the program to work with GPUMAX.  I can't get mine to connect.  What are your settings for source?

    I haven't tried it yet, but when I do I'll post back here.


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: coblee on April 09, 2012, 03:20:02 AM
    I just got latest code and everything stopped working. I couldn't get either my x6500 or my Icarus working. I'm getting the proxy died error for x6500 and "device reports readiness to read but returned no data (device disconnected?)" on my Icarus.

    This is quite frustrating. Anyway I can switch back to the previous version?

    I'm running this on my Mac. Python 2.7.2.


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: coretechs on April 09, 2012, 03:46:19 AM
    I'm still having issues with 0.1.0beta on linux (fresh install, ubuntu 64-bit) as well.  I was able to get it to the point where it loads the firmware on all the boards, but as soon as it hits 100% and completes it throws the following error and restarts the firmware load:

    Code:
    2012-04-08 23:40:17.763066 [100]: X6500 board AH00WOWB: Proxy: Exception caught: Traceback (most recent call last):
      File "/home/xxxxx/Modular-Python-Bitcoin-Miner/modules/fpgamining/x6500/boardproxy.py", line 123, in run
        if self.error: raise self.error
    TypeError: 'int' object is not iterable
    2012-04-08 23:40:17.765450 [100]: X6500 board AH00WOWB: Traceback (most recent call last):
      File "/home/xxxxx/Modular-Python-Bitcoin-Miner/modules/fpgamining/x6500/x6500worker.py", line 212, in main
        elif data[0] == "dying": raise Exception("Proxy died!")
    Exception: Proxy died!

    I have no problems running the same version with the x6500s on windows.  I've tried using the worker and the hotplug worker using the linux install steps on fpgamining.com with no luck.  All the boards detect and load the firmware, then error and repeat.


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: Garr255 on April 09, 2012, 04:40:19 AM
    Try the testing branch. It seems to fix that error.


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: fizzisist on April 09, 2012, 04:53:52 AM
    Try the testing branch. It seems to fix that error.

    Yes, I'm not sure about the details of the error, but the testing branch has a fix for this bug already. If you're running from a git clone, just run

    Code:
    git checkout testing

    then restart MPBM.

    I hope that fixes coblee and coretechs' problems! I'm sure TheSeven can explain the problem tomorrow, but he's asleep right now.


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: coblee on April 09, 2012, 05:48:15 AM
    Try the testing branch. It seems to fix that error.

    Yes, I'm not sure about the details of the error, but the testing branch has a fix for this bug already. If you're running from a git clone, just run

    Code:
    git checkout testing

    then restart MPBM.

    I hope that fixes coblee and coretechs' problems! I'm sure TheSeven can explain the problem tomorrow, but he's asleep right now.

    After getting the testing branch
    Code:
    git checkout origin/testing
    I'm now getting this exception:
    Code:
    X6500 worker - AH00WI18: Traceback (most recent call last):
      File "/Users/charlie/Modular-Python-Bitcoin-Miner/modules/fpgamining/x6500/x6500worker.py", line 208, in main
        data = self.rxconn.recv()
    EOFError


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: Garr255 on April 09, 2012, 06:23:28 AM
    Make a new directory and do a
    Code:
    git clone -b testing https://github.com/TheSeven/Modular-Python-Bitcoin-Miner.git

    Then try running it from there. Remember to copy over a bitstream and your config.


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: hashking on April 09, 2012, 08:19:30 PM
    X6500 board A40146TT: Proxy: Exception caught: Traceback (most recent call last):
      File "C:\Users\X6500_Easy_Package_For_Windows\mpbm-v0.1.0beta\modules\fpgamining\x6500\boardproxy.py", line 77, in run
        else: self.device = FT232R(FT232R_PyUSB(self.serial, self.takeover))
      File "C:\Users\X6500_Easy_Package_For_Windows\mpbm-v0.1.0beta\modules\fpgamining\x6500\util\ft232r.py", line 346, in __init__
        raise Exception("Can not open the specified device, possibly because it is already in use")
    Exception: Can not open the specified device, possibly because it is already in use
    2012-04-09 15:16:51.118   [100]   X6500 board A40146TT: Traceback (most recent call last):
      File "C:\Users\Desktop\X6500_Easy_Package_For_Windows\mpbm-v0.1.0beta\modules\fpgamining\x6500\x6500worker.py", line 211, in main
        elif data[0] == "dying": raise Exception("Proxy died!")
    Exception: Proxy died!

    I get this error on two of my boards.  The rest work fine.  Not sure why.


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: fizzisist on April 09, 2012, 08:58:12 PM
    X6500 board A40146TT: Proxy: Exception caught: Traceback (most recent call last):
      File "C:\Users\X6500_Easy_Package_For_Windows\mpbm-v0.1.0beta\modules\fpgamining\x6500\boardproxy.py", line 77, in run
        else: self.device = FT232R(FT232R_PyUSB(self.serial, self.takeover))
      File "C:\Users\X6500_Easy_Package_For_Windows\mpbm-v0.1.0beta\modules\fpgamining\x6500\util\ft232r.py", line 346, in __init__
        raise Exception("Can not open the specified device, possibly because it is already in use")
    Exception: Can not open the specified device, possibly because it is already in use
    2012-04-09 15:16:51.118   [100]   X6500 board A40146TT: Traceback (most recent call last):
      File "C:\Users\Desktop\X6500_Easy_Package_For_Windows\mpbm-v0.1.0beta\modules\fpgamining\x6500\x6500worker.py", line 211, in main
        elif data[0] == "dying": raise Exception("Proxy died!")
    Exception: Proxy died!

    I get this error on two of my boards.  The rest work fine.  Not sure why.


    I think this is the error you get when the USB interface was not properly closed by MPBM. Try checking "Reset board if it appears to be in use" under the worker config, then right click the worker and click Restart Worker.


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: hashking on April 09, 2012, 09:03:07 PM
    X6500 board A40146TT: Proxy: Exception caught: Traceback (most recent call last):
      File "C:\Users\X6500_Easy_Package_For_Windows\mpbm-v0.1.0beta\modules\fpgamining\x6500\boardproxy.py", line 77, in run
        else: self.device = FT232R(FT232R_PyUSB(self.serial, self.takeover))
      File "C:\Users\X6500_Easy_Package_For_Windows\mpbm-v0.1.0beta\modules\fpgamining\x6500\util\ft232r.py", line 346, in __init__
        raise Exception("Can not open the specified device, possibly because it is already in use")
    Exception: Can not open the specified device, possibly because it is already in use
    2012-04-09 15:16:51.118   [100]   X6500 board A40146TT: Traceback (most recent call last):
      File "C:\Users\Desktop\X6500_Easy_Package_For_Windows\mpbm-v0.1.0beta\modules\fpgamining\x6500\x6500worker.py", line 211, in main
        elif data[0] == "dying": raise Exception("Proxy died!")
    Exception: Proxy died!

    I get this error on two of my boards.  The rest work fine.  Not sure why.


    I think this is the error you get when the USB interface was not properly closed by MPBM. Try checking "Reset board if it appears to be in use" under the worker config, then right click the worker and click Restart Worker.

    All my boards all work fine on 0.4a.  I will try this.  Thanks.


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: TheSeven on April 09, 2012, 09:38:43 PM
    X6500 board A40146TT: Proxy: Exception caught: Traceback (most recent call last):
      File "C:\Users\X6500_Easy_Package_For_Windows\mpbm-v0.1.0beta\modules\fpgamining\x6500\boardproxy.py", line 77, in run
        else: self.device = FT232R(FT232R_PyUSB(self.serial, self.takeover))
      File "C:\Users\X6500_Easy_Package_For_Windows\mpbm-v0.1.0beta\modules\fpgamining\x6500\util\ft232r.py", line 346, in __init__
        raise Exception("Can not open the specified device, possibly because it is already in use")
    Exception: Can not open the specified device, possibly because it is already in use
    2012-04-09 15:16:51.118   [100]   X6500 board A40146TT: Traceback (most recent call last):
      File "C:\Users\Desktop\X6500_Easy_Package_For_Windows\mpbm-v0.1.0beta\modules\fpgamining\x6500\x6500worker.py", line 211, in main
        elif data[0] == "dying": raise Exception("Proxy died!")
    Exception: Proxy died!

    I get this error on two of my boards.  The rest work fine.  Not sure why.

    This might also be a remnant of a previously running MPBM instance that didn't shut down all board proxys properly (e.g. because they were uploading a bitstream when MPBM was shutting down). You might want to look for stray python processes and kill them.


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: coblee on April 10, 2012, 12:29:18 AM
    Using the testing branch, I get this error on my Mac:

    Quote
    2012-04-09 17:26:20.918   [100]   X6500 worker - AH00WI18: Traceback (most recent call last):
      File "/Users/charlie/Modular-Python-Bitcoin-Miner/modules/fpgamining/x6500/x6500worker.py", line 208, in main
        data = self.rxconn.recv()
    EOFError

    Any ideas?


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: coretechs on April 10, 2012, 05:01:10 AM
    Try the testing branch. It seems to fix that error.

    Switching to the test branch fixed the int/iterate error.  Running perfectly now, thanks.


    On a separate note I wanted to mention an observation and see if anyone else is noticing the same behavior.  It seems that mixing different flavor FPGAs in a single instance of MPBM has will cause more frequent invalids across all FPGAs for both version 0.0.4a and 0.1.0b.  If I separate the x6500s from Icarus units and run each in it's own instance of MPBM, I get significantly fewer invalids.  I know ngzhang had mentioned that Icarus had some minor protocol bugs that account for some invalids, but the x6500s really seem to highlight the problem.  If I run them alone, I can run the 200mhz bitstream for 24+ hours with 0 invalids, but if I add some Icarus units to the same config, the x6500s start throwing intermittent invalids ( %0.3-%0.8 ) and the Icarus units seem to throw a greater amount.  Has anyone noticed similar behavior?

    I haven't yet tried running 2 instances of version 0.1.0b and I wanted to ask where to specify the log/monitoring port for a second instance.  I didn't see any reference to the port in the config file. Port settings are in the UI for the frontend, I will give it a try.


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: TheSeven on April 10, 2012, 10:30:16 AM
    Using the testing branch, I get this error on my Mac:

    Quote
    2012-04-09 17:26:20.918   [100]   X6500 worker - AH00WI18: Traceback (most recent call last):
      File "/Users/charlie/Modular-Python-Bitcoin-Miner/modules/fpgamining/x6500/x6500worker.py", line 208, in main
        data = self.rxconn.recv()
    EOFError

    Any ideas?

    The real error message is probably a couple of lines above that.
    This one just means that the board proxy connection closed unexpectedly. The proxy should have reported an error before dying.


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: TheSeven on April 10, 2012, 10:32:34 AM
    Try the testing branch. It seems to fix that error.

    Switching to the test branch fixed the int/iterate error.  Running perfectly now, thanks.


    On a separate note I wanted to mention an observation and see if anyone else is noticing the same behavior.  It seems that mixing different flavor FPGAs in a single instance of MPBM has will cause more frequent invalids across all FPGAs for both version 0.0.4a and 0.1.0b.  If I separate the x6500s from Icarus units and run each in it's own instance of MPBM, I get significantly fewer invalids.  I know ngzhang had mentioned that Icarus had some minor protocol bugs that account for some invalids, but the x6500s really seem to highlight the problem.  If I run them alone, I can run the 200mhz bitstream for 24+ hours with 0 invalids, but if I add some Icarus units to the same config, the x6500s start throwing intermittent invalids ( %0.3-%0.8 ) and the Icarus units seem to throw a greater amount.  Has anyone noticed similar behavior?

    I haven't yet tried running 2 instances of version 0.1.0b and I wanted to ask where to specify the log/monitoring port for a second instance.  I didn't see any reference to the port in the config file.

    I have no explanation for that kind of behavior. A couple more stales maybe, but invalids just don't make sense. I'm tempted to blame variance...

    To run multiple v0.1.x instances, start up one instance and move its WebUI to a different port number in its frontend settings. Then start another one, etc.


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: coblee on April 10, 2012, 03:51:55 PM
    Using the testing branch, I get this error on my Mac:

    Quote
    2012-04-09 17:26:20.918   [100]   X6500 worker - AH00WI18: Traceback (most recent call last):
      File "/Users/charlie/Modular-Python-Bitcoin-Miner/modules/fpgamining/x6500/x6500worker.py", line 208, in main
        data = self.rxconn.recv()
    EOFError

    Any ideas?

    The real error message is probably a couple of lines above that.
    This one just means that the board proxy connection closed unexpectedly. The proxy should have reported an error before dying.

    No other error in log, but my Mac did throw up this dialog with an error in Python:

    Code:
    Process:         Python [65198]
    Path:            /Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python
    Identifier:      Python
    Version:         ??? (???)
    Code Type:       X86-64 (Native)
    Parent Process:  Python [38184]

    Date/Time:       2012-04-10 08:49:41.592 -0700
    OS Version:      Mac OS X 10.6.8 (10K549)
    Report Version:  6

    Interval Since Last Report:          605434 sec
    Crashes Since Last Report:           75
    Per-App Crashes Since Last Report:   74
    Anonymous UUID:                      DCA0F194-0D4B-4F5C-A3E3-45B04B466E1A

    Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
    Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000008
    Crashed Thread:  1

    Application Specific Information:
    *** multi-threaded process forked ***

    Thread 0:
    0   libSystem.B.dylib              0x00007fff85022a6a __semwait_signal + 10
    1   libSystem.B.dylib              0x00007fff850228f9 nanosleep + 148
    2   libSystem.B.dylib              0x00007fff85022863 usleep + 57
    3   libusb-1.0.dylib              0x00000001015f1b5a darwin_init + 170
    4   libusb-1.0.dylib              0x00000001015ec8a5 libusb_init + 133
    5   _ctypes.so                    0x0000000102790574 ffi_call_unix64 + 76
    6   _ctypes.so                    0x00000001027910e9 ffi_call + 537
    7   _ctypes.so                    0x000000010278b50f _ctypes_callproc + 895
    8   _ctypes.so                    0x000000010278345f PyCFuncPtr_call + 303
    9   org.python.python              0x000000010000c5e2 PyObject_Call + 98
    10  org.python.python              0x00000001000be5f3 PyEval_EvalFrameEx + 11587
    11  org.python.python              0x00000001000c2d29 PyEval_EvalCodeEx + 2137
    12  org.python.python              0x000000010003da80 function_call + 176
    13  org.python.python              0x000000010000c5e2 PyObject_Call + 98
    14  org.python.python              0x000000010001ebcb instancemethod_call + 363
    15  org.python.python              0x000000010000c5e2 PyObject_Call + 98
    16  org.python.python              0x0000000100077a68 slot_tp_init + 88
    17  org.python.python              0x0000000100074e65 type_call + 245
    18  org.python.python              0x000000010000c5e2 PyObject_Call + 98
    19  org.python.python              0x00000001000be5f3 PyEval_EvalFrameEx + 11587
    20  org.python.python              0x00000001000c1ebe PyEval_EvalFrameEx + 26126
    21  org.python.python              0x00000001000c2d29 PyEval_EvalCodeEx + 2137
    22  org.python.python              0x00000001000c0b6a PyEval_EvalFrameEx + 21178
    23  org.python.python              0x00000001000c2d29 PyEval_EvalCodeEx + 2137
    24  org.python.python              0x000000010003da80 function_call + 176
    25  org.python.python              0x000000010000c5e2 PyObject_Call + 98
    26  org.python.python              0x000000010001ebcb instancemethod_call + 363
    27  org.python.python              0x000000010000c5e2 PyObject_Call + 98
    28  org.python.python              0x0000000100077a68 slot_tp_init + 88
    29  org.python.python              0x0000000100074e65 type_call + 245
    30  org.python.python              0x000000010000c5e2 PyObject_Call + 98
    31  org.python.python              0x00000001000be5f3 PyEval_EvalFrameEx + 11587
    32  org.python.python              0x00000001000c1ebe PyEval_EvalFrameEx + 26126
    33  org.python.python              0x00000001000c2d29 PyEval_EvalCodeEx + 2137
    34  org.python.python              0x000000010003da80 function_call + 176
    35  org.python.python              0x000000010000c5e2 PyObject_Call + 98
    36  org.python.python              0x000000010001ebcb instancemethod_call + 363
    37  org.python.python              0x000000010000c5e2 PyObject_Call + 98
    38  org.python.python              0x00000001000ba5f7 PyEval_CallObjectWithKeywords + 87
    39  org.python.python              0x0000000100021e5e PyInstance_New + 126
    40  org.python.python              0x000000010000c5e2 PyObject_Call + 98
    41  org.python.python              0x00000001000be5f3 PyEval_EvalFrameEx + 11587
    42  org.python.python              0x00000001000c1ebe PyEval_EvalFrameEx + 26126
    43  org.python.python              0x00000001000c1ebe PyEval_EvalFrameEx + 26126
    44  org.python.python              0x00000001000c2d29 PyEval_EvalCodeEx + 2137
    45  org.python.python              0x000000010003da80 function_call + 176
    46  org.python.python              0x000000010000c5e2 PyObject_Call + 98
    47  org.python.python              0x000000010001ebcb instancemethod_call + 363
    48  org.python.python              0x000000010000c5e2 PyObject_Call + 98
    49  org.python.python              0x0000000100077a68 slot_tp_init + 88
    50  org.python.python              0x0000000100074e65 type_call + 245
    51  org.python.python              0x000000010000c5e2 PyObject_Call + 98
    52  org.python.python              0x00000001000be5f3 PyEval_EvalFrameEx + 11587
    53  org.python.python              0x00000001000c1ebe PyEval_EvalFrameEx + 26126
    54  org.python.python              0x00000001000c2d29 PyEval_EvalCodeEx + 2137
    55  org.python.python              0x000000010003da80 function_call + 176
    56  org.python.python              0x000000010000c5e2 PyObject_Call + 98
    57  org.python.python              0x00000001000bd53c PyEval_EvalFrameEx + 7308
    58  org.python.python              0x00000001000c1ebe PyEval_EvalFrameEx + 26126
    59  org.python.python              0x00000001000c1ebe PyEval_EvalFrameEx + 26126
    60  org.python.python              0x00000001000c2d29 PyEval_EvalCodeEx + 2137
    61  org.python.python              0x000000010003da80 function_call + 176
    62  org.python.python              0x000000010000c5e2 PyObject_Call + 98
    63  org.python.python              0x000000010001ebcb instancemethod_call + 363
    64  org.python.python              0x000000010000c5e2 PyObject_Call + 98
    65  org.python.python              0x00000001000ba5f7 PyEval_CallObjectWithKeywords + 87
    66  org.python.python              0x0000000100100a63 t_bootstrap + 67
    67  libSystem.B.dylib              0x00007fff85020fd6 _pthread_start + 331
    68  libSystem.B.dylib              0x00007fff85020e89 thread_start + 13

    Thread 1 Crashed:
    0   com.apple.CoreFoundation      0x00007fff81b37fb7 CFRunLoopAddSource + 71
    1   libusb-1.0.dylib              0x00000001015f1be8 event_thread_main + 120
    2   libSystem.B.dylib              0x00007fff85020fd6 _pthread_start + 331
    3   libSystem.B.dylib              0x00007fff85020e89 thread_start + 13

    Thread 1 crashed with X86 Thread State (64-bit):
      rax: 0x0000000000000075  rbx: 0x00007fff703ec390  rcx: 0x00007fff84ffa272  rdx: 0x0000000000000000
      rdi: 0x0000000000000002  rsi: 0x00007fff81c2a868  rbp: 0x0000000106b80ed0  rsp: 0x0000000106b80e90
       r8: 0x0000000106b80eaf   r9: 0x0000000000000001  r10: 0x00007fff84ffa272  r11: 0x0000000000000202
      r12: 0x00000001099cc350  r13: 0x00007fff703ec390  r14: 0x0000000000000000  r15: 0x0000000109e15820
      rip: 0x00007fff81b37fb7  rfl: 0x0000000000010246  cr2: 0x0000000000000008

    Binary Images:
           0x100000000 -        0x100000fff +org.python.python 2.7.2 (2.7.2) <639E72E4-F205-C034-8E34-E59DE9C46369> /Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python
           0x100003000 -        0x10016cfef +org.python.python 2.7.2, (c) 2004-2011 Python Software Foundation. (2.7.2) <49D18B1A-C92D-E32E-A7C1-086D0B14BD76> /Library/Frameworks/Python.framework/Versions/2.7/Python
           0x1002ec000 -        0x1002eefff +time.so ??? (???) <77136671-9973-6EFB-9A2D-127664836672> /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/time.so
           0x1002f4000 -        0x1002f7ff7 +strop.so ??? (???) <F7857283-F427-7CF7-9B0D-7619AA0A82F1> /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/strop.so
           0x1002fc000 -        0x1002fdff7 +_functools.so ??? (???) <755EA750-0AF2-4887-4C25-703D7366BB37> /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_functools.so
           0x1004f0000 -        0x1004f4ff7 +operator.so ??? (???) <CAD2CA2D-4216-507D-BD3E-3CE5FD1AC228> /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/operator.so
           0x10053b000 -        0x10053dfff +_locale.so ??? (???) <7F398010-BCF7-FF58-065C-85B45DF4FC03> /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_locale.so
           0x100541000 -        0x100545fff +_struct.so ??? (???) <8FFF4DE5-5CF1-5DFD-ADE0-5AAD633838BF> /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_struct.so
           0x10054c000 -        0x10054ffef +binascii.so ??? (???) <89F159C8-99E7-6BB0-4829-3C441378FF07> /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/binascii.so
           0x100553000 -        0x100554fff +cStringIO.so ??? (???) <364F2486-CB7C-0DA0-C419-F3BCE469B261> /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/cStringIO.so
           0x100559000 -        0x100567fff +datetime.so ??? (???) <710107D4-44E6-D559-D71B-2D59CCC8966E> /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/datetime.so
           0x1005b3000 -        0x1005b7fff +_collections.so ??? (???) <101CE794-99F9-CF85-B3DF-B2ACA887CEDB> /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_collections.so
           0x1005bd000 -        0x1005c4ff7 +itertools.so ??? (???) <87448276-955A-B859-0CCB-35A9834894A7> /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/itertools.so
           0x1005cf000 -        0x1005cffff +_bisect.so ??? (???) <0872429A-9467-F3F6-BA8E-CCF6C9AD4FB5> /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_bisect.so
           0x1005d2000 -        0x1005d3ff7 +_heapq.so ??? (???) <22FEED03-4F6C-2499-DC3B-952791344ABD> /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_heapq.so
           0x100617000 -        0x10061afff +_multiprocessing.so ??? (???) <88934565-4DA9-F2F8-A0A4-66E3A8879267> /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_multiprocessing.so
           0x10061f000 -        0x10062eff7 +cPickle.so ??? (???) <190F516F-97F6-7258-29D3-F8B23CF04C50> /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/cPickle.so
           0x100636000 -        0x100637fff +_hashlib.so ??? (???) <609B0E50-C9BD-9B88-9177-FFBAFED033ED> /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_hashlib.so
           0x10073b000 -        0x100740fff +_json.so ??? (???) <70ACC7E0-56A9-2B65-7370-A11C4B06A13C> /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_json.so
           0x100745000 -        0x10074afff +array.so ??? (???) <88248C2B-CFF2-71B4-2511-09B994E36CE9> /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/array.so
           0x100751000 -        0x100758fff +_socket.so ??? (???) <47EC3750-BA57-53BB-8088-8CB89C10AC16> /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_socket.so
           0x100762000 -        0x100766ff7 +_ssl.so ??? (???) <4936BA04-9ACD-2DAF-56C1-E5F51CBB2BA0> /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_ssl.so
           0x1007ac000 -        0x1007b1fef +math.so ??? (???) <BB711560-6A83-84BF-316C-9337CE845D0D> /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/math.so
           0x1007b8000 -        0x1007b9fff +_random.so ??? (???) <54585B5D-1999-A6CC-9CEB-34F759F0438F> /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_random.so
           0x1007bc000 -        0x1007bdff7 +fcntl.so ??? (???) <A147C2B8-5A06-D0C5-C60F-6BC316D73FAA> /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/fcntl.so
           0x101100000 -        0x101101fff +termios.so ??? (???) <43FCCF9A-C66E-DE5B-0F7D-1028A41F9263> /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/termios.so
           0x101106000 -        0x101109fff +select.so ??? (???) <E30C1A76-F0AA-FA2B-9D48-975AFB586986> /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/select.so
           0x10110f000 -        0x101124fff +_io.so ??? (???) <7A9EA5F2-75D9-F13A-7FDB-AD6841880B07> /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_io.so
           0x10113b000 -        0x10113bfff +grp.so ??? (???) <9133BC7F-65D3-5CFB-ACCC-8F1F9478FF2E> /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/grp.so
           0x10117e000 -        0x10117efff +_scproxy.so ??? (???) <89155F35-5A65-8AF1-BC1B-5208151D0B68> /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_scproxy.so
           0x1011c1000 -        0x1011c7fff +_d2xx.so ??? (???) <2FFBED77-5D30-989A-078F-5CCC3625F613> /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/d2xx/_d2xx.so
           0x1011cc000 -        0x1011e8ff7 +libftd2xx.1.0.4.dylib 1.0.4 (compatibility 0.1.0) <1A36F49C-F006-F267-F680-2C1E6354C852> /usr/local/lib/libftd2xx.1.0.4.dylib
           0x101500000 -        0x101594fff +unicodedata.so ??? (???) <ADFDD85B-8565-4697-8921-B95F6B0C1886> /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/unicodedata.so
           0x1015eb000 -        0x1015f4ff7 +libusb-1.0.dylib ??? (???) <6715990C-3A0B-43AA-E976-2231B3569F67> /usr/local/lib/libusb-1.0.dylib
           0x102780000 -        0x102796fff +_ctypes.so ??? (???) <C5FE5EC4-F979-6AAA-C324-BD806FF6ECCC> /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_ctypes.so
        0x7fff5fc00000 -     0x7fff5fc3bdef  dyld 132.1 (???) <472D950D-70F8-B810-A959-9184C2AA6C74> /usr/lib/dyld
        0x7fff80750000 -     0x7fff80754ff7  libmathCommon.A.dylib 315.0.0 (compatibility 1.0.0) <95718673-FEEE-B6ED-B127-BCDBDB60D4E5> /usr/lib/system/libmathCommon.A.dylib
        0x7fff80773000 -     0x7fff807b0ff7  libssl.0.9.8.dylib 0.9.8 (compatibility 0.9.8) <F743389F-F25A-A77D-4FCA-D6B01AF2EE6D> /usr/lib/libssl.0.9.8.dylib
        0x7fff80893000 -     0x7fff809b2fe7  libcrypto.0.9.8.dylib 0.9.8 (compatibility 0.9.8) <14115D29-432B-CF02-6B24-A60CC533A09E> /usr/lib/libcrypto.0.9.8.dylib
        0x7fff81078000 -     0x7fff8112eff7  libobjc.A.dylib 227.0.0 (compatibility 1.0.0) <03140531-3B2D-1EBA-DA7F-E12CC8F63969> /usr/lib/libobjc.A.dylib
        0x7fff81b02000 -     0x7fff81c79fe7  com.apple.CoreFoundation 6.6.6 (550.44) <BB4E5158-E47A-39D3-2561-96CB49FA82D4> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
        0x7fff83170000 -     0x7fff83181ff7  libz.1.dylib 1.2.3 (compatibility 1.0.0) <FB5EE53A-0534-0FFA-B2ED-486609433717> /usr/lib/libz.1.dylib
        0x7fff84f86000 -     0x7fff84fe6fe7  com.apple.framework.IOKit 2.0 (???) <4F071EF0-8260-01E9-C641-830E582FA416> /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
        0x7fff84fe7000 -     0x7fff851a8fef  libSystem.B.dylib 125.2.11 (compatibility 1.0.0) <9AB4F1D1-89DC-0E8A-DC8E-A4FE4D69DB69> /usr/lib/libSystem.B.dylib
        0x7fff8591e000 -     0x7fff8595ffff  com.apple.SystemConfiguration 1.10.8 (1.10.2) <78D48D27-A9C4-62CA-2803-D0BBED82855A> /System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfiguration
        0x7fff85a1a000 -     0x7fff85a97fef  libstdc++.6.dylib 7.9.0 (compatibility 7.0.0) <35ECA411-2C08-FD7D-11B1-1B7A04921A5C> /usr/lib/libstdc++.6.dylib
        0x7fff8637c000 -     0x7fff8637dff7  com.apple.TrustEvaluationAgent 1.1 (1) <74800EE8-C14C-18C9-C208-20BBDB982D40> /System/Library/PrivateFrameworks/TrustEvaluationAgent.framework/Versions/A/TrustEvaluationAgent
        0x7fff88235000 -     0x7fff88281fff  libauto.dylib ??? (???) <F7221B46-DC4F-3153-CE61-7F52C8C293CF> /usr/lib/libauto.dylib
        0x7fff882cc000 -     0x7fff882daff7  libkxld.dylib ??? (???) <8145A534-95CC-9F3C-B78B-AC9898F38C6F> /usr/lib/system/libkxld.dylib
        0x7fff89145000 -     0x7fff89303fff  libicucore.A.dylib 40.0.0 (compatibility 1.0.0) <4274FC73-A257-3A56-4293-5968F3428854> /usr/lib/libicucore.A.dylib
        0x7fffffe00000 -     0x7fffffe01fff  libSystem.B.dylib ??? (???) <9AB4F1D1-89DC-0E8A-DC8E-A4FE4D69DB69> /usr/lib/libSystem.B.dylib

    Model: iMac11,3, BootROM IM112.0057.B00, 4 processors, Intel Core i7, 2.93 GHz, 12 GB, SMC 1.59f2
    Graphics: ATI Radeon HD 5750, ATI Radeon HD 5750, PCIe, 1024 MB
    Memory Module: global_name
    AirPort: spairport_wireless_card_type_airport_extreme (0x168C, 0x8F), Atheros 9280: 2.1.14.6
    Bluetooth: Version 2.4.5f3, 2 service, 19 devices, 1 incoming serial ports
    Network Service: Ethernet, Ethernet, en0
    Serial ATA Device: OPTIARC DVD RW AD-5680H
    Serial ATA Device: APPLE SSD TS256B, 233.76 GB
    USB Device: Hub, 0x0424  (SMSC), 0x2514, 0xfa100000 / 2
    USB Device: Internal Memory Card Reader, 0x05ac  (Apple Inc.), 0x8403, 0xfa120000 / 4
    USB Device: USB 2.0 Hub [MTT], 0x1a40  (TERMINUS TECHNOLOGY INC.), 0x0201, 0xfa130000 / 6
    USB Device: FT232R USB UART, 0x0403  (Future Technology Devices International Limited), 0x6001, 0xfa136000 / 12
    USB Device: FT232R USB UART, 0x0403  (Future Technology Devices International Limited), 0x6001, 0xfa135000 / 11
    USB Device: USB 2.0 Hub, 0x1a40  (TERMINUS TECHNOLOGY INC.), 0x0101, 0xfa137000 / 10
    USB Device: USB-Serial Controller D, 0x067b  (Prolific Technology, Inc.), 0x2303, 0xfa132000 / 9
    USB Device: USB-Serial Controller D, 0x067b  (Prolific Technology, Inc.), 0x2303, 0xfa131000 / 8
    USB Device: Keyboard Hub, 0x05ac  (Apple Inc.), 0x1006, 0xfa140000 / 5
    USB Device: Apple Keyboard, 0x05ac  (Apple Inc.), 0x0220, 0xfa142000 / 13
    USB Device: BRCM2046 Hub, 0x0a5c  (Broadcom Corp.), 0x4500, 0xfa110000 / 3
    USB Device: Bluetooth USB Host Controller, 0x05ac  (Apple Inc.), 0x8215, 0xfa111000 / 7
    USB Device: Hub, 0x0424  (SMSC), 0x2514, 0xfd100000 / 2
    USB Device: iPhone, 0x05ac  (Apple Inc.), 0x1297, 0xfd140000 / 5
    USB Device: IR Receiver, 0x05ac  (Apple Inc.), 0x8242, 0xfd120000 / 3
    USB Device: Built-in iSight, 0x05ac  (Apple Inc.), 0x8502, 0xfd110000 / 4


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: TheSeven on April 10, 2012, 06:23:59 PM
    Hm, that looks like a Python or OpenUSB/LibUSB/PyUSB bug. You might want to try a different Python/PyUSB version.


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: coblee on April 10, 2012, 06:27:37 PM
    Hm, that looks like a Python or OpenUSB/LibUSB/PyUSB bug. You might want to try a different Python/PyUSB version.

    Ok, just FYI. This worked with the previous version of MPBM. So the new web-based version is doing something different.


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: coblee on April 11, 2012, 03:25:24 AM
    Hm, that looks like a Python or OpenUSB/LibUSB/PyUSB bug. You might want to try a different Python/PyUSB version.

    Ok, just FYI. This worked with the previous version of MPBM. So the new web-based version is doing something different.

    I tried both pyusb-1.0.0-a0 and pyusb-1.0.0a2 and neither worked. I switched back to v0.0.4 and my x6500 boards are working again. Any ideas?

    Honestly, I like v0.0.4 better. It's much easier to spot if anything is wrong with my miners. The latest has a lot of stats, but most of them don't mean much to me. So it makes it harder for me to find the important ones like hashrate and stales. You should consider make it adjustable so I could hide the stats I don't care about.



    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: TheSeven on April 11, 2012, 11:04:31 AM
    Hm, that looks like a Python or OpenUSB/LibUSB/PyUSB bug. You might want to try a different Python/PyUSB version.

    Ok, just FYI. This worked with the previous version of MPBM. So the new web-based version is doing something different.

    I tried both pyusb-1.0.0-a0 and pyusb-1.0.0a2 and neither worked. I switched back to v0.0.4 and my x6500 boards are working again. Any ideas?

    Honestly, I like v0.0.4 better. It's much easier to spot if anything is wrong with my miners. The latest has a lot of stats, but most of them don't mean much to me. So it makes it harder for me to find the important ones like hashrate and stales. You should consider make it adjustable so I could hide the stats I don't care about.

    If it works with v0.0.4 this points towards an issue with forking. In v0.0.x everything was running in a single process, since v0.1.x the computationally intensive parts of some worker modules (x6500 and ztex) have been moved to out-of-process board proxys, which are created by forking the main process. This was neccessary to allow MPBM to use multiple processor cores for bigger clusters.

    I know that the UI needs some improvement, however I'm pretty busy these days and thus focus on a stable backend for now. Feel free to submit a patch :)


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: freshzive on April 12, 2012, 05:06:00 AM
    Hm, that looks like a Python or OpenUSB/LibUSB/PyUSB bug. You might want to try a different Python/PyUSB version.

    Ok, just FYI. This worked with the previous version of MPBM. So the new web-based version is doing something different.

    I tried both pyusb-1.0.0-a0 and pyusb-1.0.0a2 and neither worked. I switched back to v0.0.4 and my x6500 boards are working again. Any ideas?

    Honestly, I like v0.0.4 better. It's much easier to spot if anything is wrong with my miners. The latest has a lot of stats, but most of them don't mean much to me. So it makes it harder for me to find the important ones like hashrate and stales. You should consider make it adjustable so I could hide the stats I don't care about.



    No matter what I do, I can't get this to work correctly on a mac. Tried different versions of python/pyUSB/libusb, but nothing. 0.4 runs beautifully out of the box, guess I'll stick with that for now.


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: coblee on April 12, 2012, 05:33:09 AM
    Hm, that looks like a Python or OpenUSB/LibUSB/PyUSB bug. You might want to try a different Python/PyUSB version.

    Ok, just FYI. This worked with the previous version of MPBM. So the new web-based version is doing something different.

    I tried both pyusb-1.0.0-a0 and pyusb-1.0.0a2 and neither worked. I switched back to v0.0.4 and my x6500 boards are working again. Any ideas?

    Honestly, I like v0.0.4 better. It's much easier to spot if anything is wrong with my miners. The latest has a lot of stats, but most of them don't mean much to me. So it makes it harder for me to find the important ones like hashrate and stales. You should consider make it adjustable so I could hide the stats I don't care about.



    No matter what I do, I can't get this to work correctly on a mac. Tried different versions of python/pyUSB/libusb, but nothing. 0.4 runs beautifully out of the box, guess I'll stick with that for now.

    Yes, I'm on a Mac too. And I've reverted back to 0.0.4. TheSeven, let me know if there's anything we can do to help get this fixed for the Mac.


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: hashking on April 12, 2012, 06:22:34 PM
    It seems like Im getting a very high rate of rejects on gpumax.  Over 10%.  Is this normal.


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: TheSeven on April 12, 2012, 07:51:36 PM
    It seems like Im getting a very high rate of rejects on gpumax.  Over 10%.  Is this normal.

    It definitely isn't.
    There were some GPUMAX issues that have been fixed in the past, but it looks like we missed some :/
    However, as the GPUMAX guys refuse to send me an invite since months, I can't really do anything about that. >:(


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: LoWang on April 13, 2012, 03:30:27 PM
    Yes, I'm on a Mac too. And I've reverted back to 0.0.4. TheSeven, let me know if there's anything we can do to help get this fixed for the Mac.

    Hello Coblee I wrote you several times in the offical LTC thread, then I PM you but you still don't respond. I wrote you private message on #litecoin IRC but you ignored it. Are you that busy or is there some other reason why you ignore me? Thank you


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: coblee on April 13, 2012, 04:13:45 PM
    Yes, I'm on a Mac too. And I've reverted back to 0.0.4. TheSeven, let me know if there's anything we can do to help get this fixed for the Mac.

    Hello Coblee I wrote you several times in the offical LTC thread, then I PM you but you still don't respond. I wrote you private message on #litecoin IRC but you ignored it. Are you that busy or is there some other reason why you ignore me? Thank you

    Sorry for ignoring you, I will send you PM.


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: hashking on April 14, 2012, 02:12:29 PM
    It seems like Im getting a very high rate of rejects on gpumax.  Over 10%.  Is this normal.

    It definitely isn't.
    There were some GPUMAX issues that have been fixed in the past, but it looks like we missed some :/
    However, as the GPUMAX guys refuse to send me an invite since months, I can't really do anything about that. >:(

    I can let you borrow my gpumax account so you can fix the issues with it.


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: Garr255 on April 15, 2012, 07:51:09 AM
    I already offered, he seems convinced to convince the gpumax guys to give him one of his own :P


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: hashking on April 15, 2012, 04:28:13 PM
    This would be a very important item to fix for this miner.  Would a bounty to fix this speed up things.  


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: BR0KK on April 16, 2012, 10:03:48 AM
    Im preparing to get one of the newly announced Ztex 1.15y Quad Spartan Boards. If i have it in my hands you could have a look at it when u like (for implementing support into MPBM) As i described i could offer u Remote Access to all of my Boards via Teamviewer etc :)

    €:
    Got one yesterday and its hashing nicely since then :P

    Could you get anything new about Ztex and your licensing problem?


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: hashking on May 02, 2012, 02:32:12 AM
    Here is the error I keep getting with GPUMAX.  Can you please fix this.  Thanks.


    2012-05-01 21:30:15.310   [200]   GPUMAX: Error while fetching job: Traceback (most recent call last):
      File "C:\Users\Desktop\X6500_Easy_Package_For_Windows\mpbm-v0.1.0beta\core\actualworksource.py", line 155, in get_job
        jobs = self._get_job()
      File "C:\Users\Desktop\X6500_Easy_Package_For_Windows\mpbm-v0.1.0beta\modules\theseven\bcjsonrpc\bcjsonrpcworksource.py", line 120, in _get_job
        conn.request("POST", self.settings.path, req, headers)
      File "c:\Program Files (x86)\Python32\lib\http\client.py", line 964, in request
      File "c:\Program Files (x86)\Python32\lib\http\client.py", line 1002, in _send_request
      File "c:\Program Files (x86)\Python32\lib\http\client.py", line 960, in endheaders
      File "c:\Program Files (x86)\Python32\lib\http\client.py", line 805, in _send_output
      File "c:\Program Files (x86)\Python32\lib\http\client.py", line 743, in send
      File "c:\Program Files (x86)\Python32\lib\http\client.py", line 721, in connect
      File "c:\Program Files (x86)\Python32\lib\socket.py", line 386, in create_connection
    socket.gaierror: [Errno 11004] getaddrinfo failed


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: TheSeven on May 02, 2012, 08:26:44 AM
    Here is the error I keep getting with GPUMAX.  Can you please fix this.  Thanks.


    2012-05-01 21:30:15.310   [200]   GPUMAX: Error while fetching job: Traceback (most recent call last):
      File "C:\Users\Desktop\X6500_Easy_Package_For_Windows\mpbm-v0.1.0beta\core\actualworksource.py", line 155, in get_job
        jobs = self._get_job()
      File "C:\Users\Desktop\X6500_Easy_Package_For_Windows\mpbm-v0.1.0beta\modules\theseven\bcjsonrpc\bcjsonrpcworksource.py", line 120, in _get_job
        conn.request("POST", self.settings.path, req, headers)
      File "c:\Program Files (x86)\Python32\lib\http\client.py", line 964, in request
      File "c:\Program Files (x86)\Python32\lib\http\client.py", line 1002, in _send_request
      File "c:\Program Files (x86)\Python32\lib\http\client.py", line 960, in endheaders
      File "c:\Program Files (x86)\Python32\lib\http\client.py", line 805, in _send_output
      File "c:\Program Files (x86)\Python32\lib\http\client.py", line 743, in send
      File "c:\Program Files (x86)\Python32\lib\http\client.py", line 721, in connect
      File "c:\Program Files (x86)\Python32\lib\socket.py", line 386, in create_connection
    socket.gaierror: [Errno 11004] getaddrinfo failed

    This looks like a GPUMAX-side or configuration problem that I can't do anything about.
    It basically means that the DNS name that the work source is using could not be resolved.
    Judging from the GPUMAX thread it has been pretty much dead recently, with most IP addresses locked out, so could it be just that?


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: nbtcminer on May 04, 2012, 09:12:54 PM
    Can anyone help me out with some reqs / initial setup instructions on how to get a BFL single to work with MPBM 0.1.0? Thanks in advance for the help!


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: TheSeven on May 04, 2012, 11:13:45 PM
    Can anyone help me out with some reqs / initial setup instructions on how to get a BFL single to work with MPBM 0.1.0? Thanks in advance for the help!

    Which operating system?

    On Linux it's mostly "plug the BFLs, unzip MPBM, start it, configure the pools etc.".


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: nbtcminer on May 05, 2012, 11:04:52 AM
    Can anyone help me out with some reqs / initial setup instructions on how to get a BFL single to work with MPBM 0.1.0? Thanks in advance for the help!

    Which operating system?

    On Linux it's mostly "plug the BFLs, unzip MPBM, start it, configure the pools etc.".

    Sorry forgot to add that important part in; Windows 7 Pro X64


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: TheSeven on May 05, 2012, 01:40:52 PM
    Install the FTDI drivers (just like for any other BFL miner software), and then either:
    1. install python and pyserial, clone mpbm git
    2. use prebuilt package from the first post of this thread (a bit outdated right now)


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: shad on May 11, 2012, 08:54:09 PM
    mpbm latest testing from github running on openwrt Attitude Adjustment (r30753)

    i think python and pyusb are the only packages needed


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: macbook-air on May 12, 2012, 12:09:07 PM

    I've just got my BFL Single, but MPBM reports frequent "Bad ZDX response", and the mining speed is only around 500 MH/s. cgminer also does have a similar problem.

    Code:
    2012-05-12 20:00:17.670746 [  0]: Modular Python Bitcoin Miner v0.1.0beta, Copyright (C) 2012 Michael Sparmann (TheSeven)
    2012-05-12 20:00:17.671008 [  0]: Modular Python Bitcoin Miner comes with ABSOLUTELY NO WARRANTY.
    2012-05-12 20:00:17.671165 [  0]: This is free software, and you are welcome to redistribute it under certain conditions.
    2012-05-12 20:00:17.671306 [  0]: See included file COPYING_GPLv2.txt for details.
    2012-05-12 20:00:17.671445 [  0]: Please consider donating to 1PLAPWDejJPJnY2ppYCgtw5ko8G5Q4hPzh or,
    2012-05-12 20:00:17.671582 [  0]: even better, donating a small share of your hashing power if you want
    2012-05-12 20:00:17.671718 [  0]: to support further development of the Modular Python Bitcoin Miner.
    2012-05-12 20:00:17.676733 [500]: Core: Loading modules...
    2012-05-12 20:00:17.871851 [100]: Core: Starting up...
    2012-05-12 20:00:17.900358 [200]: Core: Startup completed
    2012-05-12 20:00:17.913036 [400]: BFL Single worker: Firmware: BitFORCE SHA256 Version 1.0
    2012-05-12 20:00:18.327170 [300]: Icarus worker: Running at 371.855990 MH/s
    2012-05-12 20:00:18.327324 [400]: Icarus worker: Job interval: 8.240066 seconds
    2012-05-12 20:00:18.449713 [500]: Found long polling URL for bitparking: http://i0pool.bitparking.com:15082/longpoll
    2012-05-12 20:00:18.452965 [300]: bitparking: New block detected
    2012-05-12 20:00:18.453808 [400]: Mining bitparking:00000001b886aee08564a234f265043af8354fac63d11e653834c95a0000049700000000a6a7a8605fccfd032510efd0519411061cc225e847ece92a02da4253f6c917d54fae50d11a09ae02 on BFL Single worker
    2012-05-12 20:00:18.453621 [500]: bitparking: Got 1 jobs from getwork response
    2012-05-12 20:00:18.751233 [400]: Mining bitparking:00000001b886aee08564a234f265043af8354fac63d11e653834c95a00000497000000001110c6754561fed2520a69b7283d84e8a5b9d9aa3e9019897217b920461b28d34fae50d11a09ae02 on Icarus worker
    2012-05-12 20:00:18.751030 [500]: bitparking: Got 1 jobs from getwork response
    2012-05-12 20:00:18.919687 [500]: Found long polling URL for deepbit: http://pit.deepbit.net:8332/listenChannel
    2012-05-12 20:00:18.922656 [500]: deepbit: Got 1 jobs from getwork response
    2012-05-12 20:00:19.064498 [500]: bitparking: Got 1 jobs from getwork response
    2012-05-12 20:00:19.497807 [500]: deepbit: Got 1 jobs from getwork response
    2012-05-12 20:00:20.179701 [500]: bitparking: Got 1 jobs from getwork response
    2012-05-12 20:00:21.202397 [500]: bitparking: Got 1 jobs from getwork response
    2012-05-12 20:00:23.148455 [500]: bitparking: Got 1 jobs from getwork response
    2012-05-12 20:00:23.836496 [400]: Mining deepbit:00000001b886aee08564a234f265043af8354fac63d11e653834c95a00000497000000006927ccfe0e8a840a2846250e7c3ec2a561d17c888ae02a8db5e6dce87bebd15f4fae50c21a09ae02 on BFL Single worker
    2012-05-12 20:00:26.200430 [500]: bitparking: Got 1 jobs from getwork response
    2012-05-12 20:00:26.992940 [400]: Mining bitparking:00000001b886aee08564a234f265043af8354fac63d11e653834c95a00000497000000005fb0fda2cfa1c1650a3523a5956c0c660c7738cc37240baaafbf9de5d846745c4fae50d11a09ae02 on Icarus worker
    2012-05-12 20:00:29.112439 [400]: Mining deepbit:00000001b886aee08564a234f265043af8354fac63d11e653834c95a000004970000000057be3492542037c109ede3f82e497a3981ec484b1ab168deb3ddfed43f6d250f4fae50c31a09ae02 on BFL Single worker
    2012-05-12 20:00:29.197596 [500]: bitparking: Got 1 jobs from getwork response
    2012-05-12 20:00:32.199203 [500]: bitparking: Got 1 jobs from getwork response
    2012-05-12 20:00:34.389531 [350]: BFL Single worker found share: deepbit:00000001b886aee08564a234f265043af8354fac63d11e653834c95a000004970000000057be3492542037c109ede3f82e497a3981ec484b1ab168deb3ddfed43f6d250f4fae50c31a09ae02:59ffb2a0
    2012-05-12 20:00:34.392643 [400]: Mining bitparking:00000001b886aee08564a234f265043af8354fac63d11e653834c95a000004970000000089af824fb1a8f7aadcb2ce42be20667cdd353137a582997f638f51432492d0524fae50d31a09ae02 on BFL Single worker
    2012-05-12 20:00:34.690270 [500]: bitparking: Got 1 jobs from getwork response
    2012-05-12 20:00:35.235561 [400]: Mining bitparking:00000001b886aee08564a234f265043af8354fac63d11e653834c95a0000049700000000ec8ae64c757b627cd611cf04adb1932601a008a5aa434039797c576cea2b58634fae50d41a09ae02 on Icarus worker
    2012-05-12 20:00:35.407894 [250]: deepbit accepted share 59ffb2a0 (difficulty 1.02734)
    2012-05-12 20:00:38.213023 [500]: bitparking: Got 1 jobs from getwork response
    2012-05-12 20:00:39.668938 [350]: BFL Single worker found share: bitparking:00000001b886aee08564a234f265043af8354fac63d11e653834c95a000004970000000089af824fb1a8f7aadcb2ce42be20667cdd353137a582997f638f51432492d0524fae50d31a09ae02:50665508
    2012-05-12 20:00:39.670306 [350]: BFL Single worker found share: bitparking:00000001b886aee08564a234f265043af8354fac63d11e653834c95a000004970000000089af824fb1a8f7aadcb2ce42be20667cdd353137a582997f638f51432492d0524fae50d31a09ae02:82a09673
    2012-05-12 20:00:39.672939 [350]: BFL Single worker found share: bitparking:00000001b886aee08564a234f265043af8354fac63d11e653834c95a000004970000000089af824fb1a8f7aadcb2ce42be20667cdd353137a582997f638f51432492d0524fae50d31a09ae02:f90209ea
    2012-05-12 20:00:39.674453 [400]: Mining bitparking:00000001b886aee08564a234f265043af8354fac63d11e653834c95a0000049700000000d8fea6024a6041d376f812186dc03bec2817b6ed8162a8d8b73443ce3d1664b14fae50d61a09ae02 on BFL Single worker
    2012-05-12 20:00:40.240842 [250]: bitparking accepted share 50665508 (difficulty 6.11463)
    2012-05-12 20:00:40.539202 [250]: bitparking accepted share 82a09673 (difficulty 2.22925)
    2012-05-12 20:00:40.886060 [250]: bitparking accepted share f90209ea (difficulty 1.32066)
    2012-05-12 20:00:41.215476 [500]: bitparking: Got 1 jobs from getwork response
    2012-05-12 20:00:43.478017 [400]: Mining bitparking:00000001b886aee08564a234f265043af8354fac63d11e653834c95a0000049700000000ca89e67b71f8f2f5d967d48d82e9091010a36579755ea9f38d35eea67d8a06694fae50d91a09ae02 on Icarus worker
    2012-05-12 20:00:43.767694 [500]: bitparking: Got 1 jobs from getwork response
    2012-05-12 20:00:45.754246 [100]: BFL Single worker: Traceback (most recent call last):
      File "Modular-Python-Bitcoin-Miner/modules/theseven/bflsingle/bflsingleworker.py", line 222, in main
        raise Exception("Bad ZFX response: %s\n" % response.decode("ascii", "replace").strip())
    Exception: Bad ZFX response:


    2012-05-12 20:00:46.215804 [500]: bitparking: Got 1 jobs from getwork response
    2012-05-12 20:00:47.088901 [400]: BFL Single worker: Firmware: BitFORCE SHA256 Version 1.0
    2012-05-12 20:00:47.090256 [400]: Mining bitparking:00000001b886aee08564a234f265043af8354fac63d11e653834c95a00000497000000005182e531fc85792bbb062ff384d4ffdccbce9de57f43632a93227d15909f184e4fae50dc1a09ae02 on BFL Single worker
    2012-05-12 20:00:47.608308 [100]: BFL Single worker: Traceback (most recent call last):
      File "Modular-Python-Bitcoin-Miner/modules/theseven/bflsingle/bflsingleworker.py", line 185, in main
        if response != b"OK\n": raise Exception("Bad ZDX response: %s\n" % response.decode("ascii", "replace").strip())
    Exception: Bad ZDX response: BUSY


    2012-05-12 20:00:48.000077 [350]: Icarus worker found share: bitparking:00000001b886aee08564a234f265043af8354fac63d11e653834c95a0000049700000000ca89e67b71f8f2f5d967d48d82e9091010a36579755ea9f38d35eea67d8a06694fae50d91a09ae02:b7c610b3
    2012-05-12 20:00:48.014798 [400]: Mining bitparking:00000001b886aee08564a234f265043af8354fac63d11e653834c95a0000049700000000f867c7c232941d615e1e06a4b55a66ccfcac0a7253b724b028b1786d50a7c3ef4fae50df1a09ae02 on Icarus worker
    2012-05-12 20:00:48.331192 [250]: bitparking accepted share b7c610b3 (difficulty 2.46151)
    2012-05-12 20:00:48.652900 [400]: BFL Single worker: Firmware: BitFORCE SHA256 Version 1.0
    2012-05-12 20:00:48.654246 [400]: Mining bitparking:00000001b886aee08564a234f265043af8354fac63d11e653834c95a000004970000000012da454889a6d85f4a0d5b286b046996ca4ffa4cbc3a9816797a90f5e7c84a134fae50e11a09ae02 on BFL Single worker
    2012-05-12 20:00:49.172329 [100]: BFL Single worker: Traceback (most recent call last):
      File "Modular-Python-Bitcoin-Miner/modules/theseven/bflsingle/bflsingleworker.py", line 185, in main
        if response != b"OK\n": raise Exception("Bad ZDX response: %s\n" % response.decode("ascii", "replace").strip())
    Exception: Bad ZDX response: BUSY


    2012-05-12 20:00:49.181705 [500]: bitparking: Got 1 jobs from getwork response
    2012-05-12 20:00:50.216942 [400]: BFL Single worker: Firmware: BitFORCE SHA256 Version 1.0
    2012-05-12 20:00:50.218269 [400]: Mining bitparking:00000001b886aee08564a234f265043af8354fac63d11e653834c95a00000497000000008543c0f145e426bbb1cfa6bd53e10b5b6b26b3425a3fadad436fb719e121b84f4fae50e51a09ae02 on BFL Single worker
    2012-05-12 20:00:50.736291 [100]: BFL Single worker: Traceback (most recent call last):
      File "Modular-Python-Bitcoin-Miner/modules/theseven/bflsingle/bflsingleworker.py", line 185, in main
        if response != b"OK\n": raise Exception("Bad ZDX response: %s\n" % response.decode("ascii", "replace").strip())
    Exception: Bad ZDX response: BUSY


    2012-05-12 20:00:50.832729 [500]: bitparking: Got 1 jobs from getwork response
    2012-05-12 20:00:51.777652 [400]: BFL Single worker: Firmware: BitFORCE SHA256 Version 1.0
    2012-05-12 20:00:51.778983 [400]: Mining bitparking:00000001b886aee08564a234f265043af8354fac63d11e653834c95a0000049700000000b89b285f7113a543c00179bf3450a795526862504a17327211b0fccd37f83bd84fae50e81a09ae02 on BFL Single worker
    2012-05-12 20:00:52.296283 [100]: BFL Single worker: Traceback (most recent call last):
      File "Modular-Python-Bitcoin-Miner/modules/theseven/bflsingle/bflsingleworker.py", line 185, in main
        if response != b"OK\n": raise Exception("Bad ZDX response: %s\n" % response.decode("ascii", "replace").strip())
    Exception: Bad ZDX response: BUSY


    2012-05-12 20:00:52.520468 [500]: bitparking: Got 1 jobs from getwork response
    2012-05-12 20:00:53.340910 [400]: BFL Single worker: Firmware: BitFORCE SHA256 Version 1.0
    2012-05-12 20:00:53.342256 [400]: Mining bitparking:00000001b886aee08564a234f265043af8354fac63d11e653834c95a000004970000000016d3d8482211e0e4ac7608f10f083058c0a18ba45aa6a8c0e841f4f7b428f1e34fae50ea1a09ae02 on BFL Single worker
    2012-05-12 20:00:53.860276 [100]: BFL Single worker: Traceback (most recent call last):
      File "Modular-Python-Bitcoin-Miner/modules/theseven/bflsingle/bflsingleworker.py", line 185, in main
        if response != b"OK\n": raise Exception("Bad ZDX response: %s\n" % response.decode("ascii", "replace").strip())
    Exception: Bad ZDX response: BUSY


    2012-05-12 20:00:54.247530 [500]: bitparking: Got 1 jobs from getwork response
    2012-05-12 20:00:56.227833 [500]: bitparking: Got 1 jobs from getwork response
    2012-05-12 20:00:56.256511 [400]: Mining bitparking:00000001b886aee08564a234f265043af8354fac63d11e653834c95a00000497000000009fb6837aceec8a90ba8f56e6d6874b015535de52dde92b336953dd9c6de237a24fae50ed1a09ae02 on Icarus worker
    2012-05-12 20:00:57.244071 [350]: Icarus worker found share: bitparking:00000001b886aee08564a234f265043af8354fac63d11e653834c95a00000497000000009fb6837aceec8a90ba8f56e6d6874b015535de52dde92b336953dd9c6de237a24fae50ed1a09ae02:14e20d0b
    2012-05-12 20:00:57.274242 [400]: Mining bitparking:00000001b886aee08564a234f265043af8354fac63d11e653834c95a0000049700000000f21379a8ef6756ad46ab07d6973d29c1be81ab084809a240fba43642ef106f374fae50f01a09ae02 on Icarus worker
    2012-05-12 20:00:57.535089 [250]: bitparking accepted share 14e20d0b (difficulty 6.25968)
    2012-05-12 20:00:58.548485 [500]: bitparking: Got 1 jobs from getwork response
    2012-05-12 20:00:59.068971 [400]: BFL Single worker: Firmware: BitFORCE SHA256 Version 1.0
    2012-05-12 20:00:59.070252 [400]: Mining bitparking:00000001b886aee08564a234f265043af8354fac63d11e653834c95a000004970000000020c1ddfea339e016935c244547ace812a967adb4060c5c5ca3038346c64d03034fae50f11a09ae02 on BFL Single worker
    2012-05-12 20:00:59.320075 [350]: Icarus worker found share: bitparking:00000001b886aee08564a234f265043af8354fac63d11e653834c95a0000049700000000f21379a8ef6756ad46ab07d6973d29c1be81ab084809a240fba43642ef106f374fae50f01a09ae02:c1111317
    2012-05-12 20:00:59.341816 [400]: Mining bitparking:00000001b886aee08564a234f265043af8354fac63d11e653834c95a0000049700000000f21379a8ef6756ad46ab07d6973d29c1be81ab084809a240fba43642ef106f374fae50f31a09ae02 on Icarus worker
    2012-05-12 20:00:59.592305 [100]: BFL Single worker: Traceback (most recent call last):
      File "Modular-Python-Bitcoin-Miner/modules/theseven/bflsingle/bflsingleworker.py", line 185, in main
        if response != b"OK\n": raise Exception("Bad ZDX response: %s\n" % response.decode("ascii", "replace").strip())
    Exception: Bad ZDX response: BUSY


    2012-05-12 20:00:59.632838 [250]: bitparking accepted share c1111317 (difficulty 1.02898)
    2012-05-12 20:01:00.183350 [500]: bitparking: Got 1 jobs from getwork response
    2012-05-12 20:01:01.259761 [500]: bitparking: Got 1 jobs from getwork response
    2012-05-12 20:01:03.234693 [500]: bitparking: Got 1 jobs from getwork response
    2012-05-12 20:01:04.596894 [400]: BFL Single worker: Firmware: BitFORCE SHA256 Version 1.0
    2012-05-12 20:01:04.598201 [400]: Mining bitparking:00000001b886aee08564a234f265043af8354fac63d11e653834c95a000004970000000012da454889a6d85f4a0d5b286b046996ca4ffa4cbc3a9816797a90f5e7c84a134fae50f51a09ae02 on BFL Single worker
    2012-05-12 20:01:06.203126 [500]: bitparking: Got 1 jobs from getwork response
    2012-05-12 20:01:07.583150 [400]: Mining bitparking:00000001b886aee08564a234f265043af8354fac63d11e653834c95a0000049700000000bf5d6f83d26a102404c04cc3c6bb265175803a93f33d11ad057f196cc9260de14fae50f71a09ae02 on Icarus worker
    2012-05-12 20:01:09.237799 [500]: bitparking: Got 1 jobs from getwork response
    2012-05-12 20:01:09.872954 [350]: BFL Single worker found share: bitparking:00000001b886aee08564a234f265043af8354fac63d11e653834c95a000004970000000012da454889a6d85f4a0d5b286b046996ca4ffa4cbc3a9816797a90f5e7c84a134fae50f51a09ae02:6d417f5e
    2012-05-12 20:01:09.875095 [400]: Mining bitparking:00000001b886aee08564a234f265043af8354fac63d11e653834c95a00000497000000004b91978ce42ed65cbdb3579f859c2545fb600ea017e9d7379bb6bbf91451dbe14fae50f91a09ae02 on BFL Single worker
    2012-05-12 20:01:10.180003 [250]: bitparking accepted share 6d417f5e (difficulty 1.43511)
    2012-05-12 20:01:10.560080 [350]: Icarus worker found share: bitparking:00000001b886aee08564a234f265043af8354fac63d11e653834c95a0000049700000000bf5d6f83d26a102404c04cc3c6bb265175803a93f33d11ad057f196cc9260de14fae50f71a09ae02:f85594a1
    2012-05-12 20:01:10.604533 [400]: Mining bitparking:00000001b886aee08564a234f265043af8354fac63d11e653834c95a0000049700000000b6b4116d61084e7ad9e984dec22217d8e5c2dbdf59dff0b8db0f6f304fc187034fae50fb1a09ae02 on Icarus worker
    2012-05-12 20:01:10.831897 [250]: bitparking accepted share f85594a1 (difficulty 3.42498)
    2012-05-12 20:01:11.580072 [350]: Icarus worker found share: bitparking:00000001b886aee08564a234f265043af8354fac63d11e653834c95a0000049700000000b6b4116d61084e7ad9e984dec22217d8e5c2dbdf59dff0b8db0f6f304fc187034fae50fb1a09ae02:02b9e68a
    2012-05-12 20:01:11.621057 [400]: Mining bitparking:00000001b886aee08564a234f265043af8354fac63d11e653834c95a0000049700000000c1cd6bf4fe44a7370cd031c1e1488c4660502b6beb96f84ced460ef4261a26e54fae50fc1a09ae02 on Icarus worker
    2012-05-12 20:01:12.899726 [250]: bitparking accepted share 02b9e68a (difficulty 4.03984)
    2012-05-12 20:01:12.907664 [500]: bitparking: Got 1 jobs from getwork response
    2012-05-12 20:01:13.300622 [500]: bitparking: Got 1 jobs from getwork response
    2012-05-12 20:01:13.396442 [500]: bitparking: Got 1 jobs from long poll response
    2012-05-12 20:01:15.152526 [350]: BFL Single worker found share: bitparking:00000001b886aee08564a234f265043af8354fac63d11e653834c95a00000497000000004b91978ce42ed65cbdb3579f859c2545fb600ea017e9d7379bb6bbf91451dbe14fae50f91a09ae02:73a9f600
    2012-05-12 20:01:15.154700 [400]: Mining bitparking:00000001b886aee08564a234f265043af8354fac63d11e653834c95a00000497000000009fb6837aceec8a90ba8f56e6d6874b015535de52dde92b336953dd9c6de237a24fae50fe1a09ae02 on BFL Single worker
    2012-05-12 20:01:15.364251 [500]: bitparking: Got 1 jobs from getwork response
    2012-05-12 20:01:15.372307 [350]: Icarus worker found share: bitparking:00000001b886aee08564a234f265043af8354fac63d11e653834c95a0000049700000000c1cd6bf4fe44a7370cd031c1e1488c4660502b6beb96f84ced460ef4261a26e54fae50fc1a09ae02:826d5caa
    2012-05-12 20:01:15.395347 [400]: Mining bitparking:00000001b886aee08564a234f265043af8354fac63d11e653834c95a00000497000000006eed30e42748921090b50f90cdd7684c4633466b8f793c4f3e04fa4edbcc468a4fae51011a09ae02 on Icarus worker
    2012-05-12 20:01:15.750155 [250]: bitparking accepted share 73a9f600 (difficulty 3.76080)
    2012-05-12 20:01:16.068230 [250]: bitparking accepted share 826d5caa (difficulty 1.36040)
    2012-05-12 20:01:19.320851 [500]: bitparking: Got 1 jobs from getwork response
    2012-05-12 20:01:19.824084 [350]: Icarus worker found share: bitparking:00000001b886aee08564a234f265043af8354fac63d11e653834c95a00000497000000006eed30e42748921090b50f90cdd7684c4633466b8f793c4f3e04fa4edbcc468a4fae51011a09ae02:cf740bb2
    2012-05-12 20:01:19.873088 [400]: Mining bitparking:00000001b886aee08564a234f265043af8354fac63d11e653834c95a000004970000000092abc402d5e9d29491cfd7f8ffbaba8721df117be95d3650937a289bef6143684fae51041a09ae02 on Icarus worker
    2012-05-12 20:01:20.212445 [250]: bitparking accepted share cf740bb2 (difficulty 1.35974)
    2012-05-12 20:01:20.432547 [350]: BFL Single worker found share: bitparking:00000001b886aee08564a234f265043af8354fac63d11e653834c95a00000497000000009fb6837aceec8a90ba8f56e6d6874b015535de52dde92b336953dd9c6de237a24fae50fe1a09ae02:71b5f119
    2012-05-12 20:01:20.434725 [400]: Mining bitparking:00000001b886aee08564a234f265043af8354fac63d11e653834c95a0000049700000000626bdf3874301b193c79808c1bdc8876de201f57d9d779fe3cd54644089d07cb4fae51071a09ae02 on BFL Single worker
    2012-05-12 20:01:20.951426 [250]: bitparking accepted share 71b5f119 (difficulty 7.86257)
    2012-05-12 20:01:21.579441 [500]: bitparking: Got 1 jobs from getwork response
    2012-05-12 20:01:24.250763 [500]: bitparking: Got 1 jobs from getwork response
    2012-05-12 20:01:25.712516 [400]: Mining bitparking:00000001b886aee08564a234f265043af8354fac63d11e653834c95a000004970000000023916bb38154af99861ff29e40c90bba8767992e17232811620c1fa7273b27754fae51081a09ae02 on BFL Single worker
    2012-05-12 20:01:27.281647 [500]: bitparking: Got 1 jobs from getwork response
    2012-05-12 20:01:28.114253 [400]: Mining bitparking:00000001b886aee08564a234f265043af8354fac63d11e653834c95a0000049700000000858d7426f9ec8b766cbcff59ef94616d32b58664c077690c3da3a93e105933444fae51081a09ae02 on Icarus worker
    2012-05-12 20:01:30.267467 [500]: bitparking: Got 1 jobs from getwork response
    2012-05-12 20:01:30.988731 [350]: BFL Single worker found share: bitparking:00000001b886aee08564a234f265043af8354fac63d11e653834c95a000004970000000023916bb38154af99861ff29e40c90bba8767992e17232811620c1fa7273b27754fae51081a09ae02:1e188e60
    2012-05-12 20:01:30.990152 [350]: BFL Single worker found share: bitparking:00000001b886aee08564a234f265043af8354fac63d11e653834c95a000004970000000023916bb38154af99861ff29e40c90bba8767992e17232811620c1fa7273b27754fae51081a09ae02:e0202ab6
    2012-05-12 20:01:30.992534 [400]: Mining bitparking:00000001b886aee08564a234f265043af8354fac63d11e653834c95a000004970000000093af3a38cf35022e06047c5ef46c105fcadb51519365a7b32c3386e8b07ebc664fae510a1a09ae02 on BFL Single worker
    2012-05-12 20:01:31.347106 [250]: bitparking accepted share 1e188e60 (difficulty 3.07512)
    2012-05-12 20:01:31.716820 [250]: bitparking accepted share e0202ab6 (difficulty 5.12098)
    2012-05-12 20:01:33.306120 [500]: bitparking: Got 1 jobs from getwork response
    2012-05-12 20:01:36.356846 [400]: Mining bitparking:00000001b886aee08564a234f265043af8354fac63d11e653834c95a000004970000000075448ee51446f2725f881e1bd00e92902cba03e4b47af2b8fe39029fb8b6b3224fae510e1a09ae02 on Icarus worker
    2012-05-12 20:01:37.070006 [100]: BFL Single worker: Traceback (most recent call last):
      File "Modular-Python-Bitcoin-Miner/modules/theseven/bflsingle/bflsingleworker.py", line 222, in main
        raise Exception("Bad ZFX response: %s\n" % response.decode("ascii", "replace").strip())
    Exception: Bad ZFX response:


    2012-05-12 20:01:37.887469 [500]: bitparking: Got 1 jobs from getwork response
    2012-05-12 20:01:38.080070 [350]: Icarus worker found share: bitparking:00000001b886aee08564a234f265043af8354fac63d11e653834c95a000004970000000075448ee51446f2725f881e1bd00e92902cba03e4b47af2b8fe39029fb8b6b3224fae510e1a09ae02:5b6a6613
    2012-05-12 20:01:38.125928 [400]: Mining bitparking:00000001b886aee08564a234f265043af8354fac63d11e653834c95a0000049700000000cbea39c83dc50cb75e9106693bfa91995336524d12b8a91a4a19b76ebab03c364fae51101a09ae02 on Icarus worker
    2012-05-12 20:01:38.388039 [250]: bitparking accepted share 5b6a6613 (difficulty 2.25772)
    2012-05-12 20:01:39.310570 [500]: bitparking: Got 1 jobs from getwork response
    2012-05-12 20:01:42.446782 [500]: bitparking: Got 1 jobs from getwork response
    2012-05-12 20:01:42.572938 [400]: BFL Single worker: Firmware: BitFORCE SHA256 Version 1.0
    2012-05-12 20:01:42.573206 [400]: Mining bitparking:00000001b886aee08564a234f265043af8354fac63d11e653834c95a00000497000000003bb604298bc661f36c48cc6ccbed4a3b7a8374e8aed25ab474cdc95e41c1887a4fae51131a09ae02 on BFL Single worker
    2012-05-12 20:01:42.672103 [350]: Icarus worker found share: bitparking:00000001b886aee08564a234f265043af8354fac63d11e653834c95a0000049700000000cbea39c83dc50cb75e9106693bfa91995336524d12b8a91a4a19b76ebab03c364fae51101a09ae02:c7535ab3
    2012-05-12 20:01:42.703596 [400]: Mining bitparking:00000001b886aee08564a234f265043af8354fac63d11e653834c95a0000049700000000ebd5a7cafe7ac5fef35c96d5b35266e4d245bef534cdba19709630df04068b794fae51161a09ae02 on Icarus worker
    2012-05-12 20:01:43.045631 [250]: bitparking accepted share c7535ab3 (difficulty 1.40557)
    2012-05-12 20:01:43.092354 [100]: BFL Single worker: Traceback (most recent call last):
      File "Modular-Python-Bitcoin-Miner/modules/theseven/bflsingle/bflsingleworker.py", line 185, in main
        if response != b"OK\n": raise Exception("Bad ZDX response: %s\n" % response.decode("ascii", "replace").strip())
    Exception: Bad ZDX response: BUSY


    2012-05-12 20:01:43.930789 [500]: bitparking: Got 1 jobs from long poll response
    2012-05-12 20:01:46.282218 [500]: bitparking: Got 1 jobs from getwork response
    2012-05-12 20:01:48.300906 [400]: BFL Single worker: Firmware: BitFORCE SHA256 Version 1.0
    2012-05-12 20:01:48.302251 [400]: Mining bitparking:00000001b886aee08564a234f265043af8354fac63d11e653834c95a0000049700000000db84cf9d8db731c04e82e9d7ce57ce4c044f7b3332393e5af389b7db694082ca4fae51191a09ae02 on BFL Single worker
    2012-05-12 20:01:48.820278 [100]: BFL Single worker: Traceback (most recent call last):
      File "Modular-Python-Bitcoin-Miner/modules/theseven/bflsingle/bflsingleworker.py", line 185, in main
        if response != b"OK\n": raise Exception("Bad ZDX response: %s\n" % response.decode("ascii", "replace").strip())
    Exception: Bad ZDX response: BUSY


    2012-05-12 20:01:49.295663 [500]: bitparking: Got 1 jobs from getwork response
    2012-05-12 20:01:50.598558 [500]: bitparking: Got 1 jobs from long poll response
    2012-05-12 20:01:50.944483 [400]: Mining bitparking:00000001b886aee08564a234f265043af8354fac63d11e653834c95a0000049700000000e4a4a5c350ef82b65dd2731513b9de3ed83d0522a841657ede170f56620b20484fae511c1a09ae02 on Icarus worker
    2012-05-12 20:01:51.446267 [300]: bitparking: New block detected
    2012-05-12 20:01:51.447641 [500]: deepbit: Got 1 jobs from long poll response
    2012-05-12 20:01:51.461224 [400]: Mining deepbit:00000001b1f856565e940f68295d31e51eb7565df6256862a98e7fbc000006a3000000002d9fe68e4fe48dab33eb977ec0403844953f05da4d86ffe59f9958a809bc9f2c4fae512c1a09ae02 on Icarus worker
    2012-05-12 20:01:52.029887 [500]: deepbit: Got 1 jobs from getwork response
    2012-05-12 20:01:52.587340 [500]: deepbit: Got 1 jobs from getwork response
    2012-05-12 20:01:53.481687 [500]: deepbit: Got 1 jobs from getwork response
    2012-05-12 20:01:53.664076 [350]: Icarus worker found share: deepbit:00000001b1f856565e940f68295d31e51eb7565df6256862a98e7fbc000006a3000000002d9fe68e4fe48dab33eb977ec0403844953f05da4d86ffe59f9958a809bc9f2c4fae512c1a09ae02:0b6cd898
    2012-05-12 20:01:53.680742 [400]: Mining deepbit:00000001b1f856565e940f68295d31e51eb7565df6256862a98e7fbc000006a300000000dd8bc83ceff56c5488d11da3eb6927405de8b760e112a68eaf62842b15c24db14fae512d1a09ae02 on Icarus worker
    2012-05-12 20:01:53.828887 [400]: BFL Single worker: Firmware: BitFORCE SHA256 Version 1.0
    2012-05-12 20:01:53.830245 [400]: Mining deepbit:00000001b1f856565e940f68295d31e51eb7565df6256862a98e7fbc000006a300000000c6686ad81bfd456159b5a52437d3e814e4bf807c5bec7ddd43bf8d22375da8124fae512d1a09ae02 on BFL Single worker
    2012-05-12 20:01:54.084104 [350]: Icarus worker found share: deepbit:00000001b1f856565e940f68295d31e51eb7565df6256862a98e7fbc000006a300000000dd8bc83ceff56c5488d11da3eb6927405de8b760e112a68eaf62842b15c24db14fae512d1a09ae02:e0aa7884
    2012-05-12 20:01:54.097322 [400]: Mining deepbit:00000001b1f856565e940f68295d31e51eb7565df6256862a98e7fbc000006a300000000edcb59bc367e761032904ad1e18b8480cb1c7f7894ff4dd7a67881e7d1cf781e4fae512d1a09ae02 on Icarus worker
    2012-05-12 20:01:54.479194 [500]: bitparking: Keep-alive job fetching connection died
    2012-05-12 20:01:54.652601 [250]: deepbit accepted share 0b6cd898 (difficulty 1.79468)
    2012-05-12 20:01:54.673217 [500]: deepbit: Got 1 jobs from getwork response
    2012-05-12 20:01:55.294327 [500]: bitparking: Got 1 jobs from getwork response
    2012-05-12 20:01:55.403438 [250]: deepbit accepted share e0aa7884 (difficulty 6.71107)
    2012-05-12 20:01:55.603990 [500]: deepbit: Got 1 jobs from getwork response
    2012-05-12 20:01:56.435309 [500]: bitparking: Got 1 jobs from getwork response
    2012-05-12 20:01:56.890717 [500]: deepbit: Got 1 jobs from getwork response
    2012-05-12 20:01:57.104420 [500]: bitparking: Got 1 jobs from getwork response
    2012-05-12 20:01:57.598318 [500]: bitparking: Got 1 jobs from getwork response
    2012-05-12 20:01:58.452063 [350]: Icarus worker found share: deepbit:00000001b1f856565e940f68295d31e51eb7565df6256862a98e7fbc000006a300000000edcb59bc367e761032904ad1e18b8480cb1c7f7894ff4dd7a67881e7d1cf781e4fae512d1a09ae02:1cfd2b31
    2012-05-12 20:01:58.469551 [400]: Mining deepbit:00000001b1f856565e940f68295d31e51eb7565df6256862a98e7fbc000006a300000000ad00ad5c200f2dfc5894bd44d53478ac5eb5b7c18a607152f46ad33113a8905c4fae512e1a09ae02 on Icarus worker
    2012-05-12 20:01:58.519432 [500]: bitparking: Got 1 jobs from getwork response
    2012-05-12 20:01:58.958378 [250]: deepbit accepted share 1cfd2b31 (difficulty 3.36912)
    2012-05-12 20:01:59.108731 [350]: BFL Single worker found share: deepbit:00000001b1f856565e940f68295d31e51eb7565df6256862a98e7fbc000006a300000000c6686ad81bfd456159b5a52437d3e814e4bf807c5bec7ddd43bf8d22375da8124fae512d1a09ae02:caaf5d30
    2012-05-12 20:01:59.110118 [350]: BFL Single worker found share: deepbit:00000001b1f856565e940f68295d31e51eb7565df6256862a98e7fbc000006a300000000c6686ad81bfd456159b5a52437d3e814e4bf807c5bec7ddd43bf8d22375da8124fae512d1a09ae02:cc78a8eb
    2012-05-12 20:01:59.112490 [400]: Mining deepbit:00000001b1f856565e940f68295d31e51eb7565df6256862a98e7fbc000006a3000000006c7484504bd7ef587f0ddfc96735d9c1a865fa2e23c0a5ee04cb80052b94b4c04fae512e1a09ae02 on BFL Single worker
    2012-05-12 20:01:59.435720 [500]: bitparking: Got 1 jobs from getwork response
    2012-05-12 20:01:59.617496 [250]: deepbit accepted share caaf5d30 (difficulty 1.90338)
    2012-05-12 20:01:59.626123 [500]: deepbit: Got 1 jobs from getwork response
    2012-05-12 20:02:00.125926 [250]: deepbit accepted share cc78a8eb (difficulty 1.17480)
    2012-05-12 20:02:00.297374 [500]: bitparking: Got 1 jobs from getwork response
    2012-05-12 20:02:00.666228 [500]: bitparking: Got 1 jobs from getwork response
    2012-05-12 20:02:01.067586 [500]: bitparking: Got 1 jobs from getwork response
    2012-05-12 20:02:01.482246 [500]: bitparking: Got 1 jobs from getwork response
    2012-05-12 20:02:01.882227 [500]: bitparking: Got 1 jobs from getwork response
    2012-05-12 20:02:02.287252 [500]: bitparking: Got 1 jobs from getwork response
    2012-05-12 20:02:02.691774 [500]: bitparking: Got 1 jobs from getwork response
    2012-05-12 20:02:03.093356 [500]: bitparking: Got 1 jobs from getwork response
    2012-05-12 20:02:03.514810 [500]: bitparking: Got 1 jobs from getwork response
    2012-05-12 20:02:03.917953 [500]: bitparking: Got 1 jobs from getwork response
    2012-05-12 20:02:04.316893 [500]: bitparking: Got 1 jobs from getwork response
    2012-05-12 20:02:04.388554 [350]: BFL Single worker found share: deepbit:00000001b1f856565e940f68295d31e51eb7565df6256862a98e7fbc000006a3000000006c7484504bd7ef587f0ddfc96735d9c1a865fa2e23c0a5ee04cb80052b94b4c04fae512e1a09ae02:a01dc3a6
    2012-05-12 20:02:04.390706 [400]: Mining deepbit:00000001b1f856565e940f68295d31e51eb7565df6256862a98e7fbc000006a300000000bd1697798f30b7889ba606c90693b0dd577396e18c2589c23cdda1bc98ce68074fae512e1a09ae02 on BFL Single worker
    2012-05-12 20:02:04.685023 [500]: bitparking: Got 1 jobs from getwork response
    2012-05-12 20:02:04.902492 [250]: deepbit accepted share a01dc3a6 (difficulty 2.30837)
    2012-05-12 20:02:04.904538 [500]: deepbit: Got 1 jobs from getwork response
    2012-05-12 20:02:05.288848 [500]: bitparking: Got 1 jobs from getwork response
    2012-05-12 20:02:05.668876 [500]: bitparking: Got 1 jobs from getwork response
    2012-05-12 20:02:06.082692 [500]: bitparking: Got 1 jobs from getwork response
    2012-05-12 20:02:06.477146 [500]: bitparking: Got 1 jobs from getwork response
    2012-05-12 20:02:06.710375 [400]: Mining deepbit:00000001b1f856565e940f68295d31e51eb7565df6256862a98e7fbc000006a30000000086d9228e4a58caffbc29702c34ac498a2ae6bc08c9d23fc3293ce9486a293a934fae512f1a09ae02 on Icarus worker
    2012-05-12 20:02:06.915568 [500]: bitparking: Got 1 jobs from getwork response
    2012-05-12 20:02:07.233507 [500]: deepbit: Got 1 jobs from getwork response
    2012-05-12 20:02:07.386299 [500]: bitparking: Got 1 jobs from getwork response
    2012-05-12 20:02:08.092219 [350]: Icarus worker found share: deepbit:00000001b1f856565e940f68295d31e51eb7565df6256862a98e7fbc000006a30000000086d9228e4a58caffbc29702c34ac498a2ae6bc08c9d23fc3293ce9486a293a934fae512f1a09ae02:ea008b0f
    2012-05-12 20:02:08.129148 [400]: Mining deepbit:00000001b1f856565e940f68295d31e51eb7565df6256862a98e7fbc000006a300000000c28fe94da5fa15e9554affd075c8c09d700086abcac851eaef6ddade8d2bbdf04fae51301a09ae02 on Icarus worker
    2012-05-12 20:02:08.298275 [500]: bitparking: Got 1 jobs from getwork response
    2012-05-12 20:02:08.599185 [250]: deepbit accepted share ea008b0f (difficulty 4.14133)
    2012-05-12 20:02:08.664776 [500]: deepbit: Got 1 jobs from getwork response
    2012-05-12 20:02:09.306094 [500]: bitparking: Got 1 jobs from getwork response
    2012-05-12 20:02:09.668748 [350]: BFL Single worker found share: deepbit:00000001b1f856565e940f68295d31e51eb7565df6256862a98e7fbc000006a300000000bd1697798f30b7889ba606c90693b0dd577396e18c2589c23cdda1bc98ce68074fae512e1a09ae02:58318d41
    2012-05-12 20:02:09.670708 [350]: BFL Single worker found share: deepbit:00000001b1f856565e940f68295d31e51eb7565df6256862a98e7fbc000006a300000000bd1697798f30b7889ba606c90693b0dd577396e18c2589c23cdda1bc98ce68074fae512e1a09ae02:f0b84edc
    2012-05-12 20:02:09.672581 [400]: Mining deepbit:00000001b1f856565e940f68295d31e51eb7565df6256862a98e7fbc000006a300000000ea1fff41d1daf09cc113ba3896a110b8b8bb6f008ce961376f53e92021d6fad44fae51311a09ae02 on BFL Single worker
    2012-05-12 20:02:09.694888 [500]: bitparking: Got 1 jobs from getwork response
    2012-05-12 20:02:10.002873 [500]: bitparking: Got 1 jobs from getwork response
    2012-05-12 20:02:10.179318 [250]: deepbit accepted share 58318d41 (difficulty 6.18345)
    2012-05-12 20:02:10.203444 [500]: deepbit: Got 1 jobs from getwork response
    2012-05-12 20:02:10.392362 [500]: bitparking: Got 1 jobs from getwork response
    2012-05-12 20:02:10.588067 [350]: Icarus worker found share: deepbit:00000001b1f856565e940f68295d31e51eb7565df6256862a98e7fbc000006a300000000c28fe94da5fa15e9554affd075c8c09d700086abcac851eaef6ddade8d2bbdf04fae51301a09ae02:4efcb69b
    2012-05-12 20:02:10.601494 [400]: Mining deepbit:00000001b1f856565e940f68295d31e51eb7565df6256862a98e7fbc000006a30000000035613df4586d923c09738d8bed5ea6277044b5a78de2c43571139e0ca6fd37be4fae51311a09ae02 on Icarus worker
    2012-05-12 20:02:10.688960 [250]: deepbit accepted share f0b84edc (difficulty 6.00908)
    2012-05-12 20:02:11.003697 [500]: bitparking: Got 1 jobs from getwork response
    2012-05-12 20:02:11.200452 [250]: deepbit accepted share 4efcb69b (difficulty 1.53179)
    2012-05-12 20:02:11.215712 [500]: deepbit: Got 1 jobs from getwork response
    2012-05-12 20:02:11.403303 [500]: bitparking: Got 1 jobs from getwork response
    2012-05-12 20:02:12.330644 [500]: bitparking: Got 1 jobs from getwork response
    2012-05-12 20:02:12.698536 [500]: bitparking: Got 1 jobs from getwork response
    2012-05-12 20:02:13.070271 [500]: bitparking: Got 1 jobs from getwork response
    2012-05-12 20:02:13.466926 [500]: bitparking: Got 1 jobs from getwork response
    2012-05-12 20:02:13.887457 [500]: bitparking: Got 1 jobs from getwork response
    2012-05-12 20:02:14.283340 [500]: bitparking: Got 1 jobs from getwork response
    2012-05-12 20:02:14.696634 [500]: bitparking: Got 1 jobs from getwork response
    2012-05-12 20:02:15.124903 [500]: bitparking: Got 1 jobs from getwork response
    2012-05-12 20:02:15.506775 [500]: bitparking: Got 1 jobs from getwork response
    2012-05-12 20:02:15.750156 [100]: BFL Single worker: Traceback (most recent call last):
      File "Modular-Python-Bitcoin-Miner/modules/theseven/bflsingle/bflsingleworker.py", line 222, in main
        raise Exception("Bad ZFX response: %s\n" % response.decode("ascii", "replace").strip())
    Exception: Bad ZFX response:


    2012-05-12 20:02:15.911321 [500]: bitparking: Got 1 jobs from getwork response
    2012-05-12 20:02:16.324312 [500]: bitparking: Got 1 jobs from getwork response


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: TheSeven on May 12, 2012, 01:57:09 PM
    Looks like it occasionally misses a ZFX command. Could be either a bug in the usb-serial driver, or a firmware bug on the BFL itself, or faulty hardware.


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: shad on May 12, 2012, 08:35:50 PM
    anyone got an idea how i get infos like average mhash/sec into mrtg?
    any output interfaces?
    didn't look really, hoping that anyone did it before :D


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: TheSeven on May 13, 2012, 02:50:25 AM
    anyone got an idea how i get infos like average mhash/sec into mrtg?
    any output interfaces?
    didn't look really, hoping that anyone did it before :D

    There is a munin plugin for MPBM (http://pastie.org/3903092), using its JSON API.


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: coblee on May 14, 2012, 05:16:32 PM
    i am running it on an Buffalo WRZ-HP-AG300H-EU, it uses around 40MB-Ram openwrt+miner
    (i didn't get it running on my linksys wrt54gl because of to few diskspace)

    installation on OpenWRT

    Quote
    opkg update
    opkg install phyton
    opkg install libncurses
    opkg install libncursesw
    opkg install libusb

    rmmod ftdi_sio
    python miner.py

    bitstream was already installed, will try installing bitstream over openwrt later

    I just installed OpenWRT (on a TP-Link MR3020)  and got the latest MPBM to run.
    Here are a few other packages I needed:

    Code:
    opkg install pyusb
    opkg install pyserial
    opkg install kmod-usb-core
    opkg install kmod-usb-serial
    opkg install kmod-usb-serial-ftdi (for BFL singles)
    opkg install kmod-usb-serial-pl2303 (for Icarus)

    The miners will come up as /dev/ttyUSB#
    Run 'ls /dev/ttyUSB*' and you will see them.
    Mine are /dev/ttyUSB0, /dev/ttyUSB1, /dev/ttyUSB2, /dev/ttyUSB3
    And this is what you put in the PORT field when you configure a worker in MPBM


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: Garr255 on May 14, 2012, 07:34:50 PM
    Thanks coblee. I'm glad that router is working for you.


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: allinvain on May 15, 2012, 01:35:10 AM
    Is anyone else having an issue with the latest git mpbm version whereby the web management interface freezes after some time. The only solution is to close the browser and restart. This happens with Chrome. With Firefox the web interface looks all messed up - overlapping text..etc.



    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: fizzisist on May 15, 2012, 02:29:56 AM
    Is anyone else having an issue with the latest git mpbm version whereby the web management interface freezes after some time. The only solution is to close the browser and restart. This happens with Chrome. With Firefox the web interface looks all messed up - overlapping text..etc.

    Are you leaving the browser window open all day? I think something happens when the scrollback on the log gets too long. Reducing the log level should help with that (Settings button on the top right corner). I like 300 or 400 personally, but I also just close the MPBM window when I'm not actively using it anyway.

    I'm sure TheSeven has a better explanation for it, but that's what I do to avoid the problem at least.


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: allinvain on May 15, 2012, 02:57:17 AM
    Is anyone else having an issue with the latest git mpbm version whereby the web management interface freezes after some time. The only solution is to close the browser and restart. This happens with Chrome. With Firefox the web interface looks all messed up - overlapping text..etc.

    Are you leaving the browser window open all day? I think something happens when the scrollback on the log gets too long. Reducing the log level should help with that (Settings button on the top right corner). I like 300 or 400 personally, but I also just close the MPBM window when I'm not actively using it anyway.

    I'm sure TheSeven has a better explanation for it, but that's what I do to avoid the problem at least.

    Yes that's what I was doing. I've had the log level set to the default 500. I dialed it down to 300 now. I like to keep the window open just to keep an eye on the invalid shares percentage and overall hashrate. But I guess it's not absolutely necessary that I keep it open 24/7.

    Is there any docs anywhere that explains the differences between the various log levels. I see that 300 displays only accepted shares unlike 500 which displays a lot more detail.


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: fizzisist on May 15, 2012, 03:28:31 AM
    Is anyone else having an issue with the latest git mpbm version whereby the web management interface freezes after some time. The only solution is to close the browser and restart. This happens with Chrome. With Firefox the web interface looks all messed up - overlapping text..etc.

    Are you leaving the browser window open all day? I think something happens when the scrollback on the log gets too long. Reducing the log level should help with that (Settings button on the top right corner). I like 300 or 400 personally, but I also just close the MPBM window when I'm not actively using it anyway.

    I'm sure TheSeven has a better explanation for it, but that's what I do to avoid the problem at least.

    Yes that's what I was doing. I've had the log level set to the default 500. I dialed it down to 300 now. I like to keep the window open just to keep an eye on the invalid shares percentage and overall hashrate. But I guess it's not absolutely necessary that I keep it open 24/7.

    Is there any docs anywhere that explains the differences between the various log levels. I see that 300 displays only accepted shares unlike 500 which displays a lot more detail.


    A munin plugin or some simplified interface that only shows the stats you want ("bonks" showed me one he wrote that I like quite a bit) might be a better way to accomplish this. Even cooler would be if a talented web designer wrote an overhaul of the WebUI to make it super snazzy. :) This could be color coding for important stats, the option to turn off columns or move columns around, and a fix for that Firefox compatibility problem.

    Log levels can be figured out by looking at the log messages themselves. For example:

    Code:
    2012-05-14 20:18:59.212 [200]  X6500 board AH01A6D7 FPGA0 sent K-not-zero share 68dc3054

    The [200] in the bracket shows the minimum log level that this message would be displayed for. Once again, I'm sure TheSeven has a better explanation. :)


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: allinvain on May 15, 2012, 04:23:50 AM
    Thanks for your help fizzisist :)


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: hashking on May 15, 2012, 10:06:55 PM
    Does the overclocker firmware raise the clocks by itself?  I know it lowers them if the board gets to hot. 


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: fizzisist on May 15, 2012, 10:27:38 PM
    Does the overclocker firmware raise the clocks by itself?  I know it lowers them if the board gets to hot. 

    Yeah, it should raise them as well, but I believe this is done pretty conservatively. I recommend setting the starting clock to 200 MHz and the maximum clock to 250 MHz and letting it run for a few hours to stabilize.


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: hashking on May 15, 2012, 10:35:35 PM
    Does the overclocker firmware raise the clocks by itself?  I know it lowers them if the board gets to hot.  

    Yeah, it should raise them as well, but I believe this is done pretty conservatively. I recommend setting the starting clock to 200 MHz and the maximum clock to 250 MHz and letting it run for a few hours to stabilize.

    What is considered a safe temperature for this board.


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: allinvain on May 15, 2012, 10:45:20 PM
    Just as a side note lowering the log level to 350 did the trick for me - ie the web interface no longer crashes..3 days and still going (before it would crash after after day or less)



    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: fizzisist on May 15, 2012, 11:07:00 PM
    Does the overclocker firmware raise the clocks by itself?  I know it lowers them if the board gets to hot.  

    Yeah, it should raise them as well, but I believe this is done pretty conservatively. I recommend setting the starting clock to 200 MHz and the maximum clock to 250 MHz and letting it run for a few hours to stabilize.

    What is considered a high temperature for this board.

    MPBM has default values of 45 C for "warning" and 55 C for "critical." I would say these are good values, but if you are running a more power consuming bitstream later (like eldentyrell's forthcoming one), you might want to lower these values, since the offset between the PCB temp and the FPGA die will be a little higher. For now, aim to keep it under 45, and under 40 is even better.


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: freshzive on May 23, 2012, 02:39:41 AM
    So I got my ubuntu 12.04 setup working nicely with MPBM. The new (rev3?) units load up flawlessly. However, when loading older units, I get this error just after the firmware finishes uploading and it tries to wake up the FPGAs:

    Code:
    2012-05-22 19:38:08.719	[100]	AH00WOVL: 	Traceback (most recent call last):
      File "/home/tonic/mpbm/modules/fpgamining/x6500/x6500worker.py", line 217, in main
        elif data[0] == "temperature_read": self._notify_temperature_read(*data[1:])
      File "/home/tonic/mpbm/modules/fpgamining/x6500/x6500worker.py", line 287, in _notify_temperature_read
        self.core.event(350, self.children[0], "temperature", fpga0 * 1000, "%f \xc2\xb0C" % fpga0, worker = self.children[0])
    TypeError: unsupported operand type(s) for *: 'NoneType' and 'int'

    Obviously the older revs didn't have temp sensors, so I'm not sure what to do about this? Guessing there's some easy fix that I'm not thinking of.


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: TheSeven on May 23, 2012, 03:58:05 AM
    That's a regression on the testing branch as of about 3 days ago, which managed to slip through my testing.
    Run "git reset --hard 21575deb675015e20e0ec68958e595e49c6988db" to go back to a working revision for now until I fix this later today.


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: O_Shovah on May 24, 2012, 10:55:09 AM
    Hello


    Its me again ;)

    Two little issues i ran into again.

    First  my x6500:

    Code:
    self.core.event(350, self.children[0], "temperature", fpga0 * 1000, "%f \xc2\xb0C" % fpga0, worker = self.children[0])
    bash: Syntaxfehler beim unerwarteten Wort `350,'
    schwing@R2079-W5:~$ TypeError: unsupported operand type(s) for *: 'NoneType' and 'int'

    Second the Butterfly auto manager:

    If i hook up two Butterfly boxes to the miner they react in a strange way.

    They start some kind of flic flacing the work between the two boards so one is doing nothing while the other is on full.
    A few seconds later its the other way around
    I just get them to work if manually define workers for each of them.

    Any ideas ?


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: fizzisist on May 24, 2012, 06:13:56 PM
    Hello


    Its me again ;)

    Two little issues i ran into again.

    First  my x6500:

    Code:
    self.core.event(350, self.children[0], "temperature", fpga0 * 1000, "%f \xc2\xb0C" % fpga0, worker = self.children[0])
    bash: Syntaxfehler beim unerwarteten Wort `350,'
    schwing@R2079-W5:~$ TypeError: unsupported operand type(s) for *: 'NoneType' and 'int'


    This looks like the same problem that freshzive ran into. See:

    That's a regression on the testing branch as of about 3 days ago, which managed to slip through my testing.
    Run "git reset --hard 21575deb675015e20e0ec68958e595e49c6988db" to go back to a working revision for now until I fix this later today.


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: allinvain on May 25, 2012, 02:18:07 AM
    I don't know if anyone else is having this issue but one of my singles is showing odd performance metrics. The Accepted Shared, Cancelled Shares, Accepted jobs, etc are all heavily disproportionate when compared to the first one. This is BFL Single 2 that is doing this. I've attached a screenshot.

    Any help is greatly appreciated!

    Maybe I need to tune the pool settings a bit? I'm mining with btc guild. As you can see the first single is doing ok.

    I've downclocked the second single as it was throttling but the slightly lower speed (825 mhs) does not explain the odd performance - or at least it should not.

    http://img546.imageshack.us/img546/3718/screenshot2sn.png


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: allinvain on May 25, 2012, 02:55:36 AM
    Update:


    Hmm, well I flashed the formerly throttling unit back up to the stock 832 firmware and the previous issue with rejected jobs and shares disappeared..it seems running these things at differing hashrates (asynchronously) is not such a good idea. This could be an issue with the mining software, but I don't know for sure at this point.




    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: TheSeven on May 25, 2012, 08:49:35 AM
    I think it's highly unlikely that there is an issue with multiple BFLs running at different speeds. I'd rather suspect that the "slower" BFL's firmware just doesn't work properly.
    If you want to nail this issue down, can you please try running only the "slower" single (with the slower firmware) for some hours and give me the ghashes total, accepted jobs and accepted shares numbers? Or you could also try running both of them with the slower firmware to check if both go nuts in that case :)


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: allinvain on May 26, 2012, 06:42:09 PM
    I think it's highly unlikely that there is an issue with multiple BFLs running at different speeds. I'd rather suspect that the "slower" BFL's firmware just doesn't work properly.
    If you want to nail this issue down, can you please try running only the "slower" single (with the slower firmware) for some hours and give me the ghashes total, accepted jobs and accepted shares numbers? Or you could also try running both of them with the slower firmware to check if both go nuts in that case :)

    Sure,  I'll do that next week as I'm moving the cooler running single to a different location. Then I'll be able to run the hotter (the one that I had to originally downclock) single all by itself using the 825 firmware.



    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: O_Shovah on May 28, 2012, 11:38:08 AM
    I think it's highly unlikely that there is an issue with multiple BFLs running at different speeds. I'd rather suspect that the "slower" BFL's firmware just doesn't work properly.
    If you want to nail this issue down, can you please try running only the "slower" single (with the slower firmware) for some hours and give me the ghashes total, accepted jobs and accepted shares numbers? Or you could also try running both of them with the slower firmware to check if both go nuts in that case :)

    Sure,  I'll do that next week as I'm moving the cooler running single to a different location. Then I'll be able to run the hotter (the one that I had to originally downclock) single all by itself using the 825 firmware.



    Could you give me the two temperatures of you singles and the room temperature. I would like to have some comparison.


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: allinvain on May 28, 2012, 12:58:18 PM
    Room temp 27C

    Single 1: 47.50
    Single 2: 51.20



    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: O_Shovah on June 06, 2012, 09:27:13 PM
    So maybe a picture of my current (nonpermanent) setup of watercooled FPGA boards wich are manged by MPBM
    http://img515.imageshack.us/img515/7880/setupc.png (http://imageshack.us/photo/my-images/515/setupc.png/)
     .... 2,4 Gh/s .. @ 200 W ... nom nom nom

    And thanks a lot to TheSeven for all the bugfixing he is doing for me as i seem to come around with bugs and errors most frequently ;)



    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: gr0bi42 on June 08, 2012, 08:35:00 AM
    So maybe a picture of my current (nonpermanent) setup of watercooled FPGA boards wich are manged by MPBM
    http://img515.imageshack.us/img515/7880/setupc.png (http://imageshack.us/photo/my-images/515/setupc.png/)
     .... 2,4 Gh/s .. @ 200 W ... nom nom nom

    And thanks a lot to TheSeven for all the bugfixing he is doing for me as i seem to come around with bugs and errors most frequently ;)



    What kind of CPU-board is this? Looks not like an Rasberry-PI.


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: O_Shovah on June 08, 2012, 09:05:24 AM
    Its a Pandaboard ES running Ubuntu ARM and my ports of bitcoin-qt/bitcoind  and mpbm.


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: Zeronic on June 13, 2012, 06:33:46 PM
    Has anyone been able to setup MPBM via VMware, I know VM sometime doesn't see some USB devices. Windows 7 x64 Host with a Linux VM.

    Also what Linux distro would allow me to startup in text mode and then startx in to a GUI (make it easy for me to setup MPBM then leave it low resource mode). I like this with some of the older version of Red Hat, but not seen any others that allow for this.

    Thanks in Advance.


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: freshzive on June 13, 2012, 08:02:59 PM
    Does MPBM performance deteriorate over time? Or is that the x6500s?

    I notice that when I start MPBM (w/ 6 x6500s), performance is in the 2300-2400Mhash range (as reported by my pool). After about a week of running, it seems to have slowly dropped to around 2000-2100Mhash.

    MPBM looks fine and all my miners are still submitting shares, so it just seems there is a slight deterioration in performance over time. This is in Ubuntu 12.04.

    Restarting Ubuntu and loading MPBM (firmware on miners is also reloaded) seems to restore the original, faster hashrate.


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: TheSeven on June 13, 2012, 09:20:16 PM
    Does MPBM performance deteriorate over time? Or is that the x6500s?

    I notice that when I start MPBM (w/ 6 x6500s), performance is in the 2300-2400Mhash range (as reported by my pool). After about a week of running, it seems to have slowly dropped to around 2000-2100Mhash.

    MPBM looks fine and all my miners are still submitting shares, so it just seems there is a slight deterioration in performance over time. This is in Ubuntu 12.04.

    Restarting Ubuntu and loading MPBM (firmware on miners is also reloaded) seems to restore the original, faster hashrate.

    Which bitstream are you using?
    Are there any signs of a memory leak, i.e. increasing memory usage over time?
    Are there situations where it shows shitloads of "got <count> jobs from <work source>" on the console?


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: rjk on June 13, 2012, 09:25:07 PM
    I notice that when I start MPBM (w/ 6 x6500s), performance is in the 2300-2400Mhash range (as reported by my pool).
    It's most likely that the pool is being overly optimistic at the beginning.


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: hashking on June 14, 2012, 03:51:56 PM
    Can anyone help me with a step by step instruction on how to get a bfl to work with this miner on windows.


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: hashking on June 16, 2012, 12:38:12 AM
    I guess no one has used any BFL singles with this miner on windows.


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: cablepair on June 16, 2012, 02:28:41 AM
    Only REV1 BFL Singles work with MPBM

    a worker module for the REV3 has been on do list but TheSeven just hasnt gotten around to it yet.

    So unless you have all BFL REV1 singles they will not work with MPBM

    however all versions of the ModMiner Quad will. :)

    If you need help getting either one working with MPBM please dont hesitate to ask



    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: coretechs on June 16, 2012, 05:10:33 AM
    Only REV1 BFL Singles work with MPBM

    a worker module for the REV3 has been on do list but TheSeven just hasnt gotten around to it yet.

    So unless you have all BFL REV1 singles they will not work with MPBM


    That isn't true.  I have rev.3 singles and they have worked just fine with MPBM since the first time I plugged them in.  I am running linux though, so if you are referring to a Windows-specific problem you may want to be more explicit with your statement.


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: O_Shovah on June 16, 2012, 12:05:51 PM
    I guess no one has used any BFL singles with this miner on windows.

    I can do a testing on it today if you realy prefere windows.

    Otherwise i would strongly recommend you to use  ubuntu or another debian flavour of linux wich mpbm
    was originally written for.

    In that case i may give you a detailed stepguide.


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: ebereon on June 17, 2012, 11:45:27 AM
    Currently trying to use the Icarus side of the Cairnsmore1 board (57600 baud rate and SW6 1 off, 2,3,4 on) and getting the following error:

    "could not open port /dev/ttyUSB0: [Error 3] The system cannot find the path specified."

    First person to fix gets 5 btc. (I've tried USB0-6)

    On Windows or Linux?
    You say /dev/ttyUSBx... I assume you're using linux. When you plug in the unit you see the /dev/ttyUSBx (it should be 4 ttyUSB's) coming up (dmesg)?
    If yes try the icarus miner with baudrate 56000 (SW6 1234 on) and the standard 115200 (SW6 1 off, 234 on) on every ttyUSB for the unit. Only 2 of them are the fpga's. You have to power off the unit to take the switches work!

    I'm sure you already did "¯/sbin/modprobe -q ftdi-sio product=0x8350 vendor=0x0403¯" ?!

    sry for my bad english ;P

    My cairnsmore with mpbm on Windows7 32bit:
    http://content.wuala.com/contents/ebereon/Shared/bitcoin/mpbm_cairnsmore1.JPG?dl=1



    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: ebereon on June 17, 2012, 06:08:27 PM
    On windows you need to use "\\.\COMxx" not "/dev/ttyUSBx" ...

    If you look in the device manager and you put the unit in, you should see COM20 - 23. So only 2 of em are the right ones. On my win7 it was COM21 and COM23. But other people have COM22 and COM23. You have to test this.





    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: ebereon on June 17, 2012, 06:33:46 PM
    1KWGtSxo5b52Adk3Pvw14E3o9kp96JZJm2

     :D


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: ebereon on June 19, 2012, 08:46:36 AM
    You just earned yourself 5 btc my friend.  What's your address?

    Received! Thank you!  ;D


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: mu50stang on June 20, 2012, 12:34:24 AM
    Does anyone know how to use the modminer with this software. 


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: MykelSilver on June 24, 2012, 12:12:55 PM
    Hi,

    Is there any example configuration for solo mining with MPBM?
    I have now configured MPBM for pooled mining, but I cannot figure out how to mine solo with MPBM. Anyone? Thanks in advance.


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: shad on June 25, 2012, 05:59:38 PM
    you have to direct mpbm to your local bitcoin client i guess?
    shouldn't be different to using a pool


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: MykelSilver on June 25, 2012, 06:08:29 PM
    Is it really that simple? Thanks a lot!


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: MykelSilver on June 27, 2012, 05:13:20 PM
    you have to direct mpbm to your local bitcoin client i guess?
    shouldn't be different to using a pool

    I have tried your suggestion but I keep gettting this error:
    Local: Error while fetching job: Traceback (most recent call last):
      File "C:\Users\MykelSilver\Desktop\X6500_Easy_Package_For_Windows\mpbm-v0.1.0beta\core\actualworksource.py", line 155, in get_job
        jobs = self._get_job()
      File "C:\Users\MykelSilver\Desktop\X6500_Easy_Package_For_Windows\mpbm-v0.1.0beta\modules\theseven\bcjsonrpc\bcjsonrpcworksource.py", line 120, in _get_job
        conn.request("POST", self.settings.path, req, headers)
      File "c:\Program Files (x86)\Python32\lib\http\client.py", line 964, in request
      File "c:\Program Files (x86)\Python32\lib\http\client.py", line 1002, in _send_request
      File "c:\Program Files (x86)\Python32\lib\http\client.py", line 960, in endheaders
      File "c:\Program Files (x86)\Python32\lib\http\client.py", line 805, in _send_output
      File "c:\Program Files (x86)\Python32\lib\http\client.py", line 743, in send
      File "c:\Program Files (x86)\Python32\lib\http\client.py", line 721, in connect
      File "c:\Program Files (x86)\Python32\lib\socket.py", line 386, in create_connection
    socket.gaierror: [Errno 11004] getaddrinfo failed

    I have configured my work source to connect to localhost:8332
    Of course the bitcoin daemon is running.
    Unfortunately there is no documentation of its configuration file.  
    Anyone has any luck with the configuration of the bitcoin deamon?
    Thanks in advance


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: shad on June 28, 2012, 10:26:42 AM
     #server=1 tells Bitcoin to accept JSON-RPC commands.
     #server=1
     
     # You must set rpcuser and rpcpassword to secure the JSON-RPC api
     #rpcuser=Ulysseys
     #rpcpassword=YourSuperGreatPasswordNumber_385593

    did you set those?


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: MykelSilver on June 28, 2012, 04:35:23 PM
    #server=1 tells Bitcoin to accept JSON-RPC commands.
     #server=1
     
     # You must set rpcuser and rpcpassword to secure the JSON-RPC api
     #rpcuser=Ulysseys
     #rpcpassword=YourSuperGreatPasswordNumber_385593

    did you set those?

    The MPBM webUI runs on Windows.

    I running the bitcoin daemon on linux
    I installed them in my home folder
    There are two files:
    -rwxr-xr-x. 1 mykelsilver mykelsilver 4,2M  8 mei 19:34 bitcoind
    -rwxr-xr-x. 1 mykelsilver mykelsilver 9,3M  8 mei 19:34 bitcoin-qt

    I cannot see any configuration file in ~/.bitcoin. This folder contains only the following files:

    drwx------.   3 mykelsilver mykelsilver 4,0K 27 jun 21:23 .
    drwx------. 107 mykelsilver mykelsilver 4,0K 25 jun 18:25 ..
    -rw-------.   1 mykelsilver mykelsilver 5,8M 27 jun 21:23 addr.dat
    -rw-------.   1 mykelsilver mykelsilver 1,9G 27 jun 21:10 blk0001.dat
    -rw-------.   1 mykelsilver mykelsilver 645M 27 jun 21:10 blkindex.dat
    drwx------.   2 mykelsilver mykelsilver  12K 27 jun 21:23 database
    -rw-------.   1 mykelsilver mykelsilver    0  3 mrt 08:26 db.log
    -rw-------.   1 mykelsilver mykelsilver 1,7M 27 jun 21:23 debug.log
    -rw-------.   1 mykelsilver mykelsilver    0  3 mrt 08:26 .lock
    -rw-------.   1 mykelsilver mykelsilver  88K 27 jun 21:10 wallet.dat
    -rw-rw-r--.   1 mykelsilver mykelsilver  46K 29 apr 18:29 wallet.dat.pgp
    [mykelsilver@fedora .bitcoin]$

    In the configuration of my client I cannot set any username or password.

    In my previous post I connected through the wrong ipaddress. Now I connect to the ipaddress of the linux server
    It is to complex to explain all the details.
     Never mind. It is not possible to solo mine with MPBM for me.

    Anyway thanks for your patience and time.

    Regards,


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: MykelSilver on June 28, 2012, 04:50:10 PM
    Wow I works now. I had to create the bitcoin.conf file manually  :D


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: freshzive on July 05, 2012, 06:18:55 AM
    are there any specific settings I should use with P2Pool to reduce DOA and stale %?

    what do others get for stale % using P2pool with MPBM?


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: binspac on July 13, 2012, 08:36:52 AM
    How can I get this working for BFL Singles?

    My worker dropdown only shows options for the x6500.


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: bonks on July 13, 2012, 08:59:25 AM
    How can I get this working for BFL Singles?

    My worker dropdown only shows options for the x6500.

    Git pull the latest code. I could not get the bfl manager to work so I use the individual workers. Make sure to set the path to the appropriate /dev/ttyUSB#


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: binspac on July 13, 2012, 09:22:45 AM
    How can I get this working for BFL Singles?

    My worker dropdown only shows options for the x6500.

    Git pull the latest code. I could not get the bfl manager to work so I use the individual workers. Make sure to set the path to the appropriate /dev/ttyUSB#

    I did Git it. It appears that it fails to load because I don't have pyusb or pyserial and opkg says they do not exist. This is odd because they do exist:
    http://www.angstrom-distribution.org/repo/?pkgname=python-pyusb
    http://www.angstrom-distribution.org/repo/?pkgname=python-pyserial

    Edit:

    OK, I got them installed by downloading them manually now all I need is the ftdi-sio driver but I have to save that for tomorrow. If anyone can help with the driver that would be awesome, my OS (Angstrom) didn't come with it.


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: shad on July 13, 2012, 02:43:29 PM
    did you make "opkg update" before?


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: binspac on July 14, 2012, 07:00:22 AM
    Got the ftdi_sio driver and did:

    Code:
    modprobe ftdi_sio vendor=0x0403 product=6014

    But when I plug in my device it doesn't create /dev/ttyUSB0. Here is my dmesg output when plugging it in: http://pastebin.com/8hbhVxzL

    Can anyone help?

    System: WM8650 Netbook
    OS: Angstrom
    Device: BFL Single


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: teaserX on July 21, 2012, 04:34:13 PM
    I'm trying to make some adjustments to my MPBM webui. Can't find there right place in the code to adjust the height of the viewport for the statistics gadget. Pointing me to the right file is probably all I need. thx in advance.


    EDIT: For future reference the post below is spot on. Thx.


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: ebereon on July 21, 2012, 04:57:24 PM
    I'm trying to make some adjustments to my MPBM webui. Can't find there right place in the code to adjust the height of the viewport for the statistics gadget. Pointing me to the right file is probably all I need. thx in advance.

    mpbm\modules\theseven\webui\wwwroot\static\statsgadget\statsgadget.js

    I hope it helps.

    eb


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: ssateneth on July 22, 2012, 01:03:29 AM
    Your screenshot links to a thumbnail. Please fix to regular screenshot?


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: LazyOtto on July 22, 2012, 07:11:13 AM
    On OS X, using python3 and the BFL 768 firmware (merely haven't tested at other speeds yet) I had to change the following two lines in bflsingleworker.py to be successful:

    starting about line 224

    from:
    if response[:12] != "NONCE-FOUND:" or response[-1:] != "\n":
    to:
    if response[:12] != b"NONCE-FOUND:":

    and

    from:
    if len(nonces) != 8 and nonces[8] != b",":
    to:
    if len(nonces) != 8 and nonces[8] != 0x2c:


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: LazyOtto on July 22, 2012, 08:51:59 AM
    Same patch is working with the 800MH/s BFL firmware.


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: binspac on July 23, 2012, 03:16:58 AM
    Got the ftdi_sio driver and did:

    Code:
    modprobe ftdi_sio vendor=0x0403 product=6014

    But when I plug in my device it doesn't create /dev/ttyUSB0. Here is my dmesg output when plugging it in: http://pastebin.com/8hbhVxzL

    Can anyone help?

    System: WM8650 Netbook
    OS: Angstrom
    Device: BFL Single

    5btc reward for someone to get this working for me, would really like to move these loud, hot, suckers elsewhere


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: O_Shovah on July 23, 2012, 10:19:28 AM
    Got the ftdi_sio driver and did:

    Code:
    modprobe ftdi_sio vendor=0x0403 product=6014

    But when I plug in my device it doesn't create /dev/ttyUSB0. Here is my dmesg output when plugging it in: http://pastebin.com/8hbhVxzL

    Can anyone help?

    System: WM8650 Netbook
    OS: Angstrom
    Device: BFL Single

    5btc reward for someone to get this working for me, would really like to move these loud, hot, suckers elsewhere
    If its not essentially nesssary to you, or the processor you may please consider using some OS like ubuntu or fedora.
    I know Angström to be a little tricky here.

    I am using ubuntu 12.04 and have used all ubuntu distributions from 9.04 upwards.

    I will try to dig some free time tonight, so i may have a look at your problem.


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: binspac on July 24, 2012, 12:13:21 AM
    The WM8650 has an ARM processor and the OS has to run from an SD card. I might buy a bigger SD card (mine is only 2GB) so I can use Debian instead of Angstrom.


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: MykelSilver on August 18, 2012, 10:15:31 PM
    Mining using MPBM configured for a mining pool (like ozcoin / deepbit) runs fine.

    I still run into trouble using MPBM configured for solo mining :-(

    I am currently using MPBM.EXE under windows
    My bitcoind is running under linux (other machine)
    I have created the bitcoin.conf with the rpcuser and rpcpassword supplied

    I run the bitcoind with bitcoin -server in a terminal

    When I create a new worker in MPBM with the ip adress of the machine where bitcoind runs and port 8332 and supply the rpcuser and rpcpassword,
    MPBM is not able to fetch jobs from bitcoind...

    What am I doing wrong?


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: davecoin on August 28, 2012, 03:16:42 PM
    What is the best way to set a backup pool using mpbm?  For instance, if mtred goes down, is there a way to have the program switch to another pool?  I am familiar with this feature on cgminer, but I am new to mpbm.

    Thanks,
    Dave


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: LazyOtto on August 28, 2012, 03:23:04 PM
    I never found a good way (one which satisfied me) to have mpbm do an actual hot/backup configuration.

    However, it does an excellent job of equally sharing work among two to many work-sources.

    So, my suggestion, pick two pools which you find both to be satisfactory and split your shares between them. Or, Ozcoin and EclipseMC both have multiple independent servers which you can point work-sources at and then all the shares get credited to the same account.


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: davecoin on August 28, 2012, 03:44:04 PM
    That's a good idea, thanks.


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: davecoin on August 28, 2012, 04:01:02 PM
    Should this be of any concern?

    "Discarding 120 jobs from long poll response because work buffer is full"

    Thanks,
    Dave


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: LazyOtto on August 28, 2012, 04:30:54 PM
    I don't think so. Just watch for a while to ensure you are getting as many shares accepted per minute as you expect. In my case, I'm getting almost exactly, or perhaps slightly better, results as I was getting with cgminer.

    However, a tip, if you want to leave the monitor web page up for long periods you'll need to change the log level to something like 200 in two places. Both for the web output and for the stdout output. If you don't do that it will develop a problem (bad) in a half day to a couple of days of continuous running.

    --

    Hmmm, just went to increase the log level for web output to verify that I also was getting those messages (I 'think' I was) and see that there is no longer a log level setting for the web gui. So, that problem may have been resolved.

    I'm using a version pulled straight from the git repository since I wanted to take a look at some of the work in progress. Depending on where you got your distribution there could be some minor variances.


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: hashking on August 28, 2012, 09:56:15 PM
    Is there any newer version then this out for windows mpbm-v0.1.0beta.zip.  I'm seeing alot of this lately with any pool I use and wonder if its a software issue.
     


    50 BTC.COM: Error while fetching job: Traceback (most recent call last):
      File "C:\Users\\Desktop\X6500_Easy_Package_For_Windows\mpbm-v0.1.0beta\core\actualworksource.py", line 155, in get_job
        jobs = self._get_job()
      File "C:\Users\\Desktop\X6500_Easy_Package_For_Windows\mpbm-v0.1.0beta\modules\theseven\bcjsonrpc\bcjsonrpcworksource.py", line 120, in _get_job
        conn.request("POST", self.settings.path, req, headers)
      File "c:\Program Files (x86)\Python32\lib\http\client.py", line 964, in request
      File "c:\Program Files (x86)\Python32\lib\http\client.py", line 1002, in _send_request
      File "c:\Program Files (x86)\Python32\lib\http\client.py", line 960, in endheaders
      File "c:\Program Files (x86)\Python32\lib\http\client.py", line 805, in _send_output
      File "c:\Program Files (x86)\Python32\lib\http\client.py", line 743, in send
      File "c:\Program Files (x86)\Python32\lib\http\client.py", line 721, in connect
      File "c:\Program Files (x86)\Python32\lib\socket.py", line 404, in create_connection
      File "c:\Program Files (x86)\Python32\lib\socket.py", line 395, in create_connection
    socket.timeout: timed out


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: LazyOtto on August 29, 2012, 07:18:30 AM
    How to use json to get data from MPBM.

    It would have saved me quite a few hours if an example of this type had been available, so, here it is for anyone else who might be looking.

    The 'magic' involved is having to set the headers on the request in order to receive a non-null response.
    E.g.,
    curl <url> -d "1"  -H "DNT: 1" -H "If-Modified-Since:Sat, 1 Jan 2000 00:00:00 GMT" -H "Content-Type:application/json"

    You can find examples of required <url> in the Python example below.

    This gives a quick test to ensure the web-server / mpbm is working before you get bogged down in "why is urllib3 throwing that exception?". :)

    (BTW, "requests" is a third party library. Free to use it seems. You can find it if you need it.)
    --

    #!/usr/bin/env python
    # -*- coding: utf-8 -*-

    # Path hack.
    import sys
    import os
    sys.path.insert(0, os.path.abspath('..'))
    import json
    import unittest
    import pickle
    import tempfile
    from pprint import pprint
    import datetime
    import time

    import requests
    from requests.compat import str, StringIO
    from requests import HTTPError
    from requests import get, post, head, put
    from requests.auth import HTTPBasicAuth, HTTPDigestAuth
    from requests.exceptions import InvalidURL

    # curl <url> -d "1"  -H "DNT: 1" -H "If-Modified-Since:Sat, 1 Jan 2000 00:00:00 GMT" -H "Content-Type:application/json"

    def getDataFromMPBM():
      auth = HTTPBasicAuth('admin', 'mpbm')
      headers = {'content-type' : 'application/json', 'DNT' : '1', 'If-Modified-Since' : 'Sat, 1 Jan 2000 00:00:00 GMT' }

      workerURL = 'http://host.domain.com:8832/api/statsgadget/getworkerstats'
      blockchainURL = 'http://host.domain.com:8832/api/statsgadget/getblockchainstats'
      worksourceURL = 'http://host.domain.com:8832/api/statsgadget/getworksourcestats'
      allURL = 'http://host.domain.com:8832/api/statsgadget/getallstats'

      r = requests.post(workerURL, auth=auth, data='1', headers=headers, prefetch=True)

      #print(json.dumps( r.json, sort_keys = True, indent = 4 ) )
      workerResponse = json.loads( r.text )
      #pprint( workerResponse )

      return workerResponse

    tempHigh = 0.0
    tempLow = 100.0
    while( True ):
      workerResponse = getDataFromMPBM()

      startTime = datetime.datetime.fromtimestamp( workerResponse[ 'starttime' ] )
      dataTime = datetime.datetime.fromtimestamp( workerResponse[ 'timestamp' ] )
      upTime = dataTime - startTime
      tempNow = workerResponse['workers'][0]['temperature']
      if tempNow < tempLow : tempLow = tempNow
      if tempNow > tempHigh : tempHigh = tempNow
      #print( upTime )
      print( '{0:.1f} \tHigh: {2:.1f} \tLow: {3:.1f} \t{1}'.format( tempNow, dataTime, tempHigh, tempLow ) )

      time.sleep( 9.991 )


    exit()


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: fizzisist on August 29, 2012, 08:25:11 AM
    How to use json to get data from MPBM.

    It would have saved me quite a few hours if an example of this type had been available, so, here it is for anyone else who might be looking.


    Thanks for this, Otto. Actually, there is one example of grabbing data from the API in the munin plugin here (https://bitcointalk.org/index.php?topic=62823.msg897409#msg897409).

    TheSeven, might be good to add links to both of these in the OP?


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: steveme on August 29, 2012, 07:47:57 PM
    Hi all,

    I'm running mpbm 0.1.0 beta on Ubuntu 12.04 with Python 2.7.3 but when viewing it locally using Firefox or remotely using Firefox or IE it is displayed with the menu ('frontends', 'workers', 'work sources', etc) 'behind' a table displaying the donation pools, the only way I can interact with those options is to switch to 'no style' in 'view' -> 'page style' in FF

    I'm assuming it's a missing python package - any ideas??


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: LazyOtto on August 29, 2012, 09:02:03 PM
    It is actually a known problem that it doesn't work with Firefox.
    Not a missing python package issue.

    Wouldn't know about IE, haven't used it for years.

    Works fine with Safari from OS X.

    You might try that or Opera.


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: moparguy528 on August 29, 2012, 11:29:52 PM
    Is there any newer version then this out for windows mpbm-v0.1.0beta.zip.  I'm seeing alot of this lately with any pool I use and wonder if its a software issue.
     


    50 BTC.COM: Error while fetching job: Traceback (most recent call last):
      File "C:\Users\\Desktop\X6500_Easy_Package_For_Windows\mpbm-v0.1.0beta\core\actualworksource.py", line 155, in get_job
        jobs = self._get_job()
      File "C:\Users\\Desktop\X6500_Easy_Package_For_Windows\mpbm-v0.1.0beta\modules\theseven\bcjsonrpc\bcjsonrpcworksource.py", line 120, in _get_job
        conn.request("POST", self.settings.path, req, headers)
      File "c:\Program Files (x86)\Python32\lib\http\client.py", line 964, in request
      File "c:\Program Files (x86)\Python32\lib\http\client.py", line 1002, in _send_request
      File "c:\Program Files (x86)\Python32\lib\http\client.py", line 960, in endheaders
      File "c:\Program Files (x86)\Python32\lib\http\client.py", line 805, in _send_output
      File "c:\Program Files (x86)\Python32\lib\http\client.py", line 743, in send
      File "c:\Program Files (x86)\Python32\lib\http\client.py", line 721, in connect
      File "c:\Program Files (x86)\Python32\lib\socket.py", line 404, in create_connection
      File "c:\Program Files (x86)\Python32\lib\socket.py", line 395, in create_connection
    socket.timeout: timed out

    I am seeing something similar using the latest version in Ubuntu 12.04. Doesn't matter which pool. Once this happens a few times sometimes I lose all connections to the pool. I have to restart. It seems to get worse the more x6500 units hook up to it.


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: davecoin on August 30, 2012, 04:23:55 AM
    Hi all,

    I'm running mpbm 0.1.0 beta on Ubuntu 12.04 with Python 2.7.3 but when viewing it locally using Firefox or remotely using Firefox or IE it is displayed with the menu ('frontends', 'workers', 'work sources', etc) 'behind' a table displaying the donation pools, the only way I can interact with those options is to switch to 'no style' in 'view' -> 'page style' in FF

    I'm assuming it's a missing python package - any ideas??

    I had the same issue.  Try the chromium browser.


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: Dexter770221 on August 30, 2012, 06:26:06 PM
    I'm looking, and looking and can't find how to use this software on Windows... Any help?


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: O_Shovah on August 31, 2012, 07:31:03 AM
    I'm looking, and looking and can't find how to use this software on Windows... Any help?
    You have been acting according to http://fpgamining.com/documentation/software/mpbm-windows (http://fpgamining.com/documentation/software/mpbm-windows) ?
    This is a guide by fizzist.

    If that does not work some info on your system (software) might be intresting.
    While Windows 7 is mostly problemless Windows XP is very nasty here.


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: shad on September 23, 2012, 06:56:03 PM
    Status update on my miner:

    1.) i always wrote that i am mining on ARM, thats not true :) sorry for that
    i checked cpuinfo and it's an "MIPS 24Kc V7.4" with 128MB-RAM with one X6500
    OS: Openwrt
    RAM-Usage:56MB

    2) MPBM stop working today (after i added an additional pool and made some config changes) with some "OS error can't handl memory allocation or something"
    i am on version 0.1.0 (beta), yeah its at this version since a long time, commit "7690b2e" (Apr 27, 2012)
    it did run stable for 2 Month 16 Day
    This Miner-Software is great!

    3) i added a 2. P2Pool today and i am working with priority's, so the 2. P2Pool with prio 1 (which is lowest afaik) gets the most Hashrate, after searching this thread i came to the post where it is noted that P2Pool should run at an other Blockchain but that isn't implemented yet? i didn't look at the code but i guess it would be a bigger implementation and i am thinking about a simple solution

    there are only 2 blockchains => Bitcoin and P2Pool, i guess nobody is mining namecoin or others without merged mining
    so i am thinking about an "workers source"-option called "new block doesn't effect other worker sources"

    made a git pull yesterday and my problem is gone :) nice work

    just my 0.5BTC  ;)


    Title: MPBM AJAX memory leak?
    Post by: Bogart on October 01, 2012, 02:37:47 PM
    Hi, I hope this is a good place for bug reporting.

    I have been using MPBM for a few days now, cloned from github on 26-September.

    Over the weekend I left it running, and left the Safari window open with the WebUI running.

    When I returned today, it was running real chunky, and Safari was using several gigs of memory.  Upon closing the MPBM tab, the memory was freed and things returned to normal.

    I think the AJAX code is leaking memory.  Here is a screenshot of the Activity window after it has been running for a few minutes:

    https://i.imgur.com/GbdbN.png

    I think either the getallstats responses, or /api/log/stream (or both) are continuing to accumulate in browser memory for as long as the tab remains open.

    Sorry I didn't capture the Activity window before closing the tab earlier.

    Let me know if I can do anything more to help debug this.


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: 99Percent on October 11, 2012, 03:25:55 AM
    I regret to report that after several months of using a very early version of mpbm (v0.0.4alpha) I can no longer get the miner to work with my x6500 and BTCGuild using today's git version (v0.1.0beta)

    I have set up everything to the best of my knowledge but I get right of the bat:
    Code:
    2012-10-10 21:57:45.146	[0]	Core: 	Modular Python Bitcoin Miner v0.1.0beta, Copyright (C) 2012 Michael Sparmann (TheSeven)
    2012-10-10 21:57:45.146 [0] Core: Modular Python Bitcoin Miner comes with ABSOLUTELY NO WARRANTY.
    2012-10-10 21:57:45.146 [0] Core: This is free software, and you are welcome to redistribute it under certain conditions.
    2012-10-10 21:57:45.147 [0] Core: See included file COPYING_GPLv2.txt for details.
    2012-10-10 21:57:45.147 [0] Core: Please consider donating to 1PLAPWDejJPJnY2ppYCgtw5ko8G5Q4hPzh or,
    2012-10-10 21:57:45.147 [0] Core: even better, donating a small share of your hashing power if you want
    2012-10-10 21:57:45.147 [0] Core: to support further development of the Modular Python Bitcoin Miner.
    2012-10-10 21:57:45.163 [500] Core: Loading modules...
    2012-10-10 21:57:45.550 [100] Core: Starting up...
    2012-10-10 21:57:45.572 [200] Core: Startup completed
    2012-10-10 21:57:46.307 [200] BTCGuild: Error while fetching job: Traceback (most recent call last):
      File "/home/david/Modular-Python-Bitcoin-Miner/modules/theseven/bcjsonrpc/bcjsonrpcworksource.py", line 257, in fetcher
        jobs = self._build_jobs(response, data, epoch, now, "getwork")
      File "/home/david/Modular-Python-Bitcoin-Miner/modules/theseven/bcjsonrpc/bcjsonrpcworksource.py", line 375, in _build_jobs
        decoded = json.loads(decoded)
      File "/usr/lib/python2.7/json/__init__.py", line 326, in loads
        return _default_decoder.decode(s)
      File "/usr/lib/python2.7/json/decoder.py", line 366, in decode
        obj, end = self.raw_decode(s, idx=_w(s, 0).end())
      File "/usr/lib/python2.7/json/decoder.py", line 384, in raw_decode
        raise ValueError("No JSON object could be decoded")
    ValueError: No JSON object could be decoded

    2012-10-10 21:57:46.570 [200] BTCGuild: Error while fetching job: Traceback (most recent call last):
      File "/home/david/Modular-Python-Bitcoin-Miner/modules/theseven/bcjsonrpc/bcjsonrpcworksource.py", line 257, in fetcher
        jobs = self._build_jobs(response, data, epoch, now, "getwork")
      File "/home/david/Modular-Python-Bitcoin-Miner/modules/theseven/bcjsonrpc/bcjsonrpcworksource.py", line 375, in _build_jobs
        decoded = json.loads(decoded)
      File "/usr/lib/python2.7/json/__init__.py", line 326, in loads
        return _default_decoder.decode(s)
      File "/usr/lib/python2.7/json/decoder.py", line 366, in decode
        obj, end = self.raw_decode(s, idx=_w(s, 0).end())
      File "/usr/lib/python2.7/json/decoder.py", line 384, in raw_decode
        raise ValueError("No JSON object could be decoded")
    ValueError: No JSON object could be decoded

    2012-10-10 21:57:46.957 [200] BTCGuild: Error while fetching job: Traceback (most recent call last):
      File "/home/david/Modular-Python-Bitcoin-Miner/modules/theseven/bcjsonrpc/bcjsonrpcworksource.py", line 257, in fetcher
        jobs = self._build_jobs(response, data, epoch, now, "getwork")
      File "/home/david/Modular-Python-Bitcoin-Miner/modules/theseven/bcjsonrpc/bcjsonrpcworksource.py", line 375, in _build_jobs
        decoded = json.loads(decoded)
      File "/usr/lib/python2.7/json/__init__.py", line 326, in loads
        return _default_decoder.decode(s)
      File "/usr/lib/python2.7/json/decoder.py", line 366, in decode
        obj, end = self.raw_decode(s, idx=_w(s, 0).end())
      File "/usr/lib/python2.7/json/decoder.py", line 384, in raw_decode
        raise ValueError("No JSON object could be decoded")
    ValueError: No JSON object could be decoded


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: 99Percent on October 11, 2012, 04:32:25 AM
    Never mind. I was entering the wrong user_worker and password.

    Perhaps a less cryptic message is in order here.


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: allinvain on October 21, 2012, 05:06:52 PM
    Does anyone know why using both BFL singles and Icarus FPGA miners with MPBM does not work? Is there some special trick that has to be done? Oddly even when I go to add a worker the bfl single worker does not even show up even though it appears the appropriate modules are there in the modules directory. I tried even the latest github build, no go. Eventually I gave up and used bfgminer for the singles and mpbm for the icarus boards.


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: purelithium on December 17, 2012, 11:33:17 PM
    How do I use this with the ModMiner Quad? I currently use BFGMiner, but I prefer the webinterface of MPBM. It works great with my X6500s, now I want to add in my MMQ.

    How do I do this?


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: allinvain on December 26, 2012, 09:33:20 AM
    Is this project still being worked on or has it been abandoned? Any chance of updating the software to support the stratum mining protocol and any of the recent advancements in bitcoin mining - perhaps even support for ASIC miners? (granted being ASIC ready means supporting a mining protocol like stratum or getblocktemplate - luke's idea)



    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: shad on December 26, 2012, 11:16:54 AM
    i guess you have to use the stratum-proxy, which is impossible for me on my router :( but it should work fine on a pc or a raspberry

    but i am pretty sure it will support ASIC
    last update was 17 days ago


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: freshzive on February 06, 2013, 06:12:33 AM
    just did a git pull and noticed stratum support. seems to work fine with my set of x6500s. cheers!


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: fpgaminer on February 12, 2013, 11:52:04 PM
    If anyone has trouble using MPBM's Stratum Work Source with the BitMinter pool, I made the following patch against the latest version of MPBM:
    http://pastie.org/6112329 (http://pastie.org/6112329)

    I have the patched code running well with the Stratum sources of Slush, BitMinter, and Ozcoin. On my Raspberry Pi and X6500!


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: bbulker on March 04, 2013, 03:55:20 AM
    Is it supposed to look like this, lol? Help!

    https://i.imgur.com/3IMgOVOt.png (https://i.imgur.com/3IMgOVO.png)


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: gyverlb on March 04, 2013, 10:32:48 AM
    Is it supposed to look like this, lol? Help!

    https://i.imgur.com/3IMgOVOt.png (https://i.imgur.com/3IMgOVO.png)
    Try Chrome/Chromium (this is how it looks like on Firefox).


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: bbulker on March 04, 2013, 10:57:23 AM
    Is it supposed to look like this, lol? Help!

    https://i.imgur.com/3IMgOVOt.png (https://i.imgur.com/3IMgOVO.png)
    Try Chrome/Chromium (this is how it looks like on Firefox).

    I refuse to install Chrome (AKA Google Botnet) since it's a massive security hole and records everything you type into the URL bar. Opera is my main browser due to the tight securty options but the console log never shows up in it.


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: gyverlb on March 04, 2013, 11:34:47 AM
    I refuse to install Chrome (AKA Google Botnet) since it's a massive security hole and records everything you type into the URL bar.

    Aren't all browser recording what you type to make it easier to find later?

    I can understand Chrome being a privacy problem being closed-source and configured to send back information to Google by default but I'm not sure how it is a security problem and why Chromium would be a problem at all given that you can check for yourself that it doesn't have any back-door or send data back to Google (which isn't possible with Opera unless you disassemble it).

    Anyway, Opera is switching to WebKit (already used by Safari and all Chromium derivatives) so you may just opt to wait.


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: shad on March 06, 2013, 07:33:21 PM
    Is it supposed to look like this, lol? Help!

    https://i.imgur.com/3IMgOVOt.png (https://i.imgur.com/3IMgOVO.png)
    Try Chrome/Chromium (this is how it looks like on Firefox).

    I refuse to install Chrome (AKA Google Botnet) since it's a massive security hole and records everything you type into the URL bar. Opera is my main browser due to the tight securty options but the console log never shows up in it.

    or try safari it works too
    i use it only for that, and only because its preinstalled on osx


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: shad on March 13, 2013, 11:05:54 PM
    anyone else having trouble with stratum?
    worked fine for some hours

    now it is finding share but no accept or reject message, not counted on the pool


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: Bicknellski on March 26, 2013, 03:50:04 PM

    Quote
    2013-03-27 00:25:24.747   
    [100]   Untitled X6500 worker: Proxy: Exception caught: Traceback (most recent call last):
      File "C:\Users.....X6500_Easy_Package_For_Windows\mpbm-v0.1.0beta\modules\fpgamining\x6500\boardproxy.py", line 77, in run
        else: self.device = FT232R(FT232R_PyUSB(self.serial, self.takeover))

      File "C:\Users.....X6500_Easy_Package_For_Windows\mpbm-v0.1.0beta\\mpbm-v0.1.0beta\modules\fpgamining\x6500\util\ft232r.py", line 349, in __init__
        raise Exception("Can not open the specified device")
          Exception: Can not open the specified device

    2013-03-27 00:25:24.748   

    [100]   Untitled X6500 worker: Traceback (most recent call last):
      File "C:\Users.....\Users.....X6500_Easy_Package_For_Windows\mpbm-v0.1.0beta\\mpbm-v0.1.0beta\modules\fpgamining\x6500\x6500worker.py", line 211, in main
        elif data[0] == "dying": raise Exception("Proxy died!")
           Exception: Proxy died!


    Any Ideas?

    Resolved it...  just needed BETTER USB cables.... ARGGGGG!


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: ziomik on April 01, 2013, 05:53:44 PM
    anyone else having trouble with stratum?
    worked fine for some hours

    now it is finding share but no accept or reject message, not counted on the pool

    same problem, works for hours and then BOOM error red


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: tolan77 on April 04, 2013, 07:11:25 PM

    Quote
    2013-03-27 00:25:24.747   
    [100]   Untitled X6500 worker: Proxy: Exception caught: Traceback (most recent call last):
      File "C:\Users.....X6500_Easy_Package_For_Windows\mpbm-v0.1.0beta\modules\fpgamining\x6500\boardproxy.py", line 77, in run
        else: self.device = FT232R(FT232R_PyUSB(self.serial, self.takeover))

      File "C:\Users.....X6500_Easy_Package_For_Windows\mpbm-v0.1.0beta\\mpbm-v0.1.0beta\modules\fpgamining\x6500\util\ft232r.py", line 349, in __init__
        raise Exception("Can not open the specified device")
          Exception: Can not open the specified device

    2013-03-27 00:25:24.748   

    [100]   Untitled X6500 worker: Traceback (most recent call last):
      File "C:\Users.....\Users.....X6500_Easy_Package_For_Windows\mpbm-v0.1.0beta\\mpbm-v0.1.0beta\modules\fpgamining\x6500\x6500worker.py", line 211, in main
        elif data[0] == "dying": raise Exception("Proxy died!")
           Exception: Proxy died!


    Any Ideas?

    Resolved it...  just needed BETTER USB cables.... ARGGGGG!

    I've been plauged by this issue and today I've gotten a new issue and can't get my miners to mine at all.
    Caught exception: Traceback (most recent call last):
      File "C:\X6500_Easy_Package_For_Windows\mpbm-v0.1.0beta\modules\fpgamining\x6500\x6500hotplug.py", line 287, in main
        for serial, child in self.childmap.items():
    RuntimeError: dictionary changed size during iteration

    Which cables did you end up trying?


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: n4l3hp on April 05, 2013, 01:33:12 PM
    http://i45.tinypic.com/a2w652.jpg

    Using bfgminer 2.10.5 for 2 weeks now without issues. Was using MPBM before because the x6500s had SICK/DEAD issues with older versions of bfgminer.

    OCL 0 & 1 = 6870s (underclocked to 775/300)
    OCL 2 = 5850 (overclocked to 960/300)
    OCL 3 = 5670 (overclocked to 1000/300)
    BFL = 864 firmware
    XBS 0 - 3 = x6500 rev 3


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: paszczakojad on May 07, 2013, 08:34:48 PM
    Hi,

    I connected MPBM through RS232 to a custom board running at 400 MH/s (Kintex 325) and I'm getting 9% cancelled shares. Is that acceptable value? Does that mean that I loose 9% of my computing power?

    I'm wondering if it's better to connect two such boards to two RS232 ports or design a new dual-FPGA board that shares work between two FPGAs - in the first case the canceled rate should remain the same and in the second case it should be halved. But does that matter? Or is there any other way to fix that problem?

    P.


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: rethaw on May 30, 2013, 11:53:58 PM
    Using MPBM to mine with ASICMINER's USB miners (https://bitcointalk.org/index.php?topic=212085.0;topicseen). It is doubling the Current MH/s, but the effective is accurate over time.


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: LazyOtto on June 03, 2013, 08:13:57 PM
    Using MPBM to mine with ASICMINER's USB miners (https://bitcointalk.org/index.php?topic=212085.0;topicseen). It is doubling the Current MH/s, but the effective is accurate over time.
    I can report the same thing. On OS X.

    Initially tried it on Raspbian where I have a BFL FPGA and a couple of CM1s. But it *seems* like the combination of BE USB and CM1 causes a catastrophic failure with MPBM on Raspbian.

    "Catastrophic" as in mining stops, ssh stops and the machine no longer responds to a ping. Sadly, no residue which I can find left in any log, either.

    Currently MPBM on Raspbian is running two CM1s and MPBM on OS X is running a BFL Single (FPGA) and a BE USB.


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: Mike270 on June 11, 2013, 06:18:25 AM
    Hi, I just started using MPBM for the first time, and what shall I say.... WOW I love it :-)
    Easy to set up work sources, Easy to switch on & off & distribute hash power... Using it with my new Cairnsmore1 devices (running on dynamic clocking hashvoodoo bitstream).
    Applied fpgaminer's stratum fix to get it to work with various stratum pools that didn't work without the patch.
    Also, Hash rates are about 5-10% higher than I can achieve with bfgminer on the boards. (~217,5MH/s/ single FPGA with MPBM) Plus: Accurate Hash rates :-)

    So now I'm having some questions, hoping that you'd help me here:

    - I also have some ModMiner Quads that are running very stable and fine with cgminer, but now that I saw MPBM I'd really like to integrate them. At a first test, MPBM wants to send a bitstream to them, but doesn't find it since non is included. When I google for the file name MPBM expects, I cannot find anything. What bitstream would I need for them? Can I just use the same Hashvoodoo bitstream that I use for Cairnsmore1 and rename it to the file name MPBM expects?
    - The stats displayed are over the whole running time of MPBM - Is there a way to reset them to see the effects of Priority changes better(without restarting MPBM)?
    - Is there some tutorial/README on how the Priority settings / Hashrate settings work? Some work sources, like for example bitminter getwork seem to flood the processing that almost all hash power goes there, even when I have other pools at same priority or at same hashrate settings. So far I could not notice any effect of setting the hashrate for a work source. Basically all I can do right now is doing something like define a primary pool at prio 1000000, a backup pool at prio 1000 and a backup backup pool at prio 1 , but anything more elaborated was not as successful as I hoped it to be.
    What I really would like to achive is: Have for example a work source group "bitcoin", a work source group "freicoin", .... and within each work source group I have a mix of multiple primary/secondary pools. Then I could on the fly define a target hashrate for each worksource group that could be easily adjusted. But so far no luck :-(

    Thanks a lot for any help!


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: frankenmint on July 08, 2013, 10:31:45 AM
    For some reason I cannot connect to any stratum servers?  Getwork works fine but not stratum.  Do I need to install a stratum server? 


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: LazyOtto on July 08, 2013, 04:51:17 PM
    For some reason I cannot connect to any stratum servers?  Getwork works fine but not stratum.  Do I need to install a stratum server? 

    For some pools a patch needs to be applied. Search this thread.

    Personally, I'm just using a proxy.


    Title: Re: Modular Python Bitcoin Miner - Official Thread
    Post by: Tsunamirain on October 31, 2013, 04:19:40 PM
    Theseven pm sent :)