1 /* THIS FILE IS AUTOMATICALLY GENERATED: DO NOT EDIT */ 2 static 3 char *SPCS_MSG_DSW[] = { 4 "", 5 "Empty string", 6 "Unable to read or write bitmap header", 7 "Bitmap magic number is not valid", 8 "Arguments inconsistent with current bitmap", 9 "Shadow too small", 10 "Bitmap too small", 11 "Registration failed", 12 "Bitmap is dirty", 13 "Shadow shutting down", 14 "nsc_open failed", 15 "Volume in use", 16 "Volume not enabled", 17 "Volume copy in progress", 18 "I/O error copying data", 19 "Copy operation aborted", 20 "nsc_partsize failed", 21 "Volumes are not currently independent", 22 "Could not allocate memory for bitmaps in interface library (malloc)", 23 "nsc_reserve failed", 24 "Another package would not allow target to be changed at this moment", 25 "Source shadow volume is not complete due to earlier overflow", 26 "Shadow volume is not exported", 27 "Operation already successfully performed", 28 "Wrong type of shadow group", 29 "Overflow volume magic number or name does not match", 30 "Volumes are currently dependent on overflow volume", 31 "Volume offline", 32 "Set not pid-locked", 33 "Cluster resource group not found", 34 "No such group defined", 35 "One or more sets failed to be disabled", 36 "Update or copy not allowed on an exported shadow volume", 37 }; 38 #define SPCS_MSGLEN_DSW 32 /* total codes */ 39 static 40 char *SPCS_MSG_RDC[] = { 41 "", 42 "Must be super-user to execute", 43 "Invalid flag %s", 44 "%s ==> %s not already enabled", 45 "Disable pending on %s ==> %s, try again later", 46 "Enable pending on %s ==> %s, try again later", 47 "Host %s: Source %s, open remote host failed", 48 "Host %s: Source %s, open failed", 49 "Host %s: Target %s, open remote host failed", 50 "Host %s: Target %s, open failed", 51 "Disks %s,%s do not reside on host %s or host %s", 52 "Master %s and Slave %s have same id %s", 53 "Master %s does not reside on this host: %s", 54 "%s is failed from %s..cannot proceed", 55 "Currently syncing, unable to disable", 56 "Unable to connect to %s: local disable complete, remote disable aborted", 57 "Will disable when ATM queue flushes on %s ==> %s", 58 "Request not serviced, %s is currently being synced.", 59 "Could not initialize remote data structures on %s ==> %s set", 60 "Could not initialize local data structures on %s ==> %s set", 61 "Target %s is failed, cannot set up for sync operation", 62 "Size of Primary %s:%s(%s) must be less than or equal to size of Secondary %s:%s(%s)", 63 "Device size change in dual copy set", 64 "Recovery bitmaps not allocated", 65 "Could not initialize data structures on %s ==> %s set after sync", 66 "Dual copy failed, offset:%s", 67 "Mirror node is down", 68 "%s:%s has invalid size (%s)..cannot proceed", 69 "Update sync %s:%s ==> %s:%s only allowed for an rdc device set", 70 "Illegal device set %s:%s to itself", 71 "Device %s:%s belongs to another RDC device set", 72 "Changing the primary SNDR device %s:%s to become secondary and the secondary SNDR device %s:%s to become primary is not allowed in advanced configs", 73 "Could not open file %s:%s on remote node", 74 "Could not create rdc_config process", 75 "Allocation of bitmap device %s failed", 76 "Change request denied, volume mirror is up", 77 "Change request denied, don't understand request version", 78 "Empty string", 79 "%s:%s ==> %s:%s is already enabled", 80 "Unable to open %s:%s", 81 "Unable to add interface %s to %s", 82 "Unable to register %s", 83 "Not primary, cannot sync %s:%s and %s:%s", 84 "Reverse sync needed, cannot sync %s:%s ==> %s:%s", 85 "Unable to initialize the kernel thread set", 86 "NULL struct knetconfig passed down from user program", 87 "NULL struct netbuf passed down from user program for %s", 88 "The state of %s:%s ==> %s:%s prevents this operation", 89 "Cannot enable %s:%s ==> %s:%s, secondary in use in another set", 90 "The remote state of %s:%s ==> %s:%s prevents this operation", 91 "The bitmap %s is already in use", 92 "The volume %s is already in use", 93 "Cannot use direct I/O on first leg of multi hop config", 94 "Cannot add %s:%s ==> %s:%s to group %s", 95 "Cannot reconfigure sync/async on members of a group", 96 "Cannot reconfig %s:%s to %s:%s, Must be in logging mode", 97 "Bitmap reconfig failed %s:%s", 98 "Cannot overwrite bitmap as the set %s:%s is not in logging mode", 99 "Disable pending on diskq %s, try again later", 100 "Cannot change disk queue %s, all associated sets must be in logging mode", 101 "%s:%s ==> %s:%s already has a disk queue attached", 102 "Disk queue does not exist for set %s:%s ==> %s:%s", 103 "Operation not possible. Disk queue %s is flushing, try again later", 104 "Disk queue operations on synchronous sets not allowed", 105 "Disk queue %s is already in use", 106 "Unable to enable disk queue %s", 107 "Initialization of disk queue %s failed", 108 "Operation not possible, disk queue %s is not empty.", 109 "Disk queue %s operation not possible, set is in replicating mode", 110 "Cannot reverse sync %s:%s <== %s:%s, set is in queuing mode", 111 "can not start sync as set %s:%s is not logging", 112 "Allocation of bitmap device %s failed, volume is too small", 113 }; 114 #define SPCS_MSGLEN_RDC 71 /* total codes */ 115 static 116 char *SPCS_MSG_SPCS[] = { 117 "", 118 "status codes and/or supporting information lost", 119 "The handle presented for access is not valid", 120 "Unable to grant access", 121 "An internal error happened", 122 "The handle is already in use", 123 "The referenced SPCS driver could not be loaded:", 124 "Expected version not found, got libspcs.jar version:", 125 "The libspcs.jar version does not match the libspcs.so version", 126 "Handle presented belongs to some other SPCS module", 127 "Root privilege required for libspcs access", 128 "Test of asynch status output@@", 129 }; 130 #define SPCS_MSGLEN_SPCS 11 /* total codes */ 131 static 132 char *SPCS_MSG_SDBC[] = { 133 "", 134 "SDBC Place holder until definitions checked in by coresw dev.", 135 "Obsolete sdbc ioctl used", 136 "Cache deconfig failed. Not initialized", 137 "Get cluster size operation failed. Cache not initialized", 138 "Get cluster data operation failed. Cache not initialized", 139 "Get global size operation failed. Cache not initialized", 140 "Get global info operation failed. Cache not initialized", 141 "Cache flushing mode is (mode %s)", 142 "Unknown ioctl: unsupported (cmd %s)", 143 "Cache not deconfigured", 144 "Pinned data on %s", 145 "Active RDC pair not closed", 146 "Could not unregister sdbc io module", 147 "Cache enable failed. Already initialized.", 148 "Cache enable failed.", 149 "Cache block size %s not supported.", 150 "Mismatched versions of scmadm and sdbc module.", 151 "Insufficient memory for cache.", 152 "No memory for iobuf hooks.", 153 "Missing iobuf driver callback.", 154 "No memory for buffer handles.", 155 "Cache memory initialzation error.", 156 "Flush threads create failure.", 157 "Cannot create hash table", 158 "Cannot allocate cache block structures", 159 "Cannot allocate cctl sync structures", 160 "Cannot allocate cache data structures", 161 "Cannot allocate cache data structures for mirror areas", 162 "Cannot allocate shared file area", 163 "Cannot allocate shared file area in nvmem", 164 "Unable to refresh host memory", 165 "Hostid %s greater than maximum (%s)", 166 "Self host %s and mirror host %s cannot be the same", 167 "No RM locks configured", 168 "Global information transfer failed", 169 "64 bit conversion called on a 32 bit system", 170 "Anonymous buffers currently allocated from sdbc", 171 "Device not enabled in cache", 172 }; 173 #define SPCS_MSGLEN_SDBC 38 /* total codes */ 174 static 175 char *SPCS_MSG_SOLARIS[] = { 176 "", 177 "Not super-user", 178 "No such file or directory", 179 "No such process", 180 "interrupted system call", 181 "I/O error", 182 "No such device or address", 183 "Arg list too long", 184 "Exec format error", 185 "Bad file number", 186 "No children", 187 "Resource temporarily unavailable", 188 "Not enough core", 189 "Permission denied", 190 "Bad address", 191 "Block device required", 192 "Mount device busy", 193 "File exists", 194 "Cross-device link", 195 "No such device", 196 "Not a directory", 197 "Is a directory", 198 "Invalid argument", 199 "File table overflow", 200 "Too many open files", 201 "Inappropriate ioctl for device", 202 "Text file busy", 203 "File too large", 204 "No space left on device", 205 "Illegal seek", 206 "Read only file system", 207 "Too many links", 208 "Broken pipe", 209 "Math arg out of domain of func", 210 "Math result not representable", 211 "No message of desired type", 212 "Identifier removed", 213 "Channel number out of range", 214 "Level 2 not synchronized", 215 "Level 3 halted", 216 "Level 3 reset", 217 "Link number out of range", 218 "Protocol driver not attached", 219 "No CSI structure available", 220 "Level 2 halted", 221 "Deadlock condition.", 222 "No record locks available.", 223 "Operation canceled", 224 "Operation not supported", 225 "Disc quota exceeded", 226 "invalid exchange", 227 "invalid request descriptor", 228 "exchange full", 229 "no anode", 230 "invalid request code", 231 "invalid slot", 232 "file locking deadlock error", 233 "bad font file fmt", 234 "not defined", 235 "not defined", 236 "Device not a stream", 237 "no data (for no delay io)", 238 "timer expired", 239 "out of streams resources", 240 "Machine is not on the network", 241 "Package not installed", 242 "The object is remote", 243 "the link has been severed", 244 "advertise error", 245 "srmount error", 246 "Communication error on send", 247 "Protocol error", 248 "undefined", 249 "undefined", 250 "multihop attempted", 251 "undefined", 252 "undefined", 253 "trying to read unreadable message", 254 "path name is too long", 255 "value too large to be stored in data type", 256 "given log. name not unique", 257 "f.d. invalid for this operation", 258 "Remote address changed", 259 "Can't access a needed shared lib.", 260 "Accessing a corrupted shared lib.", 261 ".lib section in a.out corrupted.", 262 "Attempting to link in too many libs.", 263 "Attempting to exec a shared library.", 264 "Illegal byte sequence.", 265 "Unsupported file system operation", 266 "Symbolic link loop", 267 "Restartable system call", 268 "if pipe/FIFO, don't sleep in stream head", 269 "directory not empty", 270 "Too many users (for UFS)", 271 "Socket operation on non-socket", 272 "Destination address required", 273 "Message too long", 274 "Protocol wrong type for socket", 275 "Protocol not available", 276 "undefined", 277 "undefined", 278 "undefined", 279 "undefined", 280 "undefined", 281 "undefined", 282 "undefined", 283 "undefined", 284 "undefined", 285 "undefined", 286 "undefined", 287 "undefined", 288 "undefined", 289 "undefined", 290 "undefined", 291 "undefined", 292 "undefined", 293 "undefined", 294 "undefined", 295 "undefined", 296 "Protocol not supported", 297 "Socket type not supported", 298 "Operation not supported on socket", 299 "Protocol family not supported", 300 "Address family not supported by protocol family", 301 "Address already in use", 302 "Can't assign requested address operational errors", 303 "Network is down", 304 "Network is unreachable", 305 "Network dropped connection because of reset", 306 "Software caused connection abort", 307 "Connection reset by peer", 308 "No buffer space available", 309 "Socket is already connected", 310 "Socket is not connected", 311 "XENIX 135", 312 "XENIX 136", 313 "XENIX 137", 314 "XENIX 138", 315 "XENIX 139", 316 "XENIX 140", 317 "XENIX 141", 318 "XENIX 142", 319 "Can't send after socket shutdown", 320 "Too many references: can't splice", 321 "Connection timed out", 322 "Connection refused", 323 "Host is down", 324 "No route to host", 325 "operation already in progress", 326 "operation now in progress", 327 "Stale NFS file handle", 328 }; 329 #define SPCS_MSGLEN_SOLARIS 151 /* total codes */ 330 static 331 char *SPCS_MSG_SV[] = { 332 "", 333 "No more SVs available", 334 "Array bounds check (min %s, max %s, got %s)", 335 "Device already present in kernel", 336 "Soft state alloc failed", 337 "Soft state corrupted", 338 "failed", 339 "Device not present in kernel configuration", 340 "Device already enabled", 341 "Unable to load/hold underlying disk driver", 342 "Error from nsc_open()", 343 "Device not enabled", 344 "Unable to disable device - device in use", 345 "Bad dev_t in config structure", 346 "Recursive strategy functions", 347 "Libspcs detected a nonspecific SV error", 348 "Error from stat()", 349 "User access to this device is not allowed by StorageTek kernel software", 350 "Illegal access mode", 351 "Incompatible guard magic or version number", 352 "Unable to translate pathname to major/minor number", 353 "Unable to match guard client module to internal module id", 354 "Unable to create kernel only guard, device already user enabled", 355 "Error from layered driver open", 356 }; 357 #define SPCS_MSGLEN_SV 23 /* total codes */ 358 /* 359 * CDDL HEADER START 360 * 361 * The contents of this file are subject to the terms of the 362 * Common Development and Distribution License (the "License"). 363 * You may not use this file except in compliance with the License. 364 * 365 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 366 * or http://www.opensolaris.org/os/licensing. 367 * See the License for the specific language governing permissions 368 * and limitations under the License. 369 * 370 * When distributing Covered Code, include this CDDL HEADER in each 371 * file and include the License file at usr/src/OPENSOLARIS.LICENSE. 372 * If applicable, add the following below this CDDL HEADER, with the 373 * fields enclosed by brackets "[]" replaced with your own identifying 374 * information: Portions Copyright [yyyy] [name of copyright owner] 375 * 376 * CDDL HEADER END 377 */ 378 /* 379 * Copyright 2008 Sun Microsystems, Inc. All rights reserved. 380 * Use is subject to license terms. 381 */ 382 static char **SPCS_S_MSG[] = { 383 SPCS_MSG_SOLARIS, 384 SPCS_MSG_SPCS, 385 SPCS_MSG_DSW, 386 SPCS_MSG_SV, 387 SPCS_MSG_RDC, 388 SPCS_MSG_SDBC 389 }; 390 static int SPCS_S_MSGLEN[] = { 391 SPCS_MSGLEN_SOLARIS, 392 SPCS_MSGLEN_SPCS, 393 SPCS_MSGLEN_DSW, 394 SPCS_MSGLEN_SV, 395 SPCS_MSGLEN_RDC, 396 SPCS_MSGLEN_SDBC 397 }; 398