Author

Topic: [ANN] [SHA256]+[CPU] MediterraneanCoin (MED) - REUSE your ERUPTER!! - page 109. (Read 227781 times)

member
Activity: 98
Merit: 10

./cgminer  -o http://localhost:8080 -u mediterraneancoinrpc -p

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.
sr. member
Activity: 280
Merit: 250

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.
sr. member
Activity: 266
Merit: 250
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

in windows, the command is the same.
full member
Activity: 182
Merit: 100
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
member
Activity: 62
Merit: 10
MrdzyL7n81QZFSo7xfXbtGZB93fWGuqKGb
member
Activity: 98
Merit: 10
How do you start the block erupter with cgminer? I've used bfgminer when using my block erupters.

thanks
full member
Activity: 252
Merit: 100
stuck at 5 days behind
500 of 1408 blocks  Angry
sr. member
Activity: 266
Merit: 250

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
...



sr. member
Activity: 280
Merit: 250

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.
sr. member
Activity: 341
Merit: 250
alrighty. syncing now, will let you know how the rest goes
sr. member
Activity: 266
Merit: 250
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.
 
legendary
Activity: 1288
Merit: 1043
:^)
addnode=95.178.249.116
sr. member
Activity: 341
Merit: 250
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
sr. member
Activity: 266
Merit: 250
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. 

sr. member
Activity: 434
Merit: 251

{
"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


sr. member
Activity: 341
Merit: 250
so mcproxy is meant to actually do something?
sr. member
Activity: 266
Merit: 250
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.
sr. member
Activity: 280
Merit: 250
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.
sr. member
Activity: 266
Merit: 250
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.



sr. member
Activity: 280
Merit: 250
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.
Jump to: