graf_chokolo has been hard at work on his Linux kernal and has released v2.6 today bringing many features and updates. The biggest update is the ability to write/read off the PS3 RAM, which can be useful for hypervisor hacking…but be warned if you dont know what you are doing you can brick your PS3! His kernel is fully supported with AsbestOS.
To quote the known changes:
- Added support of several storage regions to PS3 storage library
- Improved PS3 disk block device driver
- New drivers for PS3 NOR and 3 RAM misc driver for full access to HV memory
- Added new HV calls
- Added extra debug messages for SPU isolation
You can download the kernal via GitHub below.





02-14-2011
06:31 PM
I'm Happy to see that the progress is moving and the devs are working hard on this, I'm waiting for OtherOS to come back. That'll be the day, and Thanks for this news.
02-14-2011
06:34 PM
To enable the 7th SPU use Update Manager to write 0x07 to 0x48C30 on the syscon eeprom and reboot. Write 0x06 to restore. All credit for this process given to Mathieulh.
02-14-2011
06:42 PM
Does enabling the seventh core do anything?
Sent from my HTC Speedy using Tapatalk
02-14-2011
06:43 PM
It's funny that you think you can brick your console by modifying the RAM... Do you know anything about what a RAM is?
You can surely brick your console with a hammer, but have you seen a hammer with the phrase "you can brick your ps3 wih this!"?
Yeah it's just safer to tell the noobs you can brick your console with everything... Next time you'll tell us we can brick it by just turning it on...
And seeing "kernal" twice in such a small message is more than sad.
02-14-2011
07:01 PM
cant you "brick" or at least what most people consider bricked, by simply altering/deleting certian dev_hdd0 files?
02-14-2011
07:29 PM
yes thats correct,but saying access to ram and brick in the same phrase is just scaring people.ram is memory,i dont see any way to brick a ps3 by accessing ram.writing to the nand is a different kettle of fish.Im no expert but i mess with my jtag with no problems ,this ps3 dev is just like jtag without the solder IMO.This will lead to great stuff in the right hands but its for devs only,i think it would be smart for these sites to have a dev only section,its the way forward,they can share info etc without all the daft comments and fights that go on in news threads.maybe the siteop can throw it out and see what reaction they get?
Its for the good of all end users at the end of the day.
02-14-2011
07:35 PM
I may be off base here, but the actual sentence is:
The biggest update is the ability to write/read off the PS3 RAM, which can be useful for hypervisor hacking…
Now, I'm no elite hacker. Not even close. But I am pretty sure that messing with anything HV related is probably a bad idea and can easily lead to a brick if you don't know what you are doin.
02-14-2011
08:04 PM
sorry guys how do i instal it.help
02-14-2011
08:31 PM
02-14-2011
09:21 PM
The extra options this kernel has can be found in pirate his first post
02-14-2011
10:10 PM
Modifying RAM can brick your console but it'd have to be intentionally seeing as memory stores executable stuff so say for if i wrote a code block to write files to the flash and put it in place of a function that is unlikely to be used and then modify the pointer of an if statement (that is used regulary) so that it points to the code block that i inserted in the memory that code would then be launched and the possiblity of a brick depends on what is to be written ... don't know if the details of that are incorrect but the general idea is possible
02-14-2011
10:27 PM
OK, eh I think I will pass on this until I have a second PS3 to "Sacrifice" lol...

I am a newbie and just getting my feet wet. I don't dive in unless I know the water is safe ..There are some risks I will take but, there are others I am not wanting to risk at all.
I'll wait a bit and let this fish mature before catching it
02-14-2011
11:24 PM
02-15-2011
12:37 AM
02-15-2011
01:52 AM
hey, joka38. dont feel bad, im confused too. if we were to try this, we would probly brick our ps3s. im sure there will be a noob friendly solution at some point.
02-15-2011
03:35 AM
You will find that it is the 8th SPU...
02-15-2011
04:59 AM
thank you rubix
02-15-2011
05:24 AM
I have a working 11.04 Ubuntu Natty with kernel 2.6.38.
I have downloaded the new kernel. I know it says kernel 2.6 but:
can I compile this new kernel on my working system?
here's a howto:
https://help.ubuntu.com/community/Kernel/Compile
02-15-2011
09:36 AM
Someone Can Tell Me How To Install This Kernal?

i mean i installed linux.img Ubuntu.
Worked Fine,i have the OS working Pretty Good...With Wifi And My Keyboard And Mouse Are Working! xD
BTW The Mouse And The Keyboard are NOT Wireless....Microsoft Regular Stuff.
Okay...Now Someone Can Pls Tell Me How?!?!
pls pls pls...Much Appreciated xD
02-15-2011
10:08 AM
Rafiko12
You have to compile the kernel.
You will need some basic linux skills. The link I posted above might be of interest...
I'm half way done with it myself, but my kid came home from daycare so I have to take a break...
02-15-2011
01:13 PM
It takes awhile to compile the kernel on the ps3

I got an error ps3flash.c108:29: error 'struct ps3_storage_device' has no member named 'region_idx'
Do I have to type the region of my ps3 somewhere in the ps3flash.c file?
************* [ - Post Merged - ] *************
I did remove the ps3flash from my setup, and now compiling is moving on...
Just hope it will boot after installation
************* [ - Post Merged - ] *************
okay, I have installed the deb files i compiled. But I'm not sure if the new kernel is running....
what does "uname -a" gives you in terminal running the original Ubuntu from the 10 IMG files say?
02-15-2011
04:02 PM
Well. I'm not unsure anymore. I am running the new kernel, and it's a heck of a lot faster:aetsch: I can now use ubuntu desktop with gnome, instead of the lightweigh lubuntu, and firefox instead of midori etc
If it's of any interest I could upload the kernel updates .deb files. It does take a while to compile them... and the files are less then 60Mb so it should be a lot faster to download them
02-15-2011
04:39 PM
does somebody have a ubuntu.img with the new kernel
so we can use that on asbestos .
thax graf for the awesome work you did on reversing hv.
i would love to see
ps3 + opencl on ubuntu ???
pyrit benchmarks ????
02-15-2011
04:46 PM
Parallelization of the x264 encoder using OpenCL.
>> http://li5.ziti.uni-heidelberg.de/x264gpu/
02-15-2011
04:57 PM
@ lance
opencl is very powerfull .
pyrit benchmarks
3.55 cfw kmeaw + asbestos NO OPENCL : 115 pmk/s (this was on debian.img )
3.15 ofw + otheros (only the ppc cores ) : 88 pmk/s
3.15 ofw + otheros (ppc cores + OPENCL ) : 1700 pmk/s :aetsch:
would love to see the new ubuntu.img + new kernel graf made + OPENCL pyrit benchmark
grts
02-15-2011
05:02 PM
I did compile and made the .deb installation files for the new kernel. It's easyer to upload them then the whole image. I've installed lots of stuff on my image....
02-15-2011
05:05 PM
could you give OPENCL a try
here is a link with install instructions for cellsdk+OPENCL (its for fedora butt maybe it wil work on ubuntu to
http://www.elliptique.net/wiki/doku.php?id=fedora12-ps3
02-15-2011
05:10 PM
I'm on it already. Downloaded through git
Only have to compile it
************* [ - Post Merged - ] *************
I did not manage to install opencl_ps3 correctly yet. Or at least the pyrit benchmark did not use it
02-15-2011
05:54 PM
did you install the opencl part for pyrit
in pyrit_svn/cpyrit_opencl/
02-15-2011
06:04 PM
02-15-2011
06:29 PM
did you install the opencl part for pyrit

in pyrit_svn/cpyrit_opencl/
How do I do that?
Just did
apt-get install pyrit
Is there a way to try pyrit with vlc or smplayer?
found the addon now
************* [ - Post Merged - ] *************
I did remake the fedora rpm into deb and installed opencl, but how can I test if it's working? I get an error trying to compile the pyrit opencl plugin...
02-15-2011
09:00 PM
i cant boot the 10 .img files . to get ubuntu working .
is there a tutorial for ubuntu on kmeaw (asbestos 1.5)?
my other ps3 does 1700 pmk/s in pyrit on ofw 3.15
opencl compiles and run fine on ydl6.2
02-15-2011
10:41 PM
You guys are still messing with Debian/Ubuntu? :headbang:
Awesome work from Graf, hit me up when I can get back to YDL on 3.55 CFW.
02-16-2011
05:04 AM
stutte:
Did you download the Ubuntu that's one rar file download, or the one with 4 files.
I only got the one with one rar file working....
How far do you get? You did put the 10 img files on internal hdd?
Is it starting to boot?
02-16-2011
08:43 AM
no it have error tty
the debian khoasv3 works fine .
waiting on linux full otheros++ graf is working on
02-16-2011
04:09 PM
bro!!! last night I was dealing with that, and Was pretty weird...
I made the .deb file of the kernel, and installed but the image is installed in /boot , but in that place I can't see the other files, where you put the kernel image... and the map....
Back in time, when otheros was alive, I was able to use my customs kernel for parallelisms computing... but now that I try with this kernel, I really don't know where to said: this is the kernel that you have to use...
I see that u get the .deb file so maybe you use the debians tool to create kernel. Maybe I am missing something... Can you upload the kernel that you compile to make a test instead of mine???
02-16-2011
06:20 PM
dsapandora


I guess we are in the same shoes... I have copiled and installed the new kernel, but it turns out after all that I'm still running the old kernel
And yes I did compile it the old fashion debian way.
I have no idea how to start the new kernel, hope you find a way
02-16-2011
07:07 PM
You have to edit the loader config file, copy the entry that is already there, and edit the copy to fit you new vmlinuz, system.map and what’s the 3rd file again?
02-17-2011
01:59 AM
Reading about asbestos... I remember his original structure
| -- AsbestOS
| |
| |--- ICON0.PNG
| |--- EBOOT.BIN
|
|-------------- dtbImage-20101020.bin <------- here is a kernel
Right now I am recompiling but sure that i will try from here , I will check the PARAM.SFO too
************* [ - Post Merged - ] *************
@advocatusdiaboli is the config file that you made.... in normal ubuntu installating like you said you just go to /boot/grub and modify your lts if is grub 1 or your grub.conf if is grub2, but this case is a bit different, because we are booting nfs... So I am reading again, asbestos first time installation... At least I didn't have to do cross compiling :P
************* [ - Post Merged - ] *************
now I am sure that I was able that was kernel changed ... and I noticed that the kernel that I compiled is wrong.... right know if some else compiled or have the vmlinux.bin.gz ready to use... I will be nice... i will try to compile it once again...
02-17-2011
04:52 AM
I'm not getting this. Where is the config file to edit to boot the new vmlinux ++ etc. Do you mean we have to compile it with asbestos? I read the asbest os readme from kmeaw git. Saying they are restricted to 16MB RAM, and that you must use the patched kernel from github.
02-18-2011
05:00 AM
Guys is there a tutorial in how to do all of this? a link or any think to start a newb.
i instated the Linux with the one image not the one with 10 img it keeps giving me error imag not found... anyways i get the linux running but no internet i don't know how to set it up and then KERNEL V2.6 no idea what to do with it.
please any info to get me started. thanks
02-19-2011
07:15 PM
I was reading my notes from a year ago and I remembered who I did this sutff before...

I manually add these lines to the top-level Makefile, but setting them in the environment should work too:
ARCH=powerpc
CROSS_COMPILE=ppu-
Now you can create a sample configuration file by executing the following command inside the tree:
$ make ps3_defconfig
Then proceed to modify the default configuration to your likings. To ease development, I want my kernels to be as small and easy to install as possible; this reduces the test-build-install-reboot cycle to the minimum (well, not exactly; see below). Therefore I disable all stuff I do not need, which includes modules support. Why? Keeping all the code in a single image will make later installation a lot easier.
Once the kernel is configured, it is time to build it. But before doing so you need to install a helper utility used by the PS3 build code: the Device Tree Compiler (or dtc). Fetch its sources from the git repository that appears in that page, run make to build it and manually install the dtc binary into /usr/local/bin.
Then a vmlinux image will be generated then, you put it whenever you want and Then you modify, the /etc/kboot.conf,
But I see this file is not there anymore...
sudo apt-get install linux-source device-tree-compiler # device-tree-compiler is only needed if you are targeting the PowerPC architecture
************* [ - Post Merged - ] *************
drivers/char/ps3flash.c:50:11: error: too few arguments to function 'ps3stor_read_write_sectors'
/root/linux-2.6-b0fd285/arch/powerpc/include/asm/ps3stor.h:65:12: note: declared here
drivers/char/ps3flash.c: In function 'ps3flash_llseek':
drivers/char/ps3flash.c:108:29: error: 'struct ps3_storage_device' has no member named 'region_idx'
drivers/char/ps3flash.c: In function 'ps3flash_read':
drivers/char/ps3flash.c:138:25: error: 'struct ps3_storage_device' has no member named 'region_idx'
drivers/char/ps3flash.c: In function 'ps3flash_write':
drivers/char/ps3flash.c:207:25: error: 'struct ps3_storage_device' has no member named 'region_idx'
drivers/char/ps3flash.c: In function 'ps3flash_probe':
drivers/char/ps3flash.c:363:24: error: 'struct ps3_storage_device' has no member named 'region_idx'
drivers/char/ps3flash.c:370:24: error: 'struct ps3_storage_device' has no member named 'region_idx'
make[3]: *** [drivers/char/ps3flash.o] Error 1
make[2]: *** [drivers/char] Error 2
make[1]: *** [drivers] Error 2
make[1]: Leaving directory `/root/linux-2.6-b0fd285'
make: *** [debian/stamp/build/kernel] Error 2
02-20-2011
06:48 AM
I got the same error while compiling as well. What I did was to exclude the ps3flash driver. I don't want to be able to write to fllash anyway as it may result in bricked console.
02-20-2011
11:08 PM
I decide to try with the new version that was realesed yesterday, right now I am compiling, and everything for now is looking fine. But I still don't... well About to write in the flash... yeap I hear that is dangerous... I still don't have any idea about what to do in the flash... So I will try without the flash in the new kernel because I get the same error :P
02-22-2011
03:52 PM
But what to do know
02-27-2011
08:06 AM
Did anybody here successfully boot PS3 Linux using this new kernel (stripped vmlinux, recompile AsbestOS to embed it together with the bootloader)? I tried but resulted in a black screen with no output video signal after stage2 of AsbestOS is launched. My root file system is on an external HDD ext4 format as normal, not stored inside linux.img.