Bitcoin Forum
November 11, 2024, 06:29:53 AM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 2 [3] 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 ... 111 »
  Print  
Author Topic: [ANN] [SHA256]+[CPU] MediterraneanCoin (MED) - REUSE your ERUPTER!!  (Read 227781 times)
smallplatf (OP)
Sr. Member
****
Offline Offline

Activity: 266
Merit: 250


View Profile WWW
January 04, 2014, 01:32:13 AM
 #41

I got this error message when using the modified cgminer:

Code:
./cgminer: error while loading shared libraries: libudev.so.0: cannot open shared object file: No such file or directory

MZcXxY2SMKtaTaMbZ7JA2eFecLpcrYbQaH

Thanks

what flavor of linux are you using?

in case, try to install libudev-dev. On Debian/Ubuntu:

sudo aptitude install libudev-dev

I am using Ubuntu, but after sudo apt-get install libudev-dev.

I got:
Code:
Reading package lists... Done
Building dependency tree      
Reading state information... Done
libudev-dev is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.


ok, try running cgminer as root.
What kind of ASIC do you have?



From kolivas original manual (https://github.com/ckolivas/cgminer):

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:

 sudo usermod -G plugdev -a `whoami`

If your distribution does not have the plugdev group you can create it with:

 sudo groupadd plugdev

In order for the BFL devices to instantly be owned by the plugdev group and
accessible by anyone from the plugdev group you can copy the file
"01-cgminer.rules" from the cgminer archive into the /etc/udev/rules.d
directory with the following command:

 sudo cp 01-cgminer.rules /etc/udev/rules.d/

After this you can either manually restart udev and re-login, or more easily
just reboot.




MED: MeGbEre5ZyD3ug946sPuq5C6yy8ZPriwhf | BTC: 16EGB9xjGDANkfF8rw2sg29RcFmLPWLnhZ | http://www.mediterraneancoin.org | https://twitter.com/MEDDevTeam | http://forum.mediterraneancoin.org
Kenshin
Sr. Member
****
Offline Offline

Activity: 280
Merit: 250


View Profile
January 04, 2014, 01:37:36 AM
 #42

Even running the modifed cgminer with sudo, I still got this error:

Code:
./cgminer: error while loading shared libraries: libudev.so.0: cannot open shared object file: No such file or directory

I tried to compile the modified cgminer from git. And it was build, then when I tried to run it, it just exit.

This is how I built it:
Code:
./auto-gen.sh
./configure
make

I am running erupter and also bluefury.
smallplatf (OP)
Sr. Member
****
Offline Offline

Activity: 266
Merit: 250


View Profile WWW
January 04, 2014, 01:39:50 AM
 #43

Even running the modifed cgminer with sudo, I still got this error:

Code:
./cgminer: error while loading shared libraries: libudev.so.0: cannot open shared object file: No such file or directory

I tried to compile the modified cgminer from git. And it was build, then when I tried to run it, it just exit.

This is how I built it:
Code:
./auto-gen.sh
./configure
make

I am running erupter and also bluefury.


ok here is an example tutorial for building cgminer on a fresh Ubuntu 12.04 64bit:

sudo aptitude install pkg-config libtool autoconf
sudo aptitude install libcurl4-openssl-dev libncurses5-dev libudev-dev

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

cd cgminer

./autogen.sh


CFLAGS="-O2 -Wall"  ./configure --enable-avalon --enable-bflsc  --enable-bitforce --enable-bitfury  --enable-hashfast  --enable-icarus  --disable-knc --enable-bab --enable-klondike  --enable-modminer

make

No installation is necessary. You may run cgminer from the build directory directly, but you may do make install
if you wish to install cgminer to a system location or location you specified.

MED: MeGbEre5ZyD3ug946sPuq5C6yy8ZPriwhf | BTC: 16EGB9xjGDANkfF8rw2sg29RcFmLPWLnhZ | http://www.mediterraneancoin.org | https://twitter.com/MEDDevTeam | http://forum.mediterraneancoin.org
DFiLeR
Sr. Member
****
Offline Offline

Activity: 341
Merit: 250


View Profile
January 04, 2014, 01:56:12 AM
 #44

so mcproxy is meant to actually do something?

VRC      VKAE3VC3iPf2FFJsrzirzk4SX6mSrzSUka                  XPM          AeX9teC4y9YMRNVb7726i8u3RTCcMksFG3
BTC       15P73FANUu5rgNcCr4kYVUNiD3tdmgqEuP             HYPER       HL2iRAWRThvAR9kt5NDdEPBhin57tD98hB
Mrjitter
Sr. Member
****
Offline Offline

Activity: 434
Merit: 251


View Profile
January 04, 2014, 02:00:58 AM
 #45


{
"blocks" : 1821,
"currentblocksize" : 1000,
"currentblocktx" : 0,
"difficulty" : 0.04134998,
"errors" : "",
"networkhashps" : 3742345,
"pooledtx" : 0,
"testnet" : false
}

Wowww difficult increasing by who Huh? i can not mine ... are you playing alone Huh

I´m go to the bed .. i´m tired of shift coin launchs  Huh Huh

bye


smallplatf (OP)
Sr. Member
****
Offline Offline

Activity: 266
Merit: 250


View Profile WWW
January 04, 2014, 02:02:19 AM
 #46

so mcproxy is meant to actually do something?

yes, mcproxy implements part of the PoW algorithms, that is, the two scrypt stages.
The algorithm is described in detail here: http://www.mediterraneancoin.org/hybridscrypthash256.pdf

 The proxy has been introduced in order to reduce to a minimum the modifications to cgminer; infact, you can see the difference between the original cgminer and the modified one here: https://github.com/mrtexaznl/cgminer/compare/ckolivas:master...master

In the future, it is quite possible that we will implement the complete HybridScryptHash256 inside cgminer. 


MED: MeGbEre5ZyD3ug946sPuq5C6yy8ZPriwhf | BTC: 16EGB9xjGDANkfF8rw2sg29RcFmLPWLnhZ | http://www.mediterraneancoin.org | https://twitter.com/MEDDevTeam | http://forum.mediterraneancoin.org
DFiLeR
Sr. Member
****
Offline Offline

Activity: 341
Merit: 250


View Profile
January 04, 2014, 02:04:20 AM
 #47

how can i tell if it is running? should it display anything? should the wallet be started first or anything?  also wallet is not syncing

VRC      VKAE3VC3iPf2FFJsrzirzk4SX6mSrzSUka                  XPM          AeX9teC4y9YMRNVb7726i8u3RTCcMksFG3
BTC       15P73FANUu5rgNcCr4kYVUNiD3tdmgqEuP             HYPER       HL2iRAWRThvAR9kt5NDdEPBhin57tD98hB
subSTRATA
Legendary
*
Offline Offline

Activity: 1288
Merit: 1043


:^)


View Profile
January 04, 2014, 02:08:20 AM
 #48

addnode=95.178.249.116

theres nothing here. message me if you want to put something here.
smallplatf (OP)
Sr. Member
****
Offline Offline

Activity: 266
Merit: 250


View Profile WWW
January 04, 2014, 02:11:40 AM
 #49

how can i tell if it is running? should it display anything? should the wallet be started first or anything?  also wallet is not syncing

for your wallet to sync, there are still a lot of new users who are syncing right now, so we have to wait for the whole network to stabilize itself.
we suggest that you leave the wallet running for a couple of hours.

for solo mining, the sequence is:
- run the wallet (with -server option)
- run mcproxy
- run cgminer

solo mining requires that the wallet has finished its sync with the network.

if you want to use only the wallet (i.e. transactions), than you need to run only the wallet.
 

MED: MeGbEre5ZyD3ug946sPuq5C6yy8ZPriwhf | BTC: 16EGB9xjGDANkfF8rw2sg29RcFmLPWLnhZ | http://www.mediterraneancoin.org | https://twitter.com/MEDDevTeam | http://forum.mediterraneancoin.org
DFiLeR
Sr. Member
****
Offline Offline

Activity: 341
Merit: 250


View Profile
January 04, 2014, 02:16:46 AM
 #50

alrighty. syncing now, will let you know how the rest goes

VRC      VKAE3VC3iPf2FFJsrzirzk4SX6mSrzSUka                  XPM          AeX9teC4y9YMRNVb7726i8u3RTCcMksFG3
BTC       15P73FANUu5rgNcCr4kYVUNiD3tdmgqEuP             HYPER       HL2iRAWRThvAR9kt5NDdEPBhin57tD98hB
Kenshin
Sr. Member
****
Offline Offline

Activity: 280
Merit: 250


View Profile
January 04, 2014, 02:17:45 AM
 #51


solo mining requires that the wallet has finished its sync with the network.

if you want to use only the wallet (i.e. transactions), than you need to run only the wallet.
 

Could this be why I am getting the following error? Because I am still 5 days behind?

After following your build instruction, I have managed to build cgminer, when running with sudo I got this error:

Code:
[2014-01-04 02:15:14] Started cgminer 3.9.0
 [2014-01-04 02:15:47] Failed to sem_timedwait errno=4 cgsem=0x0x7fff17c846f0 in
 usbutils.c callback_wait():2431

Without sudo I got this, then cgminer exit:
Code:
[2014-01-04 02:19:55] USB init, open device failed, err -3, you don't ha
ve privilege to access - BF1 device 2:13-i1
 [2014-01-04 02:19:55] See README file included for help
 [2014-01-04 02:19:55] bitfury detect (2:13) failed to initialise (incorr
ect device?)ERROR: could not insert 'i2c_dev': Operation not permitted
 [2014-01-04 02:19:55] Probing for an alive pool
 [2014-01-04 02:20:05] Waiting for work to be available from pools.
smallplatf (OP)
Sr. Member
****
Offline Offline

Activity: 266
Merit: 250


View Profile WWW
January 04, 2014, 02:24:21 AM
 #52


solo mining requires that the wallet has finished its sync with the network.

if you want to use only the wallet (i.e. transactions), than you need to run only the wallet.
 

Could this be why I am getting the following error? Because I am still 5 days behind?

After following your build instruction, I have managed to build cgminer, when running I got this error:

Code:
[2014-01-04 02:15:14] Started cgminer 3.9.0
 [2014-01-04 02:15:47] Failed to sem_timedwait errno=4 cgsem=0x0x7fff17c846f0 in
 usbutils.c callback_wait():2431

can you try to build and run the original cgminer and see if the same error occurs?
you can get it here:
git clone https://github.com/ckolivas/cgminer

also, can you provide more information about your system:
uname -a
cat /etc/debian_version
...




MED: MeGbEre5ZyD3ug946sPuq5C6yy8ZPriwhf | BTC: 16EGB9xjGDANkfF8rw2sg29RcFmLPWLnhZ | http://www.mediterraneancoin.org | https://twitter.com/MEDDevTeam | http://forum.mediterraneancoin.org
asba
Full Member
***
Offline Offline

Activity: 252
Merit: 100


View Profile
January 04, 2014, 02:26:57 AM
 #53

stuck at 5 days behind
500 of 1408 blocks  Angry
TimFChavez
Member
**
Offline Offline

Activity: 98
Merit: 10


View Profile
January 04, 2014, 02:27:32 AM
 #54

How do you start the block erupter with cgminer? I've used bfgminer when using my block erupters.

thanks
guozhou
Member
**
Offline Offline

Activity: 62
Merit: 10


View Profile
January 04, 2014, 02:28:34 AM
 #55

MrdzyL7n81QZFSo7xfXbtGZB93fWGuqKGb
pmm123
Full Member
***
Offline Offline

Activity: 182
Merit: 100


View Profile
January 04, 2014, 02:29:11 AM
 #56

how can i tell if it is running? should it display anything? should the wallet be started first or anything?  also wallet is not syncing

for your wallet to sync, there are still a lot of new users who are syncing right now, so we have to wait for the whole network to stabilize itself.
we suggest that you leave the wallet running for a couple of hours.

for solo mining, the sequence is:
- run the wallet (with -server option)
- run mcproxy
- run cgminer

solo mining requires that the wallet has finished its sync with the network.

if you want to use only the wallet (i.e. transactions), than you need to run only the wallet.
 

Sorry  smallplatf this coin like much for me but dosen't sync the wallet im waiting mor than 2 hours and wallet dosen't sync, im go out atm

||||||| ★ CATALONIACOIN |||||||

||||||| OFFICIAL THREAD★ |||||||
smallplatf (OP)
Sr. Member
****
Offline Offline

Activity: 266
Merit: 250


View Profile WWW
January 04, 2014, 02:36:13 AM
 #57

How do you start the block erupter with cgminer? I've used bfgminer when using my block erupters.

thanks


under debian/ubuntu linux, you will need to be root and run this command (also see here http://www.mediterraneancoin.org/#tutorial)
from the directory of the modified cgminer:

./cgminer  -o http://localhost:8080 -u mediterraneancoinrpc -p <your rpc password>

in windows, the command is the same.

MED: MeGbEre5ZyD3ug946sPuq5C6yy8ZPriwhf | BTC: 16EGB9xjGDANkfF8rw2sg29RcFmLPWLnhZ | http://www.mediterraneancoin.org | https://twitter.com/MEDDevTeam | http://forum.mediterraneancoin.org
Kenshin
Sr. Member
****
Offline Offline

Activity: 280
Merit: 250


View Profile
January 04, 2014, 02:37:31 AM
 #58


solo mining requires that the wallet has finished its sync with the network.

if you want to use only the wallet (i.e. transactions), than you need to run only the wallet.
 

Could this be why I am getting the following error? Because I am still 5 days behind?

After following your build instruction, I have managed to build cgminer, when running I got this error:

Code:
[2014-01-04 02:15:14] Started cgminer 3.9.0
 [2014-01-04 02:15:47] Failed to sem_timedwait errno=4 cgsem=0x0x7fff17c846f0 in
 usbutils.c callback_wait():2431

can you try to build and run the original cgminer and see if the same error occurs?
you can get it here:
git clone https://github.com/ckolivas/cgminer

also, can you provide more information about your system:
uname -a
cat /etc/debian_version
...


kenshin@blackbox:~$ uname -a
Linux blackbox 3.11.0-14-generic #21-Ubuntu SMP Tue Nov 12 17:04:55 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
kenshin@blackbox:~$ cat /etc/debian_version
wheezy/sid

When running the normal cgminer. It exit after a while.
TimFChavez
Member
**
Offline Offline

Activity: 98
Merit: 10


View Profile
January 04, 2014, 02:40:55 AM
 #59


./cgminer  -o http://localhost:8080 -u mediterraneancoinrpc -p <your rpc password>

in windows, the command is the same.

That is what I used but I get 'Waiting for USB hotplug devices or press q to quit'

bfgminer detected them and ran. I was not was I needed to use a command to let them going. this is windows.
subSTRATA
Legendary
*
Offline Offline

Activity: 1288
Merit: 1043


:^)


View Profile
January 04, 2014, 02:43:38 AM
 #60

on Win7 64-bit

Code:
C:\Program Files (x86)\MEDcoin>"C:\Program Files (x86)\Java\jre7\bin\java.exe" -jar mcproxy.jar
MediterraneanCoin Proxy
parameters:
wallet hostname: localhost
wallet port: 9372
bind to local address:
local proxy port: 8080

RCPUtils: sending data: {"method":"getwork","params":[],"id":1}
java.net.SocketTimeoutException: Read timed out
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

        at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)

        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Sou
rce)
        at java.lang.reflect.Constructor.newInstance(Unknown Source)
        at sun.net.www.protocol.http.HttpURLConnection$6.run(Unknown Source)
        at sun.net.www.protocol.http.HttpURLConnection$6.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at sun.net.www.protocol.http.HttpURLConnection.getChainedException(Unkno
wn Source)
        at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown So
urce)
        at java.net.HttpURLConnection.getResponseCode(Unknown Source)
        at org.mediterraneancoin.proxy.net.RPCUtils.doJSONRPCCall(RPCUtils.java:
260)
        at org.mediterraneancoin.proxy.net.RPCUtils.doGetWorkMessage(RPCUtils.ja
va:362)
        at org.mediterraneancoin.proxy.HttpServer.handle(HttpServer.java:116)
        at org.simpleframework.http.core.Dispatcher.dispatch(Dispatcher.java:121
)
        at org.simpleframework.http.core.Dispatcher.run(Dispatcher.java:103)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)
Caused by: java.net.SocketTimeoutException: Read timed out
        at java.net.SocketInputStream.socketRead0(Native Method)
        at java.net.SocketInputStream.read(Unknown Source)
        at java.net.SocketInputStream.read(Unknown Source)
        at java.io.BufferedInputStream.fill(Unknown Source)
        at java.io.BufferedInputStream.read1(Unknown Source)
        at java.io.BufferedInputStream.read(Unknown Source)
        at sun.net.www.http.HttpClient.parseHTTPHeader(Unknown Source)
        at sun.net.www.http.HttpClient.parseHTTP(Unknown Source)
        at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown So
urce)
        at sun.net.www.protocol.http.HttpURLConnection.getHeaderField(Unknown So
urce)
        at java.net.URLConnection.getContentEncoding(Unknown Source)
        at org.mediterraneancoin.proxy.net.RPCUtils.doJSONRPCCall(RPCUtils.java:
211)
        ... 7 more

theres nothing here. message me if you want to put something here.
Pages: « 1 2 [3] 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 ... 111 »
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!