Editing Storage Manager
Jump to navigation
Jump to search
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
Storage Manager communicates with devices '''/dev/encdec0''' and '''/dev/rbd0''' from LPAR 1 | [[Category:Software]] | ||
Storage Manager communicates with devices '''/dev/encdec0''' and '''/dev/rbd0''' from LPAR 1 | |||
<br> | |||
Lv2 Kernel usage e.g. by: | Lv2 Kernel usage e.g. by: | ||
'''syscall 864''' and '''syscall SYS_SS_MEDIA_ID''' | '''syscall 864''' and '''syscall SYS_SS_MEDIA_ID''' | ||
*2nd value from '''[[Repository_Nodes]]''' '''bus1.id''' is used by Storage Manager | *2nd value from '''[[Repository_Nodes]]''' '''bus1.id''' is used by Storage Manager | ||
Line 10: | Line 10: | ||
*'''EID4''' data is passed to '''sb_iso_spu_module.self''' module. | *'''EID4''' data is passed to '''sb_iso_spu_module.self''' module. | ||
== 0x5000 - | == 0x5000 - Storage Manager == | ||
{| class="wikitable FCK__ShowTableBorders" | {| class="wikitable FCK__ShowTableBorders" | ||
Line 16: | Line 16: | ||
! Packet ID | ! Packet ID | ||
! Description | ! Description | ||
|- | |- | ||
| 0x5001 | | 0x5001 | ||
| Set Encdec Key | | Set Encdec Key | ||
|- | |- | ||
| 0x5002 | | 0x5002 | ||
| Set/Delete ATA (Encdec) Key | | Set/Delete ATA (Encdec) Key | ||
|- | |- | ||
| 0x5003 | | 0x5003 | ||
| Get Random Number | | Get Random Number | ||
|- | |- | ||
| 0x5004 | | 0x5004 | ||
| Authenticate BD Drive | | Authenticate BD Drive | ||
|- | |- | ||
| 0x5005 | | 0x5005 | ||
| Authenticate PS2 Disc | | Authenticate PS2 Disc | ||
|- | |- | ||
| 0x5006 | | 0x5006 | ||
| Get Secure Firmware Version | | Get Secure Firmware Version | ||
|- | |- | ||
| 0x5007 | | 0x5007 | ||
| Authenticate PS3 Game | | Authenticate PS3 Game | ||
|- | |- | ||
| 0x5008 | | 0x5008 | ||
| HW mc | | HW mc | ||
|- | |- | ||
| 0x5009 | | 0x5009 | ||
| HW me auth header | | HW me auth header | ||
|- | |- | ||
| 0x500A | | 0x500A | ||
| HW me dec block | | HW me dec block | ||
|- | |- | ||
| 0x5010 | | 0x5010 | ||
| Set Encdec Key for PS2 | | Set Encdec Key for PS2 | ||
|- | |- | ||
|} | |} | ||
==== SB Isolation DMA Buffer Header ==== | |||
<pre>struct sb_iso_header | <pre>struct sb_iso_header | ||
{ | { | ||
Line 112: | Line 65: | ||
*seqno has values 0x03 to 0x08. It is incremented when sending and receiving data from the spu. | *seqno has values 0x03 to 0x08. It is incremented when sending and receiving data from the spu. | ||
=== 0x5001 - Set Encdec Key === | === 0x5001 - Set Encdec Key === | ||
* This service allows you to set ENCDEC keys with index '''0xC - 0xF''' | * This service allows you to set ENCDEC keys with index '''0xC - 0xF''' | ||
Line 123: | Line 76: | ||
Per default, keys with index 0x0 - 0xB are not free. But we could patch it also. | Per default, keys with index 0x0 - 0xB are not free. But we could patch it also. | ||
=== 0x5002 - Set/Delete ATA (Encdec) Key === | === 0x5002 - Set/Delete ATA (Encdec) Key === | ||
*Sets/Deletes ATA (Encdec) Key | *Sets/Deletes ATA (Encdec) Key | ||
Line 157: | Line 110: | ||
|} | |} | ||
=== 0x5003 - Get Random Number === | === 0x5003 - Get Random Number === | ||
*I have got access to Get Random Number service through DM and tested it with PSGroove | *I have got access to Get Random Number service through DM and tested it with PSGroove | ||
Line 165: | Line 118: | ||
*This service is used e.g. by USB Dongle Authenticator to generate the body of a challenge or by GameOS to generate hardware random numbers. | *This service is used e.g. by USB Dongle Authenticator to generate the body of a challenge or by GameOS to generate hardware random numbers. | ||
=== 0x5004 - Authenticate BD Drive === | === 0x5004 - Authenticate BD Drive === | ||
*Used by LPAR Manager in HV Process 9 during LPAR 2 loading and unloading. | *Used by LPAR Manager in HV Process 9 during LPAR 2 loading and unloading. | ||
Line 189: | Line 142: | ||
| 0x04 | | 0x04 | ||
| cleans key | | cleans key | ||
|- | |- | ||
| 0x1E | | 0x1E | ||
Line 197: | Line 147: | ||
|- | |- | ||
| 0x29 | | 0x29 | ||
| Reset BD Drive + cleans key | | Reset BD Drive + cleans key | ||
|- | |- | ||
| 0x2B | | 0x2B | ||
| | | | ||
|- | |- | ||
| 0x46 | | 0x46 | ||
Line 206: | Line 156: | ||
|- | |- | ||
| 0x52 | | 0x52 | ||
| Authenticate PS2 Disc Insert (policy check | | Authenticate PS2 Disc Insert (policy check) | ||
|- | |- | ||
| 0x5A | | 0x5A | ||
| (only gets [[AIM_Manager#0x19004_-_Get_PS_Code|PSCode]]) | | (only gets [[AIM_Manager#0x19004_-_Get_PS_Code|PSCode]] ) | ||
|- | |- | ||
| 0x8D | | 0x8D | ||
Line 215: | Line 165: | ||
|} | |} | ||
=== 0x5005 - PS2 Disc Authenticate === | === 0x5005 - PS2 Disc Authenticate === | ||
=== 0x5006 - Get Version === | === 0x5006 - Get Version === | ||
* By default not accessible from GameOS | * By default not accessible from GameOS. But it can be enabled by patching Dispatcher Manager. | ||
=== 0x5007 - Control BD Drive === | === 0x5007 - Control BD Drive === | ||
*Used by GameOS to authenticate discs and for BD emulation. | *Used by GameOS to authenticate discs and for BD emulation. | ||
Line 233: | Line 183: | ||
|- | |- | ||
| 0x0D | | 0x0D | ||
| HW_ps3_disc_auth | | HW_ps3_disc_auth | ||
|- | |- | ||
| 0x3F | | 0x3F | ||
| HW_ps3_disc_auth (disc id) | | HW_ps3_disc_auth (disc id?) | ||
|- | |- | ||
| 0x41 | | 0x41 | ||
Line 242: | Line 192: | ||
|- | |- | ||
| 0x43 | | 0x43 | ||
| HW_ps3_disc_change | | HW_ps3_disc_change | ||
|- | |- | ||
| 0x46 | | 0x46 | ||
| HW_ps3_disc_auth | | HW_ps3_disc_auth | ||
|- | |- | ||
| 0x4B | | 0x4B | ||
Line 257: | Line 207: | ||
|- | |- | ||
| 0x53 | | 0x53 | ||
| HW_ps3_disc_change | | HW_ps3_disc_change | ||
|- | |- | ||
| 0xA3 | | 0xA3 | ||
Line 263: | Line 213: | ||
|- | |- | ||
| 0xA5 | | 0xA5 | ||
| HW_disc_auth_emu | | HW_disc_auth_emu | ||
|- | |- | ||
| 0xA7 | | 0xA7 | ||
Line 269: | Line 219: | ||
|- | |- | ||
| 0xAA | | 0xAA | ||
| HW_disc_auth_emu | | HW_disc_auth_emu | ||
|} | |} | ||
=== 0x5008 - HW mc === | === 0x5008 - HW mc === | ||
==== Service Parameter Table ==== | ==== Service Parameter Table ==== | ||
Line 288: | Line 238: | ||
|- | |- | ||
|} | |} | ||