getminera / minera

Minera is a web interface to monitor and manage mining devices
http://getminera.com
Other
374 stars 156 forks source link

Verson 0.8.0 #174

Closed GregHo closed 7 years ago

GregHo commented 7 years ago

Since upgrading to 0.8.0 my system shuts off every ten min but my dashboard looks like its still running only by putting my eyes on my actual system and checking my pool read out can I tell

michelem09 commented 7 years ago

You should look to your logs or give me them to look at otherwise I don't know how I can help you.

GregHo commented 7 years ago

This is what I use for coding

cd /var/www/minera/minera-bin/src

mkdir -p git/vthoang; cd git/vthoang

git clone https://github.com/vthoang/cgminer.git

cd cgminer

CFLAGS="-O2" ./autogen.sh --enable-gekko

make -j 2

cp cgminer /var/www/minera/minera-bin/custom/cgminer-vthoang

cd /var/www/minera/minera-bin/custom

I switched back to 0.7.0 and its running better now but the logs were running like they should I couldn't tell you that there was anything strange except it wasn't running

michelem09 commented 7 years ago

You can't upgrade from 0.7.0 to 0.8.0, are you installing 0.8.0 from new image file?

GregHo commented 7 years ago

Yes download the new image and flash onto a card and use that

Sent from my iPhone

On Sep 5, 2017, at 9:06 AM, Michele Marcucci notifications@github.com<mailto:notifications@github.com> wrote:

You can't upgrade from 0.7.0 to 0.8.0, are you installing 0.8.0 from new image file?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/getminera/minera/issues/174#issuecomment-327169084, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AeK1TnuS52XxvohFf633cjZQFXhfDsluks5sfUc7gaJpZM4PMQ-w.

michelem09 commented 7 years ago

So isn't the entire system to shutdown. Only the miner is shutting down after 10 minutes, right?

GregHo commented 7 years ago

No it's weird I use a raspberry pi and I use gekk 2pac chips about 30 of them and the chips stop running I can tell by just looking at them but I can use the dashboard and it runs like it is still running the logs are running its acting like it's hashing but my pool isn't getting anything and the chips lights aren't flashing I switched back to version 0.7.0 and it's running again but I have no idea what that was all about

Sent from my iPhone

On Sep 5, 2017, at 9:31 AM, Michele Marcucci notifications@github.com<mailto:notifications@github.com> wrote:

So isn't the entire system to shutdown. Only the miner is shutting down after 10 minutes, right?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/getminera/minera/issues/174#issuecomment-327175449, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AeK1TrnKhG4yIKn8S3tvopzFtyarr7UAks5sfUzWgaJpZM4PMQ-w.

michelem09 commented 7 years ago

I don't think Minera is related to this problem, it doesn't work on miners it doesn't do anything on them. It could be the miner software with some upgraded system library (Raspbian Stretch) but I can't know, you should open an issue to the miner author.

GregHo commented 7 years ago

Maybe I honestly don't know enough about anything all I do know is that this only happened switching to 0.8.0 it works fine with 0.7.0 its running now that way no issues

Sent from my iPhone

On Sep 5, 2017, at 9:52 AM, Michele Marcucci notifications@github.com<mailto:notifications@github.com> wrote:

I don't think Minera is related to this problem, it doesn't work on miners it doesn't do anything on them. It could be the miner software with some upgraded system library (Raspbian Stretch) but I can't know, you should open an issue to the miner author.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/getminera/minera/issues/174#issuecomment-327181783, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AeK1TmxDtqHkI5f5i1ug7eogpQVlKTOhks5sfVIggaJpZM4PMQ-w.

michelem09 commented 7 years ago

Why don't you use the official Cgminer instead that fork?

michelem09 commented 7 years ago

Do this in 0.8.0:

Go to /var/www/minera Edit file build.sh Add option --enable-icarus to line CGMINER_CONFIG Save the file in the same folder run the command: bash build_miner.sh cgminer

Then use official Cgminer in Minera

Ref: https://bitcointalk.org/index.php?topic=1173963.0

GregHo commented 7 years ago

I'll try it... that's entered in the system terminal right? And that will let me use gekk?

Sent from my iPhone

On Sep 5, 2017, at 10:28 AM, Michele Marcucci notifications@github.com<mailto:notifications@github.com> wrote:

Do this in 0.8.0:

Go to /var/www/minera Edit file build.sh Add option --enable-icarus to line CGMINER_CONFIG Save the file in the same folder run the command: bash build_miner.sh cgminer

Then use official Cgminer in Minera

Ref: https://bitcointalk.org/index.php?topic=1173963.0

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/getminera/minera/issues/174#issuecomment-327192850, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AeK1TrGmNy-HgD3nJ4Yafc-6i2ngpF0bks5sfVp0gaJpZM4PMQ-w.

michelem09 commented 7 years ago

Yes, it should.

GregHo commented 7 years ago

I can't figure out how to do this....


From: Michele Marcucci notifications@github.com Sent: Tuesday, September 5, 2017 2:28 PM To: getminera/minera Cc: GregHo; Author Subject: Re: [getminera/minera] Verson 0.8.0 (#174)

Do this in 0.8.0:

Go to /var/www/minera Edit file build.sh Add option --enable-icarus to line CGMINER_CONFIG Save the file in the same folder run the command: bash build_miner.sh cgminer

Then use official Cgminer in Minera

Ref: https://bitcointalk.org/index.php?topic=1173963.0

[https://ip.bitcointalk.org/?u=http%3A%2F%2Fi.imgur.com%2FeZeNXeJ.jpg&t=580&c=3LJWuq5Ksv7BsA]https://bitcointalk.org/index.php?topic=1173963.0

GekkoScience Compac BM1384 Stickminer ... - Bitcoin Talkhttps://bitcointalk.org/index.php?topic=1173963.0 bitcointalk.org First off, this project would not even have been attempted without the level of support from the community. A big thanks to everyone who assisted, great and small ...

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/getminera/minera/issues/174#issuecomment-327192850, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AeK1TrGmNy-HgD3nJ4Yafc-6i2ngpF0bks5sfVp0gaJpZM4PMQ-w.

michelem09 commented 7 years ago

SSH into Minera then: cd /var/www/minera nano build.sh Edit the file and save bash build_miner.sh cgminer Use Cgminer

GregHo commented 7 years ago

im getting the following message from the log

[2017-09-10 13:31:28.517] USB init - AMU device 1:49 usbver=0110 prod='2Pac BM1384 Bitcoin Miner' manuf='GekkoScience' serial='GS-10011326'

[2017-09-10 13:31:28.618] AMU0: GetResults (amt=0 err=-7 ern=25)

[2017-09-10 13:31:28.618] AMU: cgid 0 EnableUART got err 0

[2017-09-10 13:31:28.619] AMU: cgid 0 SetDataCtrl got err 0

[2017-09-10 13:31:28.621] AMU: cgid 0 SetBaud got err 4

[2017-09-10 13:31:28.923] AMU0: GetResults (amt=0 err=-7 ern=25)

[2017-09-10 13:31:28.923] Icarus Read: No data for 300 ms

[2017-09-10 13:31:29.023] AMU0: GetResults (amt=0 err=-7 ern=25)

[2017-09-10 13:31:29.024] AMU: cgid 0 EnableUART got err 0

[2017-09-10 13:31:29.025] AMU: cgid 0 SetDataCtrl got err 0

[2017-09-10 13:31:29.026] AMU: cgid 0 SetBaud got err 4

[2017-09-10 13:31:29.328] AMU0: GetResults (amt=0 err=-7 ern=25)

[2017-09-10 13:31:29.329] Icarus Read: No data for 300 ms

[2017-09-10 13:31:29.429] AMU0: GetResults (amt=0 err=-7 ern=25)

[2017-09-10 13:31:29.430] AMU: cgid 0 EnableUART got err 0

[2017-09-10 13:31:29.431] AMU: cgid 0 SetDataCtrl got err 0

[2017-09-10 13:31:29.432] AMU: cgid 0 SetBaud got err 4

[2017-09-10 13:31:29.432] Send ANU voltage aab775de

[2017-09-10 13:31:29.932] AMU 0: Send frequency 8208821c

[2017-09-10 13:31:30.034] AMU0: GetResults (amt=0 err=-7 ern=25)

[2017-09-10 13:31:30.034] AMU 0: Send freq getstatus 84000400

[2017-09-10 13:31:30.134] AMU0: GetResults (amt=0 err=-7 ern=25)

[2017-09-10 13:31:30.135] AU3 0: Detected Antminer U3

[2017-09-10 13:31:30.436] AU30: GetResults (amt=0 err=-7 ern=25)

[2017-09-10 13:31:30.436] Icarus Read: No data for 300 ms

[2017-09-10 13:31:30.537] AU30: GetResults (amt=0 err=-7 ern=25)

[2017-09-10 13:31:30.537] AU3: cgid 0 EnableUART got err 0

[2017-09-10 13:31:30.538] AU3: cgid 0 SetDataCtrl got err 0

[2017-09-10 13:31:30.539] AU3: cgid 0 SetBaud got err 4

[2017-09-10 13:31:30.540] Send ANU voltage aab775de

[2017-09-10 13:31:31.040] AU3 0: Send frequency 8208821c

[2017-09-10 13:31:31.141] AU30: GetResults (amt=0 err=-7 ern=25)

[2017-09-10 13:31:31.142] AU3 0: Send freq getstatus 84000400

[2017-09-10 13:31:31.242] AU30: GetResults (amt=0 err=-7 ern=25)

[2017-09-10 13:31:31.242] AU3 0: Detected Antminer U3

[2017-09-10 13:31:31.544] AU30: GetResults (amt=0 err=-7 ern=25)

[2017-09-10 13:31:31.544] Icarus Read: No data for 300 ms

[2017-09-10 13:31:31.544] USB uninit AU30

[2017-09-10 13:31:31.547] USB free AMU

[2017-09-10 13:31:31.547] USB unlock Icarus 1-49

[2017-09-10 13:31:31.547] ICA looking for ICA 067b:2303 but found 10c4:ea60 instead

[2017-09-10 13:31:31.547] RES: Icarus (1:49) lock=0

[2017-09-10 13:31:31.547] ICA looking for ICA 1fc9:0083 but found 10c4:ea60 instead

[2017-09-10 13:31:31.547] USB res unlock Icarus 1-49

[2017-09-10 13:31:31.548] ICA looking for and found BSC 10c4:ea60

[2017-09-10 13:31:31.548] USB lock Icarus 1-42

[2017-09-10 13:31:31.548] RES: Icarus (1:42) lock=1

[2017-09-10 13:31:31.548] USB res lock Icarus 1-42

[2017-09-10 13:31:31.548] RES: Icarus (1:42) lock ok=1

[2017-09-10 13:31:31.598] USB init, kernel attached ... - BSC device 1:42

[2017-09-10 13:31:31.599] USB init, kernel detached ifinfo 0 interface 0 successfully - BSC device 1:42

[2017-09-10 13:31:31.602] USB init, iManufacturer mismatch - BSC device 1:42

[2017-09-10 13:31:31.602] Found GekkoScience vs bitshopperde

[2017-09-10 13:31:31.602] USB free BSC

[2017-09-10 13:31:31.606] USB init, iProduct mismatch - GSC device 1:42

[2017-09-10 13:31:31.606] Found 2Pac BM1384 Bitcoin Miner vs Compac BM1384 Bitcoin Miner

[2017-09-10 13:31:31.606] USB free GSC

[2017-09-10 13:31:31.616] USB init - AMU device 1:42 usbver=0110 prod='2Pac BM1384 Bitcoin Miner' manuf='GekkoScience' serial='GS-10012513'

[2017-09-10 13:31:31.717] AMU0: GetResults (amt=0 err=-7 ern=25)

[2017-09-10 13:31:31.717] AMU: cgid 0 EnableUART got err 0

[2017-09-10 13:31:31.718] AMU: cgid 0 SetDataCtrl got err 0

[2017-09-10 13:31:31.720] AMU: cgid 0 SetBaud got err 4

[2017-09-10 13:31:32.022] AMU0: GetResults (amt=0 err=-7 ern=25)

[2017-09-10 13:31:32.022] Icarus Read: No data for 300 ms

[2017-09-10 13:31:32.122] AMU0: GetResults (amt=0 err=-7 ern=25)

[2017-09-10 13:31:32.123] AMU: cgid 0 EnableUART got err 0

[2017-09-10 13:31:32.124] AMU: cgid 0 SetDataCtrl got err 0

[2017-09-10 13:31:32.125] AMU: cgid 0 SetBaud got err 4

[2017-09-10 13:31:32.427] AMU0: GetResults (amt=0 err=-7 ern=25)

[2017-09-10 13:31:32.440] Icarus Read: No data for 312 ms

[2017-09-10 13:31:32.540] AMU0: GetResults (amt=0 err=-7 ern=25)

[2017-09-10 13:31:32.541] AMU: cgid 0 EnableUART got err 0

[2017-09-10 13:31:32.542] AMU: cgid 0 SetDataCtrl got err 0

[2017-09-10 13:31:32.543] AMU: cgid 0 SetBaud got err 4

[2017-09-10 13:31:32.543] Send ANU voltage aab775de

[2017-09-10 13:31:33.044] AMU 0: Send frequency 8208821c

[2017-09-10 13:31:33.145] AMU0: GetResults (amt=0 err=-7 ern=25)

[2017-09-10 13:31:33.145] AMU 0: Send freq getstatus 84000400

[2017-09-10 13:31:33.246] AMU0: GetResults (amt=0 err=-7 ern=25)

[2017-09-10 13:31:33.246] AU3 0: Detected Antminer U3

[2017-09-10 13:31:33.548] AU30: GetResults (amt=0 err=-7 ern=25)

[2017-09-10 13:31:33.548] Icarus Read: No data for 300 ms

[2017-09-10 13:31:33.648] AU30: GetResults (amt=0 err=-7 ern=25)

[2017-09-10 13:31:33.649] AU3: cgid 0 EnableUART got err 0

[2017-09-10 13:31:33.650] AU3: cgid 0 SetDataCtrl got err 0

[2017-09-10 13:31:33.651] AU3: cgid 0 SetBaud got err 4

[2017-09-10 13:31:33.651] Send ANU voltage aab775de

[2017-09-10 13:31:34.151] AU3 0: Send frequency 8208821c

[2017-09-10 13:31:34.253] AU30: GetResults (amt=0 err=-7 ern=25)

[2017-09-10 13:31:34.253] AU3 0: Send freq getstatus 84000400

[2017-09-10 13:31:34.354] AU30: GetResults (amt=0 err=-7 ern=25)

[2017-09-10 13:31:34.354] AU3 0: Detected Antminer U3

[2017-09-10 13:31:34.655] AU30: GetResults (amt=0 err=-7 ern=25)

[2017-09-10 13:31:34.656] Icarus Read: No data for 300 ms

[2017-09-10 13:31:34.656] USB uninit AU30

[2017-09-10 13:31:34.658] USB free AMU

[2017-09-10 13:31:34.658] USB unlock Icarus 1-42

[2017-09-10 13:31:34.659] ICA looking for ICA 067b:2303 but found 1a40:0101 instead

[2017-09-10 13:31:34.659] RES: Icarus (1:42) lock=0

[2017-09-10 13:31:34.659] ICA looking for ICA 1fc9:0083 but found 1a40:0101 instead

[2017-09-10 13:31:34.659] USB res unlock Icarus 1-42

[2017-09-10 13:31:34.659] ICA looking for BSC 10c4:ea60 but found 1a40:0101 instead

[2017-09-10 13:31:34.659] ICA looking for GSC 10c4:ea60 but found 1a40:0101 instead

[2017-09-10 13:31:34.660] ICA looking for AMU 10c4:ea60 but found 1a40:0101 instead

[2017-09-10 13:31:34.660] ICA looking for LIN 10c4:ea60 but found 1a40:0101 instead

[2017-09-10 13:31:34.660] ICA looking for ANU 10c4:ea60 but found 1a40:0101 instead

[2017-09-10 13:31:34.660] ICA looking for BLT 0403:6001 but found 1a40:0101 instead

[2017-09-10 13:31:34.660] ICA looking for LLT 0403:6001 but found 1a40:0101 instead

[2017-09-10 13:31:34.660] ICA looking for CMR 0403:6014 but found 1a40:0101 instead

[2017-09-10 13:31:34.661] ICA looking for CMR 0403:8350 but found 1a40:0101 instead

[2017-09-10 13:31:34.661] ICA looking for ICA 067b:2303 but found 10c4:ea60 instead

[2017-09-10 13:31:34.661] ICA looking for ICA 1fc9:0083 but found 10c4:ea60 instead

[2017-09-10 13:31:34.661] ICA looking for and found BSC 10c4:ea60

[2017-09-10 13:31:34.661] USB lock Icarus 1-55

[2017-09-10 13:31:34.661] RES: Icarus (1:55) lock=1

[2017-09-10 13:31:34.661] USB res lock Icarus 1-55

[2017-09-10 13:31:34.661] RES: Icarus (1:55) lock ok=1

[2017-09-10 13:31:34.712] USB init, kernel attached ... - BSC device 1:55

[2017-09-10 13:31:34.712] USB init, kernel detached ifinfo 0 interface 0 successfully - BSC device 1:55

[2017-09-10 13:31:34.715] USB init, iManufacturer mismatch - BSC device 1:55

[2017-09-10 13:31:34.715] Found GekkoScience vs bitshopperde

[2017-09-10 13:31:34.715] USB free BSC

[2017-09-10 13:31:34.719] USB init, iProduct mismatch - GSC device 1:55

[2017-09-10 13:31:34.719] Found 2Pac BM1384 Bitcoin Miner vs Compac BM1384 Bitcoin Miner

[2017-09-10 13:31:34.720] USB free GSC

[2017-09-10 13:31:34.730] USB init - AMU device 1:55 usbver=0110 prod='2Pac BM1384 Bitcoin Miner' manuf='GekkoScience' serial='GS-10010860'


From: Michele Marcucci notifications@github.com Sent: Thursday, September 7, 2017 6:07 AM To: getminera/minera Cc: GregHo; Author Subject: Re: [getminera/minera] Verson 0.8.0 (#174)

SSH into Minera then: cd /var/www/minera nano build.sh Edit the file and save bash build_miner.sh cgminer Use Cgminer

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/getminera/minera/issues/174#issuecomment-327696735, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AeK1TvPmEo4iH6eruyTtUitYwa072Kp7ks5sf4gQgaJpZM4PMQ-w.

michelem09 commented 7 years ago

Don't know you should refer to Cgminer author or manufacter, I'm sorry I haven't that kind of devices.