Pages:
Author

Topic: [Guide] Dogie's Comprehensive Avalon Avalon2 Setup [HD] (Read 31336 times)

newbie
Activity: 3
Merit: 0
Any idea what would be causing this?


[2017-10-17 22:52:18.355] AV2 3: No valid shares for over 1 minute, issuing a USB reset
 [2017-10-17 22:52:18.586] AV2 3 attempted reset got err:(0) LIBUSB_SUCCESS / LIBUSB_TRANSFER_COMPLETED
 [2017-10-17 22:52:19.732] AV2 3 Ava2Write usb write err:(-7) LIBUSB_ERROR_TIMEOUT
 [2017-10-17 22:52:19.956] AV2 3 attempted reset got err:(0) LIBUSB_SUCCESS / LIBUSB_TRANSFER_COMPLETED
 [2017-10-17 22:52:19.963] Avalon2: Error -4 on read in avalon_gets got 0
 [2017-10-17 22:52:19.965] AV2 3: Device disappeared, shutting down thread
 [2017-10-17 22:52:19.970] AV2 3 failure, disabling!
 [2017-10-17 22:52:25.371] Hotplug: avalon2 added AV2 4
 [2017-10-17 22:53:26.378] AV2 4: No valid shares for over 1 minute, issuing a USB reset
 [2017-10-17 22:53:26.607] AV2 4 attempted reset got err:(0) LIBUSB_SUCCESS / LIBUSB_TRANSFER_COMPLETED
 [2017-10-17 22:53:27.752] AV2 4 Ava2Write usb write err:(-7) LIBUSB_ERROR_TIMEOUT
 [2017-10-17 22:53:27.976] AV2 4 attempted reset got err:(0) LIBUSB_SUCCESS / LIBUSB_TRANSFER_COMPLETED
 [2017-10-17 22:53:27.982] Avalon2: Error -4 on read in avalon_gets got 0
 [2017-10-17 22:53:27.984] AV2 4: Device disappeared, shutting down thread
 [2017-10-17 22:53:27.989] AV2 4 failure, disabling!
 [2017-10-17 22:53:34.020] Hotplug: avalon2 added AV2 5
 [2017-10-17 22:54:36.420] AV2 5: No valid shares for over 1 minute, issuing a USB reset
newbie
Activity: 1
Merit: 0
Ok, so i a got a hand me down Avalon 2 (one of the Chinese knock off, as it has a Bitmine.com sticker on it and it's in a stainless steel case). I was able to reset the password, and can now log in but i can get this thing to mine to save my life. I've played with all the different setting i could think of but i keep get tons of discards. to be honest i haven't actually mined an accepted share yet, but tons and tons of discards. I'm hoping somebody has some idea as to what i can try cause i'm all out of ideas... i have no clue what else to do and i've been working on this for at least a week. I'm super lost guys and any help anybody can provide is greatly appreciated.

heres some pics of what i'm getting:

http://i67.tinypic.com/eqb57t.jpg
http://i66.tinypic.com/30w8dbq.jpg



and of course the log from the cgminer API:

[Firmware Version] => 20130923
cgminer: 48681dd
cgminer-openwrt-packages: 3527ce4
luci: 296b358
Reply was 'STATUS=S,When=1500516661,Code=70,Msg=CGMiner stats,Description=cgminer 3.4.3|STATS=0,ID=AVA0,Elapsed=52,Calls=0,Wait=0.000000,Max=0.000000,Min=99999999.000000,baud=115200,miner_count=24,asic_count=10,timeout=42,frequency=300,fan1=0,fan2=0,fan3=0,temp1=0,temp2=0,temp3=0,temp_max=0,Device Hardware%=0.0000,no_matching_work=0,match_work_count1=0,match_work_count2=0,match_work_count3=0,match_work_count4=0,match_work_count5=0,match_work_count6=0,match_work_count7=0,match_work_count8=0,match_work_count9=0,match_work_count10=0,match_work_count11=0,match_work_count12=0,match_work_count13=0,match_work_count14=0,match_work_count15=0,match_work_count16=0,match_work_count17=0,match_work_count18=0,match_work_count19=0,match_work_count20=0,match_work_count21=0,match_work_count22=0,match_work_count23=0,match_work_count24=0,Controller Version=0,USB Pipe=0,USB Delay=r0 0.000000 w0 0.000000,USB tmo=4803 0|STATS=1,ID=POOL0,Elapsed=52,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=512.00000000,Min Diff=512.00000000,Max Diff=512.00000000,Min Diff Count=436,Max Diff Count=436,Times Sent=6,Bytes Sent=433,Times Recv=11,Bytes Recv=4189,Net Bytes Sent=1010,Net Bytes Recv=4079|STATS=2,ID=POOL1,Elapsed=52,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=4096.00000000,Min Diff=4096.00000000,Max Diff=4096.00000000,Min Diff Count=436,Max Diff Count=436,Times Sent=2,Bytes Sent=150,Times Recv=5,Bytes Recv=2925,Net Bytes Sent=150,Net Bytes Recv=2925|'
[STATUS] =>
(
   [STATUS] => S
   [When] => 1500516661
  
Code:
=> 70
   [Msg] => CGMiner stats
   [Description] => cgminer 3.4.3
)
[STATS0] =>
(
   [STATS] => 0
   [ID] => AVA0
   [Elapsed] => 52
   [Calls] => 0
   [Wait] => 0.000000
   [Max] => 0.000000
   [Min] => 99999999.000000
   [baud] => 115200
   [miner_count] => 24
   [asic_count] => 10
   [timeout] => 42
   [frequency] => 300
   [fan1] => 0
   [fan2] => 0
   [fan3] => 0
   [temp1] => 0
   [temp2] => 0
   [temp3] => 0
   [temp_max] => 0
   [Device Hardware%] => 0.0000
   [no_matching_work] => 0
   [match_work_count1] => 0
   [match_work_count2] => 0
   [match_work_count3] => 0
   [match_work_count4] => 0
   [match_work_count5] => 0
   [match_work_count6] => 0
   [match_work_count7] => 0
   [match_work_count8] => 0
   [match_work_count9] => 0
   [match_work_count10] => 0
   [match_work_count11] => 0
   [match_work_count12] => 0
   [match_work_count13] => 0
   [match_work_count14] => 0
   [match_work_count15] => 0
   [match_work_count16] => 0
   [match_work_count17] => 0
   [match_work_count18] => 0
   [match_work_count19] => 0
   [match_work_count20] => 0
   [match_work_count21] => 0
   [match_work_count22] => 0
   [match_work_count23] => 0
   [match_work_count24] => 0
   [Controller Version] => 0
   [USB Pipe] => 0
   [USB Delay] => r0 0.000000 w0 0.000000
   [USB tmo] => 4803 0
)
[STATS1] =>
(
   [STATS] => 1
   [ID] => POOL0
   [Elapsed] => 52
   [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] => 512.00000000
   [Min Diff] => 512.00000000
   [Max Diff] => 512.00000000
   [Min Diff Count] => 436
   [Max Diff Count] => 436
   [Times Sent] => 6
   [Bytes Sent] => 433
   [Times Recv] => 11
   [Bytes Recv] => 4189
   [Net Bytes Sent] => 1010
   [Net Bytes Recv] => 4079
)
[STATS2] =>
(
   [STATS] => 2
   [ID] => POOL1
   [Elapsed] => 52
   [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] => 4096.00000000
   [Min Diff] => 4096.00000000
   [Max Diff] => 4096.00000000
   [Min Diff Count] => 436
   [Max Diff Count] => 436
   [Times Sent] => 2
   [Bytes Sent] => 150
   [Times Recv] => 5
   [Bytes Recv] => 2925
   [Net Bytes Sent] => 150
   [Net Bytes Recv] => 2925
)
[/b]
legendary
Activity: 1666
Merit: 1185
dogiecoin.com
its so frustrating.. ive had this thing for months and have given up each time after days and days of not getting anything to work. failure number 6 this time. are these things worth anything at this time? probably cant even sell it at this point...


They're worth something, head over to marketplace -> goods -> computer hardware
newbie
Activity: 4
Merit: 0
its so frustrating.. ive had this thing for months and have given up each time after days and days of not getting anything to work. failure number 6 this time. are these things worth anything at this time? probably cant even sell it at this point...
legendary
Activity: 1666
Merit: 1185
dogiecoin.com
ok so I got a bat file to start up the BFGminer.. i used this one:
bfgminer -S avalonmm:\\.\COM22 --set avalonmm:clock=1500 --set avalonmm:voltage=1 --set avalonmm:fan=80

i changed the com port to mine wich says 5 and saved the file.
i double click the bat file and BFG miner opens up and asks for url , username, and PW.

i enter that info and it say no new devices found
and pool 0 is hiding info

can anyone help me understand what i am doing wrong?


https://gitorious.org/bitcoin/bfgminer/source/5d56de04be2172235f2076ea54ab9c65de5cd4b7:README.GPU

is this for my Avalon single unit?
im not sure what im looking for,  link says GPU?
i am trying to get a single avalon2 working in bfgminer.

in the meantime i am reading that link.


Yes, it has info about configuring BFGminer generally so you don't have to type pool and login each time. I'm not sure why you're not getting it shown though.
newbie
Activity: 4
Merit: 0
ok so I got a bat file to start up the BFGminer.. i used this one:
bfgminer -S avalonmm:\\.\COM22 --set avalonmm:clock=1500 --set avalonmm:voltage=1 --set avalonmm:fan=80

i changed the com port to mine wich says 5 and saved the file.
i double click the bat file and BFG miner opens up and asks for url , username, and PW.

i enter that info and it say no new devices found
and pool 0 is hiding info

can anyone help me understand what i am doing wrong?


https://gitorious.org/bitcoin/bfgminer/source/5d56de04be2172235f2076ea54ab9c65de5cd4b7:README.GPU

is this for my Avalon single unit?
im not sure what im looking for,  link says GPU?
i am trying to get a single avalon2 working in bfgminer.

in the meantime i am reading that link.
legendary
Activity: 1666
Merit: 1185
dogiecoin.com

The fact the LEDs are flashing correctly suggests its waiting at that IP now. You can follow my alternative subnet setup instructions from the Bitmain S3 thread to get there. If its still not working then I'm not sure what is going wrong. Yes you can use an original WR703N, and flash the Avalon image.

Progress Report (no progress actually)

1. I disconnected the network module from Avalon and connected it through LAN and microUSB charger. The behavior is the same, visible as 192.168.0.100, 'dead' in failsafe, live in 'normal' boot (with IP scanner). No ping, no telnet, no ssh.
2. I've got another WR703N native device. It works perfect but connected to Avalon it gets no power. It's not the same as the Avalon network module.
3. Got an idea about some LightningAsic firmware reportedly best for routers and mining. Still trying to figure out.

...you do have external 5V power to the WR don't you?
legendary
Activity: 1666
Merit: 1185
dogiecoin.com
ok so I got a bat file to start up the BFGminer.. i used this one:
bfgminer -S avalonmm:\\.\COM22 --set avalonmm:clock=1500 --set avalonmm:voltage=1 --set avalonmm:fan=80

i changed the com port to mine wich says 5 and saved the file.
i double click the bat file and BFG miner opens up and asks for url , username, and PW.

i enter that info and it say no new devices found
and pool 0 is hiding info

can anyone help me understand what i am doing wrong?


https://gitorious.org/bitcoin/bfgminer/source/5d56de04be2172235f2076ea54ab9c65de5cd4b7:README.GPU
newbie
Activity: 4
Merit: 0
ok so I got a bat file to start up the BFGminer.. i used this one:
bfgminer -S avalonmm:\\.\COM22 --set avalonmm:clock=1500 --set avalonmm:voltage=1 --set avalonmm:fan=80

i changed the com port to mine wich says 5 and saved the file.
i double click the bat file and BFG miner opens up and asks for url , username, and PW.

i enter that info and it say no new devices found
and pool 0 is hiding info

can anyone help me understand what i am doing wrong?
jr. member
Activity: 240
Merit: 1

The fact the LEDs are flashing correctly suggests its waiting at that IP now. You can follow my alternative subnet setup instructions from the Bitmain S3 thread to get there. If its still not working then I'm not sure what is going wrong. Yes you can use an original WR703N, and flash the Avalon image.

Progress Report (no progress actually)

1. I disconnected the network module from Avalon and connected it through LAN and microUSB charger. The behavior is the same, visible as 192.168.0.100, 'dead' in failsafe, live in 'normal' boot (with IP scanner). No ping, no telnet, no ssh.
2. I've got another WR703N native device. It works perfect but connected to Avalon it gets no power. It's not the same as the Avalon network module.
3. Got an idea about some LightningAsic firmware reportedly best for routers and mining. Still trying to figure out.
legendary
Activity: 1666
Merit: 1185
dogiecoin.com
Google specifically for failsafe, you have to hit the reset button in a particular pattern to boot it into a different mode... which then allows you to reflash the WRT image.
Thank you but I'm doing that exactly. When booting normally, the blue LED flashes numerous times slowly (~2 Hz) then it lights. For failsafe I press reset button, and LED begins to flash very fast and keeps flashing.
Then, see above...  Huh


UPD: Plus, I tried connecting Avalon to two different PCs, to router it used to work through, used different LAN cables, network settings. Each time everything works perfect but no ping, no telnet, no ssh.

UPD2: Is it possible to use an original WR703N (the blue box) as replacement with Avalon?

The fact the LEDs are flashing correctly suggests its waiting at that IP now. You can follow my alternative subnet setup instructions from the Bitmain S3 thread to get there. If its still not working then I'm not sure what is going wrong. Yes you can use an original WR703N, and flash the Avalon image.
jr. member
Activity: 240
Merit: 1
Google specifically for failsafe, you have to hit the reset button in a particular pattern to boot it into a different mode... which then allows you to reflash the WRT image.
Thank you but I'm doing that exactly. When booting normally, the blue LED flashes numerous times slowly (~2 Hz) then it lights. For failsafe I press reset button, and LED begins to flash very fast and keeps flashing.
Then, see above...  Huh


UPD: Plus, I tried connecting Avalon to two different PCs, to router it used to work through, used different LAN cables, network settings. Each time everything works perfect but no ping, no telnet, no ssh.

UPD2: Is it possible to use an original WR703N (the blue box) as replacement with Avalon?
legendary
Activity: 1666
Merit: 1185
dogiecoin.com
........... I get into failsafe mode (rapid LED blinking) but this doesn't help. Advanced IP Scanner sees the router as a 'dead' host. No ping, no telnet, no ssh.
...........

Google for WRT failsafe instructions, then you can reflash the Avalon WRT OS.

I found lots of instructions how to flash WR703N in different modes, in Linux and Windows. The real problem is that I can't reach it by LAN through ping, telnet, nor ssh. IP scanner sees the router as 'dead' host in failsafe 192.168.0.100, and 'live' when normally started but again, no ping, no telnet, no ssh.

Google specifically for failsafe, you have to hit the reset button in a particular pattern to boot it into a different mode... which then allows you to reflash the WRT image.
jr. member
Activity: 240
Merit: 1
........... I get into failsafe mode (rapid LED blinking) but this doesn't help. Advanced IP Scanner sees the router as a 'dead' host. No ping, no telnet, no ssh.
...........

Google for WRT failsafe instructions, then you can reflash the Avalon WRT OS.

I found lots of instructions how to flash WR703N in different modes, in Linux and Windows. The real problem is that I can't reach it by LAN through ping, telnet, nor ssh. IP scanner sees the router as 'dead' host in failsafe 192.168.0.100, and 'live' when normally started but again, no ping, no telnet, no ssh.

BTW what is the microUSB port left open for in Avalon? Never met any use of it in instructions.
legendary
Activity: 1666
Merit: 1185
dogiecoin.com
Help needed, please.
I've got Avalon2 220GH miner. It worked very well but I decided to upgrade the FW and SW. Firstly, I downloaded and flashed the last Avalon2 .bin - no success. Then I found somewhere that this version of ASIC should be updated with FW for Avalon1. Done, but again no success. I don't remember if I messed with cgminer (I was going to), it was months ago.
Eventually I can't access the miner's interface to fix this problem. I get into failsafe mode (rapid LED blinking) but this doesn't help. Advanced IP Scanner sees the router as a 'dead' host. No ping, no telnet, no ssh.
Any chance to help me? Thanks.

Google for WRT failsafe instructions, then you can reflash the Avalon WRT OS.
jr. member
Activity: 240
Merit: 1
If you plug the modules into a PC, you can just run BFGMiner and it should work fine.
Thank you for the idea. However, I want to get rid of my problem in principle.
legendary
Activity: 2576
Merit: 1186
Help needed, please.
I've got Avalon2 220GH miner. It worked very well but I decided to upgrade the FW and SW. Firstly, I downloaded and flashed the last Avalon2 .bin - no success. Then I found somewhere that this version of ASIC should be updated with FW for Avalon1. Done, but again no success. I don't remember if I messed with cgminer (I was going to), it was months ago.
Eventually I can't access the miner's interface to fix this problem. I get into failsafe mode (rapid LED blinking) but this doesn't help. Advanced IP Scanner sees the router as a 'dead' host. No ping, no telnet, no ssh.
Any chance to help me? Thanks.
If you plug the modules into a PC, you can just run BFGMiner and it should work fine.
jr. member
Activity: 240
Merit: 1
Help needed, please.
I've got Avalon2 220GH miner. It worked very well but I decided to upgrade the FW and SW. Firstly, I downloaded and flashed the last Avalon2 .bin - no success. Then I found somewhere that this version of ASIC should be updated with FW for Avalon1. Done, but again no success. I don't remember if I messed with cgminer (I was going to), it was months ago.
Eventually I can't access the miner's interface to fix this problem. I get into failsafe mode (rapid LED blinking) but this doesn't help. Advanced IP Scanner sees the router as a 'dead' host. No ping, no telnet, no ssh.
Any chance to help me? Thanks.
legendary
Activity: 1666
Merit: 1185
dogiecoin.com
To "factory reset" a pi, usually you just take the SD card out and reprogram it...

That's what I suggested, so I'm confused why he says that wouldn't work :/

I have tried it again and still the same. I guess I have other problems with the system. Any ideas?

Google how to flash an image to your TP link and download the Avalon image onto it.
newbie
Activity: 13
Merit: 0
To "factory reset" a pi, usually you just take the SD card out and reprogram it...

That's what I suggested, so I'm confused why he says that wouldn't work :/

I have tried it again and still the same. I guess I have other problems with the system. Any ideas?
Pages:
Jump to: