Bitcoin Forum
November 18, 2017, 06:24:21 PM *
News: Latest stable version of Bitcoin Core: 0.15.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: « 1 ... 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 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 [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 ... 221 »
  Print  
Author Topic: Avalon ASIC users thread  (Read 432281 times)
-ck
Moderator
Legendary
*
Offline Offline

Activity: 2338


Ruu \o/


View Profile WWW
June 30, 2013, 09:13:09 AM
 #1501


just to be clear; that firmware your link pointed me to doesn't require any unpackaging or unzipping, right?  just download it and then upload to avalon?
Yes, just flash the .bin
http://ck.kolivas.org/apps/cgminer/avalon/20130627/openwrt-ar71xx-generic-tl-wr703n-v1-squashfs-factory.bin
file as is. Sometimes you may need to power it down for a minute before powering it on again after a major change if it doesn't start hashing immediately after flashing and restarting automatically.

Primary developer/maintainer for cgminer and ckpool/ckproxy.
ZERO FEE Pooled mining at ckpool.org 1% Fee Solo mining at solo.ckpool.org
-ck
1511029461
Hero Member
*
Offline Offline

Posts: 1511029461

View Profile Personal Message (Offline)

Ignore
1511029461
Reply with quote  #2

1511029461
Report to moderator
1511029461
Hero Member
*
Offline Offline

Posts: 1511029461

View Profile Personal Message (Offline)

Ignore
1511029461
Reply with quote  #2

1511029461
Report to moderator
1511029461
Hero Member
*
Offline Offline

Posts: 1511029461

View Profile Personal Message (Offline)

Ignore
1511029461
Reply with quote  #2

1511029461
Report to moderator
A blockchain platform for effective freelancing
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1511029461
Hero Member
*
Offline Offline

Posts: 1511029461

View Profile Personal Message (Offline)

Ignore
1511029461
Reply with quote  #2

1511029461
Report to moderator
1511029461
Hero Member
*
Offline Offline

Posts: 1511029461

View Profile Personal Message (Offline)

Ignore
1511029461
Reply with quote  #2

1511029461
Report to moderator
1511029461
Hero Member
*
Offline Offline

Posts: 1511029461

View Profile Personal Message (Offline)

Ignore
1511029461
Reply with quote  #2

1511029461
Report to moderator
invader
Sr. Member
****
Offline Offline

Activity: 262



View Profile
June 30, 2013, 09:50:25 AM
 #1502

Trying to set a build envirement via build-avalon-image.sh --clone to make cgminer binary and image with it. Really, it takes a long time to build a toolchain.. Got some errors in process due to $LD_LIBRARY_PATH variable .. now need to run again >_<. Changed git path in script to clone latest cgminer 3.3.1 also.

ckolivas, can you also upload to git changes that you made in luci / cgminer-webui , please?
currently it's taken from here
git clone git://github.com/BitSyncom/luci.git && (cd luci && git checkout -b cgminer-webui origin/cgminer-webui) )

I know what i must change to be able to run inverted pwm fan, but it's not so easy in first time to make binary for avalon with option enabled xor(0xA0,fan) in avalon_init_task() ... Im intending to buld a functional image identical to 20130627 for now from sources, then i will try to make changes.

EDIT:

So basically, i edited the sources and compiled it successfully!
Only problem that toolchain is in process of building right now, so i have only binary for x86 now.

What i edited :

in cgminer.c
Code:
           OPT_WITHOUT_ARG("--avalon-invert-pwm",
                                    opt_set_bool, &opt_avalon_invert_pwm,
                                    "Enable avalon use with inverted PWM fans."),

in driver-avalon.h
Code:
extern bool opt_avalon_invert_pwm;

in driver-avalon.c
Code:
bool opt_avalon_invert_pwm;
...
        if (opt_avalon_invert_pwm) {
            at->fan_pwm_data = 0xA0 ^ at->fan_pwm_data;
        }

That's all. Now only testing is needed.
Bogart
Legendary
*
Offline Offline

Activity: 952


View Profile
June 30, 2013, 12:15:14 PM
 #1503

Trying to set a build envirement via build-avalon-image.sh --clone to make cgminer binary and image with it. Really, it takes a long time to build a toolchain.

It sure does take a long time.  I built an image using that script back when it used cgminer 2.11.

It ended up using 6 gigs of disk for all the things, and took many hours to complete on a 6 core system with fast fiber internets.

Once you do it once, though, subsequent builds should go a lot faster.

"All safe deposit boxes in banks or financial institutions have been sealed... and may only be opened in the presence of an agent of the I.R.S." - President F.D. Roosevelt, 1933
invader
Sr. Member
****
Offline Offline

Activity: 262



View Profile
June 30, 2013, 12:56:12 PM
 #1504

Now i done with toolchain, trying to build mips binary with my changes - seems that its overwriting my changes by downloading cgminer sources from git and repackaging it in cgminer-*.tar.bz2, then unpacking it and building. Damn.

EDIT:

At last! Cheated build script by repacking sources with my changed files to cgminer-3.3.1-<longcharstring>.tar.bz2

Code:
root@avalon:/tmp# ./cgminer-mips --help
..
--avalon-auto       Adjust avalon overclock frequency dynamically for best hashrate
--avalon-invert-pwm Enable avalon use with inverted PWM fans.
--avalon-cutoff <arg> Set avalon overheat cut off temperature (default: 60)
--avalon-options <arg> Set avalon options baud:miners:asic:timeout:freq
--avalon-temp <arg> Set avalon target temperature (default: 50)
..

Now going to test it.

ADD:

Test FAILED. Sad Something strange happened, new cgminer started, but no accepted shares received and no temp/fan info. F*ck.
It's WORKING as intended!!! Now with options --avalon-invert-pwm --avalon-temp 0 fans going to full rpm, not stopping. Going test is a bit more with different temp targets now. Previous problem was probably caused by multiple cgminer instances running.

ADD:

Still something strange is going on, when i set target temp to 50 and real temp is going over it - fans is stopping!
Need to check calculation regarding xor(0xA0, fan).
YEP, wrong.
20 ^ A0 = 80
40 ^ A0 = E0 <- stops here
80 ^ A0 = 20
Need recalculate. XOR is not suitable, must be correct and more universal piece of code with mix/max/invert options.

ADD:

Added options to allow set fixed PWM value from arguments, and it looks like following from measures

Code:
0x00 = 4320 RPM
0x20 = 3840 RPM
0x40 = 3120 .. 3000 RPM
0x80 = 1440 .. 1320 RPM
0x84 = 1200 .. 1080 RPM
0x88 = 960 .. 840 RPM
0x8A = 720 .. 600 RPM
0x8C = STOP , 0 RPM
cypherdoc
Legendary
*
Offline Offline

Activity: 1764



View Profile
June 30, 2013, 01:01:23 PM
 #1505

can someone tell me how to delete the blockchain in ubuntu and start a re-download?

unless you can tell me how to get out of this error:

Code:
: Error opening block database.
Do you want to rebuild the block database now?
Bogart
Legendary
*
Offline Offline

Activity: 952


View Profile
June 30, 2013, 01:15:03 PM
 #1506

can someone tell me how to delete the blockchain in ubuntu and start a re-download?

unless you can tell me how to get out of this error:

Code:
: Error opening block database.
Do you want to rebuild the block database now?

Run bitcoind in non-daemon mode, and answer "yes" when asked if you want to rebuild the block database.

(The rebuild will take a long time.)

"All safe deposit boxes in banks or financial institutions have been sealed... and may only be opened in the presence of an agent of the I.R.S." - President F.D. Roosevelt, 1933
mitak64
Full Member
***
Offline Offline

Activity: 239


View Profile
June 30, 2013, 01:15:42 PM
 #1507

try "sudo bitcoind"
cypherdoc
Legendary
*
Offline Offline

Activity: 1764



View Profile
June 30, 2013, 01:40:36 PM
 #1508

i ran this:

Code:
home@server:~/git/bitcoin$ bitcoind -reindex

cursor dropped down one line and is just blinking by itself.  does that mean its reindexing?  how can i tell?
Bogart
Legendary
*
Offline Offline

Activity: 952


View Profile
June 30, 2013, 01:45:52 PM
 #1509

i ran this:

Code:
home@server:~/git/bitcoin$ bitcoind -reindex

cursor dropped down one line and is just blinking by itself.  does that mean its reindexing?  how can i tell?

Probably.  Is your disk activity light blinking?  Does top or ps show bitcoind using a lot of CPU?  If yes, then it's doing its thing.

For me the process takes hours on a fast system with an SSD.

"All safe deposit boxes in banks or financial institutions have been sealed... and may only be opened in the presence of an agent of the I.R.S." - President F.D. Roosevelt, 1933
cypherdoc
Legendary
*
Offline Offline

Activity: 1764



View Profile
June 30, 2013, 01:57:56 PM
 #1510

i ran this:

Code:
home@server:~/git/bitcoin$ bitcoind -reindex

cursor dropped down one line and is just blinking by itself.  does that mean its reindexing?  how can i tell?

Probably.  Is your disk activity light blinking?  Does top or ps show bitcoind using a lot of CPU?  If yes, then it's doing its thing.

For me the process takes hours on a fast system with an SSD.

yeah, i got a blue light on front of pc flashing and top says bitcoind @ 60-70%
cypherdoc
Legendary
*
Offline Offline

Activity: 1764



View Profile
June 30, 2013, 03:05:16 PM
 #1511

finally got it to work with ozcoin.

any idea why registered hashrate at ozcoin would be half 33 MH/s vs. 66 MH/s in cgminer status?
cypherdoc
Legendary
*
Offline Offline

Activity: 1764



View Profile
June 30, 2013, 03:17:55 PM
 #1512

finally got it to work with ozcoin.

any idea why registered hashrate at ozcoin would be half 33 MH/s vs. 66 MH/s in cgminer status?

nvm.  ozcoin registering properly.
server
Hero Member
*****
Offline Offline

Activity: 815


~\/~


View Profile
June 30, 2013, 03:51:23 PM
 #1513

350 and pretty cool without airco Cool



(1 fan on max rpm)

How do you set your ASIC to be like that? I'm getting 46 degrees. its crazy!

Avalon vertical, external psu and vent blowing to the bottemplate.
Mid-fan (fan2) blowing max rpm, other fans auto.

My ambient basement temp = 20-23 degrees.

Right now both fans are on auto again and therefor Temp2 is over 40.



cypherdoc
Legendary
*
Offline Offline

Activity: 1764



View Profile
June 30, 2013, 04:39:37 PM
 #1514

just upgraded firmware to ckolivas latest version:  http://ck.kolivas.org/apps/cgminer/avalon/20130627/openwrt-ar71xx-generic-tl-wr703n-v1-squashfs-factory.bin

despite multiple restarts, reboots, hard reboots i still don't get hashing

any suggestions?:

Vicus
Hero Member
*****
Offline Offline

Activity: 798


View Profile
June 30, 2013, 05:13:55 PM
 #1515

any suggestions?:
Dead PSU?
shmadz
Legendary
*
Offline Offline

Activity: 1498


@theshmadz


View Profile
June 30, 2013, 05:25:36 PM
 #1516

just upgraded firmware to ckolivas latest version:  http://ck.kolivas.org/apps/cgminer/avalon/20130627/openwrt-ar71xx-generic-tl-wr703n-v1-squashfs-factory.bin

despite multiple restarts, reboots, hard reboots i still don't get hashing

any suggestions?:


Did you un-check the box that said "keep settings"?

"You have no moral right to rule us, nor do you possess any methods of enforcement that we have reason to fear." - John Perry Barlow, 1996
server
Hero Member
*****
Offline Offline

Activity: 815


~\/~


View Profile
June 30, 2013, 06:04:42 PM
 #1517

@cypherdoc:

Did you check all the connections inside the box ? All flat cables pushed in the sockets ?

Maybe change the USB cable into another port of the hub ?

Diagnostics from the Network-tab are functioning ? connection ok ?

What's visable in Cgminer API log ?
cypherdoc
Legendary
*
Offline Offline

Activity: 1764



View Profile
June 30, 2013, 06:21:11 PM
 #1518

just upgraded firmware to ckolivas latest version:  http://ck.kolivas.org/apps/cgminer/avalon/20130627/openwrt-ar71xx-generic-tl-wr703n-v1-squashfs-factory.bin

despite multiple restarts, reboots, hard reboots i still don't get hashing

any suggestions?:


Did you un-check the box that said "keep settings"?

no, i was told to keep it checked Sad

that's what the wiki says to do too.
cypherdoc
Legendary
*
Offline Offline

Activity: 1764



View Profile
June 30, 2013, 06:25:17 PM
 #1519

@cypherdoc:

Did you check all the connections inside the box ? All flat cables pushed in the sockets ?  yes

Maybe change the USB cable into another port of the hub ?  not yet

Diagnostics from the Network-tab are functioning ? connection ok ?  yes

What's visable in Cgminer API log ?

Code:
[Firmware Version] => 20130627
cgminer-3454759
luci-d854edc+
cgminer-openwrt-packages-800cc58
Reply was 'STATUS=S,When=1372616659,Code=70,Msg=CGMiner stats,Description=cgminer 3.3.1|STATS=0,ID=POOL0,Elapsed=4279,Calls=0,Wait=0.000000,Max=0.000000,Min=99999999.000000,Pool Calls=0,Pool Attempts=0,Pool Wait=0.000000,Pool Max=0.000000,Pool Min=99999999.000000,Pool Av=0.000000,Work Had Roll Time=false,Work Can Roll=false,Work Had Expire=false,Work Roll Time=0,Work Diff=1.00000000,Min Diff=1.00000000,Max Diff=1.00000000,Min Diff Count=590,Max Diff Count=590,Times Sent=3,Bytes Sent=194,Times Recv=319,Bytes Recv=318031,Net Bytes Sent=194,Net Bytes Recv=318031|'
[STATUS] =>
(
   [STATUS] => S
   [When] => 1372616659
   [Code] => 70
   [Msg] => CGMiner stats
   [Description] => cgminer 3.3.1
)
[STATS0] =>
(
   [STATS] => 0
   [ID] => POOL0
   [Elapsed] => 4279
   [Calls] => 0
   [Wait] => 0.000000
   [Max] => 0.000000
   [Min] => 99999999.000000
   [Pool Calls] => 0
   [Pool Attempts] => 0
   [Pool Wait] => 0.000000
   [Pool Max] => 0.000000
   [Pool Min] => 99999999.000000
   [Pool Av] => 0.000000
   [Work Had Roll Time] => false
   [Work Can Roll] => false
   [Work Had Expire] => false
   [Work Roll Time] => 0
   [Work Diff] => 1.00000000
   [Min Diff] => 1.00000000
   [Max Diff] => 1.00000000
   [Min Diff Count] => 590
   [Max Diff Count] => 590
   [Times Sent] => 3
   [Bytes Sent] => 194
   [Times Recv] => 319
   [Bytes Recv] => 318031
   [Net Bytes Sent] => 194
   [Net Bytes Recv] => 318031
)
[/code]
cypherdoc
Legendary
*
Offline Offline

Activity: 1764



View Profile
June 30, 2013, 06:28:41 PM
 #1520

still sick:

Pages: « 1 ... 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 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 [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 ... 221 »
  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!