Show Posts
|
Pages: « 1 2 3 [4]
|
jaebird -
I'm still up in the air about the best lockfile method to use for now. One reason is, that I am strongly reconsidering the move to sqlite3. I'm starting to hit the point where speed limitations are going to become very apparent. I'm afraid that once multi-machine support is in, someone with 4+ machines will choke things up at the sqlite bottleneck. So the lockfile may become irrelevant if the move back to MySQL happens
I understand, using a DB like MySQL or PostgreSQL also gives access to read-only views for other types of info display aka www On another note: sometimes my 5830's just lock up, there is no update to the status line and aticonfig still shows 99% usage. In cases like this i usually need to do a reboot to get them back. I'm wondering if you are planning on adding this type of failure detection? Thanks, Jae
|
|
|
I just updated... actually reinstalled! I noticed a few dependencies missing from LinuxCoin 0.2.1b
1. locate (sudo apt-get install locate) 2. lockfile (sudo apt-get install procmail, however it installs stuff you don't need as well)
@jondecker76:
Why not use lockfile-progs instead, at least the package in debian is cleaner
Thanks, jae
|
|
|
Fair play Wink I might just script something so I can add an auto donate feature to linuxcoin, I like the idea Cheesy !! It's got nothing else but to do with that the users home folder is generated on the fly as my livecd boot. I would really like to include this in linuxcoin but move it over to /opt rather than have it sit in the home folder.
I will leave a link for now then and ask people to manually install smartcoin.
My bad, I didn't realize it was you for some reason (how emberrassing) - I thought it was just a random user I actually see a good partnership between smartcoin and linuxcoin. I have an idea that would work well, and avoid branching the codebase out. How about you create a special file in a known location (I.e. a blank file named 'linuxcoin' in a known location). Then, I can have autodonate return some of your workers if the file exists, that way, those not using linuxcoin wouldn't be donating to it. Perhaps we should discuss this over pm and come up with a plan, as given the situation I am open on this subject. lol no worries Yes indeed I think smartcoin + linuxcoin = awesomeness Some really great idea's too. I'd love to chat more about getting this implemented into linuxcoin permanently. Do you skype ? I'll send you a PM with my contact details. I don't know what timezone your in but would be good to have a chat and discuss this more. I was holding my breath for a cage match! You guys are making mining on our rigs smooth sailing. Thanks to you both
|
|
|
I have my Thumb drive setup and working like I want, is there a way to replicate the thumb drive sector by sector encase this one gets corrupted?
I would first try clonezilla, it is a linux based imaging suite that can clone drives to an image file. I use it all the time although I have not used it with LinuxCoin yet
|
|
|
If your booting pxe it shouldn't hang because live-boot knows your pxe ? How you got it setup ? Sorry about screen I swore i set the permissions !! Lol and sorry for missing bc thanks for the info bud !! I'm booting from USB stick. I have a fat32 and ext4 partition. The ext4 is labeled "live-rw" so it becomes the /live/cow mount for persistence. It looks like the symlink /var/run -> /run which is tmpfs, so the permissions are being set somewhere at boot and don't persist between boots. I'll look into PXE when/if I add another rig, right now my 5 dollar 4gig micro usb stick is working wonderfully Thanks, jaebird
|
|
|
thank you!
"sudo apt-get install bc" fixed the status update problem!
You are welcome! Btw, I added some of my other LinuxCoin findings to the LinuxCoin thread.
|
|
|
@drgr33n I downloaded the latest LinuxCoin 0.2.1b and I noticed a couple of things. 1. /var/run/screen still needs chmod 777 when I use usb persistence (I'm using 2 partitions FAT32 for boot and EXT4 for persistence)... not a big deal since I can just add to boot script 2. I'm using smartcoin which uses "bc" as part of its status update so I had to apt-get it 3. I also added to /etc/dhcp/dhclient.conf -> send host-name "linuxcoin"; so that my router's dns can resolve it by name. 4. It still hangs on shutdown/reboot waiting for "Remove USB...press Enter" so I commented out the following lines in the /etc/init.d/live-boot: # printf "\n\n${MESSAGE} and press ENTER to continue:" > /dev/console # read x < /dev/console
Thanks for the sweet live distro. jaebird EDIT: if anyone wants to know a way to add auto startup mining, this is what i did... I created a script called setup_stuff.sh that changed permisions for screen, setup GPUs overdrive and launched smartcoin add the following line to the global desktop environment application autostart file: /etc/xdg/lxsession/LXDE/autostart @/home/user/setup_stuff.sh This configuration makes sure none of the mining is kicked off before LX is logged in and executes with the "user" login.
|
|
|
Anybody test this on LinuxCoin yet? I do have one report so far from a LinuxCoin user that they get aticonfig errors if they try to start it remotely in a terminal, but if they start it from a terminal running in X its fine, after which point they can ssh in and control it like they should.
Just looking to see if this is a common thing for LinuxCoin users, I'd like to get this fixed ASAP so any information will be very helpful
Yes it works great. LinuxCoin is setup to automatically log in to an X server on card 0. Unfortunately it is still a requirement to have X running to use OpenCL, so this is a good default. If you want to do any aticonfig commands you must have first set the environment var: "export DISPLAY=:0.0" I have an overdrive.sh script that looks like this: export DISPLAY=:0.0 aticonfig --od-enable AMDOverdriveCtrl -b -i 0 overdrive_mining.ovdr AMDOverdriveCtrl -b -i 3 overdrive_mining.ovdr AMDOverdriveCtrl -b -i 6 overdrive_mining.ovdr AMDOverdriveCtrl -b -i 9 overdrive_mining.ovdr
This sets up the fan speed and overclock of the cards. Then I simply run smartcoin and it is off to the races. My plan is to have this done at startup in the future... Cheers, jaebird I forgot to mention that LinuxCoin does not currently come with "bc" installed so: sudo apt-get install bc That will help the status to update properly.
|
|
|
Anybody test this on LinuxCoin yet? I do have one report so far from a LinuxCoin user that they get aticonfig errors if they try to start it remotely in a terminal, but if they start it from a terminal running in X its fine, after which point they can ssh in and control it like they should.
Just looking to see if this is a common thing for LinuxCoin users, I'd like to get this fixed ASAP so any information will be very helpful
Yes it works great. LinuxCoin is setup to automatically log in to an X server on card 0. Unfortunately it is still a requirement to have X running to use OpenCL, so this is a good default. If you want to do any aticonfig commands you must have first set the environment var: "export DISPLAY=:0.0" I have an overdrive.sh script that looks like this: export DISPLAY=:0.0 aticonfig --od-enable AMDOverdriveCtrl -b -i 0 overdrive_mining.ovdr AMDOverdriveCtrl -b -i 3 overdrive_mining.ovdr AMDOverdriveCtrl -b -i 6 overdrive_mining.ovdr AMDOverdriveCtrl -b -i 9 overdrive_mining.ovdr
This sets up the fan speed and overclock of the cards. Then I simply run smartcoin and it is off to the races. My plan is to have this done at startup in the future... Cheers, jaebird
|
|
|
New fixes are in - run an svn update, and restart - Fixed small Query bug in Add Pools - Fixed small Query bug in Add Devices - Alternative install path option: normal install: ./smartcoin_install.sh alternate path install: ./smartcoin_install.sh "/home/your_user" - Temporal files are now stored in /tmp (should be much nicer for USB sticks)
Awesome. Thanks for the quick update.
|
|
|
Jaebird I may create a simple API layer that separates the database from the API interface, so that those wishing to retrieve information for display purposes (including web pages) will have a method to do so (read-only information for display purposes only for obvious reasons). I'm glad it worked well for you stacking it on top of LinuxCoin - I figured it would play nice, but hadn't had time to try it out myself, so thanks for the report. Thanks for the kind words also I have a request that all temporal files ie .Miner.* and others used during the running of smartcoin use the /tmp directory (which is a tmpfs on my system). For my usb thumb drive based install it is thrashing the flash media. Thanks!
|
|
|
BlueHelix, I'll soon be adding the ability to pass a path as a parameter to the install script. For now, all you need to do is create a symbolic link in /usr/bin to smartcoin.sh
Jaebird, Web interface is pretty low on my list, as smartcoin is specifically made to be a terminal application. I'll likely add simple web display with netcat, but not sure how much I'd want to go beyond that at this point, though I'll definitely revisit the question sometime in the future
I understand. I figured if nzbtc wants to leverage your db schema, perhaps there is some synergy between your two projects. I run my miner as headless and sometimes it would be great to see the status page displayed in a readonly http get (JSON anyone?), rather than an ssh term. Btw, this is a great project. I combined it with linuxcoin and a usb thumbdrive...makes for a perfect no hassle miner. Your bash skills are truly great!
|
|
|
I don't want to cross post, but nzbtc on the LinuxCoin thread is putting together a web frontend. I think it would be cool to have a web front end on smartcoin... synergy perhaps?
|
|
|
Here's what I currently have going: Everything updates live (once per second) thanks to the power of javascript! At the minute, only requires you to install php5 on top of LinuxCoin, and use a custom version of phoenix. I would like to add some database logging with either sqlite or mysql for history stats... Still WIP! Oh, and I borrowed the style from http://bitval.dorphern.dk/ ! I will make my own when the time comes OMG, i've been waiting to be able to post as a non-newbie!! @nzbtc, You should get with smartcoin dev jondecker76 and leverage his db schema to put a web frontend over it! That would be uber hotness.
|
|
|
Security and the ability to open different wallets.
|
|
|
aren't the large pools really just a form of company? They could also corrupt the block chain if they gained 51%.
|
|
|
Worked for me as well. Thanks.
|
|
|
Ok, so does this count as the first post!
|
|
|
|