Bitcoin Forum
December 11, 2016, 06:38:36 AM *
News: To be able to use the next phase of the beta forum software, please ensure that your email address is correct/functional.
 
   Home   Help Search Donate Login Register  
Pages: « 1 ... 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 [531] 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 ... 830 »
  Print  
Author Topic: OFFICIAL CGMINER mining software thread for linux/win/osx/mips/arm/r-pi 4.9.2  (Read 4827879 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.
dwolfman
Full Member
***
Offline Offline

Activity: 224



View Profile WWW
June 02, 2013, 07:48:01 PM
 #10601

Windows 8 went back to Windows Defender and it still doesn't work for server 2012 sadly. Guess no av for me.

Ah, well I had not messed with 2012 much.  Tried out an eval of Win 8, which lasted all of 5 minutes after it was installed because I can't stand the Metro interface.  Server 2012 at least goes to a somewhat normal desktop.  Can't see myself using it much either.

So, looks like I'll be mining with cgminer on Win 7 and/or Linux unless Microsoft comes to their senses and goes back to making normal desktop Windows like everyone wants.  Wink

Wanna send coins my way? 1BY2rZduB9j8Exa4158QXPFJoJ2NWU1NGf or just scan the QR code in my avatar.  :-)
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1481438316
Hero Member
*
Offline Offline

Posts: 1481438316

View Profile Personal Message (Offline)

Ignore
1481438316
Reply with quote  #2

1481438316
Report to moderator
bitpop
Legendary
*
Offline Offline

Activity: 1932


https://keybase.io/bitpop


View Profile WWW
June 02, 2013, 07:50:05 PM
 #10602

Yeah well i got server 2012 free so its nice. I used a mod to get the start button back. Hope these retards bring it back with 8.1.

Windows 8 went back to Windows Defender and it still doesn't work for server 2012 sadly. Guess no av for me.

Ah, well I had not messed with 2012 much.  Tried out an eval of Win 8, which lasted all of 5 minutes after it was installed because I can't stand the Metro interface.  Server 2012 at least goes to a somewhat normal desktop.  Can't see myself using it much either.

So, looks like I'll be mining with cgminer on Win 7 and/or Linux unless Microsoft comes to their senses and goes back to making normal desktop Windows like everyone wants.  Wink

Reputation  |  PGP  |  DigitalOcean  |  OpenVPN 2GB Free  |  TorGuard  |  Ethereum Classic
Bitcoin: 3DSh6AnmvBpDJFUz2mnLirMLmTMcFs9nDm
Bitmessage: BM-2cXN9j8NFT2n1FxDVQ6HQq4D4MZuuaBFyb
bitcoinminer42
Hero Member
*****
Offline Offline

Activity: 700


in math we trust


View Profile
June 02, 2013, 08:34:36 PM
 #10603

i'm using Ubuntu 12.04 and there are no ttyUSB* device...
where do i find my USB devices?


BTC and XRP (bitcoin and ripple) - Senior
lenny_
Legendary
*
Offline Offline

Activity: 953



View Profile
June 02, 2013, 08:40:38 PM
 #10604

Latest code from git:
Code:
# cgminer -T
 [2013-06-02 21:42:15] Started cgminer 3.2.0
 [2013-06-02 21:42:15] Loaded configuration file /root/.cgminer/cgminer.conf
 [2013-06-02 21:42:15] USB init, set config 1 in use - CMR device 5:75
 [2013-06-02 21:42:15] Icarus detect (5:75) failed to initialise (incorrect device?)
 [2013-06-02 21:42:15] USB init, set config 1 in use - CMR device 5:74
 [2013-06-02 21:42:15] Icarus detect (5:74) failed to initialise (incorrect device?)
 [2013-06-02 21:42:15] No devices detected!
 [2013-06-02 21:42:15] Waiting for USB hotplug devices or press q to quit
 [2013-06-02 21:42:15] Probing for an alive pool
Code:
# cgminer --ndevs
 [2013-06-02 21:43:47] USB all: found 17 devices - listing known devices
.USB dev 0: Bus 5 Device 75 ID: 0403:8350
  Manufacturer: 'FTDI'
  Product: 'Cairnsmore1'
.USB dev 1: Bus 5 Device 74 ID: 0403:8350
  Manufacturer: 'FTDI'
  Product: 'Cairnsmore1'
 [2013-06-02 21:43:47] 2 known USB devices
FPGA Cairnsmore1 are no longer working with cgminer. I reverted cgminer to 102e907a475723ceff0de915227296190e2f3beb (3.1.0).
Any solutions? Smiley
elchorizo
Full Member
***
Offline Offline

Activity: 182


View Profile
June 02, 2013, 08:41:32 PM
 #10605

Got it working!

I went back to cgminer 3.1.1 and used the -S option to tell it where to look.

I'll play with the other settings now and see if I can get it running without root, etc.

---

elchorizo - Tip jar address?

Tip the cgminer folks instead mate, they do 1000x more then me and deserve it MUCH more.

BTC: 1Chorizo6WNabZxVfQyGtvF4JiRt7Hexxb
LTC: Lchorizoy8ck7Arbby8LDnw5wAmi8h6Hzb
Luke-Jr
Legendary
*
Offline Offline

Activity: 2100



View Profile
June 02, 2013, 08:41:41 PM
 #10606

Code:
# cgminer -T
 [2013-06-02 21:42:15] Started cgminer 3.2.0
 [2013-06-02 21:42:15] Loaded configuration file /root/.cgminer/cgminer.conf
 [2013-06-02 21:42:15] USB init, set config 1 in use - CMR device 5:75
 [2013-06-02 21:42:15] Icarus detect (5:75) failed to initialise (incorrect device?)
 [2013-06-02 21:42:15] USB init, set config 1 in use - CMR device 5:74
 [2013-06-02 21:42:15] Icarus detect (5:74) failed to initialise (incorrect device?)
 [2013-06-02 21:42:15] No devices detected!
 [2013-06-02 21:42:15] Waiting for USB hotplug devices or press q to quit
 [2013-06-02 21:42:15] Probing for an alive pool
Code:
# cgminer --ndevs
 [2013-06-02 21:43:47] USB all: found 17 devices - listing known devices
.USB dev 0: Bus 5 Device 75 ID: 0403:8350
  Manufacturer: 'FTDI'
  Product: 'Cairnsmore1'
.USB dev 1: Bus 5 Device 74 ID: 0403:8350
  Manufacturer: 'FTDI'
  Product: 'Cairnsmore1'
 [2013-06-02 21:43:47] 2 known USB devices
FPGA Cairnsmore1 are no longer working with cgminer. Any solutions? Smiley
Upgrade to BFGMiner.

elchorizo
Full Member
***
Offline Offline

Activity: 182


View Profile
June 02, 2013, 08:42:37 PM
 #10607

i'm using Ubuntu 12.04 and there are no ttyUSB* device...
where do i find my USB devices?



Did you run the right modprobe command that corresponds with your devices?

Code:
Q: How do I get my BFL/Icarus/Lancelot/Cairnsmore device to auto-recognise?
A: On Linux, if the /dev/ttyUSB* devices don't automatically appear, the only
thing that needs to be done is to load the driver for them:
BFL: sudo modprobe ftdi_sio vendor=0x0403 product=0x6014
Icarus: sudo modprobe pl2303 vendor=0x067b product=0x230
Lancelot: sudo modprobe ftdi_sio vendor=0x0403 product=0x6001
Cairnsmore: sudo modprobe ftdi_sio product=0x8350 vendor=0x0403
On windows you must install the pl2303 or ftdi driver required for the device
pl2303: PL-2303H / 2303HX / 2303HXD Drivers | Prolific USA
ftdi: Virtual COM Port Drivers

BTC: 1Chorizo6WNabZxVfQyGtvF4JiRt7Hexxb
LTC: Lchorizoy8ck7Arbby8LDnw5wAmi8h6Hzb
elchorizo
Full Member
***
Offline Offline

Activity: 182


View Profile
June 02, 2013, 08:43:27 PM
 #10608

Upgrade to BFGMiner.

Terribly rude and childish trolling. How pathetic.

BTC: 1Chorizo6WNabZxVfQyGtvF4JiRt7Hexxb
LTC: Lchorizoy8ck7Arbby8LDnw5wAmi8h6Hzb
Trongersoll
Sr. Member
****
Offline Offline

Activity: 448


Retired Software Engineer


View Profile
June 02, 2013, 08:44:25 PM
 #10609

Code:
# cgminer -T
 [2013-06-02 21:42:15] Started cgminer 3.2.0
 [2013-06-02 21:42:15] Loaded configuration file /root/.cgminer/cgminer.conf
 [2013-06-02 21:42:15] USB init, set config 1 in use - CMR device 5:75
 [2013-06-02 21:42:15] Icarus detect (5:75) failed to initialise (incorrect device?)
 [2013-06-02 21:42:15] USB init, set config 1 in use - CMR device 5:74
 [2013-06-02 21:42:15] Icarus detect (5:74) failed to initialise (incorrect device?)
 [2013-06-02 21:42:15] No devices detected!
 [2013-06-02 21:42:15] Waiting for USB hotplug devices or press q to quit
 [2013-06-02 21:42:15] Probing for an alive pool
Code:
# cgminer --ndevs
 [2013-06-02 21:43:47] USB all: found 17 devices - listing known devices
.USB dev 0: Bus 5 Device 75 ID: 0403:8350
  Manufacturer: 'FTDI'
  Product: 'Cairnsmore1'
.USB dev 1: Bus 5 Device 74 ID: 0403:8350
  Manufacturer: 'FTDI'
  Product: 'Cairnsmore1'
 [2013-06-02 21:43:47] 2 known USB devices
FPGA Cairnsmore1 are no longer working with cgminer. Any solutions? Smiley
Upgrade to BFGMiner.

I cannot understand why it would be so important to a person to see their software used that they have to try and hijack other people's users. EGOs....geesh.

*insert appropriate begging line here* 
BTC: 1CS6AV7VnjcPLxaTFoUhTjXK4mQCTzfSxE
Doge: DB22tiynvXKg7SyPpnH9jyfitKLTZb6ejc
lenny_
Legendary
*
Offline Offline

Activity: 953



View Profile
June 02, 2013, 09:08:47 PM
 #10610

Code:
# cgminer -T
 [2013-06-02 21:42:15] Started cgminer 3.2.0
 [2013-06-02 21:42:15] Loaded configuration file /root/.cgminer/cgminer.conf
 [2013-06-02 21:42:15] USB init, set config 1 in use - CMR device 5:75
 [2013-06-02 21:42:15] Icarus detect (5:75) failed to initialise (incorrect device?)
 [2013-06-02 21:42:15] USB init, set config 1 in use - CMR device 5:74
 [2013-06-02 21:42:15] Icarus detect (5:74) failed to initialise (incorrect device?)
 [2013-06-02 21:42:15] No devices detected!
 [2013-06-02 21:42:15] Waiting for USB hotplug devices or press q to quit
 [2013-06-02 21:42:15] Probing for an alive pool
Code:
# cgminer --ndevs
 [2013-06-02 21:43:47] USB all: found 17 devices - listing known devices
.USB dev 0: Bus 5 Device 75 ID: 0403:8350
  Manufacturer: 'FTDI'
  Product: 'Cairnsmore1'
.USB dev 1: Bus 5 Device 74 ID: 0403:8350
  Manufacturer: 'FTDI'
  Product: 'Cairnsmore1'
 [2013-06-02 21:43:47] 2 known USB devices
FPGA Cairnsmore1 are no longer working with cgminer. Any solutions? Smiley
Upgrade to BFGMiner.

Fail...
I tried it, but It detects only 1 chip per board (out of 4) on my Cairnsmore1 and it does loads of rejects on p2pool. That's why I have to stay with cgminer. Latest bfgminer just compiled:
Code:
# bfgminer -T
 [2013-06-02 22:11:02] Started bfgminer 3.0.99
 [2013-06-02 22:11:02] Loaded configuration file /root/.bfgminer/bfgminer.conf
 [2013-06-02 22:11:02] Found ztex board 1.15d or 1.15x
 [2013-06-02 22:11:02] ZTEX 04A346E225-1: capability missing: 0 7
 [2013-06-02 22:11:02] Probing for an alive pool
 [2013-06-02 22:11:02] Network difficulty changed to 12.2M (87.00Th/s)
 [2013-06-02 22:11:02] Stratum from pool 0 detected new block
 [2013-06-02 22:11:02] Stratum from pool 0 requested work update
 [2013-06-02 22:11:02] Pool 1 stratum+tcp://mint.bitminter.com:3333 alive
 [2013-06-02 22:11:02] Switching to pool 1 stratum+tcp://mint.bitminter.com:3333
 [2013-06-02 22:11:02] Stratum from pool 1 requested work update
 [2013-06-02 22:11:03] ECM 0: Frequency set to 200 MHz (range: 50-210)
 [2013-06-02 22:11:03] ECM 1: Frequency set to 200 MHz (range: 50-210)
 [2013-06-02 22:11:06] ZTX 0: HS FPGA configuration failed: DONE pin does not go high
 [2013-06-02 22:11:08] Accepted 7f97b442 ECM 0  pool 1 Diff 2/1
2 FPGA Cairnsmore1 with HashVoodoo, but only 2xECM instead of 8.
Rant2112
Member
**
Offline Offline

Activity: 70



View Profile
June 02, 2013, 09:12:30 PM
 #10611

Downgrade to BFGMiner.
It is almost reasonable for you to post in other threads suggesting BFGMiner as a solution.

Posting IN the CGMiner thread is not cool.

I'm using cgminer exactly because of BS posts like this from you Luke.  Stop acting like a 13 year old FFS
Rant2112
Member
**
Offline Offline

Activity: 70



View Profile
June 02, 2013, 09:13:54 PM
 #10612

i'm using Ubuntu 12.04 and there are no ttyUSB* device...
where do i find my USB devices?
lsusb

You can also
tail -f /var/log/syslog
and watch what happens when you plug it in.
-ck
Moderator
Legendary
*
Offline Offline

Activity: 2002


Ruu \o/


View Profile WWW
June 02, 2013, 09:29:44 PM
 #10613

Do I have to do something special to give permission?

Run it as root or fix it the right way and give your user the proper permissions (described in many places)
Thanks.

I did some reading and found that USB devices have ultra restrictive permissions by default.  I'll get it figured out elsewhere as it is probably standard Linux stuff that's the problem.

I'll post a quick follow up here for others that have the same problem.

From cgminer FAQ

Code:
Q: On linux I can see the /dev/ttyUSB* devices for my Icarus FPGAs, but
cgminer can't mine on them
A: Make sure you have the required priviledges to access the /dev/ttyUSB* devices:
 sudo ls -las /dev/ttyUSB*
will give output like:
 0 crw-rw---- 1 root dialout 188, 0 2012-09-11 13:49 /dev/ttyUSB0
This means your account must have the group 'dialout' or root priviledges
To permanently give your account the 'dialout' group:
 sudo usermod -G dialout -a `whoami`
Then logout and back in again
That's for the older version. The new one does not use -S or /dev/ttyUSB as the driver model has changed entirely. You need to copy the udev rules instead only as per the new readme.

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

Activity: 924


Watch out for the "Neg-Rep-Dogie-Police".....


View Profile WWW
June 02, 2013, 09:35:20 PM
 #10614

Downgrade to BFGMiner.
It is almost reasonable for you to post in other threads suggesting BFGMiner as a solution.

Posting IN the CGMiner thread is not cool.

I'm using cgminer exactly because of BS posts like this from you Luke.  Stop acting like a 13 year old FFS

+10. Bravo.

"When one person is deluded it is called insanity - when many people are deluded it is called religion" - Robert M. Pirsig.  I don't want your coins, I want change.
Amazon UK BTC payment service - https://bitcointalk.org/index.php?topic=301229.0 - with FREE delivery!
http://www.ae911truth.org/ - http://rethink911.org/ - http://rememberbuilding7.org/
Rant2112
Member
**
Offline Offline

Activity: 70



View Profile
June 02, 2013, 10:35:12 PM
 #10615

I tried following the README instructions to get 3.2 working and still no luck.

---

I made a udev rule.

/dev/bus/usb/002/012 is group plugdev.

I am running as myself and I'm in group plugdev.

/dev/ttyUSB0 is in group dialout.

I am in the dialout group.

---

I started cgminer with --usb-dump 0

It does not detect a device and syslog shows ttyUSB0 being disconnected when I start cgminer.

The new messages from cgminer are:

USB all: found 6 devices - listing known devices
.USB dev 0: Bus 2 Device 12 ID 10c4:ea60
 Manufacturer: 'Silicon Labs'
 Product: 'CP2102 USB to UART Bridge Controller'
1 known USB devices
No devices detected!
Waiting for USB hotplug...

---

Again, cgminer 3.1.1 works fine with -S.

3.1.1 works fine with the same udev rule ( MODE 0666 and GROUP plugdev ) as suggested by 3.2
-ck
Moderator
Legendary
*
Offline Offline

Activity: 2002


Ruu \o/


View Profile WWW
June 02, 2013, 10:40:22 PM
 #10616

can the new version auto detect for gpu's as well?  thread concurrences etc?
GPUs don't lend themselves to this sort of optimisation in a meaningful way. Using the wrong settings just crashes the driver and then the application as a result.

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

Activity: 1932


Linux since 1997 RedHat 4


View Profile
June 02, 2013, 10:52:47 PM
 #10617

Got it working!

I went back to cgminer 3.1.1 and used the -S option to tell it where to look.

I'll play with the other settings now and see if I can get it running without root, etc.
...
As per the ASIC-README for 3.2.0

LINUX:

On linux, the direct USB support requires no drivers at all. However due to
permissions issues, you may not be able to mine directly on the devices as a
regular user without giving the user access to the device or by mining as
root (administrator). In order to give your regular user access, you can make
him a member of the plugdev group with the following commands:
...

Read the rest Smiley

Edit: there's a bit about "sudo cp 01-cgminer.rules /etc/udev/rules.d/" further down to complete the solution to solve permission problems

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
stepkrav
Full Member
***
Offline Offline

Activity: 188



View Profile
June 02, 2013, 10:56:18 PM
 #10618

can i run cgminer on a 32bit pc?  Thanks.
kano
Legendary
*
Offline Offline

Activity: 1932


Linux since 1997 RedHat 4


View Profile
June 02, 2013, 11:03:39 PM
 #10619

Latest code from git:
Code:
# cgminer -T
 [2013-06-02 21:42:15] Started cgminer 3.2.0
 [2013-06-02 21:42:15] Loaded configuration file /root/.cgminer/cgminer.conf
 [2013-06-02 21:42:15] USB init, set config 1 in use - CMR device 5:75
 [2013-06-02 21:42:15] Icarus detect (5:75) failed to initialise (incorrect device?)
 [2013-06-02 21:42:15] USB init, set config 1 in use - CMR device 5:74
 [2013-06-02 21:42:15] Icarus detect (5:74) failed to initialise (incorrect device?)
 [2013-06-02 21:42:15] No devices detected!
 [2013-06-02 21:42:15] Waiting for USB hotplug devices or press q to quit
 [2013-06-02 21:42:15] Probing for an alive pool
Code:
# cgminer --ndevs
 [2013-06-02 21:43:47] USB all: found 17 devices - listing known devices
.USB dev 0: Bus 5 Device 75 ID: 0403:8350
  Manufacturer: 'FTDI'
  Product: 'Cairnsmore1'
.USB dev 1: Bus 5 Device 74 ID: 0403:8350
  Manufacturer: 'FTDI'
  Product: 'Cairnsmore1'
 [2013-06-02 21:43:47] 2 known USB devices
FPGA Cairnsmore1 are no longer working with cgminer. I reverted cgminer to 102e907a475723ceff0de915227296190e2f3beb (3.1.0).
Any solutions? Smiley
Yep I'll look into that.
I've not had anyone look at 3.2.0 with a Cairnsmore1 yet ... my USB config settings are just a guess.
A full debug (pastebin) of the initialisation would be helpful also if you can.
However, the current code "I think?" will only find at most one FPGA (since with the 0403:8350 chip it will need to have an enhanced driver to handle multiple end points - that chip has 8 end points - 4 pairs - and will take some effort to actually get it to work)
The older board was apparently using the 0403:6014 so has the same initialisation as the BFL devices - that one might just work if anyone with one wants to try Smiley

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
kano
Legendary
*
Offline Offline

Activity: 1932


Linux since 1997 RedHat 4


View Profile
June 02, 2013, 11:04:42 PM
 #10620

can i run cgminer on a 32bit pc?  Thanks.
I don't think it works on the Amiga ... or the PS3 ... but which 32 bit PC were you referring to?

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
Pages: « 1 ... 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 [531] 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 ... 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!