2 * Copyright (c) 2009, 2010, 2011, 2012, ETH Zurich.
5 * This file is distributed under the terms in the attached LICENSE file.
6 * If you do not find this file, copies can be found by writing to:
7 * ETH Zurich D-INFK, CAB F.78, Universitaetstr. 6, CH-8092 Zurich,
11 // Kernel/syscall errors
12 errors kernel SYS_ERR_ {
13 default success OK "Success",
15 // generic errors during system call handling
16 failure ILLEGAL_SYSCALL "Illegal system call number",
17 failure INVARGS_SYSCALL "Invalid system call arguments",
18 failure CALLER_ENABLED "Invalid system call while enabled",
19 failure CALLER_DISABLED "Invalid system call while disabled",
20 failure ILLEGAL_INVOCATION "Illegal capability invocation",
21 failure INVALID_USER_BUFFER "Invalid user space buffer",
24 failure LMP_NO_TARGET "There is no target dispatcher for this endpoint",
25 failure LMP_TARGET_DISABLED "Target of LMP is disabled",
26 failure LMP_BUF_OVERFLOW "The endpoint buffer is full",
27 failure LMP_EP_STATE_INVALID "Target has corrupt/invalid state in its endpoint structure",
28 failure LMP_CAPTRANSFER_SRC_LOOKUP "Error looking up source for cap transfer",
29 failure LMP_CAPTRANSFER_DST_CNODE_LOOKUP "Error looking up destination CNode for cap transfer",
30 failure LMP_CAPTRANSFER_DST_CNODE_INVALID "Destination CNode cap not of type CNode for cap transfer",
31 failure LMP_CAPTRANSFER_DST_SLOT_OCCUPIED "Destination slot is occupied for cap transfer",
32 failure LRPC_SLOT_INVALID "Invalid slot specified for LRPC",
33 failure LRPC_NOT_ENDPOINT "Slot specified for LRPC does not contain an endpoint cap",
34 failure INVALID_EPLEN "Endpoint buffer has invalid length",
36 // XXX: this should go away -AB
37 failure IDC_MSG_BOUNDS "Attempted to retrieve a word beyond the size of an LMP message structure",
39 // Generic CSpace lookup errors
40 failure CNODE_TYPE "Encountered non-CNode capability when resolving slot",
41 failure CNODE_RIGHTS "Insufficient rights on CNode",
42 failure DEPTH_EXCEEDED "Exceeded depth limit of CSpace",
43 failure GUARD_MISMATCH "Guard does not match",
44 failure CAP_NOT_FOUND "Capability not found (empty slot encountered)",
45 failure IDENTIFY_LOOKUP "Error while looking up cap to identify",
47 // Generic capability manipulation errors
48 failure SLOT_IN_USE "Destination capability slots occupied",
49 failure SLOT_LOOKUP_FAIL "Failure during slot lookup",
50 failure GUARD_SIZE_OVERFLOW "Specified guard size exceeds CSpace depth",
51 failure INVALID_SOURCE_TYPE "Invalid source capability type",
52 failure ILLEGAL_DEST_TYPE "Illegal destination capability type",
53 failure SOURCE_CAP_LOOKUP "Error looking up source capability",
54 failure DEST_CNODE_LOOKUP "Error looking up destination CNode",
55 failure DEST_CNODE_INVALID "Destination CNode cap is not of type CNode",
56 failure ROOT_CAP_LOOKUP "Error looking up root capability",
57 failure DEST_TYPE_INVALID "Destination capability is of invalid type",
58 failure INVALID_RETYPE "Invalid source/destination type pair for retyping",
59 failure REVOKE_FIRST "Capability already has descendants or siblings",
60 failure INVALID_SIZE_BITS "Invalid size for new objects",
61 failure SLOTS_INVALID "Destination capability slots exceed capacity of CNode",
62 failure SLOTS_IN_USE "One or more destination capability slots occupied",
63 failure RETYPE_CREATE "Error while creating new capabilities in retype",
64 failure NO_LOCAL_COPIES "No copies of specified capability in local MDB",
65 failure RETRY_THROUGH_MONITOR "There is a remote copy of the capability, monitor must be involved to perform a cross core agreement protocol",
66 failure TYPE_NOT_CREATABLE "Specified capability type is not creatable at runtime. Consider retyping it from another capability.",
68 // errors specific to page mapping
69 failure VNODE_SLOT_INVALID "Destination slot exceeds size of page table",
70 failure WRONG_MAPPING "Wrong source/destination mapping type",
71 failure FRAME_OFFSET_INVALID "Specified offset exceeds size of frame",
72 failure VNODE_SLOT_RESERVED "Destination slot is reserved",
73 failure VNODE_SLOT_INUSE "Destination slot in use: unmap first",
74 failure VNODE_TYPE "Encountered non-VNode capability when manipulating page tables",
75 failure VNODE_LOOKUP_NEXT "Could not find next level page table",
76 failure VNODE_NOT_INSTALLED "VNode not in rooted page table tree",
77 failure VM_ALREADY_MAPPED "This cap copy is already mapped",
78 failure VM_MAP_SIZE "Mapping size too large",
79 failure VM_MAP_OFFSET "Mapping offset too large",
80 failure VM_RETRY_SINGLE "Mapping overlaps multiple leaf page tables, retry",
82 // errors related to IRQ table
83 failure IRQ_LOOKUP "Specified capability was not found while inserting in IRQ table",
84 failure IRQ_NOT_ENDPOINT "Specified capability is not an endpoint cap",
85 failure IRQ_NO_LISTENER "No listener on specified endpoint cap", // ??
86 failure IRQ_INVALID "Invalid interrupt number",
89 failure IO_PORT_INVALID "IO port out of range",
91 // Dispatcher setup and spawn core invocations
92 failure DISP_CSPACE_ROOT "Error setting CSpace root on dispatcher",
93 failure DISP_CSPACE_INVALID "Invalid capability type given for CSpace root on dispatcher",
94 failure DISP_VSPACE_ROOT "Error setting VSpace root on dispatcher",
95 failure DISP_VSPACE_INVALID "Invalid capability type given for VSpace root on dispatcher",
96 failure DISP_FRAME "Error setting dispatcher frame",
97 failure DISP_FRAME_INVALID "Invalid capability type given for dispatcher frame",
98 failure DISP_NOT_RUNNABLE "Cannot run dispatcher; it is not completely setup",
99 failure DISP_CAP_LOOKUP "Error looking up dispatcher cap",
100 failure DISP_CAP_INVALID "Invalid type capability given for dispatcher cap",
101 failure KERNEL_MEM_LOOKUP "Error looking up capability for kernel memory",
102 failure KERNEL_MEM_INVALID "Invalid capability type passed for kernel memory",
103 failure CORE_NOT_FOUND "Unable to boot core: core ID does not exist",
104 failure INVALID_YIELD_TARGET "Target capability for directed yield is invalid",
105 failure DISP_OCAP_LOOKUP "Error looking up other dispatcher cap",
107 // VMKit specific errors
108 failure VMKIT_UNAVAIL "Virtualization extensions are unavailable",
109 failure VMKIT_VMCB "Error setting VMCB for dispatcher",
110 failure VMKIT_VMCB_INVALID "Invalid frame capability passed for VMCB",
111 failure VMKIT_CTRL "Error setting control area for dispatcher",
112 failure VMKIT_CTRL_INVALID "Invalid frame capability passed for control structure",
113 failure VMKIT_ENDPOINT "Error setting monitor endpoint for dispatcher",
114 failure VMKIT_ENDPOINT_INVALID "Invalid monitor endpoint capability passed",
116 // Serial port errors
117 failure SERIAL_PORT_INVALID "Invalid serial port",
118 failure SERIAL_PORT_UNAVAILABLE "Serial port unavailable",
120 // Performance monitoring errors
121 failure PERFMON_NOT_AVAILABLE "Performance monitoring feature unavailable",
123 // Time synchronization errors
124 failure SYNC_MISS "Missed synchronization phase",
127 failure CROSS_MC "Frame crosses memory controllers",
130 failure ID_SPACE_EXHAUSTED "ID space exhausted",
133 // XXX: should not be in kernel
134 failure I2C_UNINITIALIZED "Trying to use uninitialized i2c controller",
135 failure I2C_ZERO_LENGTH_MSG "Zero byte transfers not allowed",
136 failure I2C_WAIT_FOR_BUS "Wait for bus free timed out",
137 failure I2C_FAILURE "I2C subsystem failure",
141 // errors generated by libcaps
142 errors libcaps CAPS_ERR_ {
144 failure INVALID_ARGS "Invalid arguments",
146 // mdb operation errors
147 failure MDB_DUPLICATE_ENTRY "Inserted entry already present",
148 failure MDB_ENTRY_NOTFOUND "Removed entry not found",
151 failure CAP_NOT_FOUND "Did not find a matching capability",
154 // errors generated by libbarrelfish code
155 errors libbarrelfish LIB_ERR_ {
157 failure WHILE_DELETING "Error while deleting capability",
158 failure WHILE_FREEING_SLOT "Error while freeing capability slot",
159 failure MALLOC_FAIL "Malloc returned NULL",
160 failure SLAB_ALLOC_FAIL "slab_alloc() returned NULL",
161 failure SLAB_REFILL "Refilling slab allocator failed",
162 failure NOT_IMPLEMENTED "functionality not implemented yet",
163 failure SHOULD_NOT_GET_HERE "Should not get here",
164 failure NOT_CNODE "Function invoked on a capref, that does not represent a CNode",
166 // nested errors in specific functions
167 failure FRAME_ALLOC "Failure in frame_alloc()",
168 failure FRAME_CREATE "Failure in frame_create()",
169 failure FRAME_CREATE_MS_CONSTRAINTS "frame_create() failed due to constraints to mem_serv in ram_alloc",
170 failure VNODE_CREATE "Failure in vnode_create()",
171 failure CNODE_CREATE "Failure in cnode_create()",
172 failure CNODE_CREATE_FROM_MEM "Failure in cnode_create_from_mem()",
173 failure RAM_ALLOC "Failure in ram_alloc()",
174 failure RAM_ALLOC_WRONG_SIZE "Wrong size of memory requested in ram alloc",
175 failure RAM_ALLOC_MS_CONSTRAINTS "Ram alloc failed due to constraints to mem_serv",
176 failure CAP_MINT "Failure in cap_mint()",
177 failure CAP_COPY "Failure in cap_copy()",
178 failure CAP_RETYPE "Failure in cap_retype()",
179 failure DEVFRAME_TYPE "Failure in devframe_type()",
180 failure CAP_DELETE "Failure in cap_delete()",
181 failure CAP_DESTROY "Failure in cap_destroy()",
182 failure CAP_INVOKE "Failure in cap_invoke()",
183 failure ENDPOINT_CREATE "Failure in endpoint_create()",
184 failure FRAME_IDENTIFY "Failure in frame_identify",
185 failure VNODE_MAP "Failure in vnode_map()",
186 failure VNODE_UNMAP "Failure in vnode_unmap()",
187 failure IDC_ENDPOINT_ALLOC "Failure in idc_endpoint_alloc()",
189 failure SLOT_ALLOC_INIT "Failure in slot_alloc_init()",
190 failure SLOT_ALLOC_NO_SPACE "Slot allocator is out of space",
191 failure SLOT_ALLOC_WRONG_CNODE "The slot to free does not belong in this cnode",
192 failure SINGLE_SLOT_ALLOC_INIT_RAW "Failure in single_slot_alloc_init_raw()",
193 failure SINGLE_SLOT_ALLOC_INIT "Failure in single_slot_alloc_init()",
194 failure MULTI_SLOT_ALLOC_INIT "Failure in multi_slot_alloc_init()",
195 failure MULTI_SLOT_ALLOC_INIT_RAW "Failure in multi_slot_alloc_init_raw()",
196 failure SINGLE_SLOT_ALLOC "Failure in single_slot_alloc()",
197 failure SLOT_ALLOC "Failure in slot_alloc()",
198 failure SLOT_FREE "Failure in slot_free()",
199 failure SLOT_UNALLOCATED "slot_free() was called on an unallocated slot",
202 failure VSPACE_CURRENT_INIT "Failure in vspace_current_init()",
203 failure VSPACE_INIT "Failure in vspace_init()",
204 failure VSPACE_LAYOUT_INIT "Failure in vspace_layout_init()",
205 failure VSPACE_DESTROY "Failure in vspace_destroy()",
206 failure VSPACE_REGION_OVERLAP "Overlap with existing region in vspace_add_region()",
207 failure VSPACE_ADD_REGION "Failure in vspace_add_region()",
208 failure VSPACE_REMOVE_REGION "Failure in vspace_remove_region()",
209 failure VSPACE_PAGEFAULT_HANDER "Failure in vspace_pagefault_handler()",
210 failure VSPACE_VREGION_NOT_FOUND "The vregion to remove not found in the vspace list",
211 failure VSPACE_PAGEFAULT_ADDR_NOT_FOUND "The faulting address not found in the page fault handler",
213 failure VSPACE_PINNED_INIT "Failure in vspace_pinned_init()",
214 failure VSPACE_PINNED_ALLOC "Failure in vspace_pinned_alloc()",
215 failure VSPACE_PINNED_INVALID_TYPE "Wrong type of slab requested",
217 failure VREGION_MAP "Failure in vregion_map()",
218 failure VREGION_MAP_FIXED "Failure in vregion_map_fixed()",
219 failure VREGION_NOT_FOUND "vregion not found in the vspace list",
220 failure VREGION_DESTROY "Failure in vregion_destroy()",
221 failure VREGION_PAGEFAULT_HANDLER "Failure in vregion_pagefault_handler()",
222 failure VREGION_BAD_ALIGNMENT "Unaligned address passed to vregion_map_fixed",
224 failure MEMOBJ_CREATE_ANON "Failure in memobj_create_anon()",
225 failure MEMOBJ_CREATE_ONE_FRAME "Failure in memobj_create_one_frame()",
226 failure MEMOBJ_CREATE_ONE_FRAME_ONE_MAP "Failure in memobj_create_one_frame_one_map()",
227 failure MEMOBJ_CREATE_PINNED "Failure in memobj_create_pinned()",
228 failure MEMOBJ_CREATE_VFS "Failure in memobj_create_vfs()",
229 failure MEMOBJ_MAP_REGION "Failure in memobj_map_region()",
230 failure MEMOBJ_UNMAP_REGION "Failure in memobj_unmap_region()",
231 failure MEMOBJ_PIN_REGION "Failure in memobj_pin_region()",
232 failure MEMOBJ_UNPIN_REGION "Failure in memobj_unpin_region()",
233 failure MEMOBJ_FILL "Failure in memobj_fill()",
234 failure MEMOBJ_PAGEFAULT_HANDLER "Failure in memobj_pagefault_handler()",
235 failure MEMOBJ_PAGER_FREE "Failure in memobj_pager_free()",
236 failure MEMOBJ_WRONG_OFFSET "Wrong offset passed",
237 failure MEMOBJ_FRAME_ALLOC "Failure the frame alloc function pointer",
238 failure MEMOBJ_VREGION_ALREADY_MAPPED "Pinned memobj only supports one vregion",
239 failure MEMOBJ_UNFILL_TOO_HIGH_OFFSET "The offset given to unfill is too large",
240 failure MEMOBJ_PROTECT "Failure in memobj protect call",
241 failure MEMOBJ_DUPLICATE_FILL "The offset given to fill is already backed",
243 failure PMAP_INIT "Failure in pmap_init()",
244 failure PMAP_CURRENT_INIT "Failure in pmap_current_init()",
245 failure PMAP_DETERMINE_ADDR "Failure in pmap_determine_addr()",
246 failure PMAP_DO_MAP "Failure in pmap_do_map()",
247 failure PMAP_MAP "Failure in pmap_map()",
248 failure PMAP_DO_SINGLE_MAP "Failure in pmap_do_single_map()",
249 failure PMAP_UNMAP "Failure in pmap_unmap()",
250 failure PMAP_DO_SINGLE_UNMAP "Failure in pmap_do_single_unmap()",
251 failure PMAP_MODIFY_FLAGS "Failure in pmap_modify_flags()",
252 failure PMAP_GET_PTABLE "Failure in get_mapping()",
253 failure PMAP_ALLOC_VNODE "Failure in alloc_vnode()",
254 failure PMAP_ADDR_NOT_FREE "The requested address range is not free",
255 failure PMAP_FIND_VNODE "vnode not found",
256 failure PMAP_EXISTING_MAPPING "Cannot replace existing mapping, unmap first",
258 failure OUT_OF_VIRTUAL_ADDR "Out of virtual address",
260 failure SERIALISE_BUFOVERFLOW "Buffer overflow while serialising",
262 failure VSPACE_MAP "Failure in vspace_map() wrapper function",
264 failure VSPACE_MMU_AWARE_INIT "Failure in vspace_mmu_aware_init() function",
265 failure VSPACE_MMU_AWARE_MAP "Failure in vspace_mmu_aware_map() function",
266 failure VSPACE_MMU_AWARE_NO_SPACE "Out of space in vspace_mmu_aware_map() function",
268 // Performance counters
269 failure INVOKE_PERFMON_SETUP "Error in invoke perfmon setup",
270 failure INVOKE_PERFMON_WRITE "Error in invoke perfmon write",
273 failure CORESET_NEW "Failure in coreset_new()",
274 failure CORESET_GET_NEXT_DONE "No more elements left in coreset_get_next()",
276 // IDC (and LMP/UMP channels)
277 failure NO_LMP_MSG "No LMP message available",
278 failure LMP_RECV_BUF_OVERFLOW "LMP message in endpoint is longer than user-provided buffer",
279 failure NO_UMP_MSG "No UMP message available",
280 failure UMP_CHAN_FULL "Cannot send UMP: channel is full",
281 failure LMP_BUFLEN_INVALID "Cannot create LMP endpoint, invalid buffer length",
282 failure NO_ENDPOINT_SPACE "Cannot allocate LMP endpoint, out of space in dispatcher frame",
283 failure UMP_BUFSIZE_INVALID "Size of UMP buffer is invalid (must be multiple of message size)",
284 failure UMP_BUFADDR_INVALID "Address of UMP buffer is invalid (must be cache-aligned)",
285 failure UMP_FRAME_OVERFLOW "Provided frame is too small for requested UMP channel sizes",
286 failure LMP_ENDPOINT_REGISTER "Failure in lmp_endpoint_register()",
287 failure CHAN_REGISTER_SEND "Failure in *_chan_register_send()",
288 failure CHAN_DEREGISTER_SEND "Failure in *_chan_deregister_send()",
289 failure CHAN_REGISTER_RECV "Failure in *_chan_register_recv()",
290 failure CHAN_DEREGISTER_RECV "Failure in *_chan_deregister_recv()",
291 failure LMP_CHAN_INIT "Failure in lmp_chan_init()",
292 failure UMP_CHAN_INIT "Failure in ump_chan_init()",
293 failure LMP_CHAN_RECV "Failure in lmp_chan_recv()",
294 failure UMP_CHAN_RECV "Failure in ump_chan_recv()",
295 failure LMP_CHAN_SEND "Failure in lmp_chan_send()",
296 failure LMP_CHAN_BIND "Failure in lmp_chan_bind()",
297 failure UMP_CHAN_BIND "Failure in ump_chan_bind()",
298 failure LMP_CHAN_ACCEPT "Failure in lmp_chan_accept()",
299 failure UMP_CHAN_ACCEPT "Failure in ump_chan_accept()",
300 failure LMP_ALLOC_RECV_SLOT "Failure in lmp_chan_alloc_recv_slot()",
301 failure LMP_NOT_CONNECTED "Channel is disconnected",
302 failure MSGBUF_OVERFLOW "Attempted to demarshall beyond bounds of message buffer",
303 failure MSGBUF_CANNOT_GROW "Failed to grow message buffer while marshalling",
304 failure RCK_NOTIFY "Failure in rck_notify()",
305 failure IPI_NOTIFY "Failure in ipi_notify()",
307 // IDC binding/export and Monitor client interface
308 failure MONITOR_CLIENT_BIND "Error in monitor_client_lmp_bind()",
309 failure MONITOR_CLIENT_ACCEPT "Error in monitor_client_lmp_accept()",
310 failure NAMESERVICE_NOT_BOUND "Name service client is not bound",
311 failure NAMESERVICE_UNKNOWN_NAME "Lookup failed: unknown name",
312 failure NAMESERVICE_INVALID_NAME "Invalid record retrieved (no iref attribute)",
313 failure BIND_LMP_REQ "Failure sending bind_lmp_request to monitor",
314 failure BIND_UMP_REQ "Failure sending bind_ump_request to monitor",
315 failure BIND_LMP_REPLY "Failure sending bind_lmp_reply to monitor",
316 failure BIND_UMP_REPLY "Failure sending bind_ump_reply to monitor",
317 failure NO_LMP_BIND_HANDLER "LMP connection handler not registered for this service",
318 failure NO_UMP_BIND_HANDLER "UMP connection handler not registered for this service",
319 failure MONITOR_CAP_SEND "Failed sending capability via monitor",
320 failure MONITOR_RPC_BIND "Error in monitor_rpc_init()",
323 failure BIND_MULTIHOP_REQ "Failed sending bind_multihop_request to monitor",
324 failure NO_MULTIHOP_BIND_HANDLER "MULTIHOP connection handler not registered for this service",
325 failure BIND_MULTIHOP_SAME_CORE "Cannot create a multihop channel to service on the same core",
328 failure BULK_UNKNOWN_ID "Unknown bulk transfer block ID",
331 failure NO_SPANNED_DISP "There is no spanned dispatcher on the given core",
332 failure SEND_RUN_FUNC_REQUEST "Failure in trying to send run_func_request",
333 failure SEND_CAP_REQUEST "Failure in trying to send capability",
334 failure CAP_COPY_FAIL "cap_copy failed",
335 failure CAP_DELETE_FAIL "cap_delete failed",
338 failure RAM_ALLOC_SET "Failure in ram_alloc_set()",
339 failure MORECORE_INIT "Failure in morecore_init()",
340 failure MONITOR_CLIENT_INIT "Failure in monitor_client_init",
341 failure MONITOR_CLIENT_CONNECT "Failure in monitor_client_connect",
342 failure TERMINAL_INIT "Failure in terminal_init()",
343 failure DOMAIN_INIT "Failure in domain_init()",
344 failure GET_MON_BLOCKING_IREF "Error while retrieving monitor's blocking channel service IREF from monitor",
345 failure GET_MEM_IREF "Failure sending memory iref request",
346 failure GET_NAME_IREF "Error while retrieving name service IREF from monitor",
347 failure GET_RAMFS_IREF "Error while retrieving ramfsd service IREF from monitor",
348 failure NAMESERVICE_CLIENT_INIT "Failure initialising nameservice client",
351 failure THREAD_CREATE "A version of thread create failed",
352 failure THREAD_JOIN "Joining more than once not allowed",
353 failure THREAD_JOIN_DETACHED "Tried to join with a detached thread",
354 failure THREAD_DETACHED "Thread is already detached",
356 // Waitset/event code
357 failure CHAN_ALREADY_REGISTERED "Attempt to register for an event on a channel which is already registered",
358 failure CHAN_NOT_REGISTERED "Channel is not registered with a waitset",
359 failure WAITSET_IN_USE "Waitset has pending events or blocked threads",
360 failure WAITSET_CHAN_CANCEL "Error in waitset_chan_cancel()",
361 failure NO_EVENT "Nothing pending in check_for_event()",
362 failure EVENT_DISPATCH "Error in event_dispatch()",
363 failure EVENT_ALREADY_RUN "Error in event_queue_cancel(): event has already been run",
364 failure EVENT_QUEUE_EMPTY "Error in event_queue_trigger(): queue is empty",
366 // LDT management on x86
367 failure SEGBASE_OVER_4G_LIMIT "Segment base address is above 32-bit boundary",
368 failure LDT_FULL "LDT is out of space",
369 failure LDT_SELECTOR_INVALID "Segment selector is invalid for LDT",
372 // errors in Flounder-generated bindings
373 errors flounder FLOUNDER_ERR_ {
374 failure INVALID_STATE "Invalid/corrupt state in binding structure",
375 failure TX_BUSY "Cannot queue message for transmit: queue is full",
376 failure RX_EMPTY_MSG "Incoming message invalid: empty payload",
377 failure RX_INVALID_MSGNUM "Incoming message invalid: unknown message code",
378 failure RX_INVALID_LENGTH "Incoming message has invalid length",
379 failure BUF_RECV_MORE "(internal) incomplete buffer received; call again for more",
380 failure BUF_SEND_MORE "(internal) incomplete buffer sent; call again to send more",
381 failure GENERIC_BIND_NO_MORE_DRIVERS "Generic bind() call failed after trying all enabled interconnect drivers",
382 failure CHANGE_WAITSET "Error in change_waitset() call",
383 failure CHANGE_MONITOR_WAITSET "Error changing waitset on underlying monitor binding",
384 failure UMP_ALLOC_NOTIFY "Error while allocating notify cap/state for UMP",
385 failure UMP_STORE_NOTIFY "Error while storing notify cap for UMP",
387 failure BIND "Error in flounder generated bind call",
389 // XXX: errors from old flounder stubs, to be removed
390 failure CREATE_MSG "Flounder marshalling code failed: create_msg() returned NULL", // FIXME
391 failure MARSHALLING "Error while marshalling",
392 failure DEMARSHALLING "Error while demarshalling",
393 failure RPC_MISMATCH "RPC response not matching the call",
397 // errors generated by chips name service
398 errors chips CHIPS_ERR_ {
399 failure GET_SERVICE_REFERENCE "Error getting service reference from name service",
400 failure GET_SERVICE_IREF "Error getting IREF from name service",
401 failure UNKNOWN_NAME "Lookup failed: unknown name",
402 failure EXISTS "Entry already exists",
403 failure GET_CAP "Error getting a capability from store",
404 failure PUT_CAP "Error putting a capability to store",
405 failure REMOVE_CAP "Error removing a capability from store",
406 failure OUT_OF_SEMAPHORES "Out of semaphores",
409 // errors generated by bcast library
410 errors bcast BCAST_ERR_ {
411 failure SEND "Failure in bcast_send function",
412 failure SEND_SSF "Failure in trying to send ssf msg",
415 // errors generated in the monitor-client protocol
416 errors mon_client MON_CLIENT_ERR_ {
417 failure SPAN_DOMAIN_REQUEST "Error sending span_domain_request msg",
418 failure URPC_BLOCK "Error sending urpc_block msg",
421 // errors generated by the Monitor
422 errors monitor MON_ERR_ {
423 failure IDC_BIND_NOT_SAME_CORE "Cannot perform IDC bind call: IREF is on another core",
424 failure INVALID_CORE_ID "Core ID is invalid (out of range)",
425 failure INVALID_IREF "Invalid IREF for bind call",
426 failure IREF_ALLOC "Cannot allocate IREF, table full",
427 failure SPAN_STATE_ALLOC "Failed to allocate span state",
428 failure SEND_REMOTE_MSG "Sending message to remote core failed",
429 failure INVALID_MON_ID "Monitor ID in message is invalid",
430 failure NO_MONITOR_FOR_CORE "No monitor loaded on this core ID",
431 failure CAP_IDENTIFY "Error in cap_identify",
432 failure CAP_CREATE "Failure creating new capability",
433 failure CAP_REMOTE "Failure in remote cap operation",
434 failure RCAP_DB_NOT_FOUND "Cannot find cap in remote cap db",
435 failure RCAP_DB_LOCK "Error gaining lock in remote cap db",
436 failure RCAP_DB_UNLOCK "Error unlocking cap in remote cap db",
437 failure RCAP_DB_ADD "Error adding cap to remote cap db",
438 failure SAME_CORE "Cannot perform operation on same core as caller",
439 failure REMOTE_CAP_NEED_REVOKE "Cap has descendants on another core, cannot be retyped",
440 failure REMOTE_CAP_RETRY "Remote Cap operation failed but retry",
441 failure SPAWN_CORE "Failure spawning a new core",
442 failure SPAWN_DOMAIN "Failure in trying to spawn a domain",
443 failure INTERN_NEW_MONITOR "Error in intern_new_monitor()",
444 failure CAP_SEND "Permanent error sending cap for URPC channel",
445 failure CAP_SEND_TRANSIENT "Transient error sending cap for URPC channel",
446 failure ROUTE_SET "Sending route set msg failed",
447 failure SPAN_DOMAIN "span_domain failed",
448 failure MAP_URPC_CHAN "failure while mapping in URPC channel state",
449 failure RAM_ALLOC_ERR "failure in ram_alloc, err failed",
450 failure RAM_ALLOC_RETERR "failure in ram_alloc, reterr failed",
451 failure MULTICAST_PAGE_MAP "Could not map the multicast page in monitor",
452 failure WRONG_CAP_TYPE "Cap of not expected type",
453 failure INTERN_SET "Failure in intern_set",
454 failure ROUTE_RESET "Failure in sending route reset msg",
455 failure MAP_MULTIBOOT "Failure in trying to map multiboot image",
456 failure UNICAST_SET "Failure in unicast_set()",
457 failure MULTICAST_SET "Failure in multicast_set()",
458 failure BCAST_INIT "Failure in bcast_init()",
459 failure BCAST_CONNECT "Failure in bcast_connect()",
460 failure CCAST_INIT "Failure in ccast_init()",
461 failure CCAST_CONNECT "Failure in ccast_connect()",
462 failure UNICAST_CONNECT "Failure in connecting unicast path",
463 failure MULTICAST_CONNECT "Failure in connecting multicast path",
464 failure UNICAST_INIT "Failure in initing unicast path",
465 failure MULTICAST_INIT "Failure in initing multicast path",
466 failure SPAWN_XCORE_MONITOR "Failure in spawn_xcore_monitor()",
467 failure INCOMPLETE_ROUTE "(Portion of) routing table not present",
469 // Resource controller
470 failure RSRC_ALLOC "Out of resource domains",
471 failure RSRC_MEMBER_LIMIT "Reached member limit of resource domain",
472 failure RSRC_ILL_MANIFEST "Illegal manifest",
473 failure RSRC_NOT_FOUND "Resource domain not found on this core",
476 // errors related to the routing library
477 errors routing ROUTE_ERR_ {
478 // These are for the old routing library, remove them when old lib is removed
479 failure NEW_ROUTE "Failure in creating a new route",
480 failure EXPORT "Failure in exporting new route",
481 failure LOOKUP "Failure in looking up new route",
482 failure BIND "Failure in binding with route",
483 failure CORE_NOT_FOUND "Core not found in unicast send",
484 failure SET_EXPECTED "Failure in using the set expected function",
485 failure SEND "Failure in using the send function",
486 failure NO_SLOTS "Convergecast route ran out of slots to hold records",
488 // These are for the new routing library
489 failure WRONG_GROUP_ID "Group id not found",
490 failure CALL_INIT "Call route_init before using this",
491 failure CREATE_GROUP_RPC "Error in using the create_group rpc",
492 failure SET_GROUP_RPC "Error in using the set_group rpc",
493 failure GET_GROUP_RPC "Error in using the get_group rpc",
494 failure ALLOC_NID_RPC "Error in using the alloc_nid rpc",
497 // errors related to spawn code
498 errors spawn SPAWN_ERR_ {
499 failure LOAD "Failure while loading",
500 failure SPAN "Failure while spanning",
501 failure RUN "Failure while making dispatcher runnable",
502 failure VSPACE_MAP "Nested failure in spawn_vspace_map",
503 failure GET_CMDLINE_ARGS "Failure in get_cmdline_args",
504 failure SETUP_ENV "Failure in spawn_setup_env",
505 failure UNKNOWN_TARGET_ARCH "Unknown target architecture type",
506 failure UNSUPPORTED_TARGET_ARCH "Unsupported target architecture type",
508 failure SETUP_CSPACE "Failure in spawn_setup_cspace",
509 failure DETERMINE_CPUTYPE "Failure in spawn_determine_cputype",
510 failure VSPACE_INIT "Failure in spawn_vspace_init",
511 failure SETUP_DISPATCHER "Failure in spawn_setup_dispatcher",
512 failure ELF_MAP "Failure in spawn_elf_map",
514 failure SET_CAPS "Failure in set_special_caps",
515 failure MONITOR_CLIENT "Failure in monitor_client_setup",
516 failure FREE "Failure in spawn_free",
519 failure CREATE_ROOTCN "Failure creating root CNode",
520 failure CREATE_TASKCN "Failure creating task CNode",
521 failure MINT_TASKCN "Failure minting task CNode into root CNode",
522 failure CREATE_PAGECN "Failure creating page CNode",
523 failure CREATE_VNODE "Failure creating top-level VNode",
524 failure COPY_VNODE "Failure copying top-level VNode from existing domain",
525 failure CREATE_DISPATCHER "Failure creating DCB",
526 failure CREATE_DISPATCHER_FRAME "Failure creating dispatcher frame",
527 failure CREATE_SELFEP "Failure creating endpoint to self",
528 failure CREATE_ARGSPG "Failure creating page for arguments",
529 failure CREATE_FDSPG "Failure creating page for file descriptors",
530 failure COPY_FDCAP "Failure copying frame cap for file descriptors",
531 failure MINT_ROOTCN "Failure minting root CNode into task CNode",
532 failure CREATE_SLOTALLOC_CNODE "Failure creating slot_alloc cnode",
535 failure MAP_DISPATCHER_TO_NEW "Failure mapping dispatcher frame to new domain",
536 failure MAP_DISPATCHER_TO_SELF "Failure mapping dispatcher frame to parent",
537 failure MAP_ARGSPG_TO_NEW "Failure mapping arguments page to new domain",
538 failure MAP_ARGSPG_TO_SELF "Failure mapping arguments page to parent",
539 failure MAP_FDSPG_TO_NEW "Failure mapping file descriptors page to new domain",
540 failure MAP_FDSPG_TO_SELF "Failure mapping file descriptors page to parent",
542 failure FILL_SMALLCN "Failure filling smallcn of new domain",
543 failure MAP_BOOTINFO "Failure mapping bootinfo to new domain",
544 failure FIND_MODULE "Didn't find module to be spawned",
545 failure MAP_MODULE "Failed mapping in module",
546 failure CREATE_SEGCN "Failed to create segment CNode",
547 failure CREATE_SMALLCN "Failed to create small RAM caps CNode",
550 failure ARGSPG_OVERFLOW "Overflow in arguments page: too many arguments or environment variables",
551 failure SERIALISE_VSPACE "Error in serialising vspace data",
553 // setup inherited caps
554 failure SETUP_INHERITED_CAPS "Failure setup inherited caps",
556 // setup argument caps
557 failure SETUP_ARGCN "Failure setup CNode containing caps passed as arguments",
558 failure COPY_ARGCN "Error copying CNode containing caps passed as arguments",
560 // setup file descriptors
561 failure SETUP_FDCAP "Failure setting up frame for copying file descriptors",
562 failure FDSPG_OVERFLOW "Overflow in file descriptors page: too many file descriptors",
564 // setup session id cap
565 failure SETUP_SIDCAP "Failure setting up session capability",
566 failure COPY_SIDCAP "Failure copying session id capability",
569 failure DELETE_ROOTCN "Failure deleting root CNode cap in parent",
570 failure FREE_ROOTCN "Failure freeing slot for root CNode cap in parent",
571 failure DELETE_TASKCN "Failure deleting task CNode cap in parent",
572 failure FREE_TASKCN "Failure freeing slot for task CNode cap in parent",
574 failure COPY_PACN "Error copying phys addr CNode cap",
575 failure COPY_MODULECN "Error copying module CNode cap",
576 failure COPY_IRQ_CAP "Error copying IRQ cap",
577 failure COPY_IO_CAP "Error copying IO cap",
578 failure COPY_PERF_MON "Error copying performance monitoring cap",
581 failure DISPATCHER_SETUP "Dispatcher setup",
584 failure DOMAIN_ALLOCATE "No more domain descriptors",
585 failure DOMAIN_NOTFOUND "Domain not found",
586 failure DOMAIN_RUNNING "Domain is running",
589 // errors from ELF library
590 errors libelf ELF_ERR_ {
591 failure FILESZ "Invalid file size",
592 failure HEADER "Incompatible ELF header",
593 failure PROGHDR "Failed program header sanity checks",
594 failure ALLOCATE "Nested failure in allocator function",
595 failure NOT_PAGE_ALIGNED "Unaligned load address specified in ELF header",
598 // errors from memory management library
599 errors libmm MM_ERR_ {
600 failure FIND_NODE "Failure in find_node()",
601 failure CHUNK_NODE "Failure in chunk_node()",
602 failure SLOT_MM_ALLOC "Nested failure in slot allocator calling mm_alloc",
603 failure SLOT_NOSLOTS "Slot allocator has run out of slots",
604 failure SLOT_ALLOC_INIT "Failure initialising slot allocator",
605 failure MM_INIT "Failure in mm_init()",
606 failure MM_ADD "Failure in mm_add()",
607 failure MM_FREE "Failure in mm_free()",
608 failure NEW_NODE "Failed allocating new node from slot allocator",
609 failure OUT_OF_BOUNDS "Given memory base address / size exceeds bounds of allocator",
610 failure ALREADY_PRESENT "Node already present in add_node()",
611 failure ALREADY_ALLOCATED "Requested node already allocated in find_node()",
612 failure NOT_FOUND "No matching node found",
613 failure MISSING_CAPS "Region exists in allocator, but intermediate caps are missing",
614 failure CHUNK_SLOT_ALLOC "Failure allocating slots for chunking",
615 failure RESIZE_NODE "Nested failure in resize_node()",
616 failure REALLOC_RANGE "Nested failure in realloc_range()",
620 errors init INIT_ERR_ {
621 failure SPAWN_MEM_SERV "Failed to spawn mem_serv",
622 failure INIT_MEM_SERV "Failed to initialise mem_serv",
623 failure SPAWN_MONITOR "Failed to spawn monitor",
624 failure INIT_MONITOR "Failed to init monitor",
625 failure COPY_EP_TO_MEM_SERV "Failed copying EP to mem_serv",
626 failure COPY_EP_TO_MONITOR "Failed copying EP to monitor",
627 failure SETUP_MONITOR_CHAN "Failed setting up channel to monitor",
628 failure SETUP_MEM_SERV_CHAN "Failed setting up channel to mem_serv",
629 failure RUN_MONITOR "Failed to make monitor runnable",
630 failure RUN_MEM_SERV "Failed to make mem_serv runnable",
631 failure FREE_MONITOR "Failed to free spawn caps from monitor",
632 failure FREE_MEM_SERV "Failed to free spawn caps from mem_serv",
633 failure COPY_SUPERCN_CAP "Failed to copy superCN cap to mem_serv",
634 failure MAP_BOOTINFO "Failed to map bootinfo to child",
635 failure COPY_KERNEL_CAP "Failed to copy kernel cap to monitor",
636 failure COPY_PERF_MON "Failed to copy performance monitoring cap to monitor",
637 failure COPY_MODULECN_CAP "Failed to copy module CNode cap to monitor",
638 failure COPY_PACN_CAP "Failed to copy phys addr CNode cap to monitor",
639 failure COPY_IRQ_CAP "Failed to copy IRQ cap to monitor",
640 failure COPY_IO_CAP "Failed to copy IO cap to monitor",
641 failure COPY_UMP_CAP "Failed to copy UMP cap to monitor",
642 failure NO_MATCHING_RAM_CAP "No suitably-sized RAM cap found when initialising local memory allocator",
645 //errors in continuation management
646 errors filter CONT_ERR_ {
647 failure NO_MORE_SLOTS "No free slots available",
653 errors ethersrv ETHERSRV_ERR_ {
654 failure TOO_MANY_BUFFERS "ethersrv failed to allocate a new buffer descriptor in register_buffer",
655 failure TOO_MANY_VNICS "MAX_VNICS reached, can't create more VNICS",
656 failure BUFFER_NOT_FOUND "ethersrv did not find the buff given filter reg",
657 failure NOT_ENOUGH_MEM "not enough internal memory with driver",
658 failure CANT_TRANSMIT "Cant transmit the packet",
659 failure INVALID_STATE "VNIC is in invalid state for current operation",
660 failure FRAME_CAP_MAP "Cant map the frame cap in address space",
664 //errors in port management
665 errors filter PORT_ERR_ {
666 failure NOT_ENOUGH_MEMORY "Not enough memory for internals of port mng",
667 failure NO_MORE_PORT "No free port available",
668 failure IN_USE "Requested port is already in use",
669 failure REDIRECT "Requested port cannot be redirected",
670 failure NOT_FOUND "Could not find requested port to close",
676 //errors in Filter management
677 errors filter FILTER_ERR_ {
678 failure NOT_ENOUGH_MEMORY "Not enough memory to register filters",
679 failure BUFF_NOT_FOUND "Buffer given for filter reg. not found on driver",
680 failure FILTER_BUSY "Filter memory is busy in another operation.Try Again",
681 failure NO_NETD_MEM "Netd memory for filter is not registered",
682 failure FILTER_NOT_FOUND "requested filter for de/re-registration not found",
683 failure BUFFER_NOT_FOUND "requested filter for re-registration not found",
687 // errors generated in the terminal library
688 errors term TERM_ERR_ {
689 failure TERMINAL_IN_USE "Can not associate session with terminal, the terminal is already in use",
690 failure NOT_PART_OF_SESSION "Domain is not part of a session",
691 failure EXPORT_SESSION_INTERFACE "Failed to export terminal session interface",
692 failure REGISTER_SESSION_INTERFACE "Failed to register terminal session interface at nameservice",
693 failure EXPORT_OUT_INTERFACE "Failed to export terminal interface for outgoing characters",
694 failure EXPORT_IN_INTERFACE "Failed to export terminal interface for incoming characters",
695 failure EXPORT_CONF_INTERFACE "Failed to export terminal configuration interface for configuration messages",
696 failure ASSOCIATE_WITH_TERM_REPLY "Failed to send session_associate_with_terminal_reply",
697 failure RECV_CHARS "Received characters at outgoing characters interface",
698 failure SEND_CHARS "Could not send characters to client",
699 failure RECV_CONFIGURATION "Received a configuration message a the client",
700 failure FILTER_NOT_FOUND "Could not find filter specified for removal",
701 failure TRIGGER_NOT_FOUND "Could not find trigger specified for removal",
702 failure LOOKUP_SESSION_RECORD "Error looking up session record at octopus",
703 failure PARSE_SESSION_RECORD "Error parsing session record",
704 failure BIND_IN_INTERFACE "Failed to bind to terminal interface for incoming characters",
705 failure BIND_OUT_INTERFACE "Failed to bind to terminal interface for outgoing characters",
706 failure BIND_CONF_INTERFACE "Failed to bind to terminal configuration interface",
707 failure IO "Terminal I/O error",
708 failure TX_BUSY "Failed to send message, terminal client is busy",
709 failure UNKNOWN_CONFIG_OPT "Unknown configuration option",
710 failure CHANGE_WAITSET "Failed to change the waitset",
713 // errors generated by libangler
714 errors angler ANGLER_ERR_ {
715 failure LOOKUP_TERMINAL "Error looking up iref of terminal session interface at nameservice",
716 failure CREATE_SESSIONID "Error creating ID capability used to represent session",
717 failure BIND_TERMINAL "Error binding to terminal session interface",
718 failure INIT_RPCCLIENT "Error initializing rpc client for terminal session interface",
719 failure ASSOCIATE_WITH_TERMINAL "Error associating session with terminal",
720 failure STORE_SESSION_STATE "Error storing session state at ocotpus",
724 errors trace TRACE_ERR_ {
725 failure NO_BUFFER "Trace buffer does not exist",
726 failure MAP_BUF "Failed to map trace buffer",
727 failure CREATE_CAP "Failed to create trace buffer cap",
728 failure CAP_COPY "Failed to copy trace buffer cap",
729 failure KERNEL_INVOKE "Failed to set up tracing in kernel",
732 errors driverkit DRIVERKIT_ {
733 failure NO_CAP_FOUND "No capability to map this address range.",
736 // errors in PCI/device handling
737 errors pci PCI_ERR_ {
738 failure IOAPIC_INIT "Failed in ioapic_init()",
739 failure MINT_IOCAP "Failed to mint IO cap",
740 failure ROUTING_IRQ "Failed while routing interrupt",
741 failure IRQTABLE_SET "Failed to set handler on local IRQ table",
742 failure UNKNOWN_GSI "Unknown global system interrupt number",
743 failure INVALID_VECTOR "Invalid interrupt vector",
744 failure DEVICE_INIT "Could not initialize device",
745 failure MEM_ALLOC "Could not allocate memory",
746 failure WRONG_INDEX "Invalid index for requested cap",
747 failure MSIX_NOTSUP "MSI-X is not sypported by the device",
748 failure MSIX_BADVECTOR "Invalid index for MSI-X vector",
749 failure MSIX_DISABLED "MSI-X is not enabled for this device",
753 errors acpi ACPI_ERR_ {
754 failure NO_MCFG_TABLE "No MCFG Table found.",
755 failure INVALID_PATH_NAME "Invalid ACPI path name.",
756 failure GET_RESOURCES "Failed to execute _CRT method.",
757 failure SET_IRQ "Failed to set IRQ for device.",
758 failure NO_MADT_TABLE "No APIC found in ACPI.",
762 errors skb SKB_ERR_ {
763 failure CONVERSION_ERROR "Conversion (parsing) of the result failed.",
764 failure EXECUTION "The SKB returned an error Check error code.",
765 failure EVALUATE "Failure in skb_evalute()",
766 failure RUN "Failure in running rpc: run",
767 failure GOAL_FAILURE "Posted goal could not be satisfied.",
768 failure UNEXPECTED_OUTPUT "Query produced output but none was expected.",
769 success IO_OUTPUT "Read I/O Output from SKB.",
772 // errors in a file system implementation
774 failure INVALID_FH "The given file handle is invalid or has expired",
775 failure NOTDIR "The given file handle is not a directory",
776 failure NOTFILE "The given file handle is not a file",
777 failure INDEX_BOUNDS "The given directory index is out of bounds",
778 failure NOTFOUND "The given name does not exist",
779 failure EXISTS "The given name already exists",
780 failure NOTEMPTY "The given directory is not empty",
782 failure BULK_NOT_INIT "The bulk transfer mode has not been initialised",
783 failure BULK_ALREADY_INIT "The bulk_init() call may only be made once per connection",
786 // errors in the vfs library
787 errors vfs VFS_ERR_ {
788 success EOF "End of file",
789 failure BAD_MOUNTPOINT "The mountpoint is invalid",
790 failure MOUNTPOINT_IN_USE "The given mountpoint is already in use",
791 failure BAD_URI "The URI given to mount is invalid",
792 failure UNKNOWN_FILESYSTEM "The filesystem type in the URI is unknown",
793 failure MOUNTPOINT_NOTFOUND "The given mountpoint doesn't exist",
794 failure NOT_SUPPORTED "The file type does not support this operation",
796 failure IN_OPEN "Nested error in vfs_open()",
797 failure IN_STAT "Nested error in vfs_stat()",
798 failure IN_READ "Nested error in vfs_read()",
800 failure BCACHE_LIMIT "Number of buffer cache connections exceeded",
804 // FIXME: someone could copy in the real error strings...
805 errors nfs NFS_ERR_ {
806 /* transport error */
807 failure TRANSPORT "Unknown error in underlying NFS RPC transport.",
810 failure MNT_PERM "Not owner",
811 failure MNT_NOENT "No such file or directory",
812 failure MNT_IO "I/O error",
813 failure MNT_ACCES "Permission denied",
814 failure MNT_NOTDIR "Not a directory",
815 failure MNT_INVAL "Invalid argument",
816 failure MNT_NAMETOOLONG "Filename too long",
817 failure MNT_NOTSUPP "Operation not supported",
818 failure MNT_SERVERFAULT "A failure on the server",
821 failure PERM "NFS error (PERM). See RFC1813.",
822 failure NOENT "NFS error (NOENT). See RFC1813.",
823 failure IO "NFS error (IO). See RFC1813.",
824 failure NXIO "NFS error (NXIO). See RFC1813.",
825 failure ACCES "NFS error (ACCES). See RFC1813.",
826 failure EXIST "NFS error (EXIST). See RFC1813.",
827 failure XDEV "NFS error (XDEV). See RFC1813.",
828 failure NODEV "NFS error (NODEV). See RFC1813.",
829 failure NOTDIR "NFS error (NOTDIR). See RFC1813.",
830 failure ISDIR "NFS error (ISDIR). See RFC1813.",
831 failure INVAL "NFS error (INVAL). See RFC1813.",
832 failure FBIG "NFS error (FBIG). See RFC1813.",
833 failure NOSPC "NFS error (NOSPC). See RFC1813.",
834 failure ROFS "NFS error (ROFS). See RFC1813.",
835 failure MLINK "NFS error (MLINK). See RFC1813.",
836 failure NAMETOOLONG "NFS error (NAMETOOLONG). See RFC1813.",
837 failure NOTEMPTY "NFS error (NOTEMPTY). See RFC1813.",
838 failure DQUOT "NFS error (DQUOT). See RFC1813.",
839 failure STALE "NFS error (STALE). See RFC1813.",
840 failure REMOTE "NFS error (REMOTE). See RFC1813.",
841 failure BADHANDLE "NFS error (BADHANDLE). See RFC1813.",
842 failure NOT_SYNC "NFS error (NOT_SYNC). See RFC1813.",
843 failure BAD_COOKIE "NFS error (BAD_COOKIE). See RFC1813.",
844 failure NOTSUPP "NFS error (NOTSUPP). See RFC1813.",
845 failure TOOSMALL "NFS error (TOOSMALL). See RFC1813.",
846 failure SERVERFAULT "NFS error (SERVERFAULT). See RFC1813.",
847 failure BADTYPE "NFS error (BADTYPE). See RFC1813.",
848 failure JUKEBOX "NFS error (JUKEBOX). See RFC1813.",
852 errors lwip LWIP_ERR_ {
853 failure MEM "Out of memory error.",
854 failure BUF "Buffer error.",
855 failure TIMEOUT "Timeout.",
856 failure RTE "Routing problem.",
857 failure ABRT "Connection aborted.",
858 failure RST "Connection reset.",
859 failure CLSD "Connection closed.",
860 failure CONN "Not connected.",
861 failure VAL "Illegal value.",
862 failure ARG "Illegal argument.",
863 failure USE "Address in use.",
864 failure IF "Low-level netif error",
865 failure ISCONN "Already connected.",
866 failure INPROGRESS "Operation in progress",
867 failure TXFULL "TX capacity is full, try again later",
870 // DIST library errors
871 errors dist DIST_ERR_ {
872 failure NS_REG "Name service register failed.",
873 failure NS_LOOKUP "Name service lookup failed.",
876 // octopus library errors
877 errors octopus OCT_ERR_ {
878 failure NO_RECORD "No record exists matching the specified query.",
879 failure NO_RECORD_NAME "Your query needs to specify a designated record name (no regex/variable allowed).",
880 failure CONSTRAINT_MISMATCH "The constraints you specified on set do not match the record in the database.",
881 failure QUERY_SIZE "Query is too big. Try to increase MAX_QUERY_LENGTH.",
882 failure INVALID_FORMAT "The read format you have specified is not valid.",
883 failure UNKNOWN_ATTRIBUTE "An attribute in your format was not found in the record.",
884 failure UNSUPPORTED_BINDING "This binding is unsupported by the underlying implementation.",
885 failure PARSER_FAIL "Record parser encountered syntax error.",
886 failure ENGINE_FAIL "Database error during query execution.",
887 failure NO_SUBSCRIPTION "No subscription found matching the query.",
888 failure NO_SUBSCRIBERS "No subscription found matching the query.",
889 failure MAX_SUBSCRIPTIONS "Failed to register subscription. Try to increase MAX_SUBSCRIPTIONS.",
890 failure INVALID_ID "Invalid Trigger ID.",
891 failure CAP_NAME_UNKNOWN "Capability storage: Unknown name.",
892 failure CAP_OVERWRITE "Capability storage: Cap already exists.",
893 failure IDCAP_INVOKE "Error invoking ID capability.",
896 // kaluga library errors
897 errors kaluga KALUGA_ERR_ {
898 failure PARSE_MODULES "Cannot parse menu.lst.",
899 failure MODULE_NOT_FOUND "Boot module not found.",
900 failure DRIVER_ALREADY_STARTED "Driver for this type of device is already running.",
901 failure DRIVER_NOT_AUTO "Driver not declared as auto in menu.lst.",
904 // errors generated by THC
906 failure CANCELED "Operation canceled",
909 // errors generated by memory server
911 failure SKB "Invalid data from SKB",
912 failure INIT_PEERS "Could not initialise peer data structures",
915 // errors generated by startd
916 errors startd STARTD_ERR_ {
917 failure BOOTMODULES "Invalid bootmodules file",
920 errors lox LOX_ERR_ {
921 failure INIT_LOCKS "Failure initialising locks",
922 failure NO_LOCKS "No more locks available",
925 // errors generated by VBE framebuffer driver
926 errors vbe VBE_ERR_ {
927 failure MODE_NOT_FOUND "Unknown/unsupported video mode requested",
928 failure BIOS_CALL_FAILED "Unknown error returned from VBE BIOS call",
931 // errors generated by ahcid and libahci
932 errors ahcid AHCI_ERR_ {
933 failure PORT_INVALID "Provided port id is not valid",
934 failure PORT_BUSY "Port has been opened elsewhere",
935 failure PORT_MISMATCH "Port is not opened by client",
936 failure NO_FREE_PRD "No free PRD left for user data",
937 failure ILLEGAL_ARGUMENT "Illegal argument in call",
940 errors sata SATA_ERR_ {
941 failure INVALID_TYPE "Unknown FIS type or invalid/unimplemented field for type",
944 errors mmchs MMC_ERR_ {
945 failure TRANSFER "Error during card read/write operation.",
946 FAILURE READ_READY "Card not ready for reading.",
947 FAILURE WRITE_READY "Card not ready for writing.",
950 // errors generated by FAT
951 errors fat FAT_ERR_ {
952 failure BAD_FS "Filesystem does not look like FAT, or is an unsupported kind of FAT",
955 // errors generated by VFS's fs cache library
956 errors cache FS_CACHE_ {
957 failure FULL "Cache is full",
958 failure NOTPRESENT "Requested key is not in cache",
959 failure CONFLICT "Cache already contains an item with the requested key",
962 // common/generic errors
964 failure NOTIMP "Not implemented",
967 errors bulk_transfer BULK_TRANSFER_ {
968 failure MEM "Internal not enough memory error",
969 failure NO_CALLBACK "No callback was set",
970 failure CHAN_CREATE "Channel create operation failed.",
971 failure CHAN_BIND "Channel bind operation failed.",
972 failure CHAN_ASSIGN_POOL "Channel assign pool operation failed.",
973 failure CHAN_STATE "Channel has a wrong state",
974 failure CHAN_TRUST "Channel has a invalid trust level.",
975 failure CHAN_INVALID_EP "Channel has an invalid endpoint.",
976 failure CHAN_DIRECTION "The channel has the wrong direction for this operation.",
977 failure POOL_INVALD "The pool does not match.",
978 failure POOL_NOT_ASSIGNED "The pool has not yet been assigned to a channel.",
979 failure POOL_ASSIGN_VETO "The assignment request of the pool has been vetoed.",
980 failure POOL_MAP "Mapping of the pool failed",
981 failure POOL_UNMAP "The Unmapping of the pool failed",
982 failure POOL_ALREADY_ASSIGNED "The pool has already been assigned to this channel.",
983 failure POOL_ALREADY_REMAPPED "The pool has already been remapped.",
984 failure BUFFER_NOT_OWNED "The supplied buffer is not owned by this domain.",
985 failure BUFFER_INVALID "The buffer is not valid.",
986 failure BUFFER_ALREADY_MAPPED "The buffer is already mapped.",
987 failure BUFFER_STATE "The buffer has a wrong state.",
988 failure BUFFER_REFCOUNT "The buffer has a wrong reference count.",
989 failure BUFFER_NOT_A_COPY "The released buffer is not a copy.",
990 failure BUFFER_MAP "The mapping of the buffer failed",
991 failure BUFFER_UNMAP "The unmapping of the buffer failed.",
992 failure ALLOC_BUFFER_SIZE "The supplied buffer size is not valid.",
993 failure ALLOC_BUFFER_COUNT "The supplied buffer count is not valid.",
994 failure INVALID_ARGUMENT "The supplied argument is invalid.",
995 failure SM_NO_PENDING_MSG "No pending message associated with that tid",
996 failure SM_EXCLUSIVE_WS "BULK_SM: Exclusive waitset required per channel.",
997 failure NET_MAX_QUEUES "The number of maximum queues is reached",
998 failure NET_POOL_USED "The pool is already used over a no-copy channel.",
1003 errors virtio VIRTIO_ERR_ {
1004 failure SIZE_INVALID "Size of the ringe is zero or not a power of two",
1005 failure MAX_INDIRECT "Too much indirect descriptors",
1006 failure CAP_SIZE "Supplied cap is too small",
1007 failure QUEUE_FULL "The queue was full",
1008 failure QUEUE_EMPTY "The queue was empty",
1009 failure BACKEND "Invalid backend",
1010 failure DEVICE_REGISTER "The device registers have not been mapped",
1011 failure NOT_VIRTIO_DEVICE "The device is not a VirtIO device",
1012 failure VERSION_MISMATCH "The VirtIO versions do mismatch",
1013 failure DEVICE_STATUS "VirtIO device has the wrong status",
1014 failure QUEUE_ACTIVE "The selected qeueue is already activated",
1015 failure QUEUE_INVALID "The selected queue does not exist",
1016 failure BUF_SIZE "The buffer size is invalid.",
1017 failure ARG_INVALID "The given argument is invalid.",
1018 failure NO_BUFFER "No buffer given, number of buffers is 0",
1019 failure ALLOC_FULL "The allocator is already full",
1020 failure BUF_USED "The buffer is already used",