Index  | Recent Threads  | Unanswered Threads  | Who's Active  | Guidelines  | Search
 

Quick Go »
No member browsing this thread
Thread Status: Active
Total posts in this thread: 66
Posts: 66   Pages: 7   [ Previous Page | 1 2 3 4 5 6 7 | Next Page ]
[ Jump to Last Post ]
Post new Thread
Author
Previous Thread This topic has been viewed 9606 times and has 65 replies Next Thread
Former Member
Cruncher
Joined: May 22, 2018
Post Count: 0
Status: Offline
Reply to this Post  Reply with Quote 
Re: BOINC + FreeBSD = Success

Do you have installed linux binaries and enables them.
It looks like you don't have them installed or not enabled

They were, and I had linux.ko loaded. And linprocfs mounted. I fiddled with the compat.linux.osrelease sysctl, but setting it to 2.6.19 cores the faah1255 task. As long as the faah doesn't provide more meaningful diagnostics, I don't think I can do much.


Don't you have an outdated version?
I have freebsd 6.1
boinc_client 5.49_1
linux_base-8-8.0_14 and it works fine then.
If this doesn't help I can;t help you. Maybe you should ask it at the forum of the cancer project
[Jan 23, 2007 6:04:34 PM]   Link   Report threatening or abusive post: please login first  Go to top 
Former Member
Cruncher
Joined: May 22, 2018
Post Count: 0
Status: Offline
Reply to this Post  Reply with Quote 
Re: BOINC + FreeBSD = Success

I got this:2007-01-01 12:34:19 [---] Starting BOINC client version 5.4.9 for i386-portbld-freebsd
2007-01-01 12:34:25 [World Community Grid] Message from server: platform 'i386-portbld-freebsd' not found


Clearly you didn't get the correct build type. Do remember to apply that fix to the makefile, or you will get the wrong HOSTTYPE. You might try to run make patch, edit the Makefile, run make configure and then take a look at work/boinc-client-5.4.9/config.h; it should contain a line
#define HOSTTYPE "i686-pc-linux-gnu"
. If it doesn't -- I just went through a build that ended up with "yes" there -- fix it before compiling.


I know you have to fix that! I explained a few pages ago how to do that.

I just wanted to say that WCG should add FreeBSD as a legal platform it would be a lot easier!
[Jan 23, 2007 6:08:33 PM]   Link   Report threatening or abusive post: please login first  Go to top 
Former Member
Cruncher
Joined: May 22, 2018
Post Count: 0
Status: Offline
Reply to this Post  Reply with Quote 
Re: BOINC + FreeBSD = Success

I just wanted to say that WCG should add FreeBSD as a legal platform it would be a lot easier!


The problem with that is they would require each project that WCG runs to build and test a FreeBSD version of their task and spend the time on making sure the results validate.

Given we only have 7 FreeBSD hosts using my hack that is not reason enough for them to compile and test on FreeBSD.

My main hope with this hack is that I could get more FreeBSD users involved in the project under emulation, which would let WCG/boing/UD know that there is a large enough FreeBSD userbase out there willing and able to support them.
[Jan 27, 2007 2:22:07 AM]   Link   Report threatening or abusive post: please login first  Go to top 
Former Member
Cruncher
Joined: May 22, 2018
Post Count: 0
Status: Offline
Reply to this Post  Reply with Quote 
Re: BOINC + FreeBSD = Success

I just wanted to say that WCG should add FreeBSD as a legal platform it would be a lot easier!


The problem with that is they would require each project that WCG runs to build and test a FreeBSD version of their task and spend the time on making sure the results validate.

Given we only have 7 FreeBSD hosts using my hack that is not reason enough for them to compile and test on FreeBSD.

My main hope with this hack is that I could get more FreeBSD users involved in the project under emulation, which would let WCG/boing/UD know that there is a large enough FreeBSD userbase out there willing and able to support them.


Well, I took the liberty to send an email to the registered port maintainer for boinc-client on the FreeBSD ports and an email to the freebsd-ports list giving the url for this thread, and hopefully more people will start crunching WCG units using their FreeBSD boxes.
[Jan 27, 2007 1:15:35 PM]   Link   Report threatening or abusive post: please login first  Go to top 
Former Member
Cruncher
Joined: May 22, 2018
Post Count: 0
Status: Offline
Reply to this Post  Reply with Quote 
Re: BOINC + FreeBSD = Success

I just wanted to say that WCG should add FreeBSD as a legal platform it would be a lot easier!


The problem with that is they would require each project that WCG runs to build and test a FreeBSD version of their task and spend the time on making sure the results validate.

Given we only have 7 FreeBSD hosts using my hack that is not reason enough for them to compile and test on FreeBSD.

My main hope with this hack is that I could get more FreeBSD users involved in the project under emulation, which would let WCG/boing/UD know that there is a large enough FreeBSD userbase out there willing and able to support them.


Well, I took the liberty to send an email to the registered port maintainer for boinc-client on the FreeBSD ports and an email to the freebsd-ports list giving the url for this thread, and hopefully more people will start crunching WCG units using their FreeBSD boxes.


The biggest problem is that if you enable linux you can't run any other projects that support native FreeBSD without linux emulation. So not many FreeBSD people will contribute too WCgrid.

I have one week holiday in the end of February and I hope I can tweak BOINC so that it can run native FreeBSD proejects and WCgrid projects in emulation. I hope it will work. If it works I will add the port to the FreeBSd portscolection
[Jan 28, 2007 9:50:14 AM]   Link   Report threatening or abusive post: please login first  Go to top 
knreed
Former World Community Grid Tech
Joined: Nov 8, 2004
Post Count: 4504
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Re: BOINC + FreeBSD = Success

We are going to see if our 32 bit binary can be sent out to FreeBSD clients and run in emulation mode automatically. Please read this thread:

http://www.worldcommunitygrid.org/forums/wcg/viewthread?thread=11623

The binary 'should' identify itself as Linux binary and if the FreeBSD user has enabled the Linux compatibility mode it should work.
----------------------------------------
[Edit 1 times, last edit by knreed at Feb 6, 2007 7:55:59 PM]
[Feb 6, 2007 7:54:54 PM]   Link   Report threatening or abusive post: please login first  Go to top 
Former Member
Cruncher
Joined: May 22, 2018
Post Count: 0
Status: Offline
Reply to this Post  Reply with Quote 
Re: BOINC + FreeBSD = Success

We are going to see if our 32 bit binary can be sent out to FreeBSD clients and run in emulation mode automatically. Please read this thread:

http://www.worldcommunitygrid.org/forums/wcg/viewthread?thread=11623

The binary 'should' identify itself as Linux binary and if the FreeBSD user has enabled the Linux compatibility mode it should work.


If its the same binary you are using for Linux32 then the ELF magic number will be for linux-i386 which will cause FreeBSD to run it under emulation automatically, providing that the linux kernel module is loaded (or compiled in to the kernel statically) and the required ports/packages are installed.

I'm not sure what my client identifies itself as, in theory it should be 'amd64-portbld-freebsd' and not 'i386-portbld-freebsd' as mentioned in the post, but either way amd64 runs linux32 emulation only afaik.
[Feb 7, 2007 6:51:37 AM]   Link   Report threatening or abusive post: please login first  Go to top 
knreed
Former World Community Grid Tech
Joined: Nov 8, 2004
Post Count: 4504
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Re: BOINC + FreeBSD = Success

I looked at our web logs and the following 'unknown platforms' requested work over the last 12 hours:

10 computers requested x86_64-pc-linux-gnu
10 computers requested i386-portbld-freebsd
2 computers requested x86_64-unknown-linux-gnu

The following platforms each had 1 computer request them:
powerpc-unknown-linux-gnu
sparc-unknown-linux-gnu
ia64-unknown-linux-gnu
i386-pc-linux-gnu
[Feb 7, 2007 3:15:54 PM]   Link   Report threatening or abusive post: please login first  Go to top 
Former Member
Cruncher
Joined: May 22, 2018
Post Count: 0
Status: Offline
Reply to this Post  Reply with Quote 
Re: BOINC + FreeBSD = Success

Now for the nasty nasty ugly hack ...
find the boinc-client configure file, this is probably in /usr/ports/net/boinc-client/.work/boinc-client-5.4.9/
and find the lines that read
cat >>confdefs.h <<_ACEOF
#define HOSTTYPE "$boinc_platform"
_ACEOF
and on the line between the start of that block and the line that reads
  fi
add the line
boinc_platform="i686-pc-linux-gnu"


(I did say it was an ugly ugly hack)

return to /usr/ports/net/boinc-client/ and finish off the port with 'make install'

this should install i686-pc-linux-gnu-boinc_client in to /usr/local/bin

once the client is installed make sure that linux emulation is loaded in the kernel and the usual emulation userland is installed
then you can simply run the client with the attach command to get it running

adw@skynet:~/boinc> i686-pc-linux-gnu-boinc_client -attach_project www.worldcommunitygrid.org abcdef1234567890abcdef1234567890
2006-12-07 06:11:47 [---] Starting BOINC client version 5.4.9 for i686-pc-linux-gnu
2006-12-07 06:11:47 [---] libcurl/7.15.5 OpenSSL/0.9.7e zlib/1.2.3
2006-12-07 06:11:47 [---] Data directory: /usr/home/adw/boinc
2006-12-07 06:11:47 [---] Processor: 1 amd64 AMD Sempron(tm) Processor 3000+
2006-12-07 06:11:47 [---] Memory: 1013.05 MB physical, 0 bytes virtual
2006-12-07 06:11:47 [---] Disk: 36.09 GB total, 7.95 GB free
2006-12-07 06:11:47 [http://www.worldcommunitygrid.org/] URL: http://www.worldcommunitygrid.org/; Computer ID: not assigned yet; location: ; project prefs: default
2006-12-07 06:11:47 [---] No general preferences found - using BOINC defaults
2006-12-07 06:11:47 [---] Local control only allowed
2006-12-07 06:11:47 [---] Listening on port 31416
2006-12-07 06:11:47 [---] Platform changed from to i686-pc-linux-gnu - resetting projects


Ok, I'm trying to follow along but I'm getting stumped somewhere along the way. I can get the client to start but it never attaches after feeding it the -attach_project command.
I'm using 5.8.11 boinc client on FreeBSD 6.1
In my configure file I have the following:
-----------------------
fi

cat >>confdefs.h <<_ACEOF
#define HOSTTYPE "$boinc_platform"
_ACEOF

boinc_platform=$boinc_platform

(etc..)
fi
-------------------------
Do I want to change that boinc_platform=$boinc_platform to be boinc_platform="i686-pc-linux-gnu", or do I want to add another line somewhere else?

I'm also curious as to if I should be able to use boinc_gui or boinc_cmd (I have neither, I have to use the i686-pc-linux-gnu-boinc_client to start it)
[Mar 1, 2007 6:17:25 AM]   Link   Report threatening or abusive post: please login first  Go to top 
Former Member
Cruncher
Joined: May 22, 2018
Post Count: 0
Status: Offline
Reply to this Post  Reply with Quote 
Re: BOINC + FreeBSD = Success

You don't need to change your platform because wolrdcommunitygrid has recently added freebsd as a legal patform.

Did you install freebsd from the ports tree?

If you did that, boinc should start at startup.

Check if it's running.
ps -aux | grep boinc
if it's NOT running run as root:
boinc_client

Then run boin_cmd --project_attach www.worldcommunitygrid.org <account_key>


if it works you can run boinc_cmd --get_state to see the state of progress.

Standard a boinc user is created to run boinc and a boinc dir is created.
If you want use the graphical interface then do the following
make the file gui_rpc_auth.cfg in /var/db/boinc readable for the user who runs the graphical interface.
Then run boinc_gui in a graphical environment. "show graphics"d oes not work

Then it all should work. if it goes wrong print the errors here and hopefully we can help you.
[Mar 1, 2007 11:31:26 AM]   Link   Report threatening or abusive post: please login first  Go to top 
Posts: 66   Pages: 7   [ Previous Page | 1 2 3 4 5 6 7 | Next Page ]
[ Jump to Last Post ]
Post new Thread