Pages:
Author

Topic: Avalon ASIC users thread - page 45. (Read 438516 times)

sr. member
Activity: 472
Merit: 250
November 27, 2013, 05:56:58 PM
I wanted to get out one last good new avalon firmware before these devices become irrelevant due to rising difficulty:

http://ck.kolivas.org/apps/cgminer/avalon/20131118/

I finally tracked down the regression that was preventing the avalon from being reliable with the newer versions of cgminer and have built new firmware based on the latest cgminer 3.8.2 git checkout 390ac7062663c688b656cf0dc893163cd7a852b3

EDIT: I should say you will probably need to disable the keep settings box meaning you will have to set it up again from its defaults (i.e. with an ethernet cable to 192.168.0.100)

Thanks ck you rock as always!

I have to admit, I have been awestruck with your 20130821 and ran it on two 4-modules @ 335Mhz (avg 1 week uptime between cg restarts, only needed to hard powercyle one time!) and loaded it on 10 of 11 minis which fixed their "decrease hashrate to <5GH after 1-3 days issue" and have had great uptimes there also.

From your opinion, I know you say don't fix what ain't broken, but do you think there are any efficiency fixes in this latest release?
Yes of course, I don't write newer versions for nothing.

Well bummer.  I guess "if it ain't broke don't fix it" applies here.

I have my 4 module Avalons fixed at 335mhz.  And I was seeing almost a week uptime on cgminer average previously between restarts.  My minis are all stock 375mhz.  

Since loading the new firmware 20131118 a couple of the boxes restart cgminer now in less than 4 hours.  Others have restarted cg within a day or two.  (same settings, always copy/paste everything back same as before as I uncheck "keep settings")

The ones that are misbehaving badly I am reverting back to 20130821.  Hopefully the cgminer uptime goes back to what I saw previously.
hero member
Activity: 630
Merit: 501
November 27, 2013, 01:50:31 PM
Thx Ben. did u notice any peculiarity to make u delete, or just following advice ?
I deleted the LAN because it was causing issues. Don't remember what issues tho, *grins*
After setting up the wifi and checked that it worked, I just deleted the lan on the network tab.


What happens is something happens to the Wifi and you can't get back in? Smiley

I set my LAN to be a different network than my Wifi, this way I can plug into the LAN with my Lappy if something goes wrong, but I haven't had to so far.
sr. member
Activity: 294
Merit: 250
November 27, 2013, 09:26:19 AM
root@OpenWrt:~# uptime
 11:28:30 up 78 days, 17:59,  load average: 0.09, 0.14, 0.14
 Smiley Smiley Smiley

And cgminer?
SmileySmileySmileySmiley
legendary
Activity: 1988
Merit: 1012
Beyond Imagination
November 27, 2013, 06:29:31 AM
root@OpenWrt:~# uptime
 11:28:30 up 78 days, 17:59,  load average: 0.09, 0.14, 0.14
 Smiley Smiley Smiley
legendary
Activity: 1112
Merit: 1000
November 27, 2013, 06:24:14 AM
I deleted the LAN because it was causing issues. Don't remember what issues tho, *grins*
After setting up the wifi and checked that it worked, I just deleted the lan on the network tab.

I had flaky TP-LINK board too where the ethernet did not work reliable but the wifi worked just fine

I ended up replacing the board, as I prefer wired networks
full member
Activity: 175
Merit: 100
November 27, 2013, 05:51:24 AM
Catastrophic usb communication failure will make the operating system reset the device and put it on another usb minor number. When this happens, cgminer will hotplug it as a new device - i.e. AVA1 and AVA0 will remain as a zombie device. The web GUI and Avalon operating system environment is not smart enough and may not know that it's still mining at a new location and would just kill off the cgminer whereas mining via USB you'll see that in all its glory.

Would this explain this...

Code:
Wed Nov 27 13:48:01 2013 cron.info crond[551]: crond: USER root pid 16293 cmd /usr/bin/cgminer-monitor
Wed Nov 27 13:50:01 2013 cron.info crond[551]: crond: USER root pid 16302 cmd /usr/bin/cgminer-monitor
Wed Nov 27 13:50:28 2013 kern.info kernel: [59485.070000] usb 1-1: USB disconnect, device number 10
Wed Nov 27 13:50:28 2013 kern.info kernel: [59485.080000] usb 1-1.1: USB disconnect, device number 11
Wed Nov 27 13:50:29 2013 kern.info kernel: [59485.380000] usb 1-1: new high-speed USB device number 12 using ehci-platform
Wed Nov 27 13:50:29 2013 kern.info kernel: [59485.540000] hub 1-1:1.0: USB hub found
Wed Nov 27 13:50:29 2013 kern.info kernel: [59485.540000] hub 1-1:1.0: 2 ports detected
Wed Nov 27 13:50:29 2013 kern.info kernel: [59485.820000] usb 1-1.1: new full-speed USB device number 13 using ehci-platform
Wed Nov 27 13:52:01 2013 cron.info crond[551]: crond: USER root pid 16329 cmd /usr/bin/cgminer-monitor
Wed Nov 27 13:54:01 2013 cron.info crond[551]: crond: USER root pid 16340 cmd /usr/bin/cgminer-monitor

Every couple of hours I see the usb reset like this on the TPlink.. is this purely from the tplink??, if so I'll just replace it with a PI, or this more to do with the unit's themselves (i'm running a 4 unit , unsure of batch)

I have a batch 3 that will give this error every time it's bumped, as long as it's not disturbed it seems to work.    Roll Eyes  Undecided
It would be interesting to see if replacing the router with the rpi will fix it or if the controller is flaky. I would bet on controller issues.
I would suggest using a new usb cable also. You don't need a power supply for the rpi, it will draw power via the usb cable from the controller.
hero member
Activity: 826
Merit: 1001
November 27, 2013, 05:45:37 AM
Thx Ben. did u notice any peculiarity to make u delete, or just following advice ?
I deleted the LAN because it was causing issues. Don't remember what issues tho, *grins*
After setting up the wifi and checked that it worked, I just deleted the lan on the network tab.
legendary
Activity: 1848
Merit: 1001
November 27, 2013, 05:31:09 AM
Thx Ben. did u notice any peculiarity to make u delete, or just following advice ?
full member
Activity: 175
Merit: 100
November 27, 2013, 05:30:32 AM

Thanks. That's what I figured. I looked at the modules to see if I could see a failed capacitor, but I was unable to find any noticeable signs of failure.

I assume that the numbers on the top correspond with the numbers of modules. So I figured the problem was at P14. I don't know how accurate that is. If that is the case, here's an album of that section. Maybe someone else can pick out an anomaly. I also took off that metal plate and looked to see if I could spot a burnt up ASIC chip.

EDIT: Also, sometimes [match_work_count14] => 0 will not be zero, implying that maybe it works sometimes. But the number is always magnitudes lower than the others.

Finally, it's been running for a couple days now on --avalon-auto without problem. So I haven't seen the red LED or any shutdowns.

I didn't notice any burnt caps in your photos either. It must be some other component with an intermittent problem.
I wouldn't worry about it for now as long as it keeps running. It wouldn't be worth the down-time to find the problem at this point in time.
hero member
Activity: 826
Merit: 1001
November 27, 2013, 05:13:55 AM
has everyone deleted either lan or wifi connection?

i see mine are both running at the same time

I (software config)deleted the lan on my Avalon B2. Running via wifi for months without problems.
legendary
Activity: 1848
Merit: 1001
November 27, 2013, 05:11:23 AM
has everyone deleted either lan or wifi connection?

i see mine are both running at the same time
sr. member
Activity: 440
Merit: 250
November 26, 2013, 11:47:54 PM
I plan on buying some ZWave appliance modules and a VeraLite for my office when I get moved. I've going to put each Avalon on one of these devices so when I see one of them slow down on my phone app (BTCGuild) I can power cycle the piece of crap.
newbie
Activity: 19
Merit: 0
November 26, 2013, 10:59:35 PM
Catastrophic usb communication failure will make the operating system reset the device and put it on another usb minor number. When this happens, cgminer will hotplug it as a new device - i.e. AVA1 and AVA0 will remain as a zombie device. The web GUI and Avalon operating system environment is not smart enough and may not know that it's still mining at a new location and would just kill off the cgminer whereas mining via USB you'll see that in all its glory.

Would this explain this...

Code:
Wed Nov 27 13:48:01 2013 cron.info crond[551]: crond: USER root pid 16293 cmd /usr/bin/cgminer-monitor
Wed Nov 27 13:50:01 2013 cron.info crond[551]: crond: USER root pid 16302 cmd /usr/bin/cgminer-monitor
Wed Nov 27 13:50:28 2013 kern.info kernel: [59485.070000] usb 1-1: USB disconnect, device number 10
Wed Nov 27 13:50:28 2013 kern.info kernel: [59485.080000] usb 1-1.1: USB disconnect, device number 11
Wed Nov 27 13:50:29 2013 kern.info kernel: [59485.380000] usb 1-1: new high-speed USB device number 12 using ehci-platform
Wed Nov 27 13:50:29 2013 kern.info kernel: [59485.540000] hub 1-1:1.0: USB hub found
Wed Nov 27 13:50:29 2013 kern.info kernel: [59485.540000] hub 1-1:1.0: 2 ports detected
Wed Nov 27 13:50:29 2013 kern.info kernel: [59485.820000] usb 1-1.1: new full-speed USB device number 13 using ehci-platform
Wed Nov 27 13:52:01 2013 cron.info crond[551]: crond: USER root pid 16329 cmd /usr/bin/cgminer-monitor
Wed Nov 27 13:54:01 2013 cron.info crond[551]: crond: USER root pid 16340 cmd /usr/bin/cgminer-monitor

Every couple of hours I see the usb reset like this on the TPlink.. is this purely from the tplink??, if so I'll just replace it with a PI, or this more to do with the unit's themselves (i'm running a 4 unit , unsure of batch)
hero member
Activity: 630
Merit: 501
November 26, 2013, 01:27:13 PM
How do i SHUTDOWN avalon?
Restarting is not enough as I need to shutdown machine, and I need to do it remotely.
I can access it via SSH, but cant find any command there? Help?

thanks,
w

Buy yourself a web power bar like a PDU, but we have these ones our boss buys from China or somewhere that are rectangle with 6 power plugs and a 10BaseT connection to for managing it. I will see if I can get the name from him and update this post. I think they are also cheaper than getting a PDU. We use them at work when we have to reboot a clients internet modem.
legendary
Activity: 1112
Merit: 1000
November 26, 2013, 10:16:35 AM
How do i SHUTDOWN avalon?
Restarting is not enough as I need to shutdown machine, and I need to do it remotely.
I can access it via SSH, but cant find any command there? Help?


Code:
root@avalon:~# halt -help
halt: invalid option -- h
BusyBox v1.19.4 (2013-06-24 16:29:49 EST) multi-call binary.

Usage: halt [-d DELAY] [-n] [-f]

Halt the system

-d SEC Delay interval
-n Do not sync
-f Force (don't go through init)


There is no option in the web interface. As most of the OS is read only, you can just have it unplugged, no need to shut it down

You can't have it switch off with halt -p if that is what you are after.

By the way, before shutting down the machine, don't forget to stop the cgminer process as the machine will keep consuming as much power as if it's busy, so make it idle first so it drops to low power consumption

(weird behaviour, the fans stay on full blast, yellow LED stopped blinking but was solid yellow and the power meter still indicated full power consumption, but at least the TP-LINK TL-WR703N stopped responding)
member
Activity: 84
Merit: 10
November 26, 2013, 09:25:44 AM
How do i SHUTDOWN avalon?
Restarting is not enough as I need to shutdown machine, and I need to do it remotely.
I can access it via SSH, but cant find any command there? Help?

thanks,
w
newbie
Activity: 18
Merit: 0
November 25, 2013, 11:58:28 PM
Hard reset is to the tplink reset settings, not the avalon.

Resetting involves powering it off and on and waiting till the blue light (at the back inside next to the network connector) starts flashing, then pushing in the tiny reset button next to the connector which will make it flash much faster. After that it's ready to connect to at 192.168.1.1. Set your laptop to 192.168.1.2 and plug the ethernet cable into it.

Then do the following:
ssh 192.168.1.1 -l root
mount_root
mtd -r erase rootfs_data

After it reboots it should be back in failsafe settings and you can log in via ethernet again on 192.168.0.100 and flash it with a good firmware.

The first step should be telnet not ssh since only telnet is enabled initially
Code:
telnet 192.168.1.1 -l root
mount_root
mtd -r erase rootfs_data


My god man! Your are awesome!  Used your Telnet instructions and then set up for home network and I am hashing! Will send you BTC tomorrow (Pacific Time).  Thank you!
sr. member
Activity: 440
Merit: 250
November 25, 2013, 09:44:18 PM
So I'm curious about something.

Those of you that have Avalon's connected to a host PC, do they still lock up and hang for no reason or is that issue gone? I had another one go offline about an hour ago. When I got to the site that I have them working at the locked up miner's LED's were both on (yellow-solid and green-solid). The miner was also very hot as though it was still mining.

Power cycle fixed it.
legendary
Activity: 1246
Merit: 1002
November 25, 2013, 09:39:10 PM
Can I set up pool quotas on an Avalon?

sr. member
Activity: 440
Merit: 250
November 25, 2013, 07:29:38 PM


Isnt the default IP for the Avalon 192.168.0.100?

You might be logging into something else on your network.

The Avalon default IP address is 192.168.0.100
The OpenWRT failsafe address is 192.168.1.1

You will have to pay attention to your laptop's address and also netmask during this process.


Didnt know the router has its own failsafe address. Good information.
Pages:
Jump to: