Bitcoin Forum
December 03, 2016, 01:46:24 PM *
News: Latest stable version of Bitcoin Core: 0.13.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: « 1 ... 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 [399] 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 ... 830 »
  Print  
Author Topic: OFFICIAL CGMINER mining software thread for linux/win/osx/mips/arm/r-pi 4.9.2  (Read 4815164 times)
This is a self-moderated topic. If you do not want to be moderated by the person who started this topic, create a new topic.
-ck
Moderator
Legendary
*
Offline Offline

Activity: 1988


Ruu \o/


View Profile WWW
November 13, 2012, 06:55:44 AM
 #7961

Hi.
Small reminder: "Q:" is still very wrong.

Code:
cgminer version 2.9.3 - Started: [2012-11-12 11:10:19]
--------------------------------------------------------------------------------
 (5s):14.55M (avg):14.63Mh/s | Q:4  A:31  R:6  HW:0  E:775%  U:0.2/m
It is p2pool, so longpool every 10sec, 21 new blocks in mean time but Q is only 4 and E is hitting roof on this small MH/s
Still no idea, but the fake "burst" in Q should have gone. It's still a low priority concern but I will investigate at some stage.

Primary developer/maintainer for cgminer and ckpool/ckproxy.
Pooled mine at kano.is, solo mine at solo.ckpool.org
-ck
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1480772784
Hero Member
*
Offline Offline

Posts: 1480772784

View Profile Personal Message (Offline)

Ignore
1480772784
Reply with quote  #2

1480772784
Report to moderator
1480772784
Hero Member
*
Offline Offline

Posts: 1480772784

View Profile Personal Message (Offline)

Ignore
1480772784
Reply with quote  #2

1480772784
Report to moderator
Ginsley
Full Member
***
Offline Offline

Activity: 182


View Profile
November 13, 2012, 07:21:21 AM
 #7962

Hi,

at the moment i am trying to install CGMiner on a Raspberry Pi. As OS i am using the Wheezy and want to mine with a ZTex 1.15x board.
The problem is, CGMiner isnt recognizing my board - "All devices disabled, cannot mine!"

First i installed all needed packages:

Code:
sudo apt-get update
sudo apt-get install autoconf
sudo apt-get install libtool
sudo apt-get install libncurses-dev
sudo apt-get install yasm
sudo apt-get install curl
sudo apt-get install libcurl4-openssl-dev
sudo apt-get install pkg-config
sudo apt-get install libudev-dev
sudo apt-get install libusb-dev
sudo apt-get install libusb-1.0-0-dev

I tried it with a proposal from another thread too

Code:
sudo apt-get install build-essential git dh-autoreconf libcurl4-gnutls-dev libusb-1.0-0-dev libusb-dev libncurses-dev libudev-dev yasm screen

then i loaded CGMiner via git:

Code:
sudo git clone https://github.com/ckolivas/cgminer.git
cd cgminer

## Set the flags for the compiler
CFLAGS="-g -O2 -W -Wall"

Next step was autogen with ZTex enabled:

Code:
sudo ./autogen.sh --disable-opencl --enable-ztex

autogen doesnt write out any errors and says use for ztex is enabled after it finished.
So i build CGMiner via

Code:
sudo make clean
sudo make

After that i connect my ZTex to the RPi - but i dont get any ttyUSB* file in the /dev folder - so i do following steps:

Code:
sudo modprobe ftdi_sio vendor=0x211a product=0x0100
sudo chmod a+rw /dev/ttyUSB*

After that i have a ttyUSB* file in /dev - so far it worked as it seems.

Now i try to start cgminer - first without any option:

Code:
cgminer
All devices disabled, cannot mine!

Then i tried to start it with the option -S / --scan-serial

Code:
cgminer -S auto
[2012-11-12 16:56:29] cgminer: -S: unrecognized option

So i ask myself what i am doing wrong, that -S isnt recognized.
Can anyone in here help?

1HYeuyxKHGmFs1ARvAPGgmEW9pW6u8L26U
kano
Legendary
*
Offline Offline

Activity: 1918


Linux since 1997 RedHat 4


View Profile
November 13, 2012, 08:15:56 AM
 #7963

ztex uses libusb not -S (serial USB) so the -S option wont be there with only --enable-ztex
(i.e. it doesn't use /dev/ttyUSB* at all)

It auto detects all ztex devices with IDVENDOR 0x221A and IDPRODUCT 0x0100

However, the ztex code doesn't call libusb_detach_kernel_driver() so your modprobe might have been the cause of it failing

Unload ftdi_sio manually or reboot and try without modprobe

Also cgminer -D -T --verbose will tell you what's being detected and what may have gone wrong

Edit: P.S. you don't need yasm

Pool: https://kano.is BTC: 1KanoiBupPiZfkwqB7rfLXAzPnoTshAVmb
CKPool and CGMiner developer, IRC FreeNode #ckpool and #cgminer kanoi
Help keep Bitcoin secure by mining on pools with Stratum, the best protocol to mine Bitcoins with ASIC hardware
crazyates
Legendary
*
Offline Offline

Activity: 938



View Profile
November 13, 2012, 10:53:06 AM
 #7964

Did it not give you the option to debug it when it crashed?  Huh
It did, but that's all the Dr. Mingw window gave me.

It seems to happen more often when I set the priority to "Realtime", as I think I remember someone saying that can make a slight boost in hashrate. However, I havn't noticed a difference in the newer versions, so I'll stop doing that from now on, and see if the problem persists.

Tips? 1crazy8pMqgwJ7tX7ZPZmyPwFbc6xZKM9
Previous Trade History - Sale Thread
mdude77
Legendary
*
Offline Offline

Activity: 1358


View Profile
November 13, 2012, 11:37:49 AM
 #7965

Did it not give you the option to debug it when it crashed?  Huh
It did, but that's all the Dr. Mingw window gave me.

It seems to happen more often when I set the priority to "Realtime", as I think I remember someone saying that can make a slight boost in hashrate. However, I havn't noticed a difference in the newer versions, so I'll stop doing that from now on, and see if the problem persists.

It crashes for me when my internet connection gets spotty or the pool I'm on gets spotty.  Seems to be stratum only.  I never change the priority.

M

MMinerMonitor author, monitor/auto/schedule reboots/alerts/remote/MobileMiner for Ants and Spondoolies! Latest (5.2). MPoolMonitor author, monitor stats/workers for most pools, global BTC stats (current/nxt diff/USD val/hashrate/calc)! Latest (v4.2) 
Buyer beware of Bitmain hardware and services.
Roland68
Member
**
Offline Offline

Activity: 103



View Profile
November 13, 2012, 11:58:48 AM
 #7966

Sadly, under Windows for me, it's a stratum related problem ... used the -fix option solved the problem ...

Just hope, that pool don't stop supporting "normal" getwork protocol ..
Ginsley
Full Member
***
Offline Offline

Activity: 182


View Profile
November 13, 2012, 04:52:42 PM
 #7967

ztex uses libusb not -S (serial USB) so the -S option wont be there with only --enable-ztex
(i.e. it doesn't use /dev/ttyUSB* at all)

It auto detects all ztex devices with IDVENDOR 0x221A and IDPRODUCT 0x0100

However, the ztex code doesn't call libusb_detach_kernel_driver() so your modprobe might have been the cause of it failing

Unload ftdi_sio manually or reboot and try without modprobe

Also cgminer -D -T --verbose will tell you what's being detected and what may have gone wrong

Edit: P.S. you don't need yasm

Thanks for your hints - i tried it the way you told me, but got no success in running my ZTex board.

Doing "cgminer -D -T --verbose" printed out the following:

Code:
pi@raspberrypi ~/cgminer $ cgminer -D -T --verbose
 [2012-11-13 16:42:43] Started cgminer 2.9.3                   
 [2012-11-13 16:42:43] Not a ZTEX device 1d6b:0002                   
 [2012-11-13 16:42:43] Not a ZTEX device 0424:9512                   
 [2012-11-13 16:42:43] Not a ZTEX device 0424:ec00                   
 [2012-11-13 16:42:43] Not a ZTEX device 05e3:0608                   
 [2012-11-13 16:42:43] Not a ZTEX device 05e3:0608                   
 [2012-11-13 16:42:43] Not a ZTEX device 046a:0023                   
 [2012-11-13 16:42:43] Ztex check device: Failed to open handle with error -3                   
 [2012-11-13 16:42:43] prepare device: -3                   
All devices disabled, cannot mine!

just to be sure the board is connected and recognized i did the following:

Code:
pi@raspberrypi ~/cgminer $ dmesg | grep -i ZTex
[    4.865489] usb 1-1.3.4.3: Manufacturer: ZTEX
pi@raspberrypi ~/cgminer $ dmesg | grep -i vendor
[    1.815407] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    2.613572] usb 1-1: New USB device found, idVendor=0424, idProduct=9512
[    3.063878] usb 1-1.1: New USB device found, idVendor=0424, idProduct=ec00
[    3.405179] usb 1-1.3: New USB device found, idVendor=05e3, idProduct=0608
[    3.899144] usb 1-1.3.1: New USB device found, idVendor=046d, idProduct=c03e
[    4.285279] usb 1-1.3.4: New USB device found, idVendor=05e3, idProduct=0608
[    4.809482] usb 1-1.3.4.3: New USB device found, idVendor=221a, idProduct=0100
[    5.124495] usb 1-1.3.4.4: New USB device found, idVendor=046a, idProduct=0023
[ 3081.476601] usb 1-1.3.1: New USB device found, idVendor=046d, idProduct=c03e

As you can see there, the ZTex is connected and recognized by the RPi - vendor and productID is the one, cgminer should look for (as you said).
Any hints/help?

P.S.: I reinstalled my Wheezy OS and loaded the needed packages new (without yasm, as you said) - so far it should be clean.

1HYeuyxKHGmFs1ARvAPGgmEW9pW6u8L26U
streetuff
Full Member
***
Offline Offline

Activity: 150



View Profile
November 13, 2012, 04:58:25 PM
 #7968

i had to add the following to /etc/udev/rules.d/90-ztex.rules

SUBSYSTEM=="usb", ATTR{idVendor}=="221a", ATTR{idProduct}=="0100", MODE="0660", GROUP="plugdev"

that enables you to run cgminer without beeing root with ztex devices.
mdude77
Legendary
*
Offline Offline

Activity: 1358


View Profile
November 14, 2012, 01:18:34 AM
 #7969

I cannot reproduce the windows crashes as the only machine I have that can run windows can barely mine at all.

If you are having windows crashes, I need your help to debug the issues.

See here for how you can help:
http://ck.kolivas.org/apps/cgminer/debug/

If you have a reliable test case that crashes cgminer then you are the person most likely to be able to help me fix it.

Here's what I get with the debug on win7 x64:

Code:
cgminer.exe caused an Access Violation at location 0040cb39 in module cgminer.exe Reading from location 00000000.

Registers:
eax=00000000 ebx=624836d0 ecx=74e02e09 edx=006cd8f8 esi=00000000 edi=00660eb0
eip=0040cb39 esp=0d9df460 ebp=08966908 iopl=0         nv up ei pl nz na pe nc
cs=0023  ss=002b  ds=002b  es=002b  fs=0053  gs=002b             efl=00010202

Call stack:
0040CB39  cgminer.exe:0040CB39
004663A0  cgminer.exe:004663A0
00459208  cgminer.exe:00459208

I can reproduce this on demand.  Just point it to ozcoin:3333, let it run a min or two, then unplug the ethernet cable.  I'm going to see if Visual Studio debugger can give me anything more useful.

M

MMinerMonitor author, monitor/auto/schedule reboots/alerts/remote/MobileMiner for Ants and Spondoolies! Latest (5.2). MPoolMonitor author, monitor stats/workers for most pools, global BTC stats (current/nxt diff/USD val/hashrate/calc)! Latest (v4.2) 
Buyer beware of Bitmain hardware and services.
kano
Legendary
*
Offline Offline

Activity: 1918


Linux since 1997 RedHat 4


View Profile
November 14, 2012, 01:47:28 AM
 #7970

i had to add the following to /etc/udev/rules.d/90-ztex.rules

SUBSYSTEM=="usb", ATTR{idVendor}=="221a", ATTR{idProduct}=="0100", MODE="0660", GROUP="plugdev"

that enables you to run cgminer without beeing root with ztex devices.
Ah thanks I'll have to add something along those lines to the FPGA-README (and the soon ASIC-README Cheesy)
i.e. like I added about getting linux to stay away from the MMQ

I've rewritten the MMQ code to use libusb so I've been looking a lot at the libusb stuff lately
Hopefully have it ready soon (working on tidying up resource handling - my original code ignored resource handing - to first just get it working ... but of course final code can't ignore that and it's meant re-arranging a bit ... anyway I've been running the main USB code for quite a few days now so I know it's good to go once I fix up the resource handing ... but after I do windows testing Sad ... which I always hate doing coz there's always some code that never seems to work properly on windows ...)

Pool: https://kano.is BTC: 1KanoiBupPiZfkwqB7rfLXAzPnoTshAVmb
CKPool and CGMiner developer, IRC FreeNode #ckpool and #cgminer kanoi
Help keep Bitcoin secure by mining on pools with Stratum, the best protocol to mine Bitcoins with ASIC hardware
P_Shep
Legendary
*
Offline Offline

Activity: 924


View Profile WWW
November 14, 2012, 02:38:14 AM
 #7971

Some segfaults:
(last 2 seconds before each)


Code:
[2012-11-11 18:20:46] BFL5: waited 4860ms until NONCE-FOUND:478314A0

 [2012-11-11 18:20:46]  Proof: 00000000a175fe4666e01658a45844471eae70937b56c35af04cfa8d442d487b
Target: 00000000ffff0000000000000000000000000000000000000000000000000000
TrgVal? YES (hash < target)
 [2012-11-11 18:20:46] Pushing submit work to work thread
 [2012-11-11 18:20:46] [thread 5: 4294967295 hashes, 857549.3 khash/sec]
 [2012-11-11 18:20:46] Popping work from get queue to get work
 [2012-11-11 18:20:46] Queueing getwork request to work thread
 [2012-11-11 18:20:46] Popping work to work thread
 [2012-11-11 18:20:46] Creating extra submit work thread
 [2012-11-11 18:20:46] DBG: sending http://pool.maxbtc.com:8332 submit RPC call: {"method": "getwork", "params": [ "000000014289ddbfe9c37fd96428ec20131f2d94e56477f5ac5c17ea00000478000000000384017b1d3e3c901567259f4c2c689c92dea7004e45cea062328d45f8f6fb9a50a05d2e1a0513c5a0148347000000800000000000000000000000000000000000000000000000000000000000000000000000000000000080020000" ], "id":1}
 [2012-11-11 18:20:46] Popping work to work thread
 [2012-11-11 18:20:46] Creating extra get work thread
 [2012-11-11 18:20:46] Successfully rolled work
 [2012-11-11 18:20:46] Successfully rolled work
 [2012-11-11 18:20:46] Pushing cloned available work to stage thread
 [2012-11-11 18:20:46] Pushing work to stage thread
 [2012-11-11 18:20:46] Pushing work to getwork queue
 [2012-11-11 18:20:46] Popping work to stage thread
 [2012-11-11 18:20:46] BFL5: block data: c19ca56b493abe8869622b8d69869918145fba1408b024295980ffa74ab28d50bbe1ef2650a05cc21a0513c5
 [2012-11-11 18:20:46] X-Roll-Ntime expiry set to 120
 [2012-11-11 18:20:46] PROOF OF WORK RESULT: true (yay!!!)
 [2012-11-11 18:20:46] Accepted a175fe46 Diff 1/1 BFL 5 pool 1
 [2012-11-11 18:20:46] BFL5  58.5C         | (5s):857.7M (avg):847.7Mh/s | A:4302 R:14 HW:0 U:8.9/m
 [2012-11-11 18:20:46] BFL4: waited 5050ms until NONCE-FOUND:E72B98E0,DF6A5563

 [2012-11-11 18:20:46]  Proof: 000000009b7678574dde48a2ce758325b2de13e706b2b1996242dc0ad6b4149b
Target: 00000000ffff0000000000000000000000000000000000000000000000000000
TrgVal? YES (hash < target)
 [2012-11-11 18:20:46] Pushing submit work to work thread
 [2012-11-11 18:20:46] Popping work to work thread
 [2012-11-11 18:20:46] Creating extra submit work thread
 [2012-11-11 18:20:46] DBG: sending http://pool.maxbtc.com:8332 submit RPC call: {"method": "getwork", "params": [ "000000014289ddbfe9c37fd96428ec20131f2d94e56477f5ac5c17ea00000478000000000384017b1d3e3c901567259f4c2c689c92dea7004e45cea062328d45f8f6fb9a50a05d301a0513c5e0982be7000000800000000000000000000000000000000000000000000000000000000000000000000000000000000080020000" ], "id":1}
 [2012-11-11 18:20:46]  Proof: 00000000b329c327850438afe14ca08800f30147cb1422ed112727d25776c1c6
Target: 00000000ffff0000000000000000000000000000000000000000000000000000
TrgVal? YES (hash < target)
 [2012-11-11 18:20:46] Pushing submit work to work thread
 [2012-11-11 18:20:46] Popping work to work thread
 [2012-11-11 18:20:46] Creating extra submit work thread
 [2012-11-11 18:20:46] DBG: sending http://pool.maxbtc.com:8332 submit RPC call: {"method": "getwork", "params": [ "000000014289ddbfe9c37fd96428ec20131f2d94e56477f5ac5c17ea00000478000000000384017b1d3e3c901567259f4c2c689c92dea7004e45cea062328d45f8f6fb9a50a05d301a0513c563556adf000000800000000000000000000000000000000000000000000000000000000000000000000000000000000080020000" ], "id":1}
 [2012-11-11 18:20:46] [thread 4: 4294967295 hashes, 821015.8 khash/sec]
 [2012-11-11 18:20:46] Popping work from get queue to get work
 [2012-11-11 18:20:46] Queueing getwork request to work thread
 [2012-11-11 18:20:46] Popping work to work thread
 [2012-11-11 18:20:46] Creating extra get work thread
 [2012-11-11 18:20:46] Successfully rolled work
 [2012-11-11 18:20:46] Successfully rolled work
 [2012-11-11 18:20:46] Pushing cloned available work to stage thread
 [2012-11-11 18:20:46] Pushing work to stage thread
 [2012-11-11 18:20:46] Pushing work to getwork queue
 [2012-11-11 18:20:46] Popping work to stage thread
 [2012-11-11 18:20:46] BFL4: block data: c19ca56b493abe8869622b8d69869918145fba1408b024295980ffa74ab28d50bbe1ef2650a05cc41a0513c5
 [2012-11-11 18:20:46] BFL2: waited 5050ms until NONCE-FOUND:9854A8A5,D5C5FDFD

 [2012-11-11 18:20:46]  Proof: 000000000e9d8809465f9eb3311dd236952c8e12c772038f65acf9d1a2b71f28
Target: 00000000ffff0000000000000000000000000000000000000000000000000000
TrgVal? YES (hash < target)
 [2012-11-11 18:20:46] Pushing submit work to work thread
 [2012-11-11 18:20:46]  Proof: 00000000a1608c63b76c2540ecf9c5c072ae4c92f311206c7c1b3e6006a00c7f
Target: 00000000ffff0000000000000000000000000000000000000000000000000000
TrgVal? YES (hash < target)
 [2012-11-11 18:20:46] Pushing submit work to work thread
 [2012-11-11 18:20:46] [thread 2: 4294967295 hashes, 823517.6 khash/sec]
 [2012-11-11 18:20:46] Popping work from get queue to get work
 [2012-11-11 18:20:46] Queueing getwork request to work thread
 [2012-11-11 18:20:46] Popping work to work thread
 [2012-11-11 18:20:46] Popping work to work thread
 [2012-11-11 18:20:46] Popping work to work thread
 [2012-11-11 18:20:46] Creating extra submit work thread
 [2012-11-11 18:20:46] DBG: sending http://pool.maxbtc.com:8332 submit RPC call: {"method": "getwork", "params": [ "000000014289ddbfe9c37fd96428ec20131f2d94e56477f5ac5c17ea00000478000000000384017b1d3e3c901567259f4c2c689c92dea7004e45cea062328d45f8f6fb9a50a05d321a0513c5a5a85498000000800000000000000000000000000000000000000000000000000000000000000000000000000000000080020000" ], "id":1}
 [2012-11-11 18:20:46] Creating extra submit work thread
 [2012-11-11 18:20:46] DBG: sending http://pool.maxbtc.com:8332 submit RPC call: {"method": "getwork", "params": [ "000000014289ddbfe9c37fd96428ec20131f2d94e56477f5ac5c17ea00000478000000000384017b1d3e3c901567259f4c2c689c92dea7004e45cea062328d45f8f6fb9a50a05d321a0513c5fdfdc5d5000000800000000000000000000000000000000000000000000000000000000000000000000000000000000080020000" ], "id":1}
 [2012-11-11 18:20:46] Creating extra get work thread
 [2012-11-11 18:20:46] Successfully rolled work
 [2012-11-11 18:20:46] Successfully rolled work
 [2012-11-11 18:20:46] Pushing cloned available work to stage thread
 [2012-11-11 18:20:46] Pushing work to stage thread
 [2012-11-11 18:20:46] Pushing work to getwork queue
 [2012-11-11 18:20:46] Popping work to stage thread
 [2012-11-11 18:20:46] BFL2: block data: c19ca56b493abe8869622b8d69869918145fba1408b024295980ffa74ab28d50bbe1ef2650a05cc61a0513c5
 [2012-11-11 18:20:46] X-Roll-Ntime expiry set to 120
 [2012-11-11 18:20:46] PROOF OF WORK RESULT: true (yay!!!)
 [2012-11-11 18:20:46] Accepted 9b767857 Diff 1/1 BFL 4 pool 1
 [2012-11-11 18:20:46] BFL4  53.0C         | (5s):824.5M (avg):815.7Mh/s | A:4019 R:16 HW:1 U:8.3/m
 [2012-11-11 18:20:46] X-Roll-Ntime expiry set to 120
 [2012-11-11 18:20:46] PROOF OF WORK RESULT: true (yay!!!)
 [2012-11-11 18:20:46] Accepted b329c327 Diff 1/1 BFL 4 pool 1
 [2012-11-11 18:20:46] BFL4  53.0C         | (5s):824.5M (avg):815.7Mh/s | A:4020 R:16 HW:1 U:8.3/m
 [2012-11-11 18:20:46] X-Roll-Ntime expiry set to 120
 [2012-11-11 18:20:46] PROOF OF WORK RESULT: true (yay!!!)
 [2012-11-11 18:20:46] Accepted a1608c63 Diff 1/1 BFL 2 pool 1
 [2012-11-11 18:20:46] X-Roll-Ntime expiry set to 120
 [2012-11-11 18:20:46] PROOF OF WORK RESULT: true (yay!!!)
 [2012-11-11 18:20:46] Accepted 0e9d8809 Diff 17/1 BFL 2 pool 1
 [2012-11-11 18:20:46] BFL2  49.5C         | (5s):824.8M (avg):815.6Mh/s | A:4004 R:4 HW:0 U:8.3/m
 [2012-11-11 18:20:46] BFL2  49.5C         | (5s):824.8M (avg):815.6Mh/s | A:4004 R:4 HW:0 U:8.3/m
 [2012-11-11 18:20:47] X-Roll-Ntime expiry set to 120
 [2012-11-11 18:20:47] Deleted block 47 from database
 [2012-11-11 18:20:47] New block: 03d441d62503d452b00f6b54...
 [2012-11-11 18:20:47] LONGPOLL from pool 1 detected new block
 [2012-11-11 18:20:47] Work stale due to block mismatch
 [2012-11-11 18:20:47] Discarded cloned or rolled work
 [2012-11-11 18:20:47] Work stale due to block mismatch
 [2012-11-11 18:20:47] Discarded cloned or rolled work
 [2012-11-11 18:20:47] Work stale due to block mismatch
 [2012-11-11 18:20:47] Discarded cloned or rolled work
 [2012-11-11 18:20:47] Work stale due to block mismatch
 [2012-11-11 18:20:47] Discarded work
 [2012-11-11 18:20:47] Work stale due to block mismatch
 [2012-11-11 18:20:47] Discarded work
 [2012-11-11 18:20:47] Discarded 5 stales that didn't match current hash
 [2012-11-11 18:20:47] Queueing getwork request to work thread
 [2012-11-11 18:20:47] Queueing getwork request to work thread
 [2012-11-11 18:20:47] Queueing getwork request to work thread
 [2012-11-11 18:20:47] Queueing getwork request to work thread
 [2012-11-11 18:20:47] Queueing getwork request to work thread
 [2012-11-11 18:20:47] [thread 1: 4294967295 hashes, 504054.7 khash/sec]
 [2012-11-11 18:20:47] Popping work from get queue to get work
 [2012-11-11 18:20:47] [thread 3: 4294967295 hashes, 504567.0 khash/sec]
 [2012-11-11 18:20:47] Work stale due to block mismatch
 [2012-11-11 18:20:47] Popping work from get queue to get work
 [2012-11-11 18:20:47] [thread 0: 4294967295 hashes, 632207.3 khash/sec]
 [2012-11-11 18:20:47] Popping work from get queue to get work
 [2012-11-11 18:20:47] Popping work from get queue to get work
 [2012-11-11 18:20:47] Work stale due to block mismatch
 [2012-11-11 18:20:47] Pushing converted work to stage thread
 [2012-11-11 18:20:47] Pushing work to stage thread
 [2012-11-11 18:20:47] Converted longpoll data to work
 [2012-11-11 18:20:47] Popping work to work thread
 [2012-11-11 18:20:47] Popping work from get queue to get work
 [2012-11-11 18:20:47] Popping work to work thread
 [2012-11-11 18:20:47] Popping work to work thread
 [2012-11-11 18:20:47] Popping work to work thread
 [2012-11-11 18:20:47] Popping work to work thread
 [2012-11-11 18:20:47] Pushing work to getwork queue
 [2012-11-11 18:20:47] Queueing getwork request to work thread
 [2012-11-11 18:20:47] Popping work to work thread
 [2012-11-11 18:20:47] Popping work to stage thread
 [2012-11-11 18:20:47] Popping work from get queue to get work
 [2012-11-11 18:20:47] Creating extra get work thread
 [2012-11-11 18:20:47] Creating extra get work thread
 [2012-11-11 18:20:47] DBG: sending http://pool.maxbtc.com:8332 get RPC call: {"method": "getwork", "params": [], "id":0}

 [2012-11-11 18:20:47] Creating extra get work thread
 [2012-11-11 18:20:47] DBG: sending http://pool.maxbtc.com:8332 get RPC call: {"method": "getwork", "params": [], "id":0}

 [2012-11-11 18:20:47] Creating extra get work thread
 [2012-11-11 18:20:47] DBG: sending http://pool.maxbtc.com:8332 get RPC call: {"method": "getwork", "params": [], "id":0}

 [2012-11-11 18:20:47] Creating extra get work thread
 [2012-11-11 18:20:47] DBG: sending http://pool.maxbtc.com:8332 get RPC call: {"method": "getwork", "params": [], "id":0}

 [2012-11-11 18:20:47] Creating extra get work thread
 [2012-11-11 18:20:47] DBG: sending http://pool.maxbtc.com:8332 get RPC call: {"method": "getwork", "params": [], "id":0}

 [2012-11-11 18:20:47] DBG: sending http://pool.maxbtc.com:8332 get RPC call: {"method": "getwork", "params": [], "id":0}

 [2012-11-11 18:20:47] BFL1: block data: 86d8ee3bd3be94343344c2ecf8a1c9d2871a8ca8823a71ed90822116c347f5484ed0444a50a05cfe1a0513c5
 [2012-11-11 18:20:47] X-Roll-Ntime expiry set to 120
 [2012-11-11 18:20:47] Pushing work to requesting thread
 [2012-11-11 18:20:47] X-Roll-Ntime expiry set to 120
 [2012-11-11 18:20:47] Pushing work to requesting thread
 [2012-11-11 18:20:47] Pushing work to getwork queue
 [2012-11-11 18:20:47] Queueing getwork request to work thread
 [2012-11-11 18:20:47] Popping work to work thread
 [2012-11-11 18:20:47] X-Roll-Ntime expiry set to 120
 [2012-11-11 18:20:47] Popping work to stage thread
 [2012-11-11 18:20:47] Pushing work to getwork queue
 [2012-11-11 18:20:47] Queueing getwork request to work thread
 [2012-11-11 18:20:47] Popping work to work thread
 [2012-11-11 18:20:47] Popping work to stage thread
 [2012-11-11 18:20:47] X-Roll-Ntime expiry set to 120
 [2012-11-11 18:20:47] Pushing work to requesting thread
 [2012-11-11 18:20:47] Creating extra get work thread
 [2012-11-11 18:20:47] DBG: sending http://pool.maxbtc.com:8332 get RPC call: {"method": "getwork", "params": [], "id":0}

 [2012-11-11 18:20:47] Creating extra get work thread
 [2012-11-11 18:20:47] DBG: sending http://pool.maxbtc.com:8332 get RPC call: {"method": "getwork", "params": [], "id":0}

 [2012-11-11 18:20:47] Pushing work to requesting thread
 [2012-11-11 18:20:47] X-Roll-Ntime expiry set to 120
 [2012-11-11 18:20:47] X-Roll-Ntime expiry set to 120
 [2012-11-11 18:20:47] BFL3: block data: 30b02cfc415360c8526a7bfe04e6a7ace5265a3e20b88b24a0e5df8e0a93357df3cb7a7f50a05cfe1a0513c5
 [2012-11-11 18:20:47] Pushing work to requesting thread
 [2012-11-11 18:20:47] Pushing work to getwork queue
 [2012-11-11 18:20:47] Queueing getwork request to work thread
 [2012-11-11 18:20:47] Popping work to work thread
 [2012-11-11 18:20:47] Creating extra get work thread
 [2012-11-11 18:20:47] DBG: sending http://pool.maxbtc.com:8332 get RPC call: {"method": "getwork", "params": [], "id":0}

 [2012-11-11 18:20:47] BFL0: block data: 482a3d222c7f8043e3bfd07e8d8caa8a0ff2af6b9bd6721ea23459e1e1f1bf2a10da390350a05cfe1a0513c5
 [2012-11-11 18:20:47] Popping work to stage thread
 [2012-11-11 18:20:47] Pushing work to getwork queue
 [2012-11-11 18:20:47] Queueing getwork request to work thread
 [2012-11-11 18:20:47] Popping work to work thread
 [2012-11-11 18:20:47] Creating extra get work thread
Segmentation fault


Code:
[2012-11-13 16:31:01] Successfully retrieved and deciphered work from pool 0 http://us2.eclipsemc.com:8337
 [2012-11-13 16:31:01] Pushing pool_getswork work for pool 0
 [2012-11-13 16:31:01] Pushing work to getwork queue
 [2012-11-13 16:31:01] Popping work to stage thread
 [2012-11-13 16:31:01] Generated stratum merkle 9b033548caf61e00a7dc37420056a6d7f25f3d1a790da43713710ee7757f4699
 [2012-11-13 16:31:01] Generated stratum header 000000025fb5d85df94db97b2cd5161f6b6765cd5437b58e9fc1cfc80000030f000000009b033548caf61e00a7dc37420056a6d7f25f3d1a790da43713710ee7757f469950a2e6451a04faeb00000000000000800000000000000000000000000000000000000000000000000000000000000000000000000000000080020000
 [2012-11-13 16:31:01] Work job_id 44fb nonce2 00000000 ntime 50a2e645
 [2012-11-13 16:31:01] Generated target 0000000000000000000000000000000000000000000000000000ffff00000000
 [2012-11-13 16:31:01] Deleted block 2 from database
 [2012-11-13 16:31:01] New block: 030f9fc1cfc85437b58e6b67...
 [2012-11-13 16:31:01] Work stale due to block mismatch
 [2012-11-13 16:31:01] Discarded work
 [2012-11-13 16:31:01] Work stale due to block mismatch
 [2012-11-13 16:31:01] Discarded cloned or rolled work
 [2012-11-13 16:31:01] Work stale due to block mismatch
 [2012-11-13 16:31:01] Discarded cloned or rolled work
 [2012-11-13 16:31:01] Work stale due to block mismatch
 [2012-11-13 16:31:01] Discarded cloned or rolled work
 [2012-11-13 16:31:01] Work stale due to block mismatch
 [2012-11-13 16:31:01] Discarded work
 [2012-11-13 16:31:01] Work stale due to block mismatch
 [2012-11-13 16:31:01] Discarded work
 [2012-11-13 16:31:01] Work stale due to block mismatch
 [2012-11-13 16:31:01] Discarded work
 [2012-11-13 16:31:01] Work stale due to block mismatch
 [2012-11-13 16:31:01] Discarded work
 [2012-11-13 16:31:01] Discarded 8 stales that didn't match current hash
 [2012-11-13 16:31:01] Queueing getwork request to work thread
 [2012-11-13 16:31:01] Queueing getwork request to work thread
 [2012-11-13 16:31:01] Queueing getwork request to work thread
 [2012-11-13 16:31:01] Queueing getwork request to work thread
 [2012-11-13 16:31:01] Queueing getwork request to work thread
 [2012-11-13 16:31:01] Queueing getwork request to work thread
 [2012-11-13 16:31:01] Queueing getwork request to work thread
 [2012-11-13 16:31:01] Queueing getwork request to work thread
 [2012-11-13 16:31:01] Stratum from pool 6 detected new block
 [2012-11-13 16:31:01] [thread 1: 0 hashes, 0.0 khash/sec]
 [2012-11-13 16:31:01] Work stale due to block mismatch
 [2012-11-13 16:31:01] Popping work from get queue to get work
 [2012-11-13 16:31:01] [thread 3: 0 hashes, 0.0 khash/sec]
 [2012-11-13 16:31:01] Work stale due to block mismatch
 [2012-11-13 16:31:01] Popping work from get queue to get work
 [2012-11-13 16:31:01] Work stale due to block mismatch
 [2012-11-13 16:31:01] Popping work from get queue to get work
 [2012-11-13 16:31:01] Work stale due to block mismatch
 [2012-11-13 16:31:01] Popping work from get queue to get work
 [2012-11-13 16:31:01] Work stale due to block mismatch
 [2012-11-13 16:31:01] Popping work from get queue to get work
 [2012-11-13 16:31:01] Popping work to work thread
 [2012-11-13 16:31:01] Popping work to work thread
 [2012-11-13 16:31:01] Popping work to work thread
 [2012-11-13 16:31:01] Popping work to work thread
 [2012-11-13 16:31:01] Popping work to work thread
 [2012-11-13 16:31:01] Popping work to work thread
 [2012-11-13 16:31:01] Popping work to work thread
 [2012-11-13 16:31:01] Popping work to work thread
 [2012-11-13 16:31:01] Work stale due to block mismatch
 [2012-11-13 16:31:01] Popping work from get queue to get work
 [2012-11-13 16:31:01] Creating extra get work thread
 [2012-11-13 16:31:01] DBG: sending http://pool.maxbtc.com:8332 get RPC call: {"method": "getwork", "params": [], "id":0}

 [2012-11-13 16:31:01] Creating extra get work thread
 [2012-11-13 16:31:01] DBG: sending http://pool.maxbtc.com:8332 get RPC call: {"method": "getwork", "params": [], "id":0}

 [2012-11-13 16:31:01] Creating extra get work thread
 [2012-11-13 16:31:01] DBG: sending http://pool.maxbtc.com:8332 get RPC call: {"method": "getwork", "params": [], "id":0}

 [2012-11-13 16:31:01] Creating extra get work thread
 [2012-11-13 16:31:01] DBG: sending http://pool.maxbtc.com:8332 get RPC call: {"method": "getwork", "params": [], "id":0}

 [2012-11-13 16:31:01] Creating extra get work thread
 [2012-11-13 16:31:01] DBG: sending http://pool.maxbtc.com:8332 get RPC call: {"method": "getwork", "params": [], "id":0}

 [2012-11-13 16:31:01] Creating extra get work thread
 [2012-11-13 16:31:01] DBG: sending http://pool.maxbtc.com:8332 get RPC call: {"method": "getwork", "params": [], "id":0}

 [2012-11-13 16:31:01] Creating extra get work thread
 [2012-11-13 16:31:01] DBG: sending http://pool.maxbtc.com:8332 get RPC call: {"method": "getwork", "params": [], "id":0}

 [2012-11-13 16:31:01] Creating extra get work thread
 [2012-11-13 16:31:01] Generated stratum merkle d098c3643766d932d440e7b5d0d12e0b954243f92870b7f572a3959fcec0171e
 [2012-11-13 16:31:01] Generated stratum header 000000025fb5d85df94db97b2cd5161f6b6765cd5437b58e9fc1cfc80000030f00000000d098c3643766d932d440e7b5d0d12e0b954243f92870b7f572a3959fcec0171e50a2e6451a04faeb00000000000000800000000000000000000000000000000000000000000000000000000000000000000000000000000080020000
 [2012-11-13 16:31:01] Work job_id 44fb nonce2 01000000 ntime 50a2e645
 [2012-11-13 16:31:01] Generated target 0000000000000000000000000000000000000000000000000000ffff00000000
 [2012-11-13 16:31:01] Pushing work to stage thread
 [2012-11-13 16:31:01] Pushing work to getwork queue
 [2012-11-13 16:31:01] Popping work to stage thread
 [2012-11-13 16:31:01] Queueing getwork request to work thread
 [2012-11-13 16:31:01] Popping work to work thread
 [2012-11-13 16:31:01] Creating extra get work thread
 [2012-11-13 16:31:01] Generated GBT header 00000002257a423d96321009a9da47a7cee37c139639375dbc98411d00000032000000000c59153f610913e6c220af2284a9f114e0238489d9b77ffd3346e98d2ac15bc550a2e6421a04faeb00000000000000800000000000000000000000000000000000000000000000000000000000000000000000000000000080020000
 [2012-11-13 16:31:01] Work coinbase 01000000010000000000000000000000000000000000000000000000000000000000000000ffffffff4a03d52b030550a2e64201fabe6d6d500b0ade937123e68a41bccc3433ef7fe91066ebf83cf1cabc650e737920c0df01000000000000000045636c697073654d433a20555332002e060000ffffffff01f0a2dc2a010000001976a914740ecaf436d5867903c722d783fc994c25a29b1588ac00000000
 [2012-11-13 16:31:01] Pushing work to stage thread
 [2012-11-13 16:31:01] Pushing work to getwork queue
 [2012-11-13 16:31:01] Popping work to stage thread
 [2012-11-13 16:31:01] Queueing getwork request to work thread
 [2012-11-13 16:31:01] Popping work to work thread
 [2012-11-13 16:31:01] Creating extra get work thread
 [2012-11-13 16:31:01] DBG: sending http://pool.maxbtc.com:8332 get RPC call: {"method": "getwork", "params": [], "id":0}

 [2012-11-13 16:31:01] BFL1: block data: fc8ca0e7557ca3c851f1c78c1526fe34ba610e3b1c61e496d509826b44fafc2bcec0171e50a2e6451a04faeb
 [2012-11-13 16:31:01] BFL3: block data: 7c838dd2cc7c4fa89c1914b9de441ece12fcd8a3ca172b06a3fdc010013c201f2ac15bc550a2e6421a04faeb
 [2012-11-13 16:31:01] X-Roll-Ntime expiry set to 120
 [2012-11-13 16:31:01] Pushing work to requesting thread
 [2012-11-13 16:31:01] Pushing work to getwork queue
 [2012-11-13 16:31:01] Popping work to stage thread
 [2012-11-13 16:31:01] Queueing getwork request to work thread
 [2012-11-13 16:31:01] Popping work to work thread
 [2012-11-13 16:31:01] Creating extra get work thread
 [2012-11-13 16:31:01] DBG: sending http://pool.maxbtc.com:8332 get RPC call: {"method": "getwork", "params": [], "id":0}

 [2012-11-13 16:31:01] X-Roll-Ntime expiry set to 120
 [2012-11-13 16:31:01] Pushing work to requesting thread
 [2012-11-13 16:31:01] Pushing work to getwork queue
 [2012-11-13 16:31:01] Queueing getwork request to work thread
 [2012-11-13 16:31:01] Popping work to work thread
 [2012-11-13 16:31:01] Popping work to stage thread
 [2012-11-13 16:31:01] X-Roll-Ntime expiry set to 120
 [2012-11-13 16:31:01] Pushing work to requesting thread
 [2012-11-13 16:31:01] Pushing work to getwork queue
 [2012-11-13 16:31:01] Queueing getwork request to work thread
 [2012-11-13 16:31:01] Popping work to work thread
 [2012-11-13 16:31:01] Popping work to stage thread
 [2012-11-13 16:31:01] X-Roll-Ntime expiry set to 120
 [2012-11-13 16:31:01] Pushing work to requesting thread
 [2012-11-13 16:31:01] Pushing work to getwork queue
 [2012-11-13 16:31:01] Queueing getwork request to work thread
 [2012-11-13 16:31:01] Popping work to work thread
 [2012-11-13 16:31:01] Popping work to stage thread
 [2012-11-13 16:31:01] BFL5: block data: eaf491fe701b9e1239dad056ea101ac65af72d3ad43e02c2fee7f312305b8b1fe7bf0abd50a2e6441a04faeb
 [2012-11-13 16:31:01] X-Roll-Ntime expiry set to 120
 [2012-11-13 16:31:01] Pushing work to requesting thread
 [2012-11-13 16:31:01] Pushing work to getwork queue
 [2012-11-13 16:31:01] Popping work to stage thread
 [2012-11-13 16:31:01] X-Roll-Ntime expiry set to 120
 [2012-11-13 16:31:01] BFL2: block data: 4b5788091bc56b380a08243ce6c21218e259909f7dd0dac2d9976f4948de16055809e0d550a2e6441a04faeb
 [2012-11-13 16:31:01] BFL0: block data: 79f9e8212c2fdb8504eff0dafb1025a5e24ca882f98b293c16119a187f878bf7bd03aeec50a2e6441a04faeb
 [2012-11-13 16:31:01] Pushing work to requesting thread
 [2012-11-13 16:31:01] Pushing work to getwork queue
 [2012-11-13 16:31:01] Popping work to stage thread
 [2012-11-13 16:31:01] Creating extra get work thread
 [2012-11-13 16:31:01] Successfully rolled work
 [2012-11-13 16:31:01] Successfully rolled work
 [2012-11-13 16:31:01] Pushing cloned available work to stage thread
 [2012-11-13 16:31:01] Pushing work to stage thread
 [2012-11-13 16:31:01] BFL4: block data: 2343dde473b4e96e1621e4145db33a79d5b2d793b67b53ec53db002596df0e9adba31ee450a2e6441a04faeb
 [2012-11-13 16:31:01] Pushing work to getwork queue
 [2012-11-13 16:31:01] Popping work to stage thread
 [2012-11-13 16:31:01] Creating extra get work thread
 [2012-11-13 16:31:01] Creating extra get work thread
 [2012-11-13 16:31:01] Successfully rolled work
 [2012-11-13 16:31:01] Successfully rolled work
 [2012-11-13 16:31:01] Pushing cloned available work to stage thread
 [2012-11-13 16:31:01] Pushing work to stage thread
 [2012-11-13 16:31:01] Pushing work to getwork queue
 [2012-11-13 16:31:01] Popping work to stage thread
 [2012-11-13 16:31:01] X-Roll-Ntime expiry set to 120
 [2012-11-13 16:31:01] Pushing work to requesting thread
 [2012-11-13 16:31:01] Pushing work to getwork queue
 [2012-11-13 16:31:01] Popping work to stage thread
 [2012-11-13 16:31:01] Generated GBT header 00000002257a423d96321009a9da47a7cee37c139639375dbc98411d00000032000000001e985babf3646630c396798f56b9a2663c56392517ef683d0eac7bbc3d1e697250a2e6211a04faeb00000000000000800000000000000000000000000000000000000000000000000000000000000000000000000000000080020000
 [2012-11-13 16:31:01] Work coinbase 01000000010000000000000000000000000000000000000000000000000000000000000000ffffffff5903d52b030550a2e62119fabe6d6d4296b05fcc5934f9595f0ebf4c94c45614b4a185f8a3eede0236858531818a3b01000000000000000045636c697073654d433a20416c756d696e756d2046616c636f6e7320310007000000ffffffff0110e7ae2b010000001976a914740ecaf436d5867903c722d783fc994c25a29b1588ac00000000
 [2012-11-13 16:31:01] Pushing work to stage thread
 [2012-11-13 16:31:01] Pushing work to getwork queue
 [2012-11-13 16:31:01] Popping work to stage thread
 [2012-11-13 16:31:01] X-Roll-Ntime expiry set to 120
 [2012-11-13 16:31:01] Pushing work to requesting thread
 [2012-11-13 16:31:01] Pushing work to getwork queue
 [2012-11-13 16:31:01] Popping work to stage thread
 [2012-11-13 16:31:02] X-Roll-Ntime expiry set to 120
 [2012-11-13 16:31:02] Pushing work to requesting thread
 [2012-11-13 16:31:02] Pushing work to getwork queue
 [2012-11-13 16:31:02] Popping work to stage thread
 [2012-11-13 16:31:02] X-Roll-Ntime expiry set to 120
 [2012-11-13 16:31:02] LONGPOLL from pool 2 requested work restart
 [2012-11-13 16:31:02] Work stale due to block mismatch
 [2012-11-13 16:31:02] Discarded cloned or rolled work
 [2012-11-13 16:31:02] Work stale due to block mismatch
 [2012-11-13 16:31:02] Discarded cloned or rolled work
 [2012-11-13 16:31:02] Work stale due to block mismatch
 [2012-11-13 16:31:02] Discarded cloned or rolled work
 [2012-11-13 16:31:02] Work stale due to block mismatch
 [2012-11-13 16:31:02] Discarded work
 [2012-11-13 16:31:02] Work stale due to block mismatch
 [2012-11-13 16:31:02] Discarded work
 [2012-11-13 16:31:02] Work stale due to block mismatch
 [2012-11-13 16:31:02] Discarded work
 [2012-11-13 16:31:02] Work stale due to block mismatch
 [2012-11-13 16:31:02] Discarded work
 [2012-11-13 16:31:02] Work stale due to block mismatch
 [2012-11-13 16:31:02] Discarded work
 [2012-11-13 16:31:02] Discarded 8 stales that didn't match current hash
 [2012-11-13 16:31:02] Queueing getwork request to work thread
 [2012-11-13 16:31:02] Popping work to work thread
 [2012-11-13 16:31:02] Queueing getwork request to work thread
 [2012-11-13 16:31:02] Queueing getwork request to work thread
 [2012-11-13 16:31:02] Queueing getwork request to work thread
 [2012-11-13 16:31:02] Queueing getwork request to work thread
 [2012-11-13 16:31:02] Queueing getwork request to work thread
 [2012-11-13 16:31:02] Queueing getwork request to work thread
 [2012-11-13 16:31:02] Queueing getwork request to work thread
 [2012-11-13 16:31:02] Popping work from get queue to get work
 [2012-11-13 16:31:02] Popping work from get queue to get work
 [2012-11-13 16:31:02] Work stale due to block mismatch
 [2012-11-13 16:31:02] Popping work from get queue to get work
 [2012-11-13 16:31:02] Work stale due to block mismatch
 [2012-11-13 16:31:02] Pushing converted work to stage thread
 [2012-11-13 16:31:02] Pushing work to stage thread
 [2012-11-13 16:31:02] Converted longpoll data to work
 [2012-11-13 16:31:02] Popping work to work thread
 [2012-11-13 16:31:02] Popping work to work thread
 [2012-11-13 16:31:02] Popping work to work thread
 [2012-11-13 16:31:02] Popping work to work thread
 [2012-11-13 16:31:02] Popping work to work thread
 [2012-11-13 16:31:02] Work stale due to block mismatch
 [2012-11-13 16:31:02] Popping work from get queue to get work
 [2012-11-13 16:31:02] Work stale due to block mismatch
 [2012-11-13 16:31:02] Popping work from get queue to get work
 [2012-11-13 16:31:02] Work stale due to block mismatch
 [2012-11-13 16:31:02] Popping work from get queue to get work
 [2012-11-13 16:31:02] Creating extra get work thread
 [2012-11-13 16:31:02] DBG: sending http://pool.maxbtc.com:8332 get RPC call: {"method": "getwork", "params": [], "id":0}

 [2012-11-13 16:31:02] Popping work to work thread
 [2012-11-13 16:31:02] Popping work to work thread
 [2012-11-13 16:31:02] Creating extra get work thread
 [2012-11-13 16:31:02] DBG: sending http://pool.maxbtc.com:8332 get RPC call: {"method": "getwork", "params": [], "id":0}

 [2012-11-13 16:31:02] Creating extra get work thread
 [2012-11-13 16:31:02] DBG: sending http://pool.maxbtc.com:8332 get RPC call: {"method": "getwork", "params": [], "id":0}

 [2012-11-13 16:31:02] Creating extra get work thread
 [2012-11-13 16:31:02] DBG: sending http://pool.maxbtc.com:8332 get RPC call: {"method": "getwork", "params": [], "id":0}

 [2012-11-13 16:31:02] Creating extra get work thread
 [2012-11-13 16:31:02] DBG: sending http://pool.maxbtc.com:8332 get RPC call: {"method": "getwork", "params": [], "id":0}

 [2012-11-13 16:31:02] Creating extra get work thread
 [2012-11-13 16:31:02] DBG: sending http://pool.maxbtc.com:8332 get RPC call: {"method": "getwork", "params": [], "id":0}

 [2012-11-13 16:31:02] Creating extra get work thread
 [2012-11-13 16:31:02] DBG: sending http://pool.maxbtc.com:8332 get RPC call: {"method": "getwork", "params": [], "id":0}

 [2012-11-13 16:31:02] Creating extra get work thread
 [2012-11-13 16:31:02] Generated stratum merkle d04dbc30a49f30578ddff41fd9745fb5d6cd2bb9c417da931df3ecf926881b4d
 [2012-11-13 16:31:02] Generated stratum header 000000025fb5d85df94db97b2cd5161f6b6765cd5437b58e9fc1cfc80000030f00000000d04dbc30a49f30578ddff41fd9745fb5d6cd2bb9c417da931df3ecf926881b4d50a2e6451a04faeb00000000000000800000000000000000000000000000000000000000000000000000000000000000000000000000000080020000
 [2012-11-13 16:31:02] Work job_id 44fb nonce2 02000000 ntime 50a2e645
 [2012-11-13 16:31:02] Generated target 0000000000000000000000000000000000000000000000000000ffff00000000
 [2012-11-13 16:31:02] Pushing work to stage thread
 [2012-11-13 16:31:02] Pushing work to getwork queue
 [2012-11-13 16:31:02] Queueing getwork request to work thread
 [2012-11-13 16:31:02] Popping work to work thread
 [2012-11-13 16:31:02] Creating extra get work thread
 [2012-11-13 16:31:02] Generated GBT header 00000002257a423d96321009a9da47a7cee37c139639375dbc98411d00000032000000006b73235bf240a8587a98b43f0cbb29d8e77a4629d4f924e28827ef65c2b5931050a2e6421a04faeb00000000000000800000000000000000000000000000000000000000000000000000000000000000000000000000000080020000
 [2012-11-13 16:31:02] Work coinbase 01000000010000000000000000000000000000000000000000000000000000000000000000ffffffff4a03d52b030550a2e64201fabe6d6d500b0ade937123e68a41bccc3433ef7fe91066ebf83cf1cabc650e737920c0df01000000000000000045636c697073654d433a20555332002f060000ffffffff01f0a2dc2a010000001976a914740ecaf436d5867903c722d783fc994c25a29b1588ac00000000
 [2012-11-13 16:31:02] Pushing work to stage thread
 [2012-11-13 16:31:02] Popping work to stage thread
 [2012-11-13 16:31:02] Pushing work to getwork queue
 [2012-11-13 16:31:02] Queueing getwork request to work thread
 [2012-11-13 16:31:02] Popping work to work thread
 [2012-11-13 16:31:02] Creating extra get work thread
 [2012-11-13 16:31:02] DBG: sending http://pool.maxbtc.com:8332 get RPC call: {"method": "getwork", "params": [], "id":0}

 [2012-11-13 16:31:02] Popping work to stage thread
 [2012-11-13 16:31:02] Pushing work to getwork queue
 [2012-11-13 16:31:02] Queueing getwork request to work thread
 [2012-11-13 16:31:02] BFL1: block data: 389305c26e9bef299e7a42b1addcb36aa892c0069dfd2b24a73b9888fc9169914381b58950a2e6451a04faeb
 [2012-11-13 16:31:02] Popping work to work thread
 [2012-11-13 16:31:02] Creating extra get work thread
 [2012-11-13 16:31:02] Recruited curl 8 for pool 2
 [2012-11-13 16:31:02] DBG: sending http://pool.maxbtc.com:8332 get RPC call: {"method": "getwork", "params": [], "id":0}

 [2012-11-13 16:31:02] Popping work to stage thread
 [2012-11-13 16:31:02] BFL3: block data: 6cb217d4ad9d194f2e254cf6fd3d62eb1a524dd1972ed5b55edd14197f7e773e26881b4d50a2e6451a04faeb
 [2012-11-13 16:31:02] X-Roll-Ntime expiry set to 120
 [2012-11-13 16:31:02] Pushing work to requesting thread
 [2012-11-13 16:31:02] Pushing work to getwork queue
 [2012-11-13 16:31:02] Queueing getwork request to work thread
 [2012-11-13 16:31:02] BFL0: block data: 44c2b899adb59c0e67475a4e43958164fdc1d88518ee6befe38c64be03bddb5cc2b5931050a2e6421a04faeb
 [2012-11-13 16:31:02] Popping work to work thread
 [2012-11-13 16:31:02] Creating extra get work thread
Segmentation fault

Code:
[2012-11-13 15:47:54] BFL5: waited 4860ms until NO-NONCE

 [2012-11-13 15:47:54] [thread 5: 4294967295 hashes, 854956.6 khash/sec]
 [2012-11-13 15:47:54] Reusing GBT work
 [2012-11-13 15:47:54] Generated GBT header 0000000270f1d7351612c377d62d321a5012ebe9f7aaa279da7274920000005e00000000f7a7fc461a7e9c6aa3f054ff14f1e9bd8d1da5ddee471b3d71f2e117fe1832ac50a2dc131a04faeb00000000000000800000000000000000000000000000000000000000000000000000000000000000000000000000000080020000
 [2012-11-13 15:47:54] Work coinbase 01000000010000000000000000000000000000000000000000000000000000000000000000ffffffff4a03cd2b030550a2dc133cfabe6d6d6c931c5d4647f044becd0e75ac8de746c671624e07b50f0148a90f23c56a982a01000000000000000045636c697073654d433a2055533200600a0000ffffffff012072ce2a010000001976a914740ecaf436d5867903c722d783fc994c25a29b1588ac00000000
 [2012-11-13 15:47:54] BFL5: block data: 674c2739a41a3cc2efae92522d1d1f31f75677691c9fac77f67e999c83bfdac7fe1832ac50a2dc131a04faeb
 [2012-11-13 15:47:55] BFL4: waited 5055ms until NONCE-FOUND:1CD16CA4,B4DB1680,ECDA43C0,917C3AC9

 [2012-11-13 15:47:55]  Proof: 000000009648d26711538d571bc58e5c4c043ce9ffb17cb781ba0ff066179222
Target: 000000004eb8451900341a970000000000000000000000000000000000000000
TrgVal? no (false positive; hash > target)
 [2012-11-13 15:47:55] Share below target
 [2012-11-13 15:47:55]  Proof: 00000000e0ffbc7633bea5a2343b30f68dab930a3e716d30467ff60f3cf38b50
Target: 000000004eb8451900341a970000000000000000000000000000000000000000
TrgVal? no (false positive; hash > target)
 [2012-11-13 15:47:55] Share below target
 [2012-11-13 15:47:55]  Proof: 00000000489fa5c291b30b9279d96f769ac4f71790fa86d2d075ba0c0306088b
Target: 000000004eb8451900341a970000000000000000000000000000000000000000
TrgVal? YES (hash < target)
 [2012-11-13 15:47:55] Pushing submit work to work thread
 [2012-11-13 15:47:55] Popping work to work thread
 [2012-11-13 15:47:55]  Proof: 00000000d1ee05ad5129657848682581f896f7eaa214e1e794fccec30de9227b
Target: 000000004eb8451900341a970000000000000000000000000000000000000000
TrgVal? no (false positive; hash > target)
 [2012-11-13 15:47:55] Share below target
 [2012-11-13 15:47:55] [thread 4: 4294967295 hashes, 819635.2 khash/sec]
 [2012-11-13 15:47:55] Reusing GBT work
 [2012-11-13 15:47:55] Creating extra submit work thread
 [2012-11-13 15:47:55] DBG: sending http://us2.eclipsemc.com:8337 submit RPC call: {"id": 0, "method": "submitblock", "params": ["0200000035d7f17077c312161a322dd6e9eb125079a2aaf7927472da5e000000000000000a10d1676cd18a9a5051245af90fbf3336485935c2e9462a777b72f8863f73d913dca250ebfa041aecda43c0fd050101000000010000000000000000000000000000000000000000000000000000000000000000ffffffff4a03cd2b030550a2dc133cfabe6d6d6c931c5d4647f044becd0e75ac8de746c671624e07b50f0148a90f23c56a982a01000000000000000045636c697073654d433a20555332005b0a0000ffffffff012072ce2a010000001976a914740ecaf436d5867903c722d783fc994c25a29b1588ac00000000", {}]}
 [2012-11-13 15:47:55] Generated GBT header 0000000270f1d7351612c377d62d321a5012ebe9f7aaa279da7274920000005e000000003eaaacfc1bcbec157855538b6fe98f293f1ab31b70e1c7688cca6c94c48c81c350a2dc131a04faeb00000000000000800000000000000000000000000000000000000000000000000000000000000000000000000000000080020000
 [2012-11-13 15:47:55] Work coinbase 01000000010000000000000000000000000000000000000000000000000000000000000000ffffffff4a03cd2b030550a2dc133cfabe6d6d6c931c5d4647f044becd0e75ac8de746c671624e07b50f0148a90f23c56a982a01000000000000000045636c697073654d433a2055533200610a0000ffffffff012072ce2a010000001976a914740ecaf436d5867903c722d783fc994c25a29b1588ac00000000
 [2012-11-13 15:47:55] BFL2: waited 5050ms until NONCE-FOUND:01419815,B00228B7

 [2012-11-13 15:47:55]  Proof: 00000000f835fdba9c3256bcce92553a7cb5968de1a3b30c6b23c31439a89332
Target: 000000004eb8451900341a970000000000000000000000000000000000000000
TrgVal? no (false positive; hash > target)
 [2012-11-13 15:47:55] Share below target
 [2012-11-13 15:47:55]  Proof: 00000000408676b75d8fc6f4b430d5bee5969731c907d9aa470dae62d2882a30
Target: 000000004eb8451900341a970000000000000000000000000000000000000000
TrgVal? YES (hash < target)
 [2012-11-13 15:47:55] Pushing submit work to work thread
 [2012-11-13 15:47:55] Popping work to work thread
 [2012-11-13 15:47:55] [thread 2: 4294967295 hashes, 820949.9 khash/sec]
 [2012-11-13 15:47:55] Reusing GBT work
 [2012-11-13 15:47:55] Generated GBT header 0000000270f1d7351612c377d62d321a5012ebe9f7aaa279da7274920000005e00000000215f7ed70895b0dd08cca1dbe4b65932969d1d1e6a72189ea2ebcb0de3469c3650a2dc131a04faeb00000000000000800000000000000000000000000000000000000000000000000000000000000000000000000000000080020000
 [2012-11-13 15:47:55] Creating extra submit work thread
 [2012-11-13 15:47:55] Work coinbase 01000000010000000000000000000000000000000000000000000000000000000000000000ffffffff4a03cd2b030550a2dc133cfabe6d6d6c931c5d4647f044becd0e75ac8de746c671624e07b50f0148a90f23c56a982a01000000000000000045636c697073654d433a2055533200620a0000ffffffff012072ce2a010000001976a914740ecaf436d5867903c722d783fc994c25a29b1588ac00000000
 [2012-11-13 15:47:55] DBG: sending http://us2.eclipsemc.com:8337 submit RPC call: {"id": 0, "method": "submitblock", "params": ["0200000035d7f17077c312161a322dd6e9eb125079a2aaf7927472da5e00000000000000e45f5a64d130f3c725c9c2aa0fb0568d6640e5f7aa1e93682a561fe1f45904c513dca250ebfa041ab00228b7fd050101000000010000000000000000000000000000000000000000000000000000000000000000ffffffff4a03cd2b030550a2dc133cfabe6d6d6c931c5d4647f044becd0e75ac8de746c671624e07b50f0148a90f23c56a982a01000000000000000045636c697073654d433a20555332005c0a0000ffffffff012072ce2a010000001976a914740ecaf436d5867903c722d783fc994c25a29b1588ac00000000", {}]}
 [2012-11-13 15:47:55] BFL4: block data: 16bbd8712ae096ad0c0d44edc51d76e202d088bf4a4932595a09636d894b0a55c48c81c350a2dc131a04faeb
 [2012-11-13 15:47:55] BFL2: block data: 1a09074293395870e98a0c3efa2e96304c988bec2c06b36e04a0945d50f8fb07e3469c3650a2dc131a04faeb
 [2012-11-13 15:47:55] PROOF OF WORK RESULT: true (yay!!!)
 [2012-11-13 15:47:55] Accepted 489fa5c2 Diff 3/3 BFL 4 pool 0
 [2012-11-13 15:47:55] BFL4  52.5C         | (5s):803.0M (avg):817.4Mh/s | A:1302 R:1 HW:0 U:8.3/m
 [2012-11-13 15:47:55] PROOF OF WORK RESULT: true (yay!!!)
 [2012-11-13 15:47:55] Accepted 408676b7 Diff 3/3 BFL 2 pool 0
 [2012-11-13 15:47:55] BFL2  49.5C         | (5s):805.2M (avg):817.0Mh/s | A:1268 R:3 HW:0 U:8.0/m
 [2012-11-13 15:47:56] BFL0: waited 4825ms until NONCE-FOUND:8AF3DB6F

 [2012-11-13 15:47:56]  Proof: 0000000085f7e5683443cc4e57c4c68af27ab45ec06f380a9d9401ad59a480ed
Target: 000000004eb8451900341a970000000000000000000000000000000000000000
TrgVal? no (false positive; hash > target)
 [2012-11-13 15:47:56] Share below target
 [2012-11-13 15:47:56] [thread 0: 8589934590 hashes, 861678.0 khash/sec]
 [2012-11-13 15:47:56] Reusing GBT work
 [2012-11-13 15:47:56] Generated GBT header 0000000270f1d7351612c377d62d321a5012ebe9f7aaa279da7274920000005e00000000d6cfc05279814d0d4c8d95919e8002fae7ce6aad0db0f96ee83f1b5255ff28e950a2dc131a04faeb00000000000000800000000000000000000000000000000000000000000000000000000000000000000000000000000080020000
 [2012-11-13 15:47:56] Work coinbase 01000000010000000000000000000000000000000000000000000000000000000000000000ffffffff4a03cd2b030550a2dc133cfabe6d6d6c931c5d4647f044becd0e75ac8de746c671624e07b50f0148a90f23c56a982a01000000000000000045636c697073654d433a2055533200630a0000ffffffff012072ce2a010000001976a914740ecaf436d5867903c722d783fc994c25a29b1588ac00000000
Segmentation fault

Code:
[2012-11-12 22:31:19] X-Roll-Ntime expiry set to 120
 [2012-11-12 22:31:19] Deleted block 53 from database
 [2012-11-12 22:31:19] New block: 03741af2fe54905bba547642...
 [2012-11-12 22:31:19] LONGPOLL from pool 2 detected new block
 [2012-11-12 22:31:19] Work stale due to block mismatch
 [2012-11-12 22:31:19] Discarded work
 [2012-11-12 22:31:19] Work stale due to block mismatch
 [2012-11-12 22:31:19] Discarded work
 [2012-11-12 22:31:19] Work stale due to block mismatch
 [2012-11-12 22:31:19] Discarded work
 [2012-11-12 22:31:19] Work stale due to block mismatch
 [2012-11-12 22:31:19] Discarded work
 [2012-11-12 22:31:19] Work stale due to block mismatch
 [2012-11-12 22:31:19] Discarded work
 [2012-11-12 22:31:19] Work stale due to block mismatch
 [2012-11-12 22:31:19] Discarded work
 [2012-11-12 22:31:19] Work stale due to block mismatch
 [2012-11-12 22:31:19] Discarded work
 [2012-11-12 22:31:19] Discarded 7 stales that didn't match current hash
 [2012-11-12 22:31:19] Queueing getwork request to work thread
 [2012-11-12 22:31:19] Queueing getwork request to work thread
 [2012-11-12 22:31:19] Queueing getwork request to work thread
 [2012-11-12 22:31:19] Queueing getwork request to work thread
 [2012-11-12 22:31:19] Queueing getwork request to work thread
 [2012-11-12 22:31:19] Queueing getwork request to work thread
 [2012-11-12 22:31:19] Popping work to work thread
 [2012-11-12 22:31:19] Popping work to work thread
 [2012-11-12 22:31:19] Popping work to work thread
 [2012-11-12 22:31:19] Popping work to work thread
 [2012-11-12 22:31:19] Popping work to work thread
 [2012-11-12 22:31:19] Popping work to work thread
 [2012-11-12 22:31:19] Queueing getwork request to work thread
 [2012-11-12 22:31:19] Popping work to work thread
 [2012-11-12 22:31:19] Work stale due to block mismatch
 [2012-11-12 22:31:19] Popping work from get queue to get work
 [2012-11-12 22:31:19] Work stale due to block mismatch
 [2012-11-12 22:31:19] Popping work from get queue to get work
 [2012-11-12 22:31:19] Work stale due to block mismatch
 [2012-11-12 22:31:19] Popping work from get queue to get work
 [2012-11-12 22:31:19] Work stale due to block mismatch
 [2012-11-12 22:31:19] Popping work from get queue to get work
 [2012-11-12 22:31:19] Work stale due to block mismatch
 [2012-11-12 22:31:19] Popping work from get queue to get work
 [2012-11-12 22:31:19] Work stale due to block mismatch
 [2012-11-12 22:31:19] Pushing converted work to stage thread
 [2012-11-12 22:31:19] Pushing work to stage thread
 [2012-11-12 22:31:19] Converted longpoll data to work
 [2012-11-12 22:31:19] Work stale due to block mismatch
 [2012-11-12 22:31:19] Popping work from get queue to get work
 [2012-11-12 22:31:19] Pushing work to getwork queue
 [2012-11-12 22:31:19] Queueing getwork request to work thread
 [2012-11-12 22:31:19] Popping work to work thread
 [2012-11-12 22:31:19] Popping work to stage thread
 [2012-11-12 22:31:19] Creating extra get work thread
 [2012-11-12 22:31:19] DBG: sending http://pool.maxbtc.com:8332 get RPC call: {"method": "getwork", "params": [], "id":0}

 [2012-11-12 22:31:19] Creating extra get work thread
 [2012-11-12 22:31:19] DBG: sending http://pool.maxbtc.com:8332 get RPC call: {"method": "getwork", "params": [], "id":0}

 [2012-11-12 22:31:19] Creating extra get work thread
 [2012-11-12 22:31:19] DBG: sending http://pool.maxbtc.com:8332 get RPC call: {"method": "getwork", "params": [], "id":0}

 [2012-11-12 22:31:19] Creating extra get work thread
 [2012-11-12 22:31:19] DBG: sending http://pool.maxbtc.com:8332 get RPC call: {"method": "getwork", "params": [], "id":0}

 [2012-11-12 22:31:19] Creating extra get work thread
 [2012-11-12 22:31:19] DBG: sending http://pool.maxbtc.com:8332 get RPC call: {"method": "getwork", "params": [], "id":0}

 [2012-11-12 22:31:19] Creating extra get work thread
 [2012-11-12 22:31:19] DBG: sending http://pool.maxbtc.com:8332 get RPC call: {"method": "getwork", "params": [], "id":0}

 [2012-11-12 22:31:19] Creating extra get work thread
 [2012-11-12 22:31:19] DBG: sending http://pool.maxbtc.com:8332 get RPC call: {"method": "getwork", "params": [], "id":0}

 [2012-11-12 22:31:19] BFL1: block data: e515bc24066b4e52d0f9f5e7c97a17c53a23ee2ec4c4d9e69a5336537135ccd6b0f601c550a1e9361a04faeb
 [2012-11-12 22:31:19] Creating extra get work thread
 [2012-11-12 22:31:19] DBG: sending http://pool.maxbtc.com:8332 get RPC call: {"method": "getwork", "params": [], "id":0}

 [2012-11-12 22:31:19] X-Roll-Ntime expiry set to 120
 [2012-11-12 22:31:19] Pushing work to requesting thread
 [2012-11-12 22:31:19] Pushing work to getwork queue
 [2012-11-12 22:31:19] Queueing getwork request to work thread
 [2012-11-12 22:31:19] Popping work to work thread
 [2012-11-12 22:31:19] Creating extra get work thread
Segmentation fault
MinorMiner
Member
**
Offline Offline

Activity: 75


View Profile
November 14, 2012, 03:09:29 AM
 #7972

It's not a mistake. Previously cgminer did not check the backup pools were working. Now it does check them even if not mining on them.
I know that, but Mt. Red couldn't possibly be going down as often as cgminer is saying. Also, I'm pretty sure us1.ozco.in is currently running just fine.

Mt Red has horrible, horrible 'uptime'. I gave up mining with them since they seemed to be inaccessible lots of times at different times of the day, sometimes for hours.

All contributions gratefully received 1G6Wia22Jnpz2DUisA5EoAC6KJ7MHm6QyP
Ginsley
Full Member
***
Offline Offline

Activity: 182


View Profile
November 14, 2012, 06:18:16 AM
 #7973

i had to add the following to /etc/udev/rules.d/90-ztex.rules

SUBSYSTEM=="usb", ATTR{idVendor}=="221a", ATTR{idProduct}=="0100", MODE="0660", GROUP="plugdev"

that enables you to run cgminer without beeing root with ztex devices.

Hi,
thanks for the try to help Wink
The file you mentioned wasnt existing on my RPi - i have opened it with sudo nano, it was empty. Writing the line into the file didnt change the behaviour.
Now i tried to call cgminer -D -T --verbose while logged in as root user. The error message i got has changed:

root@raspberrypi:/home/pi/cgminer# cgminer -D -T --verbose
 [2012-11-14 06:13:12] Started cgminer 2.9.3                   
 [2012-11-14 06:13:12] Not a ZTEX device 1d6b:0002                   
 [2012-11-14 06:13:12] Not a ZTEX device 0424:9512                   
 [2012-11-14 06:13:12] Not a ZTEX device 0424:ec00                   
 [2012-11-14 06:13:12] Not a ZTEX device 05e3:0608                   
 [2012-11-14 06:13:12] Not a ZTEX device 046d:c03e                   
 [2012-11-14 06:13:12] Not a ZTEX device 05e3:0608                   
 [2012-11-14 06:13:12] Not a ZTEX device 046a:0023                   
 [2012-11-14 06:13:12] Ztex check device: Failed to read ztex descriptor with err -9                   
 [2012-11-14 06:13:12] prepare device: -9                   
All devices disabled, cannot mine!

Any further hints? (Ya - i'm a Linux noob - first steps in Linux)

1HYeuyxKHGmFs1ARvAPGgmEW9pW6u8L26U
mdude77
Legendary
*
Offline Offline

Activity: 1358


View Profile
November 14, 2012, 11:23:03 AM
 #7974

I cannot reproduce the windows crashes as the only machine I have that can run windows can barely mine at all.

If you are having windows crashes, I need your help to debug the issues.

See here for how you can help:
http://ck.kolivas.org/apps/cgminer/debug/

If you have a reliable test case that crashes cgminer then you are the person most likely to be able to help me fix it.

I think I might know why the debug output isn't giving you much info.  It appears that the cgminer.exe in this folder is the same as the production one.  Which means the production one is full of debug indicators, or, more likely, the debug one has the production executable without debug indicators.

M

MMinerMonitor author, monitor/auto/schedule reboots/alerts/remote/MobileMiner for Ants and Spondoolies! Latest (5.2). MPoolMonitor author, monitor stats/workers for most pools, global BTC stats (current/nxt diff/USD val/hashrate/calc)! Latest (v4.2) 
Buyer beware of Bitmain hardware and services.
-ck
Moderator
Legendary
*
Offline Offline

Activity: 1988


Ruu \o/


View Profile WWW
November 14, 2012, 11:25:05 AM
 #7975

I cannot reproduce the windows crashes as the only machine I have that can run windows can barely mine at all.

If you are having windows crashes, I need your help to debug the issues.

See here for how you can help:
http://ck.kolivas.org/apps/cgminer/debug/

If you have a reliable test case that crashes cgminer then you are the person most likely to be able to help me fix it.

I think I might know why the debug output isn't giving you much info.  It appears that the cgminer.exe in this folder is the same as the production one.  Which means the production one is full of debug indicators, or, more likely, the debug one has the production executable without debug indicators.

M
Doh!  Roll Eyes fix soon...

EDIT: Reuploaded, please try again

Primary developer/maintainer for cgminer and ckpool/ckproxy.
Pooled mine at kano.is, solo mine at solo.ckpool.org
-ck
bitcoindaddy
Hero Member
*****
Offline Offline

Activity: 481


View Profile
November 14, 2012, 03:36:30 PM
 #7976

Are there any issues with running multiple instances of cgminer as long as they are talking to different devices? Does cgminer hold any locks or open any pipes or temp files?
Ginsley
Full Member
***
Offline Offline

Activity: 182


View Profile
November 14, 2012, 04:02:32 PM
 #7977

i had to add the following to /etc/udev/rules.d/90-ztex.rules

SUBSYSTEM=="usb", ATTR{idVendor}=="221a", ATTR{idProduct}=="0100", MODE="0660", GROUP="plugdev"

that enables you to run cgminer without beeing root with ztex devices.

Hi,
thanks for the try to help Wink
The file you mentioned wasnt existing on my RPi - i have opened it with sudo nano, it was empty. Writing the line into the file didnt change the behaviour.
Now i tried to call cgminer -D -T --verbose while logged in as root user. The error message i got has changed:

root@raspberrypi:/home/pi/cgminer# cgminer -D -T --verbose
 [2012-11-14 06:13:12] Started cgminer 2.9.3                   
 [2012-11-14 06:13:12] Not a ZTEX device 1d6b:0002                   
 [2012-11-14 06:13:12] Not a ZTEX device 0424:9512                   
 [2012-11-14 06:13:12] Not a ZTEX device 0424:ec00                   
 [2012-11-14 06:13:12] Not a ZTEX device 05e3:0608                   
 [2012-11-14 06:13:12] Not a ZTEX device 046d:c03e                   
 [2012-11-14 06:13:12] Not a ZTEX device 05e3:0608                   
 [2012-11-14 06:13:12] Not a ZTEX device 046a:0023                   
 [2012-11-14 06:13:12] Ztex check device: Failed to read ztex descriptor with err -9                   
 [2012-11-14 06:13:12] prepare device: -9                   
All devices disabled, cannot mine!

Any further hints? (Ya - i'm a Linux noob - first steps in Linux)

I got it running! Problem was the missing firmware on the ZTex board... after preloading it on my Windows system and plugging the usb into the RPi it works now =) Very happy about that! Thanks for the help.

1HYeuyxKHGmFs1ARvAPGgmEW9pW6u8L26U
twmz
Hero Member
*****
Offline Offline

Activity: 737



View Profile
November 14, 2012, 04:14:45 PM
 #7978

Are there any issues with running multiple instances of cgminer as long as they are talking to different devices? Does cgminer hold any locks or open any pipes or temp files?

I do this without any problems as a way to point my BFL Singles to different pools than my GPUs.

Was I helpful?  1TwmzX1wBxNF2qtAJRhdKmi2WyLZ5VHRs
WoT, GPG

Bitrated user: ewal.
rav3n_pl
Legendary
*
Offline Offline

Activity: 1320


Don`t panic! Organize!


View Profile
November 14, 2012, 05:08:39 PM
 #7979

Are there any issues with running multiple instances of cgminer as long as they are talking to different devices? Does cgminer hold any locks or open any pipes or temp files?

I do this without any problems as a way to point my BFL Singles to different pools than my GPUs.
Or use different workers for each cgminer instance.

1Rav3nkMayCijuhzcYemMiPYsvcaiwHni  Bitcoin stuff on my OneDrive
My RPC CoinControl for any coin https://bitcointalk.org/index.php?topic=929954
My SatoshDice bot https://bitcointalk.org/index.php?topic=897685
crazyates
Legendary
*
Offline Offline

Activity: 938



View Profile
November 14, 2012, 06:22:46 PM
 #7980

I set it up, but it appears to take time for this problem to come up. I'll let you know when I have something.
Much appreciated! Occasionally nothing useful comes from the information, or windows decides to disable the debugger, but at least we have tried.
Quote
cgminer-db.exe caused an Access Violation at location 63656e6e Reading from location 63656e6e.

Registers:
eax=00000000 ebx=070fd26c ecx=070fd72d edx=070fd72e esi=6f43203a edi=070fd77c
eip=772015de esp=070fd258 ebp=00002746 iopl=0         nv up ei pl zr na po nc
cs=0023  ss=002b  ds=002b  es=002b  fs=0053  gs=002b             efl=00000246

Call stack:
772015DE  ntdll.dll:772015DE  ZwRaiseException
771F014E  ntdll.dll:771F014E  KiUserExceptionDispatcher
070FD26C
070FD2BC
Did it not give you the option to debug it when it crashed?  Huh

I tried the version you reuploaded. Is that better?

Quote
cgminer-db.exe caused an Access Violation at location 63656e6e Reading from location 63656e6e.

Registers:
eax=00000000 ebx=0572d26c ecx=0572d72d edx=0572d72e esi=6f43203a edi=0572d77c
eip=777515de esp=0572d258 ebp=00002746 iopl=0         nv up ei pl zr na po nc
cs=0023  ss=002b  ds=002b  es=002b  fs=0053  gs=002b             efl=00000246

Call stack:
777515DE  ntdll.dll:777515DE  ZwRaiseException
7774014E  ntdll.dll:7774014E  KiUserExceptionDispatcher
0572D26C
0572D2BC

Tips? 1crazy8pMqgwJ7tX7ZPZmyPwFbc6xZKM9
Previous Trade History - Sale Thread
Pages: « 1 ... 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 [399] 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 ... 830 »
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!