Mac OS System Error Codes: Uncommon Codes
Topic
The following list provides an explanation
of uncommon system errors. These lists are maintained with SysErr.a
and in the Inside Macintosh programmer's documentation.
Discussion
Note: Items listed in [brackets]
are old result code meanings.
Note: ???? This information wasn't available.
Internal File System Errors
1 chNoBuf no free cache
buffers (all in use)
2 chInUse requested
block in use
3 chnotfound requested block not
found
4 chNotInUse block being released
was not in use
16 fxRangeErr file position beyond
mapped range
17 fxOvFlErr extents file overflow
32 btnotfound record not found
33 btexists record already exists
34 btnospace no available space
35 btnoFit record doesn't fit
in node
36 btbadNode bad node detected
37 btbadHdr bad BTree header record
detected
48 cmnotfound CNode not found
49 cmexists CNode already exists
50 cmnotempty directory CNode not empty
(valence = 0)
51 cmRootCN invalid reference to
root CNode
52 cmbadnews detected bad catalog
structure
53 cmFThdDirErr thread belongs to a directory not
a file
54 cmFThdGone file thread doesn't exist
64 dsBadRotate bad BTree rotate
Slot Declaration ROM Manager Errors
1 siInitSDTblErr slot int dispatch table
could not be initialized.
2
siInitVBLQsErr VBLqueues for all slots could not be
initialized.
3 siInitSPTblErr slot priority table could
not be initialized.
10 sdmJTInitErr SDM Jump Table could
not be initialized.
11 sdmInitErr SDM could not
be initialized.
12 sdmSRTInitErr Slot Resource Table could
not be initialized.
13 sdmPRAMInitErr Slot PRAM could not be
initialized.
14 sdmPriInitErr Cards could not be initialized.
HD20 Driver Errors
16 wrtHsLw HSHK low
before starting
17 wrtHSLwTO Time out waiting
for HSHK to go low
19 wrtHSHighTO Time out waiting for
HSHK to go high
32 rdHsHi HSHK
high before starting
33 rdSyncTO Time out
waiting for sync ($AA) bye
34 rdGroupTO Time out waiting
for group
36 rdHoffSyncTO Time out waiting for
sync after holdoff
37 rdHsHiTO Time out
waiting for HSHK high
38 rdChksumErr Checksum error on
response packet
48 invalidResp First byte in response
packet was wrong
49 sqncNumErr Sequence number
in response packet was wrong
50
dNumberErr Drive number in response
packet was wrong
64 noResp No
response packet ever received
SCSI Manager Errors
2 scCommErr Communications
error (operations timeout)
3 scArbNBErr Arbitration failed
during SCSIGet - Bus busy
4 scBadparmsErr Bad parameter or TIB opcode
5 scPhaseErr SCSI bus not
in correct phase for operation
6 scCompareErr SCSI Manager busy
with another operation when
SCSIGet was called
7 scMgrBusyErr SCSI Manager busy
with another operation when
SCSIGet was called
8 scSequenceErr Attempted operation is
out of sequence - e.g.,
calling SCSISelect before doing SCSIGet
9 scBusTOErr Bus timeout before
data ready on SCSIRBlind and
SCSIWBlind
10 scComplPhaseErr SCSIComplete failed - bus not
in Status phase
Serial Driver Error Masks
1 swOverrunErr Serial Driver overrun
error
16 parityErr Serial parity
error
32
hwOverrunErr Serial hardware overrun
64 framingErr Serial framing
error
Miscellaneous Result Code
1 evtNotEnb Event not enabled
at PostEvent
CDev Errors
0 cdevMemErr Memory shortfall;
alert user please
1 cdevResErr Couldn't get
a needed resource; alert
3 cdevUnset cdevValue is
initialized to this
-1 cdevGenErr General error;
gray cdev w/o alert
Script Manager Errors
0 smNotTruncated No truncation was necessary
1 smTruncated Truncation performed
-1 smTruncErr General error
Communications Toolbox Errors
0 ctbuNoErr ????
-1 ctbuGenericError ????
Communications Resource Manager Errors
0 crmNoErr ????
-1 crmGenericError ????
Connection Manager Errors
0 cmNoErr ????
1 cmRejected ????
2 cmFailed
????
3 cmTimeOut ????
4 cmNotOpen ????
5 cmNotClosed ????
6 cmNoRequestPending ????
7 cmNotSupported ????
8 cmNoTools ????
9
cmUserCancel ????
11 cmUnknownError ????
-1 cmGenericError ????
File Transfer Manager Errors
0 ftNoErr ????
1 ftRejected ????
2 ftFailed ????
3 ftTimeOut ????
4 ftTooManyRetry ????
5 ftNotEnoughDSpace ????
6 ftRemoteCancel ????
7 ftWrongFormat ????
8 ftNoTools ????
9 ftUserCancel ????
10 ftNotSupported ????
11 ftUnknownError ????
-1 ftGenericError ????
Midi Manager MIDIPacket Errors
1 midiOverflowErr ????
2 midiSCCErr ????
3 midiPacketErr ????
255 midiMaxErr all command words
less than this are errors
Terminal Manager Errors
0 tmNoErr ????
1 tmNotSent ????
2 tmEnvironsChanged ????
7 tmNotSupported ????
8 tmNoTools ????
11 tmUnknownError ????
-1 tmGenericError ????
AppleTalk Errors
-1 overrunErr ???? (returned
by ReadPacket & ReadRest routines)
-2 crcErr ????
-3 underrunErr ????
-4
lengthErr ????
System Errors to put up msg dialogs
-10 dsMacsBugInstalled say "MacsBug
Installed"
-11 dsDisassemblerInstalled say "Disassembler
Installed"
-12 dsHD20Installed say
"HD20 Startup"
|