ps3vram-driver and ps3vram-proc-fs

Investigation into how Linux on the PS3 might lead to homebrew development.

Moderators: cheriff, emoon

Post Reply
zbowling
Posts: 2
Joined: Thu May 22, 2008 12:17 pm

ps3vram-driver and ps3vram-proc-fs

Post by zbowling »

Anyone else see these patches that Geoff is working on?

1 Subject: PS3: ps3vram driver for accessing video RAM as MTD
2
3 From: Jim Paris <jim@jtan.com>
4
5 Add ps3vram driver, which exposes unused video RAM on the PS3 as a MTD
6 device suitable for storage or swap. Fast data transfer is achieved
7 using a local cache in system RAM and DMA transfers via the GPU.


http://git.kernel.org/?p=linux/kernel/g ... ;f=ps3-wip
jimparis
Posts: 1145
Joined: Fri Jun 10, 2005 4:21 am
Location: Boston

Post by jimparis »

I have... but I guess that's obvious.
Nismobeach
Posts: 9
Joined: Thu Aug 16, 2007 1:31 pm

Post by Nismobeach »

Wasn't support for this blocked in FW 2.10? If so, does this mean that once his patch is complete that he will also release an updated otheros.bld file to allow this to be implemented again?
jimparis
Posts: 1145
Joined: Fri Jun 10, 2005 4:21 am
Location: Boston

Post by jimparis »

No, the ps3vram driver in geoff's ps3-linux.git works on all firmware versions.
(And otheros.bld has nothing to do with hypervisor security anyway)
sandworm
Posts: 4
Joined: Mon Jun 18, 2007 11:58 pm

Post by sandworm »

After update gameos to 2.50 ps3vram starts hang a machine.
Log (repeated 3 times before freeze):

Code: Select all

Oct 17 22&#58;56&#58;41 sandworm-ps3 kernel&#58; ps3vram&#58; allocated 245 MiB of DDR memory
Oct 17 22&#58;56&#58;41 sandworm-ps3 kernel&#58; creating cache&#58; 7 entries, 262144 bytes pages
Oct 17 22&#58;56&#58;41 sandworm-ps3 kernel&#58; ps3vram mtd device registered, 256901120 bytes
Oct 17 22&#58;56&#58;41 sandworm-ps3 kernel&#58; notifier timeout
Oct 17 22&#58;56&#58;41 sandworm-ps3 kernel&#58; PUT = 00000000 GET = 00000000
Oct 17 22&#58;56&#58;41 sandworm-ps3 kernel&#58; c000000008a00000&#58; 00042000
Oct 17 22&#58;56&#58;41 sandworm-ps3 kernel&#58; c000000008a00004&#58; 31337333
....
Oct 17 22&#58;56&#58;41 sandworm-ps3 kernel&#58; d0000800805e13c0&#58; 00000000
Oct 17 22&#58;56&#58;41 sandworm-ps3 kernel&#58; failed to download from 0xf4c0000 to 0x180000 size 0x40000
Oct 17 22&#58;56&#58;41 sandworm-ps3 kernel&#58; ps3fb ioc0_01&#58; ps3fb_sync_image&#58; lv1_gpu_context_attribute FB_BLIT failed&#58; -24
Oct 17 22&#58;56&#58;42 sandworm-ps3 last message repeated 5 times
Appears both on 2.6.25.4 from cl-sdk and latest 2.6.27-rc8 from Geoff's git.
On FW 2.43 and any previous everything worked ok.
unsolo
Posts: 155
Joined: Mon Apr 16, 2007 2:39 am
Location: OSLO Norway

Post by unsolo »

sandworm wrote:After update gameos to 2.50 ps3vram starts hang a machine.
Log (repeated 3 times before freeze):

Code: Select all

Oct 17 22&#58;56&#58;41 sandworm-ps3 kernel&#58; ps3vram&#58; allocated 245 MiB of DDR memory
Oct 17 22&#58;56&#58;41 sandworm-ps3 kernel&#58; creating cache&#58; 7 entries, 262144 bytes pages
Oct 17 22&#58;56&#58;41 sandworm-ps3 kernel&#58; ps3vram mtd device registered, 256901120 bytes
Oct 17 22&#58;56&#58;41 sandworm-ps3 kernel&#58; notifier timeout
Oct 17 22&#58;56&#58;41 sandworm-ps3 kernel&#58; PUT = 00000000 GET = 00000000
Oct 17 22&#58;56&#58;41 sandworm-ps3 kernel&#58; c000000008a00000&#58; 00042000
Oct 17 22&#58;56&#58;41 sandworm-ps3 kernel&#58; c000000008a00004&#58; 31337333
....
Oct 17 22&#58;56&#58;41 sandworm-ps3 kernel&#58; d0000800805e13c0&#58; 00000000
Oct 17 22&#58;56&#58;41 sandworm-ps3 kernel&#58; failed to download from 0xf4c0000 to 0x180000 size 0x40000
Oct 17 22&#58;56&#58;41 sandworm-ps3 kernel&#58; ps3fb ioc0_01&#58; ps3fb_sync_image&#58; lv1_gpu_context_attribute FB_BLIT failed&#58; -24
Oct 17 22&#58;56&#58;42 sandworm-ps3 last message repeated 5 times
Appears both on 2.6.25.4 from cl-sdk and latest 2.6.27-rc8 from Geoff's git.
On FW 2.43 and any previous everything worked ok.
Please report this to the cbe-oss-dev mailing list
https://ozlabs.org/mailman/listinfo/cbe-oss-dev
Don't do it alone.
ps3fanboy
Posts: 66
Joined: Sun Jul 06, 2008 2:03 am

Post by ps3fanboy »

is ps3vram still working with the latest firmware?
I tried it:
modprobe mtdblock
modprobe ps3vram
and get
ps3vram: lv1_gpu_memory_allocate failed
any help?
thanks.
ps3fanboy
Posts: 66
Joined: Sun Jul 06, 2008 2:03 am

Post by ps3fanboy »

ps3fanboy wrote:is ps3vram still working with the latest firmware?
I tried it:
modprobe mtdblock
modprobe ps3vram
and get
ps3vram: lv1_gpu_memory_allocate failed
any help?
thanks.
please ignore... used the ps3vram contained in the latest 2.6.28 kernel... and it seems to work. i hope :-)

Code: Select all

Adding 250872k swap on /dev/mtdblock0.  Priority&#58;10 extents&#58;1 across&#58;250872k
ps3fanboy
Posts: 66
Joined: Sun Jul 06, 2008 2:03 am

Post by ps3fanboy »

....
Post Reply