X-Git-Url: https://gapil.gnulinux.it/gitweb/?p=gapil.git;a=blobdiff_plain;f=errors.tex;h=69b4e3efa9cd7b069b2458e39f73ecec892a30e4;hp=0c1cd6af64a7c83c1f60a0409bf7d83393c6b0be;hb=eeb51cd82a56668eff7439a1e7d397e106463cc8;hpb=1872d92e291eceb931eaa3c211564f810ca350a4 diff --git a/errors.tex b/errors.tex index 0c1cd6a..69b4e3e 100644 --- a/errors.tex +++ b/errors.tex @@ -28,53 +28,53 @@ libreria che operano sui file. \item \macro{EPERM} \textit{Operation not permitted}. L'operazione non è permessa: solo il proprietario del file o un processo con sufficienti privilegi può eseguire l'operazione. - \item \macro{ENOENT} \textit{No such file or directory}. Il file indicato dal pathname non esiste: o una delle componenti non esiste o il pathname - contiene un link simbolico spezzato. - + contiene un link simbolico spezzato. Errore tipico di un riferimento ad un + file che si suppone erroneamente essere esistente. \item \macro{EIO} \textit{Input/output error}. Errore di input/output: usato - per riportare errori hardware in lettura/scrittura (su un dispositivo). - - + per riportare errori hardware in lettura/scrittura su un dispositivo. \item \macro{ENXIO} \textit{No such device or address}. Device inesistente: il sistema ha tentato di usare un dispositivo attraverso il file specificato, ma non lo ha trovato. Può significare che il file di dispositivo non è corretto, che il modulo relativo non è stato caricato nel kernel, o che il - dispositico è fisicamente assente o non funzionante. - + dispositivo è fisicamente assente o non funzionante. +\item \macro{ENOEXEC} \textit{Invalid executable file format}. Il file non ha + un formato eseguibile, è un errore riscontrato dalle funzioni \func{exec}. \item \macro{EBADF} \textit{Bad file descriptor}. File descriptor non valido: si è usato un file descriptor inesistente, o aperto in sola lettura per - scrivere, o viceversa. - - -\item \macro{} \textit{}. -\item \macro{} \textit{}. -\item \macro{} \textit{}. -\item \macro{} \textit{}. -\item \macro{} \textit{}. -\item \macro{} \textit{}. -\item \macro{} \textit{}. - -\item \macro{EFAULT} una stringa passata come parametro è fuori dello spazio - di indirizzi del processo. -\item \macro{EACCESS} l'accesso al file non è consentito: o una delle - directory del pathname non consente la ricerca, o il file non esiste e non - si ha accesso in scrittura nella directory in cui lo si vuole creare. -\item \macro{ENAMETOOLONG} si è indicato un pathname troppo lungo. -\item \macro{ENOTDIR} un componente del pathname non è una directory. -\item \macro{ENOMEM} il kernel non ha a disposizione memoria sufficiente a - completare l'operazione. -\item \macro{EMLINK} ci sono troppi link al file (il numero massimo è - specificato dalla variabile \macro{LINK\_MAX}, vedi + scrivere, o viceversa, o si è cercato di eseguire un'operazione non + consentita per quel tipo di file descriptor. +\item \macro{ENOMEM} \textit{No memory available}. Il kernel non è in grado di + allocare ulteriore memoria per completare l'operazione richiesta. +\item \macro{EACCESS} \textit{Permission denied}. Permesso negato; l'accesso + al file non è consentito: i permessi del file o della directory non + consentono l'operazione. +\item \macro{ELOOP} \textit{Too many symbolic links encountered}. Ci sono + troppi link simbolici nella risoluzione di un pathname. +\item \macro{ENAMETOOLONG} \textit{File name too long}. Si è indicato un + pathname troppo lungo. +\item \macro{EEXIST} \textit{File exists}. +\item \macro{ENODEV} \textit{No such device}. +\item \macro{ENOTDIR} \textit{Not a directory}. Un componente del pathname non + è una directory. +\item \macro{EISDIR} \textit{Is a directory}. +\item \macro{EINVAL} \textit{Invalid argument}. +\item \macro{EMFILE} \textit{Too many open files}. +\item \macro{ENFILE} \textit{File table overflow}. +\item \macro{ENOTTY} \textit{Not a terminal}. +\item \macro{ETXTBSY} \textit{Text file busy}. +\item \macro{EFBIG} \textit{File too big}. +\item \macro{ENOSPC} \textit{No space left on device}. la directory in cui si + vuole creare il link non ha spazio per ulteriori voci. +\item \macro{ESPIPE} \textit{Invalid seek operation}. +\item \macro{EROFS} \textit{Read-only file system}. il file risiede su un filesystem read-only. +\item \macro{EMLINK} \textit{Too many links}. Ci sono troppi link al file (il + numero massimo è specificato dalla variabile \macro{LINK\_MAX}, vedi \secref{sec:xxx_limits}). -\item \macro{ELOOP} ci sono troppi link simbolici nella risoluzione di un - pathname. -\item \macro{ENOSPC} la directory in cui si vuole creare il link non ha - spazio per ulteriori voci. -\item \macro{EROFS} il file risiede su un filesystem read-only. +\item \macro{EPIPE} \textit{Broken pipe}. + -\end{description} \section{Gli errori dei processi} \label{sec:err_proc_errors} @@ -94,9 +94,151 @@ libreria che operano sui processi. troppo lunga: è una condizione prevista da POSIX quando la lista degli argomenti passata ad una delle funzioni \func{exec} occupa troppa memoria, non può mai accadere in GNU/Linux. +\item \macro{ECHILD} \textit{There are no child processes}. Non esiste un + processo figlio. Viene rilevato dalle funzioni per la gestione dei processi + figli. +\item \macro{EDEADLK} \textit{Deadlock avoided}. L'allocazione di una risorsa + avrebbe causato un deadlock. Non sempre il sistema è in grado di riconoscere + queste situazioni, nel qual caso si avrebbe in blocco. +\item \macro{EFAULT} \textit{Bad address} una stringa passata come parametro è + fuori dello spazio di indirizzi del processo, in genere questa situazione + provova. + + + + +\section{Gli errori di rete} +\label{sec:err_network} + + +\item \macro{EXDEV} \textit{Cross-device link}. +\item \macro{ENOTBLK} \textit{}. +\item \macro{EBUSY} \textit{Resource busy}. +\item \macro{EDOM} \textit{Domain error}. +\item \macro{ERANGE} \textit{Range error}. +\item \macro{EAGAIN} \textit{Resource temporarily unavailable}. +\item \macro{EWOULDBLOCK} \textit{Operation would block}. In Linux è identico + a \macro{EAGAIN}. +\item \macro{EINPROGRESS} \textit{Operation now in progress}. +\item \macro{EALREADY} \textit{Operation already in progress}. +\item \macro{ENOTSOCK} \textit{Socket operation on non-socket}. +\item \macro{EMSGSIZE} \textit{Message too long}. +\item \macro{EPROTOTYPE} \textit{Protocol wrong type for socket}. +\item \macro{ENOPROTOOPT} \textit{Protocol not available}. +\item \macro{EPROTONOSUPPORT} \textit{Protocol not supported}. +\item \macro{ESOCKTNOSUPPORT} \textit{Socket type not supported}. +\item \macro{EOPNOTSUPP} \textit{Operation not supported on transport endpoint}. +\item \macro{EPFNOSUPPORT} \textit{Protocol family not supported}. +\item \macro{EAFNOSUPPORT} \textit{Address family not supported by protocol}. +\item \macro{EADDRINUSE} \textit{Address already in use}. +\item \macro{EADDRNOTAVAIL} \textit{Cannot assign requested address}. +\item \macro{ENETDOWN} \textit{Network is down}. +\item \macro{ENETUNREACH} \textit{Network is unreachable}. +\item \macro{ENETRESET} \textit{Network dropped connection because of reset}. +\item \macro{ECONNABORTED} \textit{Software caused connection abort}. +\item \macro{ECONNRESET} \textit{Connection reset by peer}. +\item \macro{ENOBUFS} \textit{No buffer space available}. +\item \macro{EISCONN} \textit{Transport endpoint is already connected}. +\item \macro{ENOTCONN} \textit{Transport endpoint is not connected}. +\item \macro{EDESTADDRREQ} \textit{Destination address required}. +\item \macro{ESHUTDOWN} \textit{Cannot send after transport endpoint shutdown}. +\item \macro{ETOOMANYREFS} \textit{Too many references: cannot splice}. +\item \macro{ETIMEDOUT} \textit{Connection timed out}. +\item \macro{ECONNREFUSED} \textit{Connection refused}. + +\item \macro{EHOSTDOWN} \textit{Host is down}. +\item \macro{EHOSTUNREACH} \textit{No route to host}. +\item \macro{ENOTEMPTY} \textit{Directory not empty}. +\item \macro{EPROCLIM} \textit{}. +\item \macro{EUSERS} \textit{Too many users}. +\item \macro{EDQUOT} \textit{Quota exceeded}. +\item \macro{ESTALE} \textit{Stale NFS file handle}. +\item \macro{EREMOTE} \textit{}. +\item \macro{EBADRPC} \textit{}. +\item \macro{ERPCMISMATCH} \textit{}. +\item \macro{EPROGUNAVAIL} \textit{}. +\item \macro{EPROGMISMATCH} \textit{}. +\item \macro{EPROCUNAVAIL} \textit{}. +\item \macro{ENOLCK} \textit{No locks available}. +\item \macro{EFTYPE} \textit{Inappropriate file type or format}. +\item \macro{EAUTH} \textit{}. +\item \macro{ENEEDAUTH} \textit{}. +\item \macro{ENOSYS} \textit{Function not implemented}. +\item \macro{ENOTSUP} \textit{Not supported}. +\item \macro{EILSEQ} \textit{Illegal byte sequence}. +\item \macro{EBACKGROUND} \textit{}. +\item \macro{EDIED} \textit{}. +\item \macro{ED} \textit{}. +\item \macro{EGREGIOUS} \textit{}. +\item \macro{EIEIO} \textit{}. +\item \macro{EGRATUITOUS} \textit{}. +\item \macro{EBADMSG} \textit{Not a data message}. +\item \macro{EIDRM} \textit{Identifier removed}. +\item \macro{EMULTIHOP} \textit{Multihop attempted}. +\item \macro{ENODATA} \textit{No data available}. +\item \macro{ENOLINK} \textit{Link has been severed}. +\item \macro{ENOMSG} \textit{No message of desired type}. +\item \macro{ENOSR} \textit{Out of streams resources}. +\item \macro{ENOSTR} \textit{Device not a stream}. +\item \macro{EOVERFLOW} \textit{Value too large for defined data type}. +\item \macro{EPROTO} \textit{Protocol error}. +\item \macro{ETIME} \textit{Timer expired}. + + +\section{Errori del kernel} +\label{sec:err_kernel_err} + +\item \macro{ERESTART} \textit{Interrupted system call should be restarted}. +\item \macro{ECHRNG} \textit{Channel number out of range}. +\item \macro{EL2NSYNC} \textit{Level 2 not synchronized}. +\item \macro{EL3HLT} \textit{Level 3 halted}. +\item \macro{EL3RST} \textit{Level 3 reset}. +\item \macro{ELNRNG} \textit{Link number out of range}. +\item \macro{EUNATCH} \textit{Protocol driver not attached}. +\item \macro{ENOCSI} \textit{No CSI structure available}. +\item \macro{EL2HLT} \textit{Level 2 halted}. +\item \macro{EBADE} \textit{Invalid exchange}. +\item \macro{EBADR} \textit{Invalid request descriptor}. +\item \macro{EXFULL} \textit{Exchange full}. +\item \macro{ENOANO} \textit{No anode}. +\item \macro{EBADRQC} \textit{Invalid request code}. +\item \macro{EBADSLT} \textit{Invalid slot}. +\item \macro{EDEADLOCK} Identico a \macro{EDEADLK}. +\item \macro{EBFONT} \textit{Bad font file format}. +\item \macro{ENONET} \textit{Machine is not on the network}. +\item \macro{ENOPKG} \textit{Package not installed}. +\item \macro{EADV} \textit{Advertise error}. +\item \macro{ESRMNT} \textit{Srmount error}. +\item \macro{ECOMM} \textit{Communication error on send}. +\item \macro{EDOTDOT} \textit{RFS specific error}. +\item \macro{ENOTUNIQ} \textit{Name not unique on network}. +\item \macro{EBADFD} \textit{File descriptor in bad state}. +\item \macro{EREMCHG} \textit{Remote address changed}. +\item \macro{ELIBACC} \textit{Can not access a needed shared library}. +\item \macro{ELIBBAD} \textit{Accessing a corrupted shared library}. +\item \macro{ELIBSCN} \textit{.lib section in a.out corrupted}. +\item \macro{ELIBMAX} \textit{Attempting to link in too many shared libraries}. +\item \macro{ELIBEXEC} \textit{Cannot exec a shared library directly}. +\item \macro{ESTRPIPE} \textit{Streams pipe error}. +\item \macro{EUCLEAN} \textit{Structure needs cleaning}. +\item \macro{ENAVAIL} \textit{No XENIX semaphores available}. +\item \macro{EISNAM} \textit{Is a named type file}. +\item \macro{EREMOTEIO} \textit{Remote I/O error}. +\item \macro{ENOMEDIUM} \textit{No medium found}. +\item \macro{EMEDIUMTYPE} \textit{Wrong medium type}. \item \macro{} \textit{}. -\item \macro{} \textit{}. -\item \macro{} \textit{}. + \end{description} + + +\section{Altri errori} +\label{sec:err_others} + + + + +\end{description} + +