3 * Copyright (c) 2009, 2010, 2011, 2012, ETH Zurich.
4 * Copyright (c) 2014, HP Labs.
7 * This file is distributed under the terms in the attached LICENSE file.
8 * If you do not find this file, copies can be found by writing to:
9 * ETH Zurich D-INFK, CAB F.78, Universitaetstr. 6, CH-8092 Zurich,
10 * Attn: Systems Group.
13 // Kernel/syscall errors
14 errors kernel SYS_ERR_ {
15 default success OK "Success",
17 // generic errors during system call handling
18 failure ILLEGAL_SYSCALL "Illegal system call number",
19 failure INVARGS_SYSCALL "Invalid system call arguments",
20 failure CALLER_ENABLED "Invalid system call while enabled",
21 failure CALLER_DISABLED "Invalid system call while disabled",
22 failure ILLEGAL_INVOCATION "Illegal capability invocation",
23 failure INVALID_USER_BUFFER "Invalid user space buffer",
26 failure LMP_NO_TARGET "There is no target dispatcher for this endpoint",
27 failure LMP_TARGET_DISABLED "Target of LMP is disabled",
28 failure LMP_BUF_OVERFLOW "The endpoint buffer is full",
29 failure LMP_EP_STATE_INVALID "Target has corrupt/invalid state in its endpoint structure",
30 failure LMP_CAPTRANSFER_SRC_LOOKUP "Error looking up source for cap transfer",
31 failure LMP_CAPTRANSFER_DST_CNODE_LOOKUP "Error looking up destination CNode for cap transfer",
32 failure LMP_CAPTRANSFER_DST_CNODE_INVALID "Destination CNode cap not of type CNode for cap transfer",
33 failure LMP_CAPTRANSFER_DST_SLOT_OCCUPIED "Destination slot is occupied for cap transfer",
34 failure LRPC_SLOT_INVALID "Invalid slot specified for LRPC",
35 failure LRPC_NOT_ENDPOINT "Slot specified for LRPC does not contain an endpoint cap",
36 failure INVALID_EPLEN "Endpoint buffer has invalid length",
38 // XXX: this should go away -AB
39 failure IDC_MSG_BOUNDS "Attempted to retrieve a word beyond the size of an LMP message structure",
41 // Generic CSpace lookup errors
42 failure CNODE_TYPE "Encountered non-CNode capability when resolving slot",
43 failure CNODE_RIGHTS "Insufficient rights on CNode",
44 failure DEPTH_EXCEEDED "Exceeded depth limit of CSpace",
45 failure GUARD_MISMATCH "Guard does not match",
46 failure CAP_NOT_FOUND "Capability not found (empty slot encountered)",
47 failure IDENTIFY_LOOKUP "Error while looking up cap to identify",
49 // Generic capability manipulation errors
50 failure SLOT_IN_USE "Destination capability slots occupied",
51 failure SLOT_LOOKUP_FAIL "Failure during slot lookup",
52 failure GUARD_SIZE_OVERFLOW "Specified guard size exceeds CSpace depth",
53 failure INVALID_SOURCE_TYPE "Invalid source capability type",
54 failure ILLEGAL_DEST_TYPE "Illegal destination capability type",
55 failure SOURCE_CAP_LOOKUP "Error looking up source capability",
56 failure DEST_CNODE_LOOKUP "Error looking up destination CNode",
57 failure DEST_CNODE_INVALID "Destination CNode cap is not of type CNode",
58 failure ROOT_CAP_LOOKUP "Error looking up root capability",
59 failure DEST_TYPE_INVALID "Destination capability is of invalid type",
60 failure INVALID_RETYPE "Invalid source/destination type pair for retyping",
61 failure REVOKE_FIRST "Capability already has descendants or siblings",
62 failure INVALID_SIZE_BITS "Invalid size for new objects",
63 failure SLOTS_INVALID "Destination capability slots exceed capacity of CNode",
64 failure SLOTS_IN_USE "One or more destination capability slots occupied",
65 failure RETYPE_CREATE "Error while creating new capabilities in retype",
66 failure NO_LOCAL_COPIES "No copies of specified capability in local MDB",
67 failure RETRY_THROUGH_MONITOR "There is a remote copy of the capability, monitor must be involved to perform a cross core agreement protocol",
68 failure TYPE_NOT_CREATABLE "Specified capability type is not creatable at runtime. Consider retyping it from another capability.",
70 // errors on the monitor-kernel interface
71 failure DELETE_LAST_OWNED "Tried to delete the last copy of a locally owned capability that may have remote copies",
72 failure CAP_LOCKED "The cap has already been locked",
73 success RAM_CAP_CREATED "A new RAM cap has been created",
75 // errors specific to page mapping
76 failure VNODE_SLOT_INVALID "Destination slot exceeds size of page table",
77 failure WRONG_MAPPING "Wrong source/destination mapping type",
78 failure FRAME_OFFSET_INVALID "Specified offset exceeds size of frame",
79 failure VNODE_SLOT_RESERVED "Destination slot is reserved",
80 failure VNODE_SLOT_INUSE "Destination slot in use: unmap first",
81 failure VNODE_TYPE "Encountered non-VNode capability when manipulating page tables",
82 failure VNODE_LOOKUP_NEXT "Could not find next level page table",
83 failure VNODE_NOT_INSTALLED "VNode not in rooted page table tree",
84 failure VM_ALREADY_MAPPED "This cap copy is already mapped",
85 failure VM_MAP_SIZE "Mapping size too large",
86 failure VM_MAP_OFFSET "Mapping offset too large",
87 failure VM_RETRY_SINGLE "Mapping overlaps multiple leaf page tables, retry",
89 // errors related to IRQ table
90 failure IRQ_LOOKUP "Specified capability was not found while inserting in IRQ table",
91 failure IRQ_NOT_ENDPOINT "Specified capability is not an endpoint cap",
92 failure IRQ_NO_LISTENER "No listener on specified endpoint cap", // ??
93 failure IRQ_INVALID "Invalid interrupt number",
94 failure IRQ_NO_FREE_VECTOR "Unable to allocate vector",
97 failure IO_PORT_INVALID "IO port out of range",
99 // Dispatcher setup and spawn core invocations
100 failure DISP_CSPACE_ROOT "Error setting CSpace root on dispatcher",
101 failure DISP_CSPACE_INVALID "Invalid capability type given for CSpace root on dispatcher",
102 failure DISP_VSPACE_ROOT "Error setting VSpace root on dispatcher",
103 failure DISP_VSPACE_INVALID "Invalid capability type given for VSpace root on dispatcher",
104 failure DISP_FRAME "Error setting dispatcher frame",
105 failure DISP_FRAME_INVALID "Invalid capability type given for dispatcher frame",
106 failure DISP_NOT_RUNNABLE "Cannot run dispatcher; it is not completely setup",
107 failure DISP_CAP_LOOKUP "Error looking up dispatcher cap",
108 failure DISP_CAP_INVALID "Invalid type capability given for dispatcher cap",
109 failure KERNEL_MEM_LOOKUP "Error looking up capability for kernel memory",
110 failure KERNEL_MEM_INVALID "Invalid capability type passed for kernel memory",
111 failure CORE_NOT_FOUND "Unable to boot core: core ID does not exist",
112 failure ARCHITECTURE_NOT_SUPPORTED "Unable to boot core: specified architecture is not supported by kernel",
113 failure INVALID_YIELD_TARGET "Target capability for directed yield is invalid",
114 failure DISP_OCAP_LOOKUP "Error looking up other dispatcher cap",
116 // VMKit specific errors
117 failure VMKIT_UNAVAIL "Virtualization extensions are unavailable",
118 failure VMKIT_VMCB "Error setting VMCB for dispatcher",
119 failure VMKIT_VMCB_INVALID "Invalid frame capability passed for VMCB",
120 failure VMKIT_CTRL "Error setting control area for dispatcher",
121 failure VMKIT_CTRL_INVALID "Invalid frame capability passed for control structure",
122 failure VMKIT_ENDPOINT "Error setting monitor endpoint for dispatcher",
123 failure VMKIT_ENDPOINT_INVALID "Invalid monitor endpoint capability passed",
125 // Serial port errors
126 failure SERIAL_PORT_INVALID "Invalid serial port",
127 failure SERIAL_PORT_UNAVAILABLE "Serial port unavailable",
129 // Performance monitoring errors
130 failure PERFMON_NOT_AVAILABLE "Performance monitoring feature unavailable",
132 // Time synchronization errors
133 failure SYNC_MISS "Missed synchronization phase",
136 failure CROSS_MC "Frame crosses memory controllers",
139 failure ID_SPACE_EXHAUSTED "ID space exhausted",
142 // XXX: should not be in kernel
143 failure I2C_UNINITIALIZED "Trying to use uninitialized i2c controller",
144 failure I2C_ZERO_LENGTH_MSG "Zero byte transfers not allowed",
145 failure I2C_WAIT_FOR_BUS "Wait for bus free timed out",
146 failure I2C_FAILURE "I2C subsystem failure",
148 // KCB and related errors
149 failure KCB_NOT_FOUND "Did not find the given kcb.",
152 // errors generated by libmdb
153 errors libcaps CAPS_ERR_ {
155 failure INVALID_ARGS "Invalid arguments",
158 failure MDB_ALREADY_INITIALIZED "MDB not emtpy during restore",
159 failure MDB_INVALID_STATE "MDB not in valid state after restore",
160 failure MDB_INVARIANT_VIOLATION "MDB invariant violated",
162 // mdb operation errors
163 failure MDB_DUPLICATE_ENTRY "Inserted entry already present",
164 failure MDB_ENTRY_NOTFOUND "Removed entry not found",
167 failure CAP_NOT_FOUND "Did not find a matching capability",
170 // errors generated by libbarrelfish code
171 errors libbarrelfish LIB_ERR_ {
173 failure WHILE_DELETING "Error while deleting capability",
174 failure WHILE_FREEING_SLOT "Error while freeing capability slot",
175 failure MALLOC_FAIL "Malloc returned NULL",
176 failure SLAB_ALLOC_FAIL "slab_alloc() returned NULL",
177 failure SLAB_REFILL "Refilling slab allocator failed",
178 failure NOT_IMPLEMENTED "functionality not implemented yet",
179 failure SHOULD_NOT_GET_HERE "Should not get here",
180 failure NOT_CNODE "Function invoked on a capref, that does not represent a CNode",
182 // nested errors in specific functions
183 failure FRAME_ALLOC "Failure in frame_alloc()",
184 failure FRAME_CREATE "Failure in frame_create()",
185 failure FRAME_CREATE_MS_CONSTRAINTS "frame_create() failed due to constraints to mem_serv in ram_alloc",
186 failure VNODE_CREATE "Failure in vnode_create()",
187 failure CNODE_CREATE "Failure in cnode_create()",
188 failure CNODE_CREATE_FROM_MEM "Failure in cnode_create_from_mem()",
189 failure RAM_ALLOC "Failure in ram_alloc()",
190 failure RAM_ALLOC_WRONG_SIZE "Wrong size of memory requested in ram alloc",
191 failure RAM_ALLOC_MS_CONSTRAINTS "Ram alloc failed due to constraints to mem_serv",
192 failure CAP_MINT "Failure in cap_mint()",
193 failure CAP_COPY "Failure in cap_copy()",
194 failure CAP_RETYPE "Failure in cap_retype()",
195 failure DEVFRAME_TYPE "Failure in devframe_type()",
196 failure CAP_DELETE "Failure in cap_delete()",
197 failure CAP_DESTROY "Failure in cap_destroy()",
198 failure CAP_INVOKE "Failure in cap_invoke()",
199 failure ENDPOINT_CREATE "Failure in endpoint_create()",
200 failure FRAME_IDENTIFY "Failure in frame_identify",
201 failure VNODE_MAP "Failure in vnode_map()",
202 failure VNODE_UNMAP "Failure in vnode_unmap()",
203 failure IDC_ENDPOINT_ALLOC "Failure in idc_endpoint_alloc()",
205 failure SLOT_ALLOC_INIT "Failure in slot_alloc_init()",
206 failure SLOT_ALLOC_NO_SPACE "Slot allocator is out of space",
207 failure SLOT_ALLOC_WRONG_CNODE "The slot to free does not belong in this cnode",
208 failure SINGLE_SLOT_ALLOC_INIT_RAW "Failure in single_slot_alloc_init_raw()",
209 failure SINGLE_SLOT_ALLOC_INIT "Failure in single_slot_alloc_init()",
210 failure MULTI_SLOT_ALLOC_INIT "Failure in multi_slot_alloc_init()",
211 failure MULTI_SLOT_ALLOC_INIT_RAW "Failure in multi_slot_alloc_init_raw()",
212 failure SINGLE_SLOT_ALLOC "Failure in single_slot_alloc()",
213 failure SLOT_ALLOC "Failure in slot_alloc()",
214 failure SLOT_FREE "Failure in slot_free()",
215 failure SLOT_UNALLOCATED "slot_free() was called on an unallocated slot",
218 failure VSPACE_CURRENT_INIT "Failure in vspace_current_init()",
219 failure VSPACE_INIT "Failure in vspace_init()",
220 failure VSPACE_LAYOUT_INIT "Failure in vspace_layout_init()",
221 failure VSPACE_DESTROY "Failure in vspace_destroy()",
222 failure VSPACE_REGION_OVERLAP "Overlap with existing region in vspace_add_region()",
223 failure VSPACE_ADD_REGION "Failure in vspace_add_region()",
224 failure VSPACE_REMOVE_REGION "Failure in vspace_remove_region()",
225 failure VSPACE_PAGEFAULT_HANDER "Failure in vspace_pagefault_handler()",
226 failure VSPACE_VREGION_NOT_FOUND "The vregion to remove not found in the vspace list",
227 failure VSPACE_PAGEFAULT_ADDR_NOT_FOUND "The faulting address not found in the page fault handler",
229 failure VSPACE_PINNED_INIT "Failure in vspace_pinned_init()",
230 failure VSPACE_PINNED_ALLOC "Failure in vspace_pinned_alloc()",
231 failure VSPACE_PINNED_INVALID_TYPE "Wrong type of slab requested",
233 failure VREGION_MAP "Failure in vregion_map()",
234 failure VREGION_MAP_FIXED "Failure in vregion_map_fixed()",
235 failure VREGION_NOT_FOUND "vregion not found in the vspace list",
236 failure VREGION_DESTROY "Failure in vregion_destroy()",
237 failure VREGION_PAGEFAULT_HANDLER "Failure in vregion_pagefault_handler()",
238 failure VREGION_BAD_ALIGNMENT "Unaligned address passed to vregion_map_fixed",
240 failure MEMOBJ_CREATE_ANON "Failure in memobj_create_anon()",
241 failure MEMOBJ_CREATE_ONE_FRAME "Failure in memobj_create_one_frame()",
242 failure MEMOBJ_CREATE_ONE_FRAME_ONE_MAP "Failure in memobj_create_one_frame_one_map()",
243 failure MEMOBJ_CREATE_PINNED "Failure in memobj_create_pinned()",
244 failure MEMOBJ_CREATE_VFS "Failure in memobj_create_vfs()",
245 failure MEMOBJ_MAP_REGION "Failure in memobj_map_region()",
246 failure MEMOBJ_UNMAP_REGION "Failure in memobj_unmap_region()",
247 failure MEMOBJ_PIN_REGION "Failure in memobj_pin_region()",
248 failure MEMOBJ_UNPIN_REGION "Failure in memobj_unpin_region()",
249 failure MEMOBJ_FILL "Failure in memobj_fill()",
250 failure MEMOBJ_PAGEFAULT_HANDLER "Failure in memobj_pagefault_handler()",
251 failure MEMOBJ_PAGER_FREE "Failure in memobj_pager_free()",
252 failure MEMOBJ_WRONG_OFFSET "Wrong offset passed",
253 failure MEMOBJ_FRAME_ALLOC "Failure the frame alloc function pointer",
254 failure MEMOBJ_VREGION_ALREADY_MAPPED "Pinned memobj only supports one vregion",
255 failure MEMOBJ_UNFILL_TOO_HIGH_OFFSET "The offset given to unfill is too large",
256 failure MEMOBJ_PROTECT "Failure in memobj protect call",
257 failure MEMOBJ_DUPLICATE_FILL "The offset given to fill is already backed",
259 failure PMAP_INIT "Failure in pmap_init()",
260 failure PMAP_CURRENT_INIT "Failure in pmap_current_init()",
261 failure PMAP_DETERMINE_ADDR "Failure in pmap_determine_addr()",
262 failure PMAP_DO_MAP "Failure in pmap_do_map()",
263 failure PMAP_MAP "Failure in pmap_map()",
264 failure PMAP_DO_SINGLE_MAP "Failure in pmap_do_single_map()",
265 failure PMAP_UNMAP "Failure in pmap_unmap()",
266 failure PMAP_DO_SINGLE_UNMAP "Failure in pmap_do_single_unmap()",
267 failure PMAP_MODIFY_FLAGS "Failure in pmap_modify_flags()",
268 failure PMAP_GET_PTABLE "Failure in get_mapping()",
269 failure PMAP_ALLOC_VNODE "Failure in alloc_vnode()",
270 failure PMAP_ADDR_NOT_FREE "The requested address range is not free",
271 failure PMAP_FIND_VNODE "vnode not found",
272 failure PMAP_EXISTING_MAPPING "Cannot replace existing mapping, unmap first",
273 failure PMAP_FRAME_SIZE "Given Frame to small to fulfil mapping request",
274 failure PMAP_FRAME_IDENTIFY "Frame could not be identified",
276 failure OUT_OF_VIRTUAL_ADDR "Out of virtual address",
278 failure SERIALISE_BUFOVERFLOW "Buffer overflow while serialising",
280 failure VSPACE_MAP "Failure in vspace_map() wrapper function",
282 failure VSPACE_MMU_AWARE_INIT "Failure in vspace_mmu_aware_init() function",
283 failure VSPACE_MMU_AWARE_MAP "Failure in vspace_mmu_aware_map() function",
284 failure VSPACE_MMU_AWARE_NO_SPACE "Out of space in vspace_mmu_aware_map() function",
286 // Performance counters
287 failure INVOKE_PERFMON_SETUP "Error in invoke perfmon setup",
288 failure INVOKE_PERFMON_WRITE "Error in invoke perfmon write",
291 failure CORESET_NEW "Failure in coreset_new()",
292 failure CORESET_GET_NEXT_DONE "No more elements left in coreset_get_next()",
294 // IDC (and LMP/UMP channels)
295 failure NO_LMP_MSG "No LMP message available",
296 failure LMP_RECV_BUF_OVERFLOW "LMP message in endpoint is longer than user-provided buffer",
297 failure NO_UMP_MSG "No UMP message available",
298 failure UMP_CHAN_FULL "Cannot send UMP: channel is full",
299 failure LMP_BUFLEN_INVALID "Cannot create LMP endpoint, invalid buffer length",
300 failure NO_ENDPOINT_SPACE "Cannot allocate LMP endpoint, out of space in dispatcher frame",
301 failure UMP_BUFSIZE_INVALID "Size of UMP buffer is invalid (must be multiple of message size)",
302 failure UMP_BUFADDR_INVALID "Address of UMP buffer is invalid (must be cache-aligned)",
303 failure UMP_FRAME_OVERFLOW "Provided frame is too small for requested UMP channel sizes",
304 failure LMP_ENDPOINT_REGISTER "Failure in lmp_endpoint_register()",
305 failure CHAN_REGISTER_SEND "Failure in *_chan_register_send()",
306 failure CHAN_DEREGISTER_SEND "Failure in *_chan_deregister_send()",
307 failure CHAN_REGISTER_RECV "Failure in *_chan_register_recv()",
308 failure CHAN_DEREGISTER_RECV "Failure in *_chan_deregister_recv()",
309 failure LMP_CHAN_INIT "Failure in lmp_chan_init()",
310 failure UMP_CHAN_INIT "Failure in ump_chan_init()",
311 failure LMP_CHAN_RECV "Failure in lmp_chan_recv()",
312 failure UMP_CHAN_RECV "Failure in ump_chan_recv()",
313 failure LMP_CHAN_SEND "Failure in lmp_chan_send()",
314 failure LMP_CHAN_BIND "Failure in lmp_chan_bind()",
315 failure UMP_CHAN_BIND "Failure in ump_chan_bind()",
316 failure LMP_CHAN_ACCEPT "Failure in lmp_chan_accept()",
317 failure UMP_CHAN_ACCEPT "Failure in ump_chan_accept()",
318 failure LMP_ALLOC_RECV_SLOT "Failure in lmp_chan_alloc_recv_slot()",
319 failure LMP_NOT_CONNECTED "Channel is disconnected",
320 failure MSGBUF_OVERFLOW "Attempted to demarshall beyond bounds of message buffer",
321 failure MSGBUF_CANNOT_GROW "Failed to grow message buffer while marshalling",
322 failure RCK_NOTIFY "Failure in rck_notify()",
323 failure IPI_NOTIFY "Failure in ipi_notify()",
325 // IDC binding/export and Monitor client interface
326 failure MONITOR_CLIENT_BIND "Error in monitor_client_lmp_bind()",
327 failure MONITOR_CLIENT_ACCEPT "Error in monitor_client_lmp_accept()",
328 failure NAMESERVICE_NOT_BOUND "Name service client is not bound",
329 failure NAMESERVICE_UNKNOWN_NAME "Lookup failed: unknown name",
330 failure NAMESERVICE_INVALID_NAME "Invalid record retrieved (no iref attribute)",
331 failure BIND_LMP_REQ "Failure sending bind_lmp_request to monitor",
332 failure BIND_UMP_REQ "Failure sending bind_ump_request to monitor",
333 failure BIND_LMP_REPLY "Failure sending bind_lmp_reply to monitor",
334 failure BIND_UMP_REPLY "Failure sending bind_ump_reply to monitor",
335 failure NO_LMP_BIND_HANDLER "LMP connection handler not registered for this service",
336 failure NO_UMP_BIND_HANDLER "UMP connection handler not registered for this service",
337 failure MONITOR_CAP_SEND "Failed sending capability via monitor",
338 failure MONITOR_RPC_BIND "Error in monitor_rpc_init()",
339 failure MONITOR_RPC_NULL "Monitor RPC client is uninitialized",
342 failure BIND_MULTIHOP_REQ "Failed sending bind_multihop_request to monitor",
343 failure NO_MULTIHOP_BIND_HANDLER "MULTIHOP connection handler not registered for this service",
344 failure BIND_MULTIHOP_SAME_CORE "Cannot create a multihop channel to service on the same core",
347 failure BULK_UNKNOWN_ID "Unknown bulk transfer block ID",
350 failure NO_SPANNED_DISP "There is no spanned dispatcher on the given core",
351 failure SEND_RUN_FUNC_REQUEST "Failure in trying to send run_func_request",
352 failure SEND_CAP_REQUEST "Failure in trying to send capability",
353 failure CAP_COPY_FAIL "cap_copy failed",
354 failure CAP_DELETE_FAIL "cap_delete failed",
357 failure RAM_ALLOC_SET "Failure in ram_alloc_set()",
358 failure MORECORE_INIT "Failure in morecore_init()",
359 failure MONITOR_CLIENT_INIT "Failure in monitor_client_init",
360 failure MONITOR_CLIENT_CONNECT "Failure in monitor_client_connect",
361 failure TERMINAL_INIT "Failure in terminal_init()",
362 failure DOMAIN_INIT "Failure in domain_init()",
363 failure GET_MON_BLOCKING_IREF "Error while retrieving monitor's blocking channel service IREF from monitor",
364 failure GET_MEM_IREF "Failure sending memory iref request",
365 failure GET_NAME_IREF "Error while retrieving name service IREF from monitor",
366 failure GET_RAMFS_IREF "Error while retrieving ramfsd service IREF from monitor",
367 failure NAMESERVICE_CLIENT_INIT "Failure initialising nameservice client",
370 failure THREAD_CREATE "A version of thread create failed",
371 failure THREAD_JOIN "Joining more than once not allowed",
372 failure THREAD_JOIN_DETACHED "Tried to join with a detached thread",
373 failure THREAD_DETACHED "Thread is already detached",
375 // Waitset/event code
376 failure CHAN_ALREADY_REGISTERED "Attempt to register for an event on a channel which is already registered",
377 failure CHAN_NOT_REGISTERED "Channel is not registered with a waitset",
378 failure WAITSET_IN_USE "Waitset has pending events or blocked threads",
379 failure WAITSET_CHAN_CANCEL "Error in waitset_chan_cancel()",
380 failure NO_EVENT "Nothing pending in check_for_event()",
381 failure EVENT_DISPATCH "Error in event_dispatch()",
382 failure EVENT_ALREADY_RUN "Error in event_queue_cancel(): event has already been run",
383 failure EVENT_QUEUE_EMPTY "Error in event_queue_trigger(): queue is empty",
385 // LDT management on x86
386 failure SEGBASE_OVER_4G_LIMIT "Segment base address is above 32-bit boundary",
387 failure LDT_FULL "LDT is out of space",
388 failure LDT_SELECTOR_INVALID "Segment selector is invalid for LDT",
391 // errors in Flounder-generated bindings
392 errors flounder FLOUNDER_ERR_ {
393 failure INVALID_STATE "Invalid/corrupt state in binding structure",
394 failure TX_BUSY "Cannot queue message for transmit: queue is full",
395 failure RX_EMPTY_MSG "Incoming message invalid: empty payload",
396 failure RX_INVALID_MSGNUM "Incoming message invalid: unknown message code",
397 failure RX_INVALID_LENGTH "Incoming message has invalid length",
398 failure BUF_RECV_MORE "(internal) incomplete buffer received; call again for more",
399 failure BUF_SEND_MORE "(internal) incomplete buffer sent; call again to send more",
400 failure GENERIC_BIND_NO_MORE_DRIVERS "Generic bind() call failed after trying all enabled interconnect drivers",
401 failure CHANGE_WAITSET "Error in change_waitset() call",
402 failure CHANGE_MONITOR_WAITSET "Error changing waitset on underlying monitor binding",
403 failure UMP_ALLOC_NOTIFY "Error while allocating notify cap/state for UMP",
404 failure UMP_STORE_NOTIFY "Error while storing notify cap for UMP",
406 failure BIND "Error in flounder generated bind call",
408 // XXX: errors from old flounder stubs, to be removed
409 failure CREATE_MSG "Flounder marshalling code failed: create_msg() returned NULL", // FIXME
410 failure MARSHALLING "Error while marshalling",
411 failure DEMARSHALLING "Error while demarshalling",
412 failure RPC_MISMATCH "RPC response not matching the call",
416 // errors generated by chips name service
417 errors chips CHIPS_ERR_ {
418 failure GET_SERVICE_REFERENCE "Error getting service reference from name service",
419 failure GET_SERVICE_IREF "Error getting IREF from name service",
420 failure UNKNOWN_NAME "Lookup failed: unknown name",
421 failure EXISTS "Entry already exists",
422 failure GET_CAP "Error getting a capability from store",
423 failure PUT_CAP "Error putting a capability to store",
424 failure REMOVE_CAP "Error removing a capability from store",
425 failure OUT_OF_SEMAPHORES "Out of semaphores",
428 // errors generated by bcast library
429 errors bcast BCAST_ERR_ {
430 failure SEND "Failure in bcast_send function",
431 failure SEND_SSF "Failure in trying to send ssf msg",
434 // errors generated in the monitor-client protocol
435 errors mon_client MON_CLIENT_ERR_ {
436 failure SPAN_DOMAIN_REQUEST "Error sending span_domain_request msg",
437 failure URPC_BLOCK "Error sending urpc_block msg",
440 // errors generated by the Monitor
441 errors monitor MON_ERR_ {
442 failure IDC_BIND_NOT_SAME_CORE "Cannot perform IDC bind call: IREF is on another core",
443 failure INVALID_CORE_ID "Core ID is invalid (out of range)",
444 failure INVALID_IREF "Invalid IREF for bind call",
445 failure IREF_ALLOC "Cannot allocate IREF, table full",
446 failure SPAN_STATE_ALLOC "Failed to allocate span state",
447 failure SEND_REMOTE_MSG "Sending message to remote core failed",
448 failure INVALID_MON_ID "Monitor ID in message is invalid",
449 failure NO_MONITOR_FOR_CORE "No monitor loaded on this core ID",
450 failure CAP_IDENTIFY "Error in cap_identify",
451 failure CAP_CREATE "Failure creating new capability",
452 failure CAP_REMOTE "Failure in remote cap operation",
453 failure CAP_FOREIGN "Could not perform operation because cap is foreign",
454 failure CAP_MOVE "Cap could not be moved",
455 failure RCAP_DB_NOT_FOUND "Cannot find cap in remote cap db",
456 failure RCAP_DB_LOCK "Error gaining lock in remote cap db",
457 failure RCAP_DB_UNLOCK "Error unlocking cap in remote cap db",
458 failure RCAP_DB_ADD "Error adding cap to remote cap db",
459 failure SAME_CORE "Cannot perform operation on same core as caller",
460 failure REMOTE_CAP_NEED_REVOKE "Cap has descendants on another core, cannot be retyped",
461 failure REMOTE_CAP_RETRY "Remote Cap operation failed but retry",
462 failure SPAWN_CORE "Failure spawning a new core",
463 failure SPAWN_DOMAIN "Failure in trying to spawn a domain",
464 failure INTERN_NEW_MONITOR "Error in intern_new_monitor()",
465 failure CAP_SEND "Permanent error sending cap for URPC channel",
466 failure CAP_SEND_TRANSIENT "Transient error sending cap for URPC channel",
467 failure ROUTE_SET "Sending route set msg failed",
468 failure SPAN_DOMAIN "span_domain failed",
469 failure MAP_URPC_CHAN "failure while mapping in URPC channel state",
470 failure RAM_ALLOC_ERR "failure in ram_alloc, err failed",
471 failure RAM_ALLOC_RETERR "failure in ram_alloc, reterr failed",
472 failure MULTICAST_PAGE_MAP "Could not map the multicast page in monitor",
473 failure WRONG_CAP_TYPE "Cap of not expected type",
474 failure INTERN_SET "Failure in intern_set",
475 failure ROUTE_RESET "Failure in sending route reset msg",
476 failure MAP_MULTIBOOT "Failure in trying to map multiboot image",
477 failure UNICAST_SET "Failure in unicast_set()",
478 failure MULTICAST_SET "Failure in multicast_set()",
479 failure BCAST_INIT "Failure in bcast_init()",
480 failure BCAST_CONNECT "Failure in bcast_connect()",
481 failure CCAST_INIT "Failure in ccast_init()",
482 failure CCAST_CONNECT "Failure in ccast_connect()",
483 failure UNICAST_CONNECT "Failure in connecting unicast path",
484 failure MULTICAST_CONNECT "Failure in connecting multicast path",
485 failure UNICAST_INIT "Failure in initing unicast path",
486 failure MULTICAST_INIT "Failure in initing multicast path",
487 failure SPAWN_XCORE_MONITOR "Failure in spawn_xcore_monitor()",
488 failure INCOMPLETE_ROUTE "(Portion of) routing table not present",
490 // Resource controller
491 failure RSRC_ALLOC "Out of resource domains",
492 failure RSRC_MEMBER_LIMIT "Reached member limit of resource domain",
493 failure RSRC_ILL_MANIFEST "Illegal manifest",
494 failure RSRC_NOT_FOUND "Resource domain not found on this core",
497 failure CAPOPS_BUSY "Other end not ready for operation",
500 failure INVOKE_IRQ_ALLOCATE "Unable to allocate IRQ vector",
501 failure INVOKE_IRQ_SET "Unable to install IRQ vector",
504 // errors related to the routing library
505 errors routing ROUTE_ERR_ {
506 // These are for the old routing library, remove them when old lib is removed
507 failure NEW_ROUTE "Failure in creating a new route",
508 failure EXPORT "Failure in exporting new route",
509 failure LOOKUP "Failure in looking up new route",
510 failure BIND "Failure in binding with route",
511 failure CORE_NOT_FOUND "Core not found in unicast send",
512 failure SET_EXPECTED "Failure in using the set expected function",
513 failure SEND "Failure in using the send function",
514 failure NO_SLOTS "Convergecast route ran out of slots to hold records",
516 // These are for the new routing library
517 failure WRONG_GROUP_ID "Group id not found",
518 failure CALL_INIT "Call route_init before using this",
519 failure CREATE_GROUP_RPC "Error in using the create_group rpc",
520 failure SET_GROUP_RPC "Error in using the set_group rpc",
521 failure GET_GROUP_RPC "Error in using the get_group rpc",
522 failure ALLOC_NID_RPC "Error in using the alloc_nid rpc",
525 // errors related to spawn code
526 errors spawn SPAWN_ERR_ {
527 failure LOAD "Failure while loading",
528 failure SPAN "Failure while spanning",
529 failure RUN "Failure while making dispatcher runnable",
530 failure VSPACE_MAP "Nested failure in spawn_vspace_map",
531 failure GET_CMDLINE_ARGS "Failure in get_cmdline_args",
532 failure SETUP_ENV "Failure in spawn_setup_env",
533 failure UNKNOWN_TARGET_ARCH "Unknown target architecture type",
534 failure UNSUPPORTED_TARGET_ARCH "Unsupported target architecture type",
536 failure SETUP_CSPACE "Failure in spawn_setup_cspace",
537 failure DETERMINE_CPUTYPE "Failure in spawn_determine_cputype",
538 failure VSPACE_INIT "Failure in spawn_vspace_init",
539 failure SETUP_DISPATCHER "Failure in spawn_setup_dispatcher",
540 failure ELF_MAP "Failure in spawn_elf_map",
542 failure SET_CAPS "Failure in set_special_caps",
543 failure MONITOR_CLIENT "Failure in monitor_client_setup",
544 failure FREE "Failure in spawn_free",
547 failure CREATE_ROOTCN "Failure creating root CNode",
548 failure CREATE_TASKCN "Failure creating task CNode",
549 failure MINT_TASKCN "Failure minting task CNode into root CNode",
550 failure CREATE_PAGECN "Failure creating page CNode",
551 failure CREATE_VNODE "Failure creating top-level VNode",
552 failure COPY_VNODE "Failure copying top-level VNode from existing domain",
553 failure CREATE_DISPATCHER "Failure creating DCB",
554 failure CREATE_DISPATCHER_FRAME "Failure creating dispatcher frame",
555 failure CREATE_SELFEP "Failure creating endpoint to self",
556 failure CREATE_ARGSPG "Failure creating page for arguments",
557 failure CREATE_FDSPG "Failure creating page for file descriptors",
558 failure MINT_ROOTCN "Failure minting root CNode into task CNode",
559 failure CREATE_SLOTALLOC_CNODE "Failure creating slot_alloc cnode",
562 failure MAP_DISPATCHER_TO_NEW "Failure mapping dispatcher frame to new domain",
563 failure MAP_DISPATCHER_TO_SELF "Failure mapping dispatcher frame to parent",
564 failure MAP_ARGSPG_TO_NEW "Failure mapping arguments page to new domain",
565 failure MAP_ARGSPG_TO_SELF "Failure mapping arguments page to parent",
566 failure MAP_FDSPG_TO_NEW "Failure mapping file descriptors page to new domain",
567 failure MAP_FDSPG_TO_SELF "Failure mapping file descriptors page to parent",
569 failure FILL_SMALLCN "Failure filling smallcn of new domain",
570 failure MAP_BOOTINFO "Failure mapping bootinfo to new domain",
571 failure FIND_MODULE "Didn't find module to be spawned",
572 failure MAP_MODULE "Failed mapping in module",
573 failure CREATE_SEGCN "Failed to create segment CNode",
574 failure CREATE_SMALLCN "Failed to create small RAM caps CNode",
577 failure ARGSPG_OVERFLOW "Overflow in arguments page: too many arguments or environment variables",
578 failure SERIALISE_VSPACE "Error in serialising vspace data",
580 // setup inherited caps
581 failure SETUP_INHERITED_CAPS "Failure setup inherited caps",
583 // setup argument caps
584 failure SETUP_ARGCN "Failure setup CNode containing caps passed as arguments",
585 failure COPY_ARGCN "Error copying CNode containing caps passed as arguments",
587 // setup file descriptors
588 failure SETUP_FDCAP "Failure setting up frame for copying file descriptors",
589 failure FDSPG_OVERFLOW "Overflow in file descriptors page: too many file descriptors",
591 // setup session id cap
592 failure SETUP_SIDCAP "Failure setting up session capability",
594 failure SETUP_KERNEL_CAP "Failure setting up kernel capability",
597 failure DELETE_ROOTCN "Failure deleting root CNode cap in parent",
598 failure FREE_ROOTCN "Failure freeing slot for root CNode cap in parent",
599 failure DELETE_TASKCN "Failure deleting task CNode cap in parent",
600 failure FREE_TASKCN "Failure freeing slot for task CNode cap in parent",
602 failure COPY_PACN "Error copying phys addr CNode cap",
603 failure COPY_MODULECN "Error copying module CNode cap",
604 failure COPY_IRQ_CAP "Error copying IRQ cap",
605 failure COPY_IO_CAP "Error copying IO cap",
606 failure COPY_PERF_MON "Error copying performance monitoring cap",
607 failure COPY_KERNEL_CAP "Error copying Kernel cap",
608 failure COPY_INHERITCN_CAP "Error copying capability from inherited cnode",
611 failure DISPATCHER_SETUP "Dispatcher setup",
614 failure DOMAIN_ALLOCATE "No more domain descriptors",
615 failure DOMAIN_NOTFOUND "Domain not found",
616 failure DOMAIN_RUNNING "Domain is running",
618 failure FIND_SPAWNDS "Unable to find spawn daemons",
619 failure MALFORMED_SPAWND_RECORD "Spawn record without ID found?",
622 // errors from ELF library
623 errors libelf ELF_ERR_ {
624 failure FILESZ "Invalid file size",
625 failure HEADER "Incompatible ELF header",
626 failure PROGHDR "Failed program header sanity checks",
627 failure ALLOCATE "Nested failure in allocator function",
628 failure NOT_PAGE_ALIGNED "Unaligned load address specified in ELF header",
631 // errors from memory management library
632 errors libmm MM_ERR_ {
633 failure FIND_NODE "Failure in find_node()",
634 failure CHUNK_NODE "Failure in chunk_node()",
635 failure SLOT_MM_ALLOC "Nested failure in slot allocator calling mm_alloc",
636 failure SLOT_NOSLOTS "Slot allocator has run out of slots",
637 failure SLOT_ALLOC_INIT "Failure initialising slot allocator",
638 failure MM_INIT "Failure in mm_init()",
639 failure MM_ADD "Failure in mm_add()",
640 failure MM_FREE "Failure in mm_free()",
641 failure NEW_NODE "Failed allocating new node from slot allocator",
642 failure OUT_OF_BOUNDS "Given memory base address / size exceeds bounds of allocator",
643 failure ALREADY_PRESENT "Node already present in add_node()",
644 failure ALREADY_ALLOCATED "Requested node already allocated in find_node()",
645 failure NOT_FOUND "No matching node found",
646 failure MISSING_CAPS "Region exists in allocator, but intermediate caps are missing",
647 failure CHUNK_SLOT_ALLOC "Failure allocating slots for chunking",
648 failure RESIZE_NODE "Nested failure in resize_node()",
649 failure REALLOC_RANGE "Nested failure in realloc_range()",
653 errors init INIT_ERR_ {
654 failure SPAWN_MEM_SERV "Failed to spawn mem_serv",
655 failure INIT_MEM_SERV "Failed to initialise mem_serv",
656 failure SPAWN_MONITOR "Failed to spawn monitor",
657 failure INIT_MONITOR "Failed to init monitor",
658 failure COPY_EP_TO_MEM_SERV "Failed copying EP to mem_serv",
659 failure COPY_EP_TO_MONITOR "Failed copying EP to monitor",
660 failure SETUP_MONITOR_CHAN "Failed setting up channel to monitor",
661 failure SETUP_MEM_SERV_CHAN "Failed setting up channel to mem_serv",
662 failure RUN_MONITOR "Failed to make monitor runnable",
663 failure RUN_MEM_SERV "Failed to make mem_serv runnable",
664 failure FREE_MONITOR "Failed to free spawn caps from monitor",
665 failure FREE_MEM_SERV "Failed to free spawn caps from mem_serv",
666 failure COPY_SUPERCN_CAP "Failed to copy superCN cap to mem_serv",
667 failure MAP_BOOTINFO "Failed to map bootinfo to child",
668 failure COPY_KERNEL_CAP "Failed to copy kernel cap to monitor",
669 failure COPY_IPI "Failed to copy IPI cap to monitor",
670 failure COPY_PERF_MON "Failed to copy performance monitoring cap to monitor",
671 failure COPY_MODULECN_CAP "Failed to copy module CNode cap to monitor",
672 failure COPY_PACN_CAP "Failed to copy phys addr CNode cap to monitor",
673 failure COPY_IRQ_CAP "Failed to copy IRQ cap to monitor",
674 failure COPY_IO_CAP "Failed to copy IO cap to monitor",
675 failure COPY_UMP_CAP "Failed to copy UMP cap to monitor",
676 failure NO_MATCHING_RAM_CAP "No suitably-sized RAM cap found when initialising local memory allocator",
679 //errors in continuation management
680 errors filter CONT_ERR_ {
681 failure NO_MORE_SLOTS "No free slots available",
687 errors ethersrv ETHERSRV_ERR_ {
688 failure TOO_MANY_BUFFERS "ethersrv failed to allocate a new buffer descriptor in register_buffer",
689 failure TOO_MANY_VNICS "MAX_VNICS reached, can't create more VNICS",
690 failure BUFFER_NOT_FOUND "ethersrv did not find the buff given filter reg",
691 failure NOT_ENOUGH_MEM "not enough internal memory with driver",
692 failure CANT_TRANSMIT "Cant transmit the packet",
693 failure INVALID_STATE "VNIC is in invalid state for current operation",
694 failure FRAME_CAP_MAP "Cant map the frame cap in address space",
698 //errors in port management
699 errors filter PORT_ERR_ {
700 failure NOT_ENOUGH_MEMORY "Not enough memory for internals of port mng",
701 failure NO_MORE_PORT "No free port available",
702 failure IN_USE "Requested port is already in use",
703 failure REDIRECT "Requested port cannot be redirected",
704 failure NOT_FOUND "Could not find requested port to close",
710 //errors in Filter management
711 errors filter FILTER_ERR_ {
712 failure NOT_ENOUGH_MEMORY "Not enough memory to register filters",
713 failure BUFF_NOT_FOUND "Buffer given for filter reg. not found on driver",
714 failure FILTER_BUSY "Filter memory is busy in another operation.Try Again",
715 failure NO_NETD_MEM "Netd memory for filter is not registered",
716 failure FILTER_NOT_FOUND "requested filter for de/re-registration not found",
717 failure BUFFER_NOT_FOUND "requested filter for re-registration not found",
721 // errors generated in the terminal library
722 errors term TERM_ERR_ {
723 failure TERMINAL_IN_USE "Can not associate session with terminal, the terminal is already in use",
724 failure NOT_PART_OF_SESSION "Domain is not part of a session",
725 failure EXPORT_SESSION_INTERFACE "Failed to export terminal session interface",
726 failure REGISTER_SESSION_INTERFACE "Failed to register terminal session interface at nameservice",
727 failure EXPORT_OUT_INTERFACE "Failed to export terminal interface for outgoing characters",
728 failure EXPORT_IN_INTERFACE "Failed to export terminal interface for incoming characters",
729 failure EXPORT_CONF_INTERFACE "Failed to export terminal configuration interface for configuration messages",
730 failure ASSOCIATE_WITH_TERM_REPLY "Failed to send session_associate_with_terminal_reply",
731 failure RECV_CHARS "Received characters at outgoing characters interface",
732 failure SEND_CHARS "Could not send characters to client",
733 failure RECV_CONFIGURATION "Received a configuration message a the client",
734 failure FILTER_NOT_FOUND "Could not find filter specified for removal",
735 failure TRIGGER_NOT_FOUND "Could not find trigger specified for removal",
736 failure LOOKUP_SESSION_RECORD "Error looking up session record at octopus",
737 failure PARSE_SESSION_RECORD "Error parsing session record",
738 failure BIND_IN_INTERFACE "Failed to bind to terminal interface for incoming characters",
739 failure BIND_OUT_INTERFACE "Failed to bind to terminal interface for outgoing characters",
740 failure BIND_CONF_INTERFACE "Failed to bind to terminal configuration interface",
741 failure IO "Terminal I/O error",
742 failure TX_BUSY "Failed to send message, terminal client is busy",
743 failure UNKNOWN_CONFIG_OPT "Unknown configuration option",
744 failure CHANGE_WAITSET "Failed to change the waitset",
747 // errors generated by libangler
748 errors angler ANGLER_ERR_ {
749 failure LOOKUP_TERMINAL "Error looking up iref of terminal session interface at nameservice",
750 failure CREATE_SESSIONID "Error creating ID capability used to represent session",
751 failure BIND_TERMINAL "Error binding to terminal session interface",
752 failure INIT_RPCCLIENT "Error initializing rpc client for terminal session interface",
753 failure ASSOCIATE_WITH_TERMINAL "Error associating session with terminal",
754 failure STORE_SESSION_STATE "Error storing session state at ocotpus",
758 errors trace TRACE_ERR_ {
759 success SUBSYS_DISABLED "Event not recorded because subsystem is disabled",
760 failure NO_BUFFER "Trace buffer does not exist",
761 failure MAP_BUF "Failed to map trace buffer",
762 failure CREATE_CAP "Failed to create trace buffer cap",
763 failure CAP_COPY "Failed to copy trace buffer cap",
764 failure KERNEL_INVOKE "Failed to set up tracing in kernel",
767 errors driverkit DRIVERKIT_ {
768 failure NO_CAP_FOUND "No capability to map this address range.",
771 // errors in PCI/device handling
772 errors pci PCI_ERR_ {
773 failure IOAPIC_INIT "Failed in ioapic_init()",
774 failure MINT_IOCAP "Failed to mint IO cap",
775 failure ROUTING_IRQ "Failed while routing interrupt",
776 failure IRQTABLE_SET "Failed to set handler on local IRQ table",
777 failure UNKNOWN_GSI "Unknown global system interrupt number",
778 failure INVALID_VECTOR "Invalid interrupt vector",
779 failure DEVICE_INIT "Could not initialize device",
780 failure MEM_ALLOC "Could not allocate memory",
781 failure WRONG_INDEX "Invalid index for requested cap",
782 failure MSIX_NOTSUP "MSI-X is not sypported by the device",
783 failure MSIX_BADVECTOR "Invalid index for MSI-X vector",
784 failure MSIX_DISABLED "MSI-X is not enabled for this device",
788 errors acpi ACPI_ERR_ {
789 failure NO_MCFG_TABLE "No MCFG Table found.",
790 failure INVALID_PATH_NAME "Invalid ACPI path name.",
791 failure GET_RESOURCES "Failed to execute _CRT method.",
792 failure SET_IRQ "Failed to set IRQ for device.",
793 failure NO_MADT_TABLE "No APIC found in ACPI.",
797 errors skb SKB_ERR_ {
798 failure CONVERSION_ERROR "Conversion (parsing) of the result failed.",
799 failure EXECUTION "The SKB returned an error Check error code.",
800 failure EVALUATE "Failure in skb_evalute()",
801 failure RUN "Failure in running rpc: run",
802 failure GOAL_FAILURE "Posted goal could not be satisfied.",
803 failure UNEXPECTED_OUTPUT "Query produced output but none was expected.",
804 success IO_OUTPUT "Read I/O Output from SKB.",
807 // errors in a file system implementation
809 failure INVALID_FH "The given file handle is invalid or has expired",
810 failure NOTDIR "The given file handle is not a directory",
811 failure NOTFILE "The given file handle is not a file",
812 failure INDEX_BOUNDS "The given directory index is out of bounds",
813 failure NOTFOUND "The given name does not exist",
814 failure EXISTS "The given name already exists",
815 failure NOTEMPTY "The given directory is not empty",
817 failure BULK_NOT_INIT "The bulk transfer mode has not been initialised",
818 failure BULK_ALREADY_INIT "The bulk_init() call may only be made once per connection",
821 // errors in the vfs library
822 errors vfs VFS_ERR_ {
823 success EOF "End of file",
824 failure BAD_MOUNTPOINT "The mountpoint is invalid",
825 failure MOUNTPOINT_IN_USE "The given mountpoint is already in use",
826 failure BAD_URI "The URI given to mount is invalid",
827 failure UNKNOWN_FILESYSTEM "The filesystem type in the URI is unknown",
828 failure MOUNTPOINT_NOTFOUND "The given mountpoint doesn't exist",
829 failure NOT_SUPPORTED "The file type does not support this operation",
831 failure IN_OPEN "Nested error in vfs_open()",
832 failure IN_STAT "Nested error in vfs_stat()",
833 failure IN_READ "Nested error in vfs_read()",
835 failure BCACHE_LIMIT "Number of buffer cache connections exceeded",
839 // FIXME: someone could copy in the real error strings...
840 errors nfs NFS_ERR_ {
841 /* transport error */
842 failure TRANSPORT "Unknown error in underlying NFS RPC transport.",
845 failure MNT_PERM "Not owner",
846 failure MNT_NOENT "No such file or directory",
847 failure MNT_IO "I/O error",
848 failure MNT_ACCES "Permission denied",
849 failure MNT_NOTDIR "Not a directory",
850 failure MNT_INVAL "Invalid argument",
851 failure MNT_NAMETOOLONG "Filename too long",
852 failure MNT_NOTSUPP "Operation not supported",
853 failure MNT_SERVERFAULT "A failure on the server",
856 failure PERM "NFS error (PERM). See RFC1813.",
857 failure NOENT "NFS error (NOENT). See RFC1813.",
858 failure IO "NFS error (IO). See RFC1813.",
859 failure NXIO "NFS error (NXIO). See RFC1813.",
860 failure ACCES "NFS error (ACCES). See RFC1813.",
861 failure EXIST "NFS error (EXIST). See RFC1813.",
862 failure XDEV "NFS error (XDEV). See RFC1813.",
863 failure NODEV "NFS error (NODEV). See RFC1813.",
864 failure NOTDIR "NFS error (NOTDIR). See RFC1813.",
865 failure ISDIR "NFS error (ISDIR). See RFC1813.",
866 failure INVAL "NFS error (INVAL). See RFC1813.",
867 failure FBIG "NFS error (FBIG). See RFC1813.",
868 failure NOSPC "NFS error (NOSPC). See RFC1813.",
869 failure ROFS "NFS error (ROFS). See RFC1813.",
870 failure MLINK "NFS error (MLINK). See RFC1813.",
871 failure NAMETOOLONG "NFS error (NAMETOOLONG). See RFC1813.",
872 failure NOTEMPTY "NFS error (NOTEMPTY). See RFC1813.",
873 failure DQUOT "NFS error (DQUOT). See RFC1813.",
874 failure STALE "NFS error (STALE). See RFC1813.",
875 failure REMOTE "NFS error (REMOTE). See RFC1813.",
876 failure BADHANDLE "NFS error (BADHANDLE). See RFC1813.",
877 failure NOT_SYNC "NFS error (NOT_SYNC). See RFC1813.",
878 failure BAD_COOKIE "NFS error (BAD_COOKIE). See RFC1813.",
879 failure NOTSUPP "NFS error (NOTSUPP). See RFC1813.",
880 failure TOOSMALL "NFS error (TOOSMALL). See RFC1813.",
881 failure SERVERFAULT "NFS error (SERVERFAULT). See RFC1813.",
882 failure BADTYPE "NFS error (BADTYPE). See RFC1813.",
883 failure JUKEBOX "NFS error (JUKEBOX). See RFC1813.",
887 errors lwip LWIP_ERR_ {
888 failure MEM "Out of memory error.",
889 failure BUF "Buffer error.",
890 failure TIMEOUT "Timeout.",
891 failure RTE "Routing problem.",
892 failure ABRT "Connection aborted.",
893 failure RST "Connection reset.",
894 failure CLSD "Connection closed.",
895 failure CONN "Not connected.",
896 failure VAL "Illegal value.",
897 failure ARG "Illegal argument.",
898 failure USE "Address in use.",
899 failure IF "Low-level netif error",
900 failure ISCONN "Already connected.",
901 failure INPROGRESS "Operation in progress",
902 failure TXFULL "TX capacity is full, try again later",
905 // DIST library errors
906 errors dist DIST_ERR_ {
907 failure NS_REG "Name service register failed.",
908 failure NS_LOOKUP "Name service lookup failed.",
911 // octopus library errors
912 errors octopus OCT_ERR_ {
913 failure NO_RECORD "No record exists matching the specified query.",
914 failure NO_RECORD_NAME "Your query needs to specify a designated record name (no regex/variable allowed).",
915 failure CONSTRAINT_MISMATCH "The constraints you specified on set do not match the record in the database.",
916 failure QUERY_SIZE "Query is too big. Try to increase MAX_QUERY_LENGTH.",
917 failure INVALID_FORMAT "The read format you have specified is not valid.",
918 failure UNKNOWN_ATTRIBUTE "An attribute in your format was not found in the record.",
919 failure UNSUPPORTED_BINDING "This binding is unsupported by the underlying implementation.",
920 failure PARSER_FAIL "Record parser encountered syntax error.",
921 failure ENGINE_FAIL "Database error during query execution.",
922 failure NO_SUBSCRIPTION "No subscription found matching the query.",
923 failure NO_SUBSCRIBERS "No subscription found matching the query.",
924 failure MAX_SUBSCRIPTIONS "Failed to register subscription. Try to increase MAX_SUBSCRIPTIONS.",
925 failure INVALID_ID "Invalid Trigger ID.",
926 failure CAP_NAME_UNKNOWN "Capability storage: Unknown name.",
927 failure CAP_OVERWRITE "Capability storage: Cap already exists.",
928 failure IDCAP_INVOKE "Error invoking ID capability.",
931 // kaluga library errors
932 errors kaluga KALUGA_ERR_ {
933 failure PARSE_MODULES "Cannot parse menu.lst.",
934 failure MODULE_NOT_FOUND "Boot module not found.",
935 failure DRIVER_ALREADY_STARTED "Driver for this type of device is already running.",
936 failure DRIVER_NOT_AUTO "Driver not declared as auto in menu.lst.",
937 failure WAITING_FOR_ACPI "Unable to wait for ACPI",
938 failure QUERY_LOCAL_APIC "Unable to query local APIC.",
943 // errors generated by THC
945 failure CANCELED "Operation canceled",
948 // errors generated by memory server
950 failure SKB "Invalid data from SKB",
951 failure INIT_PEERS "Could not initialise peer data structures",
954 // errors generated by startd
955 errors startd STARTD_ERR_ {
956 failure BOOTMODULES "Invalid bootmodules file",
959 errors lox LOX_ERR_ {
960 failure INIT_LOCKS "Failure initialising locks",
961 failure NO_LOCKS "No more locks available",
964 // errors generated by VBE framebuffer driver
965 errors vbe VBE_ERR_ {
966 failure MODE_NOT_FOUND "Unknown/unsupported video mode requested",
967 failure BIOS_CALL_FAILED "Unknown error returned from VBE BIOS call",
970 // errors generated by ahcid and libahci
971 errors ahcid AHCI_ERR_ {
972 failure PORT_INVALID "Provided port id is not valid",
973 failure PORT_BUSY "Port has been opened elsewhere",
974 failure PORT_MISMATCH "Port is not opened by client",
975 failure NO_FREE_PRD "No free PRD left for user data",
976 failure ILLEGAL_ARGUMENT "Illegal argument in call",
979 errors sata SATA_ERR_ {
980 failure INVALID_TYPE "Unknown FIS type or invalid/unimplemented field for type",
983 errors mmchs MMC_ERR_ {
984 failure TRANSFER "Error during card read/write operation.",
985 FAILURE READ_READY "Card not ready for reading.",
986 FAILURE WRITE_READY "Card not ready for writing.",
989 // errors generated by FAT
990 errors fat FAT_ERR_ {
991 failure BAD_FS "Filesystem does not look like FAT, or is an unsupported kind of FAT",
994 // errors generated by VFS's fs cache library
995 errors cache FS_CACHE_ {
996 failure FULL "Cache is full",
997 failure NOTPRESENT "Requested key is not in cache",
998 failure CONFLICT "Cache already contains an item with the requested key",
1001 // errors generated by OMAP SDMA driver
1002 errors omap_sdma OMAP_SDMA_ERR_ {
1003 failure NO_AVAIL_CHANNEL "All channels are currently allocated",
1004 failure TRANSACTION "Memory Transaction error occured",
1005 failure SUPERVISOR "Supvervisor transaction error occured",
1006 failure MISALIGNED_ADDRESS "Transfer addresses were misaligned",
1007 failure HARDWARE_LIMIT_SIZE "Transfer size values too large for hardware",
1008 failure HARDWARE_LIMIT_ADDR "Transfer address modifier values too large for hardware",
1009 failure OUT_OF_BOUNDS "Transfer access outside frame cap boundaries",
1010 failure CAP_LOOKUP "Failure during frame capability lookup",
1013 // common/generic errors
1014 errors common ERR_ {
1015 failure NOTIMP "Not implemented",
1018 errors bulk_transfer BULK_TRANSFER_ {
1019 failure MEM "Internal not enough memory error",
1020 failure NO_CALLBACK "No callback was set",
1021 failure CHAN_CREATE "Channel create operation failed.",
1022 failure CHAN_BIND "Channel bind operation failed.",
1023 failure CHAN_ASSIGN_POOL "Channel assign pool operation failed.",
1024 failure CHAN_STATE "Channel has a wrong state",
1025 failure CHAN_TRUST "Channel has a invalid trust level.",
1026 failure CHAN_INVALID_EP "Channel has an invalid endpoint.",
1027 failure CHAN_DIRECTION "The channel has the wrong direction for this operation.",
1028 failure POOL_INVALD "The pool does not match.",
1029 failure POOL_NOT_ASSIGNED "The pool has not yet been assigned to a channel.",
1030 failure POOL_ASSIGN_VETO "The assignment request of the pool has been vetoed.",
1031 failure POOL_MAP "Mapping of the pool failed",
1032 failure POOL_UNMAP "The Unmapping of the pool failed",
1033 failure POOL_ALREADY_ASSIGNED "The pool has already been assigned to this channel.",
1034 failure POOL_ALREADY_REMAPPED "The pool has already been remapped.",
1035 failure BUFFER_NOT_OWNED "The supplied buffer is not owned by this domain.",
1036 failure BUFFER_INVALID "The buffer is not valid.",
1037 failure BUFFER_ALREADY_MAPPED "The buffer is already mapped.",
1038 failure BUFFER_STATE "The buffer has a wrong state.",
1039 failure BUFFER_REFCOUNT "The buffer has a wrong reference count.",
1040 failure BUFFER_NOT_A_COPY "The released buffer is not a copy.",
1041 failure BUFFER_MAP "The mapping of the buffer failed",
1042 failure BUFFER_UNMAP "The unmapping of the buffer failed.",
1043 failure ALLOC_BUFFER_SIZE "The supplied buffer size is not valid.",
1044 failure ALLOC_BUFFER_COUNT "The supplied buffer count is not valid.",
1045 failure INVALID_ARGUMENT "The supplied argument is invalid.",
1046 failure SM_NO_PENDING_MSG "No pending message associated with that tid",
1047 failure SM_EXCLUSIVE_WS "BULK_SM: Exclusive waitset required per channel.",
1048 failure NET_MAX_QUEUES "The number of maximum queues is reached",
1049 failure NET_POOL_USED "The pool is already used over a no-copy channel.",
1054 errors virtio VIRTIO_ERR_ {
1055 failure SIZE_INVALID "Size of the ringe is zero or not a power of two",
1056 failure MAX_INDIRECT "Too much indirect descriptors",
1057 failure CAP_SIZE "Supplied cap is too small",
1058 failure QUEUE_FULL "The queue was full",
1059 failure QUEUE_EMPTY "The queue was empty",
1060 failure BACKEND "Invalid backend",
1061 failure DEVICE_REGISTER "The device registers have not been mapped",
1062 failure NOT_VIRTIO_DEVICE "The device is not a VirtIO device",
1063 failure VERSION_MISMATCH "The VirtIO versions do mismatch",
1064 failure DEVICE_STATUS "VirtIO device has the wrong status",
1065 failure DEVICE_TYPE "The VirtIO device is not of the expected type",
1066 failure DEVICE_IDLE "The VirtIO device is idle. No new requests.",
1067 failure QUEUE_ACTIVE "The selected qeueue is already activated",
1068 failure QUEUE_INVALID "The selected queue does not exist",
1069 failure QUEUE_BUSY "The queue is busy.",
1070 failure BUFFER_SIZE "The buffer size is invalid.",
1071 failure BUFFER_STATE "The state of the buffer / buffer list is invalid",
1072 failure ARG_INVALID "The given argument is invalid.",
1073 failure NO_BUFFER "No buffer given, number of buffers is 0",
1074 failure ALLOC_FULL "The allocator is already full",
1075 failure BUFFER_USED "The buffer is already enqueued and used",
1076 failure NO_DESC_AVAIL "There is no descriptor availabe",
1077 failure DEQ_CHAIN "Not the entire chain could be dequeued",
1078 failure INVALID_RING_INDEX "The supplied index is not valid",
1079 failure BLK_REQ_IOERR "The request ended in an IO error",
1080 failure BLK_REQ_UNSUP "The request type was not supported",
1083 errors xeon_phi XEON_PHI_ERR_ {
1084 failure MGR_REGISTER_FAILED "Registration with the Xeon Phi Manager failed",
1085 failure MGR_MAX_CARDS "There are too much drivers connected",
1086 failure MSG_NOT_REACHABLE "There is not connection to that Xeon Phi",
1087 failure MSG_NOT_INITIALIZED "Messaging service has not been initialized",
1088 failure CLIENT_OPEN_REJECT "Client rejected the channel open",
1089 failure CLIENT_DOMAIN_VOID "The targeted domain was not found",
1090 failure CLIENT_REGISTER "Xeon Phi client could not be registered with the driver",
1091 failure CLIENT_BUSY "The connection to the Xeon Phi driver is busy",
1092 failure INVALID_ID "Supplied Xeon Phi ID is invalid",
1095 errors dma DMA_ERR_ {
1096 failure PCI_ADDRESS "The PCI address of the device is not as expected",
1097 failure DEVICE_UNSUPPORTED "Device ID not supported / wrong configuration",
1098 failure DEVICE_IDLE "The device is idle, no transfers finished",
1099 failure ARG_INVALID "Supplied argument was not valid",
1100 failure RESET_TIMEOUT "The reset attempt timed out",
1101 failure NO_DESCRIPTORS "There are too less descriptors available",
1102 failure NO_REQUESTS "There are no request descriptors left",
1103 failure CHAN_ERROR "Hardware channel error",
1104 failure CHAN_BUSY "The channel is busy and cannot accept more",
1105 failure CHAN_IDLE "There were no finished requests on the channel",
1106 failure REQUEST_UNFINISHED "The request is still in operation",
1107 failure REQUEST_UNSUPPORTED "Request is not supported by this device/channel",
1108 failure REQUEST_TOO_LARGE "Request size is too large",
1109 failure REQUEST_ID "Request with that ID does not exist",
1110 failure ALIGNMENT "The address / size is worngly alined",
1111 failure MEM_OVERLAP "The memory regions overlap",
1112 failure MEM_NOT_REGISTERED "The memory region was not registered",
1113 failure MEM_OUT_OF_RANGE "Memory region is out of supported range",
1114 failure SVC_REJECT "Service request was rejected",
1115 failure SVC_RESOURCES "No resources to handle the service",
1116 failure SVC_VOID "There is no service that could serve the request",
1117 failure SVC_NO_CONNECTION "There is no connection established",
1118 failure SVC_BUSY "Connecton is busy with an RPC",
1121 errors xomp XOMP_ERR_ {
1122 failure INVALID_WORKER_ARGS "The command line arguments are not XOMP worker",
1123 failure BAD_INVOCATION "Domain was not spawned with worker args",
1124 failure INVALID_MSG_FRAME "The supplied messaging frame was invalid",
1125 failure SPAWN_WORKER_FAILED "Spawning of the worker failed",
1126 failure MASTER_NOT_INIT "XOMP Master library has not been initialized",
1127 failure WORKER_INIT_FAILED "Worker initialization failed",
1128 failure WORKER_STATE "worker is in the wrong state",
1129 failure INVALID_MEMORY "the memory has not been registred / shared",
1130 failure INVALID_TOKEN "the token was invalid",
1131 failure INVALID_ARGUMENTS "the library was initialized with invalid args",
1134 errors numa NUMA_ERR_ {
1135 failure NOT_AVAILABLE "NUMA functionality is not available",
1136 failure BITMAP_PARSE "Parsing of the bitmap character string failed",
1137 failure BITMAP_RANGE "The bitmap is too small to hold the data",
1138 failure NUMA_MEMBIND "Setting the memory binding failed",
1139 failure LIB_INIT "Library initialization failure",
1140 failure SKB "Failed to query or connect the SKB",
1141 failure SKB_DATA "The returned data from the SKB is incomplete",
1142 failure NODEID_INVALID "Invalid node ID",
1143 failure COREID_INVALID "Invalid core ID",