[net.micro.mac] error 11 unveiled

ted@usceast.UUCP (Ted Nolan) (03/05/85)

<miscellaneous bug killer>

Much thanks to the many people who responded to my request for the meaning
of system error code 11.  The answer turns out to be almost completely useless
to me, but that's life.  I have never seen a list of error codes posted
and I think it's of enough general interest, so here is one of the lists
I got.  (This from Steve Snipes at NCR here in Columbia, whom I still owe
a report on aztec C -- it's in the works)

				Ted Nolan ..usceast!ted

Here is 11 if you don't feel like going through the whole thing :

        11      miscellaneous hardware exception  (sigh)
------------------------------------------------------------------------------

     Macintosh  Error  Codes

 
General System Errors
        -1      queue element not found during deletion
        -2      invalid queue element
        -3      core routine number out of range
        -4      unimplemented core routine
        
I/O System Errors 
        -17     control
        -18     status
        -19     read
        -20     write
        -21     bad unit
        -22     unit empty
        -23     open
        -24     close
        -25     tried to remove an open driver
        -26     couldn't find driver in resources
        -27     I/O call aborted by KillIO
        -28     driver not opened
 
File System Errors
        -33     directory full
        -34     disk full
        -35     no such volume
        -36     I/O error
        -37     bad name
        -38     file not open
        -39     end of file
        -40     position error (before start of file)
        -41     memory full (open) or file won't fit (load)
        -42     too many files open
        -43     file not found
        -44     diskette write protected
        -45     file locked
        -46     volume locked
        -47     file busy (delete)
        -48     duplicate filename (rename)
        -49     file already open with write permission
        -50     user parameter list
        -51     refnum
        -52     get file position
        -53     volume not online (was ejected)
        -54     permissions (on file open)
        -55     volume already online at MountVol
        -56     no such drive
        -57     not a Mac diskette
        -58     volume belongs to an external fs
        -59     file system deep sQt:
                        during rename old entry was deleted but
                        could not be restored
        -60     bad master directory block
        -61     write permissions
Disk, Serial Ports, Clock Specific Errors
        -64     drive not installed
        -65     r/w requested for an offline drive
        -66     couldn't find 5 nibbles in 200 tries
        -67     couldn't find valid address mark
        -68     read verify compare failed
        -69     addr mark checksum didn't check
        -70     bad addr mark bit slip nibbles
        -71     couldn't find a data mark header
        -72     bad data mark checksum
        -73     bad data mark bit slip nibbles
        -74     write underrun
        -75     step handshake failed
        -76     track 0 detect doesn't change
        -77     unable to initialize IWM
        -78     tried to read 2nd side on a single sided drive
        -79     unable to correctly adjust disk speed
        -80     track number wrong on address mark
        -81     sector number never found on a track
        -85     unable to read same clock value twice
        -86     time written did not verify
        -87     parameter ram written didn't read/verify
        -88     InitUtil found the parameter ram uninitialized
        -89     SCC receiver (framing, parity, OR)
        -90     break received (SCC)
 
Scrap Manager Errors 
        -100    no scrap exists
        -102    no object of that type in scrap
 
Storage Allocator Errors
        -108    not enough room in heap zone
        -109    handle was NIL in HandleZone or other
        -111    WhichZone failed (applied to free block)
        -112    trying to purge a locked or non-purgable block
        -110    address was odd or out of range
        -113    address in zone check failed
        -114    pointer check failed
        -115    block check failed
        -116    size check failed
 
Resource Manager Errors (other than I/O)
        -192    resource not found
        -193    resource file not found
        -194    AddResource failed
        -195    AddReference failed
        -196    RmveResource failed
        -197    RmveReference failed
Application Errors 
                errors -1024 to -4095 are reserved for use by 
                        the current application
 
Deep S--t Alert ID 
        32767   general system error

Traps
          1       bus
          2       address
          3       illegal instruction
          4       zero divide
          5       check trap
          6       overflow trap
          7       privilege violation
          8       trace mode
          9       line 1010 trap
        10      line 1111 trap
        11      miscellaneous hardware exception
        12      unimplemented core routine
        13      uninstalled interrupt
        14      I/O core
        15      segment loader
        16      floating point
        17      package 0 not present
        18      package 1 not present
        19      package 2 not present
        20      package 3 not present
        21      package 4 not present
        22      package 5 not present
        23      package 6 not present
        24      package 7 not present
        25      out of memory
        26      can't launch file
        28      stack has moved into application heap
        27      file system map has been trashed
        30      request user to reinsert offline volume
        31      not the disk I wanted
-- 
-------------------------------------------------------------------------------
Ted Nolan                   ...decvax!mcnc!ncsu!ncrcae!usceast!ted  (UUCP)
6536 Brookside Circle       ...akgua!usceast!ted
Columbia, SC 29206          allegra!usceast!ted@seismo (ARPA, maybe)

      ("Deep space is my dwelling place, the stars my destination")
-------------------------------------------------------------------------------