Bitcoin Forum

Bitcoin => Mining support => Topic started by: 29r on October 04, 2017, 02:07:43 PM



Title: Help with Avalon 741 cgminer "No devices detected"
Post by: 29r on October 04, 2017, 02:07:43 PM
I have one A741 connected to a controller, which is connected via Ethernet to the router. I have confirmed connectivity with mining pools like nicehash (can see our worker listed through the Nicehash dashboard) but the miner is not hashing.

Here is what I've tried to troubleshoot this issue:

Replaced PSU
Replaced AUC3 cable
Replaced miner
Replaced controller
Replaced AUC3 dongle
Replaced ethernet cable
Replaced USB cable connected to controller
Tried 0.3A and 2.0A wall plug for controller
Replaced 4 pin cables
Tried different pools (can successfully see our worker through the pool admin panel but no hash rate)
Used both DHCP and static IP address for the controller

I am still unable to see the miners through the cgminer status page. When I run cgminer through the SSH interface to the Raspberry Pi, I get the message:

No devices detected!
Waiting for USB hotplug devices or press q to quit

I am attaching screenshots of the cgminer config and status screens and the output of the cgminer start command. I have the with the system, kernel, and cgminer api logs if needed.

CGMiner config: https://i.imgur.com/I5j1dlc.png
CGMiner status: https://i.imgur.com/46LNlg2.png
CGMiner CLI: https://i.imgur.com/r08OOQm.png

Hoping someone that's faced a similar issue has a suggestion of what to try next.




Title: Re: Help with Avalon 741 cgminer "No devices detected"
Post by: wavelengthsf on October 04, 2017, 02:55:17 PM
Post a picture of the power supply and the back of the miner (where the power supply PCIe connects to it) - are the lights on the back of the miner on?

Is the power supply the right voltage? Are the pci-e cables the right wiring? (if you hold the cables the same way, are all the wires the same color)?


Title: Re: Help with Avalon 741 cgminer "No devices detected"
Post by: philipma1957 on October 04, 2017, 02:58:30 PM
I have one A741 connected to a controller, which is connected via Ethernet to the router. I have confirmed connectivity with mining pools like nicehash (can see our worker listed through the Nicehash dashboard) but the miner is not hashing.

Here is what I've tried to troubleshoot this issue:

Replaced AUC3 cable
Replaced miner
Replaced controller
Replaced AUC3 dongle
Replaced ethernet cable
Replaced USB cable connected to controller
Tried 0.3A and 2.0A wall plug for controller
Replaced 4 pin cables
Tried different pools (can successfully see our worker through the pool admin panel but no hash rate)
Used both DHCP and static IP address for the controller

I am still unable to see the miners through the cgminer status page. When I run cgminer through the SSH interface to the Raspberry Pi, I get the message:

No devices detected!
Waiting for USB hotplug devices or press q to quit

I am attaching screenshots of the cgminer config and status screens and the output of the cgminer start command. I have the with the system, kernel, and cgminer api logs if needed.

CGMiner config: https://i.imgur.com/I5j1dlc.png
CGMiner status: https://i.imgur.com/46LNlg2.png
CGMiner CLI: https://i.imgur.com/r08OOQm.png

Hoping someone that's faced a similar issue has a suggestion of what to try next.




do you have any working avalon's?


Title: Re: Help with Avalon 741 cgminer "No devices detected"
Post by: 29r on October 04, 2017, 03:34:10 PM
Post a picture of the power supply and the back of the miner (where the power supply PCIe connects to it) - are the lights on the back of the miner on?

Is the power supply the right voltage? Are the pci-e cables the right wiring? (if you hold the cables the same way, are all the wires the same color)?

I will get a picture up when I get back soon. The light on the miner is green. The light on the AUC3/USB dongle is also green. The PSU and cables came with the unit direct from Canaan. Will confirm about the wiring.

do you have any working avalon's?

I've tested three miners, all with separate PSUs but none are visible through the controller's cgminer status page so if we have a problem with the miner/PSU it's common to all three.


Title: Re: Help with Avalon 741 cgminer "No devices detected"
Post by: wavelengthsf on October 04, 2017, 03:39:00 PM

I will get a picture up when I get back soon. The light on the miner is green. The light on the AUC3/USB dongle is also green. The PSU and cables came with the unit direct from Canaan. Will confirm about the wiring.


What country are you in? Are you running 220v? (The canaan power supplies only run on 220).

How is power getting to the PSU - through an outlet, a PDU, etc? What's the power outlet look like?


Title: Re: Help with Avalon 741 cgminer "No devices detected"
Post by: 29r on October 04, 2017, 03:44:58 PM

I will get a picture up when I get back soon. The light on the miner is green. The light on the AUC3/USB dongle is also green. The PSU and cables came with the unit direct from Canaan. Will confirm about the wiring.


What country are you in? Are you running 220v? (The canaan power supplies only run on 220).

How is power getting to the PSU - through an outlet, a PDU, etc? What's the power outlet look like?

In the US. PSU is plugged into a regular socket at that has 220v going to it through a GFI. Will post a picture when I get back.

Edit: From a software perspective, what else could I troubleshoot? I can see my worker on the nicehash dashboard, which leaves me to believe pool/internet connectivity is okay. One question I was unable to find a clear answer on is whether cgminer may need ports forwarded on the router but I don't think it does as the communication with the pool is outbound only. I haven't changed any other configuration on the Raspberry Pi unit as I anticipated it would work out the box but if anyone has had similar issues that were resolved by change to the software configuration, I'd like to hear what you did.

Thanks for your thoughtful replies. Will get those pictures up asap.


Title: Re: Help with Avalon 741 cgminer "No devices detected"
Post by: fanatic26 on October 04, 2017, 04:13:40 PM
Whats interesting is you say the AUC has a green light. This green light denotes connectivity yet when you look at your status page, the AUC itself isnt even registering.

Before you mess with the miner, try to get the AUC dongle read by the controller. Thats the first step before even messing with the Avalon unit itself.

The red circle below is where the AUC's should show up.

https://i.imgur.com/ok8vBuu.png


Title: Re: Help with Avalon 741 cgminer "No devices detected"
Post by: 29r on October 04, 2017, 04:31:17 PM
Whats interesting is you say the AUC has a green light. This green light denotes connectivity yet when you look at your status page, the AUC itself isnt even registering.

Before you mess with the miner, try to get the AUC dongle read by the controller. Thats the first step before even messing with the Avalon unit itself.
Thanks. So if the dongle is connected but no miners are plugged in, I should expect to see the ASC* device listed under Avalon Devices. This helps me narrow down where the failure is. Will try a third USB cable and a third AUC3 dongle and report back.

Here are some pictures a friend took of the miner in question while hooked up:

https://imgur.com/a/d5SXz


Title: Re: Help with Avalon 741 cgminer "No devices detected"
Post by: 29r on October 05, 2017, 04:03:07 AM
Post a picture of the power supply and the back of the miner (where the power supply PCIe connects to it) - are the lights on the back of the miner on?

Is the power supply the right voltage? Are the pci-e cables the right wiring? (if you hold the cables the same way, are all the wires the same color)?

PSU: https://i.imgur.com/OeuyFTP.jpg
https://i.imgur.com/6zYuEAi.jpg

Power supply at 220v: https://i.imgur.com/Jm7LD2Y.png

Back of the miner/PCI-E cables: https://i.imgur.com/faQkevd.jpg
https://i.imgur.com/oeV1Qpb.jpg



Title: Re: Help with Avalon 741 cgminer "No devices detected"
Post by: Rabinovitch on October 05, 2017, 05:03:55 AM

Replaced 4 pin cables


You need 5pin cable for Avalon 7xx. Please take a picture of your AUC dondgle while it is connected and everything is powered up.


Title: Re: Help with Avalon 741 cgminer "No devices detected"
Post by: 29r on October 05, 2017, 01:54:05 PM

Replaced 4 pin cables


You need 5pin cable for Avalon 7xx. Please take a picture of your AUC dondgle while it is connected and everything is powered up.

Here's the whole setup https://i.imgur.com/h0MvnsD.jpg

Here's a close up of the converter https://i.imgur.com/jgn4kwX.jpg

Here's the light that's turned on on the converter:

https://i.imgur.com/RA8fmWb.jpg

https://i.imgur.com/xTsG8jA.jpg

I was referring to the power cables when I called them 4 pin, which is the wrong name for them anyway lol



Title: Re: Help with Avalon 741 cgminer "No devices detected"
Post by: wavelengthsf on October 05, 2017, 02:35:03 PM

Power supply at 220v: https://i.imgur.com/Jm7LD2Y.png


It really seems like its a power problem to me - can you get a tester to make sure you're getting 220 from those?  Alternatively, you could try with a switching PSU and see what happens. 


Title: Re: Help with Avalon 741 cgminer "No devices detected"
Post by: 29r on October 05, 2017, 02:41:11 PM

Power supply at 220v: https://i.imgur.com/Jm7LD2Y.png


It really seems like its a power problem to me - can you get a tester to make sure you're getting 220 from those?  Alternatively, you could try with a switching PSU and see what happens.  

Thanks, will confirm it's 220v.

Should the AUC3 converter show up in the cgminer status regardless of whether a connected miner has enough power? Or are you saying it's a power issue for the converter that's causing it to not show up in the cgminer status?

Edit: tried two other PSUs and I have just updated the OP to include that


Title: Re: Help with Avalon 741 cgminer "No devices detected"
Post by: wavelengthsf on October 05, 2017, 03:06:06 PM

Thanks, will confirm it's 220v.

Should the AUC3 converter show up in the cgminer status regardless of whether a connected miner has enough power? Or are you saying it's a power issue for the converter that's causing it to not show up in the cgminer status?

Edit: tried two other PSUs and I have just updated the OP to include that

Were the other PSUs also Canaan sorcerers?

How are you powering the Pi?

I'm thinking the power issue is the miner not starting. I've never had the AUC itself show up (without the miner), but I only have 5 of these so not a huge amount of testing with it.


Title: Re: Help with Avalon 741 cgminer "No devices detected"
Post by: 29r on October 05, 2017, 05:50:26 PM
Were the other PSUs also Canaan sorcerers?

Yes, they were all the same unit Canaan ships with the Avalon 741

How are you powering the Pi?

USB cable with a 3.0 amp plug (also tried 0.3 A -- too low, and 1.5 A.) I have ordered an official RPi3 power supply that I'll test

I'm thinking the power issue is the miner not starting. I've never had the AUC itself show up (without the miner), but I only have 5 of these so not a huge amount of testing with it.

This is actually very helpful. I was unsure if the converter would show up alone if it's not connected to a miner. If it doesn't show up until a working miner is connected, then I have a few points of failure to test (not just the connection between the controller and converter.)

The miner does power up with green lights at the back and an amber light on the front -- could this still happen if it was underpowered?

Pictures for reference:
https://i.imgur.com/eASh4WP.jpg

https://i.imgur.com/faQkevd.jpg

https://i.imgur.com/IufSvTR.jpg


Title: Re: Help with Avalon 741 cgminer "No devices detected"
Post by: wavelengthsf on October 05, 2017, 06:59:35 PM

The miner does power up with green lights at the back and an amber light on the front -- could this still happen if it was underpowered?


Again, I don't have much experience testing with these sort of edge cases. My PSUs are all HP server power supplies that do auto switching, so even with the 120V i have at home (vs the 220 I have in the mine), I can test them and they fire up.

I have a spare AUC cable at home and a Pi - i will test to see if it shows up with no miner when I get off work in a couple hours.

Do you have an ATX PSU you could try to hook up to the miners to see if that worked?


Title: Re: Help with Avalon 741 cgminer "No devices detected"
Post by: 29r on October 05, 2017, 07:06:32 PM
I have a spare AUC cable at home and a Pi - i will test to see if it shows up with no miner when I get off work in a couple hours.

Do you have an ATX PSU you could try to hook up to the miners to see if that worked?

That would be great. Thanks for offering to do this.

I do not have an ATX PSU capable of powering the A741 unfortunately.

Does anyone here recall ever updating the USB drivers on the raspberry pi? I expect the factory firmware/fw downloaded from Canaan would have the correct drivers ahead of time, but figured I'd ask.

Here's the output when I try to manually start cgminer on the Raspberry Pi:

Code:
root@OpenWrt:~# cgminer -o us-east.stratum.slushpool.com:3333 -O userid.shop100:x
 [2016-12-14 00:24:42.046] Started cgminer 4.10.0
 [2016-12-14 00:24:42.212] No devices detected!
 [2016-12-14 00:24:42.212] Waiting for USB hotplug devices or press q to quit
 [2016-12-14 00:24:42.212] Probing for an alive pool
 [2016-12-14 00:24:42.392] Pool 0 difficulty changed to 2048
 [2016-12-14 00:24:43.214] Network diff set to 1.12T
 [2016-12-14 00:24:43.214] Job clean message received
 [2016-12-14 00:24:51.221] Stratum from pool 0 detected new block at height 488427
 [2016-12-14 00:24:51.222] Job clean message received
 [2016-12-14 00:25:20.874] Pool 0 difficulty changed to 409
 [2016-12-14 00:25:20.876] Stratum from pool 0 requested work restart
 [2016-12-14 00:25:20.877] Job clean message received
 [2016-12-14 00:25:51.006] Pool 0 difficulty changed to 128
 [2016-12-14 00:25:51.008] Stratum from pool 0 requested work restart
 [2016-12-14 00:25:51.009] Job clean message received
Killed.000 (1m):0.000 (5m):0.000 (15m):0.000 (avg):0.000h/s


Title: Re: Help with Avalon 741 cgminer "No devices detected"
Post by: wavelengthsf on October 05, 2017, 09:55:27 PM
EDIT:

That was on the Avalon 6 firmware. Funny enough, the A741 image, I don't get that at all. With just the AUC hooked up, I don't see anything about it in the Avalon section.

Same thing, A7 firmware:
https://i.imgur.com/Vy4egen.png


However, in my miners, I can clearly see them (and they're powered on). So I'd say the A7 firmware won't show just the AUC unless its hooked up to a miner that's powered on.

----Only on Avalon 6 firmware:----

Ok, so it does look like the AUCs show up without power to the miner.


Here is what my control panel looks like with just the AUC connected to the Pi:

https://i.imgur.com/zCpSqkp.png

(Note: I have two AUCs, one is the newer one from an A741 and one is from an A6, connected to this Pi)

So you should at least see the AUC, even if you don't have the right power for the miner.


Title: Re: Help with Avalon 741 cgminer "No devices detected"
Post by: 29r on October 05, 2017, 10:14:05 PM
Ok, so it does look like the AUCs show up without power to the miner.

[...]

(Note: I have two AUCs, one is the newer one from an A741 and one is from an A6, connected to this Pi)

So you should at least see the AUC, even if you don't have the right power for the miner

wavelengthsf, thanks so much for taking the time to test this. So at this point, with an AUC3 connected to the Pi but not visible in the cgminer status, I know I have either a bad AUC3 or bad USB cable/connection between the Pi and the AUC3. Too bad it doesn't show up in the Avalon 7 firmware.

Now, if Canaan would get back to my support request, that would be helpful. I think most of China is off till the 9th October due to national holiday so I guess I'll have to sit tight and be patient!


Title: Re: Help with Avalon 741 cgminer "No devices detected"
Post by: wavelengthsf on October 05, 2017, 11:27:35 PM
I'd recommend testing with a different PSU. At this point that seems the most likely thing!


Title: Re: Help with Avalon 741 cgminer "No devices detected"
Post by: 29r on October 06, 2017, 12:40:44 AM
I'd recommend testing with a different PSU. At this point that seems the most likely thing!

I tried 3 different PSUs but they are probably all from the same batch. I'm concerned whatever hardware issue I have is present in all of the hardware I have.

Thanks again for all your help.


Title: Re: Help with Avalon 741 cgminer "No devices detected"
Post by: philipma1957 on October 06, 2017, 02:17:18 AM
I'd recommend testing with a different PSU. At this point that seems the most likely thing!

I tried 3 different PSUs but they are probably all from the same batch. I'm concerned whatever hardware issue I have is present in all of the hardware I have.

Thanks again for all your help.

do you live near NJ,USA?

maybe I could meet you and bring a working rasp pi 3 and a working psu and working cables.

if I plug it all in and it works  you know the issue is the psu or one of your cables.

If I plug it all in and it does not work   then the issue is your power outlets.

BTW I would not mine on a gfc outlet.

I could also bring a dmm  to test the power.

only works if you are close


Title: Re: Help with Avalon 741 cgminer "No devices detected"
Post by: 29r on October 06, 2017, 02:28:21 AM
do you live near NJ,USA?

maybe I could meet you and bring a working rasp pi 3 and a working psu and working cables.

if I plug it all in and it works  you know the issue is the psu or one of your cables.

If I plug it all in and it does not work   then the issue is your power outlets.

BTW I would not mine on a gfc outlet.

I could also bring a dmm  to test the power.

only works if you are close

Yeah I would drive to NJ. That's awesome of you to offer to a new member like me.

I am working with a friend on this and he has the equipment. If we don't get this resolved tomorrow, I will send you a pm


Title: Re: Help with Avalon 741 cgminer "No devices detected"
Post by: 29r on October 06, 2017, 11:43:03 PM
if I plug it all in and it works  you know the issue is the psu or one of your cables.

We met a local guy who has a 741, tried one of his USB/AUC3 converters and bingo... we're mining. So we got a bad batch of converters... we tried 20 of those little suckers and none of them worked lol.

Thanks everyone for your input on this thread.

Happy mining


Title: Re: Help with Avalon 741 cgminer "No devices detected"
Post by: philipma1957 on October 06, 2017, 11:51:29 PM
if I plug it all in and it works  you know the issue is the psu or one of your cables.

We met a local guy who has a 741, tried one of his USB/AUC3 converters and bingo... we're mining. So we got a bad batch of converters... we tried 20 of those little suckers and none of them worked lol.

Thanks everyone for your input on this thread.

Happy mining

You are the second person another purchased a pallet and thirty of the sixty are bad.

Now when I did two group buys of the Avalon 6's we had a few bad and they were brought back to life with high quality brick Feeding   into the rasp pi I linked the solution on this link please wait.


 DO NOT POST SESC LINKS


it may be you should look into  one set of  gear describe here  to see if any of the auc's are good.

while this worked with  5 or 6 aucs from the   avalon 6's  whatever is wrong with these new auc 's may not be weak  power.  still worth a shot to try it if you have a lot of avalon's