Post
Topic
Board Mining software (miners)
Re: Modified Kernel for Phoenix 1.5
by
Phateus
on 02/08/2011, 06:30:23 UTC
And, I just posted another kernel... this one is must better to look at than 2.0... I got rid of all but 3 of the SHARound #defines... Check the first page for the link

Still does not work for me.
Here's the error message:

Code:
/usr/local/lib/python2.6/dist-packages/pyopencl-2011.1-py2.6-linux-x86_64.egg/pyopencl/__init__.py:163: UserWarning: Build succeeded, but resulted in non-empty logs:
Build on succeeded, but said:

/tmp/OCLWaeOzJ.cl(152): warning: variable "t1" was set but never used
        u t1;
          ^


  warn("Build succeeded, but resulted in non-empty logs:\n"+message)
[02/08/2011 06:15:45] Finding inner ELF...
[02/08/2011 06:15:45] Patching inner ELF...
[02/08/2011 06:15:45] Patching instructions...
[02/08/2011 06:15:45] BFI-patched 472 instructions...
[02/08/2011 06:15:45] Patch complete, returning to kernel...
[02/08/2011 06:15:45] Applied BFI_INT patch
[02/08/2011 06:15:46] Phoenix r100 starting...
[02/08/2011 06:15:46] Connected to server
[02/08/2011 06:15:46] Server gave new work; passing to WorkQueue
[02/08/2011 06:15:46] New block (WorkQueue)
[0 Khash/sec] [0 Accepted] [0 Rejected] [RPC]Unhandled error in Deferred:
Unhandled Error
Traceback (most recent call last):
  File "/usr/lib/python2.6/dist-packages/twisted/internet/defer.py", line 361, in callback
    self._startRunCallbacks(result)
  File "/usr/lib/python2.6/dist-packages/twisted/internet/defer.py", line 455, in _startRunCallbacks
    self._runCallbacks()
  File "/usr/lib/python2.6/dist-packages/twisted/internet/defer.py", line 542, in _runCallbacks
    current.result = callback(current.result, *args, **kw)
  File "/media/persistent/phoenix/QueueReader.py", line 136, in preprocess
    d2 = defer.maybeDeferred(self.preprocessor, nr)
--- ---
  File "/usr/lib/python2.6/dist-packages/twisted/internet/defer.py", line 133, in maybeDeferred
    result = f(*args, **kw)
  File "kernels/phatk/__init__.py", line 179, in
    self.qr = QueueReader(self.core, lambda nr: self.preprocess(nr),
  File "kernels/phatk/__init__.py", line 379, in preprocess
    kd = KernelData(nr, self.core, self.rateDivisor, self.AGGRESSION)
  File "kernels/phatk/__init__.py", line 46, in __init__
    unpack('LLLL', nonceRange.unit.data[64:]), dtype=np.uint32)
struct.error: unpack requires a str[02/08/2011 06:15:46] Server gave new work; passing to WorkQueue
[0 Khash/sec] [0 Accepted] [0 Rejected] [RPC (+LP)]


Hmmm... can you try replacing the 'LLLL' with 'IIII' (line 46 of __init__.py), I think the windows version uses python 2.7 which may handle that differently.

Edit:  I've made the changes already and posted as 2.1 again (hopefully this fixes it)