Lines Matching refs:lprintf
110 lprintf(LOG_NOTICE, "Usage: sunoem <command> [option...]"); in ipmi_sunoem_usage()
111 lprintf(LOG_NOTICE, ""); in ipmi_sunoem_usage()
112 lprintf(LOG_NOTICE, "Commands:"); in ipmi_sunoem_usage()
113 lprintf(LOG_NOTICE, " - cli [<command string> ...]"); in ipmi_sunoem_usage()
114 lprintf(LOG_NOTICE, " Execute SP CLI commands."); in ipmi_sunoem_usage()
115 lprintf(LOG_NOTICE, ""); in ipmi_sunoem_usage()
116 lprintf(LOG_NOTICE, " - led get [<sensor_id>] [ledtype]"); in ipmi_sunoem_usage()
117 lprintf(LOG_NOTICE, " - Read status of LED found in Generic Device Locator."); in ipmi_sunoem_usage()
118 lprintf(LOG_NOTICE, ""); in ipmi_sunoem_usage()
119 lprintf(LOG_NOTICE, " - led set <sensor_id> <led_mode> [led_type]"); in ipmi_sunoem_usage()
120 lprintf(LOG_NOTICE, " - Set mode of LED found in Generic Device Locator."); in ipmi_sunoem_usage()
121 …lprintf(LOG_NOTICE, " - You can pass 'all' as the <senso_rid> to change the LED mode of all s… in ipmi_sunoem_usage()
122 lprintf(LOG_NOTICE, " - Use 'sdr list generic' command to get list of Generic"); in ipmi_sunoem_usage()
123 lprintf(LOG_NOTICE, " - Devices that are controllable LEDs."); in ipmi_sunoem_usage()
124 lprintf(LOG_NOTICE, ""); in ipmi_sunoem_usage()
125 lprintf(LOG_NOTICE, " - Required SIS LED Mode:"); in ipmi_sunoem_usage()
126 lprintf(LOG_NOTICE, " OFF Off"); in ipmi_sunoem_usage()
127 lprintf(LOG_NOTICE, " ON Steady On"); in ipmi_sunoem_usage()
128 lprintf(LOG_NOTICE, " STANDBY 100ms on 2900ms off blink rate"); in ipmi_sunoem_usage()
129 lprintf(LOG_NOTICE, " SLOW 1HZ blink rate"); in ipmi_sunoem_usage()
130 lprintf(LOG_NOTICE, " FAST 4HZ blink rate"); in ipmi_sunoem_usage()
131 lprintf(LOG_NOTICE, ""); in ipmi_sunoem_usage()
132 lprintf(LOG_NOTICE, " - Optional SIS LED Type:"); in ipmi_sunoem_usage()
133 lprintf(LOG_NOTICE, " OK2RM OK to Remove"); in ipmi_sunoem_usage()
134 lprintf(LOG_NOTICE, " SERVICE Service Required"); in ipmi_sunoem_usage()
135 lprintf(LOG_NOTICE, " ACT Activity"); in ipmi_sunoem_usage()
136 lprintf(LOG_NOTICE, " LOCATE Locate"); in ipmi_sunoem_usage()
137 lprintf(LOG_NOTICE, ""); in ipmi_sunoem_usage()
138 lprintf(LOG_NOTICE, " - nacname <ipmi_nac_name>"); in ipmi_sunoem_usage()
139 lprintf(LOG_NOTICE, " - Returns the full nac name"); in ipmi_sunoem_usage()
140 lprintf(LOG_NOTICE, ""); in ipmi_sunoem_usage()
141 lprintf(LOG_NOTICE, " - ping NUMBER <q>"); in ipmi_sunoem_usage()
142 lprintf(LOG_NOTICE, " - Send and Receive NUMBER (64 Byte) packets."); in ipmi_sunoem_usage()
143 lprintf(LOG_NOTICE, ""); in ipmi_sunoem_usage()
144 lprintf(LOG_NOTICE, " - q - Quiet. Displays output at start and end"); in ipmi_sunoem_usage()
145 lprintf(LOG_NOTICE, ""); in ipmi_sunoem_usage()
146 lprintf(LOG_NOTICE, " - getval <target_name>"); in ipmi_sunoem_usage()
147 lprintf(LOG_NOTICE, " - Returns the ILOM property value"); in ipmi_sunoem_usage()
148 lprintf(LOG_NOTICE, ""); in ipmi_sunoem_usage()
149 lprintf(LOG_NOTICE, " - setval <property name> <property value> <timeout>"); in ipmi_sunoem_usage()
150 lprintf(LOG_NOTICE, " - Sets the ILOM property value"); in ipmi_sunoem_usage()
151 lprintf(LOG_NOTICE, " - If timeout is not specified, the default is 5 sec."); in ipmi_sunoem_usage()
152 lprintf(LOG_NOTICE, " - NOTE: must be executed locally on host, not remotely over LAN!"); in ipmi_sunoem_usage()
153 lprintf(LOG_NOTICE, ""); in ipmi_sunoem_usage()
154 lprintf(LOG_NOTICE, " - sshkey del <user_id>"); in ipmi_sunoem_usage()
155 lprintf(LOG_NOTICE, " - Delete ssh key for user id from authorized_keys,"); in ipmi_sunoem_usage()
156 lprintf(LOG_NOTICE, " - view users with 'user list' command."); in ipmi_sunoem_usage()
157 lprintf(LOG_NOTICE, ""); in ipmi_sunoem_usage()
158 lprintf(LOG_NOTICE, " - sshkey set <user_id> <id_rsa.pub>"); in ipmi_sunoem_usage()
159 lprintf(LOG_NOTICE, " - Set ssh key for a userid into authorized_keys,"); in ipmi_sunoem_usage()
160 lprintf(LOG_NOTICE, " - view users with 'user list' command."); in ipmi_sunoem_usage()
161 lprintf(LOG_NOTICE, ""); in ipmi_sunoem_usage()
162 lprintf(LOG_NOTICE, " - version"); in ipmi_sunoem_usage()
163 lprintf(LOG_NOTICE, " - Display the software version"); in ipmi_sunoem_usage()
164 lprintf(LOG_NOTICE, ""); in ipmi_sunoem_usage()
165 lprintf(LOG_NOTICE, " - nacname <ipmi_nac_name>"); in ipmi_sunoem_usage()
166 lprintf(LOG_NOTICE, " - Returns the full nac name"); in ipmi_sunoem_usage()
167 lprintf(LOG_NOTICE, ""); in ipmi_sunoem_usage()
168 lprintf(LOG_NOTICE, " - getfile <file_string_id> <destination_file_name>"); in ipmi_sunoem_usage()
169 lprintf(LOG_NOTICE, " - Copy file <file_string_id> to <destination_file_name>"); in ipmi_sunoem_usage()
170 lprintf(LOG_NOTICE, ""); in ipmi_sunoem_usage()
171 lprintf(LOG_NOTICE, " - File string ids:"); in ipmi_sunoem_usage()
172 lprintf(LOG_NOTICE, " SSH_PUBKEYS"); in ipmi_sunoem_usage()
173 lprintf(LOG_NOTICE, " DIAG_PASSED"); in ipmi_sunoem_usage()
174 lprintf(LOG_NOTICE, " DIAG_FAILED"); in ipmi_sunoem_usage()
175 lprintf(LOG_NOTICE, " DIAG_END_TIME"); in ipmi_sunoem_usage()
176 lprintf(LOG_NOTICE, " DIAG_INVENTORY"); in ipmi_sunoem_usage()
177 lprintf(LOG_NOTICE, " DIAG_TEST_LOG"); in ipmi_sunoem_usage()
178 lprintf(LOG_NOTICE, " DIAG_START_TIME"); in ipmi_sunoem_usage()
179 lprintf(LOG_NOTICE, " DIAG_UEFI_LOG"); in ipmi_sunoem_usage()
180 lprintf(LOG_NOTICE, " DIAG_TEST_LOG"); in ipmi_sunoem_usage()
181 lprintf(LOG_NOTICE, " DIAG_LAST_LOG"); in ipmi_sunoem_usage()
182 lprintf(LOG_NOTICE, " DIAG_LAST_CMD"); in ipmi_sunoem_usage()
183 lprintf(LOG_NOTICE, ""); in ipmi_sunoem_usage()
184 lprintf(LOG_NOTICE, " - getbehavior <behavior_string_id>"); in ipmi_sunoem_usage()
185 lprintf(LOG_NOTICE, " - Test if ILOM behavior is enabled"); in ipmi_sunoem_usage()
186 lprintf(LOG_NOTICE, ""); in ipmi_sunoem_usage()
187 lprintf(LOG_NOTICE, " - Behavior string ids:"); in ipmi_sunoem_usage()
188 lprintf(LOG_NOTICE, " SUPPORTS_SIGNED_PACKAGES"); in ipmi_sunoem_usage()
189 lprintf(LOG_NOTICE, " REQUIRES_SIGNED_PACKAGES"); in ipmi_sunoem_usage()
190 lprintf(LOG_NOTICE, ""); in ipmi_sunoem_usage()
334 lprintf(LOG_ERR, "Sun OEM Set LED command failed."); in sunoem_led_set()
337 lprintf(LOG_ERR, "Sun OEM Set LED command failed: %s", in sunoem_led_set()
471 lprintf(LOG_ERR, in ipmi_sunoem_led_get()
515 lprintf(LOG_ERR, "No Sensor Data Record found for %s", argv[0]); in ipmi_sunoem_led_get()
520 lprintf(LOG_ERR, "Invalid SDR type %d", sdr->type); in ipmi_sunoem_led_get()
554 lprintf(LOG_INFO, "LED %s is logical device", argv[0]); in ipmi_sunoem_led_get()
670 lprintf(LOG_NOTICE, "Invalid LED Mode: %s", argv[1]); in ipmi_sunoem_led_set()
678 lprintf(LOG_ERR, in ipmi_sunoem_led_set()
714 lprintf(LOG_ERR, "No Sensor Data Record found for %s", argv[0]); in ipmi_sunoem_led_set()
719 lprintf(LOG_ERR, "Invalid SDR type %d", sdr->type); in ipmi_sunoem_led_set()
740 lprintf(LOG_INFO, "LED %s is logical device", argv[0]); in ipmi_sunoem_led_set()
817 lprintf(LOG_ERR, "Unable to delete ssh key for UID %d", uid); in ipmi_sunoem_sshkey_del()
820 lprintf(LOG_ERR, "Unable to delete ssh key for UID %d: %s", uid, in ipmi_sunoem_sshkey_del()
843 lprintf(LOG_ERR, "Invalid or misisng input filename."); in ipmi_sunoem_sshkey_set()
849 lprintf(LOG_ERR, "Unable to open file '%s' for reading.", ifile); in ipmi_sunoem_sshkey_set()
859 lprintf(LOG_ERR, "Failed to seek in file '%s'.", ifile); in ipmi_sunoem_sshkey_set()
868 lprintf(LOG_ERR, "Failed to seek in file '%s'.", ifile); in ipmi_sunoem_sshkey_set()
874 lprintf(LOG_ERR, "File '%s' is empty.", ifile); in ipmi_sunoem_sshkey_set()
882 lprintf(LOG_ERR, "Failed to seek in file '%s'.", ifile); in ipmi_sunoem_sshkey_set()
901 lprintf(LOG_ERR, "Unable to read %ld bytes from file '%s'.", i_size, in ipmi_sunoem_sshkey_set()
918 lprintf(LOG_ERR, "Unable to pack byte %ld from file '%s'.", r, in ipmi_sunoem_sshkey_set()
935 lprintf(LOG_ERR, "Unable to set ssh key for UID %d.", uid); in ipmi_sunoem_sshkey_set()
943 lprintf(LOG_ERR, "Unable to set ssh key for UID %d, %s.", uid, in ipmi_sunoem_sshkey_set()
1095 lprintf(LOG_ERR, "Sun OEM cli command failed"); in ipmi_sunoem_cli()
1111 lprintf(LOG_ERR, "Failed to connect: %s", cli_rsp->buf); in ipmi_sunoem_cli()
1116 lprintf(LOG_INFO, "Failed to connect: %s, retrying", in ipmi_sunoem_cli()
1121 lprintf(LOG_ERR, "Failed to connect: %s", cli_rsp->buf); in ipmi_sunoem_cli()
1124 lprintf(LOG_ERR, "Failed to connect: %s", cli_rsp->buf); in ipmi_sunoem_cli()
1153 lprintf(LOG_ERR, "Failed to set interactive mode: %s", in ipmi_sunoem_cli()
1258 lprintf(LOG_ERR, "Communication error."); in ipmi_sunoem_cli()
1264 lprintf(LOG_ERR, "Excessive timeout."); in ipmi_sunoem_cli()
1294 lprintf(LOG_ERR, "Failed to restore interactive mode: %s", in ipmi_sunoem_cli()
1347 lprintf(LOG_ERR, "Unknown option '%s' given.", argv[1]); in ipmi_sunoem_echo()
1351 lprintf(LOG_ERR, in ipmi_sunoem_echo()
1357 lprintf(LOG_ERR, in ipmi_sunoem_echo()
1385 lprintf(LOG_ERR, "Sun OEM echo command failed. Seq # %d", in ipmi_sunoem_echo()
1505 lprintf(LOG_ERR, "Sun OEM Get SP Version Failed."); in ipmi_sunoem_getversion()
1509 lprintf(LOG_ERR, "Sun OEM Get SP Version Failed: %d", rsp->ccode); in ipmi_sunoem_getversion()
1521 lprintf(LOG_ERR, "Command is not supported by this version of ILOM," in ipmi_sunoem_print_required_version()
1541 lprintf(LOG_ERR, "Unable to get ILOM version"); in ipmi_sunoem_checkversion()
1637 lprintf(LOG_ERR, in ipmi_sunoem_nacname()
1655 lprintf(LOG_ERR, "Sun OEM nacname command failed."); in ipmi_sunoem_nacname()
1659 lprintf(LOG_ERR, "Sun OEM nacname command failed: %d", rsp->ccode); in ipmi_sunoem_nacname()
1680 lprintf(LOG_ERR, in ipmi_sunoem_nacname()
1797 lprintf(LOG_ERR, in ipmi_sunoem_getval()
1825 lprintf(LOG_ERR, "Sun OEM getval1 command failed."); in ipmi_sunoem_getval()
1829 lprintf(LOG_ERR, "Sun OEM getval1 command failed: %d", rsp->ccode); in ipmi_sunoem_getval()
1847 lprintf(LOG_ERR, "Sun OEM getval2 command failed."); in ipmi_sunoem_getval()
1852 lprintf(LOG_ERR, "Sun OEM getval2 command failed: %d", rsp->ccode); in ipmi_sunoem_getval()
1862 lprintf(LOG_ERR, "Target: %s not found", getval_req.luapi_value); in ipmi_sunoem_getval()
1869 lprintf(LOG_ERR, "Unable to retrieve target value."); in ipmi_sunoem_getval()
1915 lprintf(LOG_ERR, "Sun OEM setval prop name: response is NULL"); in send_luapi_prop_name()
1920 lprintf(LOG_ERR, "Sun OEM setval prop name: request failed: %d", in send_luapi_prop_name()
1932 lprintf(LOG_ERR, in send_luapi_prop_name()
1988 lprintf(LOG_ERR, "Sun OEM setval prop value: response is NULL"); in send_luapi_prop_value()
1993 lprintf(LOG_ERR, "Sun OEM setval prop value: request failed: %d", in send_luapi_prop_value()
2005 lprintf(LOG_ERR, in send_luapi_prop_value()
2033 lprintf(LOG_ERR, in ipmi_sunoem_setval()
2038 lprintf(LOG_ERR, in ipmi_sunoem_setval()
2046 lprintf(LOG_ERR, in ipmi_sunoem_setval()
2081 lprintf(LOG_ERR, "Sun OEM setval command failed."); in ipmi_sunoem_setval()
2086 lprintf(LOG_ERR, "Sun OEM setval command failed: %d", rsp->ccode); in ipmi_sunoem_setval()
2096 lprintf(LOG_ERR, "Sun OEM setval command failed."); in ipmi_sunoem_setval()
2103 lprintf(LOG_ERR, "Sun OEM setval command failed: Command Timed Out"); in ipmi_sunoem_setval()
2161 lprintf(LOG_ERR, "File ID >= %d characters", MAX_FILEID_LEN); in ipmi_sunoem_getfile()
2171 lprintf(LOG_ERR, "Unable to open file: %s", argv[1]); in ipmi_sunoem_getfile()
2192 lprintf(LOG_ERR, "Sun OEM getfile command failed."); in ipmi_sunoem_getfile()
2197 lprintf(LOG_ERR, "Sun OEM getfile command failed: %d", rsp->ccode); in ipmi_sunoem_getfile()
2209 lprintf(LOG_ERR, "Sun OEM getfile invalid data size: %d", in ipmi_sunoem_getfile()
2218 lprintf(LOG_ERR, "Sun OEM getfile Incorrect Block Num Returned"); in ipmi_sunoem_getfile()
2219 lprintf(LOG_ERR, "Expecting: %x Received: %x", in ipmi_sunoem_getfile()
2226 lprintf(LOG_ERR, "Sun OEM getfile write failed: %d", rsp->ccode); in ipmi_sunoem_getfile()
2287 lprintf(LOG_ERR, "Behavior ID >= %d characters", in ipmi_sunoem_getbehavior()
2305 lprintf(LOG_ERR, "Sun OEM getbehavior command failed."); in ipmi_sunoem_getbehavior()
2310 lprintf(LOG_ERR, "Sun OEM getbehavior command failed: %d", rsp->ccode); in ipmi_sunoem_getbehavior()
2366 lprintf(LOG_NOTICE, "Invalid interval given."); in ipmi_sunoem_main()
2370 lprintf(LOG_NOTICE, "Given interval is too big."); in ipmi_sunoem_main()
2426 lprintf(LOG_ERR, "Invalid sunoem command: %s", argv[0]); in ipmi_sunoem_main()