Go Back  
Reply
 
Thread Tools
Old 07-18-2012   #1
hewman
Member
null
 
Join Date: Jul 2011
Posts: 41
Likes: 9
Liked 24 Times in 8 Posts
Mentioned: 7 Post(s)
Tagged: 0 Thread(s)
How to compile metldrpwn?

Hello

Ive installed red Ribbon (link found on http://www.ps3hax.net/showthread.php?t=40151&page=7)

trying to compile metldrpwn with make, but am getting this error

/lib/modules/2.6.38powerpc64-otheros/build: no such file or directory. stop.

can anyone help?

Ive run

sudo apt-get install autoconf automake bison flex gcc make wget git libppl0.10-dev libcloog-ppl-dev libelf-dev libncurses5-dev build-essential


but that doesnt help either and am still receiving the same error???

I have tried searching "compile metldrpwn" 3 searches come up with 129 pages!.
hewman is offline   Reply With Quote
Old 07-18-2012   #2
hewman
Member
null
 
Join Date: Jul 2011
Posts: 41
Likes: 9
Liked 24 Times in 8 Posts
Mentioned: 7 Post(s)
Tagged: 0 Thread(s)
Hi all

I had no luck compiling metldrpwn on red ribbon and after a stressful hour trying bits to compile i gave up and decided to install debian using nikitis automated script, no problem up and running after a couple of hours compiling the kernel and downloading all the sources etc.

Now I have a different error with metldrpwn, I have run "make" and from what i could tell all is good,

I then
chmod 755 ./run.sh
and run ./run.sh

but im getting problem status 0x00010282 when I should be getting problem status (0x00000089)

Here is a pic of the problem
http://imageshack.us/photo/my-images...718190157.jpg/

I searched for that error code and cannot find a thing!, can anyone help me out?

Much appreciated.

Hewman
hewman is offline   Reply With Quote
Old 07-18-2012   #3
sbmotoracer
Member
null
 
Join Date: Jul 2008
Posts: 45
Likes: 25
Liked 6 Times in 5 Posts
Mentioned: 1 Post(s)
Tagged: 0 Thread(s)
If I had to take a stab in the dark without access kernel sources right now i'd say it means that it cannot access metldr.

when the script tries to copy(cat) metldr it outputs an error indicating no memory left to do so.

Are you running anything that would use memory such as Gnome,etc?
sbmotoracer is offline   Reply With Quote
Old 07-19-2012   #4
hewman
Member
null
 
Join Date: Jul 2011
Posts: 41
Likes: 9
Liked 24 Times in 8 Posts
Mentioned: 7 Post(s)
Tagged: 0 Thread(s)
Originally Posted by sbmotoracer View Post
If I had to take a stab in the dark without access kernel sources right now i'd say it means that it cannot access metldr.

when the script tries to copy(cat) metldr it outputs an error indicating no memory left to do so.

Are you running anything that would use memory such as Gnome,etc?
Thanks for the reply - killed the majority of the services running in the background and managed to get a clean dump from metldrpwn

root @ps3 :/mnt/metldrpwn# chmod 755 metldr
root @ps3 :/mnt/metldrpwn# ./run.sh
++ insmod ./metldrpwn.ko
++ cat metldr
++ sleep 1
++ cat appldr-metldrexploit350.self
++ sleep 2
++ echo 1
++ sleep 5
++ cat /proc/metldrpwn/debug
PPE id (0x0000000000000001) VAS id (0x0000000000000002)
lv1_construct_logical_spe (0x00000000)
SPE id (0x0000000000000033)
lv1_enable_logical_spe (0x00000000)
lv1_set_spe_interrupt_mask(0) (0x00000000)
lv1_set_spe_interrupt_mask(1) (0x00000000)
lv1_set_spe_interrupt_mask(2) (0x00000000)
lv1_set_spe_privilege_state_area_1_register (0x00000000)
ea (0xc00000000e0c0000) esid (0xc000000008000000) vsid (0x0000408f92c94500)
lv1_get_spe_interrupt_status(0) (0x00000000)
lv1_get_spe_interrupt_status(1) (0x00000000)
lv1_get_spe_interrupt_status(2) (0x00000000)
sleep
lv1_get_spe_interrupt_status(0) (0x00000000)
lv1_get_spe_interrupt_status(1) (0x00000000)
lv1_get_spe_interrupt_status(2) (0x00000000)
out interrupt mbox (0x0000000000000001)
lv1_clear_spe_interrupt_status(2) (0x00000000)
transferring EID0, ldr args and revoke list to LS
waiting until MFC transfers are finished
MFC transfers done
out mbox (0x00000001)
problem status (0x00000089)
lv1_destruct_logical_spe (0x00000000)
root @ps3 :/mnt/metldrpwn# cp /proc/metldrpwn/dump /mnt/dump


Now onto the next stage :-) - will report back with my findings.
hewman is offline   Reply With Quote
Old 07-19-2012   #5
hewman
Member
null
 
Join Date: Jul 2011
Posts: 41
Likes: 9
Liked 24 Times in 8 Posts
Mentioned: 7 Post(s)
Tagged: 0 Thread(s)
All done, a few hairy moments, but overall not that hard,

Some interesting stuff for those who are doing the CEX-DEX conversion
the command you use to write back to the flash (dd if=/mnt/flashDEX.BIN of=/dev/ps3nflasha bs=1024)

It does error out, however it will drop you back to the prompt after 5/6 minutes what ever you do here do NOT reboot or stop the process.
(pic of errors attached for reference)
http://img41.imageshack.us/img41/438/20120719143439.jpg

after you flashed,
When you turn the ps3 back on in recovery mode it will boot into petiboot, exit to shell and type "ps3-boot-gameos" (without quotes ) this will boot you back into CEX XMB(Strange but true), now you can go into recovery mode and install DEX FW.
hewman is offline   Reply With Quote
Old 07-19-2012   #6
Spungy
Member
 
Spungy's Avatar
 
Join Date: Apr 2011
Location: Navan
Posts: 101
Likes: 56
Liked 32 Times in 21 Posts
Mentioned: 4 Post(s)
Tagged: 0 Thread(s)
Originally Posted by hewman View Post
All done, a few hairy moments, but overall not that hard,

(dd if=/mnt/flashDEX.BIN of=/dev/ps3nflasha bs=1024)
What console are you using? I haven't got that far yet but is that the same command for NAND?
__________________
Annelies
Spungy is offline   Reply With Quote
Old 07-19-2012   #7
hewman
Member
null
 
Join Date: Jul 2011
Posts: 41
Likes: 9
Liked 24 Times in 8 Posts
Mentioned: 7 Post(s)
Tagged: 0 Thread(s)
Originally Posted by Spungy View Post
What console are you using? I haven't got that far yet but is that the same command for NAND?

Im using a Ps3 Slim NOR model, definitely read up on everything first I dont want you to brick your console.
hewman is offline   Reply With Quote
Old 07-19-2012   #8
Spungy
Member
 
Spungy's Avatar
 
Join Date: Apr 2011
Location: Navan
Posts: 101
Likes: 56
Liked 32 Times in 21 Posts
Mentioned: 4 Post(s)
Tagged: 0 Thread(s)
Originally Posted by hewman View Post
Im using a Ps3 Slim NOR model, definitely read up on everything first I dont want you to brick your console.
Yeah thanks man Im not going to flash anything until im 100%
__________________
Annelies
Spungy is offline   Reply With Quote
Old 07-19-2012   #9
hewman
Member
null
 
Join Date: Jul 2011
Posts: 41
Likes: 9
Liked 24 Times in 8 Posts
Mentioned: 7 Post(s)
Tagged: 0 Thread(s)
Originally Posted by Spungy View Post
Yeah thanks man Im not going to flash anything until im 100%
I can walk you through the linux/metldrown steps via skype or some message client if ya get stuck, give us a shout.
hewman is offline   Reply With Quote
Old 07-19-2012   #10
Spungy
Member
 
Spungy's Avatar
 
Join Date: Apr 2011
Location: Navan
Posts: 101
Likes: 56
Liked 32 Times in 21 Posts
Mentioned: 4 Post(s)
Tagged: 0 Thread(s)
yeah no problem thanks ill give you a shout..

Im on otherOS++ when I first tried to install petitboot nothing happened so I reset the system settings.
I have the minimal dtbImage.bin on a memory stick because I have a NAND. When I run setup_flash_for_otherOS.pkg It goes to a black screen and does nothing.. The light on my memory stick is flashing but it has been for over an hour. Is this normal?
__________________
Annelies
Spungy is offline   Reply With Quote
Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



PS3Hax.net is Copyright © 2010-2013.
Use of this site is governed by our Terms of Use and Privacy Policy. All Trademarks and images are owned by their respected owners.
Posts and links are subject to each author on this forum and are no way affiliated with the operations and/or opinions of ps3hax.net
All times are GMT -5. The time now is 09:01 PM.