os2sam
Legendary
Offline
Activity: 3583
Merit: 1094
Think for yourself
|
|
May 01, 2012, 05:11:10 PM |
|
/**FPGA's will not take over once I release my Zero-Point Energy Generator. The enrergy it produces will be free, but the device is gonna cost you. The environmentalist nut cases will never allow that.
|
A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing on usenet and in e-mail?
|
|
|
Tinua
|
|
May 01, 2012, 06:15:08 PM |
|
Hi folks If I connect more then 10 BFL's....cgminer crash down after 2 second? If I start 2 instances of cgminer with <10 BFL's ....cgminer run?? Any idee why? System: Win8 x64, CGminer 2.3.6 Many thanks for help! Post more details. Are you mining on GPUs or just BFLs? What crashes? Do you have an exception? What is the exception offset? Hi 1. Starting cgminer.bat cgminer1 -o http://pool1:8332 -u worker -p pass -o http://pool2:8332 -u name -p pass --disable-gpu -S COM5 -S COM6 -S COM7 -S COM8 -S \\.\COM9 -S \\.\COM10 -S \\.\COM11 -S \\.\COM12 -S \\.\COM13 -S \\.\COM54 -S \\.\COM55 -S \\.\COM56 -S \\.\COM57 -S \\.\COM58 -S \\.\COM59 2. cgminer starting: [2012-05-01 19:41:05] Started cgminer 2.3.6 [2012-05-01 19:41:07] Found 0 ztex board(s) 3. Windowsbox coming: cgminer1.exe not working anymore.....blablabla Means....cgminer crashing
|
|
|
|
Krak
|
|
May 01, 2012, 06:36:10 PM |
|
The detection of PGAs is something that should be fixed. Users should be able to say, I want these com ports to use BFLs, and the other ones to use ZTEX or Icarus.
I think that might be something luke_jr can add to bfgminer as it looks like cgminer is blindly trying to guess what is connected to COM ports. (and failing). Putting device type in the config file for each COM port would speed up detection and hopefully eliminate these issues.
Doing ZTEX detection on BFL or Icarus is just asking for it. Users know what they have connected to each port, so let them add that in the config file.
Here you go. The detection code is quite straight forward for each FPGA.
If you wish to force it to be specifically BFL or ICA you can e.g. "-S bitforce:COM6" or "-S icarus:COM6" ZTX detection is completely different so there is no real overlap (you don't specify the ztex devices, it always directly detects them)
It checks for BFL first: It sends it a command (ZGX) which the BFL replies and is checked for the string "SHA256" in it - part of the reply is also where the "Model" in the API command 'devdetails' comes from
Next it checks for Icarus: It simply just sends it some work and waits 0.1s for the answer (I checked the block chain for a low nonce and found Ozcoin block 171874 nonce = (0xa2870100) = 0x000187a2 takes ~0.53ms on Rev3 Icarus to be the lowest nonce in the thousands I got a script to look at until the script bugged out) This is mandatory for ICA since there is no identification anywhere other than the USB device identification (which course could be used by other non Icarus devices since it's not unique)
Thus with that code (above) the ordering naturally should be BFL first and ICA 2nd if you don't specify "-S bitforce:COM6" or "-S icarus:COM6"
ZTX is detect third since that was added 3rd (though I might consider moving it up to first since it's very direct how it works and unlikely to ever affect any other device) You don't specify -S for ZTX
Edit: for auto detection of course ZTX is always auto ICA doesn't ever do auto BFL does auto only in linux and only when you specify -S auto - however it has 2 methods: 1) where it looks in /dev/serial/by-id (which can sometimes only show 1 BFL on some linux versions if you have more than 1 BFL) 2) by libudev checking the USB Model when libudev is compiled in
|
BTC: 1KrakenLFEFg33A4f6xpwgv3UUoxrLPuGn
|
|
|
kano
Legendary
Offline
Activity: 4592
Merit: 1851
Linux since 1997 RedHat 4
|
|
May 01, 2012, 06:47:07 PM |
|
Here you go. ... Thus with that code (above) the ordering naturally should be BFL first and ICA 2nd if you don't specify "-S bitforce:COM6" or "-S icarus:COM6" ... Then the bitforce detection is broken as Tinua has reported. Tinua try putting -S bitforce:COMXX As my post Krak quoted above states, there is no Bitforce auto detection in windows ... yet. (I haven't got my BFL yet either)
|
|
|
|
Epoch
Legendary
Offline
Activity: 922
Merit: 1003
|
|
May 01, 2012, 06:48:49 PM |
|
Then the bitforce detection is broken as this user has reported.
Why do you conclude that? I don't see where Tinua has reported broken bitforce detection. The only reference to any FPGA in Tinua's posted output is this: [2012-05-01 19:41:07] Found 0 ztex board(s) As per Kano's explanation of how detection works, the above reference to ztex is not unexpected and does not indicate an error. FWIW I get the same startup message for my Single setup (also using --disable-gpu), except cgminer doesn't crash after that.
|
|
|
|
kano
Legendary
Offline
Activity: 4592
Merit: 1851
Linux since 1997 RedHat 4
|
|
May 01, 2012, 06:56:31 PM |
|
Here you go. ... Thus with that code (above) the ordering naturally should be BFL first and ICA 2nd if you don't specify "-S bitforce:COM6" or "-S icarus:COM6" ... Then the bitforce detection is broken as Tinua has reported. Tinua try putting -S bitforce:COMXX Bitforce is checked first in cgminer (but not in that 'other' one) so I wonder if that might have something to do with it? So although your suggestion makes it clear what it is doing, it won't make any difference.
|
|
|
|
kano
Legendary
Offline
Activity: 4592
Merit: 1851
Linux since 1997 RedHat 4
|
|
May 01, 2012, 06:59:01 PM |
|
Hi folks If I connect more then 10 BFL's....cgminer crash down after 2 second? If I start 2 instances of cgminer with <10 BFL's ....cgminer run?? Any idee why? System: Win8 x64, CGminer 2.3.6 Many thanks for help! Post more details. Are you mining on GPUs or just BFLs? What crashes? Do you have an exception? What is the exception offset? Also, details of where you got the windows binary from? (if you go it from anywhere but http://ck.kolivas.org/apps/cgminer/cgminer-2.3.6-win32.zip ?)
|
|
|
|
Tinua
|
|
May 01, 2012, 07:08:13 PM |
|
Hi folks If I connect more then 10 BFL's....cgminer crash down after 2 second? If I start 2 instances of cgminer with <10 BFL's ....cgminer run?? Any idee why? System: Win8 x64, CGminer 2.3.6 Many thanks for help! Post more details. Are you mining on GPUs or just BFLs? What crashes? Do you have an exception? What is the exception offset? Also, details of where you got the windows binary from? (if you go it from anywhere but http://ck.kolivas.org/apps/cgminer/cgminer-2.3.6-win32.zip ?) I loaded from kolivas-server The funny is: - 10 BFL's with 1 instance working - 11 BFL's with 1 instance crashing - 1x 8 BFL's and 1x 7 BFL's together with 2 instances working @af_newbie "-S bitforce:COMXX" crashing also with more then 10 BFL's
|
|
|
|
Epoch
Legendary
Offline
Activity: 922
Merit: 1003
|
|
May 01, 2012, 07:17:58 PM |
|
I loaded from kolivas-server
The funny is: - 10 BFL's with 1 instance working - 11 BFL's with 1 instance crashing - 1x 8 BFL's and 1x 7 BFL's together with 2 instances working
@af_newbie "-S bitforce:COMXX" crashing also with more then 10 BFL's
I will set up an 11-unit cluster with 1 instance of cgminer 2.3.6 when I get home later this evening and try to reproduce the issue you are having (if no solution or confirmation is found by then). I am running Win7/64, not Win8/64, so if it works for me we cannot conclude much. But if I confirm a crash with 11 Singles on Win7/64 (as you've done on Win8/64) then it points to a problem with cgminer.
|
|
|
|
jamesg
VIP
Legendary
Offline
Activity: 1358
Merit: 1000
AKA: gigavps
|
|
May 01, 2012, 07:19:21 PM |
|
I loaded from kolivas-server
The funny is: - 10 BFL's with 1 instance working - 11 BFL's with 1 instance crashing - 1x 8 BFL's and 1x 7 BFL's together with 2 instances working
@af_newbie "-S bitforce:COMXX" crashing also with more then 10 BFL's
I will set up an 11-unit cluster with 1 instance of cgminer 2.3.6 when I get home later this evening and try to reproduce the issue you are having (if no solution or confirmation is found by then). I am running Win7/64, not Win8/64, so if it works for me we cannot conclude much. But if I confirm a crash with 11 Singles on Win7/64 (as you've done on Win8/64) then it points to a problem with cgminer. Tinua, This is most likely an issue with your USB hub. I have 15 singles running on one instance of cgminer. Best, gigavps
|
|
|
|
Epoch
Legendary
Offline
Activity: 922
Merit: 1003
|
|
May 01, 2012, 07:23:08 PM |
|
I loaded from kolivas-server
The funny is: - 10 BFL's with 1 instance working - 11 BFL's with 1 instance crashing - 1x 8 BFL's and 1x 7 BFL's together with 2 instances working
@af_newbie "-S bitforce:COMXX" crashing also with more then 10 BFL's
I will set up an 11-unit cluster with 1 instance of cgminer 2.3.6 when I get home later this evening and try to reproduce the issue you are having (if no solution or confirmation is found by then). I am running Win7/64, not Win8/64, so if it works for me we cannot conclude much. But if I confirm a crash with 11 Singles on Win7/64 (as you've done on Win8/64) then it points to a problem with cgminer. Tinua, This is most likely an issue with your USB hub. I have 15 singles running on one instance of cgminer. Best, gigavps Gigavps, I believe you are running a Linux version ... I will confirm with a Windows 7 version later tonight. A hub issue cannot be ruled out, though. Good suggestion.
|
|
|
|
Tinua
|
|
May 01, 2012, 07:33:28 PM |
|
I loaded from kolivas-server
The funny is: - 10 BFL's with 1 instance working - 11 BFL's with 1 instance crashing - 1x 8 BFL's and 1x 7 BFL's together with 2 instances working
@af_newbie "-S bitforce:COMXX" crashing also with more then 10 BFL's
I will set up an 11-unit cluster with 1 instance of cgminer 2.3.6 when I get home later this evening and try to reproduce the issue you are having (if no solution or confirmation is found by then). I am running Win7/64, not Win8/64, so if it works for me we cannot conclude much. But if I confirm a crash with 11 Singles on Win7/64 (as you've done on Win8/64) then it points to a problem with cgminer. Tinua, This is most likely an issue with your USB hub. I have 15 singles running on one instance of cgminer. Best, gigavps Hi gigavps I like 2do2.. But my Bamt still not running with cgminer an BFL's..... I'm still newbie with linux Greetings Tinua
|
|
|
|
Tinua
|
|
May 01, 2012, 07:38:46 PM |
|
Tinua, post a screenshot of the cgminer crash. It might give us some clues as to where the crash is occurring.
[2012-05-01 19:41:05] Started cgminer 2.3.6 [2012-05-01 19:41:07] Found 0 ztex board(s) Thats it..no more! after that standart windows crashbox! Sorry...I d'ont know how i can post pictures!?
|
|
|
|
|
Tinua
|
|
May 01, 2012, 08:12:10 PM |
|
I loaded from kolivas-server
The funny is: - 10 BFL's with 1 instance working - 11 BFL's with 1 instance crashing - 1x 8 BFL's and 1x 7 BFL's together with 2 instances working
@af_newbie "-S bitforce:COMXX" crashing also with more then 10 BFL's
I will set up an 11-unit cluster with 1 instance of cgminer 2.3.6 when I get home later this evening and try to reproduce the issue you are having (if no solution or confirmation is found by then). I am running Win7/64, not Win8/64, so if it works for me we cannot conclude much. But if I confirm a crash with 11 Singles on Win7/64 (as you've done on Win8/64) then it points to a problem with cgminer. Tinua, This is most likely an issue with your USB hub. I have 15 singles running on one instance of cgminer. Best, gigavps Update: With ufasoft-miner no issue....working with 15BFL's in series including hot-swap......no crash!
|
|
|
|
Luke-Jr
Legendary
Offline
Activity: 2576
Merit: 1186
|
|
May 01, 2012, 08:14:52 PM |
|
I loaded from kolivas-server
The funny is: - 10 BFL's with 1 instance working - 11 BFL's with 1 instance crashing - 1x 8 BFL's and 1x 7 BFL's together with 2 instances working
@af_newbie "-S bitforce:COMXX" crashing also with more then 10 BFL's
I will set up an 11-unit cluster with 1 instance of cgminer 2.3.6 when I get home later this evening and try to reproduce the issue you are having (if no solution or confirmation is found by then). I am running Win7/64, not Win8/64, so if it works for me we cannot conclude much. But if I confirm a crash with 11 Singles on Win7/64 (as you've done on Win8/64) then it points to a problem with cgminer. Tinua, This is most likely an issue with your USB hub. I have 15 singles running on one instance of cgminer. Best, gigavps Update: With ufasoft-miner no issue....working with 15BFL's in series including hot-swap......no crash! Can you try with BFGMiner?
|
|
|
|
Tinua
|
|
May 01, 2012, 08:51:28 PM |
|
I loaded from kolivas-server
The funny is: - 10 BFL's with 1 instance working - 11 BFL's with 1 instance crashing - 1x 8 BFL's and 1x 7 BFL's together with 2 instances working
@af_newbie "-S bitforce:COMXX" crashing also with more then 10 BFL's
I will set up an 11-unit cluster with 1 instance of cgminer 2.3.6 when I get home later this evening and try to reproduce the issue you are having (if no solution or confirmation is found by then). I am running Win7/64, not Win8/64, so if it works for me we cannot conclude much. But if I confirm a crash with 11 Singles on Win7/64 (as you've done on Win8/64) then it points to a problem with cgminer. Tinua, This is most likely an issue with your USB hub. I have 15 singles running on one instance of cgminer. Best, gigavps Update: With ufasoft-miner no issue....working with 15BFL's in series including hot-swap......no crash! Tinua, The error message is not very descriptive. Check if Windows Error Reporting is enabled. For Win7, http://www.syschat.com/enable-disable-windows-7-error-reporting-5394.htmlNot sure it might in the same spot on Windows 8. Hope i find the right one! Protokollname: Application Quelle: Application Error Datum: 01.05.2012 18:16:14 Ereignis-ID: 1000 Aufgabenkategorie:(100) Ebene: Fehler Schlüsselwörter:Klassisch Benutzer: Nicht zutreffend Computer: Mine-4 Beschreibung: Name der fehlerhaften Anwendung: cgminer1.exe, Version: 0.0.0.0, Zeitstempel: 0x4f9c887a Name des fehlerhaften Moduls: libpdcurses.dll, Version: 0.0.0.0, Zeitstempel: 0x4f460f95 Ausnahmecode: 0xc0000005 Fehleroffset: 0x000012fe ID des fehlerhaften Prozesses: 0x264 Startzeit der fehlerhaften Anwendung: 0x01cd27b5b9754260 Pfad der fehlerhaften Anwendung: C:\Users\Tinu\cgminer1\cgminer1.exe Pfad des fehlerhaften Moduls: C:\Users\Tinu\cgminer1\libpdcurses.dll Berichtskennung: f8c92565-93a8-11e1-a126-001966754a26 Vollständiger Name des fehlerhaften Pakets: Anwendungs-ID, die relativ zum fehlerhaften Paket ist: Ereignis-XML: <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event"> <System> <Provider Name="Application Error" /> <EventID Qualifiers="0">1000</EventID> <Level>2</Level> <Task>100</Task> <Keywords>0x80000000000000</Keywords> <TimeCreated SystemTime="2012-05-01T16:16:14.000000000Z" /> <EventRecordID>2721</EventRecordID> <Channel>Application</Channel> <Computer>Mine-4</Computer> <Security /> </System> <EventData> <Data>cgminer1.exe</Data> <Data>0.0.0.0</Data> <Data>4f9c887a</Data> <Data>libpdcurses.dll</Data> <Data>0.0.0.0</Data> <Data>4f460f95</Data> <Data>c0000005</Data> <Data>000012fe</Data> <Data>264</Data> <Data>01cd27b5b9754260</Data> <Data>C:\Users\Tinu\cgminer1\cgminer1.exe</Data> <Data>C:\Users\Tinu\cgminer1\libpdcurses.dll</Data> <Data>f8c92565-93a8-11e1-a126-001966754a26</Data> <Data> </Data> <Data> </Data> </EventData> </Event> Second one Protokollname: Application Quelle: Windows Error Reporting Datum: 01.05.2012 18:16:20 Ereignis-ID: 1001 Aufgabenkategorie:Keine Ebene: Informationen Schlüsselwörter:Klassisch Benutzer: Nicht zutreffend Computer: Mine-4 Beschreibung: Fehlerbucket -1339078376, Typ 1 Ereignisname: APPCRASH Antwort: Nicht verfügbar CAB-Datei-ID: 0
Problemsignatur: P1: cgminer1.exe P2: 0.0.0.0 P3: 4f9c887a P4: libpdcurses.dll P5: 0.0.0.0 P6: 4f460f95 P7: c0000005 P8: 000012fe P9: P10:
Angefügte Dateien: C:\Users\Tinu\AppData\Local\Temp\WER7D7C.tmp.WERInternalMetadata.xml
Diese Dateien befinden sich möglicherweise hier: C:\Users\Tinu\AppData\Local\Microsoft\Windows\WER\ReportArchive\AppCrash_cgminer1.exe_18fe7f18dbc4a27fd414d7cd4ca41613c3c1ca_1523939b
Analysesymbol: Es wird erneut nach einer Lösung gesucht: 0 Berichts-ID: f8c92565-93a8-11e1-a126-001966754a26 Berichtstatus: 0 Bucket mit Hash: c6d13ca46c9046939017510015c21c31 Ereignis-XML: <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event"> <System> <Provider Name="Windows Error Reporting" /> <EventID Qualifiers="0">1001</EventID> <Level>4</Level> <Task>0</Task> <Keywords>0x80000000000000</Keywords> <TimeCreated SystemTime="2012-05-01T16:16:20.000000000Z" /> <EventRecordID>2722</EventRecordID> <Channel>Application</Channel> <Computer>Mine-4</Computer> <Security /> </System> <EventData> <Data>-1339078376</Data> <Data>1</Data> <Data>APPCRASH</Data> <Data>Nicht verfügbar</Data> <Data>0</Data> <Data>cgminer1.exe</Data> <Data>0.0.0.0</Data> <Data>4f9c887a</Data> <Data>libpdcurses.dll</Data> <Data>0.0.0.0</Data> <Data>4f460f95</Data> <Data>c0000005</Data> <Data>000012fe</Data> <Data> </Data> <Data> </Data> <Data> C:\Users\Tinu\AppData\Local\Temp\WER7D7C.tmp.WERInternalMetadata.xml</Data> <Data>C:\Users\Tinu\AppData\Local\Microsoft\Windows\WER\ReportArchive\AppCrash_cgminer1.exe_18fe7f18dbc4a27fd414d7cd4ca41613c3c1ca_1523939b</Data> <Data> </Data> <Data>0</Data> <Data>f8c92565-93a8-11e1-a126-001966754a26</Data> <Data>0</Data> <Data>c6d13ca46c9046939017510015c21c31</Data> </EventData> </Event>
|
|
|
|
Tinua
|
|
May 01, 2012, 09:03:28 PM |
|
I loaded from kolivas-server
The funny is: - 10 BFL's with 1 instance working - 11 BFL's with 1 instance crashing - 1x 8 BFL's and 1x 7 BFL's together with 2 instances working
@af_newbie "-S bitforce:COMXX" crashing also with more then 10 BFL's
I will set up an 11-unit cluster with 1 instance of cgminer 2.3.6 when I get home later this evening and try to reproduce the issue you are having (if no solution or confirmation is found by then). I am running Win7/64, not Win8/64, so if it works for me we cannot conclude much. But if I confirm a crash with 11 Singles on Win7/64 (as you've done on Win8/64) then it points to a problem with cgminer. Tinua, This is most likely an issue with your USB hub. I have 15 singles running on one instance of cgminer. Best, gigavps Update: With ufasoft-miner no issue....working with 15BFL's in series including hot-swap......no crash! Can you try with BFGMiner? I try it bevor. -S COM1 to -S COM8 working. But he allways say ICARUS found?? -S \\.\COMXX crash bfgminer. Maybe we can talk about this more exactly in bfgminer-tread, later. Will make screenshot then. I have now 11pm.
|
|
|
|
Tinua
|
|
May 01, 2012, 09:11:13 PM |
|
C5 exception means that a pointer to an unallocated memory was accessed.
It is probably coding error in some logging function (%s vs %d would be my first choice).
Try real quiet option to disable all output.
--real-quiet
It is worth to try.
yes.... working...... it shows messages like submit staleshares!! but no other infos anymore?
|
|
|
|
Tinua
|
|
May 01, 2012, 09:27:31 PM Last edit: May 01, 2012, 09:47:14 PM by Tinua |
|
C5 exception means that a pointer to an unallocated memory was accessed.
It is probably coding error in some logging function (%s vs %d would be my first choice).
Try real quiet option to disable all output.
--real-quiet
It is worth to try.
yes.... working...... it shows messages like submit staleshares!! but no other infos anymore? There you go. Problem solved. Bug is still there. Thanks for help! Now we need only one, that fix the bug Till then, i have to go back to 2 instances for having temp and hash display Go sleep now...I have 11.30pm and must go work at 5am Regards Tinua
|
|
|
|
|