rudrigorc2
Legendary
Offline
Activity: 1064
Merit: 1000
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
May 20, 2013, 01:50:35 AM Last edit: May 20, 2013, 10:01:06 AM by rudrigorc2 |
|
When you reset, somehow, it should go back to default, which is, accordinly to the avalon user guide: 192.168.0.100 Well that worked..almost. I could enter failsafe-mode. Here's the instruction: -- To get into failsafe mode, power up the device and wait until the LED starts flashing (about 2Hz). Once it starts flashing (within about 4 seconds) then quickly press the button. The LED will then flash much faster and the device will be in failsafe mode. -- Failsafe IP is 192.168.1.1. I could telnet to the router. I checked root@(none):/# cat /etc/config/network config 'interface' 'loopback' option 'ifname' 'lo' option 'proto' 'static' option 'ipaddr' '127.0.0.1' option 'netmask' '255.0.0.0' config 'interface' 'lan' option 'ifname' 'eth0' option 'type' 'bridge' option 'proto' 'static' option 'netmask' '255.255.255.0' option 'ipaddr' '192.168.0.100' option 'gateway' '192.168.0.1' option 'dns' '8.8.8.8' Everything seems fine. Anyway, after rebooting I'm not able to ping or ssh 192.168.0.100. Edit: Fixed it! After making the filesystem writeable with "mount_root" /etc/config/network looked differently: config interface 'lan' option ifname 'eth0' option type 'bridge' option proto 'static' option ipaddr '192.168.0.100' option dns '8.8.8.8' option gateway '192.168.0.101' option netmask '0.0.0.0'Changed it. Reboot. Problem solved. (And back to my original problem. Will probably talk about that later..) Thanks for your great and fast help! After entering failsafe mode you also reset to default settings. Im using the latest 703n image(cgminer2.10.4) and now I have backup router again
|
|
|
|
anti76
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
May 20, 2013, 07:15:03 AM |
|
xiangfu please answer data the delivery order 200000846
Thanks in advance for your cooperation.
|
|
|
|
AvenG
Full Member
![*](https://bitcointalk.org/Themes/custom1/images/star.gif) ![*](https://bitcointalk.org/Themes/custom1/images/star.gif)
Offline
Activity: 133
Merit: 101
Res Et Non Verbum
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
May 21, 2013, 01:22:59 AM |
|
too little, but having an address where to send some tips would help as well, I mean, if each Avalon user sends 1 BTC per owned Avalon 100 BTCs are easily collected!
yeah, that's would be a good idea. Also displaying that donate button on a page showing credit info about the developers of this great work..
|
not for sale
|
|
|
xbaby
Newbie
Offline
Activity: 16
Merit: 0
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
May 24, 2013, 12:20:25 PM |
|
My avalon unit has the exactly same issue as yours. I'd like to ask if the test firmware posted by xiangfu related to this issue? I am using firmware 20130419. Unfortunately, I don't recall the previous firmware version I was using.
Prior to the upgrade on May 5, the Avalon unit ran without any problems.
However, after the upgrade, the miner has stopped hashing twice, and the only way to recover is with a cold reset. Is this a know issue?
Cheers!
|
|
|
|
|
Sakdrissi
Newbie
Offline
Activity: 17
Merit: 0
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
May 24, 2013, 08:39:48 PM |
|
My avalon unit has the exactly same issue as yours. I'd like to ask if the test firmware posted by xiangfu related to this issue? I am using firmware 20130419. Unfortunately, I don't recall the previous firmware version I was using.
Prior to the upgrade on May 5, the Avalon unit ran without any problems.
However, after the upgrade, the miner has stopped hashing twice, and the only way to recover is with a cold reset. Is this a know issue?
Cheers!
Are you guys running the avalon over wifi or ethernet? I had similar problems with a bad wifi connection: stopped hashing, no access over wifi. I came across the solution when I tried -and could - connect over ethernet and noticed a pretty bad signal/noise ratio. An interruption of the wifi connection can confuse cgminer completely. Installing a repeater solved this issue for me and I have a Opetwrt/cgminer uptime of more than 7 days now.
|
|
|
|
|
|
-ck
Legendary
Offline
Activity: 4200
Merit: 1644
Ruu \o/
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
May 26, 2013, 07:29:55 AM |
|
Mad props and huge thanks to Sitarow who has given me uninterrupted remote access to an avalon this past week, including the ability to power cycle one ![Grin](https://bitcointalk.org/Smileys/default/grin.gif) . This has allowed me to write a major overhaul of the avalon code which should make it into the next cgminer release.
|
Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel 2% Fee Solo mining at solo.ckpool.org -ck
|
|
|
Sitarow
Legendary
Offline
Activity: 1792
Merit: 1047
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
May 26, 2013, 11:54:07 AM |
|
Mad props and huge thanks to Sitarow who has given me uninterrupted remote access to an avalon this past week, including the ability to power cycle one ![Grin](https://bitcointalk.org/Smileys/default/grin.gif) . This has allowed me to write a major overhaul of the avalon code which should make it into the next cgminer release. Thank you. The time and effort made by people like kano and yourself on getting cgminer and other similar miners refined is very much appreciated. This holds true even by those that may not directly participate in mining. However new "miners" should not forget efforts spent to refine projects like cgminer will further decentralize ASIC hardware access and promote other DIY projects down the road.
|
|
|
|
ImI
Legendary
Offline
Activity: 1946
Merit: 1019
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
May 26, 2013, 10:54:29 PM |
|
Hi there,
i was wondering how i can connect remotely to the rig? Usually i do this with Teamviewer, but i guess thats not an option with the Avalons.
So how to remote control the rig?
ImI
|
|
|
|
SolarSilver
Legendary
Offline
Activity: 1112
Merit: 1000
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
May 26, 2013, 11:03:32 PM |
|
i was wondering how i can connect remotely to the rig? Usually i do this with Teamviewer, but i guess thats not an option with the Avalons.
So how to remote control the rig?
As the TP-LINK TL-WR703N runs an embedded version of Linux, you connect to it (command line) with SSH as root. Or you use a web browser to log into the web interface.
|
|
|
|
ImI
Legendary
Offline
Activity: 1946
Merit: 1019
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
May 26, 2013, 11:56:18 PM |
|
OK, thx. Seems to be not a big issue then.
|
|
|
|
-ck
Legendary
Offline
Activity: 4200
Merit: 1644
Ruu \o/
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
May 27, 2013, 12:09:05 PM |
|
So I have completed 3 major rewrites of the avalon driver code to improve it. One was playground for testing things out and never really built, but I'm left with two different rewrites, and a question for existing users.
The first is a complete rewrite of the read/write mechanism using the existing serial usb driver (ftdi) which should be much more robust at staying in sync with results coming in from the device, as well as more accurately picking when the device is misbehaving and hopefully be more reliable at resetting it. This code is currently in a git branch called avalon-serialdev .
The second is an even more complete rewrite, built on the avalon-serialdev one with direct USB bypassing the ftdi driver entirely. The avalon does some weird and (not so) wonderful things to emulate running serial at 115200 baud, and the ftdi chip has some serious limitations I never would have known about had I not started poking around (for instance, the driver reads from the device every 1 millisecond because the buffer is so small it easily overflows). The modified code is more efficient and uses a lot less OS-kernel time but the demonstrable CPU usage of cgminer itself looks the same. This code works reliably and solidly... on a linux PC. This code is currently in a git branch called avalon-usbdev .
Now this is where it gets tricky. The direct USB code does not really work at all on the MIPS router that is built into the Avalon device itself. I'm not really sure if it's a libusb limitation, a different implementation or what, but it just does not work, and what does work appears extraordinarily slow. Only installing usbmon onto the device will tell me for sure, and that's not as trivial as I wish it were. We'll see how much time I get in the future to investigate this and whether it's even worth doing or not.
So down to my questions. How many avalon users here wish to be running them via a PC instead of as the standalone device it is? I suspect precious few. How many of you even want to be building your own binaries versus the number downloading the latest firmware? It would be possible to release a new version of cgminer that has both drivers but that will become a maintenance burden long term - and without having an avalon myself, it could end up going to bitrot. I've already made massive improvements to the serial usb based code and would be happy to push that alone into the next cgminer version and Xiangfu should be able to make you all new firmware with it.
I should add the Avalon team have made it clear they will not be providing me with a free Avalon outright to further development. Talks continue on that front...
|
Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel 2% Fee Solo mining at solo.ckpool.org -ck
|
|
|
optimator
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
May 27, 2013, 03:29:03 PM |
|
So down to my questions. How many avalon users here wish to be running them via a PC instead of as the standalone device it is? I suspect precious few. How many of you even want to be building your own binaries versus the number downloading the latest firmware? It would be possible to release a new version of cgminer that has both drivers but that will become a maintenance burden long term - and without having an avalon myself, it could end up going to bitrot. I've already made massive improvements to the serial usb based code and would be happy to push that alone into the next cgminer version and Xiangfu should be able to make you all new firmware with it.
My first request would be for the Avalon team to get you a unit! The amount of work you, kano, and I don't know who else, have put into developing the cgminer code for the Avalon is simply amazing. Thanks! I'm planning on using the built in TP-LINK WR703N. It's trivial to flash the unit with new a new .bin file. I'd rethink my plan if there was a substancial performance boost, but it doesn't seem that would be the case. All that being said, if / when the TP-Link eats it, I'll probably replace it with whatever I have laying around. It's not that I'm opposed to building my own binaries, just don't see the benefit for the time spent on it.
|
|
|
|
ProfMac
Legendary
Offline
Activity: 1246
Merit: 1002
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
May 27, 2013, 03:45:52 PM |
|
So I have completed 3 major rewrites of the avalon driver code to improve it. One was playground for testing things out and never really built, but I'm left with two different rewrites, and a question for existing users.
The first is a complete rewrite of the read/write mechanism using the existing serial usb driver (ftdi) which should be much more robust at staying in sync with results coming in from the device, as well as more accurately picking when the device is misbehaving and hopefully be more reliable at resetting it. This code is currently in a git branch called avalon-serialdev .
The second is an even more complete rewrite, built on the avalon-serialdev one with direct USB bypassing the ftdi driver entirely. The avalon does some weird and (not so) wonderful things to emulate running serial at 115200 baud, and the ftdi chip has some serious limitations I never would have known about had I not started poking around (for instance, the driver reads from the device every 1 millisecond because the buffer is so small it easily overflows). The modified code is more efficient and uses a lot less OS-kernel time but the demonstrable CPU usage of cgminer itself looks the same. This code works reliably and solidly... on a linux PC. This code is currently in a git branch called avalon-usbdev .
Now this is where it gets tricky. The direct USB code does not really work at all on the MIPS router that is built into the Avalon device itself. I'm not really sure if it's a libusb limitation, a different implementation or what, but it just does not work, and what does work appears extraordinarily slow. Only installing usbmon onto the device will tell me for sure, and that's not as trivial as I wish it were. We'll see how much time I get in the future to investigate this and whether it's even worth doing or not.
So down to my questions. How many avalon users here wish to be running them via a PC instead of as the standalone device it is? I suspect precious few. How many of you even want to be building your own binaries versus the number downloading the latest firmware? It would be possible to release a new version of cgminer that has both drivers but that will become a maintenance burden long term - and without having an avalon myself, it could end up going to bitrot. I've already made massive improvements to the serial usb based code and would be happy to push that alone into the next cgminer version and Xiangfu should be able to make you all new firmware with it.
I should add the Avalon team have made it clear they will not be providing me with a free Avalon outright to further development. Talks continue on that front...
Will SSH access to a retail TP-Link 703n, or even a (to be delivered Real Soon Now) Avalon help you?
|
I try to be respectful and informed.
|
|
|
spiccioli
Legendary
Offline
Activity: 1378
Merit: 1003
nec sine labore
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
May 27, 2013, 07:10:20 PM |
|
So I have completed 3 major rewrites of the avalon driver code to improve it. One was playground for testing things out and never really built, but I'm left with two different rewrites, and a question for existing users.
The first is a complete rewrite of the read/write mechanism using the existing serial usb driver (ftdi) which should be much more robust at staying in sync with results coming in from the device, as well as more accurately picking when the device is misbehaving and hopefully be more reliable at resetting it. This code is currently in a git branch called avalon-serialdev .
Will SSH access to a retail TP-Link 703n, or even a (to be delivered Real Soon Now) Avalon help you? Hi ckolivas, is new code and/or are new avalons able to fully restart the control unit (FPGA)? I'm asking because this would be the real advantage, if not I'd go with the new serial code since a stuck avalon would need a full restart anyway. spiccioli
|
|
|
|
-ck
Legendary
Offline
Activity: 4200
Merit: 1644
Ruu \o/
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
May 27, 2013, 09:36:45 PM |
|
So I have completed 3 major rewrites of the avalon driver code to improve it. One was playground for testing things out and never really built, but I'm left with two different rewrites, and a question for existing users.
The first is a complete rewrite of the read/write mechanism using the existing serial usb driver (ftdi) which should be much more robust at staying in sync with results coming in from the device, as well as more accurately picking when the device is misbehaving and hopefully be more reliable at resetting it. This code is currently in a git branch called avalon-serialdev .
Will SSH access to a retail TP-Link 703n, or even a (to be delivered Real Soon Now) Avalon help you? Hi ckolivas, is new code and/or are new avalons able to fully restart the control unit (FPGA)? I'm asking because this would be the real advantage, if not I'd go with the new serial code since a stuck avalon would need a full restart anyway. spiccioli The previous code used the fpga reset command but at some stage the fpga stopped responding to that command. It's hard to know if that was because it reached a point where it needed to be power cycled or the old code was not able to send the command in sync at the right time ever again. I'm hoping that with the new code it will avoid the latter situation but will be unable to do anything about the former. So the answer is: I'm not sure.
|
Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel 2% Fee Solo mining at solo.ckpool.org -ck
|
|
|
cypherdoc
Legendary
Offline
Activity: 1764
Merit: 1002
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
May 27, 2013, 09:58:22 PM |
|
i was wondering how i can connect remotely to the rig? Usually i do this with Teamviewer, but i guess thats not an option with the Avalons.
So how to remote control the rig?
As the TP-LINK TL-WR703N runs an embedded version of Linux, you connect to it (command line) with SSH as root. Or you use a web browser to log into the web interface. how would you get to it if you're solo mining from a data center?
|
|
|
|
-ck
Legendary
Offline
Activity: 4200
Merit: 1644
Ruu \o/
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
May 27, 2013, 10:31:08 PM |
|
Will SSH access to a retail TP-Link 703n, or even a (to be delivered Real Soon Now) Avalon help you?
Specifically what I need is an equivalent mips router like the 703n with a kernel that has usbmon support built into it that is attached to a real Avalon via USB so I can monitor the communications that way.
|
Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel 2% Fee Solo mining at solo.ckpool.org -ck
|
|
|
|