• Home
  • Downloads
  • EBOOT Fixes
  • Forums
  • New Posts
  • Register
    • Welcome, Register Now! 
    • Premium VIP Membership
    • PS3 Sticky
      • PS3 CFW & MFW
      • PS3 Debug Firmware
      • PS3 Decrypted PSN Links for CFW
      • PS3 Downloads
      • PS3 EBOOT.BIN Original File Links
      • PS3 Firmware
      • PS3 Game Releases List
      • PS3 Guides & Tutorials
      • PS3 Hacking Guides and Tutorials
      • PS3 Hacks & JailBreak
      • PS3 Help & Support
      • PS3 JailBreak Game Compatibility List
      • PS3 JB2 / True Blue (TB) Game Links
      • PS3 multiMAN Updates
      • PS3 Resources
      • PS3 Reviews
      • PS3 Save Files Repository
      • PS3 Themes
      • PS3 Trophies List
      • PS3 Videos
      • PS Vita Trophies List
    • Quick Links
      • Affiliates
      • Contact Us
      • FAQ
      • Post News
      • Site Rules
      • Tag Cloud
 

PS3 Linux Kernel and AsbestOS Installer v2.0 Updates Arrive

Category: PS3 Hacks & JailBreak  By: PS3 News - (dukio.com)
Tags: ps3 linux kernel graf chokolo ps3 asbestos ps3 linux installer kmeaw ps3 ps3 updates

121w ago - Over the weekend Graf Chokolo has continued on his project updating his PS3 Linux kernel with new drivers while Kmeaw has made available AsbestOS Linux Kernel Installer v2.0, although he states it is still a work-in-progress.

Download: PS3 Linux v2.6 (New Drivers) / AsbestOS Linux Kernel Installer v2.0 / AsbestOS v2.0 (Compiled) / GIT

PS3 Linux v2.6 Changelog:

  • Added ioctl PS3RAM_IOCTL_USER_TO_LPAR_ADDR cmd to ps3ram character device to convert user space addresses to lpar addresses
  • New PS3 VUART Dispatcher Manager (port 10) driver
  • New PS3 Dispatcher Manager Proxy character device driver for user space /dev/ps3dmproxy

AsbestOS Linux Kernel Installer v2.0 Changelog:

  • ICON0.PNG – Updated for v2.0
  • sfo.xml – Updated for v2.0
  • Makefile – Updated for v2.0
  • Progress bar and 128M bootmem fix.

To quote from Khore.org: Well folks, it's done! I've been working with kmeaw last couple of weeks in asbestOS v2.0. This release is easyer to use, and eases the installation of Debian GNU/Linux in your PS3. Right now, it's the best way to overcome the loss of OtherOS feature. Hope everyone enjoys it!

To quote from Graf_Chokolo: Just pushed my newest PS3 Linux drivers to remote GIT repository

You can access Dispatcher Manager from User Space through /dev/ps3dmproxy and in Kernel Space through ps3dm interface.

But take care, some HV services are dangerous and you should know what you are doing, you could e.g. overwrite your metldr or EID on FLASH So be careful.

I intend to write an updater for packages in the next days which will be able to update e.g. CORE OS package from Linux user space And then i will upload it.

For a long time i couldn’t decide where to implement the updater, in kernel space or in user space, kernel space makes e.g. easy converting memory addresses to LPAR addresses, but allocating large piece of memory in kernel is not simple, and implemnting HV services in kernel seems to me to be out of question, so i decied to do it from user space, more safe and easier

And we will need HUGEPAGE support for updater. I already tested it on my PS3 Linux and it works great One page is 16 MB large, more than enough for updating packages. The updater can allocate a huge page, store there the package, lock this page in memory so that swapper doesn’t move it to swap space, convert the address of the page to LPAR address and send it to Update Manager

I also added a new IOCTL to /dev/ps3ram character device – PS3RAM_IOCTL_USER_TO_LPAR_ADDR. It allows you to convert a user space memory address to LPAR address. We will need it for updater e.g., because updater has to send LPAR address of package to Update Manager. Here is an example how to use it: http://pastie.org/1585460

#include <stdio.h>
#include <stdlib.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/ioctl.h>
#include <fcntl.h>
#include <sys/mman.h>
#include <asm/ps3ram.h>

int main(int argc, char **argv)
{
        unsigned char *buf;
        int fd, res;
        struct ps3ram_ioctl_user_to_lpar_addr user_to_lpar_addr;

        fd = open("/dev/ps3ram", O_RDWR);
        if (fd < 0)
        {
                fprintf(stderr, "error: open failed with %d\n", fd);
                exit(1);
        }

        posix_memalign(&buf, 4 * 4096, 4096);

        mlock(buf, 4096);

        printf("%llx\n", buf);

        user_to_lpar_addr.user_addr = (unsigned long) buf;

        res = ioctl(fd, PS3RAM_IOCTL_USER_TO_LPAR_ADDR, &user_to_lpar_addr);
        if (res < 0)
        {
                fprintf(stderr, "error: ioctl failed with %d\n", res);
                exit(1);
        }

        printf("0x%llx\n", user_to_lpar_addr.lpar_addr);

        close(fd);

        usleep(5000000);

        exit(0);
}


Have fun and report any bugs to me please. HV hacking is cool

Just enabled ENCDEC and ATA debug messages in HV from Linux and now i can see those messages

http://pastie.org/1585891 HV rocks!!! Maybe i should enable RSX debug messages and see what they do.

Here is my new PS3 updater on Linux in action We don’t need PUP files or GameOS anymore to do updates It can be done now on Linux easily HV rocks It can inspect packages now Didn’t try updating yet, too dangerous, have to check everything 1000 times at least because i don’t have a NOR flasher

http://pastie.org/1589059
http://pastie.org/1589063
http://pastie.org/1589091

In case, you are wondering what those repo node value numbers mean, then read my HV page about UM inspect package service.

And here is an example if a package is damaged. I intentionally modified a package and let UM inspect it, It returns error

http://pastie.org/1589113

If SONY is reading it, they will know what those numbers mean

As i said previously, i allocated a huge page with mmap(MAP_HUGETLB) and stored there the package, then i converted the user space address of the buffer to LPAR address and sent a UM inspect package request to Update Manager through my /dev/ps3dmproxy.

To make Linux preallocate some huge pages during boot, i passed boot parameter “hugepages=1″, it means Linux kernel should preallocate 1 huge page of size 16 MB. And an application can grab this page with mmap syscall.

http://pastie.org/1589080

I will upload it soon Stay tuned. PS3+Linux+HV rock !!! And i know where to patch Update Manager in HV process 6 so it will allow us to do downgrades without Product Mode I also improved my DM drivers, will upload them soon too.

Extracting packages with Update Manager works now also

http://pastie.org/1589680








Stay tuned for more PS3 Hacks and PS3 CFW news, follow us on Twitter and be sure to drop by the PS3 Hacks and PS3 Custom Firmware Forums for the latest PlayStation 3 scene updates and homebrew releases!

Comments 22 Comments - Go to Forum Thread »

Errors

The following errors occurred with your submission

Okay

Quick Reply Quick Reply

  • Decrease Size
    Increase Size
  • Wrap [QUOTE] tags around selected text
Posting Quick Reply - Please Wait Posting Quick Reply - Please Wait
PS3 News's Avatar
#22 - PS3 News - 120w ago
Reply
Today graf_chokolo has updated his PS3 Linux Kernel again. To quote from: dukio.com/grafchokolos-ps3-linux-kernel-updates.html
Quote So guys, Linux 2.6 GIT repository for PS3 is online again

Link: http://git.dukio.com/gitweb.cgi?p=linux-2.6 (Mirror: http://www.multiupload.com/VK7QKRB01G)

Changes:

• Added new PS3 hv calls
• Added possibility to access more than one region of a PS3 storage device simultaneously
• Added new PS3 NOR and VFLASH block device drivers
• Added new PS3 RAM misc device driver that enables direct read/write -access to the whole RAM of PS3
• Added PS3 VUART 10 (Dispatcher Manager) support
• Added new PS3 Dispatcher Manager Proxy misc device driver
• Fixed return value in ps3ram_ioctl

But i need your help. I wrote ps3dmproxy driver from my head. You have to test it please and report bugs to me. Unleash your Linux on PS3 !!!

Later i will code a small program that will show you how to use ps3dmproxy driver. It’s very powerfull, now you have access to Update manager and Storage Manager e.g. on Linux. It means BD drive access guys.

But hurry up with testing Because SONY’s gendarmes could get me anytime soon

He also released Dispatcher Manager Utilities for PS3 Linux: git.dukio.com/gitweb.cgi?p=ps3dm-utils.git;a=summary
Quote Today i will start a new project I called it ps3dm-utils. It will contain programs/tools that use my ps3dmproxy driver and they will give you access to all HV services, like updating firmware from Linux, BD drive access or USB dongle authenticator.

With these programs you will be able to test my ps3dm and ps3dmproxy drivers.

Another update from graf_chokolo is below as well:
Quote Back

Issues with ps3flash.c

Guys, ps3flash.c is the old driver from SONY, disable it, my ps3nflash driver 1000 times better and replaces it, it gives you more freedom You can activate ps3nflash only if you deactivate ps3flash.c driver.

Correction, ps3vflash.c replaces ps3fral.c

Don’t worry, as soon as i get my hands on a PC and PS3, everything will progress faster

Changelog to PS3DM:

• Fixed example description
• Implemented first version of ‘update_pkg’ command
• Implemented first version of ‘inspect_pkg’ command
• Fixed data output in AIM
• Added retval check
• Negate error code before passing it to strerror
• Added missing ps3dm_um.c module
• Yet another error message fix
• Fixed error messages

Changelog to PS3 Linux Kernel:

• Check send and receive buffer size in PS3 DM VUART device driver (arch/powerpc/include/asm/ps3dm.h & drivers/ps3/ps3dm.c)
• Revised ps3flash device driver due to changes in ps3stor_lib module (arch/powerpc/platforms/ps3/Kconfig & drivers/char/ps3flash.c)
• Enable PS3 VFLASH device driver only when default SONY’s PS3 FLASH device driver is not activated (arch/powerpc/platforms/ps3/Kconfig & drivers/char/ps3flash.c)

tragedy's Avatar
#21 - tragedy - 121w ago
Reply
Originally Posted by barrybarryk View Post
Quote no, if you want to use the ps3vram as swap space you can, its quicker than a hdd but there's only 256MB of it, which isn't really enough for swap

I'm not sure how this graf's driver is implemented as I've not had a chance to look at it yet, but certainly it's quite likely to be very slow accessing video memory as the CPU read speed to VRAM is very slow. You can read more about it here: noeman.org/gsm/sony/10307-rumor-ps3-slow-broken.html (where local memory means local to the GPU).

The PS3 swap driver for OtherOS gets around this by using the RSX to transfer data between main RAM and VRAM because the RSX has pretty good access speeds to both. I'm guessing this should be trivial to port to asbestos, and possibly this is what's being used anyway.

PS3 News's Avatar
#20 - PS3 News - 121w ago
Reply
I have now updated the main article with a compiled .PKG version of AsbestOS v2.0 and a video is included.

pjmiller435's Avatar
#19 - pjmiller435 - 121w ago
Reply
wow, i love you graf, you're my hero. haha.

hatefuel19's Avatar
#18 - hatefuel19 - 121w ago
Reply
Hey guys, I'm sorry for the uber noob question but how do I go about getting the new drivers installed. I'm running Ubuntu and I have to say, it runs like crap. I've searched on getting it running great but I can't find anything definitive. What I need is how to get ubu running better as well as how to install the new drivers! thanks in advance!!

Page 1 of 5 12345›LAST »

Related PS3 News and PS3 CFW Hacks or JailBreak Articles

• PS3 EDAT Devklic Bruteforcer v1.0 / v1.1 By JjKkYu is Released
• MAME 0125 (Multiple Arcade Machine Emulator) for PS3 Release 1 Out
• PS3 Game List by Nullptr PlayStation 3 Homebrew App is Released
• MultiMAN v04.40.00 PS3 Server and Showtime Edition Updates Out
• ScummVM 1.6.0 PlayStation 3 Emulator Updated, +4 to Engines
• PSN Tool v1.0 and PSN Tool Creator v1.0 to Combat PSN Bans Arrive
Affiliates  NewsNow  Privacy  PS3 CFW & MFW  PS3 Hacks & JailBreak  PS3 Reviews  PS3 Videos  © 2013 PlayStation 3 News

PlayStation 3 Links

• Contact Us E-Mail
• PS3 Affiliates
• PS3 CFW & MFW
• PS3 Debug Firmware
• PS3 Decrypted PSN Links for CFW
• PS3 Downloads
• PS3 EBOOT.BIN Original File Links
• PS3 Firmware
• PS3 Game Releases List
• PS3 Guides & Tutorials
• PS3 Hacking Guides and Tutorials
• PS3 Hacks & JailBreak
• PS3 Help & Support
• PS3 JailBreak Game Compatibility List
• PS3 JB2 / True Blue (TB) Game Links
• PS3 multiMAN Updates
• PS3 News Forums
• PS3 News Site FAQ
• PS3 News Site Advertising FAQ
• PS3 News Site Posting FAQ
• PS3 News Site Privacy FAQ
• PS3 News Site Rules
• PS3 News Site Tag Cloud
• PS3 News Site Terms
• PS3 Resources
• PS3 Reviews
• PS3 Save Files Repository
• PS3 Themes
• PS3 Trophies List
• PS3 Videos
• PS Vita Trophies List

PlayStation 3 News Discussions
Sony Unveils PlayStation Plus July 2013 Content Updates - 37m ago

PS3 News's Avatar
Quote Sony PlayStation Store and Plus Content Manager Chris Howe has unveiled the July 2013 PlayStation Plus content updates today, as follows: Hi ...
By PS3 News with
 0 Comments »
Sony PlayStation Store PS3 and PSN Updates for June 18, 2013 - 51m ago

elser1's Avatar
Quote our update is thursday aus time. it should be there though the usa and eu plus are different games often. we may get something else on occasions....
By elser1 with
 3 Comments »
Sony PlayStation Store PS3 and PSN Updates for June 18, 2013 - 1h ago

Renold's Avatar
Quote So the two D&D games are out. I spent a ton of money at the arcade for those games when I was a tyke......
By Renold with
 3 Comments »
Sony PlayStation Store PS3 and PSN Updates for June 18, 2013 - 2h ago

Brenza's Avatar
Quote I own a PLUS obtained with a voucher code, i activated the voucher one week ago but now i can't see Saints Row anywhere.. why? Is that because my a...
By Brenza with
 3 Comments »

Latest PlayStation 3 Trophies
Dungeons & Dragons: Daggerdale: The Big Stick
Dungeons & Dragons: Daggerdale: Four of a Kind
Dungeons & Dragons: Daggerdale: Man at Arms
Dungeons & Dragons: Daggerdale: Solid Gold

Latest PlayStation Vita Trophies
Jak II (Vita): The Collectationator!
Jak II (Vita): The Collectivist
Jak II (Vita): The Collector
Jak II (Vita): Head Master

Latest PlayStation 3 Releases
Le Tour De France 2013 PS3-STRiKE - 06-18-2013
MotoGP 13 PS3-COLLATERAL - 06-17-2013
Remember Me USA PS3-ANTiDOTE - 06-17-2013
The Last of Us ASiA MULTi3 PS3-Kirin - 06-14-2013

Latest PlayStation 3 Themes
The Last of Us PS3 Theme - 06-14-2013
God Of War 3 (Unofficial V1/V2) PS3 Theme - 06-12-2013
Heavy Rain (Official) Dynamic PS3 Theme - 06-11-2013
PlayStation Classic PS3 Theme - 06-11-2013
  • Contact Us
  • -
  • PS3 News