Author

Topic: broke my avalon controller and can't find cgminer anywhere (Read 409 times)

jr. member
Activity: 57
Merit: 1
Looks fine. If you can get some A841's they are a bit better speed and power eff - just need a different Raspi because you cannot mix miners on 1 controller. Even at full speed the 841 only pulls ~1.3kw so a 1.5kw supply works fine.

thanks so much for your time fuzzy as well as everyone else that contributed to this thread. i learned a lot.

btw...

these are the extra options i am running...

Code:
--avalon8-voltage-level 8 --avalon8-voltage-level-offset 0 --avalon8-freq 800 --avalon8-freq-sel 3 --avalon8-fan 75 --avalon8-temp 70 --avalon8-smart-speed 1
legendary
Activity: 3822
Merit: 2703
Evil beware: We have waffles!
Looks fine. If you can get some A841's they are a bit better speed and power eff - just need a different Raspi because you cannot mix miners on 1 controller. Even at full speed the 841 only pulls ~1.3kw so a 1.5kw supply works fine.
jr. member
Activity: 57
Merit: 1
here is the readout now 6 hours later...

jr. member
Activity: 57
Merit: 1
So only 1 miner is connected and powered on? Obviously that combo of MM firmware and the OpenWrt work so as long as the other miners have the same MM version they should all work.

yeah about that.... just this morning two of my PSU burned out
legendary
Activity: 3822
Merit: 2703
Evil beware: We have waffles!
So only 1 miner is connected and powered on? Obviously that combo of MM firmware and the OpenWrt work so as long as the other miners have the same MM version they should all work.
jr. member
Activity: 57
Merit: 1
For what is going on we need to see the cgminer status GUI page like I posted https://imgur.com/jcTE6fR
That in itself will show the main status of all miners connected to the RiPi controller.

Avoid the A921 & 950. In Canaan's rush to be 1st-to-market with a 10nm chip they rather blew it. Running full speed for just over 20Ths they are very hot and pull just over 2kw, Normal mode is a bit cooler, ~1.9kw & ~18Ths. 2x A841's do better... That said, as I posted in that setting link the A9xx are just as tweakable as the A8's.

legendary
Activity: 3822
Merit: 2703
Evil beware: We have waffles!
For what is going on we need to see the cgminer status GUI page like I posted https://imgur.com/jcTE6fR
That in itself will show the main status of all miners connected to the RiPi controller.

Avoid the A921 & 950. In Canaan's rush to be 1st-to-market with a 10nm chip they rather blew it. Running full speed for just over 20Ths they are very hot and pull just over 2kw, Normal mode is a bit cooler, ~1.9kw & ~18Ths. 2x A841's do better... That said, as I posted in that setting link the A9xx are just as tweakable as the A8's.
jr. member
Activity: 57
Merit: 1

they are working but im only getting 20 TH/s with three of them going. I was getting upwards of 40 with the setup that was on there prior to my breaking it. and yes i live in central washington where the electricity is 2.8 cents/kwh.

UPDATE:

well i effed around with overclocking and burned out a couple of my power supplies. now i only have one of my miners running but its getting a good hashrate considering how old it is. . Sad



$0.028 KWh I'm jealous.

Tough call as to buy new power supplies with the 1/2ing coming.
If you can reuse them on something else after might be worth getting a couple.
If you can't you will never ROI them.

I don't know if you can sell the units themselves. Considering you can get a new very quiet 4TH (ish) 160Watt miner with a power supply for $130+ shipping selling something that does 11TH (ish) but needs 1200 watts and has fans that are loud is going to take a while. People may want them because those old miners were just about indestructible and were fun to tinker so you do have that as a possibility.

Personally if I had the space I would keep them to tinker with.

-Dave

haha yeah. i live out here in central washington near the confluence of two rivers and there are about 4 dams within 20 miles so we have a surplus. remember the GigaWatt mining company? that was out here. anyway, yeah these miners are tanks for sure. i think my buddy has some more miners. i was just talking to him. he's the one i got these from. he said he could hook me up with some more better miners. good friend.
legendary
Activity: 3500
Merit: 6320
Crypto Swap Exchange

they are working but im only getting 20 TH/s with three of them going. I was getting upwards of 40 with the setup that was on there prior to my breaking it. and yes i live in central washington where the electricity is 2.8 cents/kwh.

UPDATE:

well i effed around with overclocking and burned out a couple of my power supplies. now i only have one of my miners running but its getting a good hashrate considering how old it is. . Sad



$0.028 KWh I'm jealous.

Tough call as to buy new power supplies with the 1/2ing coming.
If you can reuse them on something else after might be worth getting a couple.
If you can't you will never ROI them.

I don't know if you can sell the units themselves. Considering you can get a new very quiet 4TH (ish) 160Watt miner with a power supply for $130+ shipping selling something that does 11TH (ish) but needs 1200 watts and has fans that are loud is going to take a while. People may want them because those old miners were just about indestructible and were fun to tinker so you do have that as a possibility.

Personally if I had the space I would keep them to tinker with.

-Dave
jr. member
Activity: 57
Merit: 1
Regarding the firmware: If the miner FW and software versions are different the miner GUI will still work fine but the miners either do not show up on the LuCl cgminer status tab or if they do show they have zero stats. You can use the upgrade miner button to apply a different firmware .mcs file

Use the openWrT software image from April 2018 and the April 2018 MM firmware (or the March 2018 ones if you want).

i just did the bare minimum configuration according to that guide. fingers crossed

Did it work?

If not post the log file so we have a bit more info to give you advice.

Also take a look here: https://www.zeusbtc.com/articles/asic-miner-troubleshooting/1653-how-to-troubleshoot-and-repair-avalon-721-741-761-821-and-841

With what you have posted so far it's a bit difficult to dig into it.

Side note, unless you have free or just about free power as in below $0.04 / kwh you are loosing money running these.

-Dave


they are working but im only getting 20 TH/s with three of them going. I was getting upwards of 40 with the setup that was on there prior to my breaking it. and yes i live in central washington where the electricity is 2.8 cents/kwh.

UPDATE:

well i effed around with overclocking and burned out a couple of my power supplies. now i only have one of my miners running but its getting a good hashrate considering how old it is. . Sad

legendary
Activity: 3500
Merit: 6320
Crypto Swap Exchange
Regarding the firmware: If the miner FW and software versions are different the miner GUI will still work fine but the miners either do not show up on the LuCl cgminer status tab or if they do show they have zero stats. You can use the upgrade miner button to apply a different firmware .mcs file

Use the openWrT software image from April 2018 and the April 2018 MM firmware (or the March 2018 ones if you want).

i just did the bare minimum configuration according to that guide. fingers crossed

Did it work?

If not post the log file so we have a bit more info to give you advice.

Also take a look here: https://www.zeusbtc.com/articles/asic-miner-troubleshooting/1653-how-to-troubleshoot-and-repair-avalon-721-741-761-821-and-841

With what you have posted so far it's a bit difficult to dig into it.

Side note, unless you have free or just about free power as in below $0.04 / kwh you are loosing money running these.

-Dave
jr. member
Activity: 57
Merit: 1
Regarding the firmware: If the miner FW and software versions are different the miner GUI will still work fine but the miners either do not show up on the LuCl cgminer status tab or if they do show they have zero stats. You can use the upgrade miner button to apply a different firmware .mcs file

Use the openWrT software image from April 2018 and the April 2018 MM firmware (or the March 2018 ones if you want).

i just did the bare minimum configuration according to that guide. fingers crossed
legendary
Activity: 3822
Merit: 2703
Evil beware: We have waffles!
Regarding the firmware: If the miner FW and software versions are different the miner GUI will still work fine but the miners either do not show up on the LuCl cgminer status tab or if they do show they have zero stats. You can use the upgrade miner button (I think located on the System tab?) to apply a different firmware .mcs files you have downloaded and saved on your PC.

Use the openWrT software image from April 2018 and the April 2018 MM firmware (or the March 2018 ones if you want).
This is cgminer status from my 841's but the 821's should look the same https://imgur.com/jcTE6fR
In that pic, under Avalon Device status the MM column is miner firmware version. All miners attached to the controller MUST be running the same version.
jr. member
Activity: 57
Merit: 1
Did you follow that link to Hagg's setup & use guide?
Start at section 4)2. which where you start by burning a disk image to the micro SD card. It then takes you through al of the remaining config steps.
The links in his guide for software are shut down so use the files you get from the link DaveF gave.
As for you choice in More Options: Lose the auto tune for one. The miner does it already. For the rest of the commands, use the ones in the forum link I gave earlier where I gives many different settings to use.

yes went through it. ill go through it again. i wonder what the firmware for the miners is and which image controller image corresponds to that. also i think my sd card is too small. its an 8GB. i ordered some larger ones from amazon. the only reason this gets me going is because i was 4 days away from a payout and i was gonna get one more payout before the halving. whoever set these up originally really knew what they were doing because it would always just work. i shouldn't have messed with it. they were screaming.

thanks so much fuzzy
legendary
Activity: 3822
Merit: 2703
Evil beware: We have waffles!
Did you follow that link to Hagg's setup & use guide?
Start at section 4)2. which where you start by burning a disk image to the micro SD card. It then takes you through al of the remaining config steps.
The links in his guide for software are shut down so use the files you get from the link DaveF gave.
As for you choice in More Options: Lose the auto tune for one. The miner does it already. For the rest of the commands, use the ones in the forum link I gave earlier where I gives many different settings to use.
jr. member
Activity: 57
Merit: 1
Here is the link to HaggsFin 821 setup guide https://bitcointalksearch.org/topic/m.30172375

Unless you use WiFi (not recommended) I don't remember having to do anything directly with OpenWrT. I accessed everything through the LuCl GUI/

wifi is my only current option at the moment. i finally got it to accept work but the miners are just idling still. im gonna let it go for a while and see what happens. further revision risks total destruction.

these are my settings. do they look okay?




these are the settings i have in the "more options" field...

Code:
--avalon-freq=600,--avalon-voltage=8500,--avalon-fan=50-100,--avalon-temp-target=60,--avalon-auto-tune=1
legendary
Activity: 3822
Merit: 2703
Evil beware: We have waffles!
Here is the link to HaggsFin 821 setup guide https://bitcointalksearch.org/topic/m.30172375

Unless you use WiFi (not recommended) I don't remember having to do anything directly with OpenWrT. I accessed everything through the LuCl GUI/
jr. member
Activity: 57
Merit: 1
this is what i have for my openwrt setup checklist....

Code:
uci set wireless.@wifi-iface[0].disabled='0'                    # Ensure the WiFi interface is enabled

uci set wireless.@wifi-iface[0].ssid='xxxxx'                     # Set the SSID to 'xxxxxx'
uci set wireless.@wifi-iface[0].key='xxxxxxxxxxxx'               # Set the WiFi key to 'xxxxxxxxxxxxx'
uci set wireless.@wifi-iface[0].encryption='psk2'                # Set encryption to WPA2 PSK
uci set wireless.@wifi-iface[0].mode='sta'                       # Set the mode to station (client)
uci set wireless.@wifi-iface[0].network='wwan'                   # Bind the WiFi interface to the 'wwan' network

uci set network.wwan=interface                                   # Define 'wwan' as an interface
uci set network.wwa.proto=dhcp                                  # Set the 'wwan' interface to use DHCP

uci commit wireless                                              # Save the wireless configuration
uci commit network                                               # Save the network configuration
/etc/init.d/network restart                                      # Restart the network service to apply changes
wifi                                                             # Restart the WiFi to apply the new settings



uci set network.wwan.ipaddr='10.3.0.9' # Set the static IP address


uci set network.wwan.netmask='255.255.255.0' # Set the netmask


uci set network.wwan.gateway='10.3.0.1' # Adjust to your network's gateway


uci set network.wwan.dns='208.67.222.222 208.67.220.220' # Set DNS servers to OpenDNS


uci set network.wwan.broadcast='10.3.0.255' # Set the broadcast address


uci set network.wwa[Suspicious link removed]oto='static' # Set the interface to static protocol


uci commit network # Commit the network changes


/etc/init.d/network restart # Restart the network to apply changes


# Basic Pool Configuration
uci set cgminer.default.pool1url='stratum+tcp://stratum.braiins.com:3333'    # Set the URL for the first mining pool
uci set cgminer.default.pool1user='deusopus.worker100'                       # Set the username for the first mining pool
uci set cgminer.default.pool1pw='1234'                                       # Set the password for the first mining pool

# Avalon 821 Specific Settings
uci set cgminer.default.avalon_freq='600'                                    # Set frequency to 600 MHz, as recommended
uci set cgminer.default.avalon_voltage='6500'                                # Set voltage to 6500 mV, proceed with caution

# Power Mode Settings
uci set cgminer.default.power_mode='high'                                    # Set power mode to high for maximum output

# Fan and Temperature Settings
uci set cgminer.default.avalon_temp_target='70'                              # Target temperature set to 70°C
uci set cgminer.default.avalon_fan_speed='80'                                # Fan speed set to 80%

# API Settings for Local Monitoring
uci set cgminer.default.api_allow='W:127.0.0.1'                              # Allow local API access
uci set cgminer.default.api_listen='1'                                       # Enable API listening
uci set cgminer.default.api_port='4028'                                      # Set API port to 4028

# Other Settings
uci set cgminer.default.more_options='--avalon-freq=600,--avalon-voltage=8500,--avalon-fan=50-100,--avalon-temp-target=60,--avalon-auto-tune=1' # Additional command line options
uci set cgminer.default.ntp_enable='disable'                                 # Disable NTP time synchronization

# Save and apply changes
uci commit cgminer







jr. member
Activity: 57
Merit: 1
no i did not. i do not know where to find that information.
legendary
Activity: 3500
Merit: 6320
Crypto Swap Exchange
Did you make sure the firmware in the miner is the same as firmware you are now running on your controller?

One thing to keep in mind is that the miner firmware (.mcs file) version MUST match the OpenWrT software version. If I can find them I'll DM you for mailing address.

Do you remember the version you were running before?

What does it say in your log? Any errors or other information?

-Dave
jr. member
Activity: 57
Merit: 1
edit:

i got the image burned and flashed to the sd card and im able to access it over ethernet and adjust the settings but i don't i have it set right because my miners just sit there and idle and then power cycle and then go back to idle.... can somebody please walk me through this or show me a thread where this is done? thanks
jr. member
Activity: 57
Merit: 1
You use an imaging tool such as RasPi's own or Win32Diskimager to burn the img files onto the sd card. It creates the bootable disk image on the card and auto runs the LuCi interface to cgminer & everything else.

Its default address is 192.168.0.100 Initially, change is the IP address to what you want, either a static one or use DHCP and let your router figure it out. Save & apply. If you used DHCP look for what address the router assigned to it and go there. Enter your user info, save & apply again and you should be in business.

i get that part. but there are a lot of images to choose from and cgminer is a separate package that you have to install after you flash img file. right? is there a certain one that has cgminer included?

these are the openwrt images https://download.canaan-creative.com/avalon821/openwrt/

and then you have cgminer in the packages directory within the different release dates of openwrt...
legendary
Activity: 3822
Merit: 2703
Evil beware: We have waffles!
You use an imaging tool such as RasPi's own or Win32Diskimager to burn the img files onto the sd card. It creates the bootable disk image on the card and auto runs the LuCi interface to cgminer & everything else.

Its default address is 192.168.0.100 Initially, change is the IP address to what you want, either a static one or use DHCP and let your router figure it out. Save & apply. If you used DHCP look for what address the router assigned to it and go there. Enter your user info, save & apply again and you should be in business.
jr. member
Activity: 57
Merit: 1
Did you look here: https://download.canaan-creative.com/avalon821/openwrt/
It has the full firmware for the RPi which is what the avalon controller is.
Depending on what version of the controller it may be a Pi 1 or 2 or 3

But you should be able to flash a new SD card and be fine.

-Dave


so i flashed the sd card with this image https://download.canaan-creative.com/avalon821/openwrt/20191114/rpi3-modelb/

now what? sorry im a little slow

edit:
i found the packages and there is a cgminer in there but its not letting me upload it to the openwrt install on the raspberry pi because it says:

Quote
Collected errors:
 * pkg_hash_fetch_best_installation_candidate: Packages for cgminer found, but incompatible with the architectures configured
 * opkg_install_cmd: Cannot install package cgminer.
jr. member
Activity: 57
Merit: 1
A8xx 'custom firmware'Huh? SCREW THAT! $400!! Even more screw that! Sounds like a typical Telegram scam...
The Avalon A6xx-A9xx firmware/software already allows you to tweak a myriad of things using the Cgminer API and the More Options box.

I poked around the bookmarked links I have for the Avalon's firmware/software and it seems that Canaan has taken down their pages.
I still have my old 821's so let me find my backup images for them and I can mail you a sdcard with them. Free.

One thing to keep in mind is that the miner firmware (.mcs file) version MUST match the OpenWrT software version. If I can find them I'll DM you for mailing address.


right on dude
here's my email [email protected]
legendary
Activity: 3822
Merit: 2703
Evil beware: We have waffles!
That's ^^ one of the pages I was looking for! Now bookmarked.
From that page you can click on ../ to get to the firmware .mcs files. Keep clicking it to go higher up for their other miners.
The most recent version of the .mcs and OpenWrT.img files I have are March and April 2018.

edit: Link to my post for Avalon settings I've used
legendary
Activity: 3500
Merit: 6320
Crypto Swap Exchange
Did you look here: https://download.canaan-creative.com/avalon821/openwrt/
It has the full firmware for the RPi which is what the avalon controller is.
Depending on what version of the controller it may be a Pi 1 or 2 or 3

But you should be able to flash a new SD card and be fine.

-Dave
legendary
Activity: 3822
Merit: 2703
Evil beware: We have waffles!
A8xx 'custom firmware'Huh? SCREW THAT! $400!! Even more screw that! Sounds like a typical Telegram scam...
The Avalon A6xx-A9xx firmware/software already allows you to tweak a myriad of things using the Cgminer API and the More Options box.

I poked around the bookmarked links I have for the Avalon's firmware/software and it seems that Canaan has taken down their pages.
I still have my old 821's so let me find my backup images for them and I can mail you a sdcard with them. Free.

One thing to keep in mind is that the miner firmware (.mcs file) version MUST match the OpenWrT software version. If I can find them I'll DM you for mailing address.
jr. member
Activity: 57
Merit: 1
i accidentally broke my raspberry pi controller for my avalon miners trying to direct them to a different pool. now the disk is corrupt and i can't find cgminer anywhere anyway. can someone help please? any alternatives are welcome.

i might have an raspberry pi for the model 9

what model do you have.

i have four avalon 821s. there is a guy on telegram that has a firmware image that i can flash to a sd card but its like 400 bucks for his custom firmware. it seems like there should be a free solution somewhere.
legendary
Activity: 4256
Merit: 8551
'The right to privacy matters'
i accidentally broke my raspberry pi controller for my avalon miners trying to direct them to a different pool. now the disk is corrupt and i can't find cgminer anywhere anyway. can someone help please? any alternatives are welcome.

i might have an raspberry pi for the model 9

what model do you have.
jr. member
Activity: 57
Merit: 1
i accidentally broke my raspberry pi controller for my avalon miners trying to direct them to a different pool. now the disk is corrupt and i can't find cgminer anywhere anyway. can someone help please? any alternatives are welcome.

What about downloading official avalon firmware and updating?

https://www.canaan.io/supports/

that's for windows. the controllers i was running had openwrt on them and cgminer.
jr. member
Activity: 41
Merit: 5
i accidentally broke my raspberry pi controller for my avalon miners trying to direct them to a different pool. now the disk is corrupt and i can't find cgminer anywhere anyway. can someone help please? any alternatives are welcome.

What about downloading official avalon firmware and updating?

https://www.canaan.io/supports/
jr. member
Activity: 57
Merit: 1
i accidentally broke my raspberry pi controller for my avalon miners trying to direct them to a different pool. now the disk is corrupt and i can't find cgminer anywhere anyway. can someone help please? any alternatives are welcome.
Jump to: