Bitcoin Forum
December 30, 2025, 03:15:22 PM *
News: Latest Bitcoin Core release: 30.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 [49] 50 51 52 53 54 55 56 »
  Print  
Author Topic: python OpenCL bitcoin miner  (Read 1239738 times)
Mobius
Hero Member
*****
Offline Offline

Activity: 988
Merit: 1000



View Profile
July 06, 2011, 07:35:39 PM
 #961

On the latest version (yesterday) I keep getting this error on my 2nd rig Ubuntu 10.10 Cat11.6 SDK 2.4  (2nd card 5830), identical to the 1st rig and the miner just hangs there, can't ctrl-c out and if I close the terminal - the whole machine locks up. The first card (5870 - Still working)

pit.deepbit.net:8332 06/07/2011 15:19:50, long poll exception:                  
Traceback (most recent call last):
  File "/home/aa/poclbm/BitcoinMiner.py", line 338, in longPollThread
    (connection, result) = self.request(connection, url, self.headers)
  File "/home/aa/poclbm/BitcoinMiner.py", line 296, in request
    response = connection.getresponse()
  File "/usr/lib/python2.6/httplib.py", line 990, in getresponse
    response.begin()
  File "/usr/lib/python2.6/httplib.py", line 391, in begin
    version, status, reason = self._read_status()
  File "/usr/lib/python2.6/httplib.py", line 349, in _read_status
    line = self.fp.readline()
  File "/usr/lib/python2.6/socket.py", line 427, in readline
    data = recv(1)
error: [Errno 104] Connection reset by peer
pit.deepbit.net:8332 06/07/2011 15:20:40, long poll: new block XXXXXXXXXXXXXXXc
pit.deepbit.net:8332 06/07/2011 15:22:19, long poll: new block XXXXXXXXXXXXXXX8
pit.deepbit.net:8332 06/07/2011 15:27:26, long poll exception:                  
Traceback (most recent call last):
  File "/home/aa/poclbm/BitcoinMiner.py", line 338, in longPollThread
    (connection, result) = self.request(connection, url, self.headers)
  File "/home/aa/poclbm/BitcoinMiner.py", line 296, in request
    response = connection.getresponse()
  File "/usr/lib/python2.6/httplib.py", line 990, in getresponse
    response.begin()
  File "/usr/lib/python2.6/httplib.py", line 391, in begin
    version, status, reason = self._read_status()
  File "/usr/lib/python2.6/httplib.py", line 349, in _read_status
    line = self.fp.readline()
  File "/usr/lib/python2.6/socket.py", line 427, in readline
    data = recv(1)
error: [Errno 104] Connection reset by peer


Any ideas or advice?
BOARBEAR
Member
**
Offline Offline

Activity: 77
Merit: 10


View Profile
July 07, 2011, 04:01:24 AM
 #962

please bring back the old kernel
the new kernel is very bad for my nvidia card
zimpixa
Member
**
Offline Offline

Activity: 98
Merit: 10


View Profile
July 07, 2011, 10:51:25 PM
 #963

Miner cant connect to deepbit, but it also cant connect to backup pool cuz "username or password not correct". They are correct and miner just stuck... Restarting results in going to backup pool or giving same message about login details.

BTW, can u add to circumstances to restart/go to backup

-when message 'verification failed...'
-when wrong username or password (cuz of pool problem or just user mistake)

YinCoin YangCoin ☯☯First Ever POS/POW Alternator! Multipool! ☯ ☯ http://yinyangpool.com/ 
Free Distribution! https://asktom.cf/index.php?topic=623937
IlbiStarz
Full Member
***
Offline Offline

Activity: 336
Merit: 100



View Profile
July 07, 2011, 11:05:48 PM
 #964

Is there not a fallback command for Linux or what? It works on Windows...
brunoshady
Sr. Member
****
Offline Offline

Activity: 262
Merit: 250

Dubs Get


View Profile
July 08, 2011, 04:48:52 AM
 #965

Is there not a fallback command for Linux or what? It works on Windows...

sure it have

--failback=X

😆
jgarzik
Legendary
*
Offline Offline

Activity: 1596
Merit: 1152


View Profile
July 08, 2011, 05:03:11 AM
 #966

Is there not a fallback command for Linux or what? It works on Windows...

Are you sure that you are passing a list of servers to "--servers" ?


Jeff Garzik, Bloq CEO, former bitcoin core dev team; opinions are my own.
Visit bloq.com / metronome.io
Donations / tip jar: 1BrufViLKnSWtuWGkryPsKsxonV2NQ7Tcj
hugolp
Legendary
*
Offline Offline

Activity: 1148
Merit: 1001


Radix-The Decentralized Finance Protocol


View Profile
July 08, 2011, 05:46:42 AM
Last edit: July 08, 2011, 06:07:52 AM by hugolp
 #967

Im getting similar errors:

Code:
useast.btcguild.com:8332 08/07/2011 07:42:54, Setting pool xxxxxx_xxxxxxx @ useast.btcguild.com:8332
useast.btcguild.com:8332 08/07/2011 07:42:56, long poll exception:

Traceback (most recent call last):
  File "/home/ben/poclbm_old/BitcoinMiner.py", line 338, in longPollThread
    (connection, result) = self.request(connection, url, self.headers)
  File "/home/ben/poclbm_old/BitcoinMiner.py", line 299, in request
    response = connection.getresponse()
  File "/usr/lib/python2.7/httplib.py", line 1027, in getresponse
    response.begin()
  File "/usr/lib/python2.7/httplib.py", line 407, in begin
    version, status, reason = self._read_status()
  File "/usr/lib/python2.7/httplib.py", line 371, in _read_status
    raise BadStatusLine(line)
BadStatusLine: ''

api.bitcoin.cz:8332 08/07/2011 07:42:58, Setting pool xxxxxx.xxxxxx @ api.bitcoin.cz:8332
api.bitcoin.cz:8332 08/07/2011 07:42:58, Attempting to fail back to primary pool

EDIT: Also, a couple of miners have gone into a kind of a loop where it fails to connect to firs server, connects to second server and after 1 second tries to connect again to first server, fails, connects to second to second server, after 1 second tries to connect again to first server, fails,... (-failback = 1)


               ▄████████▄
               ██▀▀▀▀▀▀▀▀
              ██▀
             ███
▄▄▄▄▄       ███
██████     ███
    ▀██▄  ▄██
     ▀██▄▄██▀
       ████▀
        ▀█▀
The Radix DeFi Protocol is
R A D I X

███████████████████████████████████

The Decentralized

Finance Protocol
Scalable
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
██▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀██
██                   ██
██                   ██
████████████████     ██
██            ██     ██
██            ██     ██
██▄▄▄▄▄▄      ██     ██
██▀▀▀▀██      ██     ██
██    ██      ██     
██    ██      ██
███████████████████████

███
Secure
      ▄▄▄▄▄
    █████████
   ██▀     ▀██
  ███       ███

▄▄███▄▄▄▄▄▄▄███▄▄
██▀▀▀▀▀▀▀▀▀▀▀▀▀██
██             ██
██             ██
██             ██
██             ██
██             ██
██    ███████████

███
Community Driven
      ▄█   ▄▄
      ██ ██████▄▄
      ▀▀▄█▀   ▀▀██▄
     ▄▄ ██       ▀███▄▄██
    ██ ██▀          ▀▀██▀
    ██ ██▄            ██
   ██ ██████▄▄       ██▀
  ▄██       ▀██▄     ██
  ██▀         ▀███▄▄██▀
 ▄██             ▀▀▀▀
 ██▀
▄██
▄▄
██
███▄
▀███▄
 ▀███▄
  ▀████
    ████
     ████▄
      ▀███▄
       ▀███▄
        ▀████
          ███
           ██
           ▀▀

███
Radix is using our significant technology
innovations to be the first layer 1 protocol
specifically built to serve the rapidly growing DeFi.
Radix is the future of DeFi
█████████████████████████████████████

   ▄▄█████
  ▄████▀▀▀
  █████
█████████▀
▀▀█████▀▀
  ████
  ████
  ████

Facebook

███

             ▄▄
       ▄▄▄█████
  ▄▄▄███▀▀▄███
▀▀███▀ ▄██████
    █ ███████
     ██▀▀▀███
           ▀▀

Telegram

███

▄      ▄███▄▄
██▄▄▄ ██████▀
████████████
 ██████████▀
   ███████▀
 ▄█████▀▀

Twitter

██████

...Get Tokens...
IlbiStarz
Full Member
***
Offline Offline

Activity: 336
Merit: 100



View Profile
July 08, 2011, 08:25:26 AM
 #968

Is there not a fallback command for Linux or what? It works on Windows...

Are you sure that you are passing a list of servers to "--servers" ?



What do you mean?
Mobius
Hero Member
*****
Offline Offline

Activity: 988
Merit: 1000



View Profile
July 08, 2011, 05:23:59 PM
 #969

Is there not a fallback command for Linux or what? It works on Windows...

New version today omits the --servers= part of the command line

update via command line
$ cd poclbm
$ git pull

get the options using
$ ./poclbm --help

Update your shell scripts or command line to reflect new option structure

Are you sure that you are passing a list of servers to "--servers" ?



What do you mean?

New version today omits the --servers= part of the command line

update via command line
$ cd poclbm
$ git pull

get the options using
$ ./poclbm --help

Update your shell scripts or command line to reflect new option structure
zimpixa
Member
**
Offline Offline

Activity: 98
Merit: 10


View Profile
July 08, 2011, 07:01:50 PM
 #970

Can enyone explain --estimate function? I dont get it. Also compiling a windows version would be nice.

YinCoin YangCoin ☯☯First Ever POS/POW Alternator! Multipool! ☯ ☯ http://yinyangpool.com/ 
Free Distribution! https://asktom.cf/index.php?topic=623937
Mobius
Hero Member
*****
Offline Offline

Activity: 988
Merit: 1000



View Profile
July 08, 2011, 08:50:48 PM
 #971

Can enyone explain --estimate function? I dont get it. Also compiling a windows version would be nice.

From the read me in the sources, it looks like the window of time that the average rate is calculated 900 secs = 15 min window (the last 15mins of hash rates are averaged) and displayed.

From: https://github.com/m0mchil/poclbm
m0mchil (OP)
Full Member
***
Offline Offline

Activity: 171
Merit: 127


View Profile
July 09, 2011, 05:41:17 AM
 #972

New version is up

Changes:

- support for server provided failback hosts
- most of JSON-RPC fields made optional (to reduce pools bandwidth)
- increased default primary server retry interval to 10 getworks
- moved job processing to main thread
- improvements by gominoa, enolan @ github - options separation, server names, quiet output

jgarzik
Legendary
*
Offline Offline

Activity: 1596
Merit: 1152


View Profile
July 09, 2011, 06:55:16 AM
 #973

- most of JSON-RPC fields made optional (to reduce pools bandwidth)

...and how does the client inform the server that it supports this feature?

From the server's perspective, it must support may different clients, and cannot know if 'target' or 'midstate' is optional without additional information.


Jeff Garzik, Bloq CEO, former bitcoin core dev team; opinions are my own.
Visit bloq.com / metronome.io
Donations / tip jar: 1BrufViLKnSWtuWGkryPsKsxonV2NQ7Tcj
m0mchil (OP)
Full Member
***
Offline Offline

Activity: 171
Merit: 127


View Profile
July 09, 2011, 07:06:09 AM
 #974

...and how does the client inform the server that it supports this feature?

There is version in user-agent, server can determine miner and act accordingly.

gominoa
Newbie
*
Offline Offline

Activity: 17
Merit: 0


View Profile
July 09, 2011, 09:02:01 AM
Last edit: July 09, 2011, 09:15:56 AM by gominoa
 #975

Please note syntax is updated. Use:

poclbm.py   user1:pass1@host1:port1#serv1   user2:pass2@host2:port2#serv2   user3:pass3@host3:port3#serv3

... instead of ...
poclbm.py --servers=serv1,serv2,serv3
... or ...
poclbm.py --user=x --password=x --host=x --port=x --backup=x

(miner will failover from serv1 to serv2 and serv3 if neccessary)
jkminkov
Hero Member
*****
Offline Offline

Activity: 698
Merit: 500


View Profile
July 10, 2011, 08:36:47 AM
 #976

something is wrong with LP, I got rejected shares over 30 seconds after LP message shows up

.:31211457:. 100 dollars in one place talking - Dudes, hooray, Bitcoin against us just one, but we are growing in numbers!
bitcoindaddy
Hero Member
*****
Offline Offline

Activity: 481
Merit: 500


View Profile
July 10, 2011, 01:08:15 PM
Last edit: July 10, 2011, 04:35:23 PM by bitcoindaddy
 #977

M0mchil, the help message for the failback parameter still refers to "2" instead of the new default "10":

Code:
group.add_option('-b', '--failback',  dest='failback',   default=10,          help='attempt to fail back to the primary pool every N getworks, [b]default 2[/b]', type='int')
disPlay
Newbie
*
Offline Offline

Activity: 12
Merit: 0


View Profile
July 10, 2011, 04:16:14 PM
 #978

With the last version of this minner I get less 10 MH/s in my NVIDIA GTS 250.
zimpixa
Member
**
Offline Offline

Activity: 98
Merit: 10


View Profile
July 11, 2011, 01:06:56 PM
 #979

Again, message 'Deepbit is temporaly unavailable' - which for me is equal to connection problems, but failover fails... Failover module must be more exact

YinCoin YangCoin ☯☯First Ever POS/POW Alternator! Multipool! ☯ ☯ http://yinyangpool.com/ 
Free Distribution! https://asktom.cf/index.php?topic=623937
Mobius
Hero Member
*****
Offline Offline

Activity: 988
Merit: 1000



View Profile
July 11, 2011, 01:51:24 PM
 #980

Again, message 'Deepbit is temporaly unavailable' - which for me is equal to connection problems, but failover fails... Failover module must be more exact

Did you check your own connection? If primary and failover fail, it may be your connections, I have not seen any connection fails in the last 24hrs
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 [49] 50 51 52 53 54 55 56 »
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!