Bitcoin Forum
June 23, 2024, 07:31:46 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 [2]  All
  Print  
Author Topic: Xpm mining for linux using Clintars T16 linux port of Aeroclouds Xpm miner  (Read 6996 times)
clintar
Full Member
***
Offline Offline

Activity: 212
Merit: 100


View Profile
February 13, 2014, 10:20:24 PM
Last edit: February 18, 2014, 12:24:31 AM by clintar
 #21

Finally got around to adding this option. It's -M to enable messages.

Hey clintar, thank you for adding this option. I also sent you 2 XPM to support you and your work. I know it isn't much, but I don't have much more atm anyways. Grin

However, I think you introduced a bug with the last update. A new System of mine using your latest version crashes after some hours of working quite fine with the following output:
Code:
xpt: Disconnected, auto reconnect in 30 seconds
xptPacketbuffer_writeData(): Packetbuffer too small
xptPacketbuffer_writeData(): Packetbuffer too small
xptPacketbuffer_writeData(): Packetbuffer too small

First occurence after ~8 hours, second one after ~14. The earlier version of the miner is running on another system for > 1 Week now without any problems. Undecided
I've found the bug. It's funky 'cause I couldn't get the program to think it got disconnected even by unplugging the ethernet cable, or setting a bad route to ypool. I had to trick it into thinking it did or it just happily keeps hashing thinking everything is fine, which makes me wonder what circumstances make it think it gets disconnected. I've got to look into the socket routines to see if something different needs to be done to check for a disconnect. I've got a few other fixes I need to test and I'll update when that's done.  Thanks for the report, and sorry it takes me so long to respond. I need more time...

Edit: Changes should be live now. WARNING: There is now a 3% dev fee. 2.5% going to AeroCloud, .5% to me.
clintar
Full Member
***
Offline Offline

Activity: 212
Merit: 100


View Profile
March 17, 2014, 06:40:48 AM
 #22

I finally added a fix for disconnects that was found by girino in his xptminer metiscoin stuff.
DarkAGeS
Full Member
***
Offline Offline

Activity: 219
Merit: 100


View Profile
March 21, 2014, 05:49:49 PM
 #23

Compiled this for FreeBSD 9.1, with only one source modification and 1 small change to the makefile... (The source change shouldn't actually make any difference, it's just extra curly braces where they shouldn't be needed, but the compiler was being fussy)

I'll send you the changes to check over via PM soon, so you can check them yourself (you may well have a better way of doing it)

Was that you who sent me the merge request. it should be ok now.

how to compile on freebsd 9.1 ?..
I have this error:
Code:
# gmake
clang++ -c -mtune=native -Wall -Wextra -std=c++0x -O3 -fomit-frame-pointer -DHAVE_DECL_LE32DEC -I/usr/local/include -I/usr/include -Isrc/primecoinMiner/includes/ src/primecoinMiner/bn2.cpp -o src/primecoinMiner/bn2.o
In file included from src/primecoinMiner/bn2.cpp:1:
In file included from src/primecoinMiner/global.h:44:
/usr/local/include/gmpxx.h:55:10: fatal error: 'type_traits' file not found
#include <type_traits> // for common_type
         ^
1 error generated.
gmake: *** [src/primecoinMiner/bn2.o] Error 1
PhilippeD
Member
**
Offline Offline

Activity: 81
Merit: 10


View Profile
March 26, 2014, 04:24:08 PM
 #24

Hello,

What wrong for me please ?
(Ubuntu 12.04 Server 64 bits)

╔═══════════════════════════════════════════════════════════════╗
║  jhPrimeMiner - mod by AeroCloud - T17vCl                     ║
║     optimised from rdebourbon 3.3 build + HP11 updates        ║
║  author: JH (http://ypool.net)                                ║
║  contributors: x3maniac, rdebourbon, clintar                  ║
║  Credits: Sunny King for the original Primecoin client&miner  ║
║  Credits: mikaelh for the performance optimizations           ║
║                                                               ║
║  Donations:                                                   ║
║        XPM: AFv6FpGBqzGUW8puYzitUwZKjSHKczmteY                ║
║        BTC: 1Ca9qP6tkAEo6EpgtXvuANr936c9FbgBrH                ║
╚═══════════════════════════════════════════════════════════════╝
Launching miner...
GeneratePrimeTable() : prime table [1, 10000000] generated with 664579 primes
Connecting to 'mining.ypool.net'
Using 1 threads
Username: PhilippeDenoyer.worker1
Password: password
Using x.pushthrough protocol
xpt: Logged in
===============================================================
Keyboard shortcuts:
   <Ctrl-C>, <Q>     - Quit
   <s> - Print current settings
   <h> - Print Help
   <m> - Toggle SPS Messages
   <p> - Print Primorial Stats

══════════════════════════════════════════════════════════════════════════════
New Block: 461373 - Diff: 10.41683763 / 7.00000000
Valid/Total shares: [ 0 / 0 ]  -  Max diff: 0.00000000
        [    7ch] [    8ch] [    9ch] [   10ch] [   11ch] [  12ch+]
 Total: [      0] [      0] [      0] [      0] [      0] [      0]
  ch/h: [  0.000] [  0.000] [  0.000] [  0.000] [  0.000] [  0.000]
══════════════════════════════════════════════════════════════════════════════
  Val/h: 0.000000                     Last Block/Total: 0.000000 / 0.000000


Pages: « 1 [2]  All
  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!