Home
last modified time | relevance | path

Searched refs:MSG_ERR (Results 1 – 25 of 28) sorted by relevance

12

/openbmc/phosphor-mboxd/
H A Dmboxctl.c54 #define MSG_ERR(...) do { if (!silent) { \ macro
83 MSG_ERR("Failed to connect to the system bus: %s\n", in init_mboxctl_dbus()
104 MSG_ERR("Failed to init method call: %s\n", in send_dbus_msg()
113 MSG_ERR("Failed to add cmd to message: %s\n", in send_dbus_msg()
122 MSG_ERR("Failed to add args to message: %s\n", in send_dbus_msg()
131 MSG_ERR("Failed to post message: %s\n", strerror(-rc)); in send_dbus_msg()
139 MSG_ERR("Failed to read response code: %s\n", in send_dbus_msg()
148 MSG_ERR("Failed to read response args: %s\n", in send_dbus_msg()
155 MSG_ERR("Command returned insufficient response args\n"); in send_dbus_msg()
180 MSG_ERR("Failed to send ping command\n"); in handle_cmd_ping()
[all …]
H A Dmboxd_dbus.c264 MSG_ERR("DBUS Internal Error\n"); in method_cmd()
272 MSG_ERR("DBUS error reading message: %s\n", strerror(-rc)); in method_cmd()
282 MSG_ERR("DBUS error reading message: %s\n", strerror(-rc)); in method_cmd()
294 MSG_ERR("Received unknown dbus cmd: %d\n", req.cmd); in method_cmd()
305 MSG_ERR("sd_bus_message_new_method_return failed: %d\n", rc); in method_cmd()
311 MSG_ERR("sd_bus_message_append failed: %d\n", rc); in method_cmd()
317 MSG_ERR("sd_bus_message_append_array failed: %d\n", rc); in method_cmd()
329 MSG_ERR("sd_bus_send failed: %d\n", rc); in method_cmd()
349 MSG_ERR("Failed to connect to the system bus: %s\n", in init_mboxd_dbus()
357 MSG_ERR("Failed to register vtable: %s\n", strerror(-rc)); in init_mboxd_dbus()
[all …]
H A Dmboxd_msg.c46 MSG_ERR("Couldn't lseek mbox to byte %d: %s\n", MBOX_BMC_EVENT, in write_bmc_event_reg()
54 MSG_ERR("Couldn't write to BMC status reg: %s\n", in write_bmc_event_reg()
62 MSG_ERR("Couldn't reset MBOX offset to zero: %s\n", in write_bmc_event_reg()
268 MSG_ERR("API Version Not Valid - Invalid System State\n"); in mbox_handle_flash_info()
326 MSG_ERR("Couldn't Flush Write Window\n"); in mbox_handle_read_window()
345 MSG_ERR("Couldn't create window mapping for offset 0x%.8x\n" in mbox_handle_read_window()
427 MSG_ERR("Tried to call mark dirty without open write window\n"); in mbox_handle_dirty_window()
442 MSG_ERR("Tried to mark dirty before start of window\n"); in mbox_handle_dirty_window()
443 MSG_ERR("requested offset: 0x%x window start: 0x%x\n", in mbox_handle_dirty_window()
487 MSG_ERR("Protocol Version invalid for Erase Command\n"); in mbox_handle_erase_window()
[all …]
H A Dmboxd_flash.c39 MSG_ERR("Couldn't find the PNOR /dev/mtd partition\n"); in init_flash_dev()
48 MSG_ERR("Couldn't open %s with flags O_RDWR: %s\n", in init_flash_dev()
57 MSG_ERR("Couldn't get information about MTD: %s\n", in init_flash_dev()
83MSG_ERR("Flash size MUST be supplied on the commandline. However, continuing by assuming flash is … in init_flash_dev()
187 MSG_ERR("Couldn't erase flash at 0x%.8x\n", in erase_flash()
207 MSG_ERR("Couldn't erase flash at 0x%.8x\n", in erase_flash()
240 MSG_ERR("Couldn't seek flash at pos: %u %s\n", offset, in copy_flash()
249 MSG_ERR("Couldn't copy mtd into ram: %s\n", in copy_flash()
279 MSG_ERR("Couldn't seek flash at pos: %u %s\n", offset, in write_flash()
287 MSG_ERR("Couldn't write to flash, write lost: %s\n", in write_flash()
H A Dmboxd.c66 MSG_ERR("Error from poll(): %s\n", strerror(errno)); in poll_loop()
77 MSG_ERR("Error reading signal event: %s\n", in poll_loop()
93 MSG_ERR("WARNING: Failed to point the " in poll_loop()
100 MSG_ERR("Unhandled Signal: %d\n", in poll_loop()
110 MSG_ERR("Error handling DBUS event: %s\n", in poll_loop()
121 MSG_ERR("Error handling MBOX event\n"); in poll_loop()
132 MSG_ERR("WARNING: Failed to point the LPC bus back to flash\n" in poll_loop()
150 MSG_ERR("Failed to set SIG_BLOCK mask %s\n", strerror(errno)); in init_signals()
157 MSG_ERR("Failed to get signalfd %s\n", strerror(errno)); in init_signals()
337 MSG_ERR("LPC configuration failed, RESET required: %d\n", rc); in main()
H A Dmboxd_lpc.c51 MSG_ERR("Couldn't open %s with flags O_RDWR: %s\n", in __init_lpc_dev()
61 MSG_ERR("Couldn't get lpc control buffer size: %s\n", in __init_lpc_dev()
75 MSG_ERR("Failed to map %s: %s\n", path, strerror(errno)); in __init_lpc_dev()
121 MSG_ERR("Can't point lpc mapping to flash while suspended\n"); in point_to_flash()
131 MSG_ERR("Failed to point the LPC BUS at the actual flash: %s\n", in point_to_flash()
171 MSG_ERR("Failed to point the LPC BUS to memory: %s\n", in point_to_memory()
H A Dmboxd_windows.c76 MSG_ERR("Total size of windows exceeds reserved mem\n"); in init_window_mem()
77 MSG_ERR("Try smaller or fewer windows\n"); in init_window_mem()
78 MSG_ERR("Mem size: 0x%.8x\n", context->mem_size); in init_window_mem()
111 MSG_ERR("Memory allocation failed\n"); in init_windows()
191 MSG_ERR("Unable to allocate memory\n"); in write_from_window_v1()
205 MSG_ERR("Unable to allocate memory\n"); in write_from_window_v1()
224 MSG_ERR("Couldn't erase flash\n"); in write_from_window_v1()
290 MSG_ERR("Couldn't erase flash\n"); in write_from_window()
324 MSG_ERR("Write from window with invalid type: %d\n", type); in write_from_window()
367 MSG_ERR("Tried to set window bytemap past end of window\n"); in set_window_bytemap()
[all …]
/openbmc/hiomapd/
H A Dtransport_dbus.c81 MSG_ERR("DBUS Internal Error\n"); in transport_dbus_reset()
92 MSG_ERR("sd_bus_message_new_method_return failed: %d\n", rc); in transport_dbus_reset()
110 MSG_ERR("DBUS Internal Error\n"); in transport_dbus_get_info()
116 MSG_ERR("DBUS error reading message: %s\n", strerror(-rc)); in transport_dbus_get_info()
132 MSG_ERR("sd_bus_message_new_method_return failed: %d\n", rc); in transport_dbus_get_info()
137 MSG_ERR("Unsupported protocol version for DBus transport: %d\n", in transport_dbus_get_info()
147 MSG_ERR("sd_bus_message_append failed!\n"); in transport_dbus_get_info()
165 MSG_ERR("DBUS Internal Error\n"); in transport_dbus_get_flash_info()
176 MSG_ERR("sd_bus_message_new_method_return failed: %d\n", rc); in transport_dbus_get_flash_info()
184 MSG_ERR("sd_bus_message_append failed!\n"); in transport_dbus_get_flash_info()
[all …]
H A Dmboxctl.c39 #define MSG_ERR(...) do { if (!silent) { \ macro
59 MSG_ERR("Failed to connect to the system bus: %s\n", in init_mboxctl_dbus()
78 MSG_ERR("Failed to init method call: %s\n", in mboxctl_directive()
85 MSG_ERR("Failed to post message: %s\n", strerror(-rc)); in mboxctl_directive()
186 MSG_ERR("Resume command takes an argument\n"); in handle_cmd_resume()
196 MSG_ERR("Failed to init method call: %s\n", in handle_cmd_resume()
206 MSG_ERR("Resume command takes argument < \"clean\" | " in handle_cmd_resume()
214 MSG_ERR("Failed to add args to message: %s\n", in handle_cmd_resume()
221 MSG_ERR("Failed to post message: %s\n", strerror(-rc)); in handle_cmd_resume()
254 MSG_ERR("Backend command takes an argument\n"); in handle_cmd_backend()
[all …]
H A Dmboxd.c66 MSG_ERR("Failed to connect to the system bus: %s\n", in dbus_init()
73 MSG_ERR("Failed to initialise legacy DBus interface: %s\n", in dbus_init()
80 MSG_ERR("Failed to initialise DBus control interface: %s\n", in dbus_init()
87 MSG_ERR("Failed to initialise DBus protocol interface: %s\n", in dbus_init()
96 MSG_ERR("Failed to request DBus name: %s\n", strerror(-rc)); in dbus_init()
102 MSG_ERR("Failed to get bus fd: %s\n", strerror(-rc)); in dbus_init()
132 MSG_ERR("Error from poll(): %s\n", strerror(errno)); in poll_loop()
143 MSG_ERR("Error reading signal event: %s\n", in poll_loop()
157 MSG_ERR("Failed to reset on SIGHUP\n"); in poll_loop()
161 MSG_ERR("Unhandled Signal: %d\n", in poll_loop()
[all …]
H A Dcontrol_dbus.c24 MSG_ERR("No action provided\n"); in control_dbus_directive()
30 MSG_ERR("DBUS Internal Error\n"); in control_dbus_directive()
36 MSG_ERR("Action failed: %d\n", rc); in control_dbus_directive()
42 MSG_ERR("sd_bus_message_new_method_return failed: %d\n", rc); in control_dbus_directive()
91 MSG_ERR("DBUS Internal Error\n"); in control_dbus_resume()
97 MSG_ERR("DBUS error reading message: %s\n", strerror(-rc)); in control_dbus_resume()
107 MSG_ERR("sd_bus_message_new_method_return failed: %d\n", rc); in control_dbus_resume()
125 MSG_ERR("DBUS Internal Error\n"); in control_dbus_set_backend()
131 MSG_ERR("DBUS error reading message: %s\n", strerror(-rc)); in control_dbus_set_backend()
191 MSG_ERR("sd_bus_message_new_method_return failed: %d\n", rc); in control_dbus_set_backend()
[all …]
H A Dcontrol_legacy.c219 MSG_ERR("DBUS Internal Error\n"); in method_cmd()
227 MSG_ERR("DBUS error reading message: %s\n", strerror(-rc)); in method_cmd()
237 MSG_ERR("DBUS error reading message: %s\n", strerror(-rc)); in method_cmd()
249 MSG_ERR("Received unknown dbus cmd: %d\n", req.cmd); in method_cmd()
260 MSG_ERR("sd_bus_message_new_method_return failed: %d\n", rc); in method_cmd()
266 MSG_ERR("sd_bus_message_append failed: %d\n", rc); in method_cmd()
272 MSG_ERR("sd_bus_message_append_array failed: %d\n", rc); in method_cmd()
285 MSG_ERR("sd_bus_send failed: %d\n", rc); in method_cmd()
308 MSG_ERR("Failed to register vtable: %s\n", strerror(-rc)); in control_legacy_init()
H A Dlpc.c51 MSG_ERR("Couldn't open %s with flags O_RDWR: %s\n", in __lpc_dev_init()
61 MSG_ERR("Couldn't get lpc control buffer size: %s\n", in __lpc_dev_init()
75 MSG_ERR("Failed to map %s: %s\n", path, strerror(errno)); in __lpc_dev_init()
121 MSG_ERR("Can't point lpc mapping to flash while suspended\n"); in lpc_map_flash()
131 MSG_ERR("Failed to point the LPC BUS at the actual flash: %s\n", in lpc_map_flash()
172 MSG_ERR("Failed to point the LPC BUS to memory: %s\n", in lpc_map_memory()
H A Dtransport_mbox.c103 MSG_ERR("Couldn't lseek mbox to byte %d: %s\n", MBOX_BMC_EVENT, in transport_mbox_flush_events()
111 MSG_ERR("Couldn't write to BMC status reg: %s\n", in transport_mbox_flush_events()
119 MSG_ERR("Couldn't reset MBOX offset to zero: %s\n", in transport_mbox_flush_events()
249 MSG_ERR("API Version Not Valid - Invalid System State\n"); in mbox_handle_flash_info()
405 MSG_ERR("Protocol Version invalid for Erase Command\n"); in mbox_handle_erase_window()
496 MSG_ERR("Unknown mbox command: %d\n", cmd); in check_req_valid()
501 MSG_ERR("Invalid sequence number: %d, previous: %d\n", seq, in check_req_valid()
508 MSG_ERR("Cannot use that cmd while suspended: %d\n", in check_req_valid()
516 MSG_ERR("Cannot switch transport with command %d\n", in check_req_valid()
525 MSG_ERR("Must call GET_MBOX_INFO before %d\n", cmd); in check_req_valid()
[all …]
H A Dwindows.c79 MSG_ERR("Total size of windows exceeds reserved mem\n"); in init_window_mem()
80 MSG_ERR("Try smaller or fewer windows\n"); in init_window_mem()
81 MSG_ERR("Mem size: 0x%.8x\n", context->mem_size); in init_window_mem()
114 MSG_ERR("Memory allocation failed\n"); in windows_init()
194 MSG_ERR("Unable to allocate memory\n"); in window_flush_v1()
208 MSG_ERR("Unable to allocate memory\n"); in window_flush_v1()
227 MSG_ERR("Couldn't erase flash\n"); in window_flush_v1()
294 MSG_ERR("Couldn't erase flash\n"); in window_flush()
329 MSG_ERR("Write from window with invalid type: %d\n", type); in window_flush()
372 MSG_ERR("Tried to set window bytemap past end of window\n"); in window_set_bytemap()
[all …]
H A Dprotocol.c295 MSG_ERR("Couldn't Flush Write Window\n"); in protocol_v1_create_window()
315 MSG_ERR("Couldn't create window mapping for offset 0x%.8x\n", in protocol_v1_create_window()
341 MSG_ERR("Tried to call mark dirty without open write window\n"); in protocol_v1_mark_dirty()
349 MSG_ERR("Tried to mark dirty before start of window\n"); in protocol_v1_mark_dirty()
350 MSG_ERR("requested offset: 0x%x window start: 0x%x\n", in protocol_v1_mark_dirty()
443 MSG_ERR("Tried to call flush without open write window\n"); in protocol_v1_flush()
478 MSG_ERR("Couldn't Flush Write Window\n"); in protocol_v1_close()
583 MSG_ERR("Tried to call mark dirty without open write window\n"); in protocol_v2_mark_dirty()
602 MSG_ERR("Tried to call erase without open write window\n"); in protocol_v2_erase()
628 MSG_ERR("Tried to call flush without open write window\n"); in protocol_v2_flush()
[all …]
H A Dcommon.h24 #define MSG_ERR(f_, ...) \ macro
/openbmc/btbridge/
H A Dbtbridged.c56 #define MSG_ERR(f_, ...) do { if (verbosity != BT_LOG_NONE) { bt_log(LOG_ERR, f_, ##__VA_ARGS__); }… macro
160 MSG_ERR("Trying to queue a BT message with a short length (%d)\n", len); in bt_q_enqueue()
182 MSG_ERR("Couldn't clock_gettime(): %s\n", strerror(errno)); in bt_q_enqueue()
230 MSG_ERR("Didn't find element %p in queue\n", (void*)element); in bt_q_drop()
250 MSG_ERR("Dequeuing empty queue!\n"); in bt_q_dequeue()
273 MSG_ERR("Couldn't ioctl() to 0x%x, %s: %s\n", bt_fd->fds[BT_FD].fd, BT_BMC_PATH, strerror(r)); in method_send_sms_atn()
302 MSG_ERR("Couldn't parse leading bytes of message: %s\n", strerror(-r)); in method_send_message()
309 MSG_ERR("Couldn't parse data bytes of message: %s\n", strerror(-r)); in method_send_message()
318 MSG_ERR("Failed to find matching request for dbus method with seq: 0x%02x\n", seq); in method_send_message()
369 MSG_ERR("Couldn't set timerfd\n"); in bt_host_write()
[all …]
/openbmc/hiomapd/vpnor/
H A Dbackend.cpp96 MSG_ERR("vpnor init: %s\n", e.what()); in vpnor_init()
103 MSG_ERR("Failed to commit InternalFailure: %s\n", e.what()); in vpnor_init()
163 MSG_ERR("Reserved memory too small for dumb bootstrap\n"); in vpnor_copy_bootloader_partition()
178 MSG_ERR("vpnor part copy: %s\n", e.what()); in vpnor_copy_bootloader_partition()
198 MSG_ERR("Couldn't find partition path\n"); in vpnor_dev_init()
210 MSG_ERR("Couldn't find the flash /dev/mtd partition\n"); in vpnor_dev_init()
219 MSG_ERR("Couldn't open %s with flags O_RDWR: %s\n", filename, in vpnor_dev_init()
228 MSG_ERR("Couldn't get information about MTD: %s\n", in vpnor_dev_init()
291 MSG_ERR("Trying to copy data with uninitialised context!\n"); in vpnor_copy()
335 MSG_ERR("vpnor copy: %s\n", e.what()); in vpnor_copy()
[all …]
H A Dpartition.cpp149 MSG_ERR("Failed to open backing file at '%s': %d\n", path.c_str(), in read()
159 MSG_ERR("Failed to seek to %zu in %s (%zu bytes): %d\n", offset, in read()
170 MSG_ERR( in read()
207 MSG_ERR("Failed to open backing file at '%s': %d\n", path.c_str(), in write()
217 MSG_ERR("Failed to seek to %zu in %s: %d\n", offset, path.c_str(), in write()
227 MSG_ERR("Failed to write %zu bytes to %s at %zu: %d\n", len, in write()
/openbmc/phosphor-mboxd/vpnor/
H A Dmboxd_flash.cpp53 MSG_ERR("Couldn't find the flash /dev/mtd partition\n"); in init_flash_dev()
62 MSG_ERR("Couldn't open %s with flags O_RDWR: %s\n", filename.get(), in init_flash_dev()
70 MSG_ERR("Couldn't get information about MTD: %s\n", strerror(errno)); in init_flash_dev()
128 MSG_ERR("Trying to copy data with uninitialised context!\n"); in copy_flash()
172 MSG_ERR("%s\n", e.what()); in copy_flash()
195 MSG_ERR("Trying to write data with uninitialised context!\n"); in write_flash()
206 MSG_ERR("Unreachable: Host attempted to write to read-only " in write_flash()
219 MSG_ERR("Unreachable: Host attempted to write %" PRIu32 in write_flash()
226 MSG_ERR("%s\n", e.what()); in write_flash()
231 MSG_ERR("%s\n", e.what()); in write_flash()
H A Dpnor_partition.cpp111 MSG_ERR("Failed to resize %s: %d\n", path.c_str(), errno); in resize()
129 MSG_ERR("Failed to open backing file at '%s': %d\n", path.c_str(), in fulfil()
140 MSG_ERR("Failed to map backing file '%s' for %zd bytes: %d\n", in fulfil()
H A Dmboxd_pnor_partition_table.cpp58 MSG_ERR("%s\n", e.what()); in init_vpnor_from_paths()
119 MSG_ERR("%s\n", e.what()); in vpnor_copy_bootloader_partition()
/openbmc/hiomapd/file/
H A Dbackend.c54 MSG_ERR("No PNOR file specified\n"); in file_dev_init()
66 MSG_ERR("Couldn't open %s with flags O_RDWR: %s\n", path, in file_dev_init()
134 MSG_ERR("Couldn't malloc erase buffer. %s\n", strerror(errno)); in file_erase()
142 MSG_ERR("Couldn't erase flash at 0x%.8x\n", erase_info.start); in file_erase()
172 MSG_ERR("Couldn't seek flash at pos: %u %s\n", offset, in file_copy()
180 MSG_ERR("Couldn't copy file into ram: %s\n", in file_copy()
212 MSG_ERR("Couldn't seek flash at pos: %u %s\n", offset, in file_write()
220 MSG_ERR("Couldn't write to file, write lost: %s\n", in file_write()
/openbmc/hiomapd/mtd/
H A Dbackend.c58 MSG_ERR("Couldn't open %s with flags O_RDWR: %s\n", path, in mtd_dev_init()
91 MSG_ERR( in mtd_dev_init()
218 MSG_ERR("Couldn't erase flash at 0x%.8x\n", in mtd_erase()
238 MSG_ERR("Couldn't erase flash at 0x%.8x\n", in mtd_erase()
272 MSG_ERR("Couldn't seek flash at pos: %u %s\n", offset, in mtd_copy()
281 MSG_ERR("Couldn't copy mtd into ram: %s\n", in mtd_copy()
313 MSG_ERR("Couldn't seek flash at pos: %u %s\n", offset, in mtd_write()
321 MSG_ERR("Couldn't write to flash, write lost: %s\n", in mtd_write()

12