Pages:
Author

Topic: LinuxCoin A lightweight Debian based OS with everything ready to go. - page 67. (Read 285117 times)

REF
hero member
Activity: 529
Merit: 500
I'm trying to append to the init sequence to automatically run the miner after the boot is complete.

Do any of you Linux people know in what file I would put a command like that?  I imagine that the command would fail if it ran before X was completely up.

If you google lxde autostart there are hundreds of guides Wink

is there anyway i get flash the bios of my cards with linuxcoin? Or someway to pass the 775 clock limit on my cards? Iv seen lots of guides for win7. i tried google to but i cant seem to find anything.

This may be in the pipeline Wink Not via linux but using a small dos install. Currently I'm unaware of anyway to flash your cards without windows/dos

Glad most seem to be getting along well with linuxcoin !! Cheesy

awesome! the OS is great i got all 3 miners working but poclbm turned out to be the best so far by 20-40Mhash/s
brand new
Activity: 0
Merit: 0
I'm probably missing something really obvious, but what is the password for the default user? I have persistence set up and am trying to install the driver for my wireless USB adapter (ASUS USB-N10), and I think I need to input the password for one of the steps. I'm a complete linux noob, though, so I pretty much have no idea what I'm doing. Any help would be greatly appreciated!
legendary
Activity: 1099
Merit: 1000
I'm probably missing something really obvious, but what is the password for the default user? I have persistence set up and am trying to install the driver for my wireless USB adapter (ASUS USB-N10), and I think I need to input the password for one of the steps. I'm a complete linux noob, though, so I pretty much have no idea what I'm doing. Any help would be greatly appreciated!

you need to change root password with command "passwd"
sr. member
Activity: 308
Merit: 251
New version seems to work... but I'm not sure how to get it going over SSH, and then be able to logoff. I thought maybe screen, but it pops up another terminal. Either way, I've got it working and SSH seems to work now! Thanks again for working on this for the community! Now that I've got my 6990 mining (GUIMiner in Win7) and my miner mining with LinuxCoin on my 5750, I'll throw a coin your way in about 24 hours! Cheesy Thanks again!

DISPLAY=:0 lxterminal -e"/opt/miners/phoenix.py ...

That should start a session with the terminal on the remote computer and you can log off and leave mining Wink
sr. member
Activity: 308
Merit: 251
I'm trying to append to the init sequence to automatically run the miner after the boot is complete.

Do any of you Linux people know in what file I would put a command like that?  I imagine that the command would fail if it ran before X was completely up.

If you google lxde autostart there are hundreds of guides Wink

is there anyway i get flash the bios of my cards with linuxcoin? Or someway to pass the 775 clock limit on my cards? Iv seen lots of guides for win7. i tried google to but i cant seem to find anything.

This may be in the pipeline Wink Not via linux but using a small dos install. Currently I'm unaware of anyway to flash your cards without windows/dos

Glad most seem to be getting along well with linuxcoin !! Cheesy
donator
Activity: 2058
Merit: 1007
Poor impulse control.
Quote
how are you raising voltage in linux? Are you flashing with RBE beforehand?

You can manage voltage, mem clock, gpu clock etc with AMDOverdriveCtrl - well I hope the voltage slider is doing something!

drgr33n has kindly included AMDOverdriveCtrl as well as SDK 2.4 in the distro, so just look for it under "Other" in the menu (bottom left button) and experiment. !

BTW, 1.1 V is actually undervolted compared to what the normal high load profile was. Worth changing.
member
Activity: 82
Merit: 10
Used LinuxCoin on USB thumbdrive on:
Sempron LE 2.8 GHz, 2GB RAM, 1xATI 6990
gpu clocks 900, 360, gpu voltage: 1.1 gpu temp max: 67 degrees C, fan on auto linear.

poclbm: 680 MH/sec
Phoenix: 550 MH/sec (poclbm kernel)
             520 MH/sec (phatk kernel)
DiabloMiner: haven't gotten around to fixing persistence and then install java.

On any miner under windows I was getting 100 cpu usage and the machine would crash after half an hour from a hot cpu. Under LinuxCoin I'm getting 1-5% cpu usage, it's running cool and not crashing. Sweet!  Creating and maintaining a distro is harder than it looks, so thanks lots for sorting this.

I don't need to move around so is there an install to hd option so I wont need to bother trying to get persistence to work? Or should I just use Unetbootin?

Now if I can just reduce the sound of the 6990 to a dull roar, I might be allowed to keep the thing!


how are you raising voltage in linux? Are you flashing with RBE beforehand?
jr. member
Activity: 50
Merit: 7
New version seems to work... but I'm not sure how to get it going over SSH, and then be able to logoff. I thought maybe screen, but it pops up another terminal. Either way, I've got it working and SSH seems to work now! Thanks again for working on this for the community! Now that I've got my 6990 mining (GUIMiner in Win7) and my miner mining with LinuxCoin on my 5750, I'll throw a coin your way in about 24 hours! Cheesy Thanks again!
donator
Activity: 2058
Merit: 1007
Poor impulse control.
Used LinuxCoin on USB thumbdrive on:
Sempron LE 2.8 GHz, 2GB RAM, 1xATI 6990
gpu clocks 900, 360, gpu voltage: 1.1 gpu temp max: 67 degrees C, fan on auto linear.

poclbm: 680 MH/sec
Phoenix: 550 MH/sec (poclbm kernel)
             520 MH/sec (phatk kernel)
DiabloMiner: haven't gotten around to fixing persistence and then install java.

On any miner under windows I was getting 100 cpu usage and the machine would crash after half an hour from a hot cpu. Under LinuxCoin I'm getting 1-5% cpu usage, it's running cool and not crashing. Sweet!  Creating and maintaining a distro is harder than it looks, so thanks lots for sorting this.

I don't need to move around so is there an install to hd option so I wont need to bother trying to get persistence to work? Or should I just use Unetbootin?

Now if I can just reduce the sound of the 6990 to a dull roar, I might be allowed to keep the thing!
REF
hero member
Activity: 529
Merit: 500
is there anyway i get flash the bios of my cards with linuxcoin? Or someway to pass the 775 clock limit on my cards? Iv seen lots of guides for win7. i tried google to but i cant seem to find anything.
newbie
Activity: 28
Merit: 0
I'm trying to append to the init sequence to automatically run the miner after the boot is complete.

Do any of you Linux people know in what file I would put a command like that?  I imagine that the command would fail if it ran before X was completely up.
newbie
Activity: 28
Merit: 0

I am having another problem now.  If I boot the system and don't select a boot mode at the first screen and just let it time out on "default" it boots the non-persistent mode.  This is true even though the configuration file for the menu indicates that it should boot to persistent mode by default... so I'm trying to figure that out now.


you can delete all unused menu options in syslinux.cfg

+2 gusti

Yeah, that was the ticket.  The configuration file I was changing was live.cfg, but that file doesn't seem to do anything.  I modified the default option in syslinux.cfg and then it works as intended.
legendary
Activity: 1099
Merit: 1000

I am having another problem now.  If I boot the system and don't select a boot mode at the first screen and just let it time out on "default" it boots the non-persistent mode.  This is true even though the configuration file for the menu indicates that it should boot to persistent mode by default... so I'm trying to figure that out now.



you can delete all unused menu options in syslinux.cfg
sr. member
Activity: 308
Merit: 251
You don't need a linux machine ! I've said about 5 times lol

Yeah, I know you said it like five times... but I couldn't figure out how to do it under windows.  Windows always wants to create a single partition as soon as you plug in the disk.  (I admit that I didn't consider trying to use the built-in disk administrator.)  Linux seems to "like" the idea of multiple partitions on a usb key than windows does.

@greenlander  could you change / remove these lines from your guide

Agreed, done.



Lol using a windows system can be a little cryptic when you want to setup multiple partitions. I have a wiki setup and will be going live very soon. Also working on documentation for linuxcoin.

Thanks bud. I was just worried someone would blindly follow the commands and end up formatting  a HDD they didn't intend to Wink

EDIT: Yes just received them. thanks greenlander !! if you want to set persistent as the default boot option just add the following line to the beginning of live.cfg.

Code:
default LinuxCoin_persistent

I think unetbootin uses its own config gimmie two secs and I'll let you know what file you want to edit if you used unetbootin.

If you used unetbootin edit syslinux.cfg and change

default menu.c32 to default ubnentry2
newbie
Activity: 28
Merit: 0
You don't need a linux machine ! I've said about 5 times lol

Yeah, I know you said it like five times... but I couldn't figure out how to do it under windows.  Windows always wants to create a single partition as soon as you plug in the disk.  (I admit that I didn't consider trying to use the built-in disk administrator or any other options.)  Linux seems to "like" the idea of multiple partitions on a usb key than windows does.

@greenlander  could you change / remove these lines from your guide

Agreed, done.

I am having another problem now.  If I boot the system and don't select a boot mode at the first screen and just let it time out on "default" it boots the non-persistent mode.  This is true even though the configuration file for the menu indicates that it should boot to persistent mode by default... so I'm trying to figure that out now.

drgr33n, I just sent you 3.5 BTC (about $20?) to say thanks for putting this release together.
sr. member
Activity: 308
Merit: 251
@ de4l you got skype ? PM me your details and I'll screen share with you. Would be nice to figure whats going on.

you need 2 partitions : 1st one is vfat and 2nd one is ext3
and in debian based, name must be "live-rw", not "casper-rw"

+1 gusti

I've been trying to get persistence to work for days and this was the missing data point.

The procedure I did that worked was:
1.  Put keyfob into a linux box.  Use "sudo fdisk /dev/sd*" to nuke all partitions.  Set up two partitions.  Mark the first partition as bootable.  Write the results using "w" in fdisk to write the partition table.  

2.  Run "sudo mkfs.ext3 -b 4096 -L live-rw /dev/sd*2" to format the SECOND partition.  The name must be "live-rw", not "casper-rw"

3.  Put keyfob into your windows box.  A prompt comes up asking if you want to format.  Press "format disk" and then "start" then "ok" to allow windows to format the disk.  It will format the FIRST partition as fat32. when you hit ok.

4.  Use unetbootin-win-549.exe.  Click the "diskimage" radio button and point it at the bitcoin iso image.  DON'T put anything in the "Space used to preserve files across reboots": leave that at zero.  Hit OK to start the transfer.  It takes a few minutes.

You're all set.  Your image should now be persistent.  (at least it was for me...)

You don't need a linux machine ! I've said about 5 times lol

Partition your drive using whatever OS you like. Just make sure you have two partitions. The first needs to be at least 1G the second can be as large or as small as you like.

use unetbootin to install LinuxCoin on your FIRST drive and then reboot into linuxcoin.
Open a shell find what your drive has been named. If you only have one HDD on the computer its normally sdb BUT double check with the following command.

Code:
sudo fdisk -l

You should see a list of HDD / Partitions and it should be obvious what one is your USB drive.

Now format your second partition with the following command.

Code:
sudo mkfs.ext3 -b 4096 -L live-rw /dev/sd[yourdrive]2

Reboot and you have persistence Cheesy I'm looking into why it wont recognize casper-rw won't work using unetbootins method.
newbie
Activity: 28
Merit: 0
you need 2 partitions : 1st one is vfat and 2nd one is ext3
and in debian based, name must be "live-rw", not "casper-rw"

+1 gusti

I've been trying to get persistence to work for days and this was the missing data point.

The procedure I did that worked was:
1.  Put keyfob into a linux box.  Use "sudo fdisk /dev/sd-" to nuke all partitions.  Set up two partitions.  Mark the first partition as bootable.  Write the results using "w" in fdisk to write the partition table.  (replace "-" with your actual drive)

2.  Run "sudo mkfs.ext3 -b 4096 -L live-rw /dev/sd-2" to format the SECOND partition.  The name must be "live-rw", not "casper-rw" (replace "-" with your actual drive)

3.  Put keyfob into your windows box.  A prompt comes up asking if you want to format.  Press "format disk" and then "start" then "ok" to allow windows to format the disk.  It will format the FIRST partition as fat32. when you hit ok.

4.  Use unetbootin-win-549.exe.  Click the "diskimage" radio button and point it at the bitcoin iso image.  DON'T put anything in the "Space used to preserve files across reboots": leave that at zero.  Hit OK to start the transfer.  It takes a few minutes.

You're all set.  Your image should now be persistent.  (at least it was for me...)
member
Activity: 82
Merit: 10
lol Ok well there's not a lot more I can do ? I've tested this on the hardware you have and it works fine my end. That error is stating that phoenix cannot access your GPGPU for some reason.

Could be a hardware error ? But if you can mine using another OS very doubtful.

If you have direct access to the machine do the following.

Boot linuxcoin
accept license agreement
check /etc/OpenCL/vendors/*.icd exists
cd over to /opt/miners/poclbm
run python poclbm.py

If poclbm lists your GPGPU's it might be a problem with phoenix. If not I would say its hardware or something. i will test extensively this evening to see if I can reproduce the errors you seem to be having.

Sorry I can't help you more ATM Sad

PS: if you could post the full output of poclbm that might be helpful.

the .icd file does exist, poclbm and phoenix both list my card, but still give opencl failure (that's all it gives is that error, none others), I went back to try the linuxcoin 0.1b and I can run the phatk kernal after downloading it just fine, my issue is that I need amdoverdrivecntrl (only in .2, I couldn't get it to work in .1 on my own) to get my memory down to 300, aticonfig won't do it, thanks for the help, still can't figure out why it worked the very first time but no more

I startup linuxcoin, click close/ok on agreement, then cd to /opt/miners/phoenix and try running my usual commands, I've tried both using amdoverdrivectrl and not using it, that doesn't seem to be it. Here is my favorite string, but I've tried a bunch with all the same opencl error too

python phoenix.py -u http://uname:[email protected]:8332/ -k phatk VECTORS BFI_INT AGGRESSION=13 WORKSIZE=256 DEVICE=1
sr. member
Activity: 308
Merit: 251
lol Ok well there's not a lot more I can do ? I've tested this on the hardware you have and it works fine my end. That error is stating that phoenix cannot access your GPGPU for some reason.

Could be a hardware error ? But if you can mine using another OS very doubtful.

If you have direct access to the machine do the following.

Boot linuxcoin
accept license agreement
check /etc/OpenCL/vendors/*.icd exists
cd over to /opt/miners/poclbm
run python poclbm.py

If poclbm lists your GPGPU's it might be a problem with phoenix. If not I would say its hardware or something. i will test extensively this evening to see if I can reproduce the errors you seem to be having.

Sorry I can't help you more ATM Sad

PS: if you could post the full output of poclbm that might be helpful.
member
Activity: 82
Merit: 10
lol well sort of. To access ATI GPGPU's you need control of X on the machine they are installed.


Code:
ssh -X user@ipaddress
password: live
cd /opt/miners/phoenix
python ./phoenix.py ...



I just tried doing it live on the machine with mouse/keyboard and I still get the same error

I don't get what you mean ? you tried that direct ? or you are using SSH on another machine to access your machine ?

I was working with ssh/x11vnc but I went and rebooted the machine (non-persistent) and tried running phoenix/everything locally at the machine (no ssh/vnc) and I still get the same failed to load opencl message
Pages:
Jump to: