Bitcoin Forum
December 10, 2016, 10:54:59 AM *
News: Latest stable version of Bitcoin Core: 0.13.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: « 1 ... 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 [126] 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 ... 830 »
  Print  
Author Topic: OFFICIAL CGMINER mining software thread for linux/win/osx/mips/arm/r-pi 4.9.2  (Read 4826226 times)
This is a self-moderated topic. If you do not want to be moderated by the person who started this topic, create a new topic.
fred0
Sr. Member
****
Offline Offline

Activity: 349


View Profile
December 28, 2011, 05:40:01 AM
 #2501

if not yet done, try:
sudo aticonfig --install --adapter=all
sudo reboot


Did that after installing fglrx. I know I'm missing something simple.
   
sudo apt-get -f install
sudo aticonfig -f --initial --adapter=all
sudo chmod 644 /etc/X11/xorg.conf
sudo reboot
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1481367299
Hero Member
*
Offline Offline

Posts: 1481367299

View Profile Personal Message (Offline)

Ignore
1481367299
Reply with quote  #2

1481367299
Report to moderator
Proofer
Sr. Member
****
Offline Offline

Activity: 251


View Profile
December 28, 2011, 05:44:20 AM
 #2502

if not yet done, try:
sudo aticonfig --install --adapter=all
sudo reboot

Always copy-paste; never let your brain control your typing.  What I meant was:

sudo aticonfig --initial --adapter=all
-ck
Moderator
Legendary
*
Offline Offline

Activity: 2002


Ruu \o/


View Profile WWW
December 28, 2011, 06:02:00 AM
 #2503

if not yet done, try:
sudo aticonfig --install --adapter=all
sudo reboot


Did that after installing fglrx. I know I'm missing something simple.
Have you started Xorg?

Primary developer/maintainer for cgminer and ckpool/ckproxy.
Pooled mine at kano.is, solo mine at solo.ckpool.org
-ck
Queelis
Jr. Member
*
Offline Offline

Activity: 36


View Profile
December 28, 2011, 11:16:42 AM
 #2504

Finally my newb time is over so I can thank ckolivas for his great miner.

Initially I was about to ask about 2.0.8's strange behaviour (upon restarts my hash rate would change between 84 and 64 Mhash/s, which is not insignificant). Version 2.1.0 seems to have fixed that (though q for quitting is broken, I can affirm that) - so now I have an average of 84.7 Mhash/s for my Radeon 4830, which is much higher than the table at Mining hardware comparison seems to suggest (and at 69.7 Mhash/s, higher than I was getting with GUIminer). Cheers!
JinTu
Full Member
***
Offline Offline

Activity: 132


Hopping down the bunny trail


View Profile
December 28, 2011, 05:18:14 PM
 #2505

Hi Con, It looks like api-example.c, api-example.php, API.java/API.class and miner.php didn't get packaged up in the 2.1.0 source tarball. I see they are there in GIT but the README implies they are included in the main distribution.


Please donate if this was helpful: 14CLqCNphUJ54ro2PtqQWJDmW3Eic1WmUd
Cacti templates for pool, GPU and CGMINER monitoring.
GPU monitoring with SNMP
Proofer
Sr. Member
****
Offline Offline

Activity: 251


View Profile
December 28, 2011, 05:21:24 PM
 #2506

Code:
--------------------------------------------------------------------------------
 [P]ool management [G]PU management [S]ettings [D]isplay options [Q]uit
 GPU 0:  72.5C 4403RPM | 359.9/361.5Mh/s | A:5435 R:3 HW:0 U:4.99/m I:9
 GPU 1:  76.5C         | 359.8/361.8Mh/s | A:5413 R:10 HW:0 U:4.97/m I:9
 GPU 2:  72.5C 3617RPM | 364.6/361.3Mh/s | A:5284 R:7 HW:0 U:4.85/m I:9
 GPU 3:  67.5C         | 365.7/361.5Mh/s | A:5349 R:5 HW:0 U:4.91/m I:9
 GPU 4:  73.0C 3255RPM | 362.8/361.5Mh/s | A:5391 R:7 HW:0 U:4.95/m I:9
 GPU 5:  76.0C         | 368.0/361.7Mh/s | A:5417 R:10 HW:0 U:4.97/m I:9
--------------------------------------------------------------------------------

The spacing and misalignment problem is still with us, in this instance due to double-digit rejects for a couple of GPUs.  But as indicated by the hyphen borders, LOOK AT ALL THAT WASTED SPACE ON THE RIGHT!!11!!1  Some field widths could be increased.

My plan is to fix this; might take a few days (due to my schedule, not coding time).  If someone else wants to do it, please let me know.
JinTu
Full Member
***
Offline Offline

Activity: 132


Hopping down the bunny trail


View Profile
December 28, 2011, 09:01:51 PM
 #2507

Here is my quick and dirty Perl implementation of api-example. Just copy and save this as api-example.pl. Note, you need to have the JSON Perl module installed to use this (perl-JSON for RH-based distros).


Code:
#!/usr/bin/perl -w
#

#
# Simple Perl script to query and parse cgminer API stats in JSON
#
######################
##       Usage      ##
######################
#
# perl api-example.pl command
#
######################
## Revision History ##
######################
#
# v0.02 4/10/2012 JinTu (jintuNO@SPAMpraecogito.com)
#       Bugfix: Support for multi element arrays in responses
#
# v0.01 12/28/2011 JinTu (jintuNO@SPAMpraecogito.com)
#       First working version. Supports cgminer 2.1.0 API JSON format
#
##

use strict;
use IO::Socket;
use JSON -support_by_pp;

my $cgminer_host = "localhost";
my $cgminer_port = "4028";

my $remote = IO::Socket::INET->new(
                        Proto           => "tcp",
                        PeerAddr        => $cgminer_host,
                        PeerPort        => $cgminer_port,
                                  ) or die "cannot connect to port $cgminer_host:$cgminer_port, $!\n";

my $command;
my $parameter;
if ($ARGV[0]) {
  # look for parameters in addition to a command
  unless (($command,$parameter) = $ARGV[0] =~ m/(.*)\|(.*)/) {
    $command = $ARGV[0];
  }
}
else {
  # We didn't get an argument so default to sending summary
  $command = "summary";
}

# Send the JSON query
if ($parameter) {
  print $remote '{"command":"' . $command . '","parameter":"' . $parameter . '"}';
}
else {
  print $remote '{"command":"' . $command . '"}';
}

# Now read the result
my $response = <$remote>;

print $command . " returned \'$response\'\n";

# Now parse the JSON
my $json = new JSON;

# these are some nice json options to relax restrictions a bit:
my $json_text = $json->allow_nonref->utf8->relaxed->escape_slash->loose->allow_singlequote->allow_barekey->decode($response);

foreach my $tlc (keys %{$json_text}){
  print "\n$tlc\n";
  if ($json_text->{$tlc} =~ /array/i) {
    for (my $i = 0; $i <= (scalar @{$json_text->{$tlc}} - 1); $i++) {
      print "->[$i]\n";
      foreach my $cat (keys %{$json_text->{$tlc}->[$i]}) {
        print "\t$cat=" . $json_text->{$tlc}->[$i]->{$cat} . "\n";
      }
    }
  }
  else {
    # This is not an array so just print it
    print "\t" . $json_text->{$tlc} . "\n";
  }
}


# make sure we close the socket
$remote->close();


This will give you output like the following:
Code:
[JinTu@acheron ]$ perl api-example.pl
summary returned '{"STATUS":[{"STATUS":"S","Code":11,"Msg":"Summary","Description":"cgminer 2.3.1"}],"SUMMARY":[{"Elapsed":17227,"MHS av":855.59,"Found Blocks":0,"Getworks":5060,"Accepted":3546,"Rejected":10,"Hardware Errors":0,"Utility":12.35,"Discarded":373,"Stale":5,"Get Failures":10,"Local Work":0,"Remote Failures":5,"Network Blocks":31,"Total MH":14739525.4682}],"id":1}'

SUMMARY
->[0]
        Local Work=0
        Hardware Errors=0
        Total MH=14739525.4682
        MHS av=855.59
        Stale=5
        Network Blocks=31
        Elapsed=17227
        Rejected=10
        Discarded=373
        Utility=12.35
        Get Failures=10
        Found Blocks=0
        Getworks=5060
        Remote Failures=5
        Accepted=3546

STATUS
->[0]
        Code=11
        Msg=Summary
        STATUS=S
        Description=cgminer 2.3.1

id
        1
Code:
[JinTu@acheron ]$ perl api-example.pl devs
devs returned '{"STATUS":[{"STATUS":"S","Code":9,"Msg":"4 GPU(s)","Description":"cgminer 2.3.1"}],"DEVS":[{"GPU":0,"Enabled":"Y","Status":"Alive","Temperature":76                       .00,"Fan Speed":3108,"Fan Percent":50,"GPU Clock":470,"Memory Clock":150,"GPU Voltage":1.000,"GPU Activity":94,"Powertune":0,"MHS av":195.33,"MHS 5s":192.98,"Acce                       pted":824,"Rejected":4,"Hardware Errors":0,"Utility":2.90,"Intensity":"D","Last Share Pool":0,"Last Share Time":1334101418,"Total MH":3325785.6696},{"GPU":1,"Enab                       led":"Y","Status":"Alive","Temperature":75.50,"Fan Speed":-1,"Fan Percent":50,"GPU Clock":500,"Memory Clock":150,"GPU Voltage":1.000,"GPU Activity":99,"Powertune"                       :0,"MHS av":219.29,"MHS 5s":219.97,"Accepted":888,"Rejected":4,"Hardware Errors":0,"Utility":3.13,"Intensity":"8","Last Share Pool":0,"Last Share Time":1334101419                       ,"Total MH":3733853.3069},{"GPU":2,"Enabled":"Y","Status":"Alive","Temperature":72.50,"Fan Speed":3034,"Fan Percent":50,"GPU Clock":500,"Memory Clock":150,"GPU Vo                       ltage":1.000,"GPU Activity":99,"Powertune":0,"MHS av":220.79,"MHS 5s":220.81,"Accepted":883,"Rejected":2,"Hardware Errors":0,"Utility":3.11,"Intensity":"8","Last                        Share Pool":0,"Last Share Time":1334101386,"Total MH":3759237.2347},{"GPU":3,"Enabled":"Y","Status":"Alive","Temperature":75.00,"Fan Speed":-1,"Fan Percent":50,"G                       PU Clock":500,"Memory Clock":150,"GPU Voltage":1.000,"GPU Activity":0,"Powertune":0,"MHS av":220.07,"MHS 5s":220.24,"Accepted":911,"Rejected":0,"Hardware Errors":                       0,"Utility":3.21,"Intensity":"8","Last Share Pool":0,"Last Share Time":1334101436,"Total MH":3747107.3075}],"id":1}'

DEVS
->[0]
        Total MH=3325785.6696
        Last Share Time=1334101418
        Fan Percent=50
        Fan Speed=3108
        Status=Alive
        Last Share Pool=0
        Utility=2.9
        MHS 5s=192.98
        Temperature=76
        Memory Clock=150
        GPU Activity=94
        Accepted=824
        Hardware Errors=0
        MHS av=195.33
        Enabled=Y
        GPU Voltage=1
        Rejected=4
        GPU Clock=470
        GPU=0
        Intensity=D
        Powertune=0
->[1]
        Total MH=3733853.3069
        Last Share Time=1334101419
        Fan Percent=50
        Fan Speed=-1
        Status=Alive
        Last Share Pool=0
        Utility=3.13
        MHS 5s=219.97
        Temperature=75.5
        Memory Clock=150
        GPU Activity=99
        Accepted=888
        Hardware Errors=0
        MHS av=219.29
        Enabled=Y
        GPU Voltage=1
        Rejected=4
        GPU Clock=500
        GPU=1
        Intensity=8
        Powertune=0
->[2]
        Total MH=3759237.2347
        Last Share Time=1334101386
        Fan Percent=50
        Fan Speed=3034
        Status=Alive
        Last Share Pool=0
        Utility=3.11
        MHS 5s=220.81
        Temperature=72.5
        Memory Clock=150
        GPU Activity=99
        Accepted=883
        Hardware Errors=0
        MHS av=220.79
        Enabled=Y
        GPU Voltage=1
        Rejected=2
        GPU Clock=500
        GPU=2
        Intensity=8
        Powertune=0
->[3]
        Total MH=3747107.3075
        Last Share Time=1334101436
        Fan Percent=50
        Fan Speed=-1
        Status=Alive
        Last Share Pool=0
        Utility=3.21
        MHS 5s=220.24
        Temperature=75
        Memory Clock=150
        GPU Activity=0
        Accepted=911
        Hardware Errors=0
        MHS av=220.07
        Enabled=Y
        GPU Voltage=1
        Rejected=0
        GPU Clock=500
        GPU=3
        Intensity=8
        Powertune=0

STATUS
->[0]
        Code=9
        Msg=4 GPU(s)
        STATUS=S
        Description=cgminer 2.3.1

id
        1

Please donate if this was helpful: 14CLqCNphUJ54ro2PtqQWJDmW3Eic1WmUd
Cacti templates for pool, GPU and CGMINER monitoring.
GPU monitoring with SNMP
Proofer
Sr. Member
****
Offline Offline

Activity: 251


View Profile
December 28, 2011, 09:25:03 PM
 #2508

Another voice added to the increasing murmur:

In response to Q, after normal/complete console and log output:

./start.sh: line 5:  9166 Segmentation fault      DISPLAY=:0 cgminer -c cgminer.conf 2> logs/$now.log

2.1.0 on Ubuntu 11.04
JinTu
Full Member
***
Offline Offline

Activity: 132


Hopping down the bunny trail


View Profile
December 28, 2011, 09:36:24 PM
 #2509

Another voice added to the increasing murmur:

In response to Q, after normal/complete console and log output:

./start.sh: line 5:  9166 Segmentation fault      DISPLAY=:0 cgminer -c cgminer.conf 2> logs/$now.log

2.1.0 on Ubuntu 11.04


I also get segfaults when exiting via Q on 2.1.0 (CentOS 6.2 x86_64)

Please donate if this was helpful: 14CLqCNphUJ54ro2PtqQWJDmW3Eic1WmUd
Cacti templates for pool, GPU and CGMINER monitoring.
GPU monitoring with SNMP
-ck
Moderator
Legendary
*
Offline Offline

Activity: 2002


Ruu \o/


View Profile WWW
December 28, 2011, 09:40:36 PM
 #2510

Code:
--------------------------------------------------------------------------------
 [P]ool management [G]PU management [S]ettings [D]isplay options [Q]uit
 GPU 0:  72.5C 4403RPM | 359.9/361.5Mh/s | A:5435 R:3 HW:0 U:4.99/m I:9
 GPU 1:  76.5C         | 359.8/361.8Mh/s | A:5413 R:10 HW:0 U:4.97/m I:9
 GPU 2:  72.5C 3617RPM | 364.6/361.3Mh/s | A:5284 R:7 HW:0 U:4.85/m I:9
 GPU 3:  67.5C         | 365.7/361.5Mh/s | A:5349 R:5 HW:0 U:4.91/m I:9
 GPU 4:  73.0C 3255RPM | 362.8/361.5Mh/s | A:5391 R:7 HW:0 U:4.95/m I:9
 GPU 5:  76.0C         | 368.0/361.7Mh/s | A:5417 R:10 HW:0 U:4.97/m I:9
--------------------------------------------------------------------------------

The spacing and misalignment problem is still with us, in this instance due to double-digit rejects for a couple of GPUs.  But as indicated by the hyphen borders, LOOK AT ALL THAT WASTED SPACE ON THE RIGHT!!11!!1  Some field widths could be increased.

My plan is to fix this; might take a few days (due to my schedule, not coding time).  If someone else wants to do it, please let me know.
Here we go again  Roll Eyes  The idea was to leave those since they're ever increasing and you'll never be able to guarantee enough column width and alignment.

Primary developer/maintainer for cgminer and ckpool/ckproxy.
Pooled mine at kano.is, solo mine at solo.ckpool.org
-ck
os2sam
Legendary
*
Offline Offline

Activity: 1918


Think for yourself


View Profile
December 28, 2011, 09:42:40 PM
 #2511

(though q for quitting is broken, I can affirm that)

If your using Windoze that's kind of normal operation for most of us as its a known Windoze bug.  There are several older posts mentioning this if you want more details.
Sam

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?
Proofer
Sr. Member
****
Offline Offline

Activity: 251


View Profile
December 28, 2011, 10:54:28 PM
 #2512

Here we go again  Roll Eyes  The idea was to leave those since they're ever increasing and you'll never be able to guarantee enough column width and alignment.

If you want guarantees, DeathAndTaxes is your man, or at least his moniker suggests so.  Regardless, I offer to replace the current layout...

Code:

--------------------------------------------------------------------------------
 [P]ool management [G]PU management [S]ettings [D]isplay options [Q]uit
 GPU 0:  71.0C 3482RPM | 371.2/373.1Mh/s | A:18 R:0 HW:0 U:5.05/m I:9
 GPU 1:  75.0C         | 362.5/373.5Mh/s | A:20 R:0 HW:0 U:5.61/m I:9
 GPU 2:  70.5C 3398RPM | 364.2/372.4Mh/s | A:25 R:0 HW:0 U:7.02/m I:9
 GPU 3:  65.0C         | 371.8/368.9Mh/s | A:15 R:0 HW:0 U:4.21/m I:9
 GPU 4:  67.0C 3449RPM | 378.5/370.5Mh/s | A:16 R:0 HW:0 U:4.49/m I:9
 GPU 5:  70.0C         | 372.4/369.8Mh/s | A:15 R:0 HW:0 U:4.21/m I:9
--------------------------------------------------------------------------------

with this:

Code:
--------------------------------------------------------------------------------
     [P]ool management [G]PU management [S]ettings [D]isplay options [Q]uit
GPU 0: 72.5C 4403RPM| 359.9/ 361.5Mh/s|A:    5435 R:     3 H:   0 U: 4.99/m I: 9
GPU 1: 76.5C        | 359.8/ 361.8Mh/s|A:    5413 R:    10 H:   0 U: 4.97/m I: 9
GPU 2: 72.5C 3617RPM| 364.6/ 361.3Mh/s|A:    5284 R:     7 H:   0 U: 4.85/m I: 9
GPU 3: 67.5C        | 365.7/ 361.5Mh/s|A:    5349 R:     5 H:   0 U: 4.91/m I: 9
GPU 4: 73.0C 3255RPM| 362.8/ 361.5Mh/s|A:    5391 R:     7 H:   0 U: 4.95/m I: 9
GPU 5: 76.0C        | 368.0/ 361.7Mh/s|A:    5417 R:    10 H:   0 U: 4.97/m I: 9
--------------------------------------------------------------------------------

where whitespace to the right of any ":" or "|" or "/" is subject to being used for digits as necessary.
gnar1ta$
Donator
Hero Member
*
Offline Offline

Activity: 756


View Profile
December 28, 2011, 11:12:47 PM
 #2513

if not yet done, try:
sudo aticonfig --install --adapter=all
sudo reboot


Did that after installing fglrx. I know I'm missing something simple.
Have you started Xorg?

Xorg shows in top.  I don't think startx works through ssh???

Losing hundreds of Bitcoins with the best scammers in the business - BFL, Avalon, KNC, HashFast.
-ck
Moderator
Legendary
*
Offline Offline

Activity: 2002


Ruu \o/


View Profile WWW
December 28, 2011, 11:16:48 PM
 #2514

(though q for quitting is broken, I can affirm that)

If your using Windoze that's kind of normal operation for most of us as its a known Windoze bug.  There are several older posts mentioning this if you want more details.
Sam
Looks like people are getting it on linux too now. Anyone want to get a core dump and get a backtrace? (If that's within your capabilities of course). Of course I'd debug it but it doesn't happen here... then again I don't have any GPU mining to test it on right now  Undecided

Primary developer/maintainer for cgminer and ckpool/ckproxy.
Pooled mine at kano.is, solo mine at solo.ckpool.org
-ck
-ck
Moderator
Legendary
*
Offline Offline

Activity: 2002


Ruu \o/


View Profile WWW
December 28, 2011, 11:19:10 PM
 #2515

Hi Con, It looks like api-example.c, api-example.php, API.java/API.class and miner.php didn't get packaged up in the 2.1.0 source tarball. I see they are there in GIT but the README implies they are included in the main distribution.


You're right, thanks. Naughty Kano... anyway I'll fix it in the git tree.

Primary developer/maintainer for cgminer and ckpool/ckproxy.
Pooled mine at kano.is, solo mine at solo.ckpool.org
-ck
ancow
Sr. Member
****
Offline Offline

Activity: 373


View Profile WWW
December 28, 2011, 11:23:29 PM
 #2516

(though q for quitting is broken, I can affirm that)

If your using Windoze that's kind of normal operation for most of us as its a known Windoze bug.  There are several older posts mentioning this if you want more details.
Sam
Looks like people are getting it on linux too now. Anyone want to get a core dump and get a backtrace? (If that's within your capabilities of course).

It's in the newer fglrx drivers; details if you make AMD open-source their drivers... Tongue
Code:
> LANG=C gdb cgminer core
GNU gdb (GDB) 7.3-debian
Copyright (C) 2011 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /home/reini/root/bitcoin/cgminer_build/cgminer...done.
[New LWP 14321]
[New LWP 14317]
[New LWP 14241]
[New LWP 14326]

warning: Can't read pathname for load map: Input/output error.
[Thread debugging using libthread_db enabled]
Core was generated by `cgminer -c /home/reini/.cgminer/bitcoin.conf'.
Program terminated with signal 11, Segmentation fault.
#0  0x00007f7ef1c09729 in ?? () from /usr/lib/libamdocl64.so
Traceback (most recent call last):
  File "/usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.16-gdb.py", line 59, in <module>
    from libstdcxx.v6.printers import register_libstdcxx_printers
ImportError: No module named libstdcxx.v6.printers
(gdb) bt full
#0  0x00007f7ef1c09729 in ?? () from /usr/lib/libamdocl64.so
No symbol table info available.
#1  0x00007f7ef1c09778 in ?? () from /usr/lib/libamdocl64.so
No symbol table info available.
#2  0x00007f7ef1bff6c1 in ?? () from /usr/lib/libamdocl64.so
No symbol table info available.
#3  0x00007f7ef1bf6088 in ?? () from /usr/lib/libamdocl64.so
No symbol table info available.
#4  0x00007f7ef1c005b0 in ?? () from /usr/lib/libamdocl64.so
No symbol table info available.
#5  0x00007f7ef1c01260 in ?? () from /usr/lib/libamdocl64.so
No symbol table info available.
#6  0x00007f7ef1c0a3cc in ?? () from /usr/lib/libamdocl64.so
No symbol table info available.
#7  0x00007f7ef1c084bd in ?? () from /usr/lib/libamdocl64.so
No symbol table info available.
#8  0x00007f7ef69dab50 in start_thread (arg=<optimized out>) at pthread_create.c:304
        __res = <optimized out>
        pd = 0x7f7eec178700
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140183103571712, 4430654472375514548, 140737349963280, 140183103572416, 140183284547648, 7, -4359201957654547020, -4359143591589956172},
              mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = <optimized out>
        freesize = <optimized out>
        __PRETTY_FUNCTION__ = "start_thread"
#9  0x00007f7ef5c743bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
No locals.
#10 0x0000000000000000 in ?? ()
No symbol table info available.
(gdb)

BTC: 1GAHTMdBN4Yw3PU66sAmUBKSXy2qaq2SF4
-ck
Moderator
Legendary
*
Offline Offline

Activity: 2002


Ruu \o/


View Profile WWW
December 28, 2011, 11:31:05 PM
 #2517

It's in the newer fglrx drivers; details if you make AMD open-source their drivers... Tongue
Code:
> LANG=C gdb cgminer core
GNU gdb (GDB) 7.3-debian
Copyright (C) 2011 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /home/reini/root/bitcoin/cgminer_build/cgminer...done.
[New LWP 14321]
[New LWP 14317]
[New LWP 14241]
[New LWP 14326]

warning: Can't read pathname for load map: Input/output error.
[Thread debugging using libthread_db enabled]
Core was generated by `cgminer -c /home/reini/.cgminer/bitcoin.conf'.
Program terminated with signal 11, Segmentation fault.
#0  0x00007f7ef1c09729 in ?? () from /usr/lib/libamdocl64.so
Traceback (most recent call last):
  File "/usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.16-gdb.py", line 59, in <module>
    from libstdcxx.v6.printers import register_libstdcxx_printers
ImportError: No module named libstdcxx.v6.printers
(gdb) bt full
#0  0x00007f7ef1c09729 in ?? () from /usr/lib/libamdocl64.so
No symbol table info available.
#1  0x00007f7ef1c09778 in ?? () from /usr/lib/libamdocl64.so
No symbol table info available.
#2  0x00007f7ef1bff6c1 in ?? () from /usr/lib/libamdocl64.so
No symbol table info available.
#3  0x00007f7ef1bf6088 in ?? () from /usr/lib/libamdocl64.so
No symbol table info available.
#4  0x00007f7ef1c005b0 in ?? () from /usr/lib/libamdocl64.so
No symbol table info available.
#5  0x00007f7ef1c01260 in ?? () from /usr/lib/libamdocl64.so
No symbol table info available.
#6  0x00007f7ef1c0a3cc in ?? () from /usr/lib/libamdocl64.so
No symbol table info available.
#7  0x00007f7ef1c084bd in ?? () from /usr/lib/libamdocl64.so
No symbol table info available.
#8  0x00007f7ef69dab50 in start_thread (arg=<optimized out>) at pthread_create.c:304
        __res = <optimized out>
        pd = 0x7f7eec178700
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140183103571712, 4430654472375514548, 140737349963280, 140183103572416, 140183284547648, 7, -4359201957654547020, -4359143591589956172},
              mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = <optimized out>
        freesize = <optimized out>
        __PRETTY_FUNCTION__ = "start_thread"
#9  0x00007f7ef5c743bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
No locals.
#10 0x0000000000000000 in ?? ()
No symbol table info available.
(gdb)
Well at least I know it's not my code at fault. Shame though...

Primary developer/maintainer for cgminer and ckpool/ckproxy.
Pooled mine at kano.is, solo mine at solo.ckpool.org
-ck
Proofer
Sr. Member
****
Offline Offline

Activity: 251


View Profile
December 28, 2011, 11:36:43 PM
 #2518

Well at least I know it's not my code at fault. Shame though...

Not necessarily implying your code is at fault, but a data point:  here, no seg fault with 2.0.8, seg fault with 2.1.0, no driver change.  Catalyst 11.6, Ubuntu 11.04.
-ck
Moderator
Legendary
*
Offline Offline

Activity: 2002


Ruu \o/


View Profile WWW
December 28, 2011, 11:43:29 PM
 #2519

How are rejects for everyone now with the new code? They should be the lowest ever.

Primary developer/maintainer for cgminer and ckpool/ckproxy.
Pooled mine at kano.is, solo mine at solo.ckpool.org
-ck
DeathAndTaxes
Donator
Legendary
*
Offline Offline

Activity: 1218


Gerald Davis


View Profile
December 29, 2011, 01:13:13 AM
 #2520

How are rejects for everyone now with the new code? They should be the lowest ever.

Looks the same for me but I always had low rejects using Bitminter pool & cgminer (<0.1%). 
Pages: « 1 ... 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 [126] 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 ... 830 »
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!