Difference between revisions of "Error codes"

From Vita Development Wiki
Jump to navigation Jump to search
Line 1: Line 1:
 +
== format ==
 +
 +
<source lang="C">
 +
bit 31: Whether there is an error
 +
    - 1= error(Bits 30-0 follow the definition below)
 +
    - 0= success(Definition of bits 30-0 is free)
 +
 +
bit 30: Error criticality (Critical)
 +
    - 1= Fatal error
 +
    - 0= Normal error
 +
 +
bit 29,28: Reserved
 +
    - 00= Always fixed to zero
 +
 +
bit 27-16: Facility
 +
    - 0x000= Reserved
 +
    - 0x001= SCE_ERROR_FACILITY_ERRNO
 +
    - 0x002= SCE_ERROR_FACILITY_KERNEL
 +
 +
bit 15-0: Error code
 +
    - The specific meaning depends on the facility code.
 +
    - Even if the error code value is the same, but the facility code is different
 +
    - Please note that it is treated as a separate error number.
 +
 +
</source>
 +
 
== 0x800f ==
 
== 0x800f ==
  

Revision as of 11:54, 10 December 2019

format

bit 31: Whether there is an error
    - 1= error(Bits 30-0 follow the definition below)
    - 0= success(Definition of bits 30-0 is free)

bit 30: Error criticality (Critical)
    - 1= Fatal error
    - 0= Normal error

bit 29,28: Reserved
    - 00= Always fixed to zero

bit 27-16: Facility
    - 0x000= Reserved
    - 0x001= SCE_ERROR_FACILITY_ERRNO
    - 0x002= SCE_ERROR_FACILITY_KERNEL

bit 15-0: Error code
    - The specific meaning depends on the facility code.
    - Even if the error code value is the same, but the facility code is different
    - Please note that it is treated as a separate error number.

0x800f

These seem to be coming from various signature checks/crypto routines.

Name Hex Error code Remarks
SCE_SBL_ERROR_COMMON_ESTACK 0x800f0029 C1-6432-5 sceSblAuthMgrLoadSelfSegmentForKernel / sceSblAuthMgrLoadSelfBlockForKernel: Returned after a failed sceSblAuthMgrAuthHeaderForKernel (?)
SCE_SBL_ERROR_SRTC_EINVAL 0x800f0516 C1-6703-6 If modulemgr tried to decrypt the segment and decompress it, but an error occurred. Or an error coming from SceSblAuthMgr with low probability
SCE_SBL_ERROR_DEVACT_EINVAL 0x800f0616 C1-6761-0 sceSblAuthMgrAuthHeaderForKernel: FW version mismatch (?)
SCE_SBL_ERROR_AUTHMGR_ENOTINITIALIZED 0x800f0b32 C1-7079-3 sceSblAuthMgrAuthHeaderForKernel: Invalid PathId