jaebird
Member
Offline
Activity: 79
Merit: 10
|
|
July 01, 2011, 08:22:12 PM Last edit: July 01, 2011, 08:45:52 PM by jaebird |
|
@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.
|
|
|
|
drgr33n (OP)
|
|
July 01, 2011, 09:30:55 PM |
|
@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. 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 !!
|
|
|
|
jaebird
Member
Offline
Activity: 79
Merit: 10
|
|
July 01, 2011, 09:58:10 PM |
|
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
|
|
|
|
|
EnzoMatrix
Newbie
Offline
Activity: 42
Merit: 0
|
|
July 01, 2011, 10:39:09 PM |
|
@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. Thank You for the info I have made the changes to my LinuxCoin install and will do a test reboot when I get home .. this could have saved me several hours of downtime this morning oh well live and learn.
|
|
|
|
EnzoMatrix
Newbie
Offline
Activity: 42
Merit: 0
|
|
July 01, 2011, 11:34:46 PM |
|
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?
|
|
|
|
trueimage
Member
Offline
Activity: 87
Merit: 10
|
|
July 01, 2011, 11:49:00 PM |
|
So, I'm running 0.2b now. When the next version comes out, can I just overwrite the 1st partition with the new iso and keep my persistent partition and my stuff with stay? or do I have to start over with each upgrade?
apparently I've been running the "bad" version, haven't noticed anything... what was the issue? anyway, any ideas on my question above?
|
|
|
|
EnzoMatrix
Newbie
Offline
Activity: 42
Merit: 0
|
|
July 01, 2011, 11:54:44 PM |
|
I tried to do an re-image ontop of the first partition and leave the persistent one alone but it caused odd errors that went away when I redid the persistent partition, so I would recommend backing up your data files and starting from scratch
|
|
|
|
jaebird
Member
Offline
Activity: 79
Merit: 10
|
|
July 02, 2011, 12:39:07 AM |
|
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
|
|
|
|
TheMoneyStorm
Newbie
Offline
Activity: 54
Merit: 0
|
|
July 02, 2011, 01:11:13 AM |
|
I'm getting the below error in the new version, I didn't get it with any of the earlier versions. I'm not running headless or through SSH, So I shouldn't have to export my display. I know X is running, because my desktops loaded. Am I just missing a step or something I need to do in the latest version?
"ERROR - X needs to be running to perform ATI Overdrive(TM) commands"
|
|
|
|
drgr33n (OP)
|
|
July 02, 2011, 01:13:46 AM |
|
I'm getting the below error in the new version, I didn't get it with any of the earlier versions. I'm not running headless or through SSH, So I shouldn't have to export my display. I know X is running, because my desktops loaded. Am I just missing a step or something I need to do in the latest version?
"ERROR - X needs to be running to perform ATI Overdrive(TM) commands"
Sounds like you might have a problem with fglrx ? can you post the output of cat /etc/X11/xorg.conf cat /var/log/Xorg.0.log
|
|
|
|
TheMoneyStorm
Newbie
Offline
Activity: 54
Merit: 0
|
|
July 02, 2011, 01:23:20 AM |
|
That's strange, I just put it back in and booted it and everything's working fine, That's what I get for trying to do stuff when I'm half asleep, my bad
|
|
|
|
anthony.selby
Newbie
Offline
Activity: 42
Merit: 0
|
|
July 02, 2011, 02:28:04 AM |
|
Nifty progress today. [Desktop Entry] Encoding=UTF-8 Name=coin Exec=lxterminal --command "/home/user/start.sh" Terminal=true
#!/bin/bash xhost + echo $DISPLAY > /home/user/.display lxterminal --title miner1_start --command "/home/user/miner1.sh" lxterminal --title miner2_start --command "/home/user/miner2.sh"
#!/bin/bash cd /opt/miners/phoenix ./phoenix.py -u http://__USER__:__PASSWORD__@__PROXY/POOL__:__PORT__/ -k phatk BFI_INT VECTORS FASTLOOP=false AGGRESSION=11 DEVICE=0
#!/bin/bash cd /opt/miners/phoenix ./phoenix.py -u http://__USER__:__PASSWORD__@__PROXY/POOL__:__PORT__/ -k phatk BFI_INT VECTORS FASTLOOP=false AGGRESSION=11 DEVICE=1
#!/bin/bash export DISPLAY=`cat /home/user/.display` pc=`ps waxuf | grep miner1.sh -c` ld=`aticonfig --odgc --adapter=0 | grep "GPU load" | cut -c 30-35 | cut -d % -f 1` if [[ $pc -lt 2 || $ld -lt 50 ]] ; then killall -KILL miner1.sh nohup lxterminal --title miner1 --command /home/user/miner1.sh & fi pc=`ps waxuf | grep miner2.sh -c` ld=`aticonfig --odgc --adapter=1 | grep "GPU load" | cut -c 30-35 | cut -d % -f 1` if [[ $pc -lt 2 || $ld -lt 50 ]] ; then killall -KILL miner2.sh nohup lxterminal --title miner2 --command /home/user/miner2.sh & fi
1,11,21,31,41,51 * * * * /home/user/restart.sh
miner1.sh and miner2.sh are owned by root.root, and are setuid/setgid (mode 6755) while the others are owned by user.user and are mode 0755. Very simple to extend this to multiple miners, and it will restart any that are crashed or hung. I can't get this to work ... It just sits at a terminal screen that says miner1_start with a cursor for a while then it say ./miner1.sh: line 3: 3361 Killed ./phoenix.py -u http://usr@pwd@api.bitcoin.cz:8332/ -k phatk BFI_INT VECTORS FASTLOOP=false AGGRESSION=11 DEVICE=0 I took out the user and pass .... if I just type the command in it works fine ... any help would be great
|
|
|
|
pinjas
Newbie
Offline
Activity: 28
Merit: 0
|
|
July 02, 2011, 03:12:38 AM |
|
Hello,
I've been trying to figure out how to get to a higher overclock than 840 for my video card but have so far been unsuccessful.
First, I load a root terminal and enter "aticonfig --od-enable". Then, I load AMDOverdriveCtrl and make some modifications to the best levels allowable on the software. I then save the profile and then open the profile with leafpad. I modify the profile to have suitable clock settings for the GPU and save it. When I open another root terminal and attempt to load the profile 'AMDOverdriveCtrl -i (insert number of a gpu here) -a (insert chosen profile name here).ovdr' I get an error. "Overdrive Error Could not apply overdrive settings." I have the powertune settings at 20%.
Basically, I don't seem to be able to go above the allowable defaults. I've done plenty of reading and finding this "aticonfig --od-enable" excited me, thinking that was the solution to my problem. I thought I was so clever when I modified the profile with leafpad, haha.
|
|
|
|
organofcorti
Donator
Legendary
Offline
Activity: 2058
Merit: 1007
Poor impulse control.
|
|
July 02, 2011, 03:50:06 AM |
|
Anyone had any luck with 11.6 in downclocking mem on a 69xx to more than 100MHz below core?
|
|
|
|
spiccioli
Legendary
Offline
Activity: 1379
Merit: 1003
nec sine labore
|
|
July 02, 2011, 08:17:06 AM |
|
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?
EnzoMatrix, I clone them this way: put your empty USB stick in a usb port, then issue a you should see something like: [38443.728018] usb 3-4: new high speed USB device number 3 using ehci_hcd [38443.863492] usb 3-4: New USB device found, idVendor=0951, idProduct=1624 [38443.863496] usb 3-4: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [38443.863498] usb 3-4: Product: DataTraveler G2 [38443.863500] usb 3-4: Manufacturer: Kingston [38443.863501] usb 3-4: SerialNumber: 0013729B6EB8E9616000002A [38443.863978] scsi15 : usb-storage 3-4:1.0 [38444.893201] scsi 15:0:0:0: Direct-Access Kingston DataTraveler G2 PMAP PQ: 0 ANSI: 0 CCS [38444.894329] sd 15:0:0:0: Attached scsi generic sg2 type 0 [38445.626356] sd 15:0:0:0: [sdb] 15679488 512-byte logical blocks: (8.02 GB/7.47 GiB) [38445.626847] sd 15:0:0:0: [sdb] Write Protect is off [38445.626850] sd 15:0:0:0: [sdb] Mode Sense: 23 00 00 00 [38445.626852] sd 15:0:0:0: [sdb] Assuming drive cache: write through [38445.630964] sd 15:0:0:0: [sdb] Assuming drive cache: write through [38445.654546] sdb: unknown partition table [38445.657168] sd 15:0:0:0: [sdb] Assuming drive cache: write through [38445.657173] sd 15:0:0:0: [sdb] Attached SCSI removable disk
Here I've just inserted a Kingston 8Gb USB stick, note the name it gets in the line where it tells you how bit it is: here is [38445.626356] sd 15:0:0:0: [sdb] 15679488 512-byte logical blocks: (8.02 GB/7.47 GiB)
So its name is sdb. With a command you can verify that your corrent USB stick (the one you booted from) is not sdb, /dev/sda1 on /live/image type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=cp437,iocharset=utf8,shortname=mixed,errors=remount-ro) /dev/sda2 on /live/cow type ext4 (rw,noatime,user_xattr,acl,barrier=1,data=ordered)
look for the lines that contain /live/image and /live/cow. then, to do the copy dd if=/dev/sda of=/dev/sdb bs=64K
which calls dd and gives it the input file (on linux everything is a file, even a disk) the if=, the output file of= and a block size bs= to make it go faster otherwise it does a sector by sector copy (512 bytes) and so it can take a fairly longer time. PAY ATTENTIONIf you make a mistake and put as output file your current USB stick (the one you booted from) you will erase it!! Be carefull.
|
|
|
|
Jonathan Ryan Owens
Donator
Sr. Member
Offline
Activity: 392
Merit: 252
|
|
July 02, 2011, 10:09:42 AM |
|
Anyone had any luck with 11.6 in downclocking mem on a 69xx to more than 100MHz below core?
Not yet. If you come across a solution, do let me know!
|
|
|
|
|
Folax
|
|
July 02, 2011, 10:55:39 AM |
|
I then save the profile and then open the profile with leafpad. I modify the profile to have suitable clock settings for the GPU and save it.
Want to try this too (and will find out it doesn't work this way), but I wonder where the profiles are stored, at what location?
|
My GF thinks I'm useless, if you think otherwise and can proof it to her, please do so and donate: 14wG6u2bAD9q1nLmLL9MST1ZzbTE9Pt8nG
|
|
|
spiccioli
Legendary
Offline
Activity: 1379
Merit: 1003
nec sine labore
|
|
July 02, 2011, 11:25:48 AM |
|
I'm getting the below error in the new version, I didn't get it with any of the earlier versions. I'm not running headless or through SSH, So I shouldn't have to export my display. I know X is running, because my desktops loaded. Am I just missing a step or something I need to do in the latest version?
"ERROR - X needs to be running to perform ATI Overdrive(TM) commands"
Sounds like you might have a problem with fglrx ? can you post the output of cat /etc/X11/xorg.conf cat /var/log/Xorg.0.log
drgr33n, I'm testing it, it seems to me that /etc/X11/xorg.conf gets wiped at every reboot, so I need to issue a sudo aticonfig --initial --adapter=all
at every reboot, to recreate it, otherwise I can't use aticonfig commands. spiccioli
|
|
|
|
|