1094
|
1 <appendix id="errorcodes">
|
1085
|
2 <title>Error Codes</title>
|
|
3 <section>
|
|
4 <title>OS-9 Error Codes</title>
|
|
5
|
|
6 <para>The error codes are shown both in hexadecimal (first column) and
|
|
7 decimal (second column). Error codes other than those listed are
|
|
8 generated by programming languages or user programs.</para>
|
|
9
|
|
10 <informaltable frame="none">
|
|
11 <tgroup cols="3">
|
|
12 <colspec colwidth="0.6in"/>
|
|
13 <colspec colwidth="0.6in"/>
|
|
14 <colspec colwidth="3.8in"/>
|
|
15 <thead>
|
|
16 <row>
|
|
17 <entry rowsep="1">HEX</entry>
|
|
18 <entry rowsep="1">DEC</entry>
|
|
19 <entry rowsep="0"></entry>
|
|
20 </row>
|
|
21 </thead>
|
|
22 <tbody>
|
|
23 <row>
|
|
24 <entry>$C8</entry>
|
|
25 <entry>200</entry>
|
|
26 <entry><errorname>PATH TABLE FULL</errorname>
|
|
27 - The file cannot be opened because
|
|
28 the system path table is currently full.</entry></row>
|
|
29 <row>
|
|
30 <entry>$C9</entry>
|
|
31 <entry>201</entry>
|
|
32 <entry><errorname>ILLEGAL PATH NUMBER</errorname>
|
|
33 - Number too large or for non-existant path.</entry></row>
|
|
34 <row>
|
|
35 <entry>$CA</entry>
|
|
36 <entry>202</entry>
|
|
37 <entry><errorname>INTERRUPT POLLING TABLE FULL</errorname></entry></row>
|
|
38 <row>
|
|
39 <entry>$CB</entry>
|
|
40 <entry>203</entry>
|
|
41 <entry><errorname>ILLEGAL MODE</errorname>
|
|
42 - attempt to perform I/O function of which the device or file is incapable.</entry></row>
|
|
43 <row>
|
|
44 <entry>$CC</entry>
|
|
45 <entry>204</entry>
|
|
46 <entry><errorname>DEVICE TABLE FULL</errorname>
|
|
47 - Can't add another device</entry></row>
|
|
48 <row>
|
|
49 <entry>$CD</entry>
|
|
50 <entry>205</entry>
|
|
51 <entry><errorname>ILLEGAL MODULE HEADER</errorname>
|
|
52 - module not loaded because its
|
|
53 sync code, header parity, or CRC is incorrect.</entry></row>
|
|
54 <row>
|
|
55 <entry>$CE</entry>
|
|
56 <entry>206</entry>
|
|
57 <entry><errorname>MODULE DIRECTORY FULL</errorname>
|
|
58 - Can't add another module</entry></row>
|
|
59 <row>
|
|
60 <entry>$CF</entry>
|
|
61 <entry>207</entry>
|
|
62 <entry><errorname>MEMORY FULL</errorname>
|
|
63 - Level One: not enough contiquous RAM free.
|
|
64 Level Two: process address space full</entry></row>
|
|
65 <row>
|
|
66 <entry>$D0</entry>
|
|
67 <entry>208</entry>
|
|
68 <entry><errorname>ILLEGAL SERVICE REQUEST</errorname>
|
|
69 - System call had an illegal code number</entry></row>
|
|
70 <row>
|
|
71 <entry>$D1</entry>
|
|
72 <entry>209</entry>
|
|
73 <entry><errorname>MODULE BUSY</errorname>
|
|
74 - non-sharable module is in use by another process.</entry></row>
|
|
75 <row>
|
|
76 <entry>$D2</entry>
|
|
77 <entry>210</entry>
|
|
78 <entry><errorname>BOUNDARY ERROR</errorname>
|
|
79 - Memory allocation or deallocation request not on a page boundary.</entry></row>
|
|
80 <row>
|
|
81 <entry>$D3</entry>
|
|
82 <entry>211</entry>
|
|
83 <entry><errorname>END OF FILE</errorname>
|
|
84 - End of file encountered on read.</entry></row>
|
|
85 <row>
|
|
86 <entry>$D4</entry>
|
|
87 <entry>212</entry>
|
|
88 <entry><errorname>RETURNING NON-ALLOCATED MEMORY</errorname>
|
|
89 - (NOT YOUR MEMORY)
|
|
90 attempted to deallocate memory not previously assigned.</entry></row>
|
|
91 <row>
|
|
92 <entry>$D5</entry>
|
|
93 <entry>213</entry>
|
|
94 <entry><errorname>NON-EXISTING SEGMENT</errorname>
|
|
95 - device has damaged file structure.</entry></row>
|
|
96 <row>
|
|
97 <entry>$D6</entry>
|
|
98 <entry>214</entry>
|
|
99 <entry><errorname>NO PERMISSION</errorname>
|
|
100 - file attributes do not permit access requested.</entry></row>
|
|
101 <row>
|
|
102 <entry>$D7</entry>
|
|
103 <entry>215</entry>
|
|
104 <entry><errorname>BAD PATH NAME</errorname>
|
|
105 - syntax error in pathlist (illegal character, etc.).</entry></row>
|
|
106 <row>
|
|
107 <entry>$D8</entry>
|
|
108 <entry>216</entry>
|
|
109 <entry><errorname>PATH NAME NOT FOUND</errorname>
|
|
110 - can't find pathlist specified.</entry></row>
|
|
111 <row>
|
|
112 <entry>$D9</entry>
|
|
113 <entry>217</entry>
|
|
114 <entry><errorname>SEGMENT LIST FULL</errorname>
|
|
115 - file is too fragmented to be expanded further.</entry></row>
|
|
116 <row>
|
|
117 <entry>$DA</entry>
|
|
118 <entry>218</entry>
|
|
119 <entry><errorname>FILE ALREADY EXISTS</errorname>
|
|
120 - file name already appears in current directory.</entry></row>
|
|
121 <row>
|
|
122 <entry>$DB</entry>
|
|
123 <entry>219</entry>
|
|
124 <entry><errorname>ILLEGAL BLOCK ADDRESS</errorname>
|
|
125 - device's file structure has been damaged.</entry></row>
|
|
126 <row>
|
|
127 <entry>$DC</entry>
|
|
128 <entry>220</entry>
|
|
129 <entry><errorname>ILLEGAL BLOCK SIZE</errorname>
|
|
130 - device's file structure has been damaged.</entry></row>
|
|
131 <row>
|
|
132 <entry>$DD</entry>
|
|
133 <entry>221</entry>
|
|
134 <entry><errorname>MODULE NOT FOUND</errorname>
|
|
135 - request for link to module not found in directory.</entry></row>
|
|
136 <row>
|
|
137 <entry>$DE</entry>
|
|
138 <entry>222</entry>
|
|
139 <entry><errorname>SECTOR OUT OF RANGE</errorname>
|
|
140 - device file structure damaged or
|
|
141 incorrectly formatted.</entry></row>
|
|
142 <row>
|
|
143 <entry>$DF</entry>
|
|
144 <entry>223</entry>
|
|
145 <entry><errorname>SUICIDE ATTEMPT</errorname>
|
|
146 - request to return memory where your stack is located.</entry></row>
|
|
147 <row>
|
|
148 <entry>$E0</entry>
|
|
149 <entry>224</entry>
|
|
150 <entry><errorname>ILLEGAL PROCESS NUMBER</errorname>
|
|
151 - no such process exists.</entry></row>
|
|
152 <row>
|
|
153 <entry>$E2</entry>
|
|
154 <entry>226</entry>
|
|
155 <entry><errorname>NO CHILDREN</errorname>
|
|
156 - can't wait because process has no children.</entry></row>
|
|
157 <row>
|
|
158 <entry>$E3</entry>
|
|
159 <entry>227</entry>
|
|
160 <entry><errorname>ILLEGAL SWI CODE</errorname>
|
|
161 - must be 1 to 3.</entry></row>
|
|
162 <row>
|
|
163 <entry>$E4</entry>
|
|
164 <entry>228</entry>
|
|
165 <entry><errorname>PROCESS ABORTED</errorname>
|
|
166 - process aborted by signal code 2.</entry></row>
|
|
167 <row>
|
|
168 <entry>$E5</entry>
|
|
169 <entry>229</entry>
|
|
170 <entry><errorname>PROCESS TABLE FULL</errorname>
|
|
171 - can't fork now.</entry></row>
|
|
172 <row>
|
|
173 <entry>$E6</entry>
|
|
174 <entry>230</entry>
|
|
175 <entry><errorname>ILLEGAL PARAMETER AREA</errorname>
|
|
176 - high and low bounds passed in fork call are incorrect.</entry></row>
|
|
177 <row>
|
|
178 <entry>$E7</entry>
|
|
179 <entry>231</entry>
|
|
180 <entry><errorname>KNOWN MODULE</errorname>
|
|
181 - for internal use only.</entry></row>
|
|
182 <row>
|
|
183 <entry>$E8</entry>
|
|
184 <entry>232</entry>
|
|
185 <entry><errorname>INCORRECT MODULE CRC</errorname>
|
|
186 - module has bad CRC value.</entry></row>
|
|
187 <row>
|
|
188 <entry>$E9</entry>
|
|
189 <entry>233</entry>
|
|
190 <entry><errorname>SIGNAL ERROR</errorname>
|
|
191 - receiving process has previous
|
|
192 unprocessed signal pending.</entry></row>
|
|
193 <row>
|
|
194 <entry>$EA</entry>
|
|
195 <entry>234</entry>
|
|
196 <entry><errorname>NON-EXISTENT MODULE</errorname>
|
|
197 - unable to locate module.</entry></row>
|
|
198 <row>
|
|
199 <entry>$EB</entry>
|
|
200 <entry>235</entry>
|
|
201 <entry><errorname>BAD NAME</errorname>
|
|
202 - illegal name syntax.</entry></row>
|
|
203 <row>
|
|
204 <entry>$EC</entry>
|
|
205 <entry>236</entry>
|
|
206 <entry><errorname>BAD HEADER</errorname>
|
|
207 - module header parity incorrect</entry></row>
|
|
208 <row>
|
|
209 <entry>$ED</entry>
|
|
210 <entry>237</entry>
|
|
211 <entry><errorname>RAM FULL</errorname>
|
|
212 - no free system RAM available at this time</entry></row>
|
|
213 <row>
|
|
214 <entry>$EE</entry>
|
|
215 <entry>238</entry>
|
|
216 <entry><errorname>UNKNOWN PROCESS ID</errorname>
|
|
217 - incorrect process ID number</entry></row>
|
|
218 <row>
|
|
219 <entry>$EF</entry>
|
|
220 <entry>239</entry>
|
|
221 <entry><errorname>NO TASK NUMBER AVAILABLE</errorname>
|
|
222 - all task numbers in use</entry></row>
|
|
223 </tbody>
|
|
224 </tgroup>
|
|
225 </informaltable>
|
|
226 </section>
|
|
227
|
|
228 <section>
|
|
229 <title>Device Driver/Hardware Errors</title>
|
|
230
|
|
231 <para>The following error codes are generated by I/O device drivers, and
|
|
232 are somewhat hardware dependent. Consult manufacturer's hardware
|
|
233 manual for more details.</para>
|
|
234
|
|
235 <informaltable frame="none">
|
|
236 <tgroup cols="3">
|
|
237 <colspec colwidth="0.6in"/>
|
|
238 <colspec colwidth="0.6in"/>
|
|
239 <colspec colwidth="3.8in"/>
|
|
240 <thead>
|
|
241 <row>
|
|
242 <entry rowsep="1">HEX</entry>
|
|
243 <entry rowsep="1">DEC</entry>
|
|
244 <entry rowsep="0"></entry>
|
|
245 </row>
|
|
246 </thead>
|
|
247 <tbody>
|
|
248 <row>
|
|
249 <entry>$F0</entry>
|
|
250 <entry>240</entry>
|
|
251 <entry><errorname>UNIT ERROR</errorname>
|
|
252 - device unit does not exist</entry></row>
|
|
253 <row>
|
|
254 <entry>$F1</entry>
|
|
255 <entry>241</entry>
|
|
256 <entry><errorname>SECTOR ERROR</errorname>
|
|
257 - sector number is out of range.</entry></row>
|
|
258 <row>
|
|
259 <entry>$F2</entry>
|
|
260 <entry>242</entry>
|
|
261 <entry><errorname>WRITE PROTECT</errorname>
|
|
262 - device is write protected.</entry></row>
|
|
263 <row>
|
|
264 <entry>$F3</entry>
|
|
265 <entry>243</entry>
|
|
266 <entry><errorname>CRC ERROR</errorname>
|
|
267 - CRC error on read or write verify</entry></row>
|
|
268 <row>
|
|
269 <entry>$F4</entry>
|
|
270 <entry>244</entry>
|
|
271 <entry><errorname>READ ERROR</errorname>
|
|
272 - Data transfer error during disk read
|
|
273 operation, or SCF (terminal) input buffer overrun.</entry></row>
|
|
274 <row>
|
|
275 <entry>$F5</entry>
|
|
276 <entry>245</entry>
|
|
277 <entry><errorname>WRITE ERROR</errorname>
|
|
278 - hardware error during disk write operation.</entry></row>
|
|
279 <row>
|
|
280 <entry>$F6</entry>
|
|
281 <entry>246</entry>
|
|
282 <entry><errorname>NOT READY</errorname>
|
|
283 - device has "not ready" status.</entry></row>
|
|
284 <row>
|
|
285 <entry>$F7</entry>
|
|
286 <entry>247</entry>
|
|
287 <entry><errorname>SEEK ERROR</errorname>
|
|
288 - physical seek to non-existant sector.</entry></row>
|
|
289 <row>
|
|
290 <entry>$F8</entry>
|
|
291 <entry>248</entry>
|
|
292 <entry><errorname>MEDIA FULL</errorname>
|
|
293 - insufficient free space on media.</entry></row>
|
|
294 <row>
|
|
295 <entry>$F9</entry>
|
|
296 <entry>249</entry>
|
|
297 <entry><errorname>WRONG TYPE</errorname>
|
|
298 - attempt to read incompatible media (i.e.
|
|
299 attempt to read double-side disk on single-side drive)</entry></row>
|
|
300 <row>
|
|
301 <entry>$FA</entry>
|
|
302 <entry>250</entry>
|
|
303 <entry><errorname>DEVICE BUSY</errorname>
|
|
304 - non-sharable device is in use</entry></row>
|
|
305 <row>
|
|
306 <entry>$FB</entry>
|
|
307 <entry>251</entry>
|
|
308 <entry><errorname>DISK ID CHANGE</errorname>
|
|
309 - Media was changed with files open</entry></row>
|
|
310 <row>
|
|
311 <entry>$FC</entry>
|
|
312 <entry>252</entry>
|
|
313 <entry><errorname>RECORD IS LOCKED-OUT</errorname>
|
|
314 - Another process is accessing the requested record.</entry></row>
|
|
315 <row>
|
|
316 <entry>$FD</entry>
|
|
317 <entry>253</entry>
|
|
318 <entry><errorname>NON-SHARABLE FILE BUSY</errorname>
|
|
319 - Another process is accessing the requested file.</entry></row>
|
|
320 <row>
|
|
321 <entry>$FE</entry>
|
|
322 <entry>254</entry>
|
|
323 <entry><errorname>I/O DEADLOCK ERROR</errorname>
|
|
324 - Two processes are attempting to use the same two disk areas simultaneously.</entry></row>
|
|
325 </tbody>
|
|
326 </tgroup>
|
|
327 </informaltable>
|
|
328 </section>
|
|
329 </appendix>
|