嵌入式开发资料Linux系统错误速查手册.docx
《嵌入式开发资料Linux系统错误速查手册.docx》由会员分享,可在线阅读,更多相关《嵌入式开发资料Linux系统错误速查手册.docx(58页珍藏版)》请在冰点文库上搜索。
嵌入式开发资料Linux系统错误速查手册
Systemerrno:
Wheneversystemcallserror,thereisglobalvariable“errno”toindicatewhaterrorhappened.
Value
Name
Description
1
EPERM
Operationnotpermitted
2
ENOENT
Nosuchfileordirectory
3
ESRCH
Nosuchprocess
4
EINTR
Interruptedsystemcall
5
EIO
I/Oerror
6
ENXIO
Nosuchdeviceoraddress
7
E2BIG
Argumentlisttoolong
8
ENOEXEC
Execformaterror
9
EBADF
Badfilenumber
10
ECHILD
Nochildprocesses
11
EAGAIN
Tryagain
EWOULDBLOCK
Operationwouldblock
12
ENOMEM
Outofmemory
13
EACCES
Permissiondenied
14
EFAULT
Badaddress
15
ENOTBLK
Blockdevicerequired
16
EBUSY
Deviceorresourcebusy
17
EEXIST
Fileexists
18
EXDEV
Cross-devicelink
19
ENODEV
Nosuchdevice
20
ENOTDIR
Notadirectory
21
EISDIR
Isadirectory
22
EINVAL
Invalidargument
23
ENFILE
Filetableoverflow
24
EMFILE
Toomanyopenfiles
25
ENOTTY
Notatypewriter
26
ETXTBSY
Textfilebusy
27
EFBIG
Filetoolarge
28
ENOSPC
Nospaceleftondevice
29
ESPIPE
Illegalseek
30
EROFS
Read-onlyfilesystem
31
EMLINK
Toomanylinks
32
EPIPE
Brokenpipe
33
EDOM
Mathargumentoutofdomainoffunc
34
ERANGE
Mathresultnotrepresentable
35
EDEADLK
Resourcedeadlockwouldoccur
EDEADLOCK
36
ENAMETOOLONG
Filenametoolong
37
ENOLCK
Norecordlocksavailable
38
ENOSYS
Functionnotimplemented
39
ENOTEMPTY
Directorynotempty
40
ELOOP
Toomanysymboliclinksencountered
42
ENOMSG
Nomessageofdesiredtype
43
EIDRM
Identifierremoved
44
ECHRNG
Channelnumberoutofrange
45
EL2NSYNC
Level2notsynchronized
46
EL3HLT
Level3halted
47
EL3RST
Level3reset
48
ELNRNG
Linknumberoutofrange
49
EUNATCH
Protocoldrivernotattached
50
ENOCSI
NoCSIstructureavailable
51
EL2HLT
Level2halted
52
EBADE
Invalidexchange
53
EBADR
Invalidrequestdescriptor
54
EXFULL
Exchangefull
55
ENOANO
Noanode
56
EBADRQC
Invalidrequestcode
57
EBADSLT
Invalidslot
59
EBFONT
Badfontfileformat
60
ENOSTR
Devicenotastream
61
ENODATA
Nodataavailable
62
ETIME
Timerexpired
63
ENOSR
Outofstreamsresources
64
ENONET
Machineisnotonthenetwork
65
ENOPKG
Packagenotinstalled
66
EREMOTE
Objectisremote
67
ENOLINK
Linkhasbeensevered
68
EADV
Advertiseerror
69
ESRMNT
Srmounterror
70
ECOMM
Communicationerroronsend
71
EPROTO
Protocolerror
72
EMULTIHOP
Multihopattempted
73
EDOTDOT
RFSspecificerror
74
EBADMSG
Notadatamessage
75
EOVERFLOW
Valuetoolargefordefineddatatype
76
ENOTUNIQ
Namenotuniqueonnetwork
77
EBADFD
Filedescriptorinbadstate
78
EREMCHG
Remoteaddresschanged
79
ELIBACC
Cannotaccessaneededsharedlibrary
80
ELIBBAD
Accessingacorruptedsharedlibrary
81
ELIBSCN
.libsectionina.outcorrupted
82
ELIBMAX
Attemptingtolinkintoomanysharedlibraries
83
ELIBEXEC
Cannotexecasharedlibrarydirectly
84
EILSEQ
Illegalbytesequence
85
ERESTART
Interruptedsystemcallshouldberestarted
86
ESTRPIPE
Streamspipeerror
87
EUSERS
Toomanyusers
88
ENOTSOCK
Socketoperationonnon-socket
89
EDESTADDRREQ
Destinationaddressrequired
90
EMSGSIZE
Messagetoolong
91
EPROTOTYPE
Protocolwrongtypeforsocket
92
ENOPROTOOPT
Protocolnotavailable
93
EPROTONOSUPPORT
Protocolnotsupported
94
ESOCKTNOSUPPORT
Sockettypenotsupported
95
EOPNOTSUPP
Operationnotsupportedontransportendpoint
96
EPFNOSUPPORT
Protocolfamilynotsupported
97
EAFNOSUPPORT
Addressfamilynotsupportedbyprotocol
98
EADDRINUSE
Addressalreadyinuse
99
EADDRNOTAVAIL
Cannotassignrequestedaddress
100
ENETDOWN
Networkisdown
101
ENETUNREACH
Networkisunreachable
102
ENETRESET
Networkdroppedconnectionbecauseofreset
103
ECONNABORTED
Softwarecausedconnectionabort
104
ECONNRESET
Connectionresetbypeer
105
ENOBUFS
Nobufferspaceavailable
106
EISCONN
Transportendpointisalreadyconnected
107
ENOTCONN
Transportendpointisnotconnected
108
ESHUTDOWN
Cannotsendaftertransportendpointshutdown
109
ETOOMANYREFS
Toomanyreferences:
cannotsplice
110
ETIMEDOUT
Connectiontimedout
111
ECONNREFUSED
Connectionrefused
112
EHOSTDOWN
Hostisdown
113
EHOSTUNREACH
Noroutetohost
114
EALREADY
Operationalreadyinprogress
115
EINPROGRESS
Operationnowinprogress
116
ESTALE
StaleNFSfilehandle
117
EUCLEAN
Structureneedscleaning
118
ENOTNAM
NotaXENIXnamedtypefile
119
ENAVAIL
NoXENIXsemaphoresavailable
120
EISNAM
Isanamedtypefile
121
EREMOTEIO
RemoteI/Oerror
122
EDQUOT
Quotaexceeded
123
ENOMEDIUM
Nomediumfound
124
EMEDIUMTYPE
Wrongmediumtype
125
ECANCELED
OperationCanceled
126
ENOKEY
Requiredkeynotavailable
127
EKEYEXPIRED
Keyhasexpired
128
EKEYREVOKED
Keyhasbeenrevoked
129
EKEYREJECTED
Keywasrejectedbyservice
130
EOWNERDEAD
MutexOwnerdied
131
ENOTRECOVERABLE
MutexStatenotrecoverable
PlatformSoftwareFault:
***Softwarefault***SS:
%SU:
%FC:
0x%%%%FD:
0x%%%%%%%%RC:
0x%%%%Task:
%sCalleraddr1:
0x%Xaddr2:
0x%X
SS:
subsystemcode-acodethatidentifiesthecallingsubsystem
Value
Name
Description
A
SYS_ADMIN_SUBSYSTEM
Adminsubsystem
C
COMM_SUBSYSTEM
Communicationsubsystem
CMS_SUBSYSTEM
CMSsubsystem
D
DATA_MGMT_SUBSYSTEM
DataManagementsubsystem
E
MEMORY_ADMIN_SUBSYSTEM
MemoryManagementsubsystem
F
FRAMEWORK_SVCS_SUBSYSTEM
FrameworkServicesubsystem
I
IPT_SUBSYSTEM
IPTunnelsubsystem
KITS_SUBSYSTEM
Kitssubsystem
K
KERNEL_SUBSYSTEM
Kernelsubsystem
N
NETUTIL_SUBSYSTEM
Netutilitysubsystem
O
OM_SUBSYSTEM
ObjectManagementsubsystem
P
PS_SUBSYSTEM
*ProductSpecificsubsystem
PRC_SUBSYSTEM
PRCsubsystem
R
DS_RRP_SUBSYSTEM
DirectoryServicesRPRsubsystem
S
DS_SUBSYSTEM
DirectoryServicessubsystem
T
TAL_SUBSYSTEM
ToolkitAdaptationLayersubsystem
U
DS_DUA_SUBSYSTEM
DirectoryServicesDirectoryUserAgentsubsystem
Z
IPC_SUBSYSTEM
IPCsubsystem
SU:
softwareunit-acodethatidentifiesthecallingsoftwareunit
Value
Name
Description
0
KS_PHILE_UNIT
Phileunit
1
KS_SPI_UNIT
SPIunit
PRC_SNMP_AGT_SW_UNIT
PRCSNMPagentsoftwareunit
2
KS_ATA_DRIVER_UNIT
ATAdriverunit
PRC_SNMP_DB_SW_UNIT
PRCSNMPDBsoftwareunit
3
KS_PARALLEL_IO_DRIVER_UNIT
ParallelIOdriverunit
PRC_SNMP_GOBJ_SW_UNIT
PRCSNMPGobjsoftwareunit
4
KS_SCC_DRIVER_UNIT
SCCdriver
PRC_LEA_SW_UNIT
PRCAlarmEventandLacTable
softwareunit
5
KS_Q2_DRIVER_UNIT
*Qeccdriver
PRC_PRS_SW_UNIT
PRCPRSsoftwareunit
6
KS_EEPROM_DRIVER_UNIT
EEPROMdriver
PRC_SNMP_AGTARM_SW_UNIT
PRCSNMPagentalarmsoftwareunit
7
KS_LCI_UNIT
LCIunit
PRC_PPP_SW_UNIT
PRCPPPsoftwareunit
8
KS_ISPB_UNIT
ISPBunit
PRC_IFSC_SW_UNIT
PRCIFSCsoftwareunit
9
KS_CONTROLLER_DRIVER_UNIT
Controllerdriverunit
PRC_AGT_SW_UNIT
PRCAgentsoftwareunit
a
KS_LAPD_DRIVER_UNIT
LAPDdriverunit
PRC_LMS_SW_UNIT
PRCLMSsoftwareunit
b
KS_KSDISI_DRIVER_UNIT
DISIdriverunit
PRC_RSVP_SW_UNIT
PRCRSVPsoftwareunit
c
KS_HW_CFG_UNIT
Hardwareconfig(hw_cfg)unit
MGNT_IPCIRC_SU
ManagementIPCIRCsoftwareunit
PRC_LDP_SW_UNIT
PRCLDPsoftwareunit
d
KS_LAN_DRIVER_UNIT
LANdriverunit
PRC_SOCK_SW_UNIT
PRCsocketsoftwareunit
e
KS_DB_EEPROM_DRIVER_UNIT
DBEEPROMdriverunit
PRC_SD_SW_UNIT
PRCSDsoftwareunit
f
KS_FEPROM_DRIVER_UNIT
FlashEPROMdriverunit
PRC_BAL_SW_UNIT
PRCBALsoftwareunit
g
KS_DRIVER_UNIT
Generaldriverunit
PRC_ACS_SW_UNIT
PRCACSsoftwareunit
h
KS_DB_EEPROM_DRIVER_HW_UNIT
DBEEPROMdriverhardwareunit
PRC_ACD_SW_UNIT
PRCACDsoftwareunit
i
KS_IDUODU_UNIT
IDUODUunit
PRC_MDIIC_SW_UNIT
PRCMDIICsoftwareunit
j
PRC_MAN_SW_UNIT
PRCMansoftwareunit
k
PRC_SWDL_SW_UNIT
PRCSoftwaredownloadsoftwareunit
l
KS_LIST_UTIL_UNIT
Listutilityunit
KS_LAN_ADDR_UNIT
LANaddressunit
PRC_DPM_SW_UNIT
PRCDPMsoftwareunit
m
KS_PMC_UNIT
PMCunit
CS_LAYER_MGMT_UNIT
Communicationsubsystem
layermanagementunit
PRC_DEP_SW_UNIT
PRCDEPsoftwareunit
n
PRC_HCO_SW_UNIT
PRCHCOsoftwareunit
o
PRC_I2C_SW_UNIT
PRCI2Csoftwareunit
p
KS_PCI_UNIT
PCIunit
PRC_MAD_SW_UNIT
PRCMadsoftwareunit
q
KS_DWL_FPGA_UNIT
FPGAdownloadunit
PRC_PCS_SW_UNIT
PRCPcssoftwareunit
r
KS_FCC_DRIVER_UNIT
FCCdriverunit
PRC_QCD_SW_UNIT
PRCQcdsoftwareunit
s
KS_MUTEX_UNIT
Mutexunit
KS_ETH_DRIVER_UNIT
Ethernetdriverunit
PRC_ANY_SW_UNIT
PRCanysoftwareunit
t
KS_TASK_TABLE_UNIT
Tasktableunit
CS_TM_SU
Communicationsubsystemtrace
managementsoftwareunit
PRC_UTIL_SW_UNIT
PRCutilitysoftwareunit
u
KS_I2C_DRIVER_UNIT
I2Cdriverunit
PRC_TEST_SW_UNIT
PRCtestsoftwareunit
v
PRC_P2_ALLOC_UNIT
PRCP2allocatesoftwareunit
w
KS_INVENTORY_DRIVER_UNIT
Remoteinventorydriverunit
PRC_DA_SW_UNIT
PRCDAsoftwareunit
x
PRC_ISSBP_SW_UNIT
PRCISSBPsoftwareunit
y
FREE_6
Unused
z
KS_PASSWD_UNIT
Passwordunit
PRC_SUP_SW_UNIT
PRCSUPsoftwareunit
A
KS_TIMERS_UNIT
Timerunit
CS_ADMIN_SU
Communicationsubsystem
Adminsoftwareunit
CS_SNMP_AGENT_UNIT
Communicationsubsystem
SNMPagentunit
PRC_PM_SW_UNIT
PRCPMsoftwareunit
B
KS_MEMORY_UNIT
Memoryunit
PRC_PSM_SW_UNIT
PRCPSMsoftwareunit
C
KS_CLOCK_UNIT
Clockunit
CS_ECHO_SU
Communicationsubsystemechounit
INTP_UIF_CMD_SU
NTPUIFcommandsoftwareunit
PRC_SL_SW_UNIT
PRCSLsoftwareunit
D
KS_DEVICE_CONTROL_UNIT
Devicecontrolunit
PRC_BPM_SW_UNIT
PRCBPMsoftwareunit
E
KS_EVENTS_UNIT
Eventunit
CS_8021E_SU
Communicationsubsystem802.1Eunit
PRC_STP_SW_UNIT
PRCSTPsoftwareunit
F
KS_SW_FAULT_HANDLER_UNIT
Softwarefaulthandlerunit
PRC_802_1q_SW_UNIT
PRC802.1qsoftwareunit
G
KS_DEBUG_UNIT
Debugunit
PRC_VLAN_SW_UNIT
PRCVLANsoftwar