]> www.infradead.org Git - users/dhowells/kafs-utils.git/commitdiff
Import error tables
authorDavid Howells <dhowells@redhat.com>
Fri, 16 Oct 2020 08:03:00 +0000 (09:03 +0100)
committerDavid Howells <dhowells@redhat.com>
Fri, 5 May 2023 10:53:26 +0000 (11:53 +0100)
Import useful standard error tables from http://registrar.central.org/

Signed-off-by: David Howells <dhowells@redhat.com>
28 files changed:
errors/AB.et [new file with mode: 0644]
errors/AC.et [new file with mode: 0644]
errors/ACFG.et [new file with mode: 0644]
errors/AF.et [new file with mode: 0644]
errors/AK.et [new file with mode: 0644]
errors/AL.et [new file with mode: 0644]
errors/AM.et [new file with mode: 0644]
errors/AP.et [new file with mode: 0644]
errors/AU.et [new file with mode: 0644]
errors/AV.et [new file with mode: 0644]
errors/AVds.et [new file with mode: 0644]
errors/BUCD.et [new file with mode: 0644]
errors/BUDB.et [new file with mode: 0644]
errors/BUTC.et [new file with mode: 0644]
errors/BUTM.et [new file with mode: 0644]
errors/BUTX.et [new file with mode: 0644]
errors/BZ.et [new file with mode: 0644]
errors/CMD.et [new file with mode: 0644]
errors/KA.et [new file with mode: 0644]
errors/KTC.et [new file with mode: 0644]
errors/PT.et [new file with mode: 0644]
errors/RKS.et [new file with mode: 0644]
errors/RXK.et [new file with mode: 0644]
errors/U.et [new file with mode: 0644]
errors/VL.et [new file with mode: 0644]
errors/VOLS.et [new file with mode: 0644]
errors/ZCM.et [new file with mode: 0644]
errors/xFil.et [new file with mode: 0644]

diff --git a/errors/AB.et b/errors/AB.et
new file mode 100644 (file)
index 0000000..7b0afa6
--- /dev/null
@@ -0,0 +1,61 @@
+# NOT A SOURCE FILE - DO NOT EDIT
+# This file is automatically generated from the error code registration
+# database maintained by the AFS Assigned Numbers Registrar.  To register
+# a new code or obtain the latest list, plase visit
+# http://grand.central.org/numbers/et/AB.html
+
+# admin tools bos error codes
+error_table AB
+  ec ADMBOSSERVERNAMENULL,             "the bos server name cannot be NULL"
+  ec ADMBOSSERVERHANDLEPNULL,          "the bos server handle cannot be NULL"
+  ec ADMBOSSERVERHANDLENULL,           "the bos server handle cannot be NULL"
+  ec ADMBOSSERVERHANDLEBADMAGIC,       "the bos server handle failed to pass the magic number test.  Most likely the server handle is invalid, or has been overwritten by mistake."
+  ec ADMBOSSERVERHANDLEINVALID,        "the bos server handle is invalid"
+  ec ADMBOSSERVERHANDLENOSERVER,       "the bos server handle does not reference a valid server"
+  ec ADMBOSSERVERNOCONNECTION,         "unable to establish a connection with the specified bos server machine"
+  ec ADMBOSPROCESSNAMENULL,            "the process name cannot be NULL"
+  ec ADMBOSPROCESSNULL,                "the process cannot be NULL"
+  ec ADMBOSCRONTIMENULL,               "the cron time cannot be NULL when creating a process of type cron"
+  ec ADMBOSCRONTIMENOTNULL,            "the cron time must be NULL when creating a process of type fs or simple"
+  ec ADMBOSPROCESSSTATUSPNULL,         "the process status cannot be NULL"
+  ec ADMBOSPROCESSTYPEPNULL,           "the process type cannot be NULL"
+  ec ADMBOSPROCESSINFOPNULL,           "the process information cannot be NULL"
+  ec ADMBOSPARAMETERNULL,              "the parameter cannot be NULL"
+  ec ADMBOSNOTIFIERNULL,               "the notifier cannot be NULL"
+  ec ADMBOSADMINNAMENULL,              "the administrator name cannot be NULL"
+  ec ADMBOSKEYNULL,                    "the key cannot be NULL"
+  ec ADMBOSKEYPNULL,                   "the key cannot be NULL"
+  ec ADMBOSHOSTNAMENULL,               "the host name cannot be NULL"
+  ec ADMBOSSOURCEFILENULL,             "the source file cannot be NULL"
+  ec ADMBOSDESTFILENULL,               "the destination file cannot be NULL"
+  ec ADMBOSNEWTIMENULL,                "the new time cannot be NULL"
+  ec ADMBOSOLDTIMENULL,                "the old time cannot be NULL"
+  ec ADMBOSBAKTIMENULL,                "the backup time cannot be NULL"
+  ec ADMBOSTIMEPNULL,                  "the restart time cannot be NULL"
+  ec ADMBOSLOGNULL,                    "the log name cannot be NULL"
+  ec ADMBOSLOGBUFFERSIZEPNULL,         "the log buffer size cannot be NULL"
+  ec ADMBOSLOGDATANULL,                "the log data buffer cannot be NULL"
+  ec ADMBOSCOMMANDNULL,                "the command cannot be NULL"
+  ec ADMBOSAUXILIARYPROCESSSTATUSNULL, "the auxiliary process status cannot be NULL"
+  ec ADMBOSPROCESSSTATUSSET,           "the process status is invalid.  You can only set a process state to BOS_PROCESS_STOPPED or BOS_PROCESS_RUNNING"
+  ec ADMBOSINVALIDPROCESSTYPE,         "the process type retrieved from the bos server was invalid."
+  ec ADMBOSCANTOPENSOURCEFILE,         "the executable source file could not be opened for reading."
+  ec ADMBOSCANTSTATSOURCEFILE,         "unable to determine the size of the executable source file"
+  ec ADMBOSCANTREADSOURCEFILE,         "the executable source file could not be read."
+  ec ADMBOSSENDSOURCEFILE,             "an error occurred transmitting the contents of the executable source file to the bos server."
+  ec ADMBOSEXECFILENULL,               "the executable source file cannot be NULL."
+  ec ADMBOSHOURINVALID,                "the hour member of the time parameter must be between 0 and 23."
+  ec ADMBOSMINUTEINVALID,              "the minute member of the time parameter must be between 0 and 60."
+  ec ADMBOSSECONDINVALID,              "the second member of the time parameter must be between 0 and 60."
+  ec ADMBOSDAYINVALID,                 "the day member of the time parameter must be between 0 and 6."
+  ec ADMBOSLOGFILEERROR,               "unable to successfully read log file."
+  ec ADMBOSCELLHANDLENOTOKENS,         "the cell handle does not contain a valid token."
+  ec ADMBOSCELLHANDLENOVOS,            "the cell handle is not valid for vos requests."
+  ec ADMBOSSALVAGEVOLUME,              "a parition must be specified when salvaging a volume ."
+  ec ADMBOSSALVAGEBADLOG,              "the log file could not be opened for writing."
+  ec ADMBOSSALVAGEBADOPTIONS,          "the resulting salvage command is too long to pass to the bos server."
+  ec ADMBOSPROCESSCREATEBADTYPE,       "bos_ProcessCreate can't create fs processes, use bos_FSProcessCreate instead."
+  ec ADMBOSFILESERVERPATHNULL,         "the file server executable path cannot be NULL."
+  ec ADMBOSVOLSERVERPATHNULL,          "the volume server executable path cannot be NULL."
+  ec ADMBOSSALVAGERPATHNULL,           "the salvager executable path cannot be NULL."
+end
diff --git a/errors/AC.et b/errors/AC.et
new file mode 100644 (file)
index 0000000..ed19fbe
--- /dev/null
@@ -0,0 +1,37 @@
+# NOT A SOURCE FILE - DO NOT EDIT
+# This file is automatically generated from the error code registration
+# database maintained by the AFS Assigned Numbers Registrar.  To register
+# a new code or obtain the latest list, plase visit
+# http://grand.central.org/numbers/et/AC.html
+
+# admin tools common error codes
+error_table AC
+  ec ADMNOMEM,                    "couldn't allocate memory necessary to fulfill request"
+  ec ADMNOPRIV,                   "insufficient privilege to complete operation"
+  ec ADMMUTEXINIT,                "failed to initialize a mutex"
+  ec ADMMUTEXLOCK,                "failed to lock a mutex"
+  ec ADMMUTEXUNLOCK,              "failed to unlock a mutex"
+  ec ADMMUTEXDESTROY,             "failed to destroy a mutex"
+  ec ADMCONDINIT,                 "failed to initialize a condition variable"
+  ec ADMCONDWAIT,                 "failed to wait on a condition variable"
+  ec ADMCONDDESTROY,              "failed to destroy a condition variable"
+  ec ADMCONDSIGNAL,               "failed to signal a condition variable"
+  ec ADMTHREADATTRINIT,           "failed to initialize a thread attribute"
+  ec ADMTHREADATTRSETDETACHSTATE, "failed to set thread detach state"
+  ec ADMTHREADCREATE,             "failed to create a thread"
+  ec ADMTHREADJOIN,               "failed to join a thread"
+  ec ADMITERATORTERMINATED,       "the iterator has been marked terminated (most likely by calling done).  Next cannot be called after calling done."
+  ec ADMITERATORDONE,             "the iterator has been marked completed."
+  ec ADMITERATORNULL,             "the iterator parameter cannot be NULL."
+  ec ADMITERATORRPCSPECIFICNULL,  "the rpc specific data parameter cannot be NULL."
+  ec ADMITERATORBADMAGICNULL,     "the iterator parameter failed to pass the magic number test.  Most likely the iterator is invalid, or has been overwritten by mistake."
+  ec ADMITERATORINVALID,          "the iterator parameter is marked invalid"
+  ec ADMITERATIONIDPNULL,         "the iterator parameter cannot be NULL nor can it point to NULL"
+  ec ADMSERVERNAMENULL,           "the server name parameter cannot be NULL"
+  ec ADMSERVERADDRESSNULL,        "the server address parameter cannot be NULL"
+  ec ADMCANTGETSERVERNAME,        "the server name parameter cannot translated to an address"
+  ec ADMCANTGETLOCALNAME,         "unable to determine the name of the local host"
+  ec ADMMOREDATA,                 "more data is available"
+  ec ADMSOCKFAIL,                 "failed to create a socket"
+  ec ADMTYPEINVALID,              "the server type is invalid"
+end
diff --git a/errors/ACFG.et b/errors/ACFG.et
new file mode 100644 (file)
index 0000000..e4b9872
--- /dev/null
@@ -0,0 +1,16 @@
+# NOT A SOURCE FILE - DO NOT EDIT
+# This file is automatically generated from the error code registration
+# database maintained by the AFS Assigned Numbers Registrar.  To register
+# a new code or obtain the latest list, plase visit
+# http://grand.central.org/numbers/et/ACFG.html
+
+# AFS config package error codes
+error_table ACFG
+  ec AFSCONF_FAILURE,         "mysterious failure"
+  ec AFSCONF_NOTFOUND,        "could not find entry"
+  ec AFSCONF_UNKNOWN,         "do not know that information"
+  ec AFSCONF_NOCELL,          "line appears before a cell has been defined"
+  ec AFSCONF_SYNTAX,          "syntax error"
+  ec AFSCONF_NODB,            "a database file is missing"
+  ec AFSCONF_FULL,            "no more entries"
+end
diff --git a/errors/AF.et b/errors/AF.et
new file mode 100644 (file)
index 0000000..656a39b
--- /dev/null
@@ -0,0 +1,86 @@
+# NOT A SOURCE FILE - DO NOT EDIT
+# This file is automatically generated from the error code registration
+# database maintained by the AFS Assigned Numbers Registrar.  To register
+# a new code or obtain the latest list, plase visit
+# http://grand.central.org/numbers/et/AF.html
+
+# admin tools config error codes
+error_table AF
+  ec ADMCFGNOTSUPPORTED,                 "the specified configuration option is not yet supported"
+  ec ADMCFGHOSTNAMENULL,                 "the host name parameter cannot be NULL"
+  ec ADMCFGHOSTNAMETOOLONG,              "the host name parameter exceeds the maximum allowed length"
+  ec ADMCFGHOSTHANDLEPNULL,              "the host handle reference parameter cannot be NULL"
+  ec ADMCFGHOSTHANDLENULL,               "the host handle parameter cannot be NULL"
+  ec ADMCFGHOSTHANDLEBADMAGIC,           "the host handle parameter failed the magic number test; the handle is invalid or corrupted"
+  ec ADMCFGHOSTHANDLEINVALID,            "the host handle parameter is marked as invalid"
+  ec ADMCFGHOSTHANDLEHOSTNAMENULL,       "the host handle parameter contains a NULL host name reference"
+  ec ADMCFGHOSTHANDLECELLHANDLENULL,     "the host handle parameter contains a NULL cell handle"
+  ec ADMCFGHOSTHANDLECELLNAMENULL,       "the host handle parameter contains a NULL cell name reference"
+  ec ADMCFGADMINPRINCIPALNULL,           "the administrator principal parameter cannot be NULL"
+  ec ADMCFGADMINPRINCIPALTOOLONG,        "the administrator principal parameter exceeds the maximum allowed length"
+  ec ADMCFGPASSWDNULL,                   "the password parameter cannot be an empty string"
+  ec ADMCFGCONFIGSTATUSPNULL,            "the configuration status reference parameter cannot be NULL"
+  ec ADMCFGCELLNAMEPNULL,                "the cell name reference parameter cannot be NULL"
+  ec ADMCFGSERVERBASICINFOINVALID,       "the minimally required server configuration information is missing, unreadable, or invalid"
+  ec ADMCFGSERVERNOTINCELL,              "the server is not configured in any cell"
+  ec ADMCFGSERVERNOKEYS,                 "the server does not have any keys"
+  ec ADMCFGSERVERCELLNOTINDB,            "the server's cell is not listed in the server's cell database"
+  ec ADMCFGSERVERCELLHASNODBENTRIES,     "the server's cell database contains no database server entries for the server's cell"
+  ec ADMCFGCELLNAMENULL,                 "the cell name parameter cannot be NULL"
+  ec ADMCFGCELLNAMETOOLONG,              "the cell name parameter exceeds the maximum allowed length"
+  ec ADMCFGCELLNAMECONFLICT,             "the cell name parameter conflicts with the cell name contained in the host handle parameter"
+  ec ADMCFGCELLDBHOSTSNULL,              "the database hosts parameter cannot be NULL"
+  ec ADMCFGCELLDBHOSTCOUNTTOOLARGE,      "the database hosts parameter contains too many host names"
+  ec ADMCFGSERVERSETCELLFAILED,          "unable to set the server cell information; most likely cause is an unknown database host name"
+  ec ADMCFGBOSSERVERACTIVE,              "the bosserver process is currently running on the server host"
+  ec ADMCFGVPTABLEPNULL,                 "the vice partition table reference parameter cannot be NULL"
+  ec ADMCFGVPTABLECOUNTPNULL,            "the vice partition table entry count reference parameter cannot be NULL"
+  ec ADMCFGVPTABLEREADFAILED,            "unable to read the vice partition table"
+  ec ADMCFGPARTITIONNAMENULL,            "the partition name parameter cannot be NULL"
+  ec ADMCFGPARTITIONNAMEBAD,             "the partition name parameter syntax is invalid"
+  ec ADMCFGDEVICENAMENULL,               "the device name parameter cannot be NULL"
+  ec ADMCFGDEVICENAMEBAD,                "the device name parameter syntax is invalid"
+  ec ADMCFGVPTABLEENTRYBAD,              "the vice partition table entry is invalid"
+  ec ADMCFGVPTABLEWRITEFAILED,           "unable to write to the vice partition table"
+  ec ADMCFGVALIDFLAGPNULL,               "the valid flag reference parameter cannot be NULL"
+  ec ADMCFGINSTALLEDFLAGPNULL,           "the installed flag reference parameter cannot be NULL"
+  ec ADMCFGVERSIONPNULL,                 "the version number reference parameter cannot be NULL"
+  ec ADMCFGSTARTEDFLAGPNULL,             "the started flag reference parameter cannot be NULL"
+  ec ADMCFGCLIENTBASICINFOINVALID,       "the minimally required client configuration information is missing, unreadable, or invalid"
+  ec ADMCFGCLIENTNOTINCELL,              "the client is not configured in any cell"
+  ec ADMCFGCLIENTCELLNOTINDB,            "the client's cell is not listed in the client's cell database"
+  ec ADMCFGCLIENTCELLHASNODBENTRIES,     "the client's cell database contains no database server entries for the client's cell"
+  ec ADMCFGCLIENTVERSIONNOTREAD,         "unable to determine which version of the AFS client is installed"
+  ec ADMCFGCLIENTCELLSERVDBNOTREAD,      "unable to read the client's cell database"
+  ec ADMCFGCLIENTCELLSERVDBNOTWRITTEN,   "unable to update the client's cell database"
+  ec ADMCFGCLIENTCELLSERVDBNOSPACE,      "the client's cell database contains the maximum number of entries for the specified cell; a new database host can not be added"
+  ec ADMCFGCLIENTCELLSERVDBEDITFAILED,   "failed to edit client's cell database"
+  ec ADMCFGCLIENTTHISCELLNOTWRITTEN,     "unable to set the client's current cell"
+  ec ADMCFGBOSSERVERCTLSERVICEBAD,       "the AFS bosserver control service is not configured or is improperly configured"
+  ec ADMCFGBOSSERVERCTLSERVICENOTREADY,  "the AFS bosserver control service is not prepared to accept a control request or is not responding"
+  ec ADMCFGBOSSERVERCTLSERVICETIMEOUT,   "timed out waiting for the AFS bosserver control service to start or stop"
+  ec ADMCFGBOSSERVERCTLSERVICESTATUSUNK, "cannot determine the status of the AFS bosserver control service"
+  ec ADMCFGHOSTSETNOAUTHFAILED,          "failed to set or clear the AFS server authentication flag"
+  ec ADMCFGBOSSERVERPROCSFLAGPNULL,      "the bosserver-processes flag reference parameter cannot be NULL"
+  ec ADMCFGDBSERVERCONFIGFLAGPNULL,      "the database-servers-configured flag reference parameter cannot be NULL"
+  ec ADMCFGFILESERVERCONFIGFLAGPNULL,    "the fileserver-configured flag reference parameter cannot be NULL"
+  ec ADMCFGUPSERVERCONFIGFLAGPNULL,      "the upserver-configured flag reference parameter cannot be NULL"
+  ec ADMCFGUPCLIENTSUFFIXNULL,           "the update client instance suffix cannot be NULL"
+  ec ADMCFGUPCLIENTSUFFIXTOOLONG,        "the update client instance suffix exceeds the maximum allowed length"
+  ec ADMCFGUPCLIENTTARGETSERVERNULL,     "the update client's target server name cannot be NULL"
+  ec ADMCFGUPCLIENTIMPORTDIRNULL,        "the update client's import directory list cannot be NULL"
+  ec ADMCFGUPCLIENTCONFIGFLAGPNULL,      "the upclient-configured flag reference parameter cannot be NULL"
+  ec ADMCFGUBIKVOTENOCONNECTION,         "unable to establish a connection with the specified Ubik voting service on the specified host"
+  ec ADMCFGQUORUMWAITTIMEOUT,            "timed out waiting for one or more database servers to achieve quorum; common causes are time skew between database server machines and network connectivity problems"
+  ec ADMCFGCELLSERVDBTOOMANYENTRIES,     "the server's cell database contains too many database server entries"
+  ec ADMCFGCALLBACKNULL,                 "the callback parameter cannot be NULL"
+  ec ADMCFGUPDATECOUNTNULL,              "the update count reference parameter cannot be NULL"
+  ec ADMCFGAFSKEYNOTAVAILABLE,           "the AFS server principal (afs) key can not be obtained from pre 3.5 database servers"
+  ec ADMCFGAFSPASSWDINVALID,             "the specified AFS server principal (afs) password is invalid; the password generates a key that fails a checksum comparison with the current AFS server principal (afs) key"
+  ec ADMCFGCANTRESOLVEHOSTNAME,          "the resolver is unable to retrieve host information from the default host database"
+  ec ADMCFGRESOLVEDHOSTNAMETOOLONG,      "the specfied host name resolves to a fully qualified name that exceeds the maximum allowed length"
+  ec ADMCFGCACHEMGRSERVICEBAD,           "the AFS client service is not configured or is improperly configured"
+  ec ADMCFGCACHEMGRSERVICENOTREADY,      "the AFS client service is not prepared to accept a control request or is not responding"
+  ec ADMCFGCACHEMGRSERVICETIMEOUT,       "timed out waiting for the AFS client service to start or stop"
+  ec ADMCFGCACHEMGRSERVICESTATUSUNK,     "cannot determine the status of the AFS client service"
+end
diff --git a/errors/AK.et b/errors/AK.et
new file mode 100644 (file)
index 0000000..eb566ac
--- /dev/null
@@ -0,0 +1,35 @@
+# NOT A SOURCE FILE - DO NOT EDIT
+# This file is automatically generated from the error code registration
+# database maintained by the AFS Assigned Numbers Registrar.  To register
+# a new code or obtain the latest list, plase visit
+# http://grand.central.org/numbers/et/AK.html
+
+# admin tools kas error codes
+error_table AK
+  ec ADMKASSERVERHANDLENULL,                 "the server handle parameter cannot be NULL"
+  ec ADMKASSERVERHANDLEBADMAGIC,             "the server handle parameter failed to pass the magic number test.  Most likely the server handle is invalid, or has been overwritten by mistake."
+  ec ADMKASSERVERHANDLENOTVALID,             "the server handle parameter is marked invalid"
+  ec ADMKASSERVERHANDLENOSERVERS,            "the server handle parameter contains no servers"
+  ec ADMKASCELLHANDLEANDSERVERHANDLENULL,    "the cell handle and the server handle parameter cannot both be NULL"
+  ec ADMKASCELLHANDLEANDSERVERHANDLENOTNULL, "the cell handle and the server handle parameter cannot both be non-NULL"
+  ec ADMKASKASHANDLENULL,                    "the authentication server handle parameter cannot be NULL"
+  ec ADMKASFROMNULL,                         "the from parameter cannot be NULL"
+  ec ADMKASTONULL,                           "the to parameter cannot be NULL"
+  ec ADMKASSERVERLISTNULL,                   "the server list parameter cannot be NULL"
+  ec ADMKASSERVERLISTTOOLONG,                "the server list parameter contains too many servers"
+  ec ADMKASSERVERHANDLEPNULL,                "the server handle parameter cannot be NULL nor can it point to NULL"
+  ec ADMKASWHONULL,                          "the who parameter cannot be NULL"
+  ec ADMKASPASSWORDNULL,                     "the password parameter cannot be NULL"
+  ec ADMKASKASERVERNULL,                     "the authentication server parameter cannot be NULL"
+  ec ADMKASLOCKEDUNTILNULL,                  "the locked until parameter cannot be NULL"
+  ec ADMKASPRINCIPALNULL,                    "the principal parameter cannot be NULL"
+  ec ADMKASKEYNULL,                          "the key parameter cannot be NULL"
+  ec ADMKASLOCKENDTIMEPNULL,                 "the lock end time parameter cannot be NULL"
+  ec ADMKASPASSWORDEXPIRESTOOBIG,            "the password expires parameter cannot be greater than 255"
+  ec ADMKASFAILEDPASSWORDATTEMPTSTOOBIG,     "the failed password attempts parameter cannot be greater than 255"
+  ec ADMKASFAILEDPASSWORDLOCKTIME,           "the failed password lock time parameter cannot be greater than 129600"
+  ec ADMKASSTATSNULL,                        "the stats parameter cannot be NULL"
+  ec ADMKASDEBUGNULL,                        "the debug parameter cannot be NULL"
+  ec ADMKASSERVERLISTEMPTY,                  "the server list parameter didn't contain any servers"
+  ec ADMKASPRINCIPALFIELDSNOCHANGE,          "at least one principal field to set must be specified"
+end
diff --git a/errors/AL.et b/errors/AL.et
new file mode 100644 (file)
index 0000000..a44827a
--- /dev/null
@@ -0,0 +1,46 @@
+# NOT A SOURCE FILE - DO NOT EDIT
+# This file is automatically generated from the error code registration
+# database maintained by the AFS Assigned Numbers Registrar.  To register
+# a new code or obtain the latest list, plase visit
+# http://grand.central.org/numbers/et/AL.html
+
+# admin tools client error codes
+error_table AL
+  ec ADMCLIENTCELLHANDLENULL,        "the cell handle parameter cannot be NULL"
+  ec ADMCLIENTCELLHANDLEPNULL,       "the cell handle reference parameter cannot be NULL"
+  ec ADMCLIENTCELLHANDLEBADMAGIC,    "the server handle parameter failed to pass the magic number test.  Most likely the server handle is invalid, or has been overwritten by mistake."
+  ec ADMCLIENTCELLINVALID,           "the cell handle is not valid."
+  ec ADMCLIENTCELLKASINVALID,        "the cell handle is not valid for authentication server requests"
+  ec ADMCLIENTCELLKASNULL,           "the cell handle authentication server pointer is NULL"
+  ec ADMCLIENTCELLPTSINVALID,        "the cell handle is not valid for protection server requests"
+  ec ADMCLIENTCELLPTSNULL,           "the cell handle protection server pointer is NULL"
+  ec ADMCLIENTCELLVOSINVALID,        "the cell handle is not valid for volume server requests"
+  ec ADMCLIENTCELLVOSNULL,           "the cell handle volume server pointer is NULL"
+  ec ADMCLIENTCELLNAMENULL,          "the cell name parameter cannot be NULL"
+  ec ADMCLIENTTOKENHANDLENULL,       "the token handle parameter cannot be NULL"
+  ec ADMCLIENTTOKENHANDLEINVALID,    "the token handle is invalid"
+  ec ADMCLIENTTOKENHANDLEBADMAGIC,   "the token handle parameter failed to pass the magic number test.  Most likely the token handle is invalid, or has been overwritten by mistake"
+  ec ADMCLIENTTOKENHANDLENOSECURITY, "failed to create a new client security object for the token handle"
+  ec ADMCLIENTCANTINITAFSLOCATION,   "unable to locate the location of AFS install"
+  ec ADMCLIENTCANTINITRX,            "unable to initialize the AFS rpc component"
+  ec ADMCLIENTCANTINITWINSOCK,       "unable to initialize the windows socket component"
+  ec ADMCLIENTNOINIT,                "afsclient_Init must be called before calling any other afsclient function"
+  ec ADMCLIENTBADCLIENTCONFIG,       "an error occurred while trying to access the local client configuration information"
+  ec ADMCLIENTBADTOKENHANDLE,        "the token handle was marked as containing valid tokens, but the actual tokens were invalid"
+  ec ADMCLIENTCELLOPENBADTOKEN,      "the token handle must contain valid afs tokens for the cell"
+  ec ADMCLIENTDIRECTORYNULL,         "the directory parameter cannot be NULL"
+  ec ADMCLIENTVOLUMENAME,            "the volume name parameter cannot be NULL"
+  ec ADMCLIENTBADDIRECTORY,          "unable to determine the parent of the given directory"
+  ec ADMCLIENTNOAFSDIRECTORY,        "the directory is not in AFS"
+  ec ADMCLIENTNOMATCHINGSERVER,      "the server did not match any known AFS servers"
+  ec ADMCLIENTRPCSTATHANDLEPNULL,    "the rpc stat handle cannot be NULL"
+  ec ADMCLIENTNOKASTOKENS,           "the cell handle does not contain kas tokens"
+  ec ADMCLIENTRPCSTATNOCONNECTION,   "there is no connection to the server"
+  ec ADMCLIENTCMSTATHANDLEPNULL,     "the client stat handle cannot be NULL"
+  ec ADMCLIENTCMSTATNOCONNECTION,    "there is no connection to the client"
+  ec ADMCLIENTCMCELLNAMENULL,        "the cell name pointer cannot be NULL"
+  ec ADMCLIENTCMCONFIGNULL,          "the client configuration pointer cannot be NULL"
+  ec ADMCLIENTRXDEBUGHANDLEPNULL,    "the rxdebug handle cannot be NULL"
+  ec ADMCLIENTRXDEBUGTIMEOUT,        "the rxdebug request timed out"
+  ec ADMCLIENTRXDEBUGNOTSUPPORTED,   "the rxdebug request is not supported"
+end
diff --git a/errors/AM.et b/errors/AM.et
new file mode 100644 (file)
index 0000000..82238d3
--- /dev/null
@@ -0,0 +1,13 @@
+# NOT A SOURCE FILE - DO NOT EDIT
+# This file is automatically generated from the error code registration
+# database maintained by the AFS Assigned Numbers Registrar.  To register
+# a new code or obtain the latest list, plase visit
+# http://grand.central.org/numbers/et/AM.html
+
+# admin tools misc error codes
+error_table AM
+  ec ADMMISCDIRECTORYNULL,    "the directory parameter cannot be NULL."
+  ec ADMMISCUSERNULL,         "the user parameter cannot be NULL."
+  ec ADMMISCACLNULL,          "the acl parameter cannot be NULL."
+  ec ADMMISCNODFSACL,         "this interface does not support changing DFS acls."
+end
diff --git a/errors/AP.et b/errors/AP.et
new file mode 100644 (file)
index 0000000..9fe0838
--- /dev/null
@@ -0,0 +1,37 @@
+# NOT A SOURCE FILE - DO NOT EDIT
+# This file is automatically generated from the error code registration
+# database maintained by the AFS Assigned Numbers Registrar.  To register
+# a new code or obtain the latest list, plase visit
+# http://grand.central.org/numbers/et/AP.html
+
+# admin tools pts error codes
+error_table AP
+  ec ADMPTSSERVERNULL,              "the protection server parameter cannot be NULL"
+  ec ADMPTSUSERNAMENULL,            "the user name parameter cannot be NULL"
+  ec ADMPTSUSERNAMETOOLONG,         "the user name parameter is too long"
+  ec ADMPTSGROUPNAMENULL,           "the group name parameter cannot be NULL"
+  ec ADMPTSGROUPNAMETOOLONG,        "the group name parameter is too long"
+  ec ADMPTSFAILEDNAMETRANSLATE,     "failed to translate a name to an identifier"
+  ec ADMPTSNEWOWNERNULL,            "the new owner parameter cannot be NULL"
+  ec ADMPTSNEWOWNERTOOLONG,         "the new owner parameter is too long"
+  ec ADMPTSNEWGROUPNULL,            "the new group parameter cannot be NULL"
+  ec ADMPTSNEWGROUPIDPOSITIVE,      "the new group id parameter cannot be positive"
+  ec ADMPTSTARGETGROUPNULL,         "the target group parameter cannot be NULL"
+  ec ADMPTSTARGETGROUPTOOLONG,      "the target group parameter is too long"
+  ec ADMPTSGROUPPNULL,              "the group parameter cannot be NULL"
+  ec ADMPTSGROUPMEMEXCEEDED,        "the group membership list is longer than the maximum retrievable"
+  ec ADMPTSMEMBERNAMENULL,          "the member name parameter cannot be NULL"
+  ec ADMPTSOLDNAMENULL,             "the old name parameter cannot be NULL"
+  ec ADMPTSOLDNAMETOOLONG,          "the old name is too long"
+  ec ADMPTSNEWNAMENULL,             "the new name parameter cannot be NULL"
+  ec ADMPTSNEWNAMETOOLONG,          "the new name is too long"
+  ec ADMPTSINVALIDGROUPDELETEPERM,  "PTS_GROUP_ANYUSER_ACCESS is an invalid value for the list delete parameter"
+  ec ADMPTSINVALIDGROUPSOWNEDPERM,  "PTS_GROUP_OWNER_ACCESS is an invalid value for the list groups owned parameter"
+  ec ADMPTSINVALIDGROUPSOWNEDPERM2, "PTS_USER_ANYUSER_ACCESS is an invalid value for the list groups owned parameter"
+  ec ADMPTSNEWENTRYPNULL,           "the new entry parameter cannot be NULL"
+  ec ADMPTSUSERPNULL,               "the user parameter cannot be NULL"
+  ec ADMPTSNEWGROUPIDNULL,          "the new group id parameter cannot be NULL"
+  ec ADMPTSMAXGROUPIDNULL,          "the maximum group id parameter cannot be NULL"
+  ec ADMPTSNEWUSERIDNULL,           "the new user id parameter cannot be NULL"
+  ec ADMPTSMAXUSERIDNULL,           "the maximum user id parameter cannot be NULL"
+end
diff --git a/errors/AU.et b/errors/AU.et
new file mode 100644 (file)
index 0000000..b27ba70
--- /dev/null
@@ -0,0 +1,25 @@
+# NOT A SOURCE FILE - DO NOT EDIT
+# This file is automatically generated from the error code registration
+# database maintained by the AFS Assigned Numbers Registrar.  To register
+# a new code or obtain the latest list, plase visit
+# http://grand.central.org/numbers/et/AU.html
+
+# admin tools utility error codes
+error_table AU
+  ec ADMUTILSERVERENTRYPNULL,   "the server entry parameter cannot be NULL"
+  ec ADMUTILSERVERNAMENULL,     "the server name parameter cannot be NULL"
+  ec ADMUTILSERVERADDRESSNULL,  "the server address parameter cannot be NULL"
+  ec ADMUTILSERVERADDRESSPNULL, "the server address parameter cannot be NULL"
+  ec ADMUTILCANTGETSERVERNAME,  "the server name parameter cannot translated to an address"
+  ec ADMUTILCANTOPENCELLSERVDB, "failed to open the client CellServDB file"
+  ec ADMUTILERRORTEXTPNULL,     "the error text parameter cannot be NULL"
+  ec ADMUTILCELLNAMENULL,       "the cell name parameter cannot be NULL"
+  ec ADMRXCONNNULL,             "the rx connection parameter cannot be NULL"
+  ec ADMRPCPTRNULL,             "the rpc function parameter cannot be NULL"
+  ec ADMUTILRPCSTATSNULL,       "the rpc stats parameter cannot be NULL"
+  ec ADMRPCSTATENULL,           "the state parameter cannot be NULL"
+  ec ADMRPCVERSIONNULL,         "the rpc version parameter cannot be NULL"
+  ec ADMRXDEBUGHANDLENULL,      "the rxdebug handle parameter cannot be null"
+  ec ADMRXDEBUGVERSIONNULL,     "the rxdebug version parameter cannot be null"
+  ec ADMRXDEBUGSTATSNULL,       "the rxdebug stats parameter cannot be null"
+end
diff --git a/errors/AV.et b/errors/AV.et
new file mode 100644 (file)
index 0000000..aa0d64c
--- /dev/null
@@ -0,0 +1,64 @@
+# NOT A SOURCE FILE - DO NOT EDIT
+# This file is automatically generated from the error code registration
+# database maintained by the AFS Assigned Numbers Registrar.  To register
+# a new code or obtain the latest list, plase visit
+# http://grand.central.org/numbers/et/AV.html
+
+# admin tools vos error codes
+error_table AV
+  ec ADMVOSSERVERNULL,                   "the volume server parameter cannot be NULL"
+  ec ADMVOSCELLHANDLENULL,               "the cell handle parameter cannot be NULL"
+  ec ADMVOSCELLHANDLEBADMAGIC,           "the cell handle parameter failed to pass the magic number test.  Most likely the cell handle is invalid, or has been overwritten by mistake."
+  ec ADMVOSCELLHANDLEINVALID,            "the cell handle parameter is marked as invalid."
+  ec ADMVOSCELLHANDLEINVALIDVOS,         "the cell handle parameter is marked as invalid for volume server requests."
+  ec ADMVOSCELLHANDLENOAFSTOKENS,        "the cell handle does not contain valid AFS tokens."
+  ec ADMVOSMUSTBERWVOL,                  "the volume identifier parameter must be a read write volume in order to make a backup volume."
+  ec ADMVOSBACKUPVOLWRONGSERVER,         "a backup volume already exists for volume identifier, but it exists on a server different from the one that holds volumeidentifier."
+  ec ADMVOSSERVERHANDLENULL,             "the server handle parameter cannot be NULL"
+  ec ADMVOSSERVERHANDLEINVALID,          "the server handle parameter is marked as invalid"
+  ec ADMVOSSERVERHANDLEBADMAGIC,         "the server handle parameter failed the magic number test.  Most likely the server handle is invalid, or has been overwritten by mistake."
+  ec ADMVOSSERVERNOCONNECTION,           "a connection with the server could not be established."
+  ec ADMVOSPARTITIONPNULL,               "the partition parameter cannot be NULL"
+  ec ADMVOSPARTITIONTOOLARGE,            "the partition parameter is too large"
+  ec ADMVOSVOLUMENAMETOOLONG,            "the volume name parameter is too long"
+  ec ADMVOSVOLUMENAMENULL,               "the volume name parameter cannot be NULL"
+  ec ADMVOSVOLUMENAMEINVALID,            "the volume name parameter cannot end with .readonly or .backup"
+  ec ADMVOSVOLUMEID,                     "the volume identifier parameter cannot be NULL"
+  ec ADMVOSVOLUMEIDTOOBIG,               "the volume identifier parameter cannot exceed VOLMAXPARTS"
+  ec ADMVOSVOLUMENOEXIST,                "the volume identifier does not exist on the specified server and partition"
+  ec ADMVOSVOLUMENAMEDUP,                "the volume name is already in use."
+  ec ADMVOSPARTITIONNAMENULL,            "the partition name parameter cannot be NULL"
+  ec ADMVOSPARTITIONNAMEINVALID,         "the partition name parameter must start with /vicep"
+  ec ADMVOSPARTITIONNAMETOOLONG,         "the partition name parameter is too long."
+  ec ADMVOSPARTITIONNAMETOOSHORT,        "the partition name parameter is too short."
+  ec ADMVOSPARTITIONNAMENOTLOWER,        "the partition name parameter must be all lower case letters."
+  ec ADMVOSPARTITIONIDNULL,              "the partition identifier parameter cannot be NULL"
+  ec ADMVOSPARTITIONIDTOOLARGE,          "the resulting partition identifier exceeds VOLMAXPARTS"
+  ec ADMVOSEXCLUDEREQUIRESPREFIX,        "the volume prefix parameter cannot be NULL when the exclude prefix is VOS_EXCLUDE"
+  ec ADMVOSSERVERADDRESSPNULL,           "the server address parameter cannot be NULL"
+  ec ADMVOSSERVERENTRYPNULL,             "the server entry parameter cannot be NULL"
+  ec ADMVOSSERVERTRANSACTIONSTATUSPNULL, "the server transaction status parameter cannot be NULL"
+  ec ADMVOSVLDBENTRYNULL,                "the vldb entry parameter cannot be NULL"
+  ec ADMVOSVLDBDELETEALLNULL,            "at least one of the arguments must not be null - server handle, partition, volume identifier."
+  ec ADMVOSNEWVOLUMENAMENULL,            "the new volume name parameter cannot be NULL"
+  ec ADMVOSSERVERANDPARTITION,           "both the server handle and the paritiion parameters must be specified."
+  ec ADMVOSDUMPFILENULL,                 "the dump file parameter cannot be NULL"
+  ec ADMVOSDUMPFILEWRITEFAIL,            "an error occurred while trying to write more data to the dump file"
+  ec ADMVOSDUMPFILEOPENFAIL,             "an error occurred while trying to open dump file"
+  ec ADMVOSRESTOREVOLEXIST,              "the volume to be restored exists on a server different from the one specified and you specified an incremental restore.  If you wish to restore this volume, specify a full restore."
+  ec ADMVOSRESTOREFILEOPENFAIL,          "an error occurred while trying open restore file"
+  ec ADMVOSRESTOREFILECLOSEFAIL,         "an error occurred while trying close restore file"
+  ec ADMVOSRESTOREFILEREADFAIL,          "an error occurred while trying read the restore file"
+  ec ADMVOSRESTOREFILEWRITEFAIL,         "an error occurred while trying send the contents of the restore file"
+  ec ADMVOSRESTOREVOLUMENAMETOOBIG,      "the volume name is too big"
+  ec ADMVOSVOLUMENAMEANDVOLUMEIDNULL,    "either the volume name or the volume identifier parameter must not be NULL"
+  ec ADMVOSVOLUMEPNULL,                  "the volume parameter cannot be NULL"
+  ec ADMVOSVOLUMEMOVERWONLY,             "only read write volumes can be moved"
+  ec ADMVOSVOLUMERELEASERWONLY,          "only read write volumes can be released"
+  ec ADMVOSVOLUMENOREPLICAS,             "only replicated volumes can be released"
+  ec ADMVOSVOLUMENOREADWRITE,            "unable to create a backup volume because no read write volume exists"
+  ec ADMVOSVLDBBADENTRY,                 "unable to create a backup volume because the vldb entry is invalid"
+  ec ADMVOSVLDBBADSERVER,                "unable to get server's address from vldb"
+  ec ADMVOSVLDBDIFFERENTADDR,            "skipping volume since read write is in a different location"
+  ec ADMVOSVLDBNOENTRIES,                "there were no entries in the vldb retrieved."
+end
diff --git a/errors/AVds.et b/errors/AVds.et
new file mode 100644 (file)
index 0000000..3f21250
--- /dev/null
@@ -0,0 +1,17 @@
+# NOT A SOURCE FILE - DO NOT EDIT
+# This file is automatically generated from the error code registration
+# database maintained by the AFS Assigned Numbers Registrar.  To register
+# a new code or obtain the latest list, plase visit
+# http://grand.central.org/numbers/et/AVds.html
+
+# volume dump scanner error codes
+error_table AVds
+  ec DSERR_TAG,               "Unknown tag in AFS volume dump"
+  ec DSERR_MAGIC,             "Bad magic number in AFS volume dump"
+  ec DSERR_BOGUS,             "Bogus value in AFS volume dump"
+  ec DSERR_FMT,               "AFS volume dump format incorrect"
+  ec DSERR_KEEP,              "[AFS dumpscan internal: keep string]"
+  ec DSERR_PANIC,             "[AFS dumpscan internal: panic]"
+  ec DSERR_DONE,              "[AFS dumpscan internal: done]"
+  ec DSERR_MEM,               "[AFS dumpscan internal: out of memory]"
+end
diff --git a/errors/BUCD.et b/errors/BUCD.et
new file mode 100644 (file)
index 0000000..73cd4ab
--- /dev/null
@@ -0,0 +1,25 @@
+# NOT A SOURCE FILE - DO NOT EDIT
+# This file is automatically generated from the error code registration
+# database maintained by the AFS Assigned Numbers Registrar.  To register
+# a new code or obtain the latest list, plase visit
+# http://grand.central.org/numbers/et/BUCD.html
+
+# AFS backup coordinator error codes
+error_table BUCD
+  ec BC_BADARG,               "Unacceptable user supplied argument"
+  ec BC_VERSIONMISMATCH,      "Object has been updated"
+  ec BC_NOTUNIQUE,            "Search matched more than one item"
+  ec BC_NOMEM,                "Can't allocate working memory"
+  ec BC_NOCELLCONFIG,         "Can't get cell configuration information"
+  ec BC_EXISTS,               "Specified item already exists"
+  ec BC_CONFIGERR,            "Error in configuration parameters"
+  ec BC_NOVOLSET,             "No such volume set"
+  ec BC_NOVOLENTRY,           "No such volume entry"
+  ec BC_VOLSETEXISTS,         "Volume set already exists"
+  ec BC_NOHOST,               "No such server"
+  ec BC_NOPARTITION,          "No such partition"
+  ec BC_VERSIONFAIL,          "Version number mismatch"
+  ec BC_NOTLOCKED,            "Lock has not been acquired"
+  ec BC_INTERNALERROR,        "Internal error"
+  ec BC_NOHOSTENTRY,          "No such host/port entry"
+end
diff --git a/errors/BUDB.et b/errors/BUDB.et
new file mode 100644 (file)
index 0000000..9142148
--- /dev/null
@@ -0,0 +1,41 @@
+# NOT A SOURCE FILE - DO NOT EDIT
+# This file is automatically generated from the error code registration
+# database maintained by the AFS Assigned Numbers Registrar.  To register
+# a new code or obtain the latest list, plase visit
+# http://grand.central.org/numbers/et/BUDB.html
+
+# AFS backup database error codes
+error_table BUDB
+  ec BUDB_DUMPIDEXISTS,         "dump with specified id already exists"
+  ec BUDB_NODUMPID,             "no dump matching the id was found"
+  ec BUDB_NODUMPNAME,           "no dump matching the name was found"
+  ec BUDB_NOTAPENAME,           "no tape matching the name was found"
+  ec BUDB_NOVOLUMENAME,         "no volume matching the name was found"
+  ec BUDB_NOENT,                "entry doesn't exist"
+  ec BUDB_TAPENOTINUSE,         "reference to a tape not being used"
+  ec BUDB_DUMPFAILED,           "dump of database failed"
+  ec BUDB_NOTPERMITTED,         "access to database denied"
+  ec BUDB_VERSIONMISMATCH,      "incompatible version numbers"
+  ec BUDB_BADARGUMENT,          "argument too long or out of range"
+  ec BUDB_BADPROTOCOL,          "sequence of operations incorrect"
+  ec BUDB_BADFLAGS,             "inconsistent or unsupported flags bit combination"
+  ec BUDB_LIST2BIG,             "requested list too large"
+  ec BUDB_ENDOFLIST,            "index to iterator function is out of range"
+  ec BUDB_BLOCKTYPE,            "bad database block type"
+  ec BUDB_NOTLOCKED,            "lock is not set"
+  ec BUDB_LOCKED,               "lock is held by another user"
+  ec BUDB_SELFLOCKED,           "attempt to lock a lock already held"
+  ec BUDB_OLDINTERFACE,         "interface incompatible"
+  ec BUDB_IO,                   "Ubik I/O error"
+  ec BUDB_ADDR,                 "bad database address"
+  ec BUDB_DATABASEINCONSISTENT, "backup database is inconsistent"
+  ec BUDB_INTERNALERROR,        "internal error encountered in backup database server"
+  ec BUDB_NOCELLS,              "error reading cell database"
+  ec BUDB_NOCELL,               "cell name not found"
+  ec BUDB_EMPTY,                "database empty or corrupted"
+  ec BUDB_UBIKINIT,             "Ubik ClientInit failed"
+  ec BUDB_ALLOCFAIL,            "couldn't allocate entry"
+  ec BUDB_NOMEM,                "can't allocate memory"
+  ec BUDB_NOTINITIALDUMP,       "dump is not an initial dump"
+  ec BUDB_DUMPNOTINUSE,         "reference to a dump not being used"
+end
diff --git a/errors/BUTC.et b/errors/BUTC.et
new file mode 100644 (file)
index 0000000..ece248a
--- /dev/null
@@ -0,0 +1,31 @@
+# NOT A SOURCE FILE - DO NOT EDIT
+# This file is automatically generated from the error code registration
+# database maintained by the AFS Assigned Numbers Registrar.  To register
+# a new code or obtain the latest list, plase visit
+# http://grand.central.org/numbers/et/BUTC.html
+
+# AFS backup tape controller error codes
+error_table BUTC
+  ec TC_DUMPERROR,            "error in dump/restore process "
+  ec TC_FORCEDABORT,          "ungraceful abort "
+  ec TC_ABORTED,              "the process has already been aborted"
+  ec TC_WORKINPROGRESS,       "unable to end dump/restore since work in progress"
+  ec TC_INCOMPLETEDUMP,       "some of the dump/restores were unsuccessful"
+  ec TC_ABORTFAILED,          "could not abort the process "
+  ec TC_ABORTEDBYREQUEST,     "the process was aborted by request"
+  ec TC_SCANFAILURE,          "scan tape resulted in failure"
+  ec TC_NODENOTFOUND,         "No dump task with specified ID"
+  ec TC_NOTASKS,              "No tasks active"
+  ec TC_VOLUMENOTONTAPE,      "the volume was not found on tape"
+  ec TC_PREMATUREEOF,         "unexpected EOF encountered on tape"
+  ec TC_MISSINGTRAILER,       "missing file trailer on tape"
+  ec TC_WRONGTAPE,            "unexpected tape label"
+  ec TC_TAPEUNUSABLE,         "tape was unusable"
+  ec TC_BADVOLHEADER,         "corrupted volume header on tape"
+  ec TC_INTERNALERROR,        "internal error"
+  ec TC_BADQUEUE,             "corruption in internal queue data structures"
+  ec TC_NOMEMORY,             "memory allocation failure"
+  ec TC_NOTPERMITTED,         "access denied"
+  ec TC_SKIPTAPE,             "tape requested to be skipped"
+  ec TC_BADTASK,              "invalid task"
+end
diff --git a/errors/BUTM.et b/errors/BUTM.et
new file mode 100644 (file)
index 0000000..5fcf701
--- /dev/null
@@ -0,0 +1,30 @@
+# NOT A SOURCE FILE - DO NOT EDIT
+# This file is automatically generated from the error code registration
+# database maintained by the AFS Assigned Numbers Registrar.  To register
+# a new code or obtain the latest list, plase visit
+# http://grand.central.org/numbers/et/BUTM.html
+
+# AFS backup tape module error codes
+error_table BUTM
+  ec BUTM_OLDINTERFACE,       "interface incompatible"
+  ec BUTM_NOMOUNT,            "there is not an opened tape"
+  ec BUTM_PARALLELMOUNTS,     "multiple simultaneous opens not permitted"
+  ec BUTM_MOUNTFAIL,          "can't open tape"
+  ec BUTM_DISMOUNTFAIL,       "error during tape close"
+  ec BUTM_IO,                 "tape I/O error"
+  ec BUTM_READONLY,           "write operation on read-only tape"
+  ec BUTM_BADOP,              "operation inappropriate in this context"
+  ec BUTM_SHORTREAD,          "read file ended before all data read"
+  ec BUTM_SHORTWRITE,         "write a zero length file"
+  ec BUTM_EOT,                "end of tape"
+  ec BUTM_BADCONFIG,          "problem reading configuration"
+  ec BUTM_BADARGUMENT,        "argument too long or out of range"
+  ec BUTM_ENDVOLUME,          "unexpected end of volume data"
+  ec BUTM_LABEL,              "appended tape label"
+  ec BUTM_EOD,                "end of dump"
+  ec BUTM_IOCTL,              "tape device error"
+  ec BUTM_EOF,                "end-of-file marker"
+  ec BUTM_BADBLOCK,           "unexpected tape datablock"
+  ec BUTM_NOLABEL,            "no label on tape"
+  ec BUTM_POSITION,           "cannot position within the file"
+end
diff --git a/errors/BUTX.et b/errors/BUTX.et
new file mode 100644 (file)
index 0000000..26cd36f
--- /dev/null
@@ -0,0 +1,40 @@
+# NOT A SOURCE FILE - DO NOT EDIT
+# This file is automatically generated from the error code registration
+# database maintained by the AFS Assigned Numbers Registrar.  To register
+# a new code or obtain the latest list, plase visit
+# http://grand.central.org/numbers/et/BUTX.html
+
+# AFS backup system XBSA error codes
+error_table BUTX
+  ec BUTX_RCSID,               "Version 1"
+  ec BUTX_NOLIBRARY,           "XBSA couldn't mount shared library"
+  ec BUTX_ILLEGALINIT,         "XBSA handle already initialized"
+  ec BUTX_INVALIDSERVERTYPE,   "XBSA invalid serverType specified"
+  ec BUTX_INVALIDSERVERNAME,   "XBSA invalid serverName specified"
+  ec BUTX_INVALIDBSANAME,      "XBSA invalid bsaObjectOwner specified"
+  ec BUTX_INVALIDAPPNAME,      "XBSA invalid appObjectOwner specified"
+  ec BUTX_INVALIDSECTOKEN,     "XBSA invalid secToken specified"
+  ec BUTX_INVALIDOBJECTSPNAME, "XBSA invalid objectSpaceName specified"
+  ec BUTX_INVALIDPATHNAME,     "XBSA invalid pathName specified"
+  ec BUTX_INVALIDBUFFERSIZE,   "XBSA invalid bufferSize specified"
+  ec BUTX_INVALIDDATABUFFER,   "XBSA invalid dataBuffer specified"
+  ec BUTX_INVALIDLGNAME,       "XBSA invalid lGName specified"
+  ec BUTX_INVALIDOBJDESC,      "XBSA invalid objectDescription specified"
+  ec BUTX_INVALIDOBJINFO,      "XBSA invalid objectInfo specified"
+  ec BUTX_INVALIDVERSION,      "XBSA version mismatch"
+  ec BUTX_MOUNTLIBRARYFAIL,    "XBSA unable to mount the XBSA library"
+  ec BUTX_INITFAIL,            "XBSA initialization of the XBSA interface failed"
+  ec BUTX_BEGINTXNFAIL,        "XBSA begin transaction failed"
+  ec BUTX_NOHANDLE,            "XBSA has not been initialized, no handle"
+  ec BUTX_ENDTXNFAIL,          "XBSA end transaction failed"
+  ec BUTX_TERMFAIL,            "XBSA terminate session failed"
+  ec BUTX_QUERYFAIL,           "XBSA query object failed"
+  ec BUTX_GETOBJFAIL,          "XBSA get object failed"
+  ec BUTX_ENDDATAFAIL,         "XBSA end data failed"
+  ec BUTX_CREATEOBJFAIL,       "XBSA create object failed"
+  ec BUTX_DELETEOBJFAIL,       "XBSA delete object failed"
+  ec BUTX_SENDDATAFAIL,        "XBSA send data failed"
+  ec BUTX_GETDATAFAIL,         "XBSA get data failed"
+  ec BUTX_GETENVFAIL,          "XBSA get environment failed"
+  ec BUTX_DELETENOVOL,         "XBSA volume to delete not found"
+end
diff --git a/errors/BZ.et b/errors/BZ.et
new file mode 100644 (file)
index 0000000..f8185d1
--- /dev/null
@@ -0,0 +1,22 @@
+# NOT A SOURCE FILE - DO NOT EDIT
+# This file is automatically generated from the error code registration
+# database maintained by the AFS Assigned Numbers Registrar.  To register
+# a new code or obtain the latest list, plase visit
+# http://grand.central.org/numbers/et/BZ.html
+
+# basic overseer error codes
+error_table BZ
+  ec BZNOTACTIVE,             "process not active"
+  ec BZNOENT,                 "no such entity"
+  ec BZBUSY,                  "can't do operation now"
+  ec BZEXISTS,                "entity already exists"
+  ec BZNOCREATE,              "failed to create entity"
+  ec BZDOM,                   "index out of range"
+  ec BZACCESS,                "you are not authorized for this operation"
+  ec BZSYNTAX,                "syntax error in create parameter"
+  ec BZIO,                    "I/O error"
+  ec BZNET,                   "network problem"
+  ec BZBADTYPE,               "unrecognized bnode type"
+  ec BZKEYINUSE,              "kvno already used - have to remove existing kvno's before reuse"
+  ec BZENCREQ,                "this function requires encrypted input, use a newer client program"
+end
diff --git a/errors/CMD.et b/errors/CMD.et
new file mode 100644 (file)
index 0000000..8cec1f2
--- /dev/null
@@ -0,0 +1,19 @@
+# NOT A SOURCE FILE - DO NOT EDIT
+# This file is automatically generated from the error code registration
+# database maintained by the AFS Assigned Numbers Registrar.  To register
+# a new code or obtain the latest list, plase visit
+# http://grand.central.org/numbers/et/CMD.html
+
+# AFS command library error codes
+error_table CMD
+  ec CMD_EXCESSPARMS,         "More than the maximum number of parameters defined"
+  ec CMD_INTERNALERROR,       "Internal parsing error"
+  ec CMD_NOTLIST,             "Too many values specified after a CMD_SINGLE switch"
+  ec CMD_TOOMANY,             "Too many parameters specified"
+  ec CMD_USAGE,               "Impossibly few aguments specified"
+  ec CMD_UNKNOWNCMD,          "unrecognized or ambiguous command name"
+  ec CMD_UNKNOWNSWITCH,       "unrecognized or ambiguous switch name"
+  ec CMD_AMBIG,               "<unused>"
+  ec CMD_TOOFEW,              "Insufficient required parameters provided"
+  ec CMD_TOOBIG,              "Token too large"
+end
diff --git a/errors/KA.et b/errors/KA.et
new file mode 100644 (file)
index 0000000..54db380
--- /dev/null
@@ -0,0 +1,52 @@
+# NOT A SOURCE FILE - DO NOT EDIT
+# This file is automatically generated from the error code registration
+# database maintained by the AFS Assigned Numbers Registrar.  To register
+# a new code or obtain the latest list, plase visit
+# http://grand.central.org/numbers/et/KA.html
+
+# kaserver error codes
+error_table KA
+  ec KADATABASEINCONSISTENT,  "AuthServer database is inconsistent"
+  ec KAEXIST,                 "user already exists"
+  ec KAIO,                    "Ubik I/O error"
+  ec KACREATEFAIL,            "couldn't allocate entry"
+  ec KANOENT,                 "user doesn't exist"
+  ec KAEMPTY,                 "database empty or corrupted"
+  ec KABADNAME,               "name or instance is too long or contains illegal characters"
+  ec KABADINDEX,              "bad index used internally"
+  ec KANOAUTH,                "caller not authorized"
+  ec KAANSWERTOOLONG,         "answer packet too short for result"
+  ec KABADREQUEST,            "request packet in error"
+  ec KAOLDINTERFACE,          "interface incompatible"
+  ec KABADARGUMENT,           "argument out of range"
+  ec KABADCMD,                "administrative command called incorrectly"
+  ec KANOKEYS,                "can't create session key"
+  ec KAREADPW,                "can't read password from terminal"
+  ec KABADKEY,                "illegal key: bad parity or weak"
+  ec KAUBIKINIT,              "Ubik ClientInit failed"
+  ec KAUBIKCALL,              "Ubik Call failed"
+  ec KABADPROTOCOL,           "AuthServer returned incorrect response"
+  ec KANOCELLS,               "error reading cell database"
+  ec KANOCELL,                "cell name not found"
+  ec KATOOMANYUBIKS,          "too many Ubik security objects outstanding"
+  ec KATOOMANYKEYS,           "too many keys were passed to the server's security object"
+  ec KABADTICKET,             "authentication server was passed a bad ticket"
+  ec KAUNKNOWNKEY,            "unknown key version number"
+  ec KAKEYCACHEINVALID,       "key cache invalidated by some key change"
+  ec KABADSERVER,             "may not issue ticket for server"
+  ec KABADUSER,               "may not authenticate as this user"
+  ec KABADCPW,                "may not change your key"
+  ec KABADCREATE,             "not allowed to create associate"
+  ec KANOTICKET,              "can't find suitable ticket"
+  ec KAASSOCUSER,             "operation not allowed for associate user"
+  ec KANOTSPECIAL,            "not a special AuthServer principal"
+  ec KACLOCKSKEW,             "server and client clocks are badly skewed"
+  ec KANORECURSE,             "not allowed to recursively call set_password from get_time"
+  ec KARXFAIL,                "Rx failed for some reason"
+  ec KANULLPASSWORD,          "zero length password is illegal"
+  ec KAINTERNALERROR,         "internal error encountered in kaserver"
+  ec KAPWEXPIRED,             "password has expired (KAPWEXPIRED)"
+  ec KAREUSED,                "it seems like a reused password (KAREUSED)"
+  ec KATOOSOON,               "you changed it too recently; see your systems administrator (KATOOSOON)"
+  ec KALOCKED,                "ID is locked - see your system admin (KALOCKED)"
+end
diff --git a/errors/KTC.et b/errors/KTC.et
new file mode 100644 (file)
index 0000000..6b7d84a
--- /dev/null
@@ -0,0 +1,19 @@
+# NOT A SOURCE FILE - DO NOT EDIT
+# This file is automatically generated from the error code registration
+# database maintained by the AFS Assigned Numbers Registrar.  To register
+# a new code or obtain the latest list, plase visit
+# http://grand.central.org/numbers/et/KTC.html
+
+# kernel token cache error codes
+error_table KTC
+  ec KTC_ERROR,               "an unexpected error was encountered"
+  ec KTC_TOOBIG,              "a buffer was too small for the response"
+  ec KTC_INVAL,               "an invalid argument was passed in"
+  ec KTC_NOENT,               "no such entry"
+  ec KTC_PIOCTLFAIL,          "a pioctl failed"
+  ec KTC_NOPIOCTL,            "AFS kernel pioctl doesn't exist"
+  ec KTC_NOCELL,              "unknown cell was passed to SetToken"
+  ec KTC_NOCM,                "Cache Manager is not initialized / afsd is not running"
+  ec KTC_RPC,                 "failed to send or receive session key via remote procedure call"
+  ec KTC_NOCMRPC,             "Cache Manager RPC server is not responding"
+end
diff --git a/errors/PT.et b/errors/PT.et
new file mode 100644 (file)
index 0000000..d64b856
--- /dev/null
@@ -0,0 +1,26 @@
+# NOT A SOURCE FILE - DO NOT EDIT
+# This file is automatically generated from the error code registration
+# database maintained by the AFS Assigned Numbers Registrar.  To register
+# a new code or obtain the latest list, plase visit
+# http://grand.central.org/numbers/et/PT.html
+
+# protection server error codes
+error_table PT
+  ec PREXIST,                 "Entry for name already exists"
+  ec PRIDEXIST,               "Entry for id already exists"
+  ec PRNOIDS,                 "Couldn't allocate an id for this entry"
+  ec PRDBFAIL,                "Couldn't read/write the database"
+  ec PRNOENT,                 "User or group doesn't exist"
+  ec PRPERM,                  "Permission denied"
+  ec PRNOTGROUP,              "No group specified"
+  ec PRNOTUSER,               "No user specified"
+  ec PRBADNAM,                "Badly formed name (group prefix doesn't match owner?)"
+  ec PRBADARG,                "argument illegal or out of range"
+  ec PRNOMORE,                "may not create more groups"
+  ec PRDBBAD,                 "database needs rebuilding"
+  ec PRGROUPEMPTY,            "can't make owner an empty group"
+  ec PRINCONSISTENT,          "database is inconsistent"
+  ec PRDBADDR,                "bad database address"
+  ec PRTOOMANY,               "too many elements in group"
+  ec PRNOMEM,                 "malloc failed to alloc enough memory"
+end
diff --git a/errors/RKS.et b/errors/RKS.et
new file mode 100644 (file)
index 0000000..ae2e112
--- /dev/null
@@ -0,0 +1,27 @@
+# NOT A SOURCE FILE - DO NOT EDIT
+# This file is automatically generated from the error code registration
+# database maintained by the AFS Assigned Numbers Registrar.  To register
+# a new code or obtain the latest list, plase visit
+# http://grand.central.org/numbers/et/RKS.html
+
+# rxkad stress test error codes
+error_table RKS
+  ec RXKST_PROCESSCREATED,    "process created, not yet started"
+  ec RXKST_PROCESSRUNNING,    "process running, no error"
+  ec RXKST_BADARGS,           "arguments illegal or inconsistent"
+  ec RXKST_BADINPUTSUM,       "incorrect input checksum"
+  ec RXKST_BADOUTPUTSUM,      "incorrect output checksum"
+  ec RXKST_READSHORT,         "unexpected number of bytes returned by rx_Read"
+  ec RXKST_WRITESHORT,        "unexpected number of bytes sent by rx_Write"
+  ec RXKST_UNAUTH,            "connection unauthenticated"
+  ec RXKST_BADKVNO,           "unknown key version number"
+  ec RXKST_BADCLIENT,         "incorrect client name/instance/cell"
+  ec RXKST_INCFAILED,         "increment operation produced wrong value"
+  ec RXKST_TIMESKEW,          "clock on client and server too far apart"
+  ec RXKST_NEWCONNFAILED,     "couldn't make a new connection"
+  ec RXKST_BADCALLNUMBERS,    "connection has unexpected call numbers"
+  ec RXKST_NODUPLICATECALL,   "failed to detect duplicate call"
+  ec RXKST_NOBADCKSUM,        "failed to detect bad cksum"
+  ec RXKST_NOCONNERROR,       "whole connection is not in error"
+  ec RXKST_CHALLENGEORACLE,   "idle connection is acting as a challenge oracle"
+end
diff --git a/errors/RXK.et b/errors/RXK.et
new file mode 100644 (file)
index 0000000..65f1a78
--- /dev/null
@@ -0,0 +1,22 @@
+# NOT A SOURCE FILE - DO NOT EDIT
+# This file is automatically generated from the error code registration
+# database maintained by the AFS Assigned Numbers Registrar.  To register
+# a new code or obtain the latest list, plase visit
+# http://grand.central.org/numbers/et/RXK.html
+
+# rxkad error codes
+error_table RXK
+  ec RXKADINCONSISTENCY,      "Security module structure inconsistent"
+  ec RXKADPACKETSHORT,        "Packet too short for security challenge"
+  ec RXKADLEVELFAIL,          "Security level negotiation failed"
+  ec RXKADTICKETLEN,          "Ticket length too long or too short"
+  ec RXKADOUTOFSEQUENCE,      "packet had bad sequence number"
+  ec RXKADNOAUTH,             "caller not authorized"
+  ec RXKADBADKEY,             "illegal key: bad parity or weak"
+  ec RXKADBADTICKET,          "security object was passed a bad ticket"
+  ec RXKADUNKNOWNKEY,         "ticket contained unknown key version number"
+  ec RXKADEXPIRED,            "authentication expired"
+  ec RXKADSEALEDINCON,        "sealed data inconsistent"
+  ec RXKADDATALEN,            "user data too long"
+  ec RXKADILLEGALLEVEL,       "caller not authorized to use encrypted connections"
+end
diff --git a/errors/U.et b/errors/U.et
new file mode 100644 (file)
index 0000000..dbe69b4
--- /dev/null
@@ -0,0 +1,47 @@
+# NOT A SOURCE FILE - DO NOT EDIT
+# This file is automatically generated from the error code registration
+# database maintained by the AFS Assigned Numbers Registrar.  To register
+# a new code or obtain the latest list, plase visit
+# http://grand.central.org/numbers/et/U.html
+
+# ubik error codes
+error_table U
+  ec UNOQUORUM,               "no quorum elected"
+  ec UNOTSYNC,                "not synchronization site (should work on sync site)"
+  ec UNHOSTS,                 "too many hosts"
+  ec UIOERROR,                "I/O error writing dbase or log"
+  ec UINTERNAL,               "mysterious internal error"
+  ec USYNC,                   "major synchronization error"
+  ec UNOENT,                  "file not found when processing dbase"
+  ec UBADLOCK,                "bad lock range size (must be 1)"
+  ec UBADLOG,                 "read error reprocessing log"
+  ec UBADHOST,                "problems with host name"
+  ec UBADTYPE,                "bad operation for this transaction type"
+  ec UTWOENDS,                "two commits or aborts done to transaction"
+  ec UDONE,                   "operation done after abort (or commmit)"
+  ec UNOSERVERS,              "no servers appear to be up"
+  ec UEOF,                    "premature EOF"
+  ec ULOGIO,                  "error writing log file"
+  ec UBADFAM,                 "unsupported address family -- bogus error"
+  ec UBADCELL,                "inconsistent cell name -- bogus error"
+  ec UBADSECGRP,              "security group bad or missing -- bogus error"
+  ec UBADGROUP,               "server group name bad or missing -- bogus error"
+  ec UBADUUID,                "server uuid bad or missing -- bogus error"
+  ec UNOMEM,                  "memory allocation failure -- bogus error"
+  ec UNOTMEMBER,              "host not a member of server group -- bogus error"
+  ec UNBINDINGS,              "too many bindings per server -- bogus error"
+  ec UBADPRINNAME,            "inconsistent principal name from binding -- bogus error"
+  ec UPIPE,                   "I/O error in ubik pipe -- bogus error"
+  ec UDEADLOCK,               "operation aborted to prevent dead lock (two sync sites?)"
+  ec UEXCEPTION,              "rpc runtime exception caught -- bogus error"
+  ec UTPQFAIL,                "vote thread pool queue operation failed -- bogus error"
+  ec USKEWED,                 "clock skew among servers too high -- bogus error"
+  ec UNOLOCK,                 "repeatedly failed to obtain ubik lock -- bogus error"
+  ec UNOACCESS,               "permission denied for attempted operation -- bogus error"
+  ec UNOSPC,                  "no space left on database device -- bogus error"
+  ec UBADPATH,                "invalid DB pathname -- bogus error"
+  ec UBADF,                   "bad file descriptor -- bogus error"
+  ec UREINITIALIZE,           "Reinitialize called before initialize"
+  ec UMUTEXINIT,              "failed to initialize per client mutex"
+  ec UMUTEXDESTROY,           "failed to destroy per client mutex"
+end
diff --git a/errors/VL.et b/errors/VL.et
new file mode 100644 (file)
index 0000000..0c9e225
--- /dev/null
@@ -0,0 +1,41 @@
+# NOT A SOURCE FILE - DO NOT EDIT
+# This file is automatically generated from the error code registration
+# database maintained by the AFS Assigned Numbers Registrar.  To register
+# a new code or obtain the latest list, plase visit
+# http://grand.central.org/numbers/et/VL.html
+
+# volume location server error codes
+error_table VL
+  ec VL_IDEXIST,              "Volume Id entry exists in vl database"
+  ec VL_IO,                   "I/O related error"
+  ec VL_NAMEEXIST,            "Volume name entry exists in vl database"
+  ec VL_CREATEFAIL,           "Internal creation failure"
+  ec VL_NOENT,                "No such entry"
+  ec VL_EMPTY,                "Vl database is empty"
+  ec VL_ENTDELETED,           "Entry is deleted (soft delete)"
+  ec VL_BADNAME,              "Volume name is illegal"
+  ec VL_BADINDEX,             "Index is out of range"
+  ec VL_BADVOLTYPE,           "Bad volume type"
+  ec VL_BADSERVER,            "Illegal server number (out of range)"
+  ec VL_BADPARTITION,         "Bad partition number"
+  ec VL_REPSFULL,             "Run out of space for Replication sites"
+  ec VL_NOREPSERVER,          "No such Replication server site exists"
+  ec VL_DUPREPSERVER,         "Replication site already exists"
+  ec VL_RWNOTFOUND,           "Parent R/W entry not found"
+  ec VL_BADREFCOUNT,          "Illegal Reference Count number"
+  ec VL_SIZEEXCEEDED,         "Vl size for attributes exceeded"
+  ec VL_BADENTRY,             "Bad incoming vl entry"
+  ec VL_BADVOLIDBUMP,         "Illegal max volid increment"
+  ec VL_IDALREADYHASHED,      "RO/BACK id already hashed"
+  ec VL_ENTRYLOCKED,          "Vl entry is already locked"
+  ec VL_BADVOLOPER,           "Bad volume operation code"
+  ec VL_BADRELLOCKTYPE,       "Bad release lock type"
+  ec VL_RERELEASE,            "Status report: last release was aborted"
+  ec VL_BADSERVERFLAG,        "Invalid replication site server flag"
+  ec VL_PERM,                 "No permission access"
+  ec VL_NOMEM,                "malloc(realloc) failed to alloc enough memory"
+  ec VL_BADVERSION,           "Wrong vldb version"
+  ec VL_INDEXERANGE,          "Index out of range"
+  ec VL_MULTIPADDR,           "Servers have the same ip address"
+  ec VL_BADMASK,              "Illegal attribute mask value"
+end
diff --git a/errors/VOLS.et b/errors/VOLS.et
new file mode 100644 (file)
index 0000000..a31c163
--- /dev/null
@@ -0,0 +1,27 @@
+# NOT A SOURCE FILE - DO NOT EDIT
+# This file is automatically generated from the error code registration
+# database maintained by the AFS Assigned Numbers Registrar.  To register
+# a new code or obtain the latest list, plase visit
+# http://grand.central.org/numbers/et/VOLS.html
+
+# volume management server error codes
+error_table VOLS
+  ec VOLSERTRELE_ERROR,       "internal error releasing transaction"
+  ec VOLSERNO_OP,             "unknown internal error"
+  ec VOLSERREAD_DUMPERROR,    "badly formatted dump"
+  ec VOLSERDUMPERROR,         "badly formatted dump(2)"
+  ec VOLSERATTACH_ERROR,      "could not attach volume"
+  ec VOLSERILLEGAL_PARTITION, "illegal partition"
+  ec VOLSERDETACH_ERROR,      "could not detach volume"
+  ec VOLSERBAD_ACCESS,        "insufficient privilege for volume operation"
+  ec VOLSERVLDB_ERROR,        "error from volume location database"
+  ec VOLSERBADNAME,           "bad volume name"
+  ec VOLSERVOLMOVED,          "volume moved"
+  ec VOLSERBADOP,             "illegal volume operation"
+  ec VOLSERBADRELEASE,        "volume release failed"
+  ec VOLSERVOLBUSY,           "volume still in use by volserver"
+  ec VOLSERNO_MEMORY,         "out of virtual memory in volserver"
+  ec VOLSERNOVOL,             "no such volume"
+  ec VOLSERMULTIRWVOL,        "more than one read/write volume"
+  ec VOLSERFAILEDOP,          "failed volume server operation"
+end
diff --git a/errors/ZCM.et b/errors/ZCM.et
new file mode 100644 (file)
index 0000000..f62bac5
--- /dev/null
@@ -0,0 +1,160 @@
+# NOT A SOURCE FILE - DO NOT EDIT
+# This file is automatically generated from the error code registration
+# database maintained by the AFS Assigned Numbers Registrar.  To register
+# a new code or obtain the latest list, plase visit
+# http://grand.central.org/numbers/et/ZCM.html
+
+# cache manager trace error codes
+error_table ZCM
+  ec CM_TRACE_NULL,                   "dummy"
+  ec CM_TRACE_PAGEIN,                 "getapage vp 0x%lx off (0x%x, 0x%x) len  0x%x rw=0x%x"
+  ec CM_TRACE_PAGEINDONE,             "getapage done code 0x%x pg 0x%lx (0x%x)"
+  ec CM_TRACE_PAGEOUT,                "putpage vp 0x%lx off (0x%x, 0x%x) len 0x%x flags=0x%x"
+  ec CM_TRACE_PAGEOUTDONE,            "putpage done code 0x%x #dirty 0x%x"
+  ec CM_TRACE_PAGEOUTONE,             "putApage vp 0x%lx pag 0x%lx len 0x%x off (0x%x, 0x%x)"
+  ec CM_TRACE_VMRW,                   "vmrw vp 0x%lx, write=0x%x, off=(0x%x, 0x%x), len=(0x%x, 0x%x)"
+  ec CM_TRACE_STRATEGYDONE,           "strategy done vp 0x%lx code 0x%x left 0x%x"
+  ec CM_TRACE_FLUSHV,                 "flushv vp 0x%lx states 0x%x"
+  ec CM_TRACE_GETDOWND,               "getdownd vp 0x%lx skip 0x%x index %d coff (0x%x, 0x%x)"
+  ec CM_TRACE_ACTCCORE,               "ActiveCore vp 0x%lx XoW 0x%x"
+  ec CM_TRACE_WVCACHE,                "RXAFS_StoreStatus vp 0x%lx len (0x%x, 0x%x)"
+  ec CM_TRACE_TRYTOSMUSH,             "TryToSmush vp 0x%lx len 0x%x"
+  ec CM_TRACE_STOREPROC,              "StoreProc vp 0x%lx fid (%x:%d.%d.%d) m.Length (0x%x, 0x%x) alen 0x%x"
+  ec CM_TRACE_FETCHPROC,              "FetchProc vp 0x%lx fid (%x:%d.%d.%d) pos (0x%x, 0x%x) size 0x%x"
+  ec CM_TRACE_SIMPLEVSTAT,            "SimpleVStat vp 0x%lx old len (0x%x, 0x%x) new len (0x%x, 0x%x)"
+  ec CM_TRACE_PROCESSFS,              "ProcessFS vp 0x%lx old len (0x%x, 0x%x) new len (0x%x, 0x%x)"
+  ec CM_TRACE_STOREALL,               "StoreAll vp 0x%lx len (0x%x, 0x%x)"
+  ec CM_TRACE_INVALL,                 "InvalAll vp 0x%lx len 0x%x"
+  ec CM_TRACE_TRUNCALL,               "TruncAll vp 0x%lx old len (0x%x, 0x%x) new len (0x%x, 0x%x)"
+  ec CM_TRACE_GNLINK,                 "Gn_link vp 0x%lx name %s (returns 0x%x)"
+  ec CM_TRACE_GMKDIR,                 "Gn_mkdir vp 0x%lx name %s mode 0x%x (returns 0x%x)"
+  ec CM_TRACE_GMKNOD,                 "Gn_mknod vp 0x%lx name %s mode 0x%x (returns 0x%x)"
+  ec CM_TRACE_GREMOVE,                "Gn_remove vp 0x%lx name %s (returns 0x%x)"
+  ec CM_TRACE_GRENAME,                "Gn_rename vp 0x%lx fname %s tname %s (returns 0x%x)"
+  ec CM_TRACE_GRMDIR,                 "Gn_rmdir vp 0x%lx name %s (returns 0x%x)"
+  ec CM_TRACE_GLOOKUP,                "Gn_lookup vp 0x%lx name %s (returns 0x%x)"
+  ec CM_TRACE_GFID,                   "Gn_fid vp 0x%lx fidp 0x%lx (returns 0x%x)"
+  ec CM_TRACE_GOPEN,                  "Gn_open vp 0x%lx flags 0x%x (returns 0x%x)"
+  ec CM_TRACE_GCREATE,                "Gn_create vp 0x%lx name %s mode 0x%x (returns 0x%x)"
+  ec CM_TRACE_GCLOSE,                 "Gn_close vp 0x%lx flags 0x%x (returns 0x%x)"
+  ec CM_TRACE_GMAP,                   "Gn_map vp 0x%lx addr 0x%lx len 0x%x off 0x%x"
+  ec CM_TRACE_GACCESS,                "Gn_access vp 0x%lx mode 0x%x (returns 0x%x)"
+  ec CM_TRACE_GGETATTR,               "Gn_getattr vp 0x%lx (returns 0x%x)"
+  ec CM_TRACE_GSETATTR,               "Gn_setattr vp 0x%lx (returns 0x%x)"
+  ec CM_TRACE_GFCLEAR,                "Gn_fclear vp 0x%lx offset 0x%x len 0x%x (returns 0x%x)"
+  ec CM_TRACE_GFSYNC,                 "Gn_fsync vp 0x%lx flags 0x%x (returns 0x%x)"
+  ec CM_TRACE_GFTRUNC,                "Gn_ftrunc vp 0x%lx flags 0x%x len (0x%x, 0x%x) (returns 0x%x)"
+  ec CM_TRACE_GRDWR,                  "Gn_rdwr vp 0x%lx flags 0x%x op 0x%x (returns 0x%x)"
+  ec CM_TRACE_GLOCKCTL,               "Gn_locktl vp 0x%lx cmd 0x%x (returns 0x%x)"
+  ec CM_TRACE_GIOCTL,                 "Gn_ioctl vp 0x%lx cmd 0x%x (returns 0x%x)"
+  ec CM_TRACE_GREADLINK,              "Gn_readlink vp 0x%lx (returns 0x%x)"
+  ec CM_TRACE_GSYMLINK,               "Gn_symlink vp 0x%lx link %s target %s (returns 0x%x)"
+  ec CM_TRACE_GREADDIR,               "Gn_readdir vp 0x%lx (returns 0x%x)"
+  ec CM_TRACE_STUFFVCACHE,            "StuffVcache 0x%lx callback host 0x%lx expires %u (in %u secs)"
+  ec CM_TRACE_GETDCACHE1,             "Getdcache vp 0x%lx failed to find chunk 0x%x"
+  ec CM_TRACE_GETDCACHE2,             "GetdCache vp 0x%lx dcache 0x%lx dcache low-version 0x%x, vcache low-version 0x%x"
+  ec CM_TRACE_GETDCACHE3,             "GetdCache tlen 0x%x flags 0x%x abyte (0x%x, 0x%x) Position (0x%x, 0x%x)"
+  ec CM_TRACE_STOREMINI,              "storemini vp 0x%lx length 0x%x"
+  ec CM_TRACE_STOREDCACHE,            "StoreDCache vp 0x%lx chunk 0x%x length 0x%x at position 0x%x"
+  ec CM_TRACE_STOREDCACHEDONE,        "StoreDCache Done for vp 0x%lx (returns 0x%x)"
+  ec CM_TRACE_STOREALLDONE,           "StoreAll Done vp 0x%lx length 0x%x (returns 0x%x)"
+  ec CM_TRACE_PROBEDOWN,              "GC Daemon: Checking down servers (every %d secs)"
+  ec CM_TRACE_PROBEUP,                "GC Daemon: Checking up servers/gc users (every %d secs)"
+  ec CM_TRACE_PROBEVOLUME,            "GC Daemon: Checking volumes (every %d secs)"
+  ec CM_TRACE_BKG1,                   "Bkg daemon executing 0x%x request"
+  ec CM_TRACE_HPSTRAT,                "Strategy vp 0x%lx offset 0x%x size 0x%x count 0x%x"
+  ec CM_TRACE_HPPAGEOUT,              "pageout vp 0x%lx start 0x%x end 0x%x flags 0x%x"
+  ec CM_TRACE_HPPAGEIN,               "pagein vp 0x%lx type 0x%x bpages 0x%lx mmf 0x%lx"
+  ec CM_TRACE_NFSREQH,                "Nfsreq pag 0x%x uid 0x%x host 0x%x nfsclnt struct 0x%lx"
+  ec CM_TRACE_NFSOUT,                 "NfsOut op 0x%x vp 0x%lx fid (%x:%d.%d.%d)"
+  ec CM_TRACE_NFSIN,                  "NfsIn op 0x%x"
+  ec CM_TRACE_NFSIN1,                 "Nfs Root fid client 0x%lx fid (%x:%d.%d.%d)"
+  ec CM_TRACE_FLUSHPAGES,             "flushpages vp 0x%x data version low 0x%x length 0x%x"
+  ec CM_TRACE_SYNCVM,                 "SyncVM vp 0x%lx length 0x%x"
+  ec CM_TRACE_PIOCTL,                 "Pioctl command 0x%x for vp 0x%lx, follow=%d"
+  ec CM_TRACE_CHECKCODE,              "Returning code %d from %d"
+  ec CM_TRACE_CHECKVLDB,              "Did a CheckVLDB call for fid (%x:%d.%d.%d) = %x"
+  ec CM_TRACE_GETVOL,                 "RPC GetVolumeByName for %s ( at 0x%x)"
+  ec CM_TRACE_ANALYZE,                "Analyze RPC op %d conn 0x%lx code 0x%x user 0x%x"
+  ec CM_TRACE_SETPAG,                 "Setpag returns 0x%x"
+  ec CM_TRACE_OPEN,                   "Open 0x%x flags 0x%x"
+  ec CM_TRACE_CLOSE,                  "Close 0x%lx flags 0x%x"
+  ec CM_TRACE_WRITE,                  "Write vp 0x%lx off (0x%x, 0x%x) resid (0x%x, 0x%x) file length (0x%x, 0x%x)"
+  ec CM_TRACE_READ,                   "Read vp 0x%lx off (0x%x, 0x%x) resid  0x%x file length (0x%x, 0x%x)"
+  ec CM_TRACE_PARTIALWRITE,           "Partial write vp 0x%lx length (0x%x, 0x%x)"
+  ec CM_TRACE_GETATTR,                "Getattr vp 0x%lx len (0x%x, 0x%x)"
+  ec CM_TRACE_SETATTR,                "Setattr vp 0x%lx len (0x%x, 0x%x)"
+  ec CM_TRACE_ACCESS,                 "Access vp 0x%lx mode 0x%x len (0x%x, 0x%x)"
+  ec CM_TRACE_LOOKUP,                 "Lookup adp 0x%lx name %s fid (%d:%d.%d.%d), code=%d"
+  ec CM_TRACE_LOOKUP1,                "Mount point is to vp 0x%lx fid (%d:%d.%d.%d)"
+  ec CM_TRACE_CREATE,                 "create file in vp 0x%lx name %s mode 0x%x"
+  ec CM_TRACE_REMOVE,                 "remove dir 0x%lx name %s"
+  ec CM_TRACE_LINK,                   "hard link dir 0x%lx vp %lx name %s"
+  ec CM_TRACE_RENAME,                 "Rename d1 0x%lx name %s to d2 0x%lx name %s"
+  ec CM_TRACE_MKDIR,                  "Mkdir parent 0x%lx entry %s"
+  ec CM_TRACE_RMDIR,                  "Rmdir parent 0x%lx entry %s"
+  ec CM_TRACE_SYMLINK,                "Symlink dir 0x%lx link %s"
+  ec CM_TRACE_READLINK,               "readlink 0x%lx"
+  ec CM_TRACE_FSYNC,                  "fsync 0x%lx"
+  ec CM_TRACE_LOCKDONE,               "%s line %d: Released lock 0x%lx level %d"
+  ec CM_TRACE_LOCKDOWN,               "%s line %d: Downgraded lock 0x%lx to %d"
+  ec CM_TRACE_LOCKOBTAIN,             "%s line %d: Obtained lock 0x%lx level %d"
+  ec CM_TRACE_LOCKSLEPT,              "%s line %d: Slept for lock 0x%lx level %d"
+  ec CM_TRACE_PAGE_READ,              "0x%lx called page_read (returned %d) states 0x%x"
+  ec CM_TRACE_PAGE_WRITE,             "0x%lx called page_write (returned %d) states 0x%x"
+  ec CM_TRACE_STOREALLDC,             "StoreAllDCache vp 0x%lx nchunks %x length 0x%x truncpos 0x%x"
+  ec CM_TRACE_STOREALLDCDONE,         "StoreAllDCache Done for vp 0x%lx (returns 0x%x)"
+  ec CM_TRACE_AVCLOCKER,              "Vnode Lock vp 0x%lx wait 0x%x excl 0x%x"
+  ec CM_TRACE_AVCLOCKEE,              "Vnode Lock vp 0x%lx wait 0x%x readers %d waiters %d"
+  ec CM_TRACE_SHORTREAD,              "osi_Read want %d short %d err 0x%x"
+  ec CM_TRACE_READFAILED,             "osi_Read failed len %d err 0x%x"
+  ec CM_TRACE_GETVCDOTDOT,            "GetVCache .. fid (%d.%d.%d.%d) returned 0x%x (err %d)"
+  ec CM_TRACE_CALLBACK,               "Breaking callback for %lx states %d (volume %d)"
+  ec CM_TRACE_VREF,                   "vcache 0x%lx has ref %d at %d"
+  ec CM_TRACE_TMP_1S3L,               "%s: %lx %lx %lx"
+  ec CM_TRACE_TMP_2S2L,               "%s: %s %lx %lx"
+  ec CM_TRACE_NFS3OUT,                "Nfs3Out op 0x%x vp 0x%lx fid (%x:%d.%d.%d)"
+  ec CM_TRACE_NFS3IN,                 "Nfs3In op 0x%x"
+  ec CM_TRACE_NFS3IN1,                "Nfs3 Root fid client 0x%lx fid (%x:%d.%d.%d)"
+  ec CM_TRACE_VGET,                   "Vget vp 0x%lx uid %x fid (%x:%d.%d.%d)"
+  ec CM_TRACE_VFSROOT,                "vfs root vp 0x%lx, code %d"
+  ec CM_TRACE_READOP,                 "Iread ip x%lx pos (0x%x, 0x%x) count 0x%x code %x"
+  ec CM_TRACE_WRITEOP,                "Iwrite ip 0x%lx pos (0x%x, 0x%x) count 0x%x code %x"
+  ec CM_TRACE_READPAGE,               "Ireadpage ip 0x%lx pp 0x%x count 0x%x code %x"
+  ec CM_TRACE_UPDATEPAGE,             "Iupdatepage ip 0x%lx pp 0x%x count 0x%x code %d"
+  ec CM_TRACE_VM_CLOSE,               "VMclose ip 0x%lx mapcnt %d opens %d XoW %d"
+  ec CM_TRACE_FETCH64,                "FetchProc for vp = 0x%lx oldserver was %d, found length (0x%x, 0x%x)"
+  ec CM_TRACE_UFSLINK,                "UFSHandleLink: vp = 0x%lx, tdc 0 0x%lx,  len (0x%x, 0x%x)"
+  ec CM_TRACE_VMRDWR,                 "afs_vm_rdwr: vp = 0x%lx, xfrSize 0x%lx,  toffset 0x%x"
+  ec CM_TRACE_READFAST,               "ReadFast vp 0x%lx off (0x%x, 0x%x) resid 0x%x file length (0x%x, 0x%x)"
+  ec CM_TRACE_FETCH64CODE,            "StartRX_FetchData64 for vp 0x%x returned %d"
+  ec CM_TRACE_FETCH64LENG,            "FetchData64 for vp 0x%x code = %d, length = (0x%x, 0x%x)"
+  ec CM_TRACE_FETCH64READ,            "FetchData64 for vp 0x%x code = %d, length = 0x%x"
+  ec CM_TRACE_VMWRITE,                "afs_vm_rdwr: vp 0x%x offset (0x%x, 0x%x) length 0x%x"
+  ec CM_TRACE_VMWRITE2,               "afs_vm_rdwr: vp 0x%x first page 0x%x pages %d"
+  ec CM_TRACE_VMSTOREALL,             "osi_VM_StoreAllSegments for vp 0x%x call %d"
+  ec CM_TRACE_PARTIALWRITE0,          "Partial write currDirty %d maxDirty %d"
+  ec CM_TRACE_DIRECTRDWR,             "direct_rdwr: vp 0x%x offset (0x%x, 0x%x) resid 0x%x"
+  ec CM_TRACE_GOPRDWR,                "gop_rdwr: offset (0x%x, 0x%x) len 0x%x resid 0x%x code %d"
+  ec CM_TRACE_GRDWR1,                 "Gn_rdwr error vp 0x%lx returns %d"
+  ec CM_TRACE_READTDC,                "UFSRead: vp 0x%lx  tdc 0x%x at %d refcount 0x%x"
+  ec CM_TRACE_MEMFETCH,               "MemFetch: vp 0x%x  mceP 0x%x offset (0x%x, 0x%x) length 0x%x"
+  ec CM_TRACE_VMWRITE3,               "afs_vm_rdwr: vp 0x%x code %d"
+  ec CM_TRACE_STOREALL2,              "StoreAll 2 vp 0x%x chunk 0x%x index %d inode %d"
+  ec CM_TRACE_MEMOPEN,                "MemOpen blkno %d mceP 0x%x data 0x%x = %s"
+  ec CM_TRACE_VCACHE2INODE,           "vcache2inode: avc 0x%x event %d"
+  ec CM_TRACE_STOREDATA64,            "StoreData64: fid (%d:%d.%d.%d) offs (0x%x, 0x%x) len (0x%x, 0x%x) file length (0x%x, 0x%x)"
+  ec CM_TRACE_RESIDCMD,               "ResidencyCmd tvc 0x%x command %d fid (%d:%d.%d.%d)"
+  ec CM_TRACE_PREFETCHCMD,            "PrefetchCmd tvc 0x%x tfid (%d:%d.%d.%d) fid (%d:%d.%d.%d)"
+  ec CM_TRACE_STOREPROC2,             "StoreProc got 0x%x"
+  ec CM_TRACE_ADJUSTSIZE,             "AdjustSize index %d oldSize %d newSize %d blocksUsed %d"
+  ec CM_TRACE_SETLENGTH,              "%s line %d: m.Length was (0x%x, 0x%x), now (0x%x, 0x%x)"
+  ec CM_TRACE_DCACHEWAIT,             "%s line %d: waiting for 0x%x flags 0x%x"
+  ec CM_TRACE_VNODEREAD,              "UFSRead: tdc 0x%x, offset (0x%x, 0x%x) len (0x%x 0x%x)"
+  ec CM_TRACE_SLEEP,                  "Sleep: evp 0x%x, count %d seq 0x%x evp->seq 0x%x"
+  ec CM_TRACE_WAKE,                   "Wakeup: evp 0x%x, evp->seq 0x%x"
+  ec CM_TRACE_DENTRYDELETE,           "d_delete inode 0x%x d_name %s/%s"
+  ec CM_TRACE_DENTRYIPUT,             "d_iput inode 0x%x d_name %s/%s"
+  ec CM_TRACE_TRYFLUSHDCACHECHILDREN, "TryFlushDcacheChildren ip 0x%x name %s parent %s"
+  ec CM_TRACE_DCACHEWAKE,             "%s line %d: waking up waiters for 0x%x flags 0x%x"
+end
diff --git a/errors/xFil.et b/errors/xFil.et
new file mode 100644 (file)
index 0000000..93a1468
--- /dev/null
@@ -0,0 +1,16 @@
+# NOT A SOURCE FILE - DO NOT EDIT
+# This file is automatically generated from the error code registration
+# database maintained by the AFS Assigned Numbers Registrar.  To register
+# a new code or obtain the latest list, plase visit
+# http://grand.central.org/numbers/et/xFil.html
+
+# XFILES error codes
+error_table xFil
+  ec ERROR_XFILE_EOF,         "EOF while reading XFILE"
+  ec ERROR_XFILE_WRONLY,      "XFILE may not be opened write-only"
+  ec ERROR_XFILE_RDONLY,      "XFILE is read-only"
+  ec ERROR_XFILE_NOSEEK,      "XFILE is not seekable"
+  ec ERROR_XFILE_ISPASS,      "XFILE passthru already set"
+  ec ERROR_XFILE_NOPASS,      "XFILE passthru not set"
+  ec ERROR_XFILE_TYPE,        "unknown XFILE type"
+end