1 #include <sys/sbd_ioctl.h> 2 static char *sbd_t0[] = { 3 "no error", 4 "Internal error", 5 "Insufficient memory", 6 "Protocol error", 7 "Device busy", 8 "No such device", 9 "Operation already in progress", 10 "I/O error", 11 "Bad address", 12 "No device(s) on board", 13 "Invalid argument", 14 "Invalid state transition", 15 "Device in fatal state", 16 "Outstanding error", 17 "Device failed to suspend", 18 "Device failed to resume", 19 "Cannot stop user thread", 20 "Cannot quiesce realtime thread", 21 "Cannot stop kernel thread", 22 "Failed to off-line", 23 "Failed to on-line", 24 "Failed to start CPU", 25 "Failed to stop CPU", 26 "Invalid component type", 27 "Kernel cage is disabled", 28 "No available memory target", 29 "Hardware programming error", 30 "VM viability test failed", 31 "Memory operation refused", 32 "Non-relocatable pages in span", 33 "Memory operation cancelled", 34 "Memory operation failed", 35 "Can't unconfig cpu if mem online", 36 "Operator confirmation for quiesce is required", 37 "Memory is interleaved across boards", 38 "Can't config memory if not all cpus are online", 39 "Unsafe driver present", 40 "option invalid", 41 }; 42 sbd_etab_t sbd_etab[] = { 43 { 0, 37, sbd_t0 }, 44 }; 45 int sbd_etab_len = 1; 46