|
|
|
|
| Re: Linux 3.4 on PS3 [message #1325 is a reply to message #1324] |
Fri, 25 May 2012 17:07   |
masterzorag
Messages: 99 Registered: August 2011 Location: maiworld
|
Gitbrew Member |
|
|
Here my report about 3.4.0
NOT applied patches:
ps3fb-use-fifo.patch and ps3jupiter.patch (I've FAT) and SPU related to go clean: syscall-spu-create-unlock-dput-fix.patch and spu-enum-shared-param.patch
syscall-spu-create-unlock-dput-fix.patch seems to be useless now because they have fixed the bug mainline, no more 'bad unlock balance detected!'
I've tested perlin_noise OpenCL sample instead of my test program, but got the same issue: 'possible circular locking dependency detected', this issue happens only one time,
on concurrent runs don't come out, but it slows down execution time...
One other strange thing is that my program tells how many compute units (SPUs) will be used/are available, and without spu-enum-shared-param.patch it tells me that there are 7 compute units, BUT spu-top lists only 6!
spu-top should be right, without that patch should be effectively 6, OpenCL builtin function tells 7!
dmesg tells also at second line:
read_node:139: lv1_read_repository_node failed:
anyone testing hello_spu on 6 and 7 spus watching how many spus lists spu-top? any issues?
|
|
|
|
|
|
| Re: Linux 3.4 on PS3 [message #1333 is a reply to message #1325] |
Thu, 31 May 2012 15:56   |
sombatttt
Messages: 50 Registered: March 2012 Location: Thailand
|
Gitbrew Member |
|
|
Hello Gen,
As your suggestion about how many spes, I run testinfo of libspe2-2.2.80(Gentoo ebuild) tests as source below. If I guess wrong, please do forgive.
#include <stdio.h>
#include "libspe2.h"
int main(void)
{
int no, nocpus , i;
nocpus = spe_cpu_info_get(SPE_COUNT_PHYSICAL_CPU_NODES, -2);
printf("-2 ==> %d (%d)\n", nocpus, errno);
nocpus = spe_cpu_info_get(SPE_COUNT_PHYSICAL_CPU_NODES, -1);
printf("-1 ==> %d (%d)\n", nocpus, errno);
for (i=-2; i <= nocpus; i++) {
no = spe_cpu_info_get(SPE_COUNT_PHYSICAL_SPES, i);
printf("%2d ==> %d (%d)\n",i, no, errno);
no = spe_cpu_info_get(SPE_COUNT_USABLE_SPES, i);
printf("%2d ==> %d (%d)\n",i, no, errno);
}
}
./testinfo
-2 ==> -1 (22)
-1 ==> 4 (0)
-2 ==> -1 (22)
-2 ==> -1 (22)
-1 ==> 7 (0)
-1 ==> 7 (0)
0 ==> 1 (0)
0 ==> 1 (0)
1 ==> 1 (0)
1 ==> 1 (0)
2 ==> 1 (0)
2 ==> 1 (0)
3 ==> 1 (0)
3 ==> 1 (0)
4 ==> -1 (22)
4 ==> -1 (22)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| Re: Linux 3.4 on PS3 [message #1378 is a reply to message #1372] |
Wed, 06 June 2012 04:48   |
sombatttt
Messages: 50 Registered: March 2012 Location: Thailand
|
Gitbrew Member |
|
|
Hello Gen,
Yours is right? I don't need it, but ask to make sure it normal and if perhaps you got it.
For 3.3.x, i can see /proc/dma, but no more for 3.4.
I make a test for spu.
find "test context create error" not passed.
I look the code:
This test is open null device until no room to store file descriptor or cannot be opened for read and then call spe_context_create(SPE_MAP_PS, NULL).
As far as I understand, this function should return null first and for the second or more loop, try to close as the specify number until spe_context_create can return not null and break the loop. But the kernel trap errror in spe_context_create, I think this manner is not correct. It should return null without trap error.
I also try open three null device and call spe_context_create. The result is working correct. This is becasue the spe_context_create is successful created.
As you know, I just start to learn and say not know a bout it at all.
So if possible can you to see and find what is able to heal this case.
Thanks a lot.
|
|
|
|
|
|
|
|
|
|
| Re: Linux 3.4 on PS3 [message #1383 is a reply to message #1382] |
Thu, 07 June 2012 08:06   |
glevand
Messages: 955 Registered: July 2011 Location: SONY
|
Gitbrew God |
|
|
Updated my patches for Linux 3.3. and Linux 3.4. There is no series file anymore.
The order of patches is given through file names now, like on OpenWRT.
I wont' maintain OpenWRT kernel patches separately anymore because they are the same from now on.
Use patch -p1 to apply patches.
[Updated on: Thu, 07 June 2012 08:20] Report message to a moderator
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| Re: Linux 3.4 on PS3 [message #1465 is a reply to message #1458] |
Tue, 19 June 2012 19:43   |
puddin
Messages: 36 Registered: May 2012
|
Gitbrew Member |
|
|
Yeah I installed it a fresh and now my bluetooth doesn't work now either
I can only think that I installed 2.6 then i decided to go with 3.4.2. It must have been when i just went and installed it from the beginning on top of the 2.6 and it must've still had the bluetooth stuff still loaded/installed?
anyway it doesn't work again now
That seems to be the only prob i've found so far havent tried the wlan yet
Is just removing the ps3vram entry from the fstab enough to deal with the complaints it gives on startup no warnings but it banged on about the ring of fire, before i think its stopped now i removed the entry but is there anything else i need to do?
Welcome back g-brew ya been down or something?
[Updated on: Tue, 19 June 2012 19:48] Report message to a moderator
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|