Advanced search

Message boards : Multicore CPUs : spu_create(): No such file or directory

Author Message
_Jim_
Send message
Joined: 3 Jan 08
Posts: 7
Credit: 175,308
RAC: 0
Level

Scientific publications
wat
Message 720 - Posted: 8 Jan 2008 | 22:56:02 UTC
Last modified: 8 Jan 2008 | 22:58:23 UTC

I run Ubuntu I have libspe2, spu-medialiv, libps3fb, and the OpenSSL libraries. I don\'t know what else I need to run this. I would switch distros but no dvd burner(not going to buy one either) and I need Wifi.

I get this error:
<core_client_version>5.10.6</core_client_version>
<![CDATA[
<message>
process exited with code 1 (0x1, -255)
</message>
<stderr_txt>
spu_create(): No such file or directory
Failed creating context: Bad address
</stderr_txt>



~$ aptitude show libspe2 spu-medialib libps3fb | egrep \"Package:|State:|Version:\"
Package: libspe2
State: installed
Version: 2.2.0-0ubuntu4
Package: spu-medialib
State: installed
Version: 0.1git20071126-1
Package: libps3fb
State: installed
Version: 0.1r114-2

$ uname -a
Linux my-desktop 2.6.23 #1 SMP Wed Dec 19 15:06:21 JST 2007 ppc64 GNU/Linux

Profile MJH
Project administrator
Project developer
Project scientist
Send message
Joined: 12 Nov 07
Posts: 696
Credit: 27,266,655
RAC: 0
Level
Val
Scientific publications
watwat
Message 721 - Posted: 9 Jan 2008 | 13:23:10 UTC - in response to Message 720.


I get this error:
<core_client_version>5.10.6</core_client_version>
<![CDATA[
<message>
process exited with code 1 (0x1, -255)
</message>
<stderr_txt>
spu_create(): No such file or directory
Failed creating context: Bad address
</stderr_txt>


You\'ll need to ensure that there is a spufs filesystem mounted on /spu. Check that this line is present in /etc/fstab:


spufs /spu spufs defaults 0 0

_Jim_
Send message
Joined: 3 Jan 08
Posts: 7
Credit: 175,308
RAC: 0
Level

Scientific publications
wat
Message 723 - Posted: 10 Jan 2008 | 4:57:43 UTC - in response to Message 721.

No Joy on that. I also have problems using:

sudo mount /spu
mount: mount point /spu does not exist


I don\'t know I think I will wait till Ubuntu 8.04 comes out and try again or better yet ps3grid on usb comes with wifi.

WallyWallWhackr
Send message
Joined: 16 Dec 07
Posts: 20
Credit: 0
RAC: 0
Level

Scientific publications
wat
Message 724 - Posted: 10 Jan 2008 | 6:27:09 UTC - in response to Message 720.

I run Ubuntu I have libspe2, spu-medialiv, libps3fb, and the OpenSSL libraries. I don\'t know what else I need to run this. I would switch distros but no dvd burner(not going to buy one either) and I need Wifi.

I get this error:
<core_client_version>5.10.6</core_client_version>
<![CDATA[
<message>
process exited with code 1 (0x1, -255)
</message>
<stderr_txt>
spu_create(): No such file or directory
Failed creating context: Bad address
</stderr_txt>



~$ aptitude show libspe2 spu-medialib libps3fb | egrep \"Package:|State:|Version:\"
Package: libspe2
State: installed
Version: 2.2.0-0ubuntu4
Package: spu-medialib
State: installed
Version: 0.1git20071126-1
Package: libps3fb
State: installed
Version: 0.1r114-2

$ uname -a
Linux my-desktop 2.6.23 #1 SMP Wed Dec 19 15:06:21 JST 2007 ppc64 GNU/Linux
All I did was create a /spu directory and that error message went away for me on the next boot.

Profile MJH
Project administrator
Project developer
Project scientist
Send message
Joined: 12 Nov 07
Posts: 696
Credit: 27,266,655
RAC: 0
Level
Val
Scientific publications
watwat
Message 726 - Posted: 10 Jan 2008 | 10:08:28 UTC - in response to Message 723.

[quote]No Joy on that. I also have problems using:

sudo mount /spu
mount: mount point /spu does not exist


You will need to
mkdir /spu
if it doesn\'t already exist.

_Jim_
Send message
Joined: 3 Jan 08
Posts: 7
Credit: 175,308
RAC: 0
Level

Scientific publications
wat
Message 728 - Posted: 10 Jan 2008 | 20:27:39 UTC - in response to Message 726.

Thank you it is running now I think. At least the cpu time is going up and it did not stop at 1 sec.

Does the progress bar work or will I have to wait till completion to know if it works? I understand it will take between 25-28 hours to run.

Profile Krunchin-Keith [USA]
Avatar
Send message
Joined: 17 May 07
Posts: 512
Credit: 111,288,061
RAC: 0
Level
Cys
Scientific publications
watwatwatwatwatwatwatwatwatwatwatwatwatwatwat
Message 729 - Posted: 11 Jan 2008 | 1:20:00 UTC - in response to Message 728.

Does the progress bar work or will I have to wait till completion to know if it works? I understand it will take between 25-28 hours to run.

Yes progress bar works, sort of. The time to completion is not usually correct. The CPU time (run time) will be. It will be more accurate the closer to the end it gets.

On my PS3 the current one shows 19 hours estimated (16 done, 3 to go). But it will take 24 hours 50 minutes (plus a few). My PS3 basically runs BOINC at this time.

Your time may be longer if you use it for other things, browsing, have screen saver on a lot as these things also use your processor. If you stop BOINC, like to reboot or to play games this also causes some longer times as the checkpointing will resume back in time a little.

Ondy
Send message
Joined: 20 Dec 07
Posts: 6
Credit: 454,359
RAC: 0
Level

Scientific publications
watwatwatwatwat
Message 757 - Posted: 15 Jan 2008 | 14:15:57 UTC - in response to Message 720.

To _Jim_: do You use PSUbuntu, or classic Ubuntu? I\'m trying to run Boinc on PSUbuntu with no success (as I wrote to another thread). I would like to ask You - how do I install libraries You wrote?
Thank You in advance for answers :-)

_Jim_
Send message
Joined: 3 Jan 08
Posts: 7
Credit: 175,308
RAC: 0
Level

Scientific publications
wat
Message 769 - Posted: 19 Jan 2008 | 21:31:18 UTC - in response to Message 757.

To _Jim_: do You use PSUbuntu, or classic Ubuntu? I\'m trying to run Boinc on PSUbuntu with no success (as I wrote to another thread). I would like to ask You - how do I install libraries You wrote?
Thank You in advance for answers :-)

Not sure what step you are on if you have a question I will research my steps to try and help. I will keep a closer eye on this thread. Last couple WU have taken about 25,5 CPU hours.

I used the live cd for ps3 from ubuntu. I think I tried installing more than 5 times because I don\'t have ethernet running to the ps3. So it is a mess in my head how I did it but I will try to point you in the right direction. I used this to get most of it. http://psubuntu.com/forum/viewtopic.php?t=1378

To get OpenSSL libraries I went to redhat downloaded the rpm for the program. Used alien to convert rpm to deb. Extracted those two library files from the dep into the library folder. I think I had to run \'ldconfig\' for the library to see those new files. Then create the above spu folder.

Installing boinc I followed http://www.technutopia.com/forum/showthread.php?t=5882 for the most part read the second post first to get ubuntu specific.

To get the boinc manager to work I had to install boincmgr from ubuntu due to some kind of skin error. Then when it is running I selected \'Advanced->Select computer...\' localhost as the name and the password is in gui_rpc_auth.cfg. I changed the password in there to make it easier to remember.

Post to thread

Message boards : Multicore CPUs : spu_create(): No such file or directory

//