boinc???

Post here if you are a new Porteus member and you're looking for some help.
Locked
Bogomips
Full of knowledge
Full of knowledge
Posts: 2522
Joined: 25 Jun 2014, 15:21
Distribution: 3.2.2 Cinnamon & KDE5
Location: London

Re: boinc???

Post#61 by Bogomips » 15 Oct 2015, 19:26

Hi wacojohn

So let's take this slowly. Please post, from terminal while boinc running. the output of:
  • Code: Select all

    free -m
    df -h ~
    lsblk | grep loop
  • Additional info:

    Code: Select all

    cat /proc/cmdline
    cat /var/log/porteus-livedbg
    ls -lh /mnt/sda1/porteus/{,base,modules,optional}
    du -sh  /mnt/sda1/porteus/changes
    
  • Boinc Manager
    View > Advanced View > Advanced > Event Log > Copy All
    Place within
    as much from the beginning, until it becomes monotonous.
P.S. Which boot loader do you have installed on your hard disk drive?
Linux porteus 4.4.0-porteus #3 SMP PREEMPT Sat Jan 23 07:01:55 UTC 2016 i686 AMD Sempron(tm) 140 Processor AuthenticAMD GNU/Linux
NVIDIA Corporation C61 [GeForce 6150SE nForce 430] (rev a2) MemTotal: 901760 kB MemFree: 66752 kB

wacojohn
Samurai
Samurai
Posts: 107
Joined: 04 Sep 2015, 18:26
Distribution: Porteus 3.1
Location: Waco, TX

Re: boinc???

Post#62 by wacojohn » 15 Oct 2015, 22:29

Boinc is not running. I attempted some USM updates and Porteus updates while it was running. Figured a reboot would be prudent .. but could not quit Boinc. I figured I could come back to the forum and figure out how to run it again, so I wiped HD and did a fresh frugal install. There is no Boinc at the moment. So sorry. :oops:

edit: Pretty sure it is GRUB. I never specified any type during the frugal install.

Bogomips
Full of knowledge
Full of knowledge
Posts: 2522
Joined: 25 Jun 2014, 15:21
Distribution: 3.2.2 Cinnamon & KDE5
Location: London

Re: boinc???

Post#63 by Bogomips » 16 Oct 2015, 17:50

wacojohn wrote:edit: Pretty sure it is GRUB. I never specified any type during the frugal install.
With coldstart boot from hard disk, do you see a message at the end of bios output, which says booting from grub, 'Grub 1.5 loading'?
Linux porteus 4.4.0-porteus #3 SMP PREEMPT Sat Jan 23 07:01:55 UTC 2016 i686 AMD Sempron(tm) 140 Processor AuthenticAMD GNU/Linux
NVIDIA Corporation C61 [GeForce 6150SE nForce 430] (rev a2) MemTotal: 901760 kB MemFree: 66752 kB

wacojohn
Samurai
Samurai
Posts: 107
Joined: 04 Sep 2015, 18:26
Distribution: Porteus 3.1
Location: Waco, TX

Re: boinc???

Post#64 by wacojohn » 16 Oct 2015, 22:31

="Bogomips"With coldstart boot from hard disk, do you see a message at the end of bios output, which says booting from grub, 'Grub 1.5 loading'?
The word Grub in any case does not appear .... and neither does LILO.

There is something else peculiar. I said I wiped drive and did a frugal to HD. In the FIRST installation, I had a user account wacojohn. This time ONLY Guest and Root. Something is amiss. I thought I did the second install the same with I did the first. This install MAY not be any good. I would not know.

Bogomips
Full of knowledge
Full of knowledge
Posts: 2522
Joined: 25 Jun 2014, 15:21
Distribution: 3.2.2 Cinnamon & KDE5
Location: London

Re: boinc???

Post#65 by Bogomips » 17 Oct 2015, 01:39

wacojohn wrote: This time ONLY Guest and Root. Something is amiss. I thought I did the second install the same with I did the first. This install MAY not be any good. I would not know.
There can only be TWO. Any more means trouble. :%)

So, you got bios to boot off hard disk, am I right. Then turned off computer, Then turned on and there was nneither Grub nor LILO mentioned?
Linux porteus 4.4.0-porteus #3 SMP PREEMPT Sat Jan 23 07:01:55 UTC 2016 i686 AMD Sempron(tm) 140 Processor AuthenticAMD GNU/Linux
NVIDIA Corporation C61 [GeForce 6150SE nForce 430] (rev a2) MemTotal: 901760 kB MemFree: 66752 kB

wacojohn
Samurai
Samurai
Posts: 107
Joined: 04 Sep 2015, 18:26
Distribution: Porteus 3.1
Location: Waco, TX

Re: boinc???

Post#66 by wacojohn » 17 Oct 2015, 14:28

Bogomips wrote:
wacojohn wrote: This time ONLY Guest and Root. Something is amiss. I thought I did the second install the same with I did the first. This install MAY not be any good. I would not know.
There can only be TWO. Any more means trouble. :%)

So, you got bios to boot off hard disk, am I right. Then turned off computer, Then turned on and there was nneither Grub nor LILO mentioned?
Hmmmm . wonder how I got WacoJohn the first time. Oh, well.

Yes, Sir .. I did a full shut down. Machine off. Hit pwr button, no boot media except HD, screen went by very fast .. but slow enough to see it real fast. Next screen is the one with all the options ... none of which I ever select. Next screen is log in. No GRUB/LILO mention. Then, desktop. I did this twice to be certain. I am ASSUMING I have accomplished a 'frugal' install .... since it is coming up from HD.

I just did it again ... to be certain .. never saw a reference to GRUB/LILO.

Bogomips
Full of knowledge
Full of knowledge
Posts: 2522
Joined: 25 Jun 2014, 15:21
Distribution: 3.2.2 Cinnamon & KDE5
Location: London

Re: boinc???

Post#67 by Bogomips » 18 Oct 2015, 00:39

@wacojohn Seems like you have the bog-standard syslinux booting arrangement. So we'll take it from there tomorrow.
Linux porteus 4.4.0-porteus #3 SMP PREEMPT Sat Jan 23 07:01:55 UTC 2016 i686 AMD Sempron(tm) 140 Processor AuthenticAMD GNU/Linux
NVIDIA Corporation C61 [GeForce 6150SE nForce 430] (rev a2) MemTotal: 901760 kB MemFree: 66752 kB

wacojohn
Samurai
Samurai
Posts: 107
Joined: 04 Sep 2015, 18:26
Distribution: Porteus 3.1
Location: Waco, TX

Re: boinc???

Post#68 by wacojohn » 18 Oct 2015, 02:21

Bogomips wrote:@wacojohn Seems like you have the bog-standard syslinux booting arrangement. So we'll take it from there tomorrow.
Groan. The whut?? I don't have a 'frugal' install??? So confused. Bog-standard??

Anyway .. if you find this satisfactory, I stand for your next instructions. Thank you profusely ... again. :wall:

EDIT: Just to show I am not as stupid as it may sound .... GRUB/LILO are utilities used for Dual Booting. This machine does not have anything on it but Porteus on the HD. Therefore, no GRUB ..... NO LILO. Instead .. being single boot w/ Linux, .. it uses the "bog-standard syslinux booting arrangement."

Have I got it right now??? Came to me during the night.

Bogomips
Full of knowledge
Full of knowledge
Posts: 2522
Joined: 25 Jun 2014, 15:21
Distribution: 3.2.2 Cinnamon & KDE5
Location: London

Re: boinc???

Post#69 by Bogomips » 18 Oct 2015, 23:48

wacojohn wrote:EDIT: Just to show I am not as stupid as it may sound .... GRUB/LILO are utilities used for Dual Booting. This machine does not have anything on it but Porteus on the HD. Therefore, no GRUB ..... NO LILO. Instead .. being single boot w/ Linux, .. it uses the "bog-standard syslinux booting arrangement."

Have I got it right now??? Came to me during the night.
That is the conclusion to which I have come :) On the basis of which the following steps have been outlined within the second post of this thread for ease of access. If you run into trouble with finding the boot file during my night, someone like francois in your TZ is always on the look out here.
Linux porteus 4.4.0-porteus #3 SMP PREEMPT Sat Jan 23 07:01:55 UTC 2016 i686 AMD Sempron(tm) 140 Processor AuthenticAMD GNU/Linux
NVIDIA Corporation C61 [GeForce 6150SE nForce 430] (rev a2) MemTotal: 901760 kB MemFree: 66752 kB

wacojohn
Samurai
Samurai
Posts: 107
Joined: 04 Sep 2015, 18:26
Distribution: Porteus 3.1
Location: Waco, TX

Re: boinc???

Post#70 by wacojohn » 19 Oct 2015, 01:39

Bogomips wrote:That is the conclusion to which I have come :) On the basis of which the following steps have been outlined within the second post of this thread for ease of access. If you run into trouble with finding the boot file during my night, someone like francois in your TZ is always on the look out here.
OK ... as I understand it, you want me to follow everything in the 2nd post of this thread. Here it is:
Bogomips wrote:
    1. download package if not already downloaded and
      cttan wrote:The BOINC package you downloaded from http://boinc.berkeley.edu/download.php
    2. wacojohn wrote: need to know what to do with boinc_7.2.42_i686-pc-linux-gnu.sh which now sits on my desktop.

      Code: Select all

      ln ~/Desktop/boinc_7.2.42_i686-pc-linux-gnu.sh ~
      sh boinc_7.2.42_i686-pc-linux-gnu.sh
      ls -lh
      
      and that is the last thing I have done as shown here:

      Code: Select all

      guest@porteus:~/Desktop$ sh boinc_7.2.42_i686-pc-linux-gnu.sh
      use /home/guest/Desktop/BOINC/run_manager to start BOINC
      guest@porteus:~/Desktop$ ls -lh
      total 3.9M
      drwxr-xr-x 4 guest guest 4.0K Oct 18 19:49 BOINC/
      -rw-r--r-- 1 guest guest 3.2M Oct 18 19:39 boinc_7.2.42_i686-pc-linux-gnu.sh
      guest@porteus:~/Desktop$ 
      
      and what follows .. is WAY over my head. Like a dog watching TV .. something is going on, but he has only a shred of relationship to it. Nautilus, Nemo, Handbrake, GStreamer, Make Up AND MORE .. I have no idea what they mean. This part is explained in a manner that is far too advanced for me, especially with a redirect to another thread.

      In light of that ... either it is broken down into VERY simple steps .... or we kill this whole idea and I will junk this computer. It depends on you and which way you want to go. I don't want to take too much of your time, but I cannot follow this at this point.


      Your info continues below:
  1. Following directions within this post, download boinc-7.2.42.i686.xzm to /home/guest
  2. Need to strip Boinc of executables, placing them somewhere, where they can do no harm:

    Code: Select all

    mkdir /tmp/bnc
    for b in  BOINC/boinc*; do ! [[ $b =~ png$ ]] && mv $b /tmp/bnc; done
    
    1. Copy boinc-7.2.42.i686.xzm to modules folder

      Code: Select all

      cp boinc-7.2.42.i686.xzm /mnt/sda1/porteus/modules    # As root or sudo
      ls -lh /mnt/sda1/porteus/modules
    2. Make a real filesystem directory and copy BOINC to it:

      Code: Select all

      mkdir /mnt/sda1/disk		# As root or sudo
      chmod a+rw /mnt/sda1/disk	# As root or sudo
      cp -a BOINC /mnt/sda1/disk
      du -sh /mnt/sda1/disk/BOINC
  3. Obtain Measurements
      1. Create script boinc_mgr

        Code: Select all

        #!/bin/bash
        cd  /mnt/sda1/disk/BOINC
        boincmgr
      2. Make executable and insert in BOINC

        Code: Select all

        chmod a+x boinc_mgr
        cp boinc_mgr /mnt/sda1/disk/BOINC
    1. Edit boot/syslinux/porteus.cfg file to Set up Kernel Parameters (cheatcodes)
      1. Lines of interest (something like)

        Code: Select all

        LABEL gui
        MENU LABEL Graphics mode (xxx)
        KERNEL vmlinuz
        APPEND initrd=initrd.xz changes=/porteus 
        TEXT HELP
            Run Porteus the best way we can.
            Try to autoconfigure graphics
            card and use the maximum
            allowed resolution
        ENDTEXT
        
      2. Append following Parameters to APPEND line
        • Code: Select all

          cliexec=boinc~--dir~/mnt/sda1/disk/BOINC~--daemon
        • Code: Select all

          guiexec=/mnt/sda1/disk/BOINC/boinc_mgr
    2. Reboot
      1. Check Kernel Parameters

        Code: Select all

        cat /proc/cmdline
        cat /var/log/porteus-livedbg
        du -sh  /mnt/sda1/porteus/changes
        
      2. Additional info

        Code: Select all

        ls -lh /mnt/sda1/porteus/{,base,modules,optional}
        lsblk | grep loop
        free -m
        df -h ~
        ps -e | grep boinc
        
      3. Boinc Manager
        View > Advanced View > Advanced > Event Log > Copy All
        Place within
        as much from the beginning, until it becomes monotonous.
  4. To be continued
Superseded Original Post

Looked easy enough, but have hit a request for a versioned library, which is always a headache. :wall: Will only go ahead if no one else comes up with something in near future. Other than that, welcome to Porteus.

P.S. One other thing to know is if Non-X version acceptable.

Update

Despite above-mentioned obstacle, it seems to run. Been a while since tried out Boinc. Is this normal running?

Code: Select all

guest@porteus:~$ boinc
boinc: /usr/lib/libcurl.so.4: no version information available (required by boinc)
06-Sep-2015 21:20:58 [---] cc_config.xml not found - using defaults
06-Sep-2015 21:20:58 [---] Starting BOINC client version 7.2.42 for i686-pc-linux-gnu
06-Sep-2015 21:20:58 [---] log flags: file_xfer, sched_ops, task
06-Sep-2015 21:20:58 [---] Libraries: libcurl/7.36.0 OpenSSL/1.0.1c zlib/1.2.8 libidn/1.25
06-Sep-2015 21:20:58 [---] Data directory: /home/guest
execv: No such file or directory
06-Sep-2015 21:20:58 [---] GPU detection failed. error code 512
06-Sep-2015 21:20:58 [---] No usable GPUs found
06-Sep-2015 21:20:58 [---] Creating new client state file
06-Sep-2015 21:20:58 [---] Host name: porteus
06-Sep-2015 21:20:58 [---] Processor: 1 AuthenticAMD AMD Sempron(tm) 140 Processor [Family 16 Model 6 Stepping 2]
06-Sep-2015 21:20:58 [---] Processor features: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm 3dnowext 3dnow constant_tsc rep_good nonstop_tsc extd_apicid pni monitor cx16 popcnt lahf_lm svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt hw_pstate npt lbrv svm_lock nrip_save vmmcall
06-Sep-2015 21:20:58 [---] OS: Linux: 3.18.21-porteus
06-Sep-2015 21:20:58 [---] Memory: 880.39 MB physical, 644.68 MB virtual
06-Sep-2015 21:20:58 [---] Disk: 264.12 MB total, 252.33 MB free
06-Sep-2015 21:20:58 [---] Local time is UTC +1 hours
06-Sep-2015 21:20:58 [---] No general preferences found - using defaults
06-Sep-2015 21:20:58 [---] Preferences:
06-Sep-2015 21:20:58 [---]    max memory usage when active: 440.20MB
06-Sep-2015 21:20:58 [---]    max memory usage when idle: 792.36MB
06-Sep-2015 21:20:58 [---]    max disk usage: 0.15GB
06-Sep-2015 21:20:58 [---]    don't use GPU while active
06-Sep-2015 21:20:58 [---]    suspend work if non-BOINC CPU load exceeds 25%
06-Sep-2015 21:20:58 [---]    (to change preferences, visit a project web site or select Preferences in the Manager)
06-Sep-2015 21:20:58 [---] Not using a proxy
06-Sep-2015 21:20:58 [---] This computer is not attached to any projects
06-Sep-2015 21:20:58 [---] Visit http://boinc.berkeley.edu for instructions
06-Sep-2015 21:20:58 Initialization completed
06-Sep-2015 21:22:48 [---] Suspending computation - CPU is busy
06-Sep-2015 21:22:59 [---] Resuming computation
06-Sep-2015 21:23:09 [---] Suspending computation - CPU is busy
[/quote]

Bogomips
Full of knowledge
Full of knowledge
Posts: 2522
Joined: 25 Jun 2014, 15:21
Distribution: 3.2.2 Cinnamon & KDE5
Location: London

Re: boinc???

Post#71 by Bogomips » 19 Oct 2015, 12:17

@wacojohn

All you had to do was to find boinc in the indicated post and download it as requested. This kind of download you have already done previously.
BOINC
md5sum boinc-7.2.42.i686.xzm
3367499251a5f8b7508af5859d0d3d48 boinc-7.2.42.i686.xzm
Linux porteus 4.4.0-porteus #3 SMP PREEMPT Sat Jan 23 07:01:55 UTC 2016 i686 AMD Sempron(tm) 140 Processor AuthenticAMD GNU/Linux
NVIDIA Corporation C61 [GeForce 6150SE nForce 430] (rev a2) MemTotal: 901760 kB MemFree: 66752 kB

wacojohn
Samurai
Samurai
Posts: 107
Joined: 04 Sep 2015, 18:26
Distribution: Porteus 3.1
Location: Waco, TX

Re: boinc???

Post#72 by wacojohn » 19 Oct 2015, 12:59

Bogomips wrote:@wacojohn

All you had to do was to find boinc in the indicated post and download it as requested. This kind of download you have already done previously.
BOINC
md5sum boinc-7.2.42.i686.xzm
3367499251a5f8b7508af5859d0d3d48 boinc-7.2.42.i686.xzm
Oh. I read that wrong, then. Thought I was to perform everything in the 2nd post. Uh .. well, I have boinc_7.2.42_i686-pc-linux-gnu.sh on the Desktop AND I ran:

Code: Select all

guest@porteus:~/Desktop$ sh boinc_7.2.42_i686-pc-linux-gnu.sh
use /home/guest/Desktop/BOINC/run_manager to start BOINC
guest@porteus:~/Desktop$ ls -lh
total 3.9M
drwxr-xr-x 4 guest guest 4.0K Oct 18 19:49 BOINC/
-rw-r--r-- 1 guest guest 3.2M Oct 18 19:39 boinc_7.2.42_i686-pc-linux-gnu.sh
guest@porteus:~/Desktop$

Bogomips
Full of knowledge
Full of knowledge
Posts: 2522
Joined: 25 Jun 2014, 15:21
Distribution: 3.2.2 Cinnamon & KDE5
Location: London

Re: boinc???

Post#73 by Bogomips » 19 Oct 2015, 15:00

@wacojohn

NB Unless otherwise stated all work takes place in /home/guest. So readjust:

Code: Select all

cd ~
pwd
And continue with Step 1(b).
Linux porteus 4.4.0-porteus #3 SMP PREEMPT Sat Jan 23 07:01:55 UTC 2016 i686 AMD Sempron(tm) 140 Processor AuthenticAMD GNU/Linux
NVIDIA Corporation C61 [GeForce 6150SE nForce 430] (rev a2) MemTotal: 901760 kB MemFree: 66752 kB

wacojohn
Samurai
Samurai
Posts: 107
Joined: 04 Sep 2015, 18:26
Distribution: Porteus 3.1
Location: Waco, TX

Re: boinc???

Post#74 by wacojohn » 19 Oct 2015, 15:33

Code: Select all

guest@porteus:~$ pwd
/home/guest
guest@porteus:~$ ln ~/Desktop/boinc_7.2.42_i686-pc-linux-gnu.sh ~
guest@porteus:~$ sh boinc_7.2.42_i686-pc-linux-gnu.sh
use /home/guest/BOINC/run_manager to start BOINC
guest@porteus:~$ ls -lh
total 3.2M
drwxr-xr-x 4 guest guest 4.0K Oct 19 10:22 BOINC/
drwxr-xr-x 3 guest guest 4.0K Oct 18 19:49 Desktop/
drwxr-xr-x 2 guest guest    3 Jul 23  2014 Documents/
drwxr-xr-x 2 guest guest    3 Jan 15  2011 Downloads/
drwxr-xr-x 2 guest guest    3 Jul 23  2014 Music/
drwxr-xr-x 2 guest guest    3 Jul 23  2014 Pictures/
drwxr-xr-x 2 guest guest    3 Jul 23  2014 Video/
-rw-r--r-- 2 guest guest 3.2M Oct 18 19:39 boinc_7.2.42_i686-pc-linux-gnu.sh
guest@porteus:~$

Bogomips
Full of knowledge
Full of knowledge
Posts: 2522
Joined: 25 Jun 2014, 15:21
Distribution: 3.2.2 Cinnamon & KDE5
Location: London

Re: boinc???

Post#75 by Bogomips » 19 Oct 2015, 19:03

^ Good. Carry on with rest of steps: 2-6. Need only to post all terminal output of 3. to 5(a), once 5(a) finished. Then carry on from 5(b) to 6, posting all the output after reboot at the end after the last step.
Linux porteus 4.4.0-porteus #3 SMP PREEMPT Sat Jan 23 07:01:55 UTC 2016 i686 AMD Sempron(tm) 140 Processor AuthenticAMD GNU/Linux
NVIDIA Corporation C61 [GeForce 6150SE nForce 430] (rev a2) MemTotal: 901760 kB MemFree: 66752 kB

Locked