Editing Talk:Harddrive
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 9: | Line 9: | ||
note: this seems untrue as there are several people posting pictures of their external to internal drive mod with a size of 2TB</pre> | note: this seems untrue as there are several people posting pictures of their external to internal drive mod with a size of 2TB</pre> | ||
==== Personal experience ==== | |||
===== Using Normal Mode and Recovery - when trying to install a 1.5TB 3.5" drive as internal (using an eSATA cradle) ===== | ===== Using Normal Mode and Recovery - when trying to install a 1.5TB 3.5" drive as internal (using an eSATA cradle) ===== | ||
* Using Recovery it is possible to finish the format of the harddrive until 100%. The system however fails to reboot automaticly after that and halts. When enforced to reboot, it errors out with "Wrong Harddrive". | * Using Recovery it is possible to finish the format of the harddrive until 100%. The system however fails to reboot automaticly after that and halts. When enforced to reboot, it errors out with "Wrong Harddrive". | ||
Line 15: | Line 15: | ||
* When trying to boot to XMB it also errors out with "Harddrive Error 0x8002F281". | * When trying to boot to XMB it also errors out with "Harddrive Error 0x8002F281". | ||
* When replacing the drive for the previous tested 1TB harddrive, it boots without errors to XMB and reports : 827GB free/931GB total | * When replacing the drive for the previous tested 1TB harddrive, it boots without errors to XMB and reports : 827GB free/931GB total | ||
;Conclusion: <span style="color:red | ;Conclusion: <span style="color:red; background-color:white;">>1TB didn't not work.</span> | ||
===== Using Factory Service Mode - when trying to install a 1.5TB 3.5" drive as internal (using an eSATA cradle) FSM ===== | ===== Using Factory Service Mode - when trying to install a 1.5TB 3.5" drive as internal (using an eSATA cradle) FSM ===== | ||
Line 35: | Line 35: | ||
** Preparing Update counts to 100% and then halts (does not reboot), just like in first trial. | ** Preparing Update counts to 100% and then halts (does not reboot), just like in first trial. | ||
* Manual poweroff and reboot just results in blank screen with no harddrive activity | * Manual poweroff and reboot just results in blank screen with no harddrive activity | ||
;Conclusion: <span style="color:red | ;Conclusion: <span style="color:red; background-color:white;">>1TB didn't not work in normal or recovery mode only with FSM enabled.</span> | ||
===== Going back to the 1TB and crosschecking ===== | ===== Going back to the 1TB and crosschecking ===== | ||
* Replacing drive back to the working 1TB (has 3.55 on it) gives prompt to reinstall 2.70, doing so errors out with "Harddrive Error 0x8002F281". | * Replacing drive back to the working 1TB (has 3.55 on it) gives prompt to reinstall 2.70, doing so errors out with "Harddrive Error 0x8002F281". | ||
Line 51: | Line 51: | ||
MAX Address xx:xx:xx:xx:xx:xx | MAX Address xx:xx:xx:xx:xx:xx | ||
Free Space 827GB / 931GB | Free Space 827GB / 931GB | ||
;Conclusion: <span style="color:green;"><=1TB works fine in all modi.</span> | ;Conclusion: <span style="color:green; background-color:white;"><=1TB works fine in all modi.</span> | ||
=== maximum size external drive === | === maximum size external drive === | ||
<pre>External HDD : You can format it to any size up to 8TB | <pre>External HDD : You can format it to any size up to 8TB | ||
Line 75: | Line 66: | ||
---- | ---- | ||
== | == AES-256-CBC versus AES-256-XTS == | ||
There is conflicting mention of sources for the algo/mode used for GameOS encryption. | There is conflicting mention of sources for the algo/mode used for GameOS encryption. | ||
Line 104: | Line 80: | ||
*[http://en.wikipedia.org/wiki/Disk_encryption_theory#XTS XTS - XEX-based Tweaked CodeBook mode] | *[http://en.wikipedia.org/wiki/Disk_encryption_theory#XTS XTS - XEX-based Tweaked CodeBook mode] | ||
---- | |||
---- | |||
---- | |||
==Experimental Tables== | |||
===HDD partitions=== | |||
== | <small> | ||
*Padding Notes: | |||
**The thin horizontal grey lines without text are areas betwen regions with a size of 0 bytes (doesnt exists), are used in the table as a note to remember there is no padding out of the regions in this position | |||
**7th region of vflash (ps3vflashg) ends at sector 0x77E00. vflash is 0x80000 sectors size, so the "not used area" after ps3vflashg has a size of: 0x80000 - 0x77E00 = 0x8200 sectors = 17039360 bytes (16,25 MB) | |||
**The padding between regions defined in "HDD Partition Table" seems to be 0x8 sectors size (see [http://www.psdevwiki.com/ps3/Hypervisor_Reverse_Engineering#HDD_device graf notes]) but the padding can be different when using unnofficial rebuild methods ([http://gitorious.ps3dev.net/ps3otheros/scripts/blobs/master/create_hdd_region.sh create_hdd_region.sh] adds a padding of 0x8 before and another 0x8 after the new region, concatenating new regions with this script generates double padding). Or when modifying the "HDD Partition Table" manually is posible to remove all padding then let the system generate the new region by himself | |||
*Encryption Notes: | |||
**Encryption is made "by sector" (data is accessed in chunks of 512 bytes and encrypted/decrypted individually), applyed "at write time" (only used sectors are encrypted), and "by device" (real and virtual devices). In the practise this means for PS3 NAND models all the HDD sectors are under 1 single encryption layer, but for PS3 NOR models (with a "virtual flash device" embedded inside "real hdd device") there is a "top" encryption layer over the whole HDD, and a "bottom" encryption layer over VFLASH (or in other words... in NOR models the sectors inside VFLASH are encrypted 2 times) | |||
**HDD encryption layer (top), based in the '''ata-key''': | |||
***FAT-NAND (no vflash): aes-cbc (ata-key and zero iv) | |||
***FAT-NOR (with vflash): aes-cbc (ata-key and zero iv) | |||
***SLIM-NOR (with vflash): aes-xts (ata-key and tweaking) | |||
**VFLASH encryption layer (bottom), based in the '''encdec_key''': | |||
***FAT-NOR (with vflash): aes-cbc (encdec-key and zero iv) | |||
***SLIM-NOR (with vflash): aes-xts (encdec-key and tweaking) | |||
</small> | |||
{| class="wikitable | {| class="wikitable" | ||
|+PS3 Hard Disk Drive, partitions and storage regions | |+PS3 Hard Disk Drive, partitions and storage regions | ||
! colspan= | ! colspan=9 | Storage Region !! colspan=3 | File System !! colspan=5 | Size !! colspan=2 | Usage || rowspan=4 | Notes<BR /><BR /><BR /><BR /><BR /> | ||
|- | |- | ||
! rowspan=3 colspan= | ! rowspan=3 colspan=6 | OtherOS !! rowspan=3 | GameOS !! colspan=2 | Access Control List !! colspan=2 | Official !! Unnofficial !! colspan=4 | Official !! rowspan=3 | Unnofficial<BR /><BR /><BR /><BR /> !! rowspan=3 | Official<BR /><BR /><BR /><BR /> !! rowspan=3 | Unnofficial<BR /><BR /><BR /><BR /> | ||
|- | |- | ||
! rowspan=2 | | ! rowspan=2 | [[Authentication_IDs | ACL's]] || rowspan=2 | unk? || rowspan=2 | Encryption !! rowspan=2 | Type !! rowspan=2 | Type !! colspan=2 | Decimal || colspan=2 | Hexadecimal | ||
|- | |- | ||
! Bytes !! Sectors !! Bytes !! Sectors | |||
|- {{cellcolors|#88ff88}} | |||
| rowspan=27 | (3) || colspan=5 | ps3d || {{No}} ? || colspan=2 | || colspan=3 {{No}} || colspan=5 style="text-align:center;" | All available || colspan=2 | Physical Device || Internall hard drive | |||
|- {{cellcolors|#8888ff}} | |||
| rowspan=26 | (3.0) || colspan=4 | ps3da || {{No}} ? || colspan=2 | || colspan=3 {{No}} || colspan=5 style="text-align:center;" | Any || colspan=2 | Physical partition || Entire HDD | |||
|- {{cellcolors|grey|white}} | |||
| colspan=10 | || style="text-align:right;" | 4 KB (4.096) || style="text-align:right;" | 8 || style="text-align:right;" | 0x1000 || style="text-align:right;" | 0x8 || Same || colspan=2 | [[Resizing_VFLASH_Storage_Device#Example_Of_An_Unmodified_HDD_Partition_Table | HDD Partition Table]] || | |||
|- {{cellcolors|#88ff88}} | |||
| rowspan=16 | (3.1) || colspan=3 | ps3vflash || {{No}} ? || colspan=2 | || colspan=3 {{No}} || colspan=5 style="text-align:center;" | All available || colspan=2 | Virtual Device || Only in PS3's with NOR flash | |||
|- {{cellcolors|#ffaa88}} | |||
| rowspan=15 | (3.1(1.0)) || colspan=2 | ps3vflasha || {{No}} ? || 1070000001000001<BR />1070000002000001 || 0B<BR />03 || colspan=3 {{No}} || style="text-align:right;" | 256 MB (268.435.456) || style="text-align:right;" | 524.288 || style="text-align:right;" | 0x10000000 || style="text-align:right;" | 0x80000 || Any || colspan=2 | Physical partition || Entire VFLASH | |||
|- {{cellcolors|grey|white}} | |||
| colspan=8 | || style="text-align:right;" | 4 KB (4.096) || style="text-align:right;" | 8 || style="text-align:right;" | 0x1000 || style="text-align:right;" | 0x8 || Same || colspan=2 | [[Dev_Tools#flash_dumper | VFLASH Partition Table]] || | |||
|- | |- | ||
| {{cellcolors|#ffff88}} (3.1(1.1)) || ps3vflashb || ? || 1070000001000001 || 03 || ? || colspan=2 | Raw access ? || style="text-align:right;" | 14,75 MB (15.462.400) || style="text-align:right;" | 30.200 || style="text-align:right;" | 0xEBF000 || style="text-align:right;" | 0x75F8 || Same || colspan=2 | "mirror" of real NOR second region: "ps3nflashb" ? || | |||
| | |- {{cellcolors|lightgrey}} | ||
| | | colspan=8 | || style="text-align:right;" | 256 KB (262.144) || style="text-align:right;" | 512 || style="text-align:right;" | 0x40000 || style="text-align:right;" | 0x200 || Same || colspan=2 | ? || | ||
|- | |- | ||
| | | {{cellcolors|#ffff88}} (3.1(1.2)) || ps3vflashc || dev_flash || 1070000002000001<BR />1070000001000001<BR />1020000003000001 || 03<BR />03<BR />01 || Yes || colspan=2 | FAT16 || style="text-align:right;" | 199,75 MB (209.453.056) || style="text-align:right;" | 409.088 || style="text-align:right;" | 0xC7C0000 || style="text-align:right;" | 0x63E00 || Same || colspan=2 | Firmware files || | ||
|- {{cellcolors| | |- {{cellcolors|lightgrey}} | ||
| colspan=16 | | |||
|- | |- | ||
| {{cellcolors|# | | {{cellcolors|#ffff88}} (3.1(1.3)) || ps3vflashd || dev_flash2 || 1070000002000001<BR />1070000001000001 || 03<BR />03 || ? || colspan=2 | FAT16 || style="text-align:right;" | 16 MB (16.777.216) || style="text-align:right;" | 32.768 || style="text-align:right;" | 0x1000000 || style="text-align:right;" | 0x8000 || Same || colspan=2 | XRegistry (Console/User settings) || | ||
|- {{cellcolors|lightgrey}} | |- {{cellcolors|lightgrey}} | ||
| colspan= | | colspan=16 | | ||
|- | |- | ||
| {{cellcolors|# | | {{cellcolors|#ffff88}} (3.1(1.4)) || ps3vflashe || dev_flash3 || 1070000002000001<BR />1070000001000001 || 03<BR />03 || ? || colspan=2 | FAT12 || style="text-align:right;" | 512 KB (524.288) || style="text-align:right;" | 1.024 || style="text-align:right;" | 0x80000 || style="text-align:right;" | 0x400 || Same || colspan=2 | CRL/DRL (Bluray revocation lists) || | ||
|- {{cellcolors|lightgrey}} | |||
| colspan=16 | | |||
|- | |- | ||
| {{cellcolors|# | | {{cellcolors|#ffff88}} (3.1(1.5)) || ps3vflashf || ? || 1070000002000001<BR />1070000001000001<BR />1080000004000001 || 03<BR />03<BR />03 || No ? || colspan=2 | Raw access || style="text-align:right;" | 4 MB (4.194.304) || style="text-align:right;" | 8.192 || style="text-align:right;" | 0x400000 || style="text-align:right;" | 0x2000 || Any || OtherOS bootloader<BR /><small>(compressed: otheros.bld)</small> || OtherOS++ bootloader<BR /><small>(uncompressed: dtbImage.ps3.bin)</small> || cell_ext_os_area + bootloader<BR /><small>(usually petitboot or kboot)</small> | ||
|- {{cellcolors|lightgrey}} | |||
| colspan=8 | || style="text-align:right;" | 4,25 MB (4.456.448) || style="text-align:right;" | 8.704 || style="text-align:right;" | 0x440000 || style="text-align:right;" | 0x2200 || Same || colspan=2 | ? || | |||
|- | |- | ||
| {{cellcolors|# | | {{cellcolors|#ffff88}} (3.1(1.6)) || ps3vflashg|| ? || 1070000001000001 || 03 || ? || colspan=2 | Raw access ? || style="text-align:right;" | 256 KB (262.144) || style="text-align:right;" | 512 || style="text-align:right;" | 0x40000 || style="text-align:right;" | 0x200 || Same || colspan=2 | ? || | ||
|- {{cellcolors|lightgrey}} | |- {{cellcolors|lightgrey}} | ||
| colspan= | | colspan=8 | || rowspan=2 style="text-align:right;" | 16,25 MB (17.039.360) || style="text-align:right;" rowspan=2 | 33.280 || style="text-align:right;" rowspan=2 | 0x1040000 || style="text-align:right;" rowspan=2 | 0x8200 || No ? || colspan=2 | Padding || | ||
|- | |- | ||
| {{cellcolors|# | | {{cellcolors|#ffff88}} (3.1(1.7)) || ps3vflashh || ? || ???????????????? || ?? || No || Not<BR />used || <small>All supported<BR />by linux kernel</small> || Any || Not used || <small>Linux/FreeBSD for NOR PS3's<BR />Based on graf drivers (deprecated)</small> || Firmware installers doesnt<BR />creates this region | ||
|- {{cellcolors|lightgrey}} | |- {{cellcolors|lightgrey}} | ||
| colspan= | | colspan=10 | || style="text-align:right;" | 8 KB (8.192) || style="text-align:right;" | 16 || style="text-align:right;" | 0x2000 || style="text-align:right;" | 0x10 || Same ? || colspan=2 | Double Padding ? || | ||
|- {{cellcolors|lightgrey}} | |- {{cellcolors|lightgrey}} | ||
| colspan= | | colspan=10 | || style="text-align:right;" | 4 KB (4.096) || style="text-align:right;" | 8 || style="text-align:right;" | 0x1000 || style="text-align:right;" | 0x8 || Same ? || colspan=2 | Only NAND: Padding ? || | ||
|- | |- | ||
| | | {{cellcolors|#88ff88}} (3.2) || colspan=3 | ps3db || dev_hdd0 || 1070000001000001<BR />1070000002000001<BR />1020000003000001 || 03<BR />03<BR />03 || <small>NAND:aes-cbc-192<BR />NOR:aes-xts-128</small> || colspan=2 | UFS2 || colspan=5 style="text-align:center;" | Any || colspan=2 | GameOS || <small>NAND: region starts at sector 0x20 ?<BR />NOR: region starts at sector 0x80018</small> | ||
|- {{cellcolors|lightgrey}} | |- {{cellcolors|lightgrey}} | ||
| colspan= | | colspan=10 | || style="text-align:right;" | 4 KB (4.096)) || style="text-align:right;" | 8 || style="text-align:right;" | 0x1000 || style="text-align:right;" | 0x8 || Same ? || colspan=2 | Padding || | ||
|- | |- | ||
| | | {{cellcolors|#88ff88}} (3.3) || colspan=3 | ps3dc || dev_hdd1 || 1070000001000001<BR />1070000002000001 || 03<BR />03 || ? || colspan=2 | FAT16 || style="text-align:right;" | 2 GB (2.147.479.552) || style="text-align:right;" | 4.194.296 || style="text-align:right;" | 0x7FFFF000 || style="text-align:right;" | 0x3FFFF8 || Same || colspan=2 | GameOS Cache || | ||
|- {{cellcolors|lightgrey}} | |- {{cellcolors|lightgrey}} | ||
| colspan= | | colspan=10 | || style="text-align:right;" | 4 KB (4.096) || style="text-align:right;" | 8 || style="text-align:right;" | 0x1000 || style="text-align:right;" | 0x8 || Same ? || colspan=2 | Padding || | ||
|- | |- | ||
| | | {{cellcolors|#88ff88}} (3.4) || colspan=3 | ps3dd || dev_hdd2 ? || ???????????????? || ?? || No || colspan=2 | <small>All supported<BR />by linux kernel</small> || colspan=4 style="text-align:center;" | 10GB <small>(0x13FFFF8 sectors)</small><BR />All available except 10GB <small>(All - 0x13FFFF8 sectors)</small> || Any || OtherOS<BR /><small>(disabled in firmware 3.21)</small> || <small>Linux/FreeBSD for NAND/NOR PS3's<BR />Based on glevand drivers</small> || | ||
|- {{cellcolors|lightgrey}} | |- {{cellcolors|lightgrey}} | ||
| colspan= | | colspan=10 | || style="text-align:right;" | 4 KB (4.096) || style="text-align:right;" | 8 || style="text-align:right;" | 0x1000 || style="text-align:right;" | 0x8 || Same ? || colspan=2 | Padding || | ||
|- | |- | ||
|} | |} | ||
*This table (pretends to) show all the posible partition layouts in all PS3 models, even when there are 2 big differences that changes partition positions (and consequently region names in Otheros/linux) | *This table (pretends to) show all the posible partition layouts in all PS3 models, even when there are 2 big differences that changes partition positions (and consequently region names in Otheros/linux) | ||
**Flash type | **Flash type | ||
***NAND flash 256mb - All firmware is stored in real NAND flash | ***NAND flash 256mb - All firmware is stored in real NAND flash | ||
***NOR flash 16mb - A small part of the firmware is stored in real NOR flash, and most of the firmware is stored in the first "virtual flash" (ps3vflash) partition in HDD (his position makes the other partitions to be displaced) | ***NOR flash 16mb - A small part of the firmware is stored in real NOR flash, and most of the firmware is stored in the first "virtual flash" (ps3vflash) partition in HDD (his position makes the other partitions to be displaced) | ||
**OtherOS bootloader installation ( | **OtherOS bootloader installation (petitboot) | ||
***OtherOS bootloader official - petitboot is installed in region (1.5), his size is smaller than the region so no need to resize | ***OtherOS bootloader official - petitboot is installed in region (1.5), his size is smaller than the region so no need to resize | ||
***OtherOS++ bootloader unofficial - petitboot is installed in region (1.5), his size is bigger than the region so the region is resized conveniently (usually up to 8MB = 16384 sectors) | ***OtherOS++ bootloader unofficial - petitboot is installed in region (1.5), his size is bigger than the region so the region is resized conveniently (usually up to 8MB = 16384 sectors) | ||
**OtherOS installation | **OtherOS installation | ||
***OtherOS official for NAND models - Linux/FreeBSD installed at region (3.4), last region of the HDD | ***OtherOS official for NAND models - Linux/FreeBSD installed at region (3.4), last region of the HDD | ||
***OtherOS++ unofficial for NOR models - Linux/FreeBSD installed at region (1.7), last region of vflash is created and resized conveniently | ***OtherOS++ unofficial for NOR models - Linux/FreeBSD installed at region (1.7), last region of vflash is created and resized conveniently | ||
***OtherOS/OtherOS++ unofficial for NOR/NAND models - Linux/FreeBSD installed at region (3.4), last region of the HDD | ***OtherOS/OtherOS++ unofficial for NOR/NAND models - Linux/FreeBSD installed at region (3.4), last region of the HDD | ||
Line 190: | Line 185: | ||
*Physical partitions contains one or more logicall partitions | *Physical partitions contains one or more logicall partitions | ||
Partition formatting in a service mode firmware installation for NOR flash. Google it: http://lmgtfy.com/?q=site%3Ahttp%3A%2F%2Fpastebin.com%2F+%22vflash+is+enabled...%22 | Partition formatting in a service mode firmware installation for NOR flash. Google it: http://lmgtfy.com/?q=site%3Ahttp%3A%2F%2Fpastebin.com%2F+%22vflash+is+enabled...%22 | ||
manufacturing updating start | manufacturing updating start | ||
Line 260: | Line 229: | ||
Other flash/hdd regions. Google it: http://lmgtfy.com/?q=site%3Ahttp%3A%2F%2Fpastebin.com%2F+%22CELL_FS_UTILITY%3AHDD2%22 and [[Files_on_the_PS3#Mountpoints|Mountpoints]] | Other flash/hdd regions. Google it: http://lmgtfy.com/?q=site%3Ahttp%3A%2F%2Fpastebin.com%2F+%22CELL_FS_UTILITY%3AHDD2%22 and [[Files_on_the_PS3#Mountpoints|Mountpoints]] | ||
CELL_FS_IOS:BUILTIN_FLSH1 | |||
CELL_FS_IOS:BUILTIN_FLSH2 | |||
CELL_FS_IOS:BUILTIN_FLSH3 | |||
CELL_FS_IOS:BUILTIN_FLSH4 | |||
CELL_FS_UTILITY:HDD0 | |||
CELL_FS_UTILITY:HDD1 | |||
CELL_FS_UTILITY:HDD2 | |||
===Speed tests running in PS3 nativelly=== | |||
===Speed tests running in PS3 | |||
{| class="wikitable" | {| class="wikitable" | ||
Line 362: | Line 336: | ||
|- | |- | ||
|} | |} | ||
=== Phat NAND HDD Entropy Table (After zerofill,no vflash) === | === Phat NAND HDD Entropy Table (After zerofill,no vflash) === | ||
Line 499: | Line 469: | ||
LOAD:0000000000030324 blr | LOAD:0000000000030324 blr | ||
LOAD:0000000000030324 # End of function fsck_cfs_main | LOAD:0000000000030324 # End of function fsck_cfs_main | ||