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 failure NOT_IMPLEMENTED "Kernel functionality NYI",
19 // generic errors during system call handling
20 failure ILLEGAL_SYSCALL "Illegal system call number",
21 failure INVARGS_SYSCALL "Invalid system call arguments",
22 failure CALLER_ENABLED "Invalid system call while enabled",
23 failure CALLER_DISABLED "Invalid system call while disabled",
24 failure ILLEGAL_INVOCATION "Illegal capability invocation",
25 failure INVALID_USER_BUFFER "Invalid user space buffer",
28 failure LMP_NO_TARGET "There is no target dispatcher for this endpoint",
29 failure LMP_TARGET_DISABLED "Target of LMP is disabled",
30 failure LMP_BUF_OVERFLOW "The endpoint buffer is full",
31 failure LMP_EP_STATE_INVALID "Target has corrupt/invalid state in its endpoint structure",
32 failure LMP_CAPTRANSFER_SRC_LOOKUP "Error looking up source for cap transfer",
33 failure LMP_CAPTRANSFER_DST_CNODE_LOOKUP "Error looking up destination CNode for cap transfer",
34 failure LMP_CAPTRANSFER_DST_CNODE_INVALID "Destination CNode cap not of type CNode for cap transfer",
35 failure LMP_CAPTRANSFER_DST_SLOT_OCCUPIED "Destination slot is occupied for cap transfer",
36 failure LRPC_SLOT_INVALID "Invalid slot specified for LRPC",
37 failure LRPC_NOT_L1 "L1 CNode lookup failed for LRPC",
38 failure LRPC_NOT_L2 "L2 CNode lookup failed for LRPC",
39 failure LRPC_NOT_ENDPOINT "Slot specified for LRPC does not contain an endpoint cap",
40 failure INVALID_EPLEN "Endpoint buffer has invalid length",
42 // XXX: this should go away -AB
43 failure IDC_MSG_BOUNDS "Attempted to retrieve a word beyond the size of an LMP message structure",
45 // Generic CSpace lookup errors
46 failure CNODE_NOT_FOUND "Encountered null capability when resolving slot",
47 failure CNODE_TYPE "Encountered non-CNode capability when resolving slot",
48 failure CNODE_RIGHTS "Insufficient rights on CNode",
49 failure DEPTH_EXCEEDED "Exceeded depth limit of CSpace",
50 failure GUARD_MISMATCH "Guard does not match",
51 failure CAP_NOT_FOUND "Capability not found (empty slot encountered)",
52 failure IDENTIFY_LOOKUP "Error while looking up cap to identify",
53 failure L1_CNODE_INDEX "Index into L1 CNode too high",
54 failure CAP_LOOKUP_DEPTH "Invalid capability lookup depth",
55 failure RESIZE_NOT_L1 "Trying to resize non-L1 CNode",
57 // Generic capability manipulation errors
58 failure SLOT_IN_USE "Destination capability slots occupied",
59 failure SLOT_LOOKUP_FAIL "Failure during slot lookup",
60 failure CNODE_NOT_ROOT "Found non-root CNode during root CNode lookup",
61 failure GUARD_SIZE_OVERFLOW "Specified guard size exceeds CSpace depth",
62 failure INVALID_SOURCE_TYPE "Invalid source capability type",
63 failure ILLEGAL_DEST_TYPE "Illegal destination capability type",
64 failure SOURCE_CAP_LOOKUP "Error looking up source capability",
65 failure SOURCE_ROOTCN_LOOKUP "Error looking up source root CNode",
66 failure DEST_CNODE_LOOKUP "Error looking up destination CNode",
67 failure DEST_ROOTCN_LOOKUP "Error looking up destination root CNode",
68 failure DEST_CNODE_INVALID "Destination CNode cap is not of type CNode",
69 failure ROOT_CAP_LOOKUP "Error looking up root capability",
70 failure DEST_TYPE_INVALID "Destination capability is of invalid type",
71 failure INVALID_RETYPE "Invalid source/destination type pair for retyping",
72 failure RETYPE_MAPPING_EXPLICIT "Invalid explicit retype to mapping type",
73 failure RETYPE_INVALID_COUNT "Invalid number of new objects requested",
74 failure REVOKE_FIRST "Capability already has descendants or siblings",
75 failure INVALID_SIZE_BITS "Invalid size for new objects",
76 failure INVALID_SIZE "Invalid size for new objects",
77 failure SLOTS_INVALID "Destination capability slots exceed capacity of CNode",
78 failure SLOTS_IN_USE "One or more destination capability slots occupied",
79 failure RETYPE_CREATE "Error while creating new capabilities in retype",
80 failure RETYPE_INVALID_OFFSET "Offset into source capability invalid for retype",
81 failure RETYPE_INVALID_OBJSIZE "Objsize invalid for retype",
82 failure NO_LOCAL_COPIES "No copies of specified capability in local MDB",
83 failure RETRY_THROUGH_MONITOR "There is a remote copy of the capability, monitor must be involved to perform a cross core agreement protocol",
84 failure TYPE_NOT_CREATABLE "Specified capability type is not creatable at runtime. Consider retyping it from another capability.",
86 // errors on the monitor-kernel interface
87 failure DELETE_LAST_OWNED "Tried to delete the last copy of a locally owned capability that may have remote copies",
88 failure DELETE_REMOTE_LOCAL "Tried to delete foreign copies from local copy",
89 failure CAP_LOCKED "The cap has already been locked",
90 success RAM_CAP_CREATED "A new RAM cap has been created",
92 // errors specific to page mapping
93 failure VNODE_SLOT_INVALID "Destination slot exceeds size of page table",
94 failure WRONG_MAPPING "Wrong source/destination mapping type",
95 failure FRAME_OFFSET_INVALID "Specified offset exceeds size of frame",
96 failure VNODE_SLOT_RESERVED "Destination slot is reserved",
97 failure VNODE_SLOT_INUSE "Destination slot in use: unmap first",
98 failure VNODE_TYPE "Encountered non-VNode capability when manipulating page tables",
99 failure VNODE_LOOKUP_NEXT "Could not find next level page table",
100 failure VNODE_NOT_INSTALLED "VNode not in rooted page table tree",
101 failure VM_ALREADY_MAPPED "This cap copy is already mapped",
102 failure VM_MAP_SIZE "Mapping size too large",
103 failure VM_MAP_OFFSET "Mapping offset too large",
104 failure VM_RETRY_SINGLE "Mapping overlaps multiple leaf page tables, retry",
105 failure VM_FRAME_UNALIGNED "Frame(+offset) for superpage mapping not aligned",
106 failure VM_FRAME_TOO_SMALL "Frame too small for superpage mapping",
108 // errors related to IRQ table
109 failure IRQ_LOOKUP "Specified capability was not found while inserting in IRQ table",
110 failure IRQ_NOT_ENDPOINT "Specified capability is not an endpoint cap",
111 failure IRQ_NO_LISTENER "No listener on specified endpoint cap", // ??
112 failure IRQ_INVALID "Invalid interrupt number",
113 failure IRQ_NO_FREE_VECTOR "Unable to allocate vector",
114 failure IRQ_LOOKUP_DEST "Specified capability was not found while connecting IRQ",
115 failure IRQ_LOOKUP_EP "Specified endpoint capability was not found while connecting IRQ",
116 failure IRQ_NOT_IRQ_TYPE "Specified capability is not an IRQ cap",
117 failure IRQ_WRONG_CONTROLLER "Specified IRQ capability does not target local controller",
120 failure IO_PORT_INVALID "IO port out of range",
122 // Dispatcher setup and spawn core invocations
123 failure DISP_CSPACE_ROOT "Error setting CSpace root on dispatcher",
124 failure DISP_CSPACE_INVALID "Invalid capability type given for CSpace root on dispatcher",
125 failure DISP_VSPACE_ROOT "Error setting VSpace root on dispatcher",
126 failure DISP_VSPACE_INVALID "Invalid capability type given for VSpace root on dispatcher",
127 failure DISP_FRAME "Error setting dispatcher frame",
128 failure DISP_FRAME_INVALID "Invalid capability type given for dispatcher frame",
129 failure DISP_FRAME_SIZE "Dispatcher frame too small",
130 failure DISP_NOT_RUNNABLE "Cannot run dispatcher; it is not completely setup",
131 failure DISP_CAP_LOOKUP "Error looking up dispatcher cap",
132 failure DISP_CAP_INVALID "Invalid type capability given for dispatcher cap",
133 failure KERNEL_MEM_LOOKUP "Error looking up capability for kernel memory",
134 failure KERNEL_MEM_INVALID "Invalid capability type passed for kernel memory",
135 failure CORE_NOT_FOUND "Unable to boot core: core ID does not exist",
136 failure ARCHITECTURE_NOT_SUPPORTED "Unable to boot core: specified architecture is not supported by kernel",
137 failure INVALID_YIELD_TARGET "Target capability for directed yield is invalid",
138 failure DISP_OCAP_LOOKUP "Error looking up other dispatcher cap",
139 failure DISP_OCAP_TYPE "Other dispatcher cap is not dispatcher",
141 // VMKit specific errors
142 failure VMKIT_UNAVAIL "Virtualization extensions are unavailable",
143 failure VMKIT_VMCB "Error setting VMCB for dispatcher",
144 failure VMKIT_VMCB_INVALID "Invalid frame capability passed for VMCB",
145 failure VMKIT_CTRL "Error setting control area for dispatcher",
146 failure VMKIT_CTRL_INVALID "Invalid frame capability passed for control structure",
147 failure VMKIT_ENDPOINT "Error setting monitor endpoint for dispatcher",
148 failure VMKIT_ENDPOINT_INVALID "Invalid monitor endpoint capability passed",
149 failure VMKIT_VMX_VMFAIL_INVALID "The VMCS pointer is invalid",
150 failure VMKIT_VMX_VMFAIL_VALID "VMX instruction failed (VM-instruction error field = ErrorNumber)",
152 // Serial port errors
153 failure SERIAL_PORT_INVALID "Invalid serial port",
154 failure SERIAL_PORT_UNAVAILABLE "Serial port unavailable",
156 // Performance monitoring errors
157 failure PERFMON_NOT_AVAILABLE "Performance monitoring feature unavailable",
159 // Time synchronization errors
160 failure SYNC_MISS "Missed synchronization phase",
163 failure ID_SPACE_EXHAUSTED "ID space exhausted",
166 // XXX: should not be in kernel
167 failure I2C_UNINITIALIZED "Trying to use uninitialized i2c controller",
168 failure I2C_ZERO_LENGTH_MSG "Zero byte transfers not allowed",
169 failure I2C_WAIT_FOR_BUS "Wait for bus free timed out",
170 failure I2C_FAILURE "I2C subsystem failure",
172 // KCB and related errors
173 failure KCB_NOT_FOUND "Did not find the given kcb.",
176 // errors generated by libmdb
177 errors libcaps CAPS_ERR_ {
179 failure INVALID_ARGS "Invalid arguments",
182 failure MDB_ALREADY_INITIALIZED "MDB not emtpy during restore",
183 failure MDB_INVALID_STATE "MDB not in valid state after restore",
184 failure MDB_INVARIANT_VIOLATION "MDB invariant violated",
186 // mdb operation errors
187 failure MDB_DUPLICATE_ENTRY "Inserted entry already present",
188 failure MDB_ENTRY_NOTFOUND "Removed entry not found",
191 failure CAP_NOT_FOUND "Did not find a matching capability",
194 // errors generated by libbarrelfish code
195 errors libbarrelfish LIB_ERR_ {
197 failure WHILE_DELETING "Error while deleting capability",
198 failure WHILE_FREEING_SLOT "Error while freeing capability slot",
199 failure MALLOC_FAIL "Malloc returned NULL",
200 failure SLAB_ALLOC_FAIL "slab_alloc() returned NULL",
201 failure SLAB_REFILL "Refilling slab allocator failed",
202 failure NOT_IMPLEMENTED "functionality not implemented yet",
203 failure SHOULD_NOT_GET_HERE "Should not get here",
204 failure NOT_CNODE "Function invoked on a capref, that does not represent a CNode",
207 failure CNODE_TYPE "Type requested for cnode creation is not valid cnode type",
208 failure CNODE_SLOTS "#slots requested for cnode creation is invalid",
209 failure CROOT_NULL "Destination root cnode null in cnode_create_foreign_l2",
211 // nested errors in specific functions
212 failure FRAME_ALLOC "Failure in frame_alloc()",
213 failure FRAME_CREATE "Failure in frame_create()",
214 failure FRAME_CREATE_MS_CONSTRAINTS "frame_create() failed due to constraints to mem_serv in ram_alloc",
215 failure VNODE_CREATE "Failure in vnode_create()",
216 failure CNODE_CREATE "Failure in cnode_create()",
217 failure CNODE_CREATE_FROM_MEM "Failure in cnode_create_from_mem()",
218 failure CNODE_CREATE_FOREIGN_L2 "Failure in cnode_create_foreign_l2()",
219 failure RAM_ALLOC "Failure in ram_alloc()",
220 failure RAM_ALLOC_WRONG_SIZE "Wrong size of memory requested in ram alloc",
221 failure RAM_ALLOC_MS_CONSTRAINTS "Ram alloc failed due to constraints to mem_serv",
222 failure CAP_MINT "Failure in cap_mint()",
223 failure CAP_COPY "Failure in cap_copy()",
224 failure CAP_RETYPE "Failure in cap_retype()",
225 failure DEVFRAME_TYPE "Failure in devframe_type()",
226 failure CAP_DELETE "Failure in cap_delete()",
227 failure CAP_DESTROY "Failure in cap_destroy()",
228 failure CAP_INVOKE "Failure in cap_invoke()",
229 failure ENDPOINT_CREATE "Failure in endpoint_create()",
230 failure FRAME_IDENTIFY "Failure in frame_identify",
231 failure VNODE_MAP "Failure in vnode_map()",
232 failure VNODE_UNMAP "Failure in vnode_unmap()",
233 failure IDC_ENDPOINT_ALLOC "Failure in idc_endpoint_alloc()",
235 failure SLOT_ALLOC_INIT "Failure in slot_alloc_init()",
236 failure SLOT_ALLOC_NO_SPACE "Slot allocator is out of space",
237 failure SLOT_ALLOC_WRONG_CNODE "The slot to free does not belong in this cnode",
238 failure SINGLE_SLOT_ALLOC_INIT_RAW "Failure in single_slot_alloc_init_raw()",
239 failure SINGLE_SLOT_ALLOC_INIT "Failure in single_slot_alloc_init()",
240 failure MULTI_SLOT_ALLOC_INIT "Failure in multi_slot_alloc_init()",
241 failure MULTI_SLOT_ALLOC_INIT_RAW "Failure in multi_slot_alloc_init_raw()",
242 failure SINGLE_SLOT_ALLOC "Failure in single_slot_alloc()",
243 failure RANGE_ALLOC_NOT_HEAD "Function called on non-head range allocator",
244 failure SLOT_ALLOC "Failure in slot_alloc()",
245 failure SLOT_FREE "Failure in slot_free()",
246 failure SLOT_UNALLOCATED "slot_free() was called on an unallocated slot",
247 failure ROOTSA_RESIZE "Failure while resizing root slot allocator",
250 failure VSPACE_CURRENT_INIT "Failure in vspace_current_init()",
251 failure VSPACE_INIT "Failure in vspace_init()",
252 failure VSPACE_LAYOUT_INIT "Failure in vspace_layout_init()",
253 failure VSPACE_DESTROY "Failure in vspace_destroy()",
254 failure VSPACE_REGION_OVERLAP "Overlap with existing region in vspace_add_region()",
255 failure VSPACE_ADD_REGION "Failure in vspace_add_region()",
256 failure VSPACE_REMOVE_REGION "Failure in vspace_remove_region()",
257 failure VSPACE_PAGEFAULT_HANDER "Failure in vspace_pagefault_handler()",
258 failure VSPACE_VREGION_NOT_FOUND "The vregion to remove not found in the vspace list",
259 failure VSPACE_PAGEFAULT_ADDR_NOT_FOUND "The faulting address not found in the page fault handler",
261 failure VSPACE_PINNED_INIT "Failure in vspace_pinned_init()",
262 failure VSPACE_PINNED_ALLOC "Failure in vspace_pinned_alloc()",
263 failure VSPACE_PINNED_INVALID_TYPE "Wrong type of slab requested",
265 failure VREGION_MAP "Failure in vregion_map()",
266 failure VREGION_MAP_FIXED "Failure in vregion_map_fixed()",
267 failure VREGION_NOT_FOUND "vregion not found in the vspace list",
268 failure VREGION_DESTROY "Failure in vregion_destroy()",
269 failure VREGION_PAGEFAULT_HANDLER "Failure in vregion_pagefault_handler()",
270 failure VREGION_BAD_ALIGNMENT "Unaligned address passed to vregion_map_fixed",
272 failure MEMOBJ_CREATE_ANON "Failure in memobj_create_anon()",
273 failure MEMOBJ_CREATE_ONE_FRAME "Failure in memobj_create_one_frame()",
274 failure MEMOBJ_CREATE_ONE_FRAME_ONE_MAP "Failure in memobj_create_one_frame_one_map()",
275 failure MEMOBJ_CREATE_PINNED "Failure in memobj_create_pinned()",
276 failure MEMOBJ_CREATE_VFS "Failure in memobj_create_vfs()",
277 failure MEMOBJ_MAP_REGION "Failure in memobj_map_region()",
278 failure MEMOBJ_UNMAP_REGION "Failure in memobj_unmap_region()",
279 failure MEMOBJ_PIN_REGION "Failure in memobj_pin_region()",
280 failure MEMOBJ_UNPIN_REGION "Failure in memobj_unpin_region()",
281 failure MEMOBJ_FILL "Failure in memobj_fill()",
282 failure MEMOBJ_PAGEFAULT_HANDLER "Failure in memobj_pagefault_handler()",
283 failure MEMOBJ_PAGER_FREE "Failure in memobj_pager_free()",
284 failure MEMOBJ_WRONG_OFFSET "Wrong offset passed",
285 failure MEMOBJ_FRAME_ALLOC "Failure the frame alloc function pointer",
286 failure MEMOBJ_VREGION_ALREADY_MAPPED "Pinned memobj only supports one vregion",
287 failure MEMOBJ_UNFILL_TOO_HIGH_OFFSET "The offset given to unfill is too large",
288 failure MEMOBJ_PROTECT "Failure in memobj protect call",
289 failure MEMOBJ_DUPLICATE_FILL "The offset given to fill is already backed",
291 failure PMAP_INIT "Failure in pmap_init()",
292 failure PMAP_CURRENT_INIT "Failure in pmap_current_init()",
293 failure PMAP_DETERMINE_ADDR "Failure in pmap_determine_addr()",
294 failure PMAP_DO_MAP "Failure in pmap_do_map()",
295 failure PMAP_MAP "Failure in pmap_map()",
296 failure PMAP_DO_SINGLE_MAP "Failure in pmap_do_single_map()",
297 failure PMAP_UNMAP "Failure in pmap_unmap()",
298 failure PMAP_DO_SINGLE_UNMAP "Failure in pmap_do_single_unmap()",
299 failure PMAP_MODIFY_FLAGS "Failure in pmap_modify_flags()",
300 failure PMAP_GET_PTABLE "Failure in get_mapping()",
301 failure PMAP_ALLOC_VNODE "Failure in alloc_vnode()",
302 failure PMAP_ADDR_NOT_FREE "The requested address range is not free",
303 failure PMAP_FIND_VNODE "vnode not found",
304 failure PMAP_EXISTING_MAPPING "Cannot replace existing mapping, unmap first",
305 failure PMAP_FRAME_SIZE "Given Frame to small to fulfil mapping request",
306 failure PMAP_FRAME_IDENTIFY "Frame could not be identified",
307 failure PMAP_NOT_MAPPED "No mapping in given address range",
309 failure OUT_OF_VIRTUAL_ADDR "Out of virtual address",
311 failure SERIALISE_BUFOVERFLOW "Buffer overflow while serialising",
313 failure VSPACE_MAP "Failure in vspace_map() wrapper function",
315 failure VSPACE_MMU_AWARE_INIT "Failure in vspace_mmu_aware_init() function",
316 failure VSPACE_MMU_AWARE_MAP "Failure in vspace_mmu_aware_map() function",
317 failure VSPACE_MMU_AWARE_NO_SPACE "Out of space in vspace_mmu_aware_map() function",
319 // Performance counters
320 failure INVOKE_PERFMON_SETUP "Error in invoke perfmon setup",
321 failure INVOKE_PERFMON_WRITE "Error in invoke perfmon write",
324 failure CORESET_NEW "Failure in coreset_new()",
325 failure CORESET_GET_NEXT_DONE "No more elements left in coreset_get_next()",
327 // IDC (and LMP/UMP channels)
328 failure NO_LMP_MSG "No LMP message available",
329 failure LMP_RECV_BUF_OVERFLOW "LMP message in endpoint is longer than user-provided buffer",
330 failure NO_UMP_MSG "No UMP message available",
331 failure UMP_CHAN_FULL "Cannot send UMP: channel is full",
332 failure LMP_BUFLEN_INVALID "Cannot create LMP endpoint, invalid buffer length",
333 failure NO_ENDPOINT_SPACE "Cannot allocate LMP endpoint, out of space in dispatcher frame",
334 failure UMP_BUFSIZE_INVALID "Size of UMP buffer is invalid (must be multiple of message size)",
335 failure UMP_BUFADDR_INVALID "Address of UMP buffer is invalid (must be cache-aligned)",
336 failure UMP_FRAME_OVERFLOW "Provided frame is too small for requested UMP channel sizes",
337 failure LMP_ENDPOINT_REGISTER "Failure in lmp_endpoint_register()",
338 failure CHAN_REGISTER_SEND "Failure in *_chan_register_send()",
339 failure CHAN_DEREGISTER_SEND "Failure in *_chan_deregister_send()",
340 failure CHAN_REGISTER_RECV "Failure in *_chan_register_recv()",
341 failure CHAN_DEREGISTER_RECV "Failure in *_chan_deregister_recv()",
342 failure LMP_CHAN_INIT "Failure in lmp_chan_init()",
343 failure UMP_CHAN_INIT "Failure in ump_chan_init()",
344 failure LMP_CHAN_RECV "Failure in lmp_chan_recv()",
345 failure UMP_CHAN_RECV "Failure in ump_chan_recv()",
346 failure LMP_CHAN_SEND "Failure in lmp_chan_send()",
347 failure LMP_CHAN_BIND "Failure in lmp_chan_bind()",
348 failure UMP_CHAN_BIND "Failure in ump_chan_bind()",
349 failure LMP_CHAN_ACCEPT "Failure in lmp_chan_accept()",
350 failure UMP_CHAN_ACCEPT "Failure in ump_chan_accept()",
351 failure LMP_ALLOC_RECV_SLOT "Failure in lmp_chan_alloc_recv_slot()",
352 failure LMP_NOT_CONNECTED "Channel is disconnected",
353 failure MSGBUF_OVERFLOW "Attempted to demarshall beyond bounds of message buffer",
354 failure MSGBUF_CANNOT_GROW "Failed to grow message buffer while marshalling",
355 failure RCK_NOTIFY "Failure in rck_notify()",
356 failure IPI_NOTIFY "Failure in ipi_notify()",
358 // IDC binding/export and Monitor client interface
359 failure MONITOR_CLIENT_BIND "Error in monitor_client_lmp_bind()",
360 failure MONITOR_CLIENT_ACCEPT "Error in monitor_client_lmp_accept()",
361 failure NAMESERVICE_NOT_BOUND "Name service client is not bound",
362 failure NAMESERVICE_UNKNOWN_NAME "Lookup failed: unknown name",
363 failure NAMESERVICE_INVALID_NAME "Invalid record retrieved (no iref attribute)",
364 failure BIND_LMP_REQ "Failure sending bind_lmp_request to monitor",
365 failure BIND_UMP_REQ "Failure sending bind_ump_request to monitor",
366 failure BIND_LMP_REPLY "Failure sending bind_lmp_reply to monitor",
367 failure BIND_UMP_REPLY "Failure sending bind_ump_reply to monitor",
368 failure NO_LMP_BIND_HANDLER "LMP connection handler not registered for this service",
369 failure NO_UMP_BIND_HANDLER "UMP connection handler not registered for this service",
370 failure MONITOR_CAP_SEND "Failed sending capability via monitor",
371 failure MONITOR_RPC_BIND "Error in monitor_rpc_init()",
372 failure MONITOR_RPC_NULL "Monitor RPC client is uninitialized",
375 failure BIND_MULTIHOP_REQ "Failed sending bind_multihop_request to monitor",
376 failure NO_MULTIHOP_BIND_HANDLER "MULTIHOP connection handler not registered for this service",
377 failure BIND_MULTIHOP_SAME_CORE "Cannot create a multihop channel to service on the same core",
380 failure BULK_UNKNOWN_ID "Unknown bulk transfer block ID",
383 failure NO_SPANNED_DISP "There is no spanned dispatcher on the given core",
384 failure SEND_RUN_FUNC_REQUEST "Failure in trying to send run_func_request",
385 failure SEND_CAP_REQUEST "Failure in trying to send capability",
386 failure CAP_COPY_FAIL "cap_copy failed",
387 failure CAP_DELETE_FAIL "cap_delete failed",
390 failure RAM_ALLOC_SET "Failure in ram_alloc_set()",
391 failure MORECORE_INIT "Failure in morecore_init()",
392 failure MONITOR_CLIENT_INIT "Failure in monitor_client_init",
393 failure MONITOR_CLIENT_CONNECT "Failure in monitor_client_connect",
394 failure TERMINAL_INIT "Failure in terminal_init()",
395 failure DOMAIN_INIT "Failure in domain_init()",
396 failure GET_MON_BLOCKING_IREF "Error while retrieving monitor's blocking channel service IREF from monitor",
397 failure GET_MEM_IREF "Failure sending memory iref request",
398 failure GET_NAME_IREF "Error while retrieving name service IREF from monitor",
399 failure GET_RAMFS_IREF "Error while retrieving ramfsd service IREF from monitor",
400 failure NAMESERVICE_CLIENT_INIT "Failure initialising nameservice client",
403 failure THREAD_CREATE "A version of thread create failed",
404 failure THREAD_JOIN "Joining more than once not allowed",
405 failure THREAD_JOIN_DETACHED "Tried to join with a detached thread",
406 failure THREAD_DETACHED "Thread is already detached",
408 // Waitset/event code
409 failure CHAN_ALREADY_REGISTERED "Attempt to register for an event on a channel which is already registered",
410 failure CHAN_NOT_REGISTERED "Channel is not registered with a waitset",
411 failure WAITSET_IN_USE "Waitset has pending events or blocked threads",
412 failure WAITSET_CHAN_CANCEL "Error in waitset_chan_cancel()",
413 failure NO_EVENT "Nothing pending in check_for_event()",
414 failure EVENT_DISPATCH "Error in event_dispatch()",
415 failure EVENT_ALREADY_RUN "Error in event_queue_cancel(): event has already been run",
416 failure EVENT_QUEUE_EMPTY "Error in event_queue_trigger(): queue is empty",
418 // LDT management on x86
419 failure SEGBASE_OVER_4G_LIMIT "Segment base address is above 32-bit boundary",
420 failure LDT_FULL "LDT is out of space",
421 failure LDT_SELECTOR_INVALID "Segment selector is invalid for LDT",
424 // errors in Flounder-generated bindings
425 errors flounder FLOUNDER_ERR_ {
426 failure INVALID_STATE "Invalid/corrupt state in binding structure",
427 failure TX_BUSY "Cannot queue message for transmit: queue is full",
428 failure TX_MSG_SIZE "Trying to send a message which is larger than declared",
429 failure RX_EMPTY_MSG "Incoming message invalid: empty payload",
430 failure RX_INVALID_MSGNUM "Incoming message invalid: unknown message code",
431 failure RX_INVALID_LENGTH "Incoming message has invalid length",
432 failure BUF_RECV_MORE "(internal) incomplete buffer received; call again for more",
433 failure BUF_SEND_MORE "(internal) incomplete buffer sent; call again to send more",
434 failure GENERIC_BIND_NO_MORE_DRIVERS "Generic bind() call failed after trying all enabled interconnect drivers",
435 failure CHANGE_WAITSET "Error in change_waitset() call",
436 failure CHANGE_MONITOR_WAITSET "Error changing waitset on underlying monitor binding",
437 failure UMP_ALLOC_NOTIFY "Error while allocating notify cap/state for UMP",
438 failure UMP_STORE_NOTIFY "Error while storing notify cap for UMP",
440 failure BIND "Error in flounder generated bind call",
442 // XXX: errors from old flounder stubs, to be removed
443 failure CREATE_MSG "Flounder marshalling code failed: create_msg() returned NULL", // FIXME
444 failure MARSHALLING "Error while marshalling",
445 failure DEMARSHALLING "Error while demarshalling",
446 failure RPC_MISMATCH "RPC response not matching the call",
450 // errors generated by chips name service
451 errors chips CHIPS_ERR_ {
452 failure GET_SERVICE_REFERENCE "Error getting service reference from name service",
453 failure GET_SERVICE_IREF "Error getting IREF from name service",
454 failure UNKNOWN_NAME "Lookup failed: unknown name",
455 failure EXISTS "Entry already exists",
456 failure GET_CAP "Error getting a capability from store",
457 failure PUT_CAP "Error putting a capability to store",
458 failure REMOVE_CAP "Error removing a capability from store",
459 failure OUT_OF_SEMAPHORES "Out of semaphores",
462 // errors generated by bcast library
463 errors bcast BCAST_ERR_ {
464 failure SEND "Failure in bcast_send function",
465 failure SEND_SSF "Failure in trying to send ssf msg",
468 // errors generated in the monitor-client protocol
469 errors mon_client MON_CLIENT_ERR_ {
470 failure SPAN_DOMAIN_REQUEST "Error sending span_domain_request msg",
471 failure URPC_BLOCK "Error sending urpc_block msg",
474 // errors generated by the Monitor
475 errors monitor MON_ERR_ {
476 failure IDC_BIND_NOT_SAME_CORE "Cannot perform IDC bind call: IREF is on another core",
477 failure IDC_BIND_LOCAL "Cannot perform IDC bind call: intra-domain binding",
478 failure INVALID_CORE_ID "Core ID is invalid (out of range)",
479 failure INVALID_IREF "Invalid IREF for bind call",
480 failure IREF_ALLOC "Cannot allocate IREF, table full",
481 failure SPAN_STATE_ALLOC "Failed to allocate span state",
482 failure SEND_REMOTE_MSG "Sending message to remote core failed",
483 failure INVALID_MON_ID "Monitor ID in message is invalid",
484 failure NO_MONITOR_FOR_CORE "No monitor loaded on this core ID",
485 failure CAP_IDENTIFY "Error in cap_identify",
486 failure CAP_CREATE "Failure creating new capability",
487 failure CAP_REMOTE "Failure in remote cap operation",
488 failure CAP_FOREIGN "Could not perform operation because cap is foreign",
489 failure CAP_MOVE "Cap could not be moved",
490 failure RCAP_DB_NOT_FOUND "Cannot find cap in remote cap db",
491 failure RCAP_DB_LOCK "Error gaining lock in remote cap db",
492 failure RCAP_DB_UNLOCK "Error unlocking cap in remote cap db",
493 failure RCAP_DB_ADD "Error adding cap to remote cap db",
494 failure SAME_CORE "Cannot perform operation on same core as caller",
495 failure REMOTE_CAP_NEED_REVOKE "Cap has descendants on another core, cannot be retyped",
496 failure REMOTE_CAP_RETRY "Remote Cap operation failed but retry",
497 failure SPAWN_CORE "Failure spawning a new core",
498 failure SPAWN_DOMAIN "Failure in trying to spawn a domain",
499 failure INTERN_NEW_MONITOR "Error in intern_new_monitor()",
500 failure CAP_SEND "Permanent error sending cap for URPC channel",
501 failure CAP_SEND_TRANSIENT "Transient error sending cap for URPC channel",
502 failure ROUTE_SET "Sending route set msg failed",
503 failure SPAN_DOMAIN "span_domain failed",
504 failure MAP_URPC_CHAN "failure while mapping in URPC channel state",
505 failure RAM_ALLOC_ERR "failure in ram_alloc, err failed",
506 failure RAM_ALLOC_RETERR "failure in ram_alloc, reterr failed",
507 failure MULTICAST_PAGE_MAP "Could not map the multicast page in monitor",
508 failure WRONG_CAP_TYPE "Cap of not expected type",
509 failure INTERN_SET "Failure in intern_set",
510 failure ROUTE_RESET "Failure in sending route reset msg",
511 failure MAP_MULTIBOOT "Failure in trying to map multiboot image",
512 failure UNICAST_SET "Failure in unicast_set()",
513 failure MULTICAST_SET "Failure in multicast_set()",
514 failure BCAST_INIT "Failure in bcast_init()",
515 failure BCAST_CONNECT "Failure in bcast_connect()",
516 failure CCAST_INIT "Failure in ccast_init()",
517 failure CCAST_CONNECT "Failure in ccast_connect()",
518 failure UNICAST_CONNECT "Failure in connecting unicast path",
519 failure MULTICAST_CONNECT "Failure in connecting multicast path",
520 failure UNICAST_INIT "Failure in initing unicast path",
521 failure MULTICAST_INIT "Failure in initing multicast path",
522 failure SPAWN_XCORE_MONITOR "Failure in spawn_xcore_monitor()",
523 failure INCOMPLETE_ROUTE "(Portion of) routing table not present",
525 // Resource controller
526 failure RSRC_ALLOC "Out of resource domains",
527 failure RSRC_MEMBER_LIMIT "Reached member limit of resource domain",
528 failure RSRC_ILL_MANIFEST "Illegal manifest",
529 failure RSRC_NOT_FOUND "Resource domain not found on this core",
532 failure CAPOPS_BUSY "Other end not ready for operation",
535 failure INVOKE_IRQ_ALLOCATE "Unable to allocate IRQ vector",
536 failure INVOKE_IRQ_SET "Unable to install IRQ vector",
539 // errors related to the routing library
540 errors routing ROUTE_ERR_ {
541 // These are for the old routing library, remove them when old lib is removed
542 failure NEW_ROUTE "Failure in creating a new route",
543 failure EXPORT "Failure in exporting new route",
544 failure LOOKUP "Failure in looking up new route",
545 failure BIND "Failure in binding with route",
546 failure CORE_NOT_FOUND "Core not found in unicast send",
547 failure SET_EXPECTED "Failure in using the set expected function",
548 failure SEND "Failure in using the send function",
549 failure NO_SLOTS "Convergecast route ran out of slots to hold records",
551 // These are for the new routing library
552 failure WRONG_GROUP_ID "Group id not found",
553 failure CALL_INIT "Call route_init before using this",
554 failure CREATE_GROUP_RPC "Error in using the create_group rpc",
555 failure SET_GROUP_RPC "Error in using the set_group rpc",
556 failure GET_GROUP_RPC "Error in using the get_group rpc",
557 failure ALLOC_NID_RPC "Error in using the alloc_nid rpc",
560 // errors related to spawn code
561 errors spawn SPAWN_ERR_ {
562 failure LOAD "Failure while loading",
563 failure SPAN "Failure while spanning",
564 failure RUN "Failure while making dispatcher runnable",
565 failure VSPACE_MAP "Nested failure in spawn_vspace_map",
566 failure GET_CMDLINE_ARGS "Failure in get_cmdline_args",
567 failure SETUP_ENV "Failure in spawn_setup_env",
568 failure UNKNOWN_TARGET_ARCH "Unknown target architecture type",
569 failure UNSUPPORTED_TARGET_ARCH "Unsupported target architecture type",
571 failure SETUP_CSPACE "Failure in spawn_setup_cspace",
572 failure DETERMINE_CPUTYPE "Failure in spawn_determine_cputype",
573 failure VSPACE_INIT "Failure in spawn_vspace_init",
574 failure SETUP_DISPATCHER "Failure in spawn_setup_dispatcher",
575 failure ELF_MAP "Failure in spawn_elf_map",
577 failure SET_CAPS "Failure in set_special_caps",
578 failure MONEP_SLOT_ALLOC "Failure allocating a slot for monitor EP",
579 failure MONITOR_CLIENT "Failure in monitor_client_setup",
580 failure FREE "Failure in spawn_free",
583 failure CREATE_ROOTCN "Failure creating root CNode",
584 failure CREATE_TASKCN "Failure creating task CNode",
585 failure MINT_TASKCN "Failure minting task CNode into root CNode",
586 failure CREATE_PAGECN "Failure creating page CNode",
587 failure CREATE_VNODE "Failure creating top-level VNode",
588 failure COPY_VNODE "Failure copying top-level VNode from existing domain",
589 failure CREATE_DISPATCHER "Failure creating DCB",
590 failure CREATE_DISPATCHER_FRAME "Failure creating dispatcher frame",
591 failure CREATE_SELFEP "Failure creating endpoint to self",
592 failure CREATE_ARGSPG "Failure creating page for arguments",
593 failure CREATE_FDSPG "Failure creating page for file descriptors",
594 failure MINT_ROOTCN "Failure minting root CNode into task CNode",
595 failure CREATE_SLOTALLOC_CNODE "Failure creating slot_alloc cnode",
596 failure MINT_BASE_PAGE_CN "Failure minting base page CNode into root CNode",
597 failure MINT_SEGCN "Failure minting segment CNode into root CNode",
598 failure MINT_PAGECN "Failure minting page CNode into root CNode",
599 failure MINT_INHERITCN "Failure minting inherit CNode into root CNode",
602 failure MAP_DISPATCHER_TO_NEW "Failure mapping dispatcher frame to new domain",
603 failure MAP_DISPATCHER_TO_SELF "Failure mapping dispatcher frame to parent",
604 failure MAP_ARGSPG_TO_NEW "Failure mapping arguments page to new domain",
605 failure MAP_ARGSPG_TO_SELF "Failure mapping arguments page to parent",
606 failure MAP_FDSPG_TO_NEW "Failure mapping file descriptors page to new domain",
607 failure MAP_FDSPG_TO_SELF "Failure mapping file descriptors page to parent",
609 failure FILL_SMALLCN "Failure filling smallcn of new domain",
610 failure MAP_BOOTINFO "Failure mapping bootinfo to new domain",
611 failure FIND_MODULE "Didn't find module to be spawned",
612 failure MAP_MODULE "Failed mapping in module",
613 failure UNMAP_MODULE "Failed unmapping module",
614 failure CREATE_SEGCN "Failed to create segment CNode",
615 failure CREATE_SMALLCN "Failed to create small RAM caps CNode",
618 failure ARGSPG_OVERFLOW "Overflow in arguments page: too many arguments or environment variables",
619 failure SERIALISE_VSPACE "Error in serialising vspace data",
621 // setup inherited caps
622 failure SETUP_INHERITED_CAPS "Failure setup inherited caps",
624 // setup argument caps
625 failure SETUP_ARGCN "Failure setup CNode containing caps passed as arguments",
626 failure COPY_ARGCN "Error copying CNode containing caps passed as arguments",
628 // setup file descriptors
629 failure SETUP_FDCAP "Failure setting up frame for copying file descriptors",
630 failure FDSPG_OVERFLOW "Overflow in file descriptors page: too many file descriptors",
632 // setup session id cap
633 failure SETUP_SIDCAP "Failure setting up session capability",
635 failure SETUP_KERNEL_CAP "Failure setting up kernel capability",
638 failure DELETE_ROOTCN "Failure deleting root CNode cap in parent",
639 failure FREE_ROOTCN "Failure freeing slot for root CNode cap in parent",
640 failure DELETE_TASKCN "Failure deleting task CNode cap in parent",
641 failure FREE_TASKCN "Failure freeing slot for task CNode cap in parent",
643 failure COPY_PACN "Error copying phys addr CNode cap",
644 failure COPY_MODULECN "Error copying module CNode cap",
645 failure COPY_IRQ_CAP "Error copying IRQ cap",
646 failure COPY_IO_CAP "Error copying IO cap",
647 failure COPY_PERF_MON "Error copying performance monitoring cap",
648 failure COPY_KERNEL_CAP "Error copying Kernel cap",
649 failure COPY_INHERITCN_CAP "Error copying capability from inherited cnode",
652 failure DISPATCHER_SETUP "Dispatcher setup",
655 failure DOMAIN_ALLOCATE "No more domain descriptors",
656 failure DOMAIN_NOTFOUND "Domain not found",
657 failure DOMAIN_RUNNING "Domain is running",
659 failure FIND_SPAWNDS "Unable to find spawn daemons",
660 failure MALFORMED_SPAWND_RECORD "Spawn record without ID found?",
663 // errors from ELF library
664 errors libelf ELF_ERR_ {
665 failure FILESZ "Invalid file size",
666 failure HEADER "Incompatible ELF header",
667 failure PROGHDR "Failed program header sanity checks",
668 failure ALLOCATE "Nested failure in allocator function",
669 failure NOT_PAGE_ALIGNED "Unaligned load address specified in ELF header",
672 // errors from memory management library
673 errors libmm MM_ERR_ {
674 failure FIND_NODE "Failure in find_node()",
675 failure CHUNK_NODE "Failure in chunk_node()",
676 failure SLOT_MM_ALLOC "Nested failure in slot allocator calling mm_alloc",
677 failure SLOT_NOSLOTS "Slot allocator has run out of slots",
678 failure SLOT_ALLOC_INIT "Failure initialising slot allocator",
679 failure MM_INIT "Failure in mm_init()",
680 failure MM_ADD "Failure in mm_add()",
681 failure MM_ADD_MULTI "Failure in mm_add_multi()",
682 failure MM_FREE "Failure in mm_free()",
683 failure NEW_NODE "Failed allocating new node from slot allocator",
684 failure OUT_OF_BOUNDS "Given memory base address / size exceeds bounds of allocator",
685 failure ALREADY_PRESENT "Node already present in add_node()",
686 failure ALREADY_ALLOCATED "Requested node already allocated in find_node()",
687 failure NOT_FOUND "No matching node found",
688 failure MISSING_CAPS "Region exists in allocator, but intermediate caps are missing",
689 failure CHUNK_SLOT_ALLOC "Failure allocating slots for chunking",
690 failure RESIZE_NODE "Nested failure in resize_node()",
691 failure REALLOC_RANGE "Nested failure in realloc_range()",
695 errors init INIT_ERR_ {
696 failure SPAWN_MEM_SERV "Failed to spawn mem_serv",
697 failure INIT_MEM_SERV "Failed to initialise mem_serv",
698 failure SPAWN_MONITOR "Failed to spawn monitor",
699 failure INIT_MONITOR "Failed to init monitor",
700 failure COPY_EP_TO_MEM_SERV "Failed copying EP to mem_serv",
701 failure COPY_EP_TO_MONITOR "Failed copying EP to monitor",
702 failure SETUP_MONITOR_CHAN "Failed setting up channel to monitor",
703 failure SETUP_MEM_SERV_CHAN "Failed setting up channel to mem_serv",
704 failure RUN_MONITOR "Failed to make monitor runnable",
705 failure RUN_MEM_SERV "Failed to make mem_serv runnable",
706 failure FREE_MONITOR "Failed to free spawn caps from monitor",
707 failure FREE_MEM_SERV "Failed to free spawn caps from mem_serv",
708 failure COPY_SUPERCN_CAP "Failed to copy superCN cap to mem_serv",
709 failure MAP_BOOTINFO "Failed to map bootinfo to child",
710 failure COPY_KERNEL_CAP "Failed to copy kernel cap to monitor",
711 failure COPY_BSP_KCB "Error copying BSP KernelControlBlock",
712 failure COPY_IPI "Failed to copy IPI cap to monitor",
713 failure COPY_PERF_MON "Failed to copy performance monitoring cap to monitor",
714 failure COPY_MODULECN_CAP "Failed to copy module CNode cap to monitor",
715 failure COPY_PACN_CAP "Failed to copy phys addr CNode cap to monitor",
716 failure COPY_IRQ_CAP "Failed to copy IRQ cap to monitor",
717 failure COPY_IO_CAP "Failed to copy IO cap to monitor",
718 failure COPY_UMP_CAP "Failed to copy UMP cap to monitor",
719 failure NO_MATCHING_RAM_CAP "No suitably-sized RAM cap found when initialising local memory allocator",
722 //errors in continuation management
723 errors filter CONT_ERR_ {
724 failure NO_MORE_SLOTS "No free slots available",
730 errors ethersrv ETHERSRV_ERR_ {
731 failure TOO_MANY_BUFFERS "ethersrv failed to allocate a new buffer descriptor in register_buffer",
732 failure TOO_MANY_VNICS "MAX_VNICS reached, can't create more VNICS",
733 failure BUFFER_NOT_FOUND "ethersrv did not find the buff given filter reg",
734 failure NOT_ENOUGH_MEM "not enough internal memory with driver",
735 failure CANT_TRANSMIT "Cant transmit the packet",
736 failure INVALID_STATE "VNIC is in invalid state for current operation",
737 failure FRAME_CAP_MAP "Cant map the frame cap in address space",
741 //errors in port management
742 errors filter PORT_ERR_ {
743 failure NOT_ENOUGH_MEMORY "Not enough memory for internals of port mng",
744 failure NO_MORE_PORT "No free port available",
745 failure IN_USE "Requested port is already in use",
746 failure REDIRECT "Requested port cannot be redirected",
747 failure NOT_FOUND "Could not find requested port to close",
753 //errors in Filter management
754 errors filter FILTER_ERR_ {
755 failure NOT_ENOUGH_MEMORY "Not enough memory to register filters",
756 failure BUFF_NOT_FOUND "Buffer given for filter reg. not found on driver",
757 failure FILTER_BUSY "Filter memory is busy in another operation.Try Again",
758 failure NO_NETD_MEM "Netd memory for filter is not registered",
759 failure FILTER_NOT_FOUND "requested filter for de/re-registration not found",
760 failure BUFFER_NOT_FOUND "requested filter for re-registration not found",
764 // errors generated in the terminal library
765 errors term TERM_ERR_ {
766 failure TERMINAL_IN_USE "Can not associate session with terminal, the terminal is already in use",
767 failure NOT_PART_OF_SESSION "Domain is not part of a session",
768 failure EXPORT_SESSION_INTERFACE "Failed to export terminal session interface",
769 failure REGISTER_SESSION_INTERFACE "Failed to register terminal session interface at nameservice",
770 failure EXPORT_OUT_INTERFACE "Failed to export terminal interface for outgoing characters",
771 failure EXPORT_IN_INTERFACE "Failed to export terminal interface for incoming characters",
772 failure EXPORT_CONF_INTERFACE "Failed to export terminal configuration interface for configuration messages",
773 failure ASSOCIATE_WITH_TERM_REPLY "Failed to send session_associate_with_terminal_reply",
774 failure RECV_CHARS "Received characters at outgoing characters interface",
775 failure SEND_CHARS "Could not send characters to client",
776 failure RECV_CONFIGURATION "Received a configuration message a the client",
777 failure FILTER_NOT_FOUND "Could not find filter specified for removal",
778 failure TRIGGER_NOT_FOUND "Could not find trigger specified for removal",
779 failure LOOKUP_SESSION_RECORD "Error looking up session record at octopus",
780 failure PARSE_SESSION_RECORD "Error parsing session record",
781 failure BIND_IN_INTERFACE "Failed to bind to terminal interface for incoming characters",
782 failure BIND_OUT_INTERFACE "Failed to bind to terminal interface for outgoing characters",
783 failure BIND_CONF_INTERFACE "Failed to bind to terminal configuration interface",
784 failure IO "Terminal I/O error",
785 failure TX_BUSY "Failed to send message, terminal client is busy",
786 failure UNKNOWN_CONFIG_OPT "Unknown configuration option",
787 failure CHANGE_WAITSET "Failed to change the waitset",
790 // errors generated by libangler
791 errors angler ANGLER_ERR_ {
792 failure LOOKUP_TERMINAL "Error looking up iref of terminal session interface at nameservice",
793 failure CREATE_SESSIONID "Error creating ID capability used to represent session",
794 failure BIND_TERMINAL "Error binding to terminal session interface",
795 failure INIT_RPCCLIENT "Error initializing rpc client for terminal session interface",
796 failure ASSOCIATE_WITH_TERMINAL "Error associating session with terminal",
797 failure STORE_SESSION_STATE "Error storing session state at ocotpus",
801 errors trace TRACE_ERR_ {
802 success SUBSYS_DISABLED "Event not recorded because subsystem is disabled",
803 failure NO_BUFFER "Trace buffer does not exist",
804 failure MAP_BUF "Failed to map trace buffer",
805 failure CREATE_CAP "Failed to create trace buffer cap",
806 failure CAP_COPY "Failed to copy trace buffer cap",
807 failure KERNEL_INVOKE "Failed to set up tracing in kernel",
810 errors driverkit DRIVERKIT_ {
811 failure NO_CAP_FOUND "No capability to map this address range.",
814 // errors in PCI/device handling
815 errors pci PCI_ERR_ {
816 failure DEVICE_NOT_INIT "Device not initialized",
817 failure IOAPIC_INIT "Failed in ioapic_init()",
818 failure MINT_IOCAP "Failed to mint IO cap",
819 failure ROUTING_IRQ "Failed while routing interrupt",
820 failure IRQTABLE_SET "Failed to set handler on local IRQ table",
821 failure UNKNOWN_GSI "Unknown global system interrupt number",
822 failure INVALID_VECTOR "Invalid interrupt vector",
823 failure DEVICE_INIT "Could not initialize device",
824 failure MEM_ALLOC "Could not allocate memory",
825 failure WRONG_INDEX "Invalid index for requested cap",
826 failure MSIX_NOTSUP "MSI-X is not sypported by the device",
827 failure MSIX_BADVECTOR "Invalid index for MSI-X vector",
828 failure MSIX_DISABLED "MSI-X is not enabled for this device",
832 errors acpi ACPI_ERR_ {
833 failure NO_MCFG_TABLE "No MCFG Table found.",
834 failure INVALID_PATH_NAME "Invalid ACPI path name.",
835 failure INVALID_HANDLE "Invalid ACPI handle.",
836 failure NO_CHILD_BRIDGE "No matching child bridge found.",
837 failure GET_RESOURCES "Failed to execute _CRT method.",
838 failure SET_IRQ "Failed to set IRQ for device.",
839 failure NO_MADT_TABLE "No APIC found in ACPI.",
840 failure OBJECT_NOT_FOUND "Could not locate ACPI object.",
843 errors vtd VTD_ERR_ {
844 failure INVALID_CAP "Cap is not for a x86-64 PML4 VNode",
845 failure DOM_NOT_FOUND "Domain for cap was not found",
846 failure DEV_NOT_FOUND "Device does not belong to the domain",
847 failure DEV_USED "The device is currently used by another domain",
848 failure FULL "No more domains can be created",
849 failure NO_UNITS "Hardware doesn't contain any VT-d hardware units",
850 failure NOT_ENABLED "VT-d not enabled",
854 errors skb SKB_ERR_ {
855 failure CONVERSION_ERROR "Conversion (parsing) of the result failed.",
856 failure EXECUTION "The SKB returned an error Check error code.",
857 failure EVALUATE "Failure in skb_evalute()",
858 failure RUN "Failure in running rpc: run",
859 failure GOAL_FAILURE "Posted goal could not be satisfied.",
860 failure UNEXPECTED_OUTPUT "Query produced output but none was expected.",
861 failure OVERFLOW "Parameter exceeds internal buffer length.",
862 success IO_OUTPUT "Read I/O Output from SKB.",
865 errors skb_datagatherer SKB_DATAGATHERER_ERR_ {
866 failure CPUID "Failed to collect CPUID information",
869 // errors in a file system implementation
871 failure INVALID_FH "The given file handle is invalid or has expired",
872 failure NOTDIR "The given file handle is not a directory",
873 failure NOTFILE "The given file handle is not a file",
874 failure INDEX_BOUNDS "The given directory index is out of bounds",
875 failure NOTFOUND "The given name does not exist",
876 failure EXISTS "The given name already exists",
877 failure NOTEMPTY "The given directory is not empty",
879 failure BULK_NOT_INIT "The bulk transfer mode has not been initialised",
880 failure BULK_ALREADY_INIT "The bulk_init() call may only be made once per connection",
883 // errors in the vfs library
884 errors vfs VFS_ERR_ {
885 success EOF "End of file",
886 failure BAD_MOUNTPOINT "The mountpoint is invalid",
887 failure MOUNTPOINT_IN_USE "The given mountpoint is already in use",
888 failure BAD_URI "The URI given to mount is invalid",
889 failure UNKNOWN_FILESYSTEM "The filesystem type in the URI is unknown",
890 failure MOUNTPOINT_NOTFOUND "The given mountpoint doesn't exist",
891 failure NOT_SUPPORTED "The file type does not support this operation",
893 failure IN_OPEN "Nested error in vfs_open()",
894 failure IN_STAT "Nested error in vfs_stat()",
895 failure IN_READ "Nested error in vfs_read()",
897 failure BCACHE_LIMIT "Number of buffer cache connections exceeded",
901 // FIXME: someone could copy in the real error strings...
902 errors nfs NFS_ERR_ {
903 /* transport error */
904 failure TRANSPORT "Unknown error in underlying NFS RPC transport.",
907 failure MNT_PERM "Not owner",
908 failure MNT_NOENT "No such file or directory",
909 failure MNT_IO "I/O error",
910 failure MNT_ACCES "Permission denied",
911 failure MNT_NOTDIR "Not a directory",
912 failure MNT_INVAL "Invalid argument",
913 failure MNT_NAMETOOLONG "Filename too long",
914 failure MNT_NOTSUPP "Operation not supported",
915 failure MNT_SERVERFAULT "A failure on the server",
918 failure PERM "NFS error (PERM). See RFC1813.",
919 failure NOENT "NFS error (NOENT). See RFC1813.",
920 failure IO "NFS error (IO). See RFC1813.",
921 failure NXIO "NFS error (NXIO). See RFC1813.",
922 failure ACCES "NFS error (ACCES). See RFC1813.",
923 failure EXIST "NFS error (EXIST). See RFC1813.",
924 failure XDEV "NFS error (XDEV). See RFC1813.",
925 failure NODEV "NFS error (NODEV). See RFC1813.",
926 failure NOTDIR "NFS error (NOTDIR). See RFC1813.",
927 failure ISDIR "NFS error (ISDIR). See RFC1813.",
928 failure INVAL "NFS error (INVAL). See RFC1813.",
929 failure FBIG "NFS error (FBIG). See RFC1813.",
930 failure NOSPC "NFS error (NOSPC). See RFC1813.",
931 failure ROFS "NFS error (ROFS). See RFC1813.",
932 failure MLINK "NFS error (MLINK). See RFC1813.",
933 failure NAMETOOLONG "NFS error (NAMETOOLONG). See RFC1813.",
934 failure NOTEMPTY "NFS error (NOTEMPTY). See RFC1813.",
935 failure DQUOT "NFS error (DQUOT). See RFC1813.",
936 failure STALE "NFS error (STALE). See RFC1813.",
937 failure REMOTE "NFS error (REMOTE). See RFC1813.",
938 failure BADHANDLE "NFS error (BADHANDLE). See RFC1813.",
939 failure NOT_SYNC "NFS error (NOT_SYNC). See RFC1813.",
940 failure BAD_COOKIE "NFS error (BAD_COOKIE). See RFC1813.",
941 failure NOTSUPP "NFS error (NOTSUPP). See RFC1813.",
942 failure TOOSMALL "NFS error (TOOSMALL). See RFC1813.",
943 failure SERVERFAULT "NFS error (SERVERFAULT). See RFC1813.",
944 failure BADTYPE "NFS error (BADTYPE). See RFC1813.",
945 failure JUKEBOX "NFS error (JUKEBOX). See RFC1813.",
949 errors lwip LWIP_ERR_ {
950 failure MEM "Out of memory error.",
951 failure BUF "Buffer error.",
952 failure TIMEOUT "Timeout.",
953 failure RTE "Routing problem.",
954 failure ABRT "Connection aborted.",
955 failure RST "Connection reset.",
956 failure CLSD "Connection closed.",
957 failure CONN "Not connected.",
958 failure VAL "Illegal value.",
959 failure ARG "Illegal argument.",
960 failure USE "Address in use.",
961 failure IF "Low-level netif error",
962 failure ISCONN "Already connected.",
963 failure INPROGRESS "Operation in progress",
964 failure TXFULL "TX capacity is full, try again later",
967 // DIST library errors
968 errors dist DIST_ERR_ {
969 failure NS_REG "Name service register failed.",
970 failure NS_LOOKUP "Name service lookup failed.",
973 // octopus library errors
974 errors octopus OCT_ERR_ {
975 failure NO_RECORD "No record exists matching the specified query.",
976 failure NO_RECORD_NAME "Your query needs to specify a designated record name (no regex/variable allowed).",
977 failure CONSTRAINT_MISMATCH "The constraints you specified on set do not match the record in the database.",
978 failure QUERY_SIZE "Query is too big. Try to increase MAX_QUERY_LENGTH.",
979 failure INVALID_FORMAT "The read format you have specified is not valid.",
980 failure UNKNOWN_ATTRIBUTE "An attribute in your format was not found in the record.",
981 failure UNSUPPORTED_BINDING "This binding is unsupported by the underlying implementation.",
982 failure PARSER_FAIL "Record parser encountered syntax error.",
983 failure ENGINE_FAIL "Database error during query execution.",
984 failure NO_SUBSCRIPTION "No subscription found matching the query.",
985 failure NO_SUBSCRIBERS "No subscription found matching the query.",
986 failure MAX_SUBSCRIPTIONS "Failed to register subscription. Try to increase MAX_SUBSCRIPTIONS.",
987 failure INVALID_ID "Invalid Trigger ID.",
988 failure CAP_NAME_UNKNOWN "Capability storage: Unknown name.",
989 failure CAP_OVERWRITE "Capability storage: Cap already exists.",
990 failure IDCAP_INVOKE "Error invoking ID capability.",
993 // kaluga library errors
994 errors kaluga KALUGA_ERR_ {
995 failure PARSE_MODULES "Cannot parse menu.lst.",
996 failure MODULE_NOT_FOUND "Boot module not found.",
997 failure DRIVER_ALREADY_STARTED "Driver for this type of device is already running.",
998 failure DRIVER_NOT_AUTO "Driver not declared as auto in menu.lst.",
999 failure WAITING_FOR_ACPI "Unable to wait for ACPI",
1000 failure QUERY_LOCAL_APIC "Unable to query local APIC.",
1001 failure UNKNOWN_PLATFORM "Unable to initialize platform",
1005 // errors generated by THC
1007 failure CANCELED "Operation canceled",
1010 // errors generated by memory server
1012 failure SKB "Invalid data from SKB",
1013 failure INIT_PEERS "Could not initialise peer data structures",
1016 // errors generated by startd
1017 errors startd STARTD_ERR_ {
1018 failure BOOTMODULES "Invalid bootmodules file",
1021 errors lox LOX_ERR_ {
1022 failure INIT_LOCKS "Failure initialising locks",
1023 failure NO_LOCKS "No more locks available",
1026 // errors generated by VBE framebuffer driver
1027 errors vbe VBE_ERR_ {
1028 failure MODE_NOT_FOUND "Unknown/unsupported video mode requested",
1029 failure BIOS_CALL_FAILED "Unknown error returned from VBE BIOS call",
1032 // errors generated by lib/blk/ahci
1033 errors ahcid AHCI_ERR_ {
1034 failure PORT_INIT "Port initialization failed",
1035 failure PORT_INVALID "Provided port id is not valid",
1036 failure PORT_BUSY "Port has been opened elsewhere",
1037 failure PORT_MISMATCH "Port is not opened by client",
1038 failure NO_FREE_PRD "No free PRD left for user data",
1039 failure ILLEGAL_ARGUMENT "Illegal argument in call",
1042 // errors generated by devif
1043 errors ahcid DEV_ERR_ {
1044 failure NOT_INITIALIZED "Queue exists but could not be initialized.",
1045 failure NOT_FOUND "Invalid queue requested, not found?",
1046 failure ALREADY_CREATED "The queue specified has already been created.",
1047 failure REGISTER_BUFFER "Unable to register the buffer with the driver.",
1048 failure INVALID_BUFFER_ARGS "Invalid arguments for specified buffer.",
1049 failure QUEUE_EMPTY "Nothing to dequeue.",
1050 failure QUEUE_FULL "The queue is full.",
1053 errors sata SATA_ERR_ {
1054 failure INVALID_TYPE "Unknown FIS type or invalid/unimplemented field for type",
1057 errors mmchs MMC_ERR_ {
1058 failure TRANSFER "Error during card read/write operation.",
1059 FAILURE READ_READY "Card not ready for reading.",
1060 FAILURE WRITE_READY "Card not ready for writing.",
1063 // errors generated by FAT
1064 errors fat FAT_ERR_ {
1065 failure BAD_FS "Filesystem does not look like FAT, or is an unsupported kind of FAT",
1068 // errors generated by VFS's fs cache library
1069 errors cache FS_CACHE_ {
1070 failure FULL "Cache is full",
1071 failure NOTPRESENT "Requested key is not in cache",
1072 failure CONFLICT "Cache already contains an item with the requested key",
1075 // errors generated by OMAP SDMA driver
1076 errors omap_sdma OMAP_SDMA_ERR_ {
1077 failure NO_AVAIL_CHANNEL "All channels are currently allocated",
1078 failure TRANSACTION "Memory Transaction error occured",
1079 failure SUPERVISOR "Supvervisor transaction error occured",
1080 failure MISALIGNED_ADDRESS "Transfer addresses were misaligned",
1081 failure HARDWARE_LIMIT_SIZE "Transfer size values too large for hardware",
1082 failure HARDWARE_LIMIT_ADDR "Transfer address modifier values too large for hardware",
1083 failure OUT_OF_BOUNDS "Transfer access outside frame cap boundaries",
1084 failure CAP_LOOKUP "Failure during frame capability lookup",
1087 // common/generic errors
1088 errors common ERR_ {
1089 failure NOTIMP "Not implemented",
1092 errors bulk_transfer BULK_TRANSFER_ {
1093 failure MEM "Internal not enough memory error",
1094 failure NO_CALLBACK "No callback was set",
1095 failure CHAN_CREATE "Channel create operation failed.",
1096 failure CHAN_BIND "Channel bind operation failed.",
1097 failure CHAN_ASSIGN_POOL "Channel assign pool operation failed.",
1098 failure CHAN_STATE "Channel has a wrong state",
1099 failure CHAN_TRUST "Channel has a invalid trust level.",
1100 failure CHAN_INVALID_EP "Channel has an invalid endpoint.",
1101 failure CHAN_DIRECTION "The channel has the wrong direction for this operation.",
1102 failure POOL_INVALD "The pool does not match.",
1103 failure POOL_NOT_ASSIGNED "The pool has not yet been assigned to a channel.",
1104 failure POOL_ASSIGN_VETO "The assignment request of the pool has been vetoed.",
1105 failure POOL_MAP "Mapping of the pool failed",
1106 failure POOL_UNMAP "The Unmapping of the pool failed",
1107 failure POOL_ALREADY_ASSIGNED "The pool has already been assigned to this channel.",
1108 failure POOL_ALREADY_REMAPPED "The pool has already been remapped.",
1109 failure BUFFER_NOT_OWNED "The supplied buffer is not owned by this domain.",
1110 failure BUFFER_INVALID "The buffer is not valid.",
1111 failure BUFFER_ALREADY_MAPPED "The buffer is already mapped.",
1112 failure BUFFER_STATE "The buffer has a wrong state.",
1113 failure BUFFER_REFCOUNT "The buffer has a wrong reference count.",
1114 failure BUFFER_NOT_A_COPY "The released buffer is not a copy.",
1115 failure BUFFER_MAP "The mapping of the buffer failed",
1116 failure BUFFER_UNMAP "The unmapping of the buffer failed.",
1117 failure ALLOC_BUFFER_SIZE "The supplied buffer size is not valid.",
1118 failure ALLOC_BUFFER_COUNT "The supplied buffer count is not valid.",
1119 failure INVALID_ARGUMENT "The supplied argument is invalid.",
1120 failure SM_NO_PENDING_MSG "No pending message associated with that tid",
1121 failure SM_EXCLUSIVE_WS "BULK_SM: Exclusive waitset required per channel.",
1122 failure NET_MAX_QUEUES "The number of maximum queues is reached",
1123 failure NET_POOL_USED "The pool is already used over a no-copy channel.",
1128 errors virtio VIRTIO_ERR_ {
1129 failure SIZE_INVALID "Size of the ringe is zero or not a power of two",
1130 failure MAX_INDIRECT "Too much indirect descriptors",
1131 failure CAP_SIZE "Supplied cap is too small",
1132 failure QUEUE_FULL "The queue was full",
1133 failure QUEUE_EMPTY "The queue was empty",
1134 failure BACKEND "Invalid backend",
1135 failure DEVICE_REGISTER "The device registers have not been mapped",
1136 failure NOT_VIRTIO_DEVICE "The device is not a VirtIO device",
1137 failure VERSION_MISMATCH "The VirtIO versions do mismatch",
1138 failure DEVICE_STATUS "VirtIO device has the wrong status",
1139 failure DEVICE_TYPE "The VirtIO device is not of the expected type",
1140 failure DEVICE_IDLE "The VirtIO device is idle. No new requests.",
1141 failure QUEUE_ACTIVE "The selected qeueue is already activated",
1142 failure QUEUE_INVALID "The selected queue does not exist",
1143 failure QUEUE_BUSY "The queue is busy.",
1144 failure BUFFER_SIZE "The buffer size is invalid.",
1145 failure BUFFER_STATE "The state of the buffer / buffer list is invalid",
1146 failure ARG_INVALID "The given argument is invalid.",
1147 failure NO_BUFFER "No buffer given, number of buffers is 0",
1148 failure ALLOC_FULL "The allocator is already full",
1149 failure BUFFER_USED "The buffer is already enqueued and used",
1150 failure NO_DESC_AVAIL "There is no descriptor availabe",
1151 failure DEQ_CHAIN "Not the entire chain could be dequeued",
1152 failure INVALID_RING_INDEX "The supplied index is not valid",
1153 failure BLK_REQ_IOERR "The request ended in an IO error",
1154 failure BLK_REQ_UNSUP "The request type was not supported",
1157 errors xeon_phi XEON_PHI_ERR_ {
1158 failure MGR_REGISTER_FAILED "Registration with the Xeon Phi Manager failed",
1159 failure MGR_MAX_CARDS "There are too much drivers connected",
1160 failure MSG_NOT_REACHABLE "There is not connection to that Xeon Phi",
1161 failure MSG_NOT_INITIALIZED "Messaging service has not been initialized",
1162 failure CLIENT_OPEN_REJECT "Client rejected the channel open",
1163 failure CLIENT_DOMAIN_VOID "The targeted domain was not found",
1164 failure CLIENT_REGISTER "Xeon Phi client could not be registered with the driver",
1165 failure CLIENT_BUSY "The connection to the Xeon Phi driver is busy",
1166 failure INVALID_ID "Supplied Xeon Phi ID is invalid",
1169 errors dma DMA_ERR_ {
1170 failure PCI_ADDRESS "The PCI address of the device is not as expected",
1171 failure DEVICE_UNSUPPORTED "Device ID not supported / wrong configuration",
1172 failure DEVICE_IDLE "The device is idle, no transfers finished",
1173 failure ARG_INVALID "Supplied argument was not valid",
1174 failure RESET_TIMEOUT "The reset attempt timed out",
1175 failure NO_DESCRIPTORS "There are too less descriptors available",
1176 failure NO_REQUESTS "There are no request descriptors left",
1177 failure CHAN_ERROR "Hardware channel error",
1178 failure CHAN_BUSY "The channel is busy and cannot accept more",
1179 failure CHAN_IDLE "There were no finished requests on the channel",
1180 failure REQUEST_UNFINISHED "The request is still in operation",
1181 failure REQUEST_UNSUPPORTED "Request is not supported by this device/channel",
1182 failure REQUEST_TOO_LARGE "Request size is too large",
1183 failure REQUEST_ID "Request with that ID does not exist",
1184 failure ALIGNMENT "The address / size is worngly alined",
1185 failure MEM_OVERLAP "The memory regions overlap",
1186 failure MEM_NOT_REGISTERED "The memory region was not registered",
1187 failure MEM_OUT_OF_RANGE "Memory region is out of supported range",
1188 failure SVC_REJECT "Service request was rejected",
1189 failure SVC_RESOURCES "No resources to handle the service",
1190 failure SVC_VOID "There is no service that could serve the request",
1191 failure SVC_NO_CONNECTION "There is no connection established",
1192 failure SVC_BUSY "Connecton is busy with an RPC",
1195 errors xomp XOMP_ERR_ {
1196 failure INVALID_WORKER_ARGS "The command line arguments are not XOMP worker",
1197 failure BAD_INVOCATION "Domain was not spawned with worker args",
1198 failure INVALID_MSG_FRAME "The supplied messaging frame was invalid",
1199 failure SPAWN_WORKER_FAILED "Spawning of the worker failed",
1200 failure MASTER_NOT_INIT "XOMP Master library has not been initialized",
1201 failure WORKER_INIT_FAILED "Worker initialization failed",
1202 failure WORKER_STATE "worker is in the wrong state",
1203 failure INVALID_MEMORY "the memory has not been registred / shared",
1204 failure INVALID_TOKEN "the token was invalid",
1205 failure INVALID_ARGUMENTS "the library was initialized with invalid args",
1208 errors numa NUMA_ERR_ {
1209 failure NOT_AVAILABLE "NUMA functionality is not available",
1210 failure BITMAP_PARSE "Parsing of the bitmap character string failed",
1211 failure BITMAP_RANGE "The bitmap is too small to hold the data",
1212 failure NUMA_MEMBIND "Setting the memory binding failed",
1213 failure LIB_INIT "Library initialization failure",
1214 failure SKB "Failed to query or connect the SKB",
1215 failure SKB_DATA "The returned data from the SKB is incomplete",
1216 failure NODEID_INVALID "Invalid node ID",
1217 failure COREID_INVALID "Invalid core ID",
1220 errors cpuid CPUID_ERR_ {
1221 failure UNSUPPORTED_FUNCTION "This function is not valid on this CPU.",
1222 failure UNKNOWN_VENDOR "The CPU vendor is not supported",
1223 failure INVALID_INDEX "There is no leaf with this index",
1226 errors cpuid DEVQ_ERR_ {
1227 failure INIT_QUEUE "Could not initalize queue",
1228 failure BUFFER_ID "Could not get a buffer id.",
1229 failure BUFFER_NOT_IN_REGION "The buffer id is not in this region",
1230 failure BUFFER_ALREADY_IN_USE "The buffer is already in use",
1231 failure BUFFER_NOT_IN_USE "The buffer not in use",
1232 failure INVALID_REGION_ID "The region id is not valid",
1233 failure REGION_DESTROY "The region has still buffers that are in use",
1234 failure TX_FULL "Send queue full",
1235 failure RX_EMPTY "Receive queue emtpy",
1236 failure DESCQ_INIT "Failure in descriptor queue init",
1239 // errors generated by solarflare cards
1240 errors sfn SFN_ERR_{
1241 failure IO "Error during card IO",
1242 failure INTR "Interrupted system call",
1243 failure NOSYS "Not implemented",
1244 failure UNKNOWN "Uknown error",
1245 failure TX_PKT "Error sending packet",
1246 failure RX_PKT "Error receiving packet",
1247 failure RX_DISCARD "Error, packet needs to be discared",
1248 failure ALLOC_BUF "Error allocating buffer",
1249 failure REGISTER_REGION "Error registering a region",
1250 failure DEREGISTER_REGION "Error deregistering a region",
1251 failure ALLOC_QUEUE "Failure allocating queue",
1252 failure ENQUEUE "Failure during enqueue",
1253 failure QDRIVER "Failure starting queue driver",