2023-06-07 Albert Chu * libfreeipmi/include: Add missing xilinx header to dist. 2023-06-05 Albert Chu * libipmimonitoring/ipmi_monitoring_sensor_reading.c (_get_sensor_units): Handle special case when sensor has units "RPM" and the units rate is "per minute". 2023-05-15 Albert Chu * doc, man: fix a number of typos * global: Fix various comment / doc typos. * contrib/pet/petalert.pl: Change output error message typo. 2023-05-12 Albert Chu * ipmiseld/ipmiseld-ipmi-communication.c (ipmiseld_ipmi_setup), ipmiseld/ipmiseld-cache.c (ipmiseld_sdr_cache_create_and_load): Set initialized pointers to NULL to avoid double free when _ipmiseld_poll() exits. 2022-11-08 Christian Kohn * libfreeipmi, ipmi-fru: Support xilinx OEM fru records. 2022-11-08 Albert Chu * libfreeipmi/include/freeipmi/spec/ipmi-iana-enterprise-numbers-spec.h: Fix comment typo. 2022-11-04 Sam James * configure.ac: Fix various portability to clang. 2022-11-02 Fabrice Fontaine * configure.ac: support --disable-doc. 2022-10-27 Albert Chu * doc/freeipmi-bugs-and-workarounds.txt: Document issue with Intel M50CYP. 2022-10-26 Mert Kirpici * ipmi-sel: accept ISO 8601 for date range options. 2022-10-06 Albert Chu * doc/freeipmi-bugs-and-workarounds.txt: fix typo 2022-09-19 Albert Chu * configure.ac: Add extra build help. 2022-09-06 Albert Chu * common/portability/freeipmi-argp-fmtstream.h: Do not optimize under cygwin, fixes portability issues. 2022-02-17 Albert Chu * ipmi-config/ipmi-config-category-core-sections.c (ipmi_config_core_sections_create): Support IPV6 config in Lan6_Conf section. * ipmi-config/ipmi-config-category-core-lan6-conf-section.c: Correct checkout of IPv6 dynamic addresses. * ipmi-config/ipmi-config-category-core-lan6-conf-section.c: Do not output all IPv6 addresses by default, only output them all in verbose mode. * ipmi-config/ipmi-config-category-core-lan6-conf-section.c (ipv6_static_router_mac_address_checkout): Fix output corner case due to error handling bug. * libfreeipmi/cmds/ipmi-lan-cmds.c (fill_cmd_set_lan_configuration_parameters_ipv6_static_addresses): Fix invalid template check error. 2022-02-14 Albert Chu * man/ipmi-config.8.pre.in: Document additional board that requires the `veryslowcommit` workaround. 2022-01-25 Albert Chu * man/ipmidetect.8.pre.in, man/ipmidetectd.8.pre.in: Correct out of date command line options. 2022-01-19 Albert Chu * libfreeipmi/libcommon/ipmi-md2.h, libfreeipmi/libcommon/ipmi-md2.c, libfreeipmi/libcommon/ipmi-md5.h, libfreeipmi/libcommon/ipmi-md5.c: Static compilation with libfreeipmi can lead to problems if other software has similarly named md2/md5 functions (such as md5_init()). Prefix all macros and functions with 'ipmi_' as needed. Update all callers accordingly. 2022-01-18 Fabrice Fontaine * configure.ac: use pkg-config to find gcrypt 2022-01-04 Fabrice Fontaine * configure.ac, libfreeipmi/driver/ipmi-kcs-driver.c: Check for inb and outb before using them. 2022-01-04 Fabien Wernli * doc/freeipmi-faq.texi: Add conserver setup information. 2021-11-01 Fabrice Fontaine * libfreeipmi/driver/ipmi-sunbmc-driver.c: musl doesn't provide getmsg or putmsg even if stropts.h is available. Do not compile respective sections if get/putmsg are not available. 2021-08-11 Robin Lee Powell * libipmiconsole: Document getty/agetty issue with serial keepalive 2021-05-28 Albert Chu * configure.ac: Support --with-systemconfigdir option. 2021-05-29 Heather Lemon * libfreeipmi/sensor-read/ipmi-sensor-read.c: (LP#1926299) Incorrect sensor reading reported. BMC's that use a non-zero 'LUN' number (00b-10b) will display an incorrect sensor temperature reading unless otherwise specified via the ipmiV2.0 spec and must be accessed via LUN 00b. 2021-03-27 Albert Chu * etc: Generate many files via configure to ensure proper paths are set. * man/bmc-watchdog.8.pre.in: Remove legacy documentation. 2021-02-10 Albert Chu * libfreeipmi/fru/ipmi-fru-data.c: Fix invalid parsing of record in ipmi_fru_multirecord_dc_load() and ipmi_fru_multirecord_extended_dc_load(). 2021-02-07 Albert Chu * libfreeipmi/fru/ipmi-fru.c: Do not require ipmi_ctx to be set if loading data via buffer in ipmi_fru_open_device_id_with_buffer(). * ipmi-fru: Do not require opening of an IPMI session if using --fru-file option. 2021-02-07 Albert Chu * etc/: Update conf file permissions. * Globally fix a number of typos. 2021-02-06 Fabio Fantoni * etc/: Update systemd service files permissions. 2020-09-30 Albert Chu * man/manpage-common-workaround-extra-text.man: Document that Supermicro boards don't work with IPMI 1.5. 2020-09-21 Albert Chu * man/ipmi-sel.8.pre.in: Fix typo 2020-09-03 Christian Ehrhardt * libfreeipmi/locate/ipmi-locate-acpi-spmi.c (_ipmi_acpi_get_table_dev_mem): Fix segfault 2020-07-28 Albert Chu * man/freeipmi.conf.5.pre.in: Fix typo 2020-01-28 Albert Chu * man/ipmi-oem.8.pre.in: Fix formatting typo that led to line not appearing in manpage. 2020-01-07 Albert Chu * bmc-device/bmc-device.c (write_fru): Fix invalid number of args to pstdout_printf. * ipmi-oem/ipmi-oem-dell.c (ipmi_oem_dell_get_system_info): Fix invalid output with invalid variable passed to pstdout_printf(). * ipmi-oem/ipmi-oem-intel.c (ipmi_oem_intel_get_smtp_config): Fix invalid call to pstdout_printf(), forgot output parameters. * ipmi-oem/ipmi-oem-intelnm.c (_ipmi_oem_intelnm_get_node_manager_policy_suspend_periods_common): Fix invalid call to pstdout_printf(), forgot output parameter. * ipmi-oem/ipmi-oem-quanta.c (ipmi_oem_quanta_get_processor_information): Fix invalid call to pstdout_printf(), forgot output parameters. * libipmiconsole/ipmiconsole_processing (_serial_keepalive_timeout): Fix bad debug trace without parameter for output. * common/toolcommon/pstdout.c (pstdout_set_debug_flags): Fix typo && instead of &. 2019-11-27 Albert Chu * libfreeipmi/sdr/ipmi-sdr-parse-util.c (ipmi_sdr_parse_sensor_name, ipmi_sdr_parse_entity_sensor_name): Fix invalid parameter check to fix compiler warning. 2019-11-18 Albert Chu * libfreeipmi/fru/ipmi-fru.c: Workaround unexpected completion code indicating no FRU data available. 2019-08-16 Albert Chu * libfreeipmi/sdr/ipmi-sdr-cache-create.c: Workaround Dell Poweredge FC830 issue, where the last SDR entry returns errors when being read. Since it's the last entry, we assume there is a bug in the motherboard's implementation. Just forget about the last entry and move on. 2019-08-15 Albert Chu * common/toolcommon/tool-sensor-common.c: Workaround QuantaPlex T42D-2U issue, where an event only record states that it is a threshold sensor and a "other units based sensor", but does not provide any units. 2019-04-09 Albert Chu * libfreeipmi/api: Fix invalid error code return. 2019-02-08 Albert Chu * libfreeipmi/interpret: Support interpretation of power unit + transition severity sensors / events, power unit + state sensors / events. * libfreeipmi/interpret: Support intepretation of system firmware progress + device present sensors / events, system firmware progress + state sensors / events. * libfreeipmi/interpret: Support intepretation of management subsystem health + transition severity sensors / events, management subsystem health + device present sensors / events. * libfreeipmi/interpret: Support intepretation of system event + transition severity sensors / events 2019-02-07 Albert Chu * libfreeipmi/interpret: Support interpretation of drive slot + transition severity sensors / events. 2019-01-31 Albert Chu * libfreeipmi/api: Fix workaround for out of order packets with lan / rmcpplus ipmb to handle raw packets and packets with errors. 2019-01-23 Albert Chu * Document that "opensesspriv" workaround works on Dell C5220. 2019-01-17 Albert Chu * libfreeipmi/api: Add workaround for out of order packets with lan / rmcpplus ipmb. 2018-09-14 Albert Chu * libfreeipmi/include/freeipmi/spec/ipmi-product-id-spec.h: Add Intel S2600WP product id. * libfreeipmi/sel: Support Intel S2600WP motherboard OEM sel events. * ipmi-sensors: Support Intel S2600WP OEM sensors. 2018-12-13 Albert Chu * libipmimonitoring: Fix discrete reading working. * contrib: Fix corner case libipmimonitoring-sensors example. 2018-10-24 Albert Chu * libfreeipmi/locate/ipmi-locate-acpi-spmi.c: Fix compiler warnings. 2018-07-30 Albert Chu * Support Intel S2600GZ OEM sensors and SEL events. 2018-08-01 dann frazier * libfreeipmi/locate/ipmi-locate-acpi-spmi.c: Don't try to split the header off of the ACPI table, as it will be consumed by the SPMI table template. * libfreeipmi/locate/ipmi-locate-acpi-spmi.c: Add support for parsing SPMI tables exposed via sysfs. * libfreeipmi/locate/ipmi-locate-acpi-spmi.c: Allow sysfs SPMI parsing on ARM platforms. * libfreeipmi/locate/ipmi-locate-acpi-spmi.c: Correct order of bytes in specification_revision field of ACPI SPMI table. 2018-07-31 Albert Chu * libfreeipmi/locate/ipmi-locate-acpi-spmi.c (_ipmi_acpi_get_spmi_table): Fix corner case, break out of loop once data found. 2018-05-11 Albert Chu * libfreeipmi/include/freeipmi/spec/ipmi-product-id-spec.h: Add Gigabyte MG20-OP0-ZB product id and derived motherboards. * libfreeipmi/sel: Support Gigabyte MG20-OP0-ZB motherboard OEM sel events. 2018-05-11 Albert Chu * libipmiconsole/ipmiconsole.h.in: Update number of comments for clarity. * libipmimonitoring/ipmi_monitoring.h.in: Correct invalid comments return code from ipmi_monitoring_sel_iterator_next. 2018-05-03 Albert Chu and Anonymous * libfreeipmi/include/spec/ipmi-channel-spec.h, libfreeipmi/util/ipmi-channel-util.c: Update channel max from 0x7 to 0xB per ipmi errata #409. 2018-03-08 Sevag Hanssian * ipmiseld/ipmiseld.c, ipmidetectd/ipmidetectd.c, bmc-watchdog/bmc-watchdog.c: Strip path from argv[0] in syslog 2018-02-20 Jo Fahlke * ipmi-config/: Simplify legacy command scripts to not mangle shell parameters. 2018-02-16 GIRARD, MARC * libfreeipmi/api/ipmi-kcs-driver-api.c, libfreeipmi/api/ipmi-lan-session-common.c, libfreeipmi/api/ipmi-ssif-driver-api.c: When bridging, target the BMC LUN not the SMS LUN. 2018-01-18 Albert Chu * common/toolcommon/tool-common.c (ipmi_open): Fix error output corner case. Newline necessary to allow pstdout library to output buffer on error. * common/toolcommon/pstdout.c (_pstdout_print): Fix debug build corner case. 2017-11-08 Michel Ferland * ipmipower/ipmipower_arg.c: Fix invalid parsing of --wait-until-on and --wait-until-off options. 2017-10-31 Bernd Zeimetz * configure.ac: Fix cross compilation (bug #52290) 2017-09-22 Bernhard M. Wiedemann * configure.ac: Use ChangeLog date instead of build date. 2017-08-13 Albert Chu * ipmi-config/ipmi-config-category-core-lan6-conf-section.c: Add configuration support for static router ips. 2017-08-12 Albert Chu * ipmi-config/ipmi-config-category-core-lan6-conf-section.c: Support checkout of all static & dynamic address info (source, enable, status, prefix_length) 2017-08-11 Albert Chu * ipmi-config/ipmi-config-category-core-lan6-conf-section.c: Support configuring IPv6/ipv4 addressing. Fix error message outputs. * ipmi-config/ipmi-config-category-core-lan6-conf-section.c: Re-work output of IPv6 addresses, a separate key is not generated for each possible address output. 2017-08-09 Albert Chu * ipmi-config/ipmi-config-category-core-lan6-conf-section.c: Check malloc for errors. * Fix compiler warnings. * libfreeipmi/cmds/ipmi-lan-cmds.c: Fix incorrect LS vs. MS comment. * ipmi-config/: Minor code cleanup. * libfreeipmi/: Support IPv6 configuration templates and commands. 2017-07-18 Albert Chu * libipmimonitoring/ipmi_monitoring_sensor_reading.c (_store_sensor_reading): Fix several mem-leak corner cases. 2017-07-10 Albert Chu * Update various documentation for consistency, "Ipmi" to "ipmi" when appropriate, "Bmc" to "bmc", etc. 2017-07-10 Josef Ridky * man/freeipmi.7.pre.in: Lower case "Ipmi" to "ipmi". 2017-06-27 Ike Panhc * libfreeipmi/locate/ipmi-locate-dmidecode.c: Use dmi firmware in sysfs if available. mmap() does not work on DMI tables so also fallback to read if mmap() failed. 2017-04-07 LaMont Jones * ipmi-config/: Support ability to read some IPv6 config information. 2017-04-03 LaMont Jones * libfreeipmi/: Add support to read IPv6 configuration. 2017-03-20 Albert Chu * man/ipmiseld.8.pre.in: Clarify --test-run and --foreground options. * common/toolcommon/tool-daemon-common.c (daemonize_common): Clarify fopen error on daemon pidfile 2017-01-30 Albert Chu * doc/freeipmi-bugs-and-workarounds.txt: Document issue with ASROCK MT-C224. 2017-01-21 Albert Chu * man/ipmi-raw.8.pre.in: Fix formatting error. 2017-01-18 Albert Chu * man/ipmi-oem.8.pre.in: Fix cut and paste documentation error. 2017-01-17 Albert Chu * ipmi-config/: Use inet_ntop() to output IPv4 addresses instead of outputting "by hand". 2017-01-03 Albert Chu * common/toolcommon/pstdout.c (pstdout_hostnames_count): Slight logic change to differentiate between bad input and out of memory. * libfreeipmi/api/ipmi-api-util.c (api_set_api_errnum_by_errno): Recognize ENETUNREACH and EHOSTUNREACH errno's as system errors, not internal errors. 2016-12-28 Albert Chu * Globally support IPv6 address support in all tools as options, parameters, or inputs. Globally support [ADDRESS]:PORT format for IPv6 address + ports. Support additional strings indicating "localhost", such as "ipv6-localhost". 2016-12-06 LaMont Jones * ipmipower/: Initial pass at IPv6 support. 2016-12-05 Albert Chu Support IPv6 addresses in FreeIPMI * common/miscutil/fi_hostlist.h, common/miscutil/fi_hostlist.c: New files. Wrapper around hostlist.[ch]. * Update all tools to use fi_hostlist.[ch]. 2017-01-13 Albert Chu * man/bmc-config.conf.5: Fix pointer of correct manpage. 2016-12-22 Albert Chu * libfreeipmi/api/ipmi-api.c (_setup_hostname): Fix cleanup path potential memleak. 2017-01-09 Albert Chu * man/manpage-common-known-issues-ping.man: Fix spelling typo. 2016-12-13 Albert Chu * freeipmi.spec.in: Remove ExclusiveArch, as ppc now has iopl() support. https://lists.fedoraproject.org/pipermail/scm-commits/2011-October/676773.html 2016-12-09 Albert Chu * libfreeipmi/api/ipmi-lan-session-common.c (_api_lan_recvfrom): Convert from select() to poll() to avoid issues with high number of threads. (GNU issue #49813) 2016-11-02 Albert Chu * libfreeipmi/include/Makefile.am, etc/Makefile.am: Fix distcheck. 2016-10-26 Albert Chu * Support OEM sensors/sel events for SuperMicro H8SGL-F. 2016-10-26 Albert Chu * doc/freeipmi-bugs-and-workarounds.txt: Document issue with SuperMicro H8SGL-F. 2016-10-21 Albert Chu * libfreeipmi/fru/ipmi-fru-data.c (_parse_type_length): Remove unnecessary memset. 2016-10-07 Albert Chu * libipmiconsole/: Move "user_fd_retrieved" from connection struct to fds struct for clarity. 2016-10-07 Albert Chu Fix invalid clearing of ctx info in __ipmiconsole_ctx_connection_cleanup in libipmiconsole/ipmiconsole_ctx.c * libipmiconsole/ipmiconsole_ctx.c (_ipmiconsole_ctx_connection_init): Remove function. * libipmiconsole/ipmiconsole_ctx.c (ipmiconsole_ctx_connection_setup): Move remnants of _ipmiconsole_ctx_connection_init into this function. * libipmiconsole/ipmiconsole_ctx.c (__ipmiconsole_ctx_connection_cleanup): Do not call _ipmiconsole_ctx_connection_init. Clear only data __ipmiconsole_ctx_connection_cleanup should clear. 2016-10-06 Albert Chu * libfreeipmi/fru/: Revert removal of memsets libfreeipmi/fru/. Are necessary b/c fields are optional. * Revert removal of memset of config file data. Necessary b/c data may never be set by config_file_parse if file not found. 2016-10-04 Albert Chu * ipmi-oem/: Audit and fix, add +1 to string buffers, use secure_memset when appropriate. * bmc-device/: Audit and fix, remove +1 for data buffers, don't memset when unnecessary. * bmc-info/bmc-info.c (display_system_info_common): Add +1 for string buffer. * bmc-info/bmcinfo.c (get_channel_info_list) (display_channel_info): Don't memset channel array, clear values if not available. * ipmi-dcmi/ipmi-dcmi.c: Audit and fix, +1 for string buffers, use char not uint8_t for strings. * ipmi-fru/: Audit and fix, no need to memset buffers, remove +1s length on buffers. * ipmi-sensors/: Audit and fix, remove unnecessary memset. * ipmiconsole/: Audit and remove unnecessary memsets. * ipmiseld/: Audit and remove unnecessary memsets, add +1 to string buffers. * ipmipower/: Audit, remove unnecessary memsets, add +1 to string buffers, minor cleanup. * libipmimonitoring/: Audit, remove unnecessary memsets, add +1 to string buffers. * libipmiconsole/: Audit, remove unnecessary memsets, add +1 to string buffers. * ipmi-config/: Audit, remove unnecessary memsets, add +1 to string buffers, minor fixes. * Properly memset hdr buffers when outputting debug output. * Remove unnecessary memset of "prog_data" in all tools. * libfreeipmi/: Audit, remove unnecessary memsets, add +1 to string buffers, misc fixes. * Fix logic and corner cases with parse_kg. 2016-10-03 Albert Chu * libfreeipmi/fru/ipmi-fru-data.c: Remove unnecessary memsets. 2016-08-29 Albert Chu * ipmi-oem/: Add Gigabyte get/set-bmc-services commands. 2016-10-03 Albert Chu * ipmi-config/ipmi-config-category-core-lan-conf-security-keys-section.c (k_g_checkout), ipmipower/ipmipower_prompt.c (_cmd_k_g): Fix memset of buffer to correct length. * ipmi-fru/ipmi-fru-output.c (ipmi_fru_output_chassis_info_area, ipmi_fru_output_board_info_area, ipmi_fru_output_product_info_area): Remove unnecessary memsets, are performed within API functions. * ipmi-oem/ipmi-oem-dell.c (_ipmi_oem_dell_power_supply_info_sdr_callback): Memset sensor name buffer before calling ipmi_sdr_parse_entity_sensor_name. * libfreeipmi/sdr/ipmi-sdr-parse-util.c (ipmi_sdr_parse_sensor_name) (ipmi_sdr_parse_entity_sensor_name): No need to memset buf from user. 2016-09-30 Albert Chu * libfreeipmi/fiid/fiid.c: Put index into fiid_field_data so does not have to be calculated later. * libfreeipmi/fiid/fiid.c: Put start & end bytes into fiid_field_data so does not have to be calculated later. * libfreeipmi/fiid/fiid.c: Put internal hash/lookup table to remove constant iteration/loops looking for indexes, field lengths, and start & end points. 2016-09-30 Albert Chu * libfreeipmi/fiid/fiid.c (_fiid_template_check_valid_keys): Remove expensive check in production builds. The fall out by not checking will be "key not found" errors on fiid_obj_get and similar. * libfreeipmi/fiid/fiid.c (fiid_obj_template_compare): Remove unnecessary call to _fiid_template_check_valid_flags. 2016-09-29 Albert Chu * libfreeipmi/debug/ipmi-debug-lan.c (_ipmi_dump_lan_packet): Clear data on obj_session_hdr not obj_lan_msg_hdr. * ipmipower/ipmipower_powercmd.c (_recv_packet): Clear obj_lan_session_hdr_rs only if using authentication straight password key. 2016-09-29 Albert Chu * ipmipower/ipmipower_powercmd.c (_recv_packet), libfreeipmi/debug/ipmi-debug-rmcpplus.c (_dump_rmcpplus_session_trlr), libipmiconsole/ipmiconsole_processing.c (_receive_packet), libipmiconsole/ipmiconsole_packet.c (ipmiconsole_sol_packet_assemble), libipmiconsole/ipmiconsole_processing.c (_sol_bmc_to_remote_console_packet): Remove unnecessary fiid obj clear for security purposes. 2016-09-29 Albert Chu * bmc-info/bmc-info.c (display_system_info_common), bmc-device/bmc-device.c (set_system_info_common), ipmi-config/ipmi-config-category-pef-alert-string.c (alert_string_checkout), ipmi-dcmi/ipmi-dcmi.c (_sensor_info_output), ipmi-oem/ipmi-oem/ipmi-oem-dell.c (_get_dell_system_info_long_string), ipmi-oem/ipmi-oem-thirdparty.c (ipmi_oem_thirdparty_get_system_info_block_pstring, ipmi_oem_thirdparty_get_account_status): Remove unnecessary fiid object clear which is also done in unassemble deep in API. * ipmi-oem/ipmi-oem-inventec.c (_ipmi_oem_inventec_read_eeprom_at24c256n, _ipmi_oem_inventec_clear_eeprom_at24c256n), ipmi-oem/ipmi-oem-quanta.c (_ipmi_oem_quanta_read_mac_address_s99q, _ipmi_oem_quanta_write_mac_address_s99q): Remove useless fiid obj clear call. * libfreeipmi/interface/ipmi-rmcpplus-interface.c (assemble_ipmi_rmcpplus_pkt), libfreeipmi/fru/ipmi-fru.c (_read_fru_data), libfreeipmi/debug/ipmi-debug-rmcpplus.c (_dump_rmcpplus_payload_data): Remove unnecessary fiid obj clears. 2016-09-29 Albert Chu * ipmipower/ipmipower_packet.c (ipmipower_packet_store, _ipmi_1_5_packet_create, _ipmi_2_0_packet_create): Remove unnecessary fiid object clears which are already done inside the fill & unassemble functions. * libipmiconsole/ipmiconsole_packet.c (_ipmi_1_5_packet_assemble, _ipmi_2_0_packet_assemble, ipmiconsole_packet_unassemble): Remove unnecessary fiid object clears which are done inside fill & unassemble functions. * libfreeipmi/api/ipmi-lan-session-common.c (_api_lan_cmd_send, _api_lan_2_0_cmd_send, _api_lan_cmd_recv, _api_lan_2_0_cmd_recv): Remove unnecessary fiid object clears which are done inside fill & unassemble functions. 2016-09-29 Albert Chu * libfreeipmi/include/freeipmi/fiid/fiid.h, libfreeipmi/fiid/fiid.c: Support new FIID_FIELD_SECURE_MEMSET_ON_CLEAR flag. * libfreeipmi/interface/ipmi-lan-interface.c, libfreeipmi/include/freeipmi/templates/ipmi-lan-interface-templates.h: In Lan Session Header, always securely clear authentication_code. 2016-09-29 Albert Chu * Remove additions of ipmi_rmcpplus_get_random and crypt_get_random from 2016-09-26. Older versions of gcrypt do not allow multiple threads into gcry_randomize simultaneously, which could greatly hurt initialization performance in multi-threaded applications. In addition, since ipmi_get_random() is only called during initialization in all libraries/code, the somewhat slower ipmi_get_random() shouldn't affect long running performance of applications. Reconsider change again in the future. 2016-09-29 Albert Chu * libfreeipmi/fiid/fiid.c (_fiid_template_field_start) (_fiid_template_field_end, _fiid_template_field_len) (_fiid_template_block_len): Create various internal versions of functions which can be used internally to avoid duplicate API checks in _fiid_template_check_valid_keys. 2016-09-28 Albert Chu * libfreeipmi/util/ipmi-rmcpplus-util.c: Do not secure_memset buffers with usernames. Do not consider username to be secure_memset necessary. 2016-09-28 Albert Chu Cleanup over-excessive use of secure_memset, should only be used to clear buffers containing cryptographic keys (i.e. passwords). * libipmimonitoring/ipmi_monitoring.c (ipmi_monitoring_ctx_create): Remove unnecessary call to secure_memset(). * ipmipower/ipmipower_powercmd.c (_send_packet, _recv_packet): Call secure_memset only when necessary (using plain passwords). * ipmiconsole/ipmiconsole.c (main, _stdin): Remove unnecessary and excessive calls to secure_memset. * libfreeipmi/util/ipmi-rmcpplus-util.c (ipmi_calculate_rmcpplus_session_keys) (ipmi_rmcpplus_check_packet_session_authentication_code) (ipmi_rmcpplus_check_rakp_2_key_exchange_authentication_code) (ipmi_calculate_rakp_3_key_exchange_authentication_code) (ipmi_rmcpplus_check_rakp_4_integrity_check_value): Fix secure memset of invalid/unnecessary buffers. * libfreeipmi/interface/ipmi-lan-interface.c (assemble_ipmi_lan_pkt): Fix secure memset of unnecessary buffers. * libfreeipmi/interface/ipmi-rmcpplus-interface.c (_construct_session_trlr_authentication_code): Fix secure memset of unnecessary buffers. * libipmiconsole/ipmiconsole_processing.c: Remove secure memset of unnecessary buffers. * libfreeipmi/fiid/fiid.c (fiid_obj_clear, fiid_obj_clear_field): Change secure_memset to memset. Will adjust via new fiid flag in later change. 2016-09-29 Albert Chu * libipmiconsole/ipmiconsole_ctx.c (ipmiconsole_ctx_fds_cleanup): Fix error in cleanup that could lead to fd leak. 2016-07-27 Albert Chu * common/toolcommon/tool-common.h, common/toolcommon/tool-common.c (ipmi_open): Add flags option. * Use new ipmi_open() function call appropriately in all tools. * ipmi-raw/: Support new --no-session option. * libfreeipmi/api/ipmi-api.c (ipmi_cmd_raw): Fix corner case when using IPMI_FLAGS_NOSESSION. 2016-09-26 Albert Chu * ipmipower/ipmipower_powercmd.c (ipmipower_powercmd_queue): Fix initialization of variables in wrong branch. 2016-09-26 Albert Chu * libfreeipmi/util/ipmi-util.c (ipmi_get_random): Remove call to gcry_randomize. There's no guarantee gcrypt was initialized. * libfreeipmi/libcommon/ipmi-crypt.h, libfreeipmi/libcommon/ipmi-crypt.c (crypt_get_random): New function that uses gcry_randomize. * libfreeipmi/interface/ipmi-rmcpplus-interface.c (_construct_payload_confidentiality_aes_cbc_128): Use crypt_get_random appropriately. * libfreeipmi/include/freeipmi/interface/ipmi-rmcpplus-interface.h, libfreeipmi/interface/ipmi-rmcpplus-interface.c (ipmi_rmcpplus_get_random): Add new convenience function. * libfreeipmi/api/ipmi-lan-session-common.c (api_lan_2_0_open_session), libipmiconsole/ipmiconsole_ctx.c (ipmiconsole_ctx_session_setup), ipmipower/ipmipower_powercmd.c (ipmipower_powercmd_queue): Use new ipmi_rmcpplus_get_random appropriately. 2016-09-22 Albert Chu * libfreeipmi/util/ipmi-util.c (ipmi_get_random): Fix corner case where signed/unsigned ints are compared. 2016-09-22 Albert Chu * libipmiconsole/: Do not close user fd if use has retrieved it from ipmiconsole_ctx_fd. Double close can lead to race conditions. 2016-09-20 Albert Chu * libipmiconsole/: Create state variable to manage context destroy state remove corner case of potential segfault on teardown. 2016-09-06 Albert Chu * libipmiconsole/ipmiconsole_ctx.c (__ipmiconsole_ctx_connection_cleanup): Add missing call to ipmiconsole_ctx_config_cleanup. * libfreeipmi/libcommon/ipmi-crypt.c: Fix potential issue with multithreaded tracing, call gpg_strerror_r intead of gcry_strerror when tracing. 2016-08-30 Albert Chu * configure.ac; Fix output comment error. 2016-08-02 Albert Chu * ipmi-oem/: Add Gigabyte get/set-nic-mode commands. 2016-08-01 Albert Chu * common/toolcommon/tool-sensor-common.h: Increase max sensor types to 128. 2016-08-01 Thomas Grohmann * common/toolcommon/tool-sensor-common.h: Increase max record ids to 4096. 2016-07-29 Albert Chu * libfreeipmi/include/spec/: Add Gigabyte IANA manufacturer macro and Product MD90-FS0-ZB macro. * libfreeipmi/sel/: Add Gigabyte MD90-FS0-ZB OEM SEL support. 2016-07-29 Albert Chu * ipmi-oem/: Support get/set-bmc-services for Intel motherboards. 2016-07-11 Albert Chu * Document support of Intel S2600KPR. * libfreeipmi/include/freeipmi/spec/ipmi-product-id-spec.h, libfreeipmi/sel/ipmi-sel-string.c: Add code indicating support for Intel S2600KPR. 2016-07-11 Albert Chu * Untabify all .c, .h, and .pl files for consistency across FreeIPMI. 2016-07-05 Holger Liebig * libfreeipmi/include/freeipmi/spec/ipmi-product-id-spec.h: Update Fujitsu Product ID range. 2016-06-21 Albert Chu * libfreeipmi/include/freeipmi/spec/oem/ipmi-oem-intel-spec.h: Add forgotten OEM macro. 2016-06-08 Albert Chu * libfreeipmi/include/freeipmi/spec/ipmi-comp-code-spec.h: Fix invalid completion code values for set session privilege macros. 2016-06-06 Albert Chu * ipmiconsole/ipmiconsole-argp.c, man/ipmiconsole.8.pre.in: Clarify use of --debugfile option. * ipmiconsole/: Make --debugfile option available in production builds. 2016-06-06 Albert Chu * libfreeipmi/util/ipmi-error-util.c (ipmi_completion_code_strerror_r): Remove buggy code which explains Master/Read write error from ChangeLog on 2015-09-09. 2016-05-21 Albert Chu * libfreeipmi/include/freeipmi/spec/ipmi-iana-enterprise-numbers-spec.h: Add macro for maximum IANA numbers. * libfreeipmi/spec/generate-enterprise-numbers-file.sh: Automatically update iana .h file with max index. 2016-05-10 Albert Chu * bmc-device/: Support --read-fru and --device-id option. * libfreeipmi/: Add ipmi_fru_open_device_id_with_buffer function. * ipmi-fru/: Add --fru-file option. * libfreeipmi/: Add ipmi_cmd_write_fru_data function. * bmc-device/: Support --write-fru option. 2016-05-20 Albert Chu * libfreeipmi/spec/enterprise-numbers.pl: Handle header and all corner cases in enterprise-numbers records list to avoid having to hand modify. * libfreeipmi/spec/generate-enterprise-numbers-file.sh: New file to automatically download and generate C file. * libfreeipmi/spec/enterprise-numbers.pl: Remove extraneous text from manufacturer names (e.g. "formerly known as" and similar text). * libfreeipmi/spec/ipmi-iana-enterprise-numbers-spec.c: Update to newest. 2016-05-06 Albert Chu * ipmi-fru/: Rename INTERPRET_OEM_DATA to INTERPRET_OEM_DATA_KEY for consistency. 2016-05-05 Albert Chu * ipmi-config/: Set SDR quiet-cache when doing hostranged actions. * ipmi-config/: Support SDR options in ipmi-config. * Globally legacy old 'f' option for --flush-cache and 'Q' option for --quiet-cache. 2016-05-04 Albert Chu * man/ipmi-fru.8.pre.in, man/bmc-device.8.pre.in: Minor fixes 2016-03-09 Maksym Planeta * libfreeipmi/driver/ipmi-inteldcmi-driver.c, libfreeipmi/driver/ipmi-openipmi-driver.c, libfreeipmi/driver/ipmi-ssif-driver.c, libfreeipmi/driver/ipmi-sunbmc-driver.c: Set FD_CLOEXEC on device driver opened files. 2016-02-03 Albert Chu * common/miscutil/conffile.h: Increase CONFFILE_MAX_ARGLEN from 512 to 1024 to support long hostname arguments in ipmiseld config file. 2015-11-04 Albert Chu * configure.ac, freeipmi.spec.in: Add systemd support. 2015-11-02 Albert Chu * libfreeipmi/sel/ipmi-sel-string.c: Code cleanup. 2015-10-29 Albert Chu * configure.ac: Update library versions for eventually 1.5 release. 2015-10-29 Albert Chu * ipmi-oem/ipmi-oem-intelnm.c: Fix typo. * ipmi-oem/ipmi-oem-intelnm.c: Fix logic error in searching code in various "get" functions. * ipmi-oem/ipmi-oem-intelnm.c: Fix logic errors in new command additions. * libfreeipmi/cmds/ipmi-oem-intel-node-manager-cmds.c: Fix error in new templates. 2015-10-29 Albert Chu * doc/freeipmi-faq.texi: URL updates and minor doc update. 2015-10-28 Albert Chu * Add warnings to deprecated header files. * Various code cleanup. 2015-10-27 Albert Chu * libfreeipmi/include/freeipmi/templates/: Move some files to oem subdirectory. * freeipmi.spec.in: Update for new header directories. * libfreeipmi/freeipmi/spec/oem/ipmi-slave-address-oem-linux-kernel-spec.h: New file. * libfreeipmi/include/Makefile.am, libfreeipmi/include/freeipmi/freeipmi.h.in, libfreeipmi/include/freeipmi/spec/ipmi-slave-address-spec.h, libfreeipmi/include/freeipmi/spec/ipmi-slave-address-oem-spec.h: Update for new file. * libfreeipmi/: Various code cleanup. 2015-10-21 Albert Chu * Various minor bug fixes, cleanup, and distcheck fixes. 2015-10-20 Albert Chu Re-org of OEM code for future. * libfreeipmi/include/freeipmi/sdr/, libfreeipmi/include/freeipmi/record-format: Split OEM .h files into vendor specific files. * libfreeipmi/sdr, libfreeipmi/record-format: Split OEM files into specific vendor files. * ipmi-sensors/: Split OEM files into motherboard files. * libfreeipmi/sel: Split OEM files into motherboard files. 2015-10-19 Albert Chu Re-org of OEM code for future. * libfreeipmi/include/freeipmi/spec/: Split OEM .h files into vendor specific files. * libfreeipmi/spec/ipmi-sensor-and-event-code-tables-oem-spec.c: Split OEM files into specific vendor files. 2015-10-19 Albert Chu Merge branch intelnm30 * libfreeipmi/include/freeipmi/spec/ipmi-sensor-and-event-code-tables-oem-spec.h, libfreeipmi/sel/ipmi-sel-string-intel-node-manager.c: Support Intel NM 3.0 SEL events. * libfreeipmi/include/freeipmi/spec/ipmi-sensor-numbers-oem-spec.h: Add new sensor numbers. * libfreeipmi/include/freeipmi/cmds/ipmi-oem-intel-node-manager-cmds.h, libfreeipmi/include/freeipmi/api/ipmi-oem-intel-node-manager-api.h * libfreeipmi/cmds/ipmi-oem-intel-node-manager-cmds.c, libfreeipmi/api/ipmi-oem-intel-node-manager-api.c, ipmi-oem/ipmi-oem-intelnm.c: Update for Intel NM 3.0 changes. 2015-10-16 Albert Chu * ipmi-oem/ipmi-oem-intelnm.c (ipmi_oem_intelnm_get_node_manager_statistics): Fix errors in units in output. * ipmi-oem/ipmi-oem-intelnm.c (ipmi_oem_intelnm_set_node_manager_policy): Fix error in setting logic. * libfreeipmi/include/freeipmi/api/ipmi-oem-intel-node-manager-cmds-api.h, ipmi_cmd_oem_intel_node_manager_set_node_manager_policy_boot_time_policy (ipmi_cmd_oem_intel_node_manager_set_node_manager_policy_boot_time_policy): New function. * libfreeipmi/include/freeipmi/cmds/ipmi-oem-intel-node-manager-cmds.h, libfreeipmi/cmds/ipmi-oem-intel-node-manager-cmds.c (fill_cmd_oem_intel_node_manager_set_node_manager_policy_boot_time_policy): New function. 2015-09-30 Albert Chu Merge branch intel2600v3. * libfreeipmi/include/freeipmi/spec/ipmi-product-id-spec.h: Add Intel product id's for S2600KP, S2600WT2, S2600WTT. * libfreeipmi/sel/ipmi-sel-string-intel.c: Support Intel Node Manager SEL events on Intel S2600KP, S2600WT2, S2600WTT. * libfreeipmi/include/freeipmi/spec/ipmi-sensor-numbers-oem-spec.h: Add sensor numbers for Intel S2600KP, S2600WT2, S2600WTT. * libfreeipmi/include/freeipmi/spec/ipmi-slave-address-oem-spec.h: Add slave addresses for Intel S2600KP, S2600WT2, S2600WTT. * libfreeipmi/include/freeipmi/spec/ipmi-sensor-and-event-code-tables-oem-spec.h, libfreeipmi/sel/ipmi-sel-string-intel.c: Support OEM sel events for Intel S2600KP, S2600WT2, S2600WTT. * man/ipmi-sel.8.pre.in: Update motherboard support list. 2015-10-14 Albert Chu * libfreeipmi/spec/ipmi-sensor-and-event-code-tables-oem-spec.c: Fix typo taret -> target. 2015-10-14 Albert Chu * ipmi-oem/: Update get-power-supply-status2 on Supermicro based on mailing list discussion. 2015-09-30 Albert Chu * libfreeipmi/include/freeipmi/spec/ipmi-slave-address-spec.h, libfreeipmi/include/freeipmi/record-format/ipmi-sel-oem-record-format.h, libfreeipmi/sel/ipmi-sel-string.c, libfreeipmi/sel/ipmi-sel-string-linux-kernel.h, libfreeipmi/sel/ipmi-sel-string-linux-kernel.c: Support Linux kernel panics in SEL. 2015-09-29 Newell Jensen * ipmi-locate/ipmi-locate.c (main), libfreeipmi/locate/ipmi-locate-smbios.c (ipmi_locate_smbios_get_device_info), libfreeipmi/locate/ipmi-locate-acpi-spmi.c (ipmi_locate_acpi_spmi_get_device_info), libfreeipmi/locate/ipmi-locate-dmidecode.c (ipmi_locate_dmidecode_get_device_info): Fix ipmi locate probing on arm32 & arm64. 2015-09-24 Newell Jensen * ipmi-locate/ipmi-locate.c (main): Fix probing issue on arm32 & arm64 systems. 2015-09-23 Albert Chu * libfreeipmi/include/freeipmi/record-format/ipmi-fru-information-record-format.h, libfreeipmi/fru/: Update FRU Multirecord Area for NVM Express record range (IPMI Errata 7). 2015-09-15 Albert Chu * ipmi-oem/: Update get-power-supply-status2 on Supermicro based on mailing list discussion. 2015-09-09 Albert Chu * ipmi-oem/: Support get-power-supply-status2 on Supermicro. * libfreeipmi/util/ipmi-error-util.c (ipmi_completion_code_strerror_r): Support Master read/write specific error codes. 2015-08-18 Craig * ipmi-sensors/ipmi-sensors-output-common.c (ipmi_sensors_get_thresholds): Handle additional corner case reading sensor thresholds. 2015-08-18 Albert Chu * ipmi-sensors/ipmi-sensors-output-common.c (ipmi_sensors_get_thresholds): Handle several additional error cases with getting sensor thresholds. 2015-07-30 Albert Chu * ipmi-config/ipmi-config/ipmi-config-category-dcmi-dcmi-conf-section.c (asset_tag_commit): Revert workaround for Supermicro motherboard. 2015-07-27 Albert Chu * ipmi-config/ipmi-config/ipmi-config-category-dcmi-dcmi-conf-section.c (asset_tag_commit): Add workaround for Supermicro motherboard. 2015-07-27 Albert Chu * ipmi-config/ipmi-config-category-chassis-boot-flags.c (_get_boot_flags): Fix debug message output error. 2015-06-24 Albert Chu * Update copyright year globally. 2015-06-01 Albert Chu * Audit and fix all strtol parse corner cases. 2015-06-01 James Buren * ipmi-config/ipmi-config-argp.c (_ipmi_config_parse_channel_number): Fix strtol parse corner case. 2015-04-02 Albert Chu * man/ipmiconsole.8.pre.in: Remove duplicate information. (bug #44698) 2015-01-06 Albert Chu * libfreeipmi/libcommon/ipmi-crypt.c (crypt_init): Only call gcry_control w/ GCRYCTL_SET_THREAD_CBS once. It appears newer version of libgcrypt cannot handle entering this function simulatenously by multiple threads, leading to segfaults. 2015-01-06 Albert Chu * common/toolcommon/tool-cmdline-common.c: Fix parsing corner case with --fanout option. 2014-12-10 Albert Chu * ipmi-config/ipmi-config-category-core-user-sections.c (_set_user_access): Workaround issue on Supermicro X10DDW-i. 2014-12-10 Albert Chu * ipmi-config/ipmi-config-category-pef-alert-policy-table.c (_set_alert_policy_table): Use convenience function ipmi_config_find_section appropriately. 2014-12-09 Albert Chu * ipmi-config/ipmi-config-category-core-lan-conf-section.c: Fix vlan_id from uint8_t to uint16_t. Found by jbd at jbdenis dot net 2014-12-09 Albert Chu * libfreeipmi/: Support Get Device SDR Info, Get Device SDR, and Reserve Device SDR Repository commands in API as needed. 2014-11-14 Albert Chu * libfreeipmi/driver/ipmi-sunbmc-driver.c, libfreeipmi/driver/ipmi-ssif-driver.c, libfreeipmi/driver/ipmi-openipmi-driver.c: Loop on select() call if interrupted by EINTR. Issue found by Robin Geyer (robin dot geyer at tu-dresden dot de) 2014-11-14 Albert Chu * bmc-info/bmc-info.c (display_system_info_common): Fix cut & paste error handling bug. 2014-11-07 Albert Chu * libfreeipmi/spec/ipmi-sensor-and-event-code-tables-spec.c: Fix typo. (Found by Werner Fischer). 2014-11-03 Albert Chu * Found by Satya Nishtala Fix typo throughout with "Tegulu" language, which should be "Telugu". Typo exists in originally FRU specification. 2014-10-30 Albert Chu * doc/freeipmi-faq.texi: Fix typo and update with examples. Add support updates. 2014-10-29 Albert Chu Merge branch ddr4 * libfreeipmi/include/freeipmi/record-format/ipmi-fru-dimmspd-record-format.h, libfreeipmi/record-format/ipmi-fru-dimmspd-record-format.c, libfreeipmi/include/freeipmi/templates/ipmi-fru-dimmspd-record-format-templates.h: Add DDR4 SPD FRU support. * libfreeipmi/include/freeipmi/spec/ipmi-jedec-manufacturer-identification-code-spec.h, libfreeipmi/spec/ipmi-jedec-manufacturer-identification-code-spec.c, libfreeipmi/spec/jedec-raw.txt, libfreeipmi/util/ipmi-jedec-manufacturer-identification-code-util.c: Update jedec manufacturer listings. * libfreeipmi/spec/ipmi-iana-enterprise-numbers-spec.c: Update IANA manufacturer listings. * ipmi-fru/: Support DDR4 module output. Add extra output to DDR3 modules. 2014-10-22 Albert Chu * ipmi-chassis/ipmi-chassis-argp.c: Options now require arguments, remove OPTION_ARG_OPTIONAL flag in parsing. * ipmi-chassis/: Add comments on legacy options. 2014-10-21 Albert Chu * ipmi-raw/: Fix corner case with empty lines when inputting commands via standard in or --file. 2014-10-14 Albert Chu * doc/freeipmi-faq.texi: Add notes on ipmitool vs ipmi-sensors "ok" reading. 2014-08-19 Mark Rusk * libfreeipmi/locate/ipmi-locate-dmidecode.c: Fix multiple UEFI bugs. Remove assumption EFI only works with IA64. Fix endline parse issue. 2014-08-14 Albert Chu * Support SSIF IPMB bridging. 2014-07-15 Markus Blank-Burian * Support Supermicro H8DGU and H8DG6 systems. 2014-07-14 Yaroslav Halchenko * Fix various typos in code and documentation. 2014-07-10 Albert Chu * man/libipmiconsole.3.pre.in: Document libipmiconsole.conf manpage. 2014-07-01 Albert Chu * libipmiconsole/ipmiconsole_processing.c (_check_payload_sizes_legitimate): Fix max_sol_character_send_size corner case calculation. Should be based on "inbound" size not "outbound" size. 2014-05-30 Shashi Dande * libfreeipmi/api/ipmi-ssif-driver-api.h, libfreeipmi/api/ipmi-ssif-driver-api.c (api_ssf_cmd): Retry reads as needed. 2014-05-07 Klaus Kaempf * ipmipower/ipmipower_ping.c: Fix compile bug. 2014-03-19 Albert Chu * ipmipower/: Support 'ipmiping' workaround. 2014-03-19 David Binderman * libfreeipmi/interpret/ipmi-interpret.c: Fix leap before you look bugs. 2014-03-13 Albert Chu * ipmi-oem/: Support Supermicro get-power-supply-status and get-pmbus-power-supply-status commands. 2014-03-12 Albert Chu * doc/freeipmi-faq.texi: Add notes on ipmi-detect for IPMI discovery. 2014-02-21 Albert Chu * libipmiconsole/ipmiconsole_processing.c (_sol_retransmission_timeout): Only increment sol packet sequence number for workaround once. 2014-02-20 Albert Chu * libipmiconsole, ipmiconsole, common/parsecommon: Support SERIAL_ALERTS_DEFERRED workaround. Support INCREMENT_SOL_PACKET_SEQUENCE workaround. 2014-02-20 Albert Chu * libfreeipmi/include/freeipmi/templates/ipmi-rmcpplus-support-and-payload-cmds-templates.h, libfreeipmi/cmds/ipmi-rmcpplus-support-and-payload-cmds.c: Fix payload, two fields were flipped by accident. Make fields required and not optional. 2014-02-06 Albert Chu * Porting issues discovered by Mark Pettit http://theviewfrom8.blogspot.com/2012/11/how-to-build-freeipmi-on-mac-os-x.html basic code derived from his webpage. * libfreeipmi/driver/ipmi-semaphores.h: Union semun defined in sys/sem.h for FreeBSD and APPLE. * configure.ac, common/toolcommon/pstdout.c, common/toolcommon/tool-daemon-common.h: sighandler_t not defined in signal.h, handled appropriately. 2014-01-27 Anonymous * man/Makefile.am: Fix man pages built with cpp-4.8 2014-01-15 Albert Chu * libfreeipmi/sel/, libfreeipmi/include/freeipmi/spec/, Support OEM events for Intel Windmill motherboards in ipmi-sel. * freeipmi/record-format/ipmi-sel-oem-record-format.h: New file * libfreeipmi/include/freeipmi/util/ipmi-sensor-and-event-code-tables-util.h, libfreeipmi/util/ipmi-sensor-and-event-code-tables-util.c (ipmi_get_oem_sensor_type_message, ipmi_get_event_messages): Adjust API for new OEM sensors with non-standard config. * ipmi-sensors/, libipmimonitoring/: Adjust for changes in API. 2014-01-09 Albert Chu * Adjust comments/documentation for Quanta Winterfell & Wiwynn Windmill. Motherboard is Intel Windmill on all of them. 2014-01-08 Albert Chu * Adjust comments/documentation for Quanta Winterfell & Wiwynn Windmill. Motherboard in use was previously misidentified. 2014-01-07 Albert Chu Add DCMI configuration support in ipmi-config. * ipmi-config/: Add basic DCMI configuration support. * man/: Add appropriately DCMI config subsections to manpages. * libfreeipmi/: Fix various corner cases. * ipmi-config/, ipmi-sensors/: Fix various corner cases for Quanta Winterfell motherboard. * man/: Document workarounds. 2014-01-03 Albert Chu * Update copyright globally. 2014-01-03 Albert Chu * ipmi-dcmi/, man/, ipmi-config/: Fix various English and typos. 2013-12-20 Albert Chu Add 'inteldcmi' inband driver. * libfreeipmi/: Add support for "inteldcmi" in-band driver. * README, doc/, man/: Add documentation for inteldcmi driver. 2013-12-20 Albert Chu * man/freeipmi.7.pre.in, README: Fix some English. * man/libfreeipmi.3.pre.in: Add forgotten driver. 2013-12-19 Dave Love * ipmi-sensors/ipmi-sensors.c (_calculate_record_ids): Check record number against array length. * common/toolcommon/tool-sensor-common.h (MAX_SENSOR_RECORD_IDS): Increase to 1024. 2013-12-12 Albert Chu * bmc-info/: Support 'guidformat' workaround flag. * bmc-info/: Fix default GUID output format, one field appears to be output incorrectly. 2013-12-12 Albert Chu * bmc-info/: Support output of System GUID by default and support --get-system-guid option. 2013-12-12 Albert Chu * ipmi-config/: Decimal values that cannot be encoded accurately now report a clearer error message through the IPMI_CONFIG_VALIDATE_VALUE_CANNOT_BE_ENCODED_ACCURATELY validate error code. 2013-12-11 Albert Chu * ipmi-config/: Re-work error message outputs so fatal error messages are always output. 2013-12-11 Albert Chu * libfreeipmi/util/ipmi-sensor-util.c (ipmi_sensor_decode_raw_value): Fix error in input checks. 2013-12-11 Albert Chu * ipmi-config/ipmi-config-category-sensors-threshold-section.c: Fix error message cut & paste typo. 2013-12-05 Albert Chu * ipmiseld/ipmiseld.c: Fix error message typo. 2013-12-02 Albert Chu * freeipmi.spec.in: Add forgotten manpage. 2013-12-02 Albert Chu * doc/freeipmi-faq.txi: Update with new information on OS issues. 2013-12-02 Albert Chu * bmc-watchdog/bmc-watchdog.c (_fiid_obj_get_safe): New function. * bmc-watchdog/bmc-watchdog.c (_get_watchdog_timer_cmd): Use _fiid_obj_get_safe and do not exit on data not available errors. 2013-11-26 Albert Chu * doc/freeipmi-faq.txi: Update with new information. 2013-11-14 Albert Chu * libfreeipmi/sdr/ipmi-sdr-cache-create.c (ipmi_sdr_cache_create): Fix bug w/ Fujitsu SDR count workaround. 2013-11-14 Albert Chu * ipmiconsole/, libipmiconsole/: Support solchannelsupport workaround option / IPMICONSOLE_WORKAROUND_SKIP_CHANNEL_PAYLOAD_SUPPORT workaround flag. 2013-11-13 Albert Chu * doc/freeipmi-bugs-issues-and-workarounds.txt, man/manpage-common-workaround-outofband-15-text.man: Document workaround for Quanta Winterfell. 2013-11-13 Albert Chu Update with Errata 5 changes to IPMI 2.0 spec. * libfreeipmi/cmds/ipmi-pef-and-alerting-cmds.c, libfreeipmi/include/freeipmi/templates/ipmi-pef-and-alerting-cmds-templates.h, ipmi-config/ipmi-config-category-pef-alert-string.c: Filter numbers are now 8 bit fields instead of 7 bit fields. * libfreeipmi/util/ipmi-cipher-suite-util.c, libfreeipmi/include/freeipmi/util/ipmi-cipher-suite-util.h: Cipher Suites 15-19 now fully confirmed, remove comments * etc/freeipmi_interpret_sensor.conf, etc/freeipmi_interpret_sel.conf, libipmimonitoring/ipmi_monitoring_bitmasks.h, libipmimonitoring/ipmi_monitoring_offsets.h, man/freeipmi_interpret_sel.conf.5.pre.in, man/freeipmi_interpret_sensor.conf.5.pre.in, libfreeipmi/interpret/ipmi-interpret-config-sel.c, libfreeipmi/interpret/ipmi-interpret-config-sensor.c, libfreeipmi/spec/ipmi-sensor-and-event-code-tables-spec.c, libfreeipmi/include/freeipmi/spec/ipmi-sensor-and-event-code-tables-spec.h: Support new offset for power supply sensor. * etc/freeipmi_interpret_sensor.conf, etc/freeipmi_interpret_sel.conf, libipmimonitoring/ipmi_monitoring_bitmasks.h, libipmimonitoring/ipmi_monitoring_offsets.h, man/freeipmi_interpret_sel.conf.5.pre.in, man/freeipmi_interpret_sensor.conf.5.pre.in, libfreeipmi/interpret/ipmi-interpret-config-sel.c, libfreeipmi/interpret/ipmi-interpret-config-sensor.c, libfreeipmi/spec/ipmi-sensor-and-event-code-tables-spec.c, libfreeipmi/include/freeipmi/spec/ipmi-sensor-and-event-code-tables-spec.h: Support new offset for os boot sensor. * libfreeipmi/include/freeipmi/spec/ipmi-sensor-types-spec.h: Document legacy/new name choice. * libfreeipmi/include/freeipmi/cmds/ipmi-messaging-support-cmds.h, libfreeipmi/include/freeipmi/spec/ipmi-system-info-parameters-spec.h, libfreeipmi/include/freeipmi/templates/ipmi-messaging-support-cmds-templates.h, libfreeipmi/include/freeipmi/api/ipmi-messaging-support-cmds-api.h, libfreeipmi/cmds/ipmi-messaging-support-cmds.c, libfreeipmi/api/ipmi-messaging-support-cmds-api.c: Support new System Info Parameters Present OS Version Number, BMC URL, and Base OS/Hypervisor URL. * bmc-info/bmc-info.c: Support Present OS Version Number, BMC URL, and Base OS/Hypervisor URL system info output. * bmc-device/: Support --set-present-os-version-number, --set-bmc-url, --set-base-os-hypervisor-url. 2013-10-30 Denys Vlasenko * libfreeipmi/util/ipmi-rmcpplus-util.c (ipmi_rmcpplus_check_rakp_4_integrity_check_value): Fix incorrect secure memset call. 2013-10-23 Denys Vlasenko * libfreeipmi/util/ipmi-rmcpplus-util.c (ipmi_calculate_sik): Fix big endian bug. 2013-09-24 Albert Chu * man/ipmi-sel.8.pre.in: Add note about very verbose output. 2013-09-23 Albert Chu * libfreeipmi/sel/ipmi-sel-string.c (_output_oem_record_data): Output record type under verbose mode. (Feature recommended by Rob Swindell - swindell at broadcom dot com). 2013-09-18 Albert Chu Merge branch intelnm20 ; Add support for Intel Node Manager 2.0. * libfreeipmi/sel/ipmi-sel-string-intel-node-manager.c: Support changes to Intel NM 2.0 events and add new Intel NM 2.0 events. * libfreeipmi/include/freeipmi/spec/ipmi-sensor-and-event-code-tables-oem-spec.h, libfreeipmi/include/freeipmi/spec/ipmi-event-reading-type-code-oem-spec.h, libfreeipmi/include/freeipmi/spec/ipmi-sensor-numbers-oem-spec.h, libfreeipmi/include/freeipmi/spec/ipmi-sensor-types-oem-spec.h, libfreeipmi/include/freeipmi/cmds/ipmi-oem-intel-node-manager-cmds.h, libfreeipmi/include/freeipmi/api/ipmi-oem-intel-node-manager-cmds-api.h, libfreeipmi/include/freeipmi/templates/ipmi-oem-intel-node-manager-cmds-templates.h libfreeipmi/include/freeipmi/spec/ipmi-cmd-oem-spec.h, libfreeipmi/include/freeipmi/spec/ipmi-comp-code-oem-spec.h: Update with changes and/or additions from Intel NM 2.0 spec. * ipmi-oem/: Support changes to commands due to Intel NM 2.0 events. * ipmi-oem/ipmi-oem-intelnm.c (_ipmi_oem_intelnm_sdr_callback), ipmi-sensors/ipmi-sensors.c (_display_sensors), libfreeipmi/sel/ipmi-sel-string-intel-node-manager.c (_intel_node_manager_sdr_callback): Comment on 2.0 no longer needing SDR searching. 2013-09-13 Albert Chu * libfreeipmi/include/freeipmi/spec/ipmi-cmd-oem-spec.h: Fix invalid hex for IPMI_CMD_OEM_INTEL_NODE_MANAGER_SET_NODE_MANAGER_ALERT_DESTINATION and IPMI_CMD_OEM_INTEL_NODE_MANAGER_GET_NODE_MANAGER_ALERT_DESTINATION. * ipmi-oem/: Enable support of IntelNM get-node-manager-alert-destination and set-node-manager-alert-destination. 2013-08-28 Albert Chu * libfreeipmi/include/freeipmi/api/ipmi-api.h: Document mapping of IPMI completion codes and RMCPPlus codes to API error codes. * Update freeipmi libraries/tools to check/use API error codes correctly. 2013-08-27 Albert Chu Merge branch configcollapse. * ipmi-config/: New tool. * bmc-config/, ipmi-pef-config/, ipmi-sensors-config/, ipmi-chassis-config/: Remove tools. * common/configtool/: Remove common files. * common/toolcommon/: Update config file parsing to recognize ipmi-config and legacy options. * doc/, man/: Update documentation appropriately for change. 2013-08-22 Albert Chu * configure.ac, NEWS: Update for release. 2013-08-13 Albert Chu * man/bmc-config.conf.5.pre.in: Fix section typos. * man/libfreeipmi.3.pre.in, man/freeipmi.7.pre.in, man/freeipmi.conf.5.pre.in: Add missing tool. 2013-08-09 Albert Chu * doc/: Update all docs w/ dates. 2013-08-02 Albert Chu * libfreeipmi/sdr/ipmi-sdr-parse-util.c (ipmi_sdr_parse_entity_sensor_name): Handle special corner case w/ double printed name. 2013-07-03 John Gilmore * Fix compiler issues w/ gcc-2.96. 2013-07-03 Albert Chu * ipmi-sensors/ipmi-sensors-output-common.c (ipmi_sensors_get_thresholds): When thresholds access reported by SDR is fixed/unreadable, the prior interpretation was that thresholds were not available. The apparent correct interpretation is that thresholds are only unreadable via the get threshold command, but thresholds can still be read in the SDR. Code has been altered to meet this assumption. Issue discovered and proper interpretation determined by Holger Liebig . 2013-06-26 Mario Jungwirth * libipmimonitoring/ipmi_monitoring.h.in: Remove invalid declaration. 2013-06-25 Albert Chu * libfreeipmi/api/ipmi-api-util.c (api_set_api_errnum_by_bad_response), libfreeipmi/api/ipmi-api.c. libfreeipmi/include/freeipmi/api/ipmi-api.h: Support new IPMI_ERR_COMMAND_INVALID_OR_UNSUPPORTED error code. 2013-06-17 Albert Chu * bmc-info/bmc-info.c (display_system_info_common): Workaround issue on Bull 510 systems. 2013-06-17 Albert Chu * man/manpage-common-troubleshooting-inband-outofband.man: New common manpage. * man/: Add inband & outofband common troubleshooting to most FreeIPMI tool manpages. 2013-05-30 Ales Ledvinka * common/toolcommon/pstdout.c (pstdout_vprintf): Fix portability bug, va_list is not a pointer type. 2013-05-29 Albert Chu * man/manpage-common-time-options.man: Fix typo. * configure.ac, NEWS: Update for release. 2013-05-16 Albert Chu * libfreeipmi/util/ipmi-sensor-and-event-code-tables-util.c (ipmi_get_event_messages): Fix sensor event message corner case w/ OEM sensors. 2013-05-16 Albert Chu * libfreeipmi/include/freeipmi/util/ipmi-util.h, libfreeipmi/util/ipmi-util.c (ipmi_checksum_incremental, ipmi_checksum_final): New function. * libfreeipmi/util/ipmi-util.c (_checksum): New common function. * libfreeipmi/util/ipmi-util.c (ipmi_checksum): Use _checksum common function. * libfreeipmi/sdr/: Support checksums in SDR cache files to detect corruption. 2013-05-09 Albert Chu * bmc-device/bmc-device.c (get_sel_time_utc_offset): Fix output string error. 2013-05-08 Albert Chu * libfreeipmi/interface/ipmi-network.h, libfreeipmi/interface/ipmi-network.c (ipmi_network_sendto): New function. * libfreeipmi/interface/ipmi-rmcpplus-interface.c (ipmi_rmcpplus_sendto): Call ipmi_network_sendto common function. * libfreeipmi/interface/ipmi-lan-interface.c (ipmi_lan_sendto): Call ipmi_network_sendto common function, do not pad legacy byte. 2013-05-08 Albert Chu * libfreeipmi/record-format/ipmi-fru-dimmspd-record-format.c, libfreeipmi/include/freeipmi/templates/ipmi-fru-dimmspd-record-format-templates.h: Fix mistakes in tmpl_fru_dimm_spd_ddr3_record template. * ipmi-fru/ipmi-fru-output.h, ipmi-fru/ipmi-fru-output.c: Fix area length from uint8_t to unsigned int globally. * ipmi-fru/ipmi-fru-output.c (ipmi_fru_output_dimm): Fix object creation corner case. * libfreeipmi/util/ipmi-jedec-manufacturer-identification-code-util.c (ipmi_jedec_manufacturer_id_search): Fix parameter check corner case. 2013-05-08 Albert Chu * libfreeipmi/include/freeipmi/util/ipmi-timestamp-util.h, libfreeipmi/util/ipmi-timestamp-util.c (ipmi_timestamp_string): Support specific UTC offset being specified. * ipmi-fru/, bmc-device/, ipmi-sel/, ipmi-sensors/, ipmi-dcmi/, ipmi-oem/: Support new --utc-offset option. * common/toolcommon/: Support new options and config file options appropriately. * man/: Update for new option. 2013-05-07 Albert Chu Merge branch 'utcoffsetcmd' * libfreeipmi/util/ipmi-timestamp-util.c (ipmi_timestamp_string): Make default output unconverted. * libfreeipmi/util/ipmi-timestamp-util.c (ipmi_timestamp_string): Support UTC_TO_LOCALTIME and LOCALTIME_TO_UTC flag to allow user to specify if time is actually UTC. * ipmi-fru/, bmc-device/, ipmi-sel/, ipmi-sensors/, ipmi-dcmi/, ipmi-oem/: Support new --utc-to-localtime and --localtime-to-utc options. * common/toolcommon/: Support new options and config file options appropriately. * man/: Update for new options. 2013-05-06 Albert Chu * libfreeipmi/: Get SEL Time UTC Offset and Set SEL Time UTC Offset payloads. * bmc-device/: Support --get-sel-time-utc-offset and -set-sel-time-utc-offset. 2013-05-06 Peter Volkov * configure.ac: Update for autoconf 1.14. 2013-05-03 Albert Chu Merge 9651:9663 branch 'ddr3' Add support to interpret DDR3 SDRAM memory modules * libfreeipmi/include/freeipmi/record-format/ipmi-fru-dimmspd-record-format.h, libfreeipmi/record-format/ipmi-fru-dimmspd-record-format.c, libfreeipmi/include/freeipmi/templates/ipmi-fru-dimmspd-record-format-templates.h: New files. * libfreeipmi/include/freeipmi/spec/ipmi-jedec-manufacturer-identifcation-code-spec.h, libfreeipmi/spec/ipmi-jedec-manufacturer-identifcation-code-spec.c, libfreeipmi/include/freeipmi/util/ipmi-jedec-manufacturer-identifcation-code-util.h, libfreeipmi/util/ipmi-jedec-manufacturer-identifcation-code-util.c: New files. * libfreeipmi/include/freeipmi/fru/ipmi-fru.h, libfreeipmi/fru/ipmi-fru.c, libfreeipmi/fru/ipmi-fru-defs.h: Support IPMI_FRU_FLAGS_READ_RAW flag and IPMI_FRU_AREA_TYPE_RAW_DATA. * ipmi-fru/ipmi-fru.c (_print_except_default_fru_cb): Add additional bridging case. * ipmi-fru/: Support FRU output of DDR3 SDRAM dimms. 2013-05-02 Albert Chu * libfreeipmi/sel/ipmi-sel-string.c (_output_date): Fix memory buffer overrun (Bug location found by Rob Swindell - swindell at broadcom dot com). 2013-04-30 Albert Chu Merge branch 'timestampspecial' Handle special case timestamps such as 0xFFFFFFFF and timestamps < 0x2000000, per chapter 37 of IPMI specification. * libfreeipmi/include/freeipmi/spec/ipmi-timestamp-spec.h: New file. * libfreeipmi/include/freeipmi/util/ipmi-timestamp-util.h, libfreeipmi/util/ipmi-timestamp-util.c: New timestamp utility files. * ipmi-fru/, bmc-device/, ipmi-sel/, ipmi-sensors/, ipmi-dcmi/, ipmi-oem/, libfreeipmi/sel/: Use new timestamp utility function. 2013-04-29 Albert Chu Merge branch 'fru12' Update for FRU Storage Definition Revision 1.2. * libfreeipmi/include/freeipmi/record-format/ipmi-fru-information-record-format.h: Define new macro IPMI_FRU_MFG_DATE_TIME_UNSPECIFIED and IPMI_FRU_PEAK_CAPACITY_UNSPECIFIED. * ipmi-fru/ipmi-fru-output.c (ipmi_fru_output_board_info_area): Output manufacturing time as unspecified as appropriate. * ipmi-fru/ipmi-fru-output.c (ipmi_fru_output_power_supply_information): Output peak capacity as unspecified as appropriate. * libfreeipmi/include/freeipmi/spec/ipmi-fru-chassis-types-spec.h, libfreeipmi/spec/ipmi-fru-chassis-types-spec.c: Add new chassis types. * libfreeipmi/include/freeipmi/fru/ipmi-fru.h, libfreeipmi/include/freeipmi/record-format/ipmi-fru-information-record-format.h, libfreeipmi/fru/ipmi-fru.c (_read_multirecord_area_data): Update * libfreeipmi/include/freeipmi/fru/ipmi-fru.h, libfreeipmi/fru/ipmi-fru-data.c (ipmi_fru_multirecord_power_supply_information): Return low/high end input voltage ranges as signed integers. * ipmi-fru/: Output low/high end voltage ranges as signed integers. * libfreeipmi/include/freeipmi/record-format/ipmi-fru-information-record-format.h, libfreeipmi/record-format/ipmi-fru-information-record-format.c: Support tmpl_fru_extended_dc_output and tmpl_fru_extended_dc_load templates. * libfreeipmi/include/freeipmi/fru/ipmi-fru.h, libfreeipmi/fru/ipmi-fru-data.c (ipmi_fru_multirecord_extended_dc_output, ipmi_fru_multirecord_extended_dc_load): New functions. * ipmi-fru/: Support output of extended DC output and extended dc load. 2013-04-26 Albert Chu Merge branch 'sendto' Modify architecture to send IPMI 1.5 network packets via one function and IPMI 2.0 network packets via another function. IPMI 1.5 packets must be padded for legacy reasons, however IPMI 2.0 packets should not be padded. (Issue discovered by Rob Swindell - swindell at broadcom dot com). * libfreeipmi/include/freeipmi/interface/ipmi-rmcpplus-interface.h, libfreeipmi/interface/ipmi-rmcpplus-interface.c (ipmi_rmcpplus_sendto, ipmi_rmcpplus_recvfrom): New functions to handle non-legacy pad in IPMI 2.0. * libfreeipmi/interface/ipmi-network.h, libfreeipmi/interface/ipmi-network.c: New files. * libfreeipmi/interface/ipmi-lan-interface.c (ipmi_lan_recvfrom): Adjust to use new common function. * libfreeipmi/api/ipmi-lan-session-common.c (_api_lan_2_0_cmd_send): Use new ipmi_rmcpplus_sendto. * ipmipower/, libipmiconsole/ : Support sending packets via ipmi_lan_sendto or ipmi_rmcpplus_sendto. 2013-04-26 Albert Chu * Globally fix copyright years from ending in 2012 to ending in 2013. 2013-04-25 Albert Chu * libfreeipmi/interface/ipmi-rmcpplus-interface.c (_construct_payload_confidentiality_aes_cbc_128): Fix confidentiality trailer pad calculation corner case. (Bug location found by Rob Swindell - swindell at broadcom dot com). 2013-04-25 Albert Chu * Support HP Proliant DL160 G8 OEM sensors. 2013-04-24 Albert Chu * ipmi-dcmi/ipmi-dcmi.c (_sensor_info_output): Fix output calculation errors. (Bug location found by Michael Winiarski - michael dot winiarski at hp dot com). 2013-04-24 Albert Chu * libfreeipmi/cmds/ipmi-dcmi-cmds.c: Fix null terminator on tmpl_dcmi_rolling_average_time_period (Recommended fix by Michael Winiarski - michael dot winiarski at hp dot com). 2013-04-18 Albert Chu * libipmiconsole/ipmiconsole_processing.c (_process_protocol_state_activate_payload_sent): Change "BMC Error" to "SOL Inuse" error message. 2013-04-03 Albert Chu * doc/freeipmi-faq.texi: Note kernel driver issue. 2013-03-25 Peter Volkov * Fix out of trunk source build. 2013-03-11 Holger Liebig * ipmi-dcmi/: Output temperature sampling period appropriately. * libfreeipmi/cmds/ipmi-dcmi-cmds.c: Update tmpl_cmd_dcmi_get_dcmi_capability_info_mandatory_platform_attributes_rs with newer optional fields. 2013-03-08 Albert Chu * Add support for Supermicro X9SCM-iiF OEM sensors/events. 2013-03-08 Albert Chu * man/ipmi-sensors.8.pre.in: Fix typo (Found by Werner Fischer). 2013-02-28 Anonymous * libfreeipmi/sel/ipmi-sel-string-intel.c (sel_string_output_intel_event_data2_event_data3): Fix string overflow. 2013-02-21 Albert Chu * Add support for Supermicro X9SPU-F-0 OEM sensors/events. * Add support for Supermicro X9DRI-LN4F+ OEM interpretations (forgotten earlier). 2013-01-22 Albert Chu * bmc-config/bmc-config.c (_bmc_config), ipmi-pef-config/ipmi-pef-config.c (_ipmi_pef_config), ipmi-chassis-config/ipmi-chassis-config.c (_ipmi_chassis_config), ipmi-sensors-config/ipmi-sensors-config.c (_ipmi_sensors_config): If only non-fatal errors occurred during operation, exit with status 1. Exit with status 2 on fatal errors. * man/manpage-common-config-diagnostics.man: New file. * man/bmc-config.8.pre.in, man/ipmi-sensors-config.8.pre.in, man/ipmi-chassis-config.8.pre.in, man/ipmi-pef-config.8.pre.in: Update for changes in exit value behavior. 2013-01-22 Albert Chu * man/manpage-common-config-tool-options.man: Add clarification about use w/ hostranges and hostrange options. 2013-01-22 Albert Chu * common/toolcommon/pstdout.h, common/toolcommon/pstdout.c (pstdout_vprintf, pstdout_vfprintf): New functions. * common/configtool/config-tool-utils.h, common/configtool/config-tool-utils.c (config_pstdout_fprintf): New function. * common/configtool/config-tool-checkout.c, common/configtool/config-tool-comment.c: Call config_pstdout_fprintf instead of pstdout_fprintf to deal with corner case when user specifys filename with --filename option in config tools. 2013-01-09 Albert Chu Fix bugs found by static code analysis done by Redhat/Fedora. * ipmidetect/ipmidetect-argp.c (_read_nodes_from_stdin): Fix potential NUL termination corner case. * libfreeipmi/sel/ipmi-sel-string-intel.c (sel_string_output_intel_event_data3_discrete_oem) (sel_string_output_intel_event_data2_event_data3): Fix potential initialization bug. * libfreeipmi/interface/rmcp-interface.c (assemble_rmcp_pkt): Fix copy and paste error output. * libfreeipmi/api/ipmi-pef-and-alerting-cmds-api.c (ipmi_cmd_alert_immediate): Fix cut and paste bug. * libfreeipmi/api/ipmi-api.c (ipmi_ctx_destroy): Fix memset size bug. * libfreeipmi/api/ipmi-lan-session-common.c (api_lan_2_0_cmd_wrapper): Add assert to protect against potential API mis-call and subsequent segfault. * libfreeipmi/util/ipmi-util.c (ipmi_get_random): Fix potential fd leak. * bmc-info/bmc-info.c (display_channel_info): Add missing break. * ipmi-pet/ipmi-pet.c (_ipmi_pet_form_sel_record): Fix unsigned vs signed int mis-assignment. * ipmiseld/ipmiseld.c (_alloc_host_data): Fix error case mem-leak. * bmc-watchdog/bmc-watchdog-argp.c (cmdline_parse): Add missing break; * ipmi-oem/ipmi-oem-intel.c (ipmi_oem_intel_set_power_restore_delay): Fix invalid shift. 2012-01-09 Albert Chu * common/miscutil/heap.c (heap_insert, heap_pop): Fix mutex unlock corner case on error cases. * common/miscutil/heap.c: Remove unused legacy code. 2012-12-05 Albert Chu * Add support for Supermicro X9DRI-LN4F+ OEM sensors/events. 2012-10-29 Albert Chu * man/: Fix typos. 2012-10-10 Albert Chu * libipmiconsole/: IPMICONSOLE_DEBUG_FILE now dumps to current working directory instead of /var/log. This is a debug feature and not a logging feature. 2012-10-09 Dave Walker , * common/toolcommon/tool-daemon-common.c (daemonize_common): Check read and write for errors. 2012-10-05 Albert Chu * libfreeipmi/, libipmiconsole/, libipmimonitoring/, common/parsecommon/, man/: Support new NO_CHECKSUM_CHECK/nochecksumcheck workaround to deal with Supermicro motherboards that incorrectly calculate packet checksums. 2012-10-04 Albert Chu Add OEM extension support for Dell Poweredge R720 * ipmi-oem/: Support Dell get-nic-selection-failover, set-nic-selection-failover, power-monitoring-over-interval, power-monitoring-interval-range, get-blade-slot-info, get-last-post-code. Support new version of active-lom-status for R720. Support Dell specific OEM completion codes. * libfreeipmi/include/freeipmi/spec/ipmi-oem-spec.h, libfreeipmi/include/freeipmi/spec/ipmi-sensor-and-event-code-tables-oem-spec.h: Add updates based on Dell documentation. * libfreeipmi/include/freeipmi/spec/ipmi-product-id-spec.h: Update for new R720. * libfreeipmi/util/ipmi-sensor-and-event-code-tables-util.c (ipmi_get_oem_sensor_type_message): Support Dell R720. * libfreeipmi/sel/ipmi-sel-string-dell.c: Update for new SEL events in Dell R720. Handle a few additional R610/R710 cases that were missed in earlier changes. 2012-09-27 Albert Chu * man/manpage-common-workaround-extra-text.man: Fix typo. 2012-09-21 Albert Chu * libfreeipmi/debug/ipmi-debug.c (ipmi_obj_dump): Always output SDR and SEL record data in byte array format. * libfreeipmi/fiid/fiid.c (fiid_obj_get): Fix value retrieval corner case, most notably coming up in debug output. 2012-09-20 Albert Chu * libfreeipmi/include/freeipmi/cmds/ipmi-rmcpplus-support-and-payload-cmds.h: Create payload instance macros. * libfreeipmi/cmds/ipmi-rmcpplus-support-and-payload-cmds.c (fill_cmd_activate_payload) (fill_cmd_activate_payload_sol, fill_cmd_deactivate_payload) (fill_cmd_suspend_resume_payload_encryption) (fill_cmd_get_payload_instance_info): Add payload instance parameter check. * libipmiconsole/ (ipmiconsole_ctx_set_config) (ipmiconsole_ctx_get_config): New functions. * libipmiconsole/: Support IPMICONSOLE_CTX_CONFIG_OPTION_SOL_PAYLOAD_INSTANCE configuration option. Support IPMICONSOLE_BEHAVIOR_DEACTIVATE_ALL_INSTANCES behavior flag. * libipmiconsole/: Report BMC_BUSY if SOL activation limit reached. * ipmiconsole/: Add --sol-payload-instance and --deactivate-all-instances options. * doc/freeipmi-testing.txt, doc/freeipmi-bugs-issues-and-workarounds.txt: Update with SOL instance discoveries. 2012-09-11 Albert Chu * libipmiconsole/ipmiconsole.h.in: Fix comment English. 2012-09-07 Claudio Cesar Sanchez Tejeda * ipmiseld/ipmiseld-common.c: Fix "format not a string literal and no format arguments" issue. 2012-08-15 Albert Chu * libfreeipmi/sdr/ipmi-sdr-cache-create.c (_sdr_cache_get_record): Add workaround for Xyratex motherboard issue. * libfreeipmi/interpret/: Add sensor/sel interpretations for OS boot, System Event Transition State, Platform Alert State, Boot Error State, and OS Critical Stop State. * Globally support "noauthcodecheck" workaround to deal with issues on Xyratex HB-F8-SRAY. * Globally handle IPMIPOWER_MSG_TYPE_PRIVILEGE_LEVEL_CANNOT_BE_OBTAINED error when returned from activate session to deal with issues on Xyratex HB-F8-SRAY. 2012-08-09 Albert Chu * man/ipmi-oem.8.pre.in: Clarify configuration in IntelNM. 2012-08-08 Albert Chu * doc/freeipmi-faq.texi: Add section on common differences. 2012-08-07 Albert Chu * libfreeipmi/: For consistency to other changes, rename 'fru-parse' sub-library in libfreeipmi to 'fru' library. All appropriately function names, macros, etc. updated appropriately. * ipmi-pet/, ipmi-fru/: Update appropriately. * libfreeipmi/fru/ipmi-fru.c, libfreeipmi/include/freeipmi/fru/ipmi-fru.h (ipmi_fru_read_multirecord_record_type_id): New function. Rename from ipmi_fru_read_multirecord_record_type. 2012-08-06 Albert Chu * Merge intelnm15 branch. * ipmi-oem/: Add IntelNM get-node-manager-capabilities, node-manager-policy-control, get-node-manager-policy, set-node-manager-policy, remove-node-manager-policy, get-node-manager-alert-thresholds, set-node-manager-alert-thresholds, get-node-manager-policy-suspend-periods, set-node-manager-policy-suspend-periods, set-node-manager-power-draw-range, get-node-manager-alert-destination, set-node-manager-alert-destination. * libfreeipmi/: Fix Intel NM bugs. * ipmi-pef-config/: Support volatile alert string 0 and lan alert destination 0. 2012-08-03 Albert Chu * doc/freeipmi-faq.texi: Add Wistron to OEM list. 2012-07-31 Albert Chu * libfreeipmi/include/freeipmi/spec/ipmi-oem-spec.h, ipmi-oem/: Fix macro naming. * ipmi-oem/: Support Wistron read/write/clear-proprietary-string. * ipmi-fru/: Support Wistron OEM FRU record. * libfreeipmi/fru-parse/ipmi-fru-parse.c, libfreeipmi/include/freeipmi/fru-parse/ipmi-fru-parse.h (ipmi_fru_parse_read_multirecord_record_type): New function. * libfreeipmi/include/freeipmi/record-format/ipmi-fru-oem-record-format.h: New file. 2012-07-30 Albert Chu * configure.ac: Prep for beta release. * README, man/freeipmi.7.pre.in: Update with ipmiseld information. * libfreeipmi/include/Makefile.am: Add missing files. 2012-07-27 Albert Chu * ipmi-sensors/: Support --output-sensor-thresholds. 2012-07-26 Albert Chu * man/ipmi-oem.8.pre.in: Add motherboard support information. 2012-07-24 Albert Chu * Fix error output message after confirmation from vendor on text. 2012-07-23 Albert Chu * ipmi-oem/ipmi-oem-intelnm.c: Use _ipmi_oem_intelnm_bad_completion_code in additional situation. 2012-07-19 Albert Chu * ipmi-oem/: Add intelnm get-node-manager-capabilities. * libfreeipmi/: Adjust some intel NM fields/macro names for correctness based on Intel NM spec. Fix several bugs in Intel NM implementation. 2012-07-19 Albert Chu * ipmi-oem/: Fix and support Wistron set-password-policy. 2012-07-18 Albert Chu * ipmi-oem/: Remove Wistron get-password-policy. 2012-07-16 Albert Chu * ipmi-oem/ipmi-oem-intelnm.c (_ipmi_oem_intelnm_bad_completion_code): Handle bad completion code commonly for all Intel NM. * ipmi-oem/: Support Wistron get/set-password-policy. 2012-07-13 Albert Chu * libfreeipmi/include/freeipmi/sdr/ipmi-sdr-oem.h, libfreeipmi/sdr/ipmi-sdr-oem.c: New files. * ipmi-sensors/ipmi-sensors.c, ipmi-sensors/ipmi-sensors-oem-intel-node-manager.c, ipmi-oem/ipmi-oem-intelnm.c, libfreeipmi/sel/ipmi-sel-string-intel-node-manager.c: Use new ipmi_sdr_oem_parse_intel_node_manager. * libfreeipmi/api/: Increase default ipmb timeout. 2012-07-10 Albert Chu Add new tool ipmiseld. * ipmiseld/: New tool. * common/, etc/, man/: Add new manpage entries, init scripts, config files, as needed. * man/manpage-common-troubleshooting-sel.man: Create new common SEL troubleshooting common manpage. * config/ac_ipmiseld_cache_dir.m4, config/ac_ipmiseld_config_file.m4: New files. * man/, freeipmi.spec.in, configure.ac: Update appropriately for new tool. * libfreeipmi/include/freeipmi/api/ipmi-api.h, libfreeipmi/api/ipmi-api.c: Move some internal macros to ipmi-api.h so apps know default values. 2012-07-10 Albert Chu Support OEM extensions for Wistron / Dell Poweredge C6220. * libfreeipmi/include/freeipmi/spec/ipmi-oem-spec.h: Rename several macros for use clarity. * ipmi-oem/: Add Wistron OEM extension commands. * ipmi-oem/ipmi-oem-thirdparty.h, ipmi-oem/ipmi-oem-thirdparty.c (ipmi_oem_thirdparty_get_system_info_block_pstring): New function. * ipmi-oem/ipmi-oem-dell.c (_get_dell_system_info_long_string): Use new common function ipmi_oem_thirdparty_get_system_info_block_pstring. * ipmi-sensors/: Support OEM SDR record output details. 2012-07-10 Albert Chu * Fix up 'make dist' to not distribute files generated by configure. 2012-07-09 Albert Chu * freeipmi.spec.in: Update w/ recent changes. 2012-07-06 Albert Chu * libfreeipmi/util/ipmi-sensor-util.c (ipmi_sensor_units_string): Fix units output corner case. * bmc-info/bmc-info.c (display_system_info_common): Fix not-supported completion code detection. 2012-07-05 Albert Chu * ipmi-oem/: Tweak logic of Ipmi_oem_comp_code_strerror callback. 2012-07-05 Albert Chu * Add support for assume max record sdr record count. 2012-07-03 Albert Chu * libfreeipmi/include/freeipmi/spec/ipmi-oem.h: Add additional Poweredge details. 2012-06-28 Albert Chu * ipmi-oem/ipmi-oem-dell.c (ipmi_oem_dell_get_system_info): Fix error output corner case. 2012-06-26 Albert Chu * man/ipmi-oem.8.pre.in: Fix vendor specific documentation error. 2012-06-25 Albert Chu * ipmi-oem/: Move more macros to ipmi-oem-spec.h. General code cleanup. * libfreeipmi/include/freeipmi/spec/ipmi-channel-spec.h: Add additional macros. * bmc-info/, bmc-config/, ipmi-pef-config/: Use new macros appropriately. 2012-06-21 Albert Chu * common/toolcommon/tool-config-file-common.c: Fix casting bug w/ signed vs unsigned ints. * Make all verbose_count variables in tools unsigned ints. 2012-06-18 Albert Chu * libfreeipmi/include/freeipmi/spec/ipmi-oem-spec.h: New file. * ipmi-oem/: Migrate various information into new ipmi-oem-spec.h file and libfreeipmi/include/spec/ipmi-system-info-parameters-oem-spec.h. * ipmipower/, libfreeipmi/sel/: Use new macros in ipmi-oem-spec.h. * ipmi-oem/ipmi-oem-thirdparty.h, ipmi-oem/ipmi-oem-thirdparty.c: New files. * ipmi-oem/ipmi-oem-inventec.c, ipmi-oem/ipmi-oem-quanta.c: Migrate some commmon functions to ipmi-oem-thirdparty.c and ipmi-oem-thirdparty.h. 2012-06-15 Albert Chu * libfreeipmi/interpret/: Support new interpretations based on sensors found on IBM X3850 X5: Version Change, System Firmware Progress Transition Severity, Button/Switch Transition Severity, Chassis Transition Severity, POST Memory Resize State, Cable/Interconnect Transition Severity, Boot Error Transition Severity, Slot Connector Transition Severity, Memory State, and Memory Transition Severity. * etc/freeipmi_interpret_sel.conf, etc/freeipmi_interpret_sensor.conf, man/: Update appropriately for changes. * etc/, man/: Add missing documentation. 2012-06-07 Albert Chu * libfreeipmi/sdr/ipmi-sdr-cache-create.c (ipmi_sdr_cache_create): Fix slight logic bug with cache_create_flags. 2012-06-06 Albert Chu * common/toolcommon/Makefile.am: Fix build bug. 2012-06-05 Albert Chu * common/miscutil/conffile.c, libfreeipmi/util/ipmi-sensor-and-event-code-tables-util.c, libfreeipmi/util/ipmi-sensor-util.c, libfreeipmi/util/ipmi-device-types-util.c, : Fix -Wformat-security warnings. 2012-06-04 Yaroslav Halchenko * man/ipmi-oem.8.pre.in: Minor tune ups. 2012-06-01 Albert Chu Merge branch intels2600jfrevision * libfreeipmi/include/freeipmi/spec/ipmi-sensor-and-event-code-tables-oem-spec.h, libfreeipmi/spec/ipmi-sensor-and-event-code-tables-oem-spec.c: Update event messages for Intel S2600JF based on documentation changes from Intel. 2012-06-01 Albert Chu * Add support for Supermicro X9DRi-F OEM sensors/events. 2012-05-31 Albert Chu * common/toolcommon/tool-daemon-common.h, common/toolcommon/tool-daemon-common.c (daemon_sleep): New function. * bmc-watchdog/: Use new common functions. * ipmidetectd/ipmidetectd.c: Shutdown cleanly on signals. 2012-05-30 Albert Chu * man/, etc/: Add forgotten config entries. 2012-05-29 Albert Chu * man/ipmi-sel.8.pre.in: Fix typo. * common/toolcommon/tool-config-file-common.c: Fix parsing for target-slave-address. 2012-05-29 Albert Chu * common/parsecommon/parse-common.h, common/parsecommon/parse-common.c (parse_get_freeipmi_outofband_flags, parse_get_freeipmi_outofband_2_0_flags, parse_get_freeipmi_inband_flags): New functions. * bmc-watchdog/, common/toolcommon/: Use new convenience functions appropriately. 2012-05-26 Albert Chu * man/manpage-common-troubleshooting-sel.man: New file. * man/ipmi-sel.8.pre.in: Update for new common file. 2012-05-26 Albert Chu * bmc-config/, ipmi-pef-config/, ipmi-sensors-config/, ipmi-chassis-config/: Fix bug in which cipher suite ID input was not allowed. * man/manpage-common-sdr-options.man: Add extra info for sdr-cache-file option. * common/toolcommon/, man/: Undo split of SDR option "sdr-cache-directory" into separate macro/man option. * common/toolcommon/, man/: Split SDR option "sdr-cache-file" and "sdr-cache-directory" into separate macros/man files. * man/manpage-common-sdr-options-heading.man, man/manpage-common-sdr-options-file-directory.man: New files. Split off from man/manpage-common-sdr-options.man. * man/manpage-common-sdr-cache-options-heading.man, man/manpage-common-sdr-cache-file-directory.man, man/manpage-common-sdr-cache-ignore.man: New renamed files. * man/: Update manpages appropriately for new files. 2012-05-26 Albert Chu * ipmi-pet/ipmi-pet-argp.c: Fix argp output, ipmi-pet does not take hostranged arguments. * common/toolcommon/tool-cmdline-common.h: Code cleanup. 2012-05-25 Albert Chu * common/toolcommon/tool-sensor-common.h, common/toolcommon/tool-sensor-common.c (valid_sensor_types): Remove unused parameters. * ipmi-sensors/, ipmi-sel/: Update for changes. * ipmi-pet/ipmi-pet.c (_ipmi_pet): Destroy interpret_ctx during cleanup. 2012-05-24 Albert Chu * common/toolcommon/tool-sensor-common.h, common/toolcommon/tool-sensor-common.c (parse_sensor_types): New common function. * ipmi-sensors/, ipmi-sel/: Use common function appropriately. * common/toolcommon/tool-event-common.h, common/toolcommon/tool-event-common.c (event_data_info): Remove function. * ipmi-sel/: Update for changes. 2012-05-24 Albert Chu * libipmimonitoring/: Support entity sensor names flags. * contrib/libipmimonitoring/: Update with new flags options. * libfreeipmi/sdr/: Support stack of saving offsets when calls to ipmi_sdr_cache_iterate are made. 2012-05-24 Albert Chu * libipmimonitoring/ipmi_monitoring.h.in: Fix bug in ASSUME_BMC_OWNER bitmask. 2012-05-24 Albert Chu * Deprecate use of --skip-checks in ipmi-fru in favor of "skipchecks" workaround flag. * Deprecate use of --assume-system-event-records in ipmi-sel in favor of "assumesystemevent" workaround flag. 2012-05-23 Albert Chu * libfreeipmi/include/freeipmi/sel/ipmi-sel.h, libfreeipmi/sel/ipmi-sel.c (ipmi_sel_ctx_set_parameter, ipmi_sel_ctx_get_parameter): New functions. * libfreeipmi/include/freeipmi/sel/ipmi-sel.h, libfreeipmi/sel/ipmi-sel.c (ipmi_sel_ctx_set_interpret): Removed function. * ipmi-sel/, ipmi-pet/: Adjust for lib changes. * common/toolcommon/, ipmi-sensors/, libfreeipmi/sel/, libipmimonitoring/: Use ipmi_sdr_parse_sensor_name as needed. 2012-05-22 Albert Chu * libfreeipmi/interpret/: Support Supermicro OEM SEL event interpretations. * libfreeipmi/interpret/ipmi-interpret-config-sel.c, etc/freeipmi_interpret_sel.conf: Fix comment typos. * libfreeipmi/include/freeipmi/sdr/ipmi-sdr.h, libfreeipmi/sdr/ipmi-sdr-parse-util.c (ipmi_sdr_parse_sensor_name): New function. 2012-05-22 Albert Chu * libfreeipmi/include/freeipmi/sel/ipmi-sel.h, libfreeipmi/sel/: Support interpretation of event in sel library. Support %I string output. * common/toolcommon/tool-event-common.h, common/toolcommon/tool-event-common.c (event_load_event_state_config_file): New function. * Globally update tools as necessary for changes. 2012-05-22 Albert Chu * common/toolcommon/tool-sdr-cache-common.h, common/toolcommon/tool-sdr-cache-common.c (sdr_cache_setup_debug): Remove function. Fold into sdr_cache_create_and_load. * Globally update tools as necessary for changes. 2012-05-21 Albert Chu * libfreeipmi/include/freeipmi/sel/ipmi-sel.c, libfreeipmi/sel/: Support IPMI_SEL_STRING_FLAGS_ENTITY_SENSOR_NAMES flag. * Adjust tools and common/toolcommon for new option. 2012-05-21 Albert Chu Merge branch entitysensornamesredo. * libfreeipmi/include/freeipmi/sdr/, libfreeipmi/sdr/: Support new stats functions to compile useful info from the SDR. * common/toolcommon/tool-sensor-common.h, common/toolcommon/tool-sensor-common.c: Update for new SDR stats functions. * Globally update tools as necessary for changes. * libfreeipmi/include/freeipmi/util/ipmi-sensor-units-util.h, libfreeipmi/include/freeipmi/util/ipmi-sensor-units-util.c: Remove files. Collapse code into ipmi-sensor-util.h and ipmi-sensor-util.c. * libfreeipmi/include/freeipmi/sdr/ipmi-sdr.h (ipmi_sdr_parse_entity_sensor_name): New function. * libfreeipmi/sdr/ipmi-sdr-parse-util.c: New file. * libfreeipmi/include/freeipmi/spec/ipmi-entity-ids-spec.h: Support system and device relative entity instance number macros. * libfreeipmi/sel/ipmi-sel.c (ipmi_sel_ctx_create): Use ipmi_sdr_cache_sdr_version instead of ipmi_sdr_cache_first to check for open SDR for reading. * Globally update tools as necessary for new functions. * libfreeipmi/sdr/ipmi-sdr-common.h, libfreeipmi/sdr/ipmi-sdr-common.c (sdr_set_current_offset): New common function. * libfreeipmi/sdr/ipmi-sdr-cache-read.c: Adjust for new common function. * libfreeipmi/sdr/ipmi-sdr-defs.h, libfreeipmi/sdr/ipmi-sdr-common.h, libfreeipmi/sdr/ipmi-sdr-common.c (sdr_save_current_offset, sdr_reset_current_offset): New common functions. * libfreeipmi/sdr/ipmi-sdr-cache-read.c (ipmi_sdr_cache_iterate): Preserve current offset/iterator point when function was called. 2012-05-17 Albert Chu Merge from branch toolcleanup2 * Globally cleanup variables and consistency of variables. Whenever referring to the common_cmd_args use common_args. When referring to command specific structs use cmd_args. 2012-05-17 Albert Chu * common/toolcommon/: Consolidate hostrange and sdr common options into the main common_cmd_args struct. * Globally update tools for changes. * common/toolcommon/tool-common.c (ipmi_open): Fix output corner case. * common/toolcommon/tool-sensor-common.h: Pick more reasonable maxes for the MAX_SENSOR_RECORD_IDS and MAX_SENSOR_TYPES macros. 2012-05-16 Albert Chu * common/toolcommon/tool-common-sensor.h, common/toolcommon/tool-sensor-common.c (list_sensor_types): Redo to not take pstate parameter. * ipmi-sensors/, ipmi-sel/: Code cleanup with use of list_sensor_type. Call before launching threads in tools since it is identical in all outputs. * ipmi-sensors/ipmi-sensors.c (_ipmi_sensors): Fix bug in which multiple workaround flags and workaround flags with bridging could not be specified. 2012-05-16 Albert Chu * ipmi-oem/ipmi-oem.c (main), bmc-device/bmc-device.c (main): Turn on quiet caching if doing communication to multiple hosts. 2012-05-16 Albert Chu * common/toolcommon/tool-sdr-cache-common.h, common/toolcommon/tool-sdr-cache-common.c (sdr_cache_flush_cache): Do not require ipmi_sdr_ctx_t parameter, create it inside function. * Globally in tools, call sdr_cache_flush_cache() before opening ipmi_open. * Globally cleanup usage of exit codes using EXIT_FAILURE and EXIT_SUCCESS appropriately. Globally in tools cleanup general exit code. 2012-05-15 Albert Chu * ipmi-pet/: Fix bugs associated with new library checks for sdr open for reading. 2012-05-15 Albert Chu Merge branch toolcleanup * common/toolsdr/tool-sdr-cache-common.h, common/toolsdr/tool-sdr-cache-common.c: Take struct sdr_cmd_args pointer as argument instead of each desired parameter. * common/toolcommon/tool-common.h, common/toolcommon/tool-common.c (ipmi_open): Take pstdout_state_t parameter and output errors instead of returning error string in buffer. * common/toolhostrange/tool-hostrange-common.h, common/toolhostrange/tool-hostrange-common.c (pstdout_setup): Take struct hostrange_cmd_args pointer as argument instead of each desired parameter. * common/toolhostrange/tool-util-common.h, common/toolhostrange/tool-util-common.c: New files, functions split off from common/toolcommon/tool-common.h and common/toolcommon/tool-common.c. * common/daemonutil/, common/tooloem/, common/toolsdr/, common/toolevent/, common/toolsensor/, common/toolhostrange/: Merge into common/toolcommon/ library. * Update tools appropriately for changes. 2012-05-15 Albert Chu * libfreeipmi/: Rename a large number of internal functions with 'ipmi' prefixes so they are not exported by libfreeipmi. 2012-05-15 Albert Chu Merge movetolib branch * libfreeipmi/include/freeipmi/sel/ipmi-sel.h, libfreeipmi/sel/ipmi-sel-string.c (_output_event_data1_event_data2_event_data3), libfreeipmi/sel/ipmi-sel-string.c (sel_parse_format_record_string): Support new '%E' for sel string outputs. * common/toolevent/tool-event-common.c (event_output_event): Use new '%E' appropriately. 2012-05-15 Albert Chu * libipmimonitoring/ipmimonitoring.map/: Explicitly list functions to avoid errant functions being made global. 2012-05-14 Albert Chu Cleanup sel-parse sub-library * Support IPMI_SEL_PARSE_ERR_SEL_ENTRIES_NOT_LOADED error code. * Properly trace all errors when debug tracing is enabled. * Condense both sets of record parsing functions into one set. * libfreeipmi/sel-parse/ipmi-sel-parse-common.h, libfreeipmi/sel-parse/ipmi-sel-parse-common.c (sel_parse_get_previous_state_or_severity): Change to _get_previous_state_or_severity and put in libfreeipmi/sel-parse/ipmi-sel-parse-string.c. * libfreeipmi/interpret/, common/toolevent/, ipmi-sel/, ipmi-pet/: Update appropriately for changes. * Convert the 'sel-parse' library to 'sel'. * ipmi-sel/ipmi-sel.h: Rename to ipmi-sel_.h to avoid naming conflict. 2012-05-14 Albert Chu * Various code cleanup when calling ipmi_sdr_cache_iterate callbacks. 2012-05-13 Albert Chu * libfreeipmi/include/freeipmi/api/ipmi-api.h, libfreeipmi/api/ipmi-api.c (ipmi_ctx_get_target): New function. * libfreeipmi/sel-parse/ipmi-sel-parse.c (ipmi_sel_parse_ctx_create): Check that sdr is open for reading and ipmi_ctx open. * libfreeipmi/fru-parse/ipmi-fru-parse.c (ipmi_fru_parse_ctx_create): Check that ipmi_ctx is open. * libfreeipmi/sensor_read/ipmi-sensor_read.c (ipmi_sensor_read_ctx_create): Check that ipmi_ctx is open. * ipmi-sel/: Update for API changes. 2012-05-12 Albert Chu Merge sdrrearch branch. * libfreeipmi/include/freeipmi/sdr/ipmi-sdr.h, libfreeipmi/sdr: Turn sdr-cache libfreeipmi sub-library into sdr sub-library. * libfreeipmi/include/freeipmi/sdr-parse/ipmi-sdr-parse.h, libfreeipmi/sdr-parse: Remove sub-library. Fold into sdr sub-library. Support ability to call parsing functions w/o passing in sdr buffer and using internal buffer during iteration. * libfreeipmi/include/sdr/ipmi-sdr.h, libfreeipmi/sdr/ipmi-sdr-cache-read.c (ipmi_sdr_cache_iterate): New function. * common/toolsdr/tool-sdr-cache-common.h, common/toolsdr/tool-sdr-cache-common.c (sdr_cache_setup_debug): New common function for many tools. * Globally adjust tools and libraries for changes. 2012-05-11 Albert Chu * Support --target-channel-number and --target-slave-address options for all inband activities. 2012-05-10 Albert Chu Merge branch frubrudge * ipmi-fru/: If builtin FRU device has SDR entry, output SDR entry name instead of fixed string. * libfreeipmi/include/freeipmi/sdr-parse/ipmi-sdr-parse.h, libfreeipmi/sdr-parse/ipmi-sdr-parse.c (ipmi_sdr_parse_management_controller_device_locator_parameters): Support ability to parse all fields from a managemnet controller deivce locator record. * ipmi-sensors/ipmi-sensors-detailed-output.c (_detailed_output_management_controller_device_locator_record): Output more information about Management Controller Device Records. * ipmi-fru/: Support --bridge-fru option. * libfreeipmi/fru-parse/ipmi-fru-parse.c (_read_fru_data): Handle message timeout errors when bridging. * libfreeipmi/fru-parse/ipmi-fru-parse.c: Check ipmi ctx errnum before checking for bad completion codes. * common/toolcommon/, man/, etc/: Update with new option support appropriately. * libfreeipmi/api/ipmi-kcs-driver-api.c (ipmi_kcs_cmd_api_ipmb): Sleep a little bit between re-reads to limit spinning. 2012-05-10 Albert Chu * libfreeipmi/fru-parse/ipmi-fru-parse.c (_read_fru_data): Handle additional device busy errors. 2012-05-10 Albert Chu * libfreeipmi/api/ipmi-api.c: End bridging when closing ipmi session. Do not support setting bridging targets when session not open. Do not require setting both channel and rs_addr, pick appropriate default when only one is set. Do not turn on bridging if user configures defaults. * libfreeipmi/include/freeipmi/api/ipmi-api.h: Update comments. 2012-05-09 Albert Chu * libfreeipmi/include/freeipmi/api/ipmi-api.h, libfreeipmi/api/ipmi-api.c (ipmi_ctx_set_target): New function. * libfreeipmi/api/: Support ability to run bridged IPMI commands without having to call _ipmb equivalent functions. * libfreeipmi/api/: Various code cleanup. 2012-05-08 Albert Chu * libfreeipmi/include/freeipmi/templates/ipmi-oem-intel-node-manager-cmds-templates.h, libfreeipmi/cmds/ipmi-oem-intel-node-manager-cmds.c: Fix field name typo (Found by Werner Fischer). 2012-05-08 Thomas Renninger * etc/ipmidetectd.init: Fix start run levels. 2012-05-07 Albert Chu * libfreeipmi/sdr-cache/ipmi-sdr-cache-create.c (ipmi_sdr_cache_create): Fix error code return value. 2012-05-07 Albert Chu * common/toolevent/tool-event-common.c (event_output_event): Remove dead code. * sel-parse/ipmi-sel-parse-string.c (_output_event_data2_event_data3): Remove dead code. 2012-05-06 Albert Chu * Add Supermicro H8DGU-F support for ipmi-sel and interpret library. * Update docs for Supermicro H8DGU-F support. 2012-05-06 Diego Elio Pettenò * Add support for Supermicro H8DGU-F to ipmi-sensors. 2012-05-06 Albert Chu * ipmidetect/ipmidetect_.h, common/daemonutil/daemon-util.c: Remove unnecessary includes. (Found by Diego Elio Pettenò) 2012-05-05 Albert Chu * ipmiconsole/ipmiconsole-argp.c (ipmiconsole_argp_parse): Fix password length check bug. (Found by Diego Elio Pettenò) 2012-05-04 Albert Chu * common/toolcommon/, man/: Split SDR option "sdr-cache-directory" into separate macro/man option. * ipmidetectd/: Rename files for consistency to other parts of FreeIPMI. * toolevent/tool-event-common.c: Allow NULL for column_width input as long as output will be comma separated. Allow NULL for entity_id_counts if entity_sensor_names not desired. 2012-05-03 Albert Chu * ipmidetectd/ipmidetectd_config.c (_usage): Fix cut and paste typo. 2012-05-03 Albert Chu * common/daemonutil/daemon-util.h, common/daemonutil/daemonutil.c: New files and convenience library. * bmc-watchdog/, ipmidetectd/: Utilize new common library. Various code cleanup as needed. * ipmidetectd/ipmidetectd_loop.h, ipmidetectd/ipmidetectd_loop.c: Remove files. Collapse code in ipmidetectd.c. * ipmidetectd/ipmidetectd_argp.h, ipmidetectd/ipmidetectd_argp.c: New files. * ipmidetectd/: Various code re-org for consistency to rest of FreeIPMI. * ipmidetect/ipmidetect_.h, ipmidetect/ipmidetect-argp.h, ipmidetect/ipmidetect-argp.c: New files. * ipmidetect/: Various code re-org for consistency to rest of FreeIPMI. 2012-05-02 Albert Chu * man/ipmidetectd.8.pre.in: Document that errors are logged to syslog. * ipmidetectd/: Use miscutil error libraries instead of internal debug functions. * ipmidetectd/ipmidetectd_debug.h, ipmidetectd/ipmidetectd_debug.c: Remove files. 2012-05-02 Albert Chu Merge branch bmcwatchdogrearch. Rearch bmc-watchdog to use all new libraries available to it, make it more consistent to other daemons, and properly reflect features/options. * libfreeipmi/api/: Support new IPMI_ERR_DRIVER_BUSY error code to return when a driver is busy. * common/toolcommon/, bmc-watchdog/: Use miscutil common error handling functions and properly syslog some initialize errors when running as daemon. Utilize libfreeipmi api when appropriate instead of bmc-watchdog specific functions. Remove support for --logfile, all logs go to syslog now. Support --verbose-logging. Various code cleanup for consistency to rest of FreeIPMI and other changes. * etc/bmc-watchdog.logrotate, config/ac_bmc_watchdog_logfile.m4: Remove files. * freeipmi.spec.in, configure.ac, etc/Makefile.am, etc/freeipmi.conf, man/bmc-watchdog.8.pre.in, man/freeipmi.conf.5.pre.in: Update appropriately for changes. 2012-05-02 Albert Chu * man/freeipmi.conf.5.pre.in: Add ipmi-pet to list of supported tools. * man/bmc-watchdog.8.pre.in: Remove legacy information. * bmc-watchdog/bmc-watchdog.c (_set_cmd): Fix --start-if-stopped and --reset-if-running logic. 2012-04-30 Albert Chu * bmc-watchdog/bmc-watchdog.c (_bmclog_write): Call fsync to sync log errors to disk. * ipmiconsole/: Remove use of "error.h" convenience function. Convenience functions were virtually unused. 2012-04-21 Albert Chu * bmc-watchdog/bmc-watchdog.c: Handle SIGQUIT in addition to SIGTERM and SIGINT. Properly set umask before writing pidfile. Properly unlink/delete pidfile when necessary. Code cleanup. * ipmidetectd/ipmidetectd.c: Create pidfile on daemon startup. Support debugging in production build. Fix segfault corner case. Handle signals SIGINT, SIGTERM, and SIGQUIT. Code cleanup. 2012-04-19 Albert Chu Merge branch seld Create new ipmiseld daemon. * ipmiseld/: New files. * man/ipmiseld.8.pre.in, man/ipmiseld.conf.5.pre.in: New files. * etc/ipmiseld.conf, etc/ipmiseld.init: New files. * config/ac_ipmiseld_config_file.m4: New file. * configure.ac, Makefile.am, etc/Makefile.am, man/Makefile.am, freeipmi.spec.in: Update appropriately for new files and directories. * common/daemonutil: New common files for daemon common functions. * ipmidetectd/: Use new daemonutil functions when appropriate. 2012-04-19 Albert Chu Merge branch intels2600jf * ipmi-oem/: Add Intel --get-power-restore-delay, --set-power-restore-delay, --get-bmc-service-status, --set-bmc-service-status. * libfreeipmi/include/freeipmi/spec/, libfreeipmi/sel-parse/: Re-arch SEL OEM interpretations of Quanta QSSC-S4R/Appro GB812X-CN to prepare for Intel S2600JF/Appro 512X. Add QPI Interconnect specific event offset messages. * libfreeipmi/sel-parse/: Support Intel S2600JF/Appro 512X OEM SEL events. * libfreeipmi/include/: Add additions for Intel S2600JF/Appro 512x * man/: Update documentation for Intel S2600JF/Appro 512x support. 2012-04-16 Albert Chu Merge reservedmacros branch. Fix bug #36177: reserved identifier violation. See https://www.securecoding.cert.org/confluence/display/seccode/DCL37-C.+Do+not+declare+or+define+a+reserved+identifier * Rename many header guards for compliance. * Fix inconsistencies with header guards #defines and #endif comments. * Rename many macros for safety. * Fix file scope object naming issues. * Make some variables static that should be file local. 2012-03-20 Albert Chu Merge intels5000pal branch. * libfreeipmi/interpret/: Support sensor Session Audit intepretation. Convert default state of IPMI_Session_Audit_Invalid_Username_Or_Password from Critical to Warning. Support Voltage Limit sensors. Support SMI timeout on Intel S5000PAL motherboard. * man/, etc/: Upate appropriately. 2012-03-12 Albert Chu * ipmi-oem/ipmi-oem-supermicro.c (ipmi_oem_supermicro_get_bmc_services_status, ipmi_oem_supermicro_set_bmc_services_status): Fix error message output. 2012-03-06 Albert Chu * libfreeipmi/api/, libfreeipmi/cmds/: Support set sensor reading and event status command functions. * bmc-device/: Support --set-sensor-reading-and-event-status. 2012-03-06 Thomas Renninger * contrib/Makefile.am, Makefile.am, doc/Makefile.am: Fix docdir usage for newer autotools. 2012-03-06 Albert Chu * Support set sensor reading and event status command. 2012-03-05 Albert Chu * libfreeipmi/include/freeipmi/spec/ipmi-comp-code-spec.h: Add macros for completion code ranges. * libfreeipmi/util/ipmi-error-util.c (ipmi_completion_code_strerror_r): Use new macros. 2012-03-01 Albert Chu * ipmipower/ipmipower_connection.c (_connection_setup): Support ability to specify alternate port in hostname argument. 2012-03-01 Albert Chu Merge altport branch. * libfreeipmi/api/ipmi-api.c (_setup_hostname), libipmiconsole/ipmiconsole_defs.h, libipmiconsole/ipmiconsole.c (ipmiconsole_ctx_create), libipmiconsole/ipmiconsole_ctx.h (ipmiconsole_ctx_config_setup), libipmiconsole/ipmiconsole_ctx.c (ipmiconsole_ctx_config_setup), ipmidetectd/ipmidetectd_loop.c (_nodes_setup): Support ability to specify alternate port in hostname argument or host config. * libipmimonitoring/ipmi_monitoring_ipmi_communication.c (_ipmi_1_5_init, _ipmi_2_0_init, _outofband_init): Let various error checking fall through to lower level APIs. * man/manpage-common-outofband-hostname.man, man/manpage-common-outofband-hostname-hostranged.man, man/ipmidetectd.conf.5.pre.in: Update manpages appropriately. 2012-03-01 Albert Chu * libipmimonitoring/ipmi_monitoring_ipmi_communication.c (_ipmi_1_5_init, _ipmi_2_0_init): Properly return connection timeout error on connection timeout. * man/ipmidetectd.conf.5.pre.in: Fix some English. 2012-03-01 Albert Chu * libipmimonitoring/, libipmiconsole/: Support Cipher Suite 15, 16, and 17. 2012-02-26 Yaroslav Halchenko * man/ipmi-chassis.8.pre.in: Fix typos. 2012-02-24 Albert Chu Merge selreservation branch * libfreeipmi/: Support new functions ipmi_sel_parse_ctx_register_reservation_id() and ipmi_sel_parse_ctx_clear_reservation_id() in the sel-parse library as well as a new error return of IPMI_SEL_PARSE_ERR_RESERVATION_CANCELED. * ipmi-sel/: Support --post-clear option. 2012-02-24 Albert Chu * common/miscutil/error.h, common/miscutil/error.c (err_init_exit_value): New function. * ipmidetect/ipmidetect.c (main): Exit with value 2 on errors. * ipmipower/: Properly exit with 1 when an error occurs on IPMI errors instead of just system errors. * man/: Add exit value diagnostics information to most manpages. * ipmipower/: Code cleanup for consistency to libipmiconsole code. 2012-02-23 Albert Chu Merge sha256 branch. * Support Cipher Suite 15 and 16 globally. * Add details of Cipher Suite 18 and 19 globally. * bmc-config/bmc-config-rmcpplus-conf-privilege-section.c (bmc_config_rmcpplus_conf_privilege_section_get): Add configuration for Maximum_Privilege_Cipher_Suite_Id_15. 2012-02-22 Albert Chu * bmc-config/bmc-config-rmcpplus-conf-privilege-section.c (id_checkout): Fix cipher suite privilege configuration corner cases workaround on HP DL145. * man/manpage-common-workaround-outofband-20-text.man: Document Intel S2600JF/Appro 512X workaround. * bmc-config/bmc-config-rmcpplus-conf-privilege-section.c (_rmcpplus_cipher_suite_id_privilege_setup): Workaround cipher suite privilege configuration bug in Intel S2600JF/Appro 512X. 2012-02-22 Albert Chu * common/toolcommon/tool-cmdline-common.c (common_parse_opt), common/toolcommon/tool-config-file-common.c (_config_file_cipher_suite_id): Differentiate between invalid and unsupported cipher suites in error message output. 2012-02-21 Albert Chu * doc/freeipmi-bugs-issues-and-workarounds.txt, man/ipmi-sensors.8.pre.in: Update information concerning 'discretereading' workaround. * ipmi-sensors/: Code cleanup, rename 'reading' to 'sensor_reading' for consistency. * libfreeipmi/cmds/ipmi-lan-cmds.c: Fix packet layout for tmpl_cmd_get_lan_configuration_parameters_rmcpplus_messaging_cipher_suite_entry_support_rs. * doc/freeipmi-faq.texi: Add Powerman configuration notes for C410x. Fix various parts. 2012-02-17 Albert Chu * ipmipower/: Various code cleanup. Change "DIAG_INTR" to "DIAGNOSTIC_INTERRUPT" in code for readability. Make code consistent to other codein FreeIPMI. Add asserts as needed. * Globally: Various code cleanup. Use switch statements where it would be more appropriate for performance improvements. 2012-02-17 Albert Chu Merge dellc410x * ipmipower/: Add --oem-power-type option and support C410x OEM power type. Support ability to input power control to same host multiple times under OEM conditions. Serialize power control operations to same host. * ipmipower/ipmipower_oem.h, ipmipower/ipmipower_oem.c: New files. * ipmipower/: Various code cleanup given re-architecture. * common/miscutil/hostlist.c: Remove fprintf debug error messages from tool. * ipmi-oem/ipmi-oem-dell.c: Fix C410X corner case. 2012-02-10 Albert Chu * libfreeipmi/api/ipmi-api.c (ipmi_ctx_open_inband): Add comment about openipmi driver. 2012-02-08 Albert Chu * doc/freeipmi-coding.txt, README.build: Add configure notes. 2012-02-07 Albert Chu * libfreeipmi/sel-parse/: Support Supermicro SEL CPU Temp events. 2012-02-06 Albert Chu * man/ipmi-sel.8.pre.in: Fix option typo. 2012-01-31 Albert Chu * man/ipmi-oem.8.pre.in: Update supported motherboard information based on tests from Ryan Cox. 2012-01-30 Albert Chu * man/ipmi-oem.8.pre.in: Update supported motherboard information based on tests from Ryan Cox. 2012-01-27 Albert Chu * man/ipmi-oem.8.pre.in: Update information based on tests from Ryan Cox. 2012-01-18 Albert Chu * man/ipmi-sel.8.pre.in: Clarify usefulness of event direction. 2012-01-17 Albert Chu * ipmipower/ipmipower.h: Redo packet validation macros. * libfreeipmi/include/freeipmi/cmds/ipmi-chassis-cmds.h: Define macros for on vs off power. * ipmipower/ipmipower_powercmd.c (_process_ipmi_packets): Use new macros. 2012-01-16 Albert Chu * man/manpage-common-inband.man: Clarify argument input. 2012-01-15 Albert Chu * doc/freeipmi-faq.texi: Add some OpenIPMI linux kerneld driver notes. 2012-01-15 Albert Chu Merge branch dellsolinstancecapacity * libipmiconsole/ipmiconsole_processing.c (_check_sol_activated): Workaround bug in Dell Poweredge M605, Dell Poweredge M610, and Dell Poweredge M915 where instance count of SOL is returned as 0. 2012-01-13 Albert Chu * Audit and add asserts appropriately to large number of functions. * common/configtool/: All config tools support hostranges, so replace PSTDOUT_PRINTF with pstdout_printf, PSTDOUT_FPRINTF with pstdout_fprintf, and PSTDOUT_PERROR with pstdout_perror. 2012-01-13 Albert Chu * doc/solstatediagram.dot: SOL State Diagram documentation. 2012-01-13 Albert Chu * libipmiconsole/ipmiconsole_processing.c (_process_protocol_state_deactivate_payload_sent): Fix deactivate only corner case in which session not closed cleanly. 2012-01-12 Albert Chu Merge branch redotemplatedocs * libfreeipmi/include/freeipmi/templates/: Redo format. Update OEM motherboard lists. * libfreeipmi/include/record-format/ipmi-oem-intel-node-manager-cmds.h: Update motherboard list. * libfreeipmi/: Clean up some comments in various files. 2012-01-12 Albert Chu * libfreeipmi/sensor-read/ipmi-sensor-read.c (_sensor_reading_corner_case_checks): Handle corner case in Sun Blade 6000M2. 2012-01-11 Albert Chu Merge sunbladex6250sensor branch * libfreeipmi/sensor-read/ipmi-sensor-read.c (_sensor_reading_corner_case_checks): Handle corner case in Sun Blade x6250. * libfreeipmi/sensor-read/ipmi-sensor-read.c (_sensor_reading_corner_case_checks): Slightly alter error code return interpretations. 2012-01-10 Albert Chu * common/toolcommon/tool-config-file-common.c: Fix several config file option parsing bugs. 2012-01-10 Albert Chu * doc/freeipmi-faq.texi: Add conman configuration FAQ example. Add terminology, ganglia, nagios info. 2012-01-09 Albert Chu * doc/freeipmi-faq.texi: Add powerman configuration FAQ example. 2012-01-09 Albert Chu * Merge 8250:8352 ipmioemdellgetsysteminfo. * ipmi-oem/ipmi-oem-dell.c: Add Dell get-system-info 'slot-number', 'system-revision', 'embedded-video-status', 'idrac-info', 'idrac-ipv4-url', 'idrac-gui-webserver-control', 'cmc-ipv4-url', 'cmc-ipv6-info', 'cmc-ipv6-url' k eys. Support 12G mac addresses. Support better error messages. 2012-01-09 Albert Chu * libfreeipmi/: Add re-arm sensor events functions. * bmc-device/: Support --rearm-sensor. * README, man/freeipmi.7.pre.in: Update description of bmc-device. 2012-01-09 Albert Chu * man/ipmi-oem.8.pre.in: Add SDR caching information to specific OEM commands. 2012-01-08 Albert Chu * Update/fix various documentation and comments. 2012-01-08 Albert Chu * libfreeipmi/cmds/ipmi-sensor-cmds.c, libfreeipmi/include/freeipmi/templates/ipmi-sensor-cmds-templates.h: Re-arm Sensor Events fields are optional not required. 2012-01-08 Albert Chu * libipmiconsole/: Don't deactivate the SOL payload when it appears the SOL session has been stolen. 2012-01-07 Albert Chu Merge serialkeepalive branch * libipmiconsole/: Add SERIAL_KEEPALIVE_EMPTY flag support. * libipmiconsole/ipmiconsole_processing.c (_serial_keepalive_timeout): Fix keepalive calculation to avoid spinning. * ipmiconsole/: Add --serial-keepalive-empty support. * configure.ac: Update versioning for libipmiconsole. 2012-01-07 Albert Chu * Update/fix various documentation and comments. 2012-01-06 Albert Chu * bmc-watchdog/: Fix usage output typo. 2012-01-06 Jan Safranek * ipmidetectd/, bmc-watchdog/: Fix race in daemon setup code to function with new systemd. 2012-01-06 Albert Chu * Update/fix various documentation and comments. 2012-01-05 Albert Chu Merge 8269:8289 from c410x branch. * ipmi-oem/: Support Dell C410x OEM extension slot-power-toggle, slot-power-control, get-port-map, and set-port-map. 2011-12-22 Albert Chu * libfreeipmi/include/freeipmi/spec/ipmi-system-info-parameters-oem-spec.h: Fix macro names. 2011-12-22 Albert Chu Merge branch qsscs4r. * libfreeipmi/sel-parse/, libfreeipmi/interpret/: Support Quanta QSSC-S4R/Appro GB812X-CN OEM SEL Events. * libfreeipmi/interpret/, ipmi-sensors/: Re-organize code for future growth. Most notably, split up OEM extensions into individual vendor files/functions. * ipmi-sensors/: Support Quanta QSSC-S4R OEM SDR records. * libfreeipmi/interpret/: Support Fan assert/deassert sensor/sel interpretations. Support Quanta QSSC-S4R OEM sensors and SEL events. 2011-12-21 Albert Chu * Update/fix/remove OEM extension download links 2011-12-20 Albert Chu * libfreeipmi/util/ipmi-sensor-and-event-code-tables-util.c (ipmi_get_oem_specific_message): Fix bug loading incorrect tables. * libfreeipmi/sel-parse/ipmi-sel-parse-string-intel.c (ipmi_sel_parse_output_intel_event_data2_event_data), libfreeipmi/include/freeipmi/spec/ipmi-slave-address-oem-spec.h: Remove IPMI_GENERATOR_ID_OEM_INTEL_BIOS_POST macro, which was only supposed to be an example in Intel documentation. 2011-12-20 Albert Chu * Branch Release-1_1_0_branch for FreeIPMI 1.1.0 stable branch 2011-12-20 Albert Chu * Update documentation for Quanta QSSC-S4R/Appro GB812X-CN 2011-12-19 Albert Chu * libfreeipmi/fru-parse/: Support IPMI_FRU_PARSE_ERR_DEVICE_BUSY error code. * ipmi-fru/: Do not consider a busy device a fatal error. * Document Appro GB812X-CN IPMI compliance issues. 2011-12-19 Albert Chu * libfreeipmi/: Support IPMI_FLAGS_IGNORE_AUTHENTICATION_CODE workaround flag. * ipmi-sensors/: Support 'ignoreauthcode' workaround flag. 2011-12-16 Kaiwang Chen * contrib/pet/petalert.pl, contrib/pet/README: Support and document NSCA. 2011-12-15 Albert Chu * libfreeipmi/cmds/libfreeipmi/cmds/ipmi-pef-and-alerting-cmds.c (fill_cmd_set_pef_configuration_parameters_pef_control): Fix config setting bug for Enable_PEF_Event_Messages. 2011-12-15 Kaiwang Chen * contrib/pet/README: Updated information about Poweredge 1950. 2011-12-14 Albert Chu * contrib/pet/README: Fix some text and formatting. * libfreeipmi/src/util/pimi-sensor-and-event-code-tables-util.c (_supermicro_oem_temp_level_sensor_supported): Common function for common code. 2011-12-14 Kaiwang Chen * contrib/pet/: Support 'perf' token option. 2011-12-13 Albert Chu Build system rework. * contrib/, libfreeipmi/: Remove most subdir Makefiles. * Various Makefile.am cleanup. * freeipmi.spec.in: Move libipmimonitoring contrib into devel package. 2011-12-13 Kaiwang Chen * contrib/pet/check_rmcpping, contrib/pet/ipminodes.cfg: New files. * contrib/pet/: Significant doc updates. 2011-12-13 Albert Chu * Minor documentation updates. * Minor packaging fixes to fix distcheck. 2011-12-12 Albert Chu Giant re-org of code. * Store all manpages stored in man/. * Store all /etc appropriate files in etc/. * Move common/src libs to common/. * Remove many src directories, move sources up a directory. * Various Makefile cleanups. 2011-12-12 Albert Chu * examples/: Remove directory. Move files into contrib/libipmimonitoring. * Install contribs into doc/contrib/ * freeipmi.spec.in: Fixup for recent changes. 2011-12-12 Kaiwang Chen * libfreeipmi/src/api/ipmi-api-util.c (_api_ipmi_cmd_post): Fix corner case bug. * contrib/pet/petalert.pl: Support workaround option. 2011-12-09 Albert Chu * libfreeipmi/src/api/: Fix completion code check corner case with IPMI_FLAGS_NO_LEGAL_CHECK. * libfreeipmi/: Minor code cleanup. 2011-12-09 Kaiwang Chen * libfreeipmi/src/api/: Fix bug with IPMI_FLAGS_NO_LEGAL_CHECK use. 2011-12-08 Albert Chu * Support IPMI_FLAGS_NO_LEGAL_CHECK flag in libfreeipmi. 2011-12-07 Kaiwang Chen * contrib/pet/petalert.pl: Support PET acknowledge option. 2011-12-07 Albert Chu * ipmi-pet/: Support "malformedack" workaround option. 2011-12-07 Albert Chu * common/man/: Various additions, tweaks, and modifications. 2011-12-06 Albert Chu * libfreeipmi/src/api: Re-arch LAN code to timeout on malformed packets rather than do an immediate retry. 2011-12-05 Kaiwang Chen * ipmi-pet/src/ipmi-pet.c (_ipmi_pet_parse_trap_data): Pass raw localtimestamp, not locally adjusted timestamp. 2011-12-05 Albert Chu * common/man/: Various code re-org and cleanup. * Fix up manpages for easier future maintenance. * Remove warnings when "compiling" manpages. * Fix compile warnings. * ipmi-pet/: Adjust ipmi-pet to look more like remaining FreeIPMI manpages. * Various manpage doc updates. 2011-12-05 Albert Chu * ipmi-pet/src/: Fix warning. 2011-12-02 Albert Chu * Update IANA Enterprise validity macro. 2011-12-01 Albert Chu * Various documentation updates. * Update copyright years for release in 2012. 2011-11-30 Albert Chu * Various documentation updates. 2011-11-28 Albert Chu * bmc-watchdog/src/bmc-watchdog.c (_daemon_cmd_error_exit) (_daemon_cmd_error_noexit): Do not assume semaphore deleted on EINVAL. 2011-11-18 Albert Chu * libfreeipmi/src/api/: Common function code cleanup. * libfreeipmi/src/spec/: Update iana numbers list. 2011-11-18 Albert Chu * libfreeipmi/src/api/: Remove duplicate parameter checks. Write common functions for variety of code. 2011-11-18 Albert Chu * libfreeipmi/: Add support for IPMI firmware firewall and command discovery payloads. Perform some code cleanup. 2011-11-16 Albert Chu * Continued code cleanup. Remove unnecessary null checks. Remove excessive/unnecessary initializations. Fix minor bugs. Fix code inconsistency styles. Remove unused functions. * Update additional documentation about new ipmi-pet tool. 2011-11-15 Albert Chu * Code cleanup and minor fixes. Remmove unnecessary if checks for free() globally. Remove excessive initializations. Fix minor bugs. 2011-11-15 Albert Chu * Support IPMI_FLAGS_NOSESSION in libfreeipmi. * libfreeipmi/include/freeipmi/record-format/ipmi-platform-event-trap-record-format.h: Support macros for sequence number. * Support --pet-acknowledge in ipmi-pet. 2011-11-15 Albert Chu * ipmi-pet/ipmi-pet.8.pre.in: Add examples. 2011-11-15 Kaiwang Chen * contrib/pet/petalert.pl: Support various new features. 2011-11-14 Albert Chu * libfreeipmi/include/freeipmi/api/ipmi-api.h: Update documentation. * libfreeipmi/src/api/ipmi-lan-session-common.c: Code cleanup. 2011-11-14 Kaiwang Chen * Add contrib/pet/petalert.pl script from Kaiwang Chen (kaiwang.chen AT gmail DOT com). 2011-11-14 Albert Chu * Support Supermicro X9SCM-F IANA change. 2011-11-08 Albert Chu * Support Supermicro X9SCA-F-O OEM sensors. 2011-11-08 Albert Chu Merge branch ipmipet. * ipmi-pet/: New tool. * libfreeipmi/include/freeipmi/record-format/ipmi-platform-event-trap-record-format.h: New file. * common/src/toolcommon/: Update tool common function appropriately for new tool. * common/src/toolsensor/tool-sensor-common.h, common/src/toolsensor/tool-sensor-common.c (calculate_column_widths_ignored_sdr_cache, get_entity_id_string): New functions. * common/src/toolsdr/tool-sdr-cache-common.h, common/src/toolsdr/tool-sdr-cache-common.c (ipmi_sdr_cache_search_sensor_wrapper): Write new common function. * common/src/toolevent/: New common library. * ipmi-sel/: Update to use new convenience functions. 2011-11-01 Albert Chu * ipmi-raw/src/ipmi-raw.c: Code cleanup. Output line numbers when there is an error on file/stdin input. 2011-10-31 Albert Chu * ipmi-sel/src/ipmi-sel.c (_normal_output_date_and_time) (_normal_output_not_available_date_and_time): Split into date and time specific functions. Adjust other code appropriately. 2011-10-28 Albert Chu * libfreeipmi/include/freeipmi/spec/ipmi-entity-ids-spec.h, libfreeipmi/src/spec/ipmi-entity-ids-spec.c: Add new defines for non-standard entity ids to model sensor types code. * libfreeipmi/include/freeipmi/util/ipmi-entity-ids-util.h, libfreeipmi/src/util/ipmi-entity-ids-util.c: New file. * common/src/toolsensor/tool-sensor-common.c (get_entity_sensor_name_string): Use new library function. * ipmi-sel/src/ipmi-sel.c (_normal_output_sensor_name_and_type): Code cleanup, split function into _normal_output_sensor_name and _normal_output_sensor_type. Update code accordingly. * libfreeipmi/src/fru-parse/, libfreeipmi/include/freeipmi/fru-parse/ipmi-fru-parse.h: Allow creation of FRU ctx with NULL ipmi_ctx. 2011-10-27 Albert Chu * Support new --sdr-cache-file option globally. 2011-10-27 Albert Chu * common/src/toolsdr/: Code cleanup, make internal functions static. 2011-10-24 Albert Chu * libfreeipmi/src/fru-parse/ipmi-fru-parse-data.c: Add forgotten headers. * ipmi-sel/: Code cleanup, do not pass unnecessary parameters to functions. 2011-10-24 Albert Chu * Update documentation with OEM support information. 2011-10-21 Albert Chu * ipmi-raw/src/: Use unsigned int for cmd_length. * common/src/miscutil/conffile.c: Update to latest version. 2011-10-21 Albert Chu * bmc-info/: Output GUID w/ lower case hex characters, as defined in Wired for Management spec. 2011-10-20 Albert Chu * ipmi-sel/, ipmi-sensors/: Remove unnecessary includes, add appropriate ones. * bmc-info/: Various code cleanup, use macros when appropriate. 2011-10-19 Albert Chu * ipmi-raw/src/ipmi-raw.c: Check for valid netfn request input. * libfreeipmi/src/api/: Check for valid netfn request input on raw functions. 2011-10-19 Albert Chu * Global cleanup, consistently and correctly check for errors when calling strtol, strtoul, strtod, etc. 2011-10-19 Albert Chu * ipmi-raw/src/ipmi-raw-argp.c: Fix error message. Check raw byte inputs for correctness. 2011-10-19 Albert Chu * Document Intel S2600JF/Appro 512X IPMI bugs. 2011-10-18 Albert Chu * ipmi-raw/, ipmi-oem/: Fix allocation bug due to much larger _SC_ARG_MAX on RHEL6. Assume max args appropriately for each tool. * ipmi-raw/, ipmi-oem/: Output error when excess arguments specified. 2011-10-17 Albert Chu * ipmi-sel/, libfreeipmi/src/sel-parse/: Fix the assumesystemevent workaround. 2011-10-17 Albert Chu * Support Intel Node Manager sensor/SEL events for Intel S2600JF/Appro 512X. 2011-10-17 Albert Chu * libfreeipmi/src/util/ipmi-sensor-and-event-code-tables-util.c (get_management_subsystem_health_event_data2_message): Fix corner case output bug. 2011-10-17 Albert Chu * libfreeipmi/src/sdr-cache/ipmi-sdr-cache-read.c (ipmi_sdr_cache_search_sensor), libfreeipmi/src/sdr-cache/ipmi-sdr-cache-defs.h: Fix corner case where invalid SDR record could be loaded if shared sensors are utilized on event only records. 2011-10-14 Albert Chu * etc/freeipmi.conf: Fix example/doc consistency. 2011-10-13 Albert Chu * ipmi-locate/src/ipmi-locate.h: Fix typo. * ipmi-locate/src/ipmi-locate-argp.c: Fix copyright year typo. * ipmi-locate/src/ipmi-locate_.h: Renamed from ipmi-locate.h. Done for code consistency to how ipmiconsole handles its ipmiconsole_.h. 2011-10-13 Albert Chu * Update copyright globally. 2011-10-06 Albert Chu * Document HP Itegrity rx3600 workaround. 2011-09-23 Albert Chu * libipmiconsole/src/Makefile.am: Fix logdir creation bug, should not hardcode /var for localstatedir. * libipmimonitoring/src/Makefile.am: Properly hide local library symbols. 2011-09-26 Diego Elio Pettenò * configure.ac, ipmi-sensors/src/Makefile.am: ipmimonitoring is generated referring to /usr/local even if configured with --prefix=/usr . This was caused by the broken expansion of the sbin path in configure.ac. To resolve the issue, this change no longer consider ipmimonitoring to be expanded by configure itself, but is rather processed at build time with sed so that make takes care of the expansion. The file is also not distributed (since it needs to be regenerated depending on configure options), but its sources are. 2011-09-23 Albert Chu * ipmipower/ipmipower.conf.5, ipmiconsole/ipmiconsole.conf.5: Remove headers. * libipmimonitoring/ipmi_monitoring_sensors.conf.5, libipmimonitoring/ipmimonitoring.conf.5, libipmimonitoring/ipmimonitoring_sensors.conf.5, libipmimonitoring/libipmimonitoring.conf.5: New files. * libipmimonitoring/ipmi_monitoring_sensors.conf.5.pre.in, libipmimonitoring/ipmimonitoring.conf.5.pre.in, libipmimonitoring/ipmimonitoring_sensors.conf.5.pre.in, libipmimonitoring/libipmimonitoring.conf.5.pre.in: Remove files. * configure.ac, libipmimonitoring/Makefile.am: Adjust. 2011-09-22 Dave Love * bmc-device/bmc-device.8.pre.in: Fix typos. 2011-09-21 Albert Chu * Remove Magnum X7SBI-LN4 sensor interpretation, not needed. * Support Supermicro X8SIE OEM sensors. 2011-09-20 Albert Chu * Fix use of new interpret library interpretation rules. * libfreeipmi/src/interpret/: Support chip set transition severity, current severity, memory redundancy, and system event state interpretations. * libfreeipmi/src/interpret/ipmi-interpret-config-sel.c (_cb_sel_parse): Fix parse corner case. 2011-09-20 Albert Chu * Support Supermicro X7DB8, X8DTN, X7SBI-LN4, X8DTL OEM sensors. 2011-09-19 Albert Chu * ipmi-dcmi/: Handle additional error codes for optional portions. 2011-09-19 Albert Chu * Support Supermicro X8DTN+-F OEM sensors. 2011-09-16 Albert Chu * ipmipower/ipmipower.conf.5.pre.in, ipmiconsole/ipmiconsole.conf.5.pre.in: Remove files. * ipmipower/ipmipower.conf.5, ipmiconsole/ipmiconsole.conf.5: New files. * configure.ac, ipmipower/Makefile.am, ipmiconsole/Makefile.am: Adjust. 2011-09-15 Albert Chu * ipmi-sensors/, libfreeipmi/src/sensor-read/, libfreeipmi/include/freeipmi/sensor-read/, common/src/parsecommon/: Support new "assumebmcowner" workaround. 2011-09-15 Albert Chu * ipmi-sensors/ipmi-sensors.8.pre.in: Fix some text. Remove experimental tag from --bridge-sensors option. * libfreeipmi/src/sensor-read/ipmi-sensor-read.c: Add comments on workaround needs. 2011-09-15 Albert Chu * libipmimonitoring/: Support IGNORE_SCANNING_DISABLED workaround. 2011-09-15 Albert Chu * ipmi-sensors/ipmi-sensors.8.pre.in: Update motherboards workaround may work on. 2011-09-14 Albert Chu * libfreeipmi/src/debug/ipmi-debug.c (ipmi_dump_hex): Output correct byte length of hex array. * libfreeipmi/src/api/ipmi-api.c (ipmi_cmd_raw): Fix debug dump output corner case. * libfreeipmi/src/api/ipmi-api.c (ipmi_cmd_raw_ipmb): Add debug dump support for special case drivers. 2011-09-13 Albert Chu * ipmipower/: Do not poll stdin when operating in non-interactive mode. 2011-09-13 Albert Chu * libfreeipmi/src/interpret/: Support cooling device redundancy interpretation. * man/: Update manpages for new interpret configuration options. 2011-09-12 Albert Chu * libfreeipmi/src/interpret/: Support transition severity sensor/sel interpretations for temperature, voltage, fan, and power supply sensor types. 2011-09-07 Diego Elio Pettenò * bmc-watchdog/src/bmc-watchdog.c: By writing a pidfile, init scripts can rely on that to kill or signal the running daemon instance. This is important because relying on the process name can be troublesome when using Linux Containers, for instance. 2011-09-06 Diego Elio Pettenò * libfreeipmi/src/Makefile.am: The -module option is used to tell libtool that the library is not to be used to link against, but only loaded at runtime, which is not the case for this library. 2011-08-29 Albert Chu * Support Supermicro X9SCL and X9SCM OEM sensors. 2011-08-29 Albert Chu * Merge from branch dcmiupdate. Make additions in DCMI v1.5 specification. 2011-08-25 Albert Chu * libfreeipmi/: Support IPMI_SENSOR_READ_FLAGS_IGNORE_SCANNING_DISABLED sensor-read workaround flag. * ipmi-sensors/: Support 'ignorescanningdisabled' workaround option. 2011-08-09 Albert Chu * bmc-watchdog/bmc-watchdog.logrotate: Reduce logrotate output spam. 2011-07-20 Arnaud Quette * ipmi-fru/src/ipmi-fru-output.c: Fix typo. 2011-07-11 Albert Chu * Support Supermicro X8SIL-F OEM Sensors. 2011-06-30 Albert Chu * ipmi-fru/src/ipmi-fru-output.c (_output_field): Remove cut and paste duplicate code. 2011-06-29 Arnaud Quette * configure.ac, Makefile.am: fix m4 macro reference for libtoolize. This allows to call the system provided 'autoreconf' instead of autogen.sh 2011-06-29 Arnaud Quette * configure.ac: fix indentation inconsistencies, remove extraneous spaces and escape single quotes that break some color highlighting systems. 2011-06-30 Arnaud Quette * configure.ac: add AM_PROG_CC_C_O, needed for per-target flags (ipmipower/src/Makefile.am and ipmipower/src/argv.c) 2011-06-29 Albert Chu * freeipmi.spec.in: Add pkg-config files. 2011-06-28 Arnaud Quette * Add pkg-config support for all FreeIPMI libraries. 2011-05-31 Albert Chu * Fix typo globally, IPMI_CMD_DCMI_GET_DCMI_CAPABILITIY_INFO to IPMI_CMD_DCMI_GET_DCMI_CAPABILITY_INFO. 2011-05-24 Holger Liebig * ipmi-dcmi/src/ipmi-dcmi.c: Fix asset tag/string identifier overwriting bug. Update to handle setting asset tag and management identifier string according to DCMI v1.5 spec. 2011-05-18 Albert Chu * bmc-config/bmc-config.8.pre.in: Add additional troubleshooting information. 2011-05-12 Holger Liebig * ipmi-dcmi/src/ipmi-dcmi-argp.c: Fix command line parsing bug. 2011-05-04 Albert Chu * Update documents and comments with additional motherboard workaround information. 2011-04-27 Albert Chu * common/src/miscutil/: Remove unnecessary locking calls. 2011-04-18 Albert Chu * libipmiconsole/: Support convenience functions for determining whether user inputs are valid or not. 2011-04-18 Albert Chu * libipmiconsole/src/ipmiconsole.h: Update comments to show support for cipher suite id 17. 2011-04-07 Albert Chu * Add Intel SR1625/S5500WB OEM SEL interpration. * libfreeipmi/src/interpret/ipmi-interpret.c: Support interpretations of OEM sensor types w/ generic event/reading type codes. 2011-04-06 Albert Chu * Add Intel SR1625 OEM sensor interpretation. 2011-04-05 Albert Chu * libfreeipmi/src/drivers/: Support SPIN_POLL option for faster inband IPMI under certain circumstances. Timeout after a consistent time rather than a poll-attempted guess. * libfreeipmi/src/api/ipmi-api.c: Adjust default polling interval for KCS. * Support "spinpoll" workaround for all tools and libipmimonitoring. 2011-04-01 Albert Chu * Support additional sensor and sel interpretations. 2011-03-31 Albert Chu * Support "discretereading" in libipmimonitoring. 2011-03-29 Albert Chu * common/src/parsecommon/, ipmi-sensors/, libfreeipmi/src/sensor-read/: Support new "discretereading" workaround in ipmi-sensors. 2011-03-29 Albert Chu * doc/freeipmi-hostrange.txt: Fix some English. 2011-03-22 Albert Chu * Support package version string in libfreeipmi. 2011-03-16 Albert Chu * Support package version number macros in libfreeipmi. 2011-03-16 Albert Chu * libipmiconsole/: Slightly alter mechanism for selecting standard defaults vs. config file defaults. * libipmiconsole/: Fix bug where an empty string k_g key (e.g. "") would not overwrite the default k_g key specified in a config file. * libipmiconsole/src/ipmiconsole.c (ipmiconsole_ctx_create): Force ipmiconsole_engine_init() to be called prior to creating a context. * common/src/parsecommon/: Fix assert corner case. 2011-03-14 Albert Chu * Support library version numbers in libfreeipmi, libipmiconsole, libipmidetect, and libipmimonitoring. 2011-03-11 Albert Chu * common/src/parsecommon/parse-common.h, common/src/parsecommon/parse-common.c, common/src/toolcommon/tool-cmdline-common.c: Support ability to configure "none" workaround flags. May be useful for overriding workaround flags configured in freeipmi.conf. * common/src/toolcommon/tool-cmdline-common.c (common_parse_opt): Fix bug in which workaround flags on the command line may not overwrite config file workaround flags. * ipmipower/src/ipmipower_prompt.c (_cmd_workaround_flags): Support ability to reconfigure workaround flags to 'none' via ipmipower prompt. * ipmipower/src/ipmipower_prompt.c (_cmd_config): Fix workaround-flags config output bug. 2011-03-10 Albert Chu * bmc-info/: Handle additional error conditions within Get System Info Parameter calls. 2011-03-09 Albert Chu * libipmiconsole/src/ipmiconsole_ctx.c (__ipmiconsole_ctx_connection_cleanup): Only call the callback if an error occurred during a session submission, not if an error occurred in API land. 2011-03-08 Albert Chu * libipmiconsole/src/ipmiconsole_engine.c, libipmiconsole/src/ipmiconsole_garbage_collector.c: Add mutex/conditional to protect against theoretical race between engine and garbage collector on teardown. * configure.ac: Increment library revision. 2011-02-24 Albert Chu * ipmi-oem/src/ipmi-oem-intel.c: Fix portability bug to Solaris 10. 2011-02-21 Albert Chu * Documentation Dell Poweredge R210 OEM sensor. * libfreeipmi/src/interpret/ipmi-interpret-config-sensor.c: Fix Dell OEM default bug. 2011-02-18 Albert Chu * common/man/manpage-common-entity-sensor-names.man: Fix formatting error. 2011-02-18 Albert Chu * Overwrite symlinks during make install. 2011-02-17 Albert Chu * bmc-config/src/bmc-config-user-sections.c (username_commit): Handle corner case in which motherboard does not allow configuration of identical username. 2011-02-17 Albert Chu * Support Supermicro X7DBR-3 OEM Sensors. 2011-02-17 Albert Chu * libfreeipmi/src/interpret/: Support Dell Module/Board OEM sensor interpretation. 2011-02-17 Albert Chu * contrib/ganglia/ganglia_ipmi_sensors.pl, contrib/nagios/nagios_ipmi_sensors.pl: Do not exit out if an error occurs, an error could have occurred if one node out of a hostrange fails. 2011-02-17 Albert Chu * Support Supermicro X8DT3-LN4F motherboard. 2011-02-14 Albert Chu * libfreeipmi/src/sdr-cache/ipmi-sdr-cache-create.c (_sdr_cache_record_write): Fix compliance bug on HP Proliant DL585G7. 2011-02-04 Christopher Maestas and Albert Chu * contrib/ganglia/ganglia_ipmi_sensors.pl: Support new -r option. 2011-02-01 Albert Chu * bmc-watchdog/src/bmc-watchdog.c (_deamon_cmd_error_exit): Fix typo, rename to 'deamon' to 'daemon'. Fix elsewhere appropriately. * bmc-watchdog/src/bmc-watchdog.c (_daemon_setup, _daemon_cmd): Call _bmclog() and exit(1) instead instead of _err_exit(). 2011-01-28 Albert Chu * libfreeipmi/include/freeipmi/spec/ipmi-comp-code-spec.h: Fix spelling typo. 2011-01-28 Albert Chu * doc/freeipmi-faq.texi: Add additional info on determining if your system has IPMI support. 2011-01-27 Albert Chu * bmc-info/: Support motherboards that don't implement Get Device Guid. 2011-01-27 Albert Chu * Support Supermicro X8DTL-3F. 2011-01-27 Albert Chu Various ipmi-locate fixes based on user comments * common/man/manpage-common-troubleshooting.man: Add "driver timeout" error description. * ipmi-locate/ipmi-locate.8.pre.in: Add text on how ipmi-locate can be used. * doc/freeipmi-faq.texi: Add info on determining if your system has IPMI. * ipmi-locate/src/ipmi-locate.c: Fix error message output for clarity. 2011-01-24 Albert Chu * ipmi-sensors/, libfreeipmi/: Support ignore unrecognized events capability. 2011-01-24 Albert Chu * ipmi-oem/ipmi-oem.8.pre.in: Document what is wrtten to eeprom to clear them. 2011-01-20 Albert Chu * configure.ac, NEWS: Update for 1.0.1 release. * Fix a few more documentation typos. * doc/freeipmi-design.txt: New document. * doc/freeipmi-coding.txt: Split out information into freeipmi-design.txt, tweak text. 2011-01-19 Albert Chu * libipmiconsole/src/ipmiconsole.h: Fix comment typos/English. 2011-01-18 Albert Chu * ipmi-sensors/src/ipmimonitoring.in: Fix portability. 2011-01-18 Albert Chu * ipmipower/src/Makefile.am: Fix build error. 2011-01-18 Holger Liebig * common/src/toolhostrange/Makefile.am: Fix build error. 2011-01-18 Albert Chu * ipmi-dcmi/: Fix UTF-8 corner case. 2011-01-13 Albert Chu * ipmi-sensors/: Support --ipmimonitoring-legacy-output. 2011-01-12 Albert Chu * common/man/: Fix some manpage typos. 2011-01-11 Albert Chu * ipmi-dcmi/, libfreeipmi/include/freeipmi/cmds/ipmi-dcmi-cmds.h, libfreeipmi/src/cmds/ipmi-dcmi-cmds.c: Update asset-tag getting and setting based on 1.1 errata. 2011-01-10 Albert Chu * ipmi-dcmi/, libfreeipmi/include/freeipmi/cmds/ipmi-dcmi-cmds.h, libfreeipmi/src/cmds/ipmi-dcmi-cmds.c: Various DCMI updates for 1.1 spec and 1.1 errata. 2011-01-03 Albert Chu * doc/: Fix typos. * contrib/ganglia/: Fix temperature, rpm, voltage reporting corner case. 2010-12-14 Albert Chu * ipmi-oem/: Fix Intel Node Manager corner cases. 2010-12-13 Albert Chu * ipmi-oem/: Support basic Intel Node Manager commands. * libfreeipmi/: Code re-org on Intel Node Manager code. 2010-12-09 Albert Chu * ipmi-sensors/: Support Intel Node Manager sensors. 2010-12-08 Albert Chu * libfreeipmi/: Add initial Intel Node Manager support. 2010-12-02 Albert Chu * libfreeipmi/src/fru-parse/: Fix leap year calculation bug. 2010-12-01 Albert Chu * libfreeipmi/src/interpret/: Support ability to configure interpretation of out of spec sensor events and sel events. 2010-11-18 Albert Chu * bmc-config/: Re-do lan/serial_user_session_limit workaround to work for multi-channel. 2010-11-18 Albert Chu * bmc-config/: Fix bug in HP DL145 RMCPplus workaround. 2010-11-17 Albert Chu * bmc-config/: Fix bug in HP DL145 RMCPplus privilege key. 2010-11-17 Albert Chu * Remove CONFIG_ERR_NON_FATAL_ERROR_REQUIRED_FIELD_NOT_FOUND error code, does not function is initially required. * bmc-config/: Output error message directly instead of using CONFIG_ERR_NON_FATAL_ERROR_REQUIRED_FIELD_NOT_FOUND. 2010-11-17 Albert Chu * common/src/configtool/: Support new CONFIG_ERR_NON_FATAL_ERROR_REQUIRED_FIELD_NOT_FOUND error code. * bmc-config/: Fix workaround for HP DL145 RMCPplus privilege key configuration when commiting privilege changes. 2010-11-17 Albert Chu * libfreeipmi/include/freeipmi/spec/ipmi-privilege-level-spec.h: Define IPMI_PRIVILEGE_LEVEL_UNSPECIFIED. 2010-11-16 Albert Chu * bmc-config/: Cleanup cipher suite id loading and caching code. * bmc-config/: Support workaround of HP DL145 RMCPplus privilege key configuration. 2010-11-16 Albert Chu * libfreeipmi/src/interpret/: Support ability to configure interpretation when no sensor event occurs, rather than assuming it is always Nominal. 2010-11-15 Albert Chu * libfreeipmi/src/interpret/: Support OEM bitmask configuration of event bitmask 0 as a special case to cover case in which sensor event bitmask is 0. * libfreeipmi/src/interpret/: Have Dell Power Optimized sensor report Nominal if no event occurs. 2010-11-15 Albert Chu * libfreeipmi/src/interpret/: Support different format for OEM configuration. Support multiple manufacturer/product ids to be specified for an interpretation. * Support Supermicro X8DTU-6+ OEM sensor interpretations. 2010-11-11 Albert Chu * Create 'ipmi-detect' symlink and manpage to link to 'ipmidetect'. * freeipmi.spec.in: Update appropriately for updates/changes. 2010-11-11 Albert Chu Branch 'reorg'. * Re-org code base for consistency in code tree. * examples/: New directory. * ipmimonitoring/src/examples/: Remove directory, move files to examples/. * libipmimonitoring/: New directory. * ipmimonitoring/src/libipmimonitoring/: Remove directory, move to libipmimonitoring/. * libipmiconsole/: New directory. * ipmiconsole/src/libipmiconsole/: Remove directory, move to libipmiconsole/. * ipmiconsole/src/ipmiconsole/: Remove directory, move source to ipmiconsole/src/. * libipmidetect/: New directory. * ipmidetect/src/libipmidetect/: Remove directory, move source to libipmidetect/. * ipmidetectd/: New directory. * ipmidetect/src/ipmidetectd/: Remove directory, move source to ipmidetectd/. * ipmidetect/src/ipmidetect/: Remove directory, move source to ipmidetect/src/. 2010-11-11 Albert Chu * Create 'ipmi-power' symlink and manpage to link to 'ipmipower'. * Create 'ipmi-ping' symlink and manpage to link to 'ipmiping'. * Create 'rcmp-ping' symlink and manpage to link to 'rcmpping'. * Create 'ipmi-console' symlink and manpage to link to 'ipmiconsole'. * freeipmi.spec.in: Update appropriately for updates/changes. 2010-11-10 Albert Chu Branch serialnulping * ipmiconsole/src/libipmiconsole/: Support serial keepalive. * ipmiconsole/: Support --serial-keepalive option. 2010-11-05 Albert Chu * common/src/toolcommon/tool-cmdline-common.h, common/src/toolcommon/tool-cmdline-common.c (verify_common_cmd_args_inband, verify_common_cmd_args_outofband): New functions. * common/src/toolcommon/tool-cmdline-common.c (verify_common_cmd_args): Re-arch to use new functions. * ipmipower/src/ipmipower_argp.c (_ipmipower_args_validate, ipmipower_argp_parse): Re-arch to use new functions and reduce duplicate code. * Globally, support special case handling if user inputs a k_g key of 0. Is possible with hex input (e.g. -k 0x00). 2010-11-05 Albert Chu * common/src/parsecommon/: New common code library. * ipmiconsole/: Support libipmiconsole.conf file. Support default of 4 threads. Increase k_g buffer size to max + 1. 2010-11-05 Albert Chu * Support Supermicro X8DTU-6+ OEM sensors. 2010-11-02 Albert Chu * ipmi-sel/: Fix output corner case for N/A outputs. 2010-10-22 Albert Chu * ipmi-sel/: Fix corner case with --output-oem-event-strings, did not work with OEM record types. 2010-10-21 Albert Chu * ipmi-sel/: Fix corner case, --output-oem-event-strings does not require --interpret-oem-data. 2010-10-21 Holger Liebig * libfreeipmi/src/sel-parse/ipmi-sel-parse-string-fujitsu.c: Fix error message corner case. 2010-10-20 Albert Chu * Code cleanup for consistency to FreeIPMI code style. * Re-work OEM SEL interpretations to not call Fujitsu Get SEL Entry Long Text for every event. * ipmi-sel/: Support --output-oem-event-string. 2010-10-20 Holger Liebig * Add initial Fujitsu OEM sensor and SEL support. 2010-10-19 Albert Chu * Rename IPMI_COMP_CODE_REQUEST_SENSOR_DATA_OR_RECORD_NOT_PRESENT to IPMI_COMP_CODE_REQUESTED_SENSOR_DATA_OR_RECORD_NOT_PRESENT globally. * libfreeipmi/src/sensor-read/: For IPMI_COMP_CODE_REQUESTED_SENSOR_DATA_OR_RECORD_NOT_PRESENT completion code, return sensor unavailable rather than sensor cannot be obtained. 2010-10-14 Albert Chu * man/: Update workaround flags options. * ipmiconsole/src/libipmiconsole/ipmiconsole.h: Fix comment typo. 2010-10-13 Albert Chu * bmc-config/: Have IPv4 parameters commented out by default. 2010-10-12 Albert Chu * libfreeipmi/: Support RMCP port configuration. * bmc-config/: Support RMCP port configuration. 2010-10-11 Albert Chu * libfreeipmi/: Support LAN ipv4 header parameters configuration. * bmc-config/: Support LAN ipv4 header parameters configuration. * bmc-config/: Move vlan output to only under verbose mode. 2010-09-23 Albert Chu * libfreeipmi/src/sdr-cache/ipmi-sdr-cache-create.c (_sdr_cache_get_record): Improve SDR caching speed. 2010-09-17 Albert Chu * Globally re-architect to split workaround flags into inband, outofband, and outofband 2.0 workaround flags. Re-architect will save bits for future workarounds and possible future expansion (e.g. protocol 3.0, etc.). 2010-09-15 Albert Chu * Support 'assumeio' inband workaround. 2010-09-14 Albert Chu * libfreeipmi/src/sel-parse/: Support Intel NM OEM sensor names. * Probe for Intel NM SDR entry as necessary. 2010-09-13 Albert Chu * ipmi-oem/: Move some OEM commands from Dell to Inventec. What was thought to be Dell additions was in fact not. 2010-09-13 Albert Chu * Support Intel NM SEL events for all motherboards. 2010-09-13 Albert Chu * libfreeipmi/src/api/ipmi-api.c (ipmi_ctx_open_inband): Fix fallthrough error corner case. 2010-09-08 Albert Chu Merge from intels5500wb branch. * Add Intel S5500WB OEM SEL support. * Re-arch some sel-parse code for performance. * libfreeipmi/src/sel-parse/ipmi-sel-parse.c: Fix event_data1 parsing bug. * ipmi-oem/: Add Intel restore-configuration, get-smtp-config, and set-smtp-config support. * Various minor code fixes. 2010-09-07 Albert Chu * libfreeipmi/include/freeipmi/spec/ipmi-comp-code-spec.h: Fix macro names for consistency to other parts of FreeIPMI. * Adjust remaining code throughout for consistency. 2010-09-01 Albert Chu * libfreeipmi/include/freeipmi/spec/ipmi-cmd-oem-spec.h: Fix typo in macro. 2010-08-31 Albert Chu * ipmi-oem/: Support inventec restore-to-defaults. * Document more inventec oem additions. 2010-08-31 Albert Chu * ipmi-sensors/src/ipmi-sensors-detailed-output.c (_detailed_output_event_enable): Gracefully handle IPMI_COMP_CODE_COMMAND_RESPONSE_COULD_NOT_BE_PROVIDED error. 2010-08-25 Albert Chu * ipmi-oem/: Support Quanta get/set-nic-mode, get/set-bmc-services, get-account-status, get/set-dns-config, get/set-web-server-config, get/set-power-management-config, get/set-sol-idle-timeout, get/set-telnet-ssh-redirect-status, read/write-mac-address. * ipmi-oem/: Support get/set-telnet-ssh-redirect-status for inventec. 2010-08-24 Albert Chu * ipmi-oem/: Fix and support inventec get-account-status. * Fix typos: TS12 -> FS12 motherboard. * ipmi-oem/: Support Inventec get/set-sol-idle-timeout. Implement get/set-telnet-ssh-redirect-status. * ipmi-oem/: Fix range checking on parameter inputs. * ipmi-oem/: Fix and support Inventec get/set-dns-config. 2010-08-23 Albert Chu * ipmi-oem/: Implement inventec get-account-status, get-dns-config, and set-dns-config. Fix variable argument help output bug. 2010-08-23 Albert Chu * ipmi-dcmi/: Support --set-asset-tag, --get-management-controller-identifier-string, and --set-management-controller-identifier-string. 2010-08-23 Albert Chu * bmc-watchdog/, bmc-device/: Fix some documentation typos/inconsistencies. 2010-08-20 Albert Chu * Support DCMI 1.1 Specification. Re-org various code for consistency to DCMI 1.1 specification organization. 2010-08-20 Albert Chu * libfreeipmi/src/api/ipmi-lan-session-common.c (_ipmi_lan_2_0_cmd_wrapper_verify_packet): Fix error check corner case. 2010-08-18 Albert Chu * ipmi-oem/: Tweak Fujitsu get-sel-entry-long-text based on comments by Holger Liebig. Other minor tweaks for code consistency. 2010-08-18 Dan Lukes * ipmi-oem/: Fix for bugs in Fujitsu get-sel-entry-long-text OEM command. 2010-08-18 Albert Chu * libfreeipmi/src/debug/, common/man/manpage-common-cipher-suite-id-details.man: Add SHA256 support. * Variety of mods to remove compiler warnings. 2010-08-18 Holger Liebig * Add SHA256 support globally. 2010-08-17 Albert Chu * ipmi-oem/: Re-format Fujitsu get-sel-entry-long-text for consistency to remaining ipmi-oem code. Re-work to go through multiple iterations. * Add manpage entry for Fujitsu get-sel-entry-long-text OEM command. 2010-08-17 Dan Lukes * ipmi-oem/: Support Fujitsu get-sel-entry-long-text OEM command. 2010-08-13 Albert Chu * ipmi-oem/: Various code consistency cleanup. * libfreeipmi/include/freeipmi/spec/: Various filename and macro name changes for consistency to IPMI spec. * Various code cleanup. 2010-08-12 Albert Chu * ipmimonitoring/: Update examples and library comments. * ipmidetect/ipmidetectd.init: Fix for /etc/freeipmi/ 2010-08-11 Albert Chu * Move config files to /etc/freeipmi/. Support legacy config files. * Fix distcheck bugs. 2010-08-11 Albert Chu * libfreeipmi/: Support Chassis Boot Option Boot Initiator Info and Boot Initiator Mailbox. * libfreeipmi/: Re-work Chassis Boot Option configs to support valid/invalid parameter config on parameters. * ipmi-chassis-config/: Set don't clear valid bits after setting boot flags. * config/ac_ipmipower_config_file.m4: New file. * config/ac_ipmiconsole_config_file.m4: New file. * configure.ac: Calculate ipmipower.conf and ipmiconsole.conf legacy conf files via configure. * ipmipower/, ipmiconsole/: Use macros from autoconf instead of hard defined default conf locations. * ipmidetect/ipmidetect.conf: Add example file. * freeipmi.spec.in: Update appropriately for distribution changes. * Various code cleanup. 2010-08-09 Albert Chu * Convert Repo to Subversion. 2010-08-06 Albert Chu * ipmi-sel/ipmi-sel.8.pre.in, ipmi-fru/ipmi-fru.8.pre.in: Cleanup and re-format a bit. 2010-08-06 Albert Chu * Fix SOL_Retry_Count validation bug. * ipmipower/src/: Fix workaround flag config output corner case. * Support bmc-config 'solchannelassumelanchannel' workaround. * common/man/manpage-common-config-tool-options-sol-channel-number.man: Fix text. 2010-08-06 Albert Chu * freeipmi.spec.in: Update for payload dir. * Fix --enable-rawumps corner cases. * Fix SOL single-channel corner case. 2010-08-05 Albert Chu * Support --enable-rawdumps compile option. 2010-08-05 Albert Chu * common/src/configtool/: Support 'veryslowcommit' workaround in config tools for very slow BMCs. * bmc-config/: Fix multi-channel corner cases. * common/man/: Update very verbose description case in config tools. 2010-08-03 Albert Chu * ipmimonitoring/src/libipmimonitoring/, ipmi-sel/, bmc-device/: Fix corner case with time calculating and daylight savings. 2010-08-02 Albert Chu * libfreeipmi/src/api/, ipmipower/, ipmiconsole/src/libipmiconsole/: Revert OPEN_SESSION_PRIVILEGE rework done on 2010-07-13. Change is unnecessary. 2010-08-02 Albert Chu * tagged pre_multi_channel_config * libfreeipmi/src/util/ipmi-channel-util.c (ipmi_get_channel_numbers): New function. * libfreeipmi/src/util/ipmi-channel-util.c: Re-arch/cleanup for new functionality. * common/man/manpage-common-config-tool-options-verbose.man, common/man/manpage-common-config-tool-options-very-verbose.man: New files. * common/man/manpage-common-config-tool-options.man: Split out verbose option appropriately. * Adjust config tool manpages appropriately. * common/src/configtool/config-tool-checkout.c: If user specifies keypairs, don't output section comments. * common/src/configtool/: Introduce CONFIG_DO_NOT_LIST flag. Only do not show sections with this flag when --list is done. * common/src/configtool/, bmc-config/: Make verbose output only for extra sections & fields. Make very verbose output only for info on why fields were/were not readable/writeable/etc. * bmc-config/src/: Show all sections that can be checked out, including verbose ones when -v isn't specified. * bmc-config/src/: If CONFIG_DO_NOT_CHECKOUT is specified for an entire section, do not force CONFIG_DO_NOT_CHECKOUT if user specifies section on command line. Do not force CONFIG_DO_NOT_CHECKOUT if user specifies key-pair on the command line. * bmc-config/, ipmi-pef-config/: Support new configuration fields and sections for multi-channel configuration support. * Various code cleanup. * tagged post_multi_channel_config 2010-07-29 Albert Chu * Split off SOL payloads into new files and outside of SOL-Commands. 2010-07-28 Albert Chu * libfreeipmi/: Support Chassis Boot Options, Lan Configuration Parameters, Serial/Modem Configuration, SOL Configuration Parameters, System Info Parameters, and PEF Configuration Parameters Set In Progress. * Fix some template bugs/typos. 2010-07-27 Albert Chu * libfreeipmi/: Support Chassis Service Partition Selector and Chassis Service Partition Scan templates, functions, etc. * Various cleanup. 2010-07-23 Albert Chu * doc/freeipmi-faq.texi: Update with x86-64 build instructions and libgcrypt information. 2010-07-22 Albert Chu * libfreeipmi/src/sel-parse/: Workaround compliance issue in Supermicro H8QME. 2010-07-22 Albert Chu * ipmimonitoring/src/libipmimonitoring/: Fix seg-fault corner case. * ipmimonitoring/src/libipmimonitoring/: Support ability to read SEL sensor numbers. Fix sensor number reading corner case. * ipmimonitoring/src/examples/: Output sensor number in examples. 2010-07-21 Albert Chu * libfreeipmi/src/sel-parse/: Fix corner case, do not error out if SEL is empty. 2010-07-13 Albert Chu * libfreeipmi/src/api/, ipmipower/, ipmiconsole/src/libipmiconsole/: Re-work OPEN_SESSION_PRIVILEGE workaround to handle an additional OPEN_SESSION_PRIVILEGE corner case. 2010-07-13 Albert Chu * Various documentation updates. 2010-07-12 Albert Chu * ipmi-oem/: Support Supermicro get-bmc-services-status and set-bmc-services-status. 2010-07-12 Albert Chu * Various documentation updates. 2010-07-08 Albert Chu * ipmi-oem/: Uncomment Quanta reset-to-defaults commands, is now functional w/ proper documentation. 2010-07-08 Dick Detweiler * common/src/pingtool/ping-tool-common.c (_cmdline_parse): Fix casting bug. 2010-07-08 Albert Chu * bmc-config/bmc-config.8.pre.in: Add small OEM config note. 2010-07-07 Albert Chu * ipmiconsole/src/libipmiconsole/ipmiconsole_packet.c (ipmiconsole_packet_unassemble): On several errors, assume malformed packet, not internal error. 2010-07-07 Albert Chu & Anonymous Avocent Developer * ipmiconsole/src/libipmiconsole/ipmiconsole_processing.c (_sol_bmc_to_remote_console_packet, _process_protocol_state_sol_session_receive): If SOL is deactivating, don't bother sending Deactivate Payload command, simply close session. 2010-07-06 Albert Chu * configure.ac: Support --without-random-device. 2010-07-02 Albert Chu * Fix compile bug w/ macro renaming. 2010-07-01 Albert Chu * Prefix macros not intended to be used by users. 2010-06-30 Albert Chu * Support Supermicro X8DTU motherboard product id. 2010-06-30 Albert Chu * bmc-config/, ipmi-pef-config/, common/src/configtool/: Support --lan-channel-number, --serial-channel-number. 2010-06-30 Albert Chu * Fix manpage consistency throughout. 2010-06-30 Jan Safranek * ipmidetect/src/ipmidetectd/ipmidetectd_config.c: Fix parsing of unknown arguments. < 2010-06-28 Albert Chu * bmc-watchdog/: Fix "ignorestateflag" workaround for more corner cases. 2010-06-22 Albert Chu * libfreeipmi/src/util/ipmi-channel-util.c: Fix legacy corner case. 2010-06-17 Albert Chu * bmc-watchdog/: Fix --version option. 2010-06-15 Albert Chu * bmc-watchdog/: Support 'ignorestateflag' workaround. 2010-06-14 Albert Chu * libfreeipmi/include/freeipmi/templates/ipmi-messaging-support-cmds-templates.h, libfreeipmi/src/cmds/ipmi-messaging-support-cmds.c: Modify template to ensure some fields that are required are actually optional. 2010-06-14 Albert Chu * Add 'slowcommit' workaround to config tools, to workaround BMCs that cannot take large amounts of data. 2010-06-11 Albert Chu * ipmimonitoring/: Support '%' as sensor units. 2010-06-11 Albert Chu * ipmimonitoring/src/libipmimonitoring/: Fix units output corner case. 2010-06-11 Albert Chu * Return 'privilege level cannot be obtained' error code when rmcpplus status of 'invalid role' returned. 2010-06-11 Albert Chu * Document issues with Intel S5500WBV/Penguin Relion 700 motherboard. 2010-06-10 Albert Chu * doc/freeipmi-faq.texi: Fix URL to Conman. 2010-06-10 Albert Chu * Rename 'supermicro20b' to 'integritycheckvalue' and rework specifically on one issue, rather than a set of issues. 2010-06-09 Albert Chu * Fix ipmi-sensors output corner case in which percent was output as "% unspecified" instead of "%". 2010-06-07 Albert Chu * Fix 'supermicro20b' workaround in ipmiconsole. 2010-06-04 Albert Chu * Support 'supermicro20b' workaround in ipmipower, libipmimonitoring, and libipmiconsole. 2010-06-04 Albert Chu * Remove RAKP4 auto accept for intel20 workaround, should not accept if two part authentication cannot be completed. 2010-06-03 Albert Chu * Support supermicro20b workaround. * Document support appropriately. 2010-06-02 Albert Chu * Various documentation and comment updates. 2010-05-27 Albert Chu * Document workarounds and issues with Supermicro X8DTG motherboard. * common/man/manpage-common-troubleshooting.man: Update w/ inband troubleshooting. * common/man/manpage-common-troubleshooting-lan-only.man: New file. * ipmipower/, ipmiconsole/: Update manpages w/ lan-only troubleshooting. 2010-05-26 Frank Steiner (http://www.bio.ifi.lmu.de/~steiner/) * bmc-watchdog/freeipmi-bmc-watchdog.init: exit status from rc_ functions is not returned by init script. 2010-05-25 Albert Chu * Support Supermicro X8DTG motherboard. 2010-05-21 Albert Chu * libfreeipmi/src/interpret/: Support different SEL event interpretation on assertion vs. deassertion. Various code cleanup. * libfreeipmi/: Various code cleanup. 2010-05-17 Albert Chu * ipmi-dcmi/, libfreeipmi/: Fix copyright headers on all DCMI related files. 2010-05-14 Albert Chu * ipmi-sensors/src/ipmimonitoring: Remove. * ipmi-sensors/src/ipmimonitoring.in: New file. * configure.ac, ipmi-sensors/src/Makefile.am: Fix portability install bug. 2010-05-14 Albert Chu * ipmi-oem/src/ipmi-oem-quanta.c: Fix minor bugs. * libfreeipmi/src/interpret/: Fix bitmask corner case. * libfreeipmi/src/util/: Fix bitmask corner case. * ipmi-pef-config/: Code cleanup, use macro instead of magic number. 2010-05-13 Albert Chu * libfreeipmi/src/interpret/ipmi-interpret.c: Fix threshold sensor state interpretation corner case. 2010-05-13 Albert Chu * ipmi-oem/src/: Fix bitmask bug. * ipmi-oem/src/ipmi-oem-quanta.c: Add macro and output for Westmere-EP processor. * libfreeipmi/src/sel-parse/ipmi-sel-parse-string-quanta.c: Make DIMM output more detailed. 2010-05-12 Albert Chu * ipmimonitoring/: Various comment/documentation updates. 2010-05-11 Albert Chu * libfreeipmi/include/freeipmi/spec/: Support Quanta S99Q/Dell FS12-TY OEM commands. * ipmi-oem/: Support Quanta S99Q/Dell FS12-TY OEM commands. * libfreeipmi/src/sel-parse/: Support Quanta S99Q/Dell FS12-TY OEM SEL events. * libfreeipmi/, ipmi-oem/: Minor cleanup. 2010-05-07 Albert Chu * ipmi-oem/src/ipmi-oem-ibm.c: Fix potential corner case. 2010-05-07 Albert Chu * libfreeipmi/include/freeipmi/spec/ipmi-cmd-oem-spec.h: Fix macro typo. 2010-05-06 Albert Chu *common/src/configtool/config-tool-section.h, common/src/configtool/config-tool-section.c (config_sections_validate_keyvalue_inputs): Do not take value_input_required parameter. * bmc-config/, ipmi-pef-config/, ipmi-sensors-config/, ipmi-chassis-config/: Re-work for change in config_sections_validate_keyvalue_inputs. Do not check value inputs when --checkout is specified since it is not necessary. 2010-05-05 Dave Love > * bmc-watchdog/bmc-watchdog.8.pre.in: Fix formatting. 2010-05-04 Albert Chu * Fix make distcheck. 2010-05-03 Albert Chu * libfreeipmi/src/driver/ipmi-sunbmc-driver.c, libfreeipmi/src/driver/ipmi-openipmi-driver.c: Fix string concatentation bugs in error strings. 2010-05-03 Albert Chu Build sunbmc driver w/o bmc_intf.h being found. * COPYING.sunbmc: New file. * README.sunbmc: Removed. * libfreeipmi/src/driver/freeipmi_bmc_intf.h: New file. * libfreeipmi/src/driver/ipmi-sunbmc-driver.c: Adjusted appropriately. * configure.ac, freeipmi.spec.in, Makefile.am, doc/freeipmi-faq.texi: Adjusted appropriately. * libfreeipmi/src/driver/ipmi-sunbmc-driver.c (ipmi_sunbmc_ctx_io_init): Fix initialization corner case is putmsg interface is used over ioctl interface. * libfreeipmi/src/driver/ipmi-sunbmc-driver.c (_set_sunbmc_ctx_errnum_by_errno): Assume EINVAL errno is a system error (b/c system does not support ioctl). * libfreeipmi/src/driver/ipmi-sunbmc-driver.c (ipmi_sunbmc_ctx_errmsg): Fix string concat bug. 2010-05-03 Albert Chu * libfreeipmi/: If sunbmc driver is not supported, report "device not supported" instead of "internal error". 2010-04-30 Albert Chu * configure.ac: Update library versions appropriately. 2010-04-30 Dave Love * ipmi-pef-config/src/Makefile.am (install-exec-hook): Don't use `cp -d'. 2010-04-29 Albert Chu * doc/: Update for Quanta S99Q/Dell FS12-TY. * bmc-config/: Work around node busy issues with Quanta S99Q/Dell FS12-TY. 2010-04-28 Albert Chu * libfreeipmi/src/cmds/ipmi-lan-cmds.c (fill_cmd_set_lan_configuration_parameters_bad_password_threshold): Fix error check. 2010-04-28 Albert Chu * Rename dimm macros specifically for motherboard they work on. * Support Inventec 5442/Dell Xanadu III error codes and Dimms. 2010-04-27 Albert Chu * Rename "Xanadu2" to "Xanadu II" globally in documents, comments, and codeto be consistent to Dell product name. * Document/support Inventec 5442/Dell Xanadu III. 2010-03-22 Albert Chu * Various code cleanup, organizational cleanup, fix rpm building, etc. 2010-03-19 Albert Chu * ipmimonitoring/src/libipmimonitoring/: Support SEL monitoring. * ipmimonitoring/src/libipmimonitoring/: Support event/reading type code in sensor iterator. * ipmimonitoring/src/examples/: Add SEL monitoring example. * Various code cleanup. * Minor bug fixes. 2010-03-10 Albert Chu Merge sel_interpret_branch. * Add interpret sel support in interpret library to libfreeipmi. * libfreeipmi/src/sel-parse/: Do not require valid ipmi_ctx. Functions performing ipmi communication will simply error. * ipmi-sel/: Support --output-event-state option. * Consistently name interpret 'sensors' to 'sensor'. * Minor cleanup and minor fixes. 2010-03-08 Albert Chu * libfreeipmi/src/interpret/ipmi-interpret.c (_get_sensor_state): Return UNKNOWN state if invalid sensor bitmask returned. 2010-03-03 Albert Chu * ipmi-sel/: Fix possible HP workaround bug. 2010-03-02 Albert Chu * ipmi-oem/: Fix column output for IBM get-led. 2010-03-02 Albert Chu * Fix Posix time portability globally. 2010-03-02 Albert Chu * ipmi-sel/: Support --date-range and --exclude-date-range. 2010-03-02 Albert Chu * ipmi-oem/: Uncomment IBM Get LED, verified. Sensor search bug fix. 2010-03-01 Albert Chu * ipmi-oem/: Fix IBM Get LED. 2010-02-27 Albert Chu * ipmi-oem/: Add Dell Get Active LOM Status support. 2010-02-25 Albert Chu * ipmi-oem/: Add IBM get-led base code. 2010-02-21 Albert Chu * ipmi-sel/, common/src/toolcommon/: Support --output-manufacturer-id. Alter OEM record output to align with columns by outputting "N/A" in appropriate fields and putting manufacturer ID in event output. 2010-02-19 Albert Chu * ipmi-sensors/: Ensure multiple event output strings separated by space in simple output. 2010-02-18 Albert Chu * ipmi-sensors/: Code cleanup. 2010-02-17 Albert Chu * ipmi-sensors/, common/src/toolsensor/, man/: Support numeric input for --sensor-types and --exclude-sensor-types. * common/src/, ipmi-sel/: Support --sensor-types and --exclude-sensor-types options. 2010-02-16 Albert Chu From pre_ipmimonitoring_to_ipmi_sensors_branch * ipmi-sensors/ipmimonitoring.8: New file. * ipmi-sensors/src/ipmimonitoring: New file. * ipmimonitoring/ipmimonitoring.8.pre.in: Remove file. * ipmimonitoring/src/ipmimonitoring/: Remove ipmimonitoring. * ipmimonitoring/src/examples/: Add ipmimonitoring-sensors example. * common/src/toolcommon/: Make ipmimonitoring config file options backwards compatible to ipmi-sensors. * common/src/toolsensor/: Code cleanup given changes. * etc/, doc/, man/: Update appropriately for changes. * configure.ac: Update appropriately for changes. 2010-02-16 Albert Chu * ipmi-sensors/src/ipmi-sensors-simple-output.c (_simple_output_full_record): Fix comma separated output corner case. 2010-02-12 Albert Chu * ipmi-sensors-config/ipmi-sensors-config.8.pre.in, libfreeipmi/libfreeipmi.3.pre.in: Fix typos, pef-config to ipmi-pef-config. * doc/freeipmi-hostrange.txt: Add some option info. 2010-02-11 Albert Chu * libfreeipmi/src/api/ipmi-lan-session-common.c (_ipmi_lan_2_0_cmd_wrapper_verify_packet): Fix session sequence number wrap around corner case. 2010-02-11 Albert Chu * ipmimonitoring/src/libipmimonitoring: Fix sensor naming. * ipmimonitoring/src/libipmimonitoring/ipmi_monitoring_bitmasks.h: New file. * freeipmi.spec.in: Update appropriately. 2010-02-10 Albert Chu * ipmimonitoring/libipmimonitoring.3.pre.in: Update for recent changes. * ipmimonitoring/src/libipmimonitoring/: Code cleanup. 2010-02-09 Albert Chu * common/src/toolsensor/, ipmi-sensors/, ipmimonitoring/, ipmi-sel/: Various code cleanup. * common/src/toolhostrange/pstdout.h, common/src/toolhostrange/pstdout.c: For wrapper pstdout's use normal printf/fprintf/perror if library not initialzed. * COPYING.ZRESEARCH: Update to GPLv3. 2010-02-09 Albert Chu * contrib/ganglia/: Update appropriately for changes. * contrib/ganglia/ganglia_ipmi_sensors.pl: Updated for new output format and options. Support ability to monitor sensor state. Support -T and -t options to allow option to monitor only sensor state or sensor readings. * contrib/ganglia/ganglia_ipmimonitoring.pl: Remove file. Superseded by changes in ganglia_ipmi_sensors.pl. * contrib/nagios/nagios_ipmi_sensors.pl: New file. * contrib/nagios/nagios_ipmimonitoring.pl: Remove file. Superseded by nagios_ipmi_sensors.pl. 2010-02-08 Albert Chu Continue update to GPLv3 globally. * Replace LLNL tool COPYING files w/ GPLv3 COPYING file. * DISCLAIMER.rmcpping, DISCLAIMER.rmcpping.UC, COPYING.rmcpping: Remove files, "rmcpping" is a part of "ipmiping." * Update LLNL ipmi tool project headers. * Fix LLNL ipmi tool project head typos. * common/man/: Update manpages w/ GPLv3 info. * common/man/manpage-common-gpl-freeipmi-text.man: New file. * Fix other miscallaneous header files. 2010-02-08 Albert Chu * ipmi-locate/: Support --defaults option. 2010-02-08 Albert Chu * doc/: Fix Linux vs. GNU/Linux usage. 2010-02-05 Albert Chu Begin update to GPLv3 globally. * Replace COPYING w/ GPLv3 COPYING file. * Update all FreeIPMI core team code header files. * Fix up some header file inconsistencies. 2010-02-05 Albert Chu * ipmimonitoring/: Rename a number of functions to specify that they are sensor monitoring functions. This is to prepare for future API additions for SEL monitoring. 2010-02-03 Albert Chu * libfreeipmi/src/interpret/: Fix OEM parsing issue. * libfreeipmi/src/interpret/: Support Supermicro OEM by default. * ipmi-sensors/: Support OEM interpretations in ipmi-sensors. * libfreeipmi/src/interpret/: Add Dell OEM interpretations. 2010-02-02 Albert Chu * libfreeipmi/src/interpret/, libfreeipmi/include/freeipmi/interpret/, ipmimonitoring/: Support OEM sensor interpretations. * common/src/miscutil/conffile.c, common/src/miscutil/conffile.h: Update to support infinite option arguments. 2010-02-01 Albert Chu * ipmiconsole/ipmiconsole.8.pre.in: Format change. * ipmimonitoring/src/ipmimonitoring/: Update for newer sensor types. * ipmimonitoring/src/ipmimonitoring/: Various cleanup. * ipmimonitoring/: Support OEM bitmask types. 2010-01-29 Albert Chu * ipmimonitoring/src/libipmimonitoring/ (ipmi_monitoring_read_sensor_bitmask_strings): New function. * ipmimonitoring/src/libipmimonitoring/ (ipmi_monitoring_sensor_bitmask_string): Removed function. * ipmimonitoring/src/ipmimonitoring/: Update appropriately for API change. 2010-01-29 Albert Chu * ipmi-sensors/src/ipmi-sensors-detailed-output.c (_detailed_output_event_enable): Fix mem-leak. * libfreeipmi/include/util/ipmi-sensor-util.h, libfreeipmi/src/util/ipmi-sensor-util.c, * libfreeipmi/include/util/ipmi-sensor-and-event-code-tables.h, libfreeipmi/src/util/ipmi-sensor-and-event-code-tables.c, (ipmi_get_sensor_event_messages, ipmi_get_event_messages): Rename ipmi_get_sensor_event_messages to ipmi_get_event_messages. Add IPMI_GET_EVENT_MESSAGES_FLAGS_SENSOR_READING bitmask. * libfreeipmi/include/util/ipmi-sensor-and-event-code-tables.h, libfreeipmi/src/util/ipmi-sensor-and-event-code-tables.c (ipmi_get_oem_event_bitmask_message): Renamed from ipmi_get_oem_sensor_event_bitmask_message. * ipmi-sensors/: Update appropriately. 2010-01-29 Albert Chu * libfreeipmi/include/util/ipmi-sensor-util.h, libfreeipmi/src/util/ipmi-sensor-util.c (ipmi_get_sensor_event_messages): New function. * ipmi-sensors/: Use ipmi_get_sensor_event_messages(). 2010-01-27 Albert Chu * ipmi-sensors/: Support --output-sensor-state and --sensor-state-config-file. * man/freeipmi.conf.5.pre.in: Fix language consistency. * libfreeipmi/include/freeipmi/interpret/ipmi-interpret.h, libfreeipmi/src/interpret/ipmi-interpret-defs.h: Support IPMI_INTERPRET_FLAGS_INTERPRET_OEM_DATA flag. 2010-01-25 Albert Chu * doc/freeipmi-coding.txt: Fix typos. 2010-01-21 Albert Chu * README, man/freeipmi.7.pre.in: Additional general information added. 2010-01-21 Albert Chu * ipmi-pef-config/ipmi-pef-config.8.pre.in: Fix typo. 2010-01-20 Albert Chu * ipmi-sensors/: Support --output-event-bitmask option. * ipmi-sensors/: Re-org and cleanup code significantly. 2010-01-19 Albert Chu * libfreeipmi/include/freeipmi/spec/: Update macros based on Dell docs. * ipmi-oem/: Update code appropriately. * ipmi-oem/: Change get-power-headroom-info to get-power-head-room for consistency to Dell docs. Backwards compatability maintained. 2010-01-18 Andrew Wansink and Albert Chu * Fix portability issues to Solaris w/ MAXHOSTNAMELEN definition. 2010-01-15 Albert Chu * libfreeipmi/src/sel-parse/ipmi-sel-parse-string-sun.h, libfreeipmi/src/sel-parse/ipmi-sel-parse-string-sun.c: New files. * libfreeipmi/src/sel-parse/ipmi-sel-parse-string.c: Support Sun interpretations. * ipmi-sel/ipmi-sel.8.pre.in: Update motherboard list. * doc/freeipmi-faq.texi: Update vendor list. 2010-01-14 Klaus Kaempf * libfreeipmi/src/cmds/ipmi-messaging-support-cmds.c (fill_cmd_set_system_info_parameters_primary_operating_system_name): Fix cut and paste typo. 2010-01-08 Albert Chu * ipmi-sensors/, ipmimonitoring/: Fix manpage examples. 2010-01-08 Albert Chu * libfreeipmi/include/freeipmi/spec/ipmi-product-id-spec.h, libfreeipmi/include/freeipmi/spec/ipmi-iana-enterprise-numbers-spec.h: Add Sun manufacturer and product IDs. 2010-01-08 Albert Chu Merge lib_interpret_branch * ipmimonitoring/src/libipmimonitoring/: Support IPMI_MONITORING_ERR_SENSOR_CONFIG_FILE_DOES_NOT_EXIST error code. Remove unused IPMI_MONITORING_ERR_CONFIG_FILE_PARSE error code. * Add interpret sub library to libfreeipmi. * ipmimonitoring/src/libipmimonitoring/: Re-adjust library to use interpret sub-library instead of internal. Maintain backwards compatability to original config file. * freeipmi.spec.in: Update appropriately for changes. 2010-01-07 Albert Chu * doc/freeipmi-coding.txt: Update text. 2009-12-28 Albert Chu * ipmimonitoring/src/libipmimonitoring/ipmi_monitoring.h: Fix tabbing. * doc/freeipmi-libraries.txt, libfreeipmi/libfreeipmi.3.pre.in: Remove dcmi sub-library, was removed. 2009-12-24 Albert Chu * doc/freeipmi-oem-documentation-requirements.txt: Update. 2009-12-23 Albert Chu * doc/freeipmi-oem-documentation-requirements.txt: Update. 2009-12-23 Albert Chu * Globally fix copyright years for 2010. 2009-12-23 Albert Chu * ipmi-oem/: Support dell get-chassis-identify-status. * ipmi-oem/: Support 'guid', 'chassis-service-tag', 'chassis-related-service-tag', 'board-revision' for Dell get-system-info. 2009-12-23 Albert Chu * ipmi-oem/ipmi-oem.8.pre.in: Fix grammer typo. 2009-12-22 sandeep patra * ipmi-pef-config/src/Makefile.am: Fix portability bug to cygwin. 2009-12-22 Albert Chu * doc/freeipmi-faq.texi: Add operating sytems section. 2009-12-21 Albert Chu * ipmi-sensors/: Output Entity String along with "Container Entity ID" or "FRU Entity ID". 2009-12-21 Albert Chu * libfreeipmi/include/freeipmi/spec/ipmi-cmd-oem-spec.h: Update appropriately w/ Dell docs given. * libfreeipmi/include/freeipmi/spec/ipmi-system-info-parameter-oem-spec.h: Update appropriately w/ Dell docs given. * ipmi-oem/: Update commands, output, comments, etc. w/ Dell docs given. 2009-12-17 Holger Liebig * ipmi-oem/src/ipmi-oem-fujitsu.c: Correct ambiguities from the official documentation. 2009-12-17 Albert Chu * ipmi-dcmi/src/ipmi-dcmi.c (_get_power_limit, set_power_limit): Implement workaround to deal w/ DCMI interpretation issue. 2009-12-17 Albert Chu * man/freeipmi.7.pre.in, common/man/manpage-common-workaround-heading-text.man, README: Add some workaround information. * doc/freeipmi-bugs-issues-and-workarounds.txt: Rework some text. 2009-12-16 Albert Chu * doc/freeipmi-bugs-issues-and-workarounds.txt: Document workaround/interpretation issue in DCMI. * ipmi-dcmi/src/ipmi-dcmi.c (_get_power_limit, get_power_limit, set_power_limit): Implement workaround to deal w/ DCMI interpretation issue. * ipmi-dcmi/: Support --interpret-oem-data option. * ipmi-dcmi/, common/src/toolcommon/tool-config-file-common.h, common/src/toolcommon/tool-config-file-common.c, man/freeipmi.conf.5.pre.in, etc/freeipmi.conf: Support --interpret-oem-data config file option. * libfreeipmi/include/freeipmi/cmds/ipmi-dcmi-oem-cmds.h: New file. 2009-12-16 Albert Chu * doc/freeipmi-bugs-and-workarounds.txt: Rename to freeipmi-bugs-issues-and-workarounds.txt. * doc/freeipmi-bugs-issues-and-workarounds.txt: Update w/ "interpretation" issues. * ipmpower/, ipmiconsole/src/libipmiconsole/, libfreeipmi/src/api/: More accurately comment on IPMI compliance issue. * freeipmi.spec.in: Update appropriately for doc change. 2009-12-16 Albert Chu * common/src/miscutil/hostlist.c, common/src/miscutil/hostlist.h: Update newest lib versions. 2009-12-15 Albert Chu * doc/freeipmi-coding.txt: Add section on OEM extensions. 2009-12-15 Albert Chu * common/src/tooloem/: New convenience lib. * ipmi-fru/, ipmi-sensors/, ipmi-sel/: Use new convenience lib for common actions of --interpret-oem-data. * common/man/manpage-common-interpret-oem-data.man: Slightly modify statement. * ipmi-dcmi/ipmi-dcmi.8.pre.in: Fix text for exception actions. * ipmi-dcmi/src/ipmi-dcmi.c (_get_power_limit, set_power_limit): Output error messages for special completion codes. 2009-12-15 Holger Liebig * libfreeipmi/src/cmds/ipmi-dcmi-cmds.c, libfreeipmi/include/freeipmi/templates/ipmi-dcmi-cmds-templates.h: Fix incorrect correction_time_limit field sizes. * libfreeipmi/include/freeipmi/spec/ipmi-netfn-spec.h (IPMI_NET_FN_GROUP_EXTENSION, IPMI_NET_FN_OEM_GROUP): Fix macro checks. 2009-12-14 Albert Chu * ipmi-raw/ipmi-raw.8.pre.in: Fix spelling typo. * man/freeipmi.7.pre.in: Fix punctuation typo. * common/man/manpage-common-hostranged-text-threads.man: New file. * common/man/manpage-common-hostranged-text-shell.man: Collapse text into manpage-common-hostranged-text-main.man. Remove file. * Add new documentation to manpages as needed. * ipmipower/ipmipower.8.pre.in: Document how ipmipower is different than other tools in parallelism. 2009-12-14 Albert Chu * libfreeipmi/include/freeipmi/cmds/ipmi-dcmi-cmds.h: Add macros for OEM min/max exception actions. * ipmi-dcmi/src/ipmi-dcmi-argp.c: Fix command line parsing of --activate-deactivate-power-limit. 2009-12-14 Holger Liebig * libfreeipmi/src/cmds/ipmi-dcmi-cmds.c, libfreeipmi/include/freeipmi/templates/ipmi-dcmi-cmds-templates.h: Fix invalid tmpl_cmd_dcmi_get_dcmi_capability_info_enhanced_system_power_statistics_attributes_rs template. * ipmi-dcmi/src/ipmi-dcmi.c (get_asset_tag, _sensor_info_output, get_power_limit, _output_power_statistics): Fix output bugs and typos. 2009-12-14 Albert Chu * common/src/toolhostrange/tool-hostrange-common.c (eliminate_nodes, pstdout_setup): Fix corner case where eliminate option leads to 0 hosts. * Adjust all tools appropriately for change. * ipmidetect/src/ipmidetectd/ipmidetectd_loop.c (_fds_setup): Setup listening socket to be able to more quickly reuse local addresses. * ipmipower/, ipmiconsole/src/libipmiconsole/, ipmidetectd/: Adjust workaround to deal with OSes that will return ECONNRESET or ECONNREFUSED if the IPMI port cannot be reached. * ipmipower/, ipmiconsole/src/libipmiconsole/, ipmidetectd/: Adjust workaround to deal with OSes that will return ECONNRESET or ECONNREFUSED if the IPMI port cannot be reached to not use select(). 2009-12-13 Albert Chu * libfreeipmi/src/util/ipmi-sensor-units-util.c (ipmi_sensor_units_string): Fix output corner case. 2009-12-12 Albert Chu * libfreeipmi/src/api/ipmi-lan-session-common.c: Header file cleanup. * common/src/toolsensor/, common/src/toolcommon/: Adjust macros for cygwin. * ipmipower/, ipmiconsole/src/libipmiconsole/, ipmidetectd/: Adjust workaround to deal with OSes that will return ECONNRESET or ECONNREFUSED if the IPMI port cannot be reached. * Fix compiler warnings. 2009-12-11 Holger Liebig and Albert Chu * ipmipower/, common/src/pingtool/, ipmidetect/src/ipmidetectd/, ipmiconsole/src/libipmiconsole/, libfreeipmi/src/api/: Support workaround to deal with OSes that will return ECONNRESET or ECONNREFUSED if the IPMI port cannot be reached. 2009-12-11 Albert Chu * libfreeipmi/src/api/ipmi-lan-session-common.c (_ipmi_lan_cmd_recv, _ipmi_lan_2_0_cmd_recv): Do not pass from parameter if not necessary. 2009-12-11 Albert Chu Fix up cygwin portability issues. * common/src/portability/freeipmi-portability.h: Do not define log2 if it's already defined. * libfreeipmi/src/driver/ipmi-openipmi-driver.c: Define __USE_LINUX_IOCTL_DEFS as needed. 2009-12-11 Holger Liebig * libfreeipmi/src/locate/ipmi-locate-util.c (locate_set_locate_errnum_by_errno), libfreeipmi/src/sdr-cache/ipmi-sdr-cache-util.c (sdr_cache_set_sdr_cache_errnum_by_errno): Fix logic bugs. 2009-12-11 Albert Chu * doc/freeipmi-faq.texi: Update special section. 2009-12-10 Albert Chu Merge changes from ipmimonitoring_rearch_branch * ipmimonitoring/: Rearch to support more sensor types. 2009-12-10 Albert Chu * libfreeipmi/include/freeipmi/record-format/ipmi-sdr-record-format.h: Cleanup linearization macros. 2009-12-10 Albert Chu * ipmipower/ipmipower.8.pre.in, ipmiconsole/ipmiconsole.8.pre.in: Remove legacy comments. * doc/freeipmi-faq.texi: Add "special" note. * bmc-info/bmc-info.8.pre.in: Fix formatting. 2009-12-10 Albert Chu * libfreeipmi/include/freeipmi/cmds/ipmi-messaging-support-cmds.h: Fix typing inconsistency. * common/src/portability/freeipmi-portability.h: Fix whitespace formatting. 2009-12-09 Albert Chu * ipmi-sel/src/ipmi-sel.c (_normal_output_event): Remove legacy special/unique checks that are no longer needed. * ipmipower/src/ipmipower.c: Fix whitespace. 2009-12-09 Albert Chu * doc/freeipmi-bugs-and-workarounds.txt: Update w/ more stuff. * doc/freeipmi-oem-documentation-requirements.txt: Minor updates. * libfreeipmi/src/sel-parse/ipmi-sel-parse-string.c: Fix whitespace. * libfreeipmi/include/freeipmi/sel-parse/ipmi-sel-parse.h: Fix API documentation. 2009-12-08 Albert Chu * ipmiconsole/, ipmipower/, libfreeipmi/: Support ability to report incompatible crypt library. 2009-12-08 Albert Chu * ipmiconsole/src/libipmiconsole/ipmiconsole_engine.c (ipmiconsole_engine_setup): Fix error message. * doc/freeipmi-testing.txt: Update w/ nice to have sel test. * doc/freeipmi-coding.txt: Update w/ config tools info. 2009-12-07 Albert Chu * ipmi-sel/src/ipmi-sel.c (_display_sel_records): Tweak column size slightly for common scenario. * ipmi-sel/src/ipmi-sel.c (_display_sel_records): Fix output corner case when --ignore-sdr-cache is specified. * doc/freeipmi-testing.txt: Update w/ nice to have sel test. * doc/freeipmi-coding.txt: Update w/ workaround info. 2009-12-07 Albert Chu * ipmi-sensors/src/ipmi-sensors-detailed-output.c (_output_device_type_and_modifier): Fix output corner case. 2009-12-07 Albert Chu * Tagged Release-0_8_0_base. * Branched Release-0_8_0_branch. 2009-12-07 Albert Chu * common/src/: Fix various memleaks. 2009-12-05 Albert Chu * bmc-config/, ipmi-pef-config/, ipmi-chassis-config/, ipmi-sensors-config/: Minor re-arch/code cleanup. 2009-12-04 Albert Chu * doc/freeipmi-bugs-and-workings.txt: Add alert policy workaround for Fujitsu. * ipmi-pef-config/: Support workaround for Alert Policy Config on Fujitsu motherboards. 2009-12-04 Albert Chu * Update comp code macros to more closely match IPMI spec. * Various doc updates. 2009-12-02 Albert Chu * ipmi-oem/: Comment out inventec firmware update support until Dell can verify. 2009-12-02 Albert Chu * Tagged Release-0_8_0_beta7. 2009-12-02 Albert Chu * Fix comments. * ipmi-oem/: Re-architect for oem command specific completion codes. 2009-12-01 Albert Chu * ipmi-oem/: Support inventec firmware update. 2009-11-30 Albert Chu * ipmi-oem/: Complete Fujitsu OEM commands. * ipmi-oem/: Code cleanup. * ipmi-oem/: Rename "get/set-nic-status" to "get/set-nic-mode" for consistency to OEM doc. 2009-11-26 Albert Chu * ipmi-oem/: add flags for future use needs. 2009-11-26 Albert Chu * libfreeipmi/: Fix templates given dcmi reorg. 2009-11-25 Cyril Brulebois * Fix portability issue for kfreebsd. 2009-11-25 Albert Chu * libfreeipmi/: Re-org dcmi to be organized like oem extensions instead of in separate directory. * freeipmi.spec.in: Update for change. 2009-11-24 Albert Chu * libfreeipmi/: Support reading raw readings from sensor-read library. * freeipmi.spec.in: Add missing docs. * libfreeipmi/: Increase KCS retry/timeout for ipmb messages. * libfreeipmi/: Fix error message output corner case. 2009-11-24 Albert Chu * ipmi-oem/: Fix Fujitsu OEM command. 2009-11-24 Albert Chu * Support debug dumping in openipmi driver for ipmb requests. 2009-11-23 Albert Chu * ipmi-oem/: Support additional Fujitsu OEM commands. * libfreeipmi/src/util/ipmi-sensor-units-util.c: Make interesting output combination cleaner. 2009-11-23 Albert Chu * Tagged Release-0_8_0_beta6. 2009-11-22 Albert Chu * libfreeipmi/: Various code cleanup. Support raw ipmb. * ipmi-raw/: Support bridging. 2009-11-19 Albert Chu * Continue code cleanup. * ipmi-sensors/: Fix output corner case. 2009-11-18 Albert Chu * libfreeipmi/: Support sensor bridging across different channels. * libfreeipmi/src/debug/: Fix rmcpplus ipmb output corner case. * libfreeipmi/src/api/: Fix ipmi 2.0 ipmb bridging. 2009-11-17 Albert Chu * ipmi-sensors/: Fix debug output typos. 2009-11-16 Albert Chu * Tagged Release-0_8_0_beta5. 2009-11-14 Yaroslav Halchenko * ipmi-sensors/: Fix output typo "Nominal reading" -> "Nominal Reading". 2009-11-13 Albert Chu * ipmi-oem/: Support Fujitsu OEM commands from online documentation. 2009-11-13 Albert Chu * Fix documentation typos. 2009-11-12 Yaroslav Halchenko * Fix manpage comments. 2009-11-10 Albert Chu * common/src/toolhostrange/, contrib/: Update copyrights. 2009-11-06 Albert Chu * ipmiconsole/src/libipmiconsole/ipmiconsole_processing.c (_ipmi_retransmission_timeout): On excessive retransmissions, error with "connection timeout" if we are at the beginning of the protocol. * ipmiconsole/src/libipmiconsole/ipmiconsole_processing.c (_check_try_new_port): Add special case. If reported console port is the wrong endian, flip it back to the right endian. * ipmiconsole/src/libipmiconsole/ipmiconsole_processing.c (_process_protocol_state_close_session_sent): Fix corner case dealing with console port change. 2009-11-06 Albert Chu * Document SOL bugs on Supermicro X8DTH-iF. 2009-11-06 Albert Chu * ipmi-pef-config/: Support hex codes for event filter sensor types. 2009-11-06 Albert Chu * ipmi-pef-config/ipmi-pef-config.8.pre.in: Fix typo. 2009-11-04 Albert Chu * Support "skip sol activation status" workaround for ipmiconsole/libipmiconsole. 2009-11-04 Albert Chu * Cleanup documents and code, i.e. != e.g. * Add more documentation. 2009-11-03 Albert Chu * libfreeipmi/include/freeipmi/sdr-cache/, libfreeipmi/src/sdr-cache/: Remove ability to check for duplicate sensor numbers, is invalid b/c of different slave addresses. 2009-11-02 Albert Chu * Tagged Release-0_8_0_beta4. 2009-11-02 Albert Chu * doc/freeipmi-oem-documentation-requirements.txt: New doc. 2009-10-28 Albert Chu * Fix corner case. 2009-10-26 Albert Chu * Various code cleanup. * common/src/toolcommon/tool-cmdline-common.h, common/src/toolcommon/tool-cmdline-common.c: Return errors on bad workaround flags. Split out tool specific workaround flags. * ipmi-fru/, ipmi-sel/: Make tool specific workaround flags. 2009-10-23 Albert Chu * ipmiconsole/src/ipmiconsole/: Output escape menu with appropriate escape char. 2009-10-23 Albert Chu * Tagged Release-0_8_0_beta3. 2009-10-22 Albert Chu * Fix Netbsd portability bugs discovered by John Heasley . * ipmiconsole/src/libipmiconsole/ipmiconsole_engine.c (ipmiconsole_engine_thread_create): Fix pthread corner case found by John Heasley . 2009-10-15 Albert Chu * libfreeipmi/src/sel-parse/: Fix/enhance Dell SEL event interpretations. 2009-10-14 Albert Chu * ipmi-sensors/, ipmimonitoring/, common/src/toolcommon/, etc/: Fix config file parsing or documentation bugs. 2009-10-14 Albert Chu * common/src/toolhostrange/pstdout.c (_pstdout_output_consolidated_finish): Fix typo. * common/src/toolhostrange/pstdout.c: Up output buffer size. 2009-10-13 Albert Chu * ipmi-sel/, ipmi-fru/: Add motherboard documentation. 2009-10-13 Albert Chu * ipmi-sel/: Change verbosity defaults. * libfreeipmi/src/util/ipmi-sensor-and-event-code-tables-util.c (ipmi_event_message_separator): New function. * libfreeipmi/src/sel-parse/: Use ipmi_event_message_separator appropriately for event messages. * libfreeipmi/src/util/ipmi-sensor-and-event-code-tables-util.c: Tweak message outputs appropriately for consistency and correctness. * Tagged Release-0_8_0_beta2. 2009-10-12 Albert Chu * ipmi-sel/: Support --tail option. 2009-10-05 Albert Chu * Support shared sensors w/ event only sdr records. * doc/: Various tweaks. 2009-10-05 Albert Chu * Tagged Release-0_8_0_beta1. 2009-10-05 Albert Chu * libfreeipmi/include/freeipmi/cmds/ipmi-bmc-watchdog-timer-cmds.h: Fix macro calculation bug. 2009-10-02 Albert Chu * Change --show-sensor-type back to --no-sensor-type-output. Adjust for logical change in option. * ipmi-sel/, common/src/toolsensor/: Fix column alignmnent corner case. * ipmi-sel/: Collapse event and event detail into one column. * ipmi-sel/, libfreeipmi/src/sel-parse/: Fix record id column alignment. 2009-10-01 Jan Safranek * Fix LSB compliance issues with bmc-watchdog and ipmidetectd init scripts, logrotate, and sysconfig file naming. 2009-10-01 Albert Chu * Change --no-sensor-type-output to --show-sensor-type. Adjust for logical change in option. * Support --no-header-output option in ipmi-sel, ipmi-sensors, and ipmimonitoring. * ipmi-sel/, libfreeipmi/src/sel-parse/: Tweak output. 2009-09-30 Albert Chu * Change --no-sensor-type to --no-sensor-type-output. * common/man/: Various cleanup. * libfreeipmi/src/util/ipmi-sensor-and-event-code-tables-util.c: Make FRU state event data 2 output more detailed. * freeipmi.spec.in: Add ipmidetectd.conf. 2009-09-29 Albert Chu * Suppoert --no-sensor-type in ipmi-sel, ipmi-sensors, and ipmimonitoring. * libfreeipmi/src/fru-parse/: Handle no information corner case. 2009-09-28 Albert Chu * libfreeipmi/src/sensor-read/ipmi-sensor-read.c: Fix error return code corner case. 2009-09-26 Albert Chu * libfreeipmi/src/sel-parse/: Code cleanup, split out OEM interpretations into vendor specific files. 2009-09-24 Albert Chu * Fix make distcheck. 2009-09-24 Jan Safranek * bmc-watchdog/freeipmi-bmc-watchdog.init, ipmidetectd/freeipmi-ipmidetectd.init: Various fixes to make init scripts LSB compliant. * ipmidetect/ipmidetectd.conf: New file. 2009-09-24 Albert Chu * ipmidetect/freeipmi-ipmidetectd.init, bmc-watchdog/freeipmi-bmc-watchdog.init: untabify, cleanup formatting. 2009-09-23 Albert Chu * ipmi-oem/: Support get/set power management on inventec. * ipmi-oem/: Support get/set leds on sun. * ipmi-oem/: Various cleanup. * ipmi-sensors/, libfreeipmi/: Make generic device locator and management controller sdr records have entity instance and type. Adjust code in sdr-parse appropriately, adjust ipmi-sensors appropriately. * ipmi-oem/, common/src/toolsensor/: Support Sun LED get/set. 2009-09-22 Albert Chu * ipmi-dcmi/: Fix output corner case. * libfreeipmi/src/dcmi/: Fix get sensor info corner case. * libfreeipmi/src/sel-parse/: Add inventec port80 code event interpretation. * ipmi-oem/: Add set-system-guid for inventec. Add set-asset-tag for dell. * ipmi-oem/: Add set-fcb-version for dell. Add get/set board id. * ipmi-oem/: Add get/set web-server-config for inventec. * ipmi-oem/: Add get/set authentication config for inventec. 2009-09-21 Albert Chu * libfreeipmi/include/freeipmi/spec/ipmi-device-types-spec.h, libfreeipmi/include/freeipmi/spec/ipmi-device-types-oem-spec.h: New files. * libfreeipmi/src/spec/ipmi-sensor-and-event-code-tables-spec.c, libfreeipmi/src/spc/ipmi-sensor-and-event-code-tables-oem-spec.c: New files. * libfreeipmi/include/freeipmi/spec/ipmi-sensor-and-event-code-tables-spec.h, libfreeipmi/include/freeipmi/spec/ipmi-sensor-and-event-code-tables-oem-spec.h: Make string arrays of offsets public. * libfreeipmi/src/spec/ipmi-device-types-spec.c: New files. * libfreeipmi/include/freeipmi/util/ipmi-device-types-util.h, libfreeipmi/src/util/ipmi-device-types-util.c: New files * ipmi-sensors/src/: Support device type and device modifier string outputs. Support oem outputs in generic device locators. 2009-09-18 Albert Chu * libfreeipmi/src/utils/ipmi-sensor-and-event-code-tables-util.c: Fix corner case in system firmware progress error data2 output. * libfreeipmi/include/freeipmi/spec/ipmi-sensor-and-event-code-tables-spec.h: Add event data2 and data3 macros. * libfreeipmi/src/sel-parse/: Fix Dell OEM interpretations. * Various code cleanup. 2009-09-17 Albert Chu * ipmi-oem/: Add inventec restore-to-defaults. * ipmi-oem/: Add inventec read/clear eeprom support. 2009-09-16 Albert Chu * common/man/manpage-common-legacy-output.man: Update text. * ipmi-sensors/, ipmimonitoring/: Support --shared-sensors option. 2009-09-16 Albert Chu * ipmi-sensors/, ipmimonitoring/, ipmi-sel/, libfreeipmi/: Rename sensor "group" to sensor "type" globally for consistency to IPMi spec. 2009-09-15 Albert Chu * bmc-device/: Add error check for generator id input. 2009-09-14 Albert Chu * bmc-device/: Support --platform-event option. * Manpage additions. 2009-09-11 Albert Chu * libfreeipmi/src/sel-parse/ipmi-sel-parse-string.c: Fix and add new Dell interpretations based on Dell specs. 2009-09-10 Albert Chu * libfreeipmi/include/freeipmi/spec/ipmi-cmd-oem-spec.h: New file. * libfreeipmi/include/freeipmi/spec/ipmi-chassis-boot-options-parameter-oem-spec.h: New file. * libfreeipmi/include/freeipmi/spec/ipmi-lan-parameter-oem-spec.h: New file. * libfreeipmi/include/freeipmi/spec/ipmi-pef-parameter-oem-spec.h: New file. * libfreeipmi/include/freeipmi/spec/ipmi-serial-modem-parameter-oem-spec.h: New file. * libfreeipmi/include/freeipmi/spec/ipmi-sol-parameter-oem-spec.h: New file. * libfreeipmi/include/freeipmi/spec/ipmi-system-info-parameter-oem-spec.h: New file. * libfreeipmi/include/freeipmi/spec/ipmi-netfn-oem-spec.h: New file. * libfreeipmi/include/freeipmi/spec/ipmi-comp-code-oem-spec.h: New file. * libfreeipmi/include/freeipmi/spec/ipmi-system-info-parameter-spec.h: Rename from ipmi-system-info-parameter-spec.h (plural parameters). * libfreeipmi/include/freeipmi/spec/ipmi-product-id-spec.h: New file, rename from ipmi-oem-spec.h. * Various code cleanup using new macros. 2009-09-09 Albert Chu * ipmidetectd/ipmidetectd.conf.5.pre.in: Fix typo. * libfreeipmi/include/freeipmi/spec/ipmi-slave-address-oem-spec.h: New file. * libfreeipmi/include/freeipmi/spec/ipmi-sensor-numbers-oem-spec.h: New file. * libfreeipmi/include/freeipmi/spec/ipmi-sensor-and-event-code-tables-spec.h: New file. * Various code cleanup using new macros. * ipmimonitoring/: Update for consistency. Update w/ ipmi errata additions. * libfreeipmi/src/util/ipmi-sensor-and-event-code-tables-util.c: Update for errata changes. * libfreeipmi/include/freeipmi/spec/ipmi-sensor-and-event-code-tables-oem-spec.h: New file. 2009-09-08 Albert Chu * Rename ipmi-vendor-spec.h to ipmi-oem-spec.h. * libfreeipmi/include/freeipmi/spec/ipmi-sensor-types-oem-spec.h: New file. * libfreeipmi/include/freeipmi/spec/ipmi-event-reading-type-code-oem-spec.h: New file. * Various code cleanup using new macros. 2009-09-04 Albert Chu * Various code cleanup. 2009-09-03 Albert Chu * libfreeipmi/include/freeipmi/util/ipmi-iana-enterprise-numbers-util.h, libfreeipmi/src/util/ipmi-iana-enterprise-numbers-util.c: New files. * libfreeipmi/, bmc-info/, ipmi-sensors/, ipmi-fru/: Use new utility function appropriately. * libfreeipmi/: Add supermicro iana support. * libfreeipmi/, ipmi-sensors/: Support Supermicro oem sensors. 2009-09-02 Albert Chu * Code cleanup, "macroize" a lot of code. 2009-09-01 Albert Chu * Update IANA enterprise numbers array. * libfreeipmi/include/freeipmi/spec/ipmi-vendor-spec.h: New file. * Update code to use macros from vendor spec. * Add and use macros for ipmi 1.5 and ipmi 2.0. * Macroize system event record code. * Macroize event type codes. * Adjust ipmimonitoring event type codes appropriately. * Macroize sensor types throughout. 2009-08-31 Albert Chu * Document workarounds necessary for newer Supermicro motherboards. Various commenting cleanup. 2009-08-27 Albert Chu * libfreeipmi/src/sel-parse/: Add additional Dell OEM interpretations. 2009-08-26 Albert Chu * libfreeipmi/src/sel-parse/: Add additional Dell OEM interpretations. * ipmi-sel/, libfreeipmi/src/sel-parse/: Support ipmi version in OEM interpretations. 2009-08-25 Albert Chu * ipmi-oem/: Fix Dell power capacity output. 2009-08-25 Albert Chu * ipmi-sel/: Rename --delete-all to --clear for consistency to IPMI spec. * libfreeipmi/src/sel-parse/: Cleanup OEM code. * ipmi-sensors/: Cleanup OEM code. 2009-08-24 Albert Chu * ipmi-oem/: Fix Dell active directory output. Support type configuration. * ipmi-oem/: Output potential key=value pair inputs when user does not specify any. 2009-08-24 Albert Chu * bmc-info/: Re-work format of interpret-oem-data output. * bmc-device/: Add --set-system-firmware-version, --set-system-name, --set-primary-operating-system-name, and --set-operating-system-name support. 2009-08-21 Albert Chu * ipmi-sel/: Support --assume-system-event-records. * bmc-config/, ipmi-pef-config/: Report some fatal errors under non-veborse mode. 2009-08-21 Albert Chu * libfreeipmi/, ipmipower/, common/man/: Support 'authcap' workaround for motherboard that do not properly report authentication support. 2009-08-21 Albert Chu * ipmi-sel/, libfreeipmi/src/sel-parse/: Support Dell OEM sel event. * ipmi-raw/: Change default privilege from user to admin. * etc/freeipmi.conf: Document correct default privileges. 2009-08-20 Albert Chu * ipmi-oem/: Support supermicro get extra firmware info. 2009-08-19 Albert Chu * freeipmi.spec.in: Update URL to gnu.org. * ipmi-oem/: Complete get active directory config. * ipmi-oem/: Complete set active directory config. 2009-08-18 Albert Chu * ipmi-oem/: Redo Dell additions due to extra info given from Dell. * ipmi-oem/: Redo "api" to set various dell configurations. * ipmi-oem/: Begin active directory config support. 2009-08-17 Albert Chu * Collapse get authentication capabilities v1.5 and v2.0 into one template, function, packet, etc. throughout. * Collapse set user password v1.5 and v2.0 into one template, function, packet, etc. throughout. * Various minor code cleanup. 2009-08-13 Albert Chu * ipmi-oem/: Redo Dell additions due to extra info given from Dell. 2009-08-13 Albert Chu * libfreeipmi/src/sdr-cache/ipmi-sdr-cache-create.c (ipmi_sdr_cache_create): Add workaround for Fujitsu RX 100. 2009-08-10 Albert Chu * libfreeipmi/src/fru-parse/ipmi-fru-parse.c (ipmi_fru_parse_next): Fix parsing corner case. 2009-08-10 Albert Chu * common/src/toolsdr/tool-sdr-cache-common.c (sdr_cache_create): Fix output corner case. 2009-08-08 Albert Chu * ipmi-oem/: Code cleanup. * common/src/configtool/: Support invalid/unsupported data non-fatal error. 2009-08-07 Albert Chu * ipmi-oem/: Support verbose option. * ipmi-oem/: Suppor dell get/set services commands. 2009-08-06 Albert Chu * ipmi-oem/: Support Dell reset-to-defaults command. * common/src/debugutil/, libfreeipmi/: Properly handle group extensions in debug output. Support better OEM debug output. * ipmi-oem/: Support special "list" OEM ID. 2009-08-06 Albert Chu * bmc-config/src/bmc-config-lan-conf-user-security.h, bmc-config/src/bmc-config-lan-conf-user-security.c: New files. * bmc-config/src/: Support Bad Password Threshold configuration. * libfreeipmi/: Support 'change bits' flag in set user access command. * common/src/configtool/: Allow empty strings as valid empty on command line. 2009-08-05 Albert Chu * libfreeipmi/: Update Full Sensor Record for errata 372 changes. * libfreeipmi/: Support session handle in close session (errata 387). * libfreeipmi/include/freeipmi/spec/ipmi-netfn-spec.h: Add Group Extension codes, OEM Group codes, Group Extension Identification, and extra macros. * libfreeipmi/src/dcmi/, common/src/debugutil/: Update to use new macros appropriately and output more correct output. * libfreeipmi/src/util/: Update sensor and event code tables for new errata. * ipmi-sel/, libfreeipmi/src/sel-parse/: Handle unique corner case output of new sensor type events from errata. * libfreeipmi/include/freeipmi/cmds/, libfreeipmi/src/cmds/, ipmi-chassis-config/: Support new boot flag options. * libfreeipmi/: Supporte HMAC-SHA256 macros. * libfreeipmi/include/freeipmi/spec/: Update entity ids from errata. * libfreeipmi/: Support LAN config bad password threshold. 2009-08-04 Albert Chu * bmc-config/: Fix bmc-config corner case, assume LAN channel is SOL Payload Channel cannot be read. * ipmi-oem/: Support Dell OEM for power capacity management. 2009-08-04 Albert Chu * ipmi-oem/: Support Dell OEM for avg and peak power history. 2009-08-03 Albert Chu * ipmi-oem/: Support Dell OEM to read NIC MAC addresses. * ipmi-oem/: Support Dell power supply info OEM command. * libfreeipmi/src/sel-parse/, ipmi-sel/: Add additional Inventec OEM interpretations. * ipmi-oem/: Support Dell instantaneous power and Dell headroom OEM commands. 2009-08-02 Albert Chu * ipmi-oem/: Support 'list' command to all OEM IDs. 2009-08-01 Albert Chu * common/src/configtool/config-tool-utils.h, common/src/configtool/config-tool-utils.c (config_is_non_fatal_error): New function. * bmc-config/, common/src/configtool/, ipmi-pef-config/, ipmi-chassis-config/: Use config_is_non_fatal_error appropriately. 2009-07-31 Albert Chu * ipmi-oem/: Support Dell get/set NIC selection. 2009-07-31 Albert Chu * libfreeipmi/, ipmi-sensors/, ipmi-sel/, bmc-info/: Collapse API "BAD_COMPLETION_CODE" variants into single "BAD_COMPLETION_CODE" error code. * common/src/configtool/: Output "Not Supported" for fields that are not supported. * Various code cleanup. 2009-07-30 Albert Chu * bmc-config/: Configure "Password" before "Enable_User" for security. * bmc-config/: Workaround Dell Poweredge lan_conf_auth settings. 2009-07-30 Albert Chu * bmc-config/: Fix Lan Session Limit corner case. * bmc-config/: Workaround Dell Poweredge enable user bug. 2009-07-29 Albert Chu * bmc-info/: Support Dell Poweredge R610 Aux Info. 2009-07-25 Albert Chu * ipmi-oem/: Support Dell get/set sol inactivity timeout. 2009-07-25 Albert Chu * ipmi-oem/: Support get/set-bmc-services. 2009-07-24 Albert Chu * common/man/manpage-common-oem-interpretation.man: New file. * bmc-info/, ipmi-sel/: Begin documentation of motherboards supported through --interpret-oem-data. * libfreeipmi/include/freeipmi/util/ipmi-sensor-and-event-code-tables-util.h, libfreeipmi/src/util/ipmi-sensor-and-event-code-tables-util.c: Make parameter types consistent to rest of FreeIPMI. * libfreeipmi/include/freeipmi/util/ipmi-sensor-and-event-code-tables-util.h, libfreeipmi/src/util/ipmi-sensor-and-event-code-tables-util.c (ipmi_get_oem_generic_event_message, ipmi_get_oem_sensor_type_code_message): New functions. * ipmi-sensors/, ipmi-sel/: Support Dell Poweredge R610 sensors. * Add documentation throughout on what motherboards are OEM supported. 2009-07-16 Albert Chu * ipmi-oem/: Support Dell get-fcb-version command. * ipmi-oem/: Re-arch dell oem options. 2009-07-13 Albert Chu * ipmi-oem/: Support Dell get-product-name command. 2009-07-09 Fillod Stephane , Albert Chu * configure.ac, libfreeipmi/: Support --without-encryption build option. 2009-07-09 Fillod Stephane * configure.ac: Fix macro name typo. * configure.ac, common/src/portability/freeipmi-portability.h: Add portability for cbrt. * common/src/toolcommon/tool-cmdline-common.c (verify_common_cmd_args): Do not check for execute permissions on driver device. 2009-07-08 Albert Chu * libfreeipmi/: Get Device ID response field "auxiliary_firmware_revision_information" is optional. * libfreeipmi/: Support IPMI_FLAGS_NO_VALID_CHECK flags. Support new functions ipmi_ctx_get_flags and ipmi_ctx_set_flags. * libfreeipmi/src/sensor-read/: Probably support workarounds w/ IPMI_FLAGS_NO_VALID_CHECK. 2009-07-06 Albert Chu * libfreeipmi/src/sel-parse/: Add Inventec 5441 Memory Error OEM interpretation. * ipmi-sel/src/: Alter event data output conditions. * libfreeipmi/src/sel-parse/: Do not output oem codes when they are unspecified (i.e. 0xFF). 2009-07-01 Albert Chu * libfreeipmi/src/sensor-read/ipmi-sensor-read.c (_sensor_reading_corner_case_checks): Accept IPMI_COMP_CODE_REQUEST_PARAMETER_NOT_SUPPORTED as an ok error code. * libfreeipmi/src/api/ipmi-lan-session-common.c: Fix potential segfault corner cases. * libfreeipmi/src/sel-parse/: Alter date output format to be consistent to other tools. 2009-06-30 Albert Chu * ipmi-oem/: Support dell oem commands. * libfreeipmi/include/freeipmi/spec/ipmi-netfn-spec.h: Fix IPMI_NET_FN_RQ_VALID and IPMI_NET_FN_RS_VALID to allow OEM network functions. * libfreeipmi/src/api/: Support debug hex output for openipmi/sunbmc on raw commands. * tagged post_dell_oem 2009-06-29 Albert Chu * tagged pre_dell_oem * libfreeipmi/: Add generic get/set system_info, pef_configuration_parameters, lan_configuration_parameters, serial_configuration_parameters, and sol_configuration_parameters functions. Allowing OEM parameter selectors for potential OEM configuration. 2009-06-26 Albert Chu * libfreeipmi/: Add get/set bmc global enables support. * bmc-device/: Support --get-bmc-global-enables. * libfreeipmi/include/freeipmi/templates/: Add additional documentation. Add forgotten templates. 2009-06-24 Albert Chu * tagged pre_ipmipower_err_handling * ipmipower/src/ipmipower_error.h, ipmipower/src/ipmipower_error.c: New files. * ipmipower/src/ierror.h, ipmipower/src/ierror.c: Remove files. * ipmipower/: Various re-arch to make tool more like other FreeIPMI tools. Use new debug libs. * tagged post_ipmipower_err_handling 2009-06-24 Albert Chu * ipmipower/src/ipmipower.h: Fix assert bug. 2009-06-24 Albert Chu * common/src/toolsensor/, ipmimonitoring/, ipmi-sel/: Support of --entity-sensor-names option. * ipmi-sensors/: Clarify Entity-ID output. * common/man/manpage-common-entity-sensor-names.man: New file. * common/src/toolcommon/: Support entity-sensor-names in config file. * Various code cleanup. 2009-06-23 Albert Chu * doc/freeipmi-testing.txt: New file. 2009-06-23 Albert Chu * bmc-info/: Support --get-system-info option. When options dictate it, output system info. * common/src/toolsensor/, ipmi-sensors/: Begin support of --entity-sensor-names option. 2009-06-23 Albert Chu * libfreeipmi/include/freeipmi/util/ipmi-sensors-util.h, libfreeipmi/src/util/ipmi-sensors-util.c (ipmi_sensor_decode_tolerance, ipmi_sensor_decode_accuracy, ipmi_sensor_decode_resolution): New functions. * libfreeipmi/include/freeipmi/sdr-parse/ipmi-sdr-parse.h, libfreeipmi/src/sdr-parse/ipmi-sdr-parse.c (ipmi_sdr_parse_tolerance, ipmi_sdr_parse_accuracy): New functions. * ipmi-sensors/: Support accuracy, resolution, and tolerance output. 2009-06-22 Albert Chu * libfreeipmi/src/sel-parse/: Use short messages not long ones. * ipmimonitoring/: Remove short option 'i' for --ignore-not-interpretable-sensors. * ipmi-sensors/, common/src/toolcommon/: Add --ignore-not-available-sensors option. * ipmimonitoring/ipmimonitoring.8.pre.in: Note different between --ignore-not-interpretable-sensors and --ignore-na-sensors in ipmi-sensors. * libfreeipmi/include/freeipmi/sdr-parse/, libfreeipmi/src/sdr-parse/ (ipmi_sdr_parse_sensor_reading_ranges_specified): New function. * ipmi-sensors/: Do not output Nominal, Normal Min., Normal Max. reading unless SDR flags indicate unavailable. * libfreeipmi/include/freeipmi/sdr-parse/, libfreeipmi/src/sdr-parse/ (ipmi_sdr_parse_sensor_direction): New function. * ipmi-sensors/: Output sensor direction under very verbose output. 2009-06-21 Albert Chu * ipmi-oem/src/: Add options output into --list output, remove description output. * libfreeipmi/: Make ipmi_entity_ids_pretty array. 2009-06-20 Albert Chu * libfreeipmi/src/fru-parse/: Handle FRU parsing corner case. * libfreeipmi/: Add get system guid command. Add system info commands. * libfreeipmi/: Make configuration parameter data fields optional. * bmc-config/, ipmi-pef-config/, common/src/configtool/: Code cleanup. * libfreeipmi/: Add master write read support. * Various code cleanup. 2009-06-19 Albert Chu * libfreeipmi/src/fru-parse/: Handle FRU read corner case. 2009-06-19 Albert Chu * ipmi-sensors/src/ipmi-sensors.c: Software sensors output "N/A" instead of "Unknown" now. * libfreeipmi/include/freeipmi/spec/ipmi-comp-code-spec.h, libfreeipmi/src/util/ipmi-error-util.c: Add "Send Message" specific completion codes. * libfreeipmi/src/sensor-read/: Consider "message timeout" errors a "sensor reading unavailable" error so tools can continue on. * libfreeipmi/src/api/: Consider multiple additional error codes/completion codes for "message timeout" error code instead of "ipmi" error. 2009-06-18 Albert Chu * libfreeipmi/include/freeipmi/api/ipmi-api.h, libfreeipmi/src/api/ipmi-api.c (ipmi_ctx_find_inband): New function. * common/src/toolcommon/tool-common.c, ipmimonitoring/src/libipmimonitoring/ipmi_monitoring_ipmi_communication.c: Use new ipmi_ctx_find_inband call. * Update some documentation. 2009-06-17 Albert Chu * libfreeipmi/include/freeipmi/util/ipmi-outofband-util.h, libfreeipmi/src/util/ipmi-outofband-util.c: New files. * libfreeipmi/include/freeipmi/util/, libfreeipmi/src/util/, ipmipower/, ipmiconsole/, libfreeipmi/src/api/: Support common session sequence number checking functions, authentication capabilities checks, and open session response checks. * Various code cleanup. 2009-06-11 Albert Chu * libfreeipmi/src/sel-parse/: Re-architect code to allow --display and --display-range command to work much more quickly. * ipmi-sel/src/: Update appropriately for API changes. 2009-06-11 Albert Chu * common/man/manpage-common-workaround-sol-only-text.man: Add new motherboard to solpayloadsize workaround. 2009-06-11 Albert Chu * Continue unassemble rework. * tagged pre_fiid_required_rearch * Support FIID_FIELD_MAKES_PACKET_VALID flag in fiid. Add FIID_FIELD_MAKES_PACKET_VALID to all respective fields in reponse packets. * tagged post_fiid_required_rearch * Slighlty rework FIID_FIELD_MAKES_PACKET_VALID to mean "sufficient" if set, not "if only" set. * tagged pre_fiid_required_rearch2 * Rework fiid to make FIID_FIELD_MAKES_PACKET_VALID to FIID_FIELD_MAKES_PACKET_SUFFICIENT. Add new API functions appropriately. * Adjust interfaces to check for packet sufficiency, not validity. * tagged post_fiid_required_rearch2 * Add packet payload validity checks to ipmipower, ipmiconsole, libfreeipmi API. * ipmipower/src/ipmipower_powercmd.c (ipmipower_powercmd_queue): Fix Sun 2.0/Open Session Privilege workaround. * libfreeipmi/src/api/ipmi-api-util.c (api_ipmi_cmd_ipmb), ipmipower/, ipmiconsole/: Add packet validity checks. * Various code cleanup and minor bug fixes. * tagged post_unassemble_rearch 2009-06-10 Albert Chu * tagged pre_unassemble_rearch * Re-work all 'unassemble' code to return 1 if packet was fully parsed vs. not fully parsed. * libfreeipmi/src/debug/: Handle more corner cases. Handle ability to dump data under more bad situations. Consolidate and cleanup code. 2009-06-10 Albert Chu * common/man/manpage-common-workaround-text.man: Add additional motherboard details. 2009-06-10 Albert Chu * ipmiconsole/src/ipmiconsole/ipmiconsole.c: Consider IPMICONSOLE_ERR_BMC_IMPLEMENTATION as a non-fatal error too. 2009-06-09 Albert Chu * libfreeipmi/src/sensor-read/ipmi-sensor-read.c (_sensor_reading_corner_case_checks): Ignore IPMI_COMP_CODE_COMMAND_CANNOT_RESPOND get sensor reading errors. 2009-06-09 Dave Love * common/man/manpage-common-workaround-sol-only-text.man, common/man/manpage-common-workaround-text.man: Add additional motherboard details. 2009-06-09 Albert Chu * Perform "open session privilege" workaround when specifying "Sun 2.0" workaround. 2009-06-09 Albert Chu * common/src/toolcommon/tool-common.c (ipmi_open): Fix workaround flags setting. 2009-06-09 Albert Chu * libfreeipmi/src/api/ipmi-api.c: Fix assert corner case. 2009-06-08 Albert Chu * ipmipower/src/ipmipower_wrappers.h, ipmipower/src/ipmipower_wrappers.c: Removed files. * ipmipower/src/: Cleanup, do not use wrappers. Output errors correctly. * tagged post_wrapper_cleanup 2009-06-05 Albert Chu Variety of code cleanup. * libfreeipmi/src/api/ipmi-lan-session-common.c, ipmipower/src/: Re-architect code such that packets only check fields that are necessary. Re-architect code to handle packet "processing" outside of "verification" functions. * Update comments with key-word "Compliance" when related to IPMI compliance issues. * libfreeipmi/src/api/: Re-architect to not retransmit close session commands when closing a session. * ipmiconsole/src/libipmiconsole/: Remove use of fiid wrappers. * ipmiconsole/src/libipmiconsole/ipmiconsole_fiid_wrappers.h, ipmiconsole/src/libipmiconsole/ipmiconsole_fiid_wrappers.c: Remove files. * tagged pre_wrapper_cleanup * ipmipower/src/wrappers.h, ipmipower/src/wrappers.c: Removed files. * ipmipower/src/ipmipower_util.h, ipmipower/src/ipmipower_util.c: New files. * ipmipower/src/: Cleanup, do not use wrappers. Output error outputs consistently to other tools. * ipmipower/src/, libfreeipmi/src/api/, ipmiconsole/src/libipmiconsole/: Properly iterate over sendto/recvfrom when ok errors occur. * ipmiconsole/src/libipmiconsole/: Properly iterate over poll when ok errors occur. 2009-06-04 Albert Chu * freeipmi.spec.in: Add dcmi additions. * libfreeipmi/src/debug/ipmi-debug-kcs.c: Renamed to ipmi-debug-inband.c. * libfreeipmi/ (ipmi_debug_ssif_packet): New function. * libfreeipmi/: Support more detailed SSIF packet dumps. 2009-06-04 Albert Chu * Due to a CVS crash on Savannah on 2009-05-31, redo a number of changes from 2009-05-28. It is possible tags listed below on 2009-05-28 are no longer valid. 2009-06-04 Albert Chu * libfreeipmi/include/freeipmi/templates/ipmi-dcmi-templates.h: Add forgotten file. 2009-05-28 Albert Chu * ipmimonitoring/src/ipmimonitoring/ipmimonitoring.c (_convert_to_ipmimonitoring_options): Fix sunbmc corner case. * ipmimonitoring/src/libipmimonitoring/ipmi_monitoring_ipmi_communication.c (_inband_init): Check workaround flags appropriately. * common/src/toolcommon/tool-common.c (ipmi_open), ipmimonitoring/src/ipmimonitoring/: Fix in-band communication bug when workaround flags for non-inband are specified. 2009-05-28 Albert Chu * tagged finished_remove_legacy * Revert removal of options and legacy support. Went too aggressive. * tagged unfinished_remove_legacy * common/src/toolcommon/tool-cmdline-common.h: Code cleanup, remove excess macros. * tagged redo_remove * "Re-claim" short options in ipmipower, ipmi-chassis, ipmi-raw, ipmi-sel, ipmiconsole. * tagged redo_remove_done * ipmiconsole/src/ipmiconsole/: Remove legacy 'c' short option. * ipmipower/ipmipower.8.pre.in.: Remove short options. 2009-05-27 Albert Chu * tagged pre_remove_many_short_options * "Re-claim" short options in ipmipower, ipmi-chassis, ipmi-raw, ipmi-sel, ipmiconsole. * tagged post_remove_many_short_options * tagged pre_remove_legacy_options * Remove general legacy options. * Remove some legacy options from ipmipower and ipmimonitoring. * tagged post_remove_legacy_options * ipmiconsole/src/ipmiconsole/ipmiconsole_.h: Fix comment. * tagged pre_remove_legacy_config * common/src/toolcommon/tool-config-file-common.c: Remove some legacy options. * tagged post_remove_legacy_config * ipmipower/src/ipmipower/ipmipower_prompt.c: Remove more backwards compatability interactive mode options. * bmc-watchdog/src/: Remove legacy short options. 2009-05-26 Albert Chu * libfreeipmi/include/freeipmi/dcmi/ipmi-dcmi.h, libfreeipmi/include/freeipmi/templates/ipmi-dcmi-templates.h, libfreeipmi/src/dcmi/ipmi-dcmi.c: New files. * libfreeipmi/include/freeipmi/freeipmi.h: Update appropriately for new support. * doc/freeipmi-libraries.txt, libfreeipmi/libfreeipmi.3.pre.in: Update with dcmi sub-lib info. * ipmi-dcmi/: New tool. * common/src/debugutil/: Support DCMI in debug output. * etc/, man/, common/src/toolcommon/: Support DCMI in config file. * COPYING.ipmi-dcmi, DISCLAIMER.ipmi-dcmi: New files. 2009-05-26 Albert Chu * ipmi-sensors/, ipmimonitoring/: Support "all" and "none" for command line record-ids and groups options. * ipmi-sel/: Support --exclude-display and --exclude-display-range. 2009-05-26 Albert Chu * ipmi-sensors/, ipmimonitoring/, common/: Give --record-ids "priority" over --groups. Re-org code, cleanup code, redo documentation to indicate this fact. * common/src/toolsensor/tool-sensor-common.c (calculate_record_ids): Allow mix-and-matching, where --exclude-groups can work with --record-ids and --exclude-record-ids can work with --groups. * common/src/toolsensor/: Code cleanup. 2009-05-25 Albert Chu * ipmi-sensors/, ipmimonitoring/: Support short options for --exclude-groups and --exclude-record-ids. * common/man/: update manpages appropriately. 2009-05-22 Albert Chu * common/src/toolcommon/, ipmi-sensors/, ipmimonitoring/src/ipmimonitoring/: Support --exclude-groups and --exclude-record-ids. * common/src/toolsensor/, ipmi-sensors/, ipmimonitoring/src/ipmimonitoring/: Move common sensor code into common/src/toolsensor/. * Globally fix unsigned int/int macro issues. 2009-05-20 Albert Chu * bmc-info/, common/src/toolcommon/: Support --interpret-oem-data. * ipmi-fru/, common/src/toolcommon/, libfreeipmi/include/freeipmi/fru-parse/, libfreeipmi/src/fru-parse/: Support --interpret-oem-data. 2009-05-20 Albert Chu Code cleanup. * libfreeipmi/include/freeipmi/spec/ipmi-iana-enterprise-numbers-spec.h: Add macros. * ipmi-sel/, libfreeipmi/src/sel-parse/: bmc-watchdog/, libfreeipmi/src/util/: Use IANA macros. * libfreeipmi/include/freeipmi/cmds/, libfreeipmi/include/freeipmi/templates/, libfreeipmi/src/cmds/, bmc-info/: Remove OEM-isms out of library and into bmc-info. 2009-05-20 Albert Chu * ipmimonitoring/src/libipmimonitoring/: Support IPMI_MONITORING_SENSOR_READING_FLAGS_INTERPRET_OEM_SENSORS flag. * libfreeipmi/include/freeipmi/sel-parse/, libfreeipmi/src/sel-parse/: IPMI_SEL_PARSE_STRING_FLAGS_INTERPRET_OEM_DATA. * common/src/toolcommon, ipmi-sel/, ipmi-sensors/, ipmimonitoring/src/ipmimonitoring/: Support --interpret-oem-data option. * common/man/manpage-common-interpret-oem-data.man: new file. * ipmi-sel/src/, libfreeipmi/src/sel-parse/: Support Inventec 5441 OEM Sel interpretations 2009-05-19 Albert Chu * common/src/toolcommon/tool-common.c: Attempt OpenIPMI and SunBMC drivers first, since they cannot be discovered via probing, and to avoid accidently using the KCS driver first. 2009-05-18 Albert Chu * bmc-config/src/bmc-config-channel-common.c (_get_key_info, _set_key_info): Fix set volatile vs. set non-volatile bug. 2009-05-18 Albert Chu * Fix API change resulting bugs. 2009-05-15 Albert Chu * Remove use of 'alloca', check return unlink, close, munmap as needed or leave comments as to why return code not checked. 2009-05-15 Albert Chu * Various signed/unsigned cleanup. Ensure right signs used consistently. * libfreeipmi/src/libcommon/ipmi-crypt.c, libfreeipmi/src/driver/ipmi-kcs-driver.c, libfreeipmi/src/driver/ipmi-ssif-driver.c: Handle integer overflow conditions. * Various code cleanup. * tagged post_int_overflow 2009-05-14 Albert Chu * libfreeipmi/src/fiid/: Use unsigned ints for indexing. * tagged pre_int_overflow * libfreeipmi/src/fiid/fiid.c: Handle int/unsigned int overflow conditions. Fix corner case, allow fields to be up to 256 chars, not up to 255 chars. Fix signed/unsigned bugs. * libfreeipmi/src/interface/ipmi-rmpplus-interface.c (assemble_ipmi_rmcpplus_pkt), libfreeipmi/src/interface/ipmi-kcs-interface.c (assemble_ipmi_kcs_pkt), libfreeipmi/src/interface/ipmi-lan-interface.c (ipmi_lan_sendto, assemble_ipmi_lan_pkt): Handle int/unsigned int overflow conditions. * Various code cleanup. 2009-05-12 Albert Chu * doc/: Update faq. 2009-05-11 Albert Chu * Code cleanup. 2009-05-08 Albert Chu * bmc-device/, bmc-info/: Continue to cleanup output format. * bmc-device/: Fix --get-mca-auxiliary-log-status bug. * ipmi-sensors/, ipmi-sel/, ipmi-pef-config/: Make --info/--sdr-info commands have consistent output format. * ipmi-sensors/, ipmi-sel/: Add allocation info output to --info/--sdr-info output. * bmc-info/: Don't output "GUID : " when specifying --get-device-guid. 2009-05-07 Albert Chu * ipmi-chassis/src/: Output text more consistently to IPMI spec. Output format more cleanly. Output all frields from --get-chassis-status. * libfreeipmi/src/cmds/ipmi-device-global-cmds.c: Fix template field names "info" -> "information". * bmc-info/: Output text more consistently to IPMI spec. Output all field information. Output GUID by default. Change --guid to --get-device-guid. Support --get-device-id and --get-channel-info. Add extra output info to channel output. * Additional code cleanup. 2009-05-06 Albert Chu * libfreeipmi/include/freeipm/: Add various header comments. * libfreeipmi/src/util/ipmi-sensor-and-event-code-tables-util.c: Make functions return > 0 value instead of ENOSPC if buffer too small. * libfreeipmi/include/freeipmi/util/ipmi-channel-util.h, libfreeipmi/include/freeipmi/util/ipmi-channel-util.c: New files. * libfreeipmi/include/freeipmi/api/ipmi-messaging-support-cmds-api.h, libfreeipmi/src/api/ipmi-messaging-support-cmds-api.c (ipmi_get_channel_number): Moved into util. 2009-05-05 Albert Chu * bmc-device/bmc-device.8.pre.in: Add more examples and fix typos. * bmc-watchdog/, ipmi-chassis/, libfreeipmi/include/freeipmi/cmds/: Check interval ranges on inputs. * common/src/toolcommon/, ipmimonitoring/src/libipmimonitoring/: Check for valid record_id inputs. * ipmimonitoring/src/libipmimonitoring/: Check for valid sensor group inputs. * ipmi-fru/: Check for valid range of device id input. * bmc-device/, ipmi-chassis/: Verify sane inputs on 'set' options that have multiple configurable settings. * Various code cleanup. 2009-05-04 Albert Chu * ipmi-chassis/: Code cleanup for consistency to other tools. * ipmimonitoring/src/ipmimonitoring/: Fix --legacy-output. 2009-05-04 Albert Chu * Various code cleanup. * tagged post_void_lib_cleanup 2009-05-03 Albert Chu * Various code cleanup. * tagged pre_void_lib_cleanup * Cleanup libfreeipmi, use void * instead of uint8_t * or char * when appropriate. * Various code cleanup. 2009-05-03 Albert Chu * ipmi-raw/, ipmi-oem/: Fix glibc portability bugs. * ipmi-oem/: Fix debug output corner case. 2009-05-02 Albert Chu * Fix coverity discovered errors. 2009-05-01 Albert Chu * Continued lib cleanup. * ipmipower/src/ipmipower_util.h, ipmipower/src/ipmipower_util.c: Removed files. * ipmiconsole/src/, ipmipower/src/: Various cleanup. * common/src/configtool/, bmc-config/, ipmi-pef-config/: Rename config_section_update_keyvalue_output_int to config_section_update_keyvalue_output_unsigned_int. * tagged post_int_cleanup 2009-04-30 Albert Chu * Cleanup APIs. Return 'int' instead of 'int32_t'. Make "uint32_t" an "unsigned int" when buffers are passed to API functions. * libfreeipmi/: Rework ipmi_rmcpplus_calculate_payload_type() with in/out parameter. * ipmiconsole/src/libipmiconsole/: Update for API change. * bmc-config/, ipmi-pef-config/, ipmi-chassis-config/, common/src/configtool/config-tool-pef-conf-section.c: Fix read only/write only completion code check usage. * common/src/pingtool/, ipmiping/, rmcpping/: API cleanup. * Various other code cleanup. 2009-04-29 Albert Chu * Cleanup APIs. Return 'int' instead of 'int8_t' when size of integer is clearly irrelevant. * Fix function name inconsistencies. 2009-04-28 Albert Chu * tagged pre_int_cleanup * Cleanup APIs. Return 'int' instead of 'int8_t' when size of integer is clearly irrelevant. 2009-04-28 Albert Chu * libfreeipmi/: ipmi_get_channel_number now takes a parameter for the returned channel number. * ipmi-oem/, bmc-device/, bmc-config/, pef-config/: Adjust for API changes. * Various code cleanup. 2009-04-27 Albert Chu * libfreeipmi/include/freeipmi/: Code cleanup. 2009-04-23 Albert Chu * ipmipower/: Support identify-on, identify-off, identify-status in interactive mode of ipmipower. * freeipmi.spec.in: Update for fru-parse. 2009-04-22 Albert Chu * ipmi-oem/ipmi-oem.8.pre.in: Update inventec text. * ipmi-chassis/src/ipmi-chassis (get_chassis_status): Fix output corner cases. * ipmi-chassis/: Rename --get-status to --get-chassis-status and --get-capabilities to --get-chassis-capabilities. 2009-04-21 Albert Chu * libfreeipmi/include/freeipmi/spec/ipmi-entity-ids-spec.h, libfreeipmi/src/spec/ipmi-entity-ids-spec.c: New files. * ipmi-sensors/: Output Entity IDs under verbose instead of very verbose mode. Output Entity ID type if available. 2009-04-21 Albert Chu * ipmimonitoring/src/ipmimonitoring/: Have default output same sensors as in ipmi-sensors, including those that can't be interpreted. Support --ignore-non-interpretable-sensors. * ipmimonitoring/src/libipmimonitoring/: Rename IPMI_MONITORING_SENSOR_READING_FLAGS_IGNORE_UNREADABLE_SENSORS to IPMI_MONITORING_SENSOR_READING_FLAGS_IGNORE_NON_INTERPRETABLE_SENSORS.. 2009-04-20 Albert Chu * ipmi-fru/src/ipmi-fru.c: Fix multirecord output. 2009-04-17 Albert Chu From branch fru_lib_branch. * libfreeipmi/: Support new ipmi_dump_hex() debug function. * libfreeipmi/: Include new fru-parse subsection to libfreeipmi library. * libfreeipmi/src/cmds/: Check for valid FRU device id input. * ipmi-fru/src/ipmi-fru-output.h, ipmi-fru/src/ipmi-fru-output.c: New files. * ipmi-fru/src/ipmi-fru-util.h, ipmi-fru/src/ipmi-fru-util.c, ipmi-fru/src/ipmi-fru-info-area.h, ipmi-fru/src/ipmi-fru-info-area.c, ipmi-fru/src/ipmi-fru-multirecord-area.h, ipmi-fru/src/ipmi-fru-multirecord-area.c: Removed files. * ipmi-fru/: Use new fru-parse library. Check for valid device id input. * Update documentation and manpages appropriately. * Various code cleanup. Fix various compiler warnings. 2009-04-14 Albert Chu * bmc-config/src/bmc-config-user-sections.c (password20_checkout): Fix diff check. * bmc-config/: Collapse "Password20" into "Password" field so Password field supports both IPMI 1.5 and IPMI 2.0. 2009-04-09 Albert Chu * Minor code cleanup. 2009-04-09 Albert Chu * bmc-info/src/: Output Device ID, manufacturer ID, and product ID as integer. 2009-04-08 Albert Chu * ipmi-fru/src/ipmi-fru-info-area.c (ipmi_fru_output_chassis_info_area): Output unknown chassis area and continue to parse, instead of bailing out. 2009-04-08 Albert Chu * common/src/configtool/, bmc-config/: Support ability to report Not Supported on commit. 2009-04-08 Albert Chu * common/man/manpage-common-workaround-sol-only-text.man common/man/manpage-common-workaround-text.man common/src/toolcommon/tool-cmdline-common.c common/src/toolcommon/tool-cmdline-common.h common/src/toolcommon/tool-common.c ipmiconsole/src/ipmiconsole/ipmiconsole.c ipmiconsole/src/libipmiconsole/ipmiconsole.h ipmiconsole/src/libipmiconsole/ipmiconsole_defs.h ipmiconsole/src/libipmiconsole/ipmiconsole_packet.c ipmiconsole/src/libipmiconsole/ipmiconsole_processing.c ipmimonitoring/src/ipmimonitoring/ipmimonitoring.c ipmimonitoring/src/libipmimonitoring/ipmi_monitoring.h ipmimonitoring/src/libipmimonitoring/ipmi_monitoring_defs.h ipmimonitoring/src/libipmimonitoring/ipmi_monitoring_ipmi_communication.c libfreeipmi/include/freeipmi/api/ipmi-api.h libfreeipmi/src/api/ipmi-api.c libfreeipmi/src/api/ipmi-lan-session-common.c: Support Inventec open session privilege workaround. Document that SOL Payload Size workaround also needed. Return Password Invalid error when "invalid integrity check value" returned from RAKP4. 2009-04-07 Albert Chu * libfreeipmi/src/debug/ipmi-debug.c (ipmi_obj_dump): Special case always dump payload data and user name in byte array format. 2009-04-07 Albert Chu * ipmi-oem/src/ipmi-oem-argp.c, ipmi-raw/src/ipmi-raw.c: Fix glibc 2.8 portability compile issue. 2009-04-03 Albert Chu * ipmi-oem/ipmi-oem.8.pre.in: Update text. 2009-04-02 Albert Chu * common/src/toolsensor/, ipmi-sensors/, ipmimonitoring/: Shorten width of output by shortening headers. * Fix some --legacy-output issues. 2009-03-31 Albert Chu * libfreeipmi/src/debug/ipmi-debug.c: Always output "raw_data" fields as byte arrays. 2009-03-30 Albert Chu * Remove "experimental" note about SUNBMC driver. 2009-03-27 Albert Chu * ipmi-oem/: Code cleanup. 2009-03-26 Albert Chu * libfreeipmi/src/debug/: Fix output bug. * bmc-info/: Output firmware revision with two chars as needed. * libfreeipmi/: Cleanup sel-parse library. Add parsing via record bufs functions. 2009-03-23 Albert Chu * Rename pef-config to ipmi-pef-config. * freeipmi.spec.in: Fix build issues. 2009-03-21 Albert Chu * ipmi-oem/: Support inventenc get-mad-address and set-mac-address. 2009-03-19 Albert Chu * Support verbose_count config file option. * common/src/toolcommon/tool-config-file-common.c: Fix potential config file bug by clearing stack data. 2009-03-19 Albert Chu * ipmi-oem/: Support inventec get-nic-status and set-nic-status OEM commands. 2009-03-19 Albert Chu * libfreeipmi/src/debug/ipmi-debug.c (ipmi_obj_dump): Output w/ %u instead of %d. * libfreeipmi/src/api/ipmi-kcs-driver-api.c (ipmi_kcs_cmd_raw_api): Fix debug dump bug. 2009-03-18 Albert Chu * freeipmi/templates/ipmi-pef-and-alerting-cmds-templates.h, freeipmi/templates/ipmi-rmcpplus-support-and-payload-cmds-templates.h, freeipmi/templates/ipmi-sdr-repository-cmds-templates.h, freeipmi/templates/ipmi-sel-cmds-templates.h, freeipmi/templates/ipmi-sensor-cmds-templates.h, freeipmi/templates/ipmi-serial-modem-cmds-templates.h, freeipmi/templates/ipmi-sol-cmds-templates.h, freeipmi/templates/rmcp-cmds-templates.h, freeipmi/templates/ipmi-ipmb-interface-templates.h, freeipmi/templates/ipmi-kcs-interface-templates.h, freeipmi/templates/ipmi-lan-interface-templates.h, freeipmi/templates/ipmi-rmcpplus-interface-templates.h, freeipmi/templates/rmcp-interface-templates.h, freeipmi/templates/ipmi-cipher-suite-record-format-templates.h, freeipmi/templates/ipmi-fru-information-record-format-templates.h, freeipmi/templates/ipmi-sdr-record-format-templates.h, freeipmi/templates/ipmi-sel-record-format-templates.h: New files. * Various code cleanup. 2009-03-17 Albert Chu * common/man/manpage-common-sdr-options.man: Fix typo. * libfreeipmi/include/freeipmi/templates/ipmi-bmc-watchdog-timer-cmds-templates.h, libfreeipmi/include/freeipmi/templates/ipmi-chassis-cmds-templates.h, libfreeipmi/include/freeipmi/templates/ipmi-device-global-cmds-templates.h, libfreeipmi/include/freeipmi/templates/ipmi-event-cmds-templates.h, libfreeipmi/include/freeipmi/templates/ipmi-fru-inventory-device-cmds-templates.h, libfreeipmi/include/freeipmi/templates/ipmi-lan-cmds-templates.h, libfreeipmi/include/freeipmi/templates/ipmi-messaging-support-cmds-templates.h: New files. 2009-03-17 Albert Chu * common/src/toolcommon/, etc/, man/, ipmi-sel/, ipmi-sensors/, ipmimonitoring/: Add forgotton config file options. * common/src/toolsensor/, ipmi-sensors/, ipmimonitoring/, common/src/toolcommon/: Rename --sensor to --record-ids. * Various code cleanup. 2009-03-16 Albert Chu * libfreeipmi/src/spec/ipmi-sensor-units-spec.c: Fix some sensor units abbreviations. * common/man/manpage-common-sensor-common.man, common/man/manpage-common-non-abbreviated-units.man, common/man/manpage-common-comma-separated-output.man, common/man/manpage-common-legacy-output.man: New files. * Cleanup up manpages. * ipmi-sel/, ipmi-sensors/, ipmimonitoring/: Support --comma-separated-output. * common/src/configtool/, bmc-config/, ipmi-chassis-config/, ipmi-sensors-config/, pef-config/: Support ability to report Read Only error on commit. * bmc-config/bmc-config.8.pre.in: Add Dell issue. 2009-03-13 Albert Chu * Change __PRETTY_FUNCTION__ -> __FUNCTION__ for portability. * ipmi-sensors/, ipmimonitoring/: Collapse some code using common sensor code in common/src/toolcommon. * ipmi-sel/, libfreeipmi/src/sel-parse/: Fix output corner case where "N/A ; text" could show up. * ipmi-sel/: Apply column alignment code to ipmi-sel for cleaner output. * ipmi-sel/: Support -vvv option. * common/src/toolsensor/, ipmimonitoring/, ipmi-sel/, ipmi-sensors/: Support --non-abbreviated-units option. 2009-03-12 Albert Chu * ipmi-sensors/, ipmimonitoring/: Collapse some code using common sensor code in common/src/toolcommon. * Reorganization common/src/ with new convenience libs stored int toolsdr/ and toolsensor/. * Various code cleanup. 2009-03-11 Albert Chu * ipmi-sensors/, ipmimonitoring/src/ipmimonitoring/: Align columns more intelligently based on max expected field sizes. * ipmi-sensors/, ipmimonitoring/: Default to abbreviated units. * common/src/toolcommon/tool-sensor-common.h, common/src/toolcommon/tool-sensor-common.c: New files. * ipmi-sensors/, ipmimonitoring/: Collapse some code using common sensor code. * ipmi-sensors/src/ipmi-sensors-argp.c (_ipmi_sensors_args_validate): Check for "oem_reserved" sensor group. 2009-03-10 Albert Chu * config/ac_dont_check_for_root.m4: New file. * configure.ac, common/src/tool-common.c (ipmi_is_root): Support option to not check for root in FreeIPMI tools. 2009-03-09 Jan Forch * libfreeipmi/src/api/ipmi-api.c (_setup_hostname), common/src/toolcommon/tool-sdr-cache-common.c (_get_home_directory): Fix Solaris porting bugs. 2009-03-09 Albert Chu * libfreeipmi/src/util/ipmi-sensor-units-util.c: Support percentage sign. 2009-03-07 Albert Chu * ipmi-sensors-config/, ipmi-sensors/: Support rates and modifiers for units. * libfreeipmi/src/sel-parse/: Support rates and modifiers for units. * libfreeipmi/include/freeipmi/spec/ipmi-sensor-units-spec.h: Fix field check macros. * ipmi-sel/: Support output corner case. Widen column width for event output. 2009-03-06 Albert Chu * ipmi-sel/, ipmi-sensors/, ipmimontoring/: Make sensor group size 24 columns. * ipmi-sel/: Fix formatting bug due to non-memsetted buffer. * libfreeipmi/src/sdr-parse/: Support sensor_units_percentage in sensor_units parsing. * libfreeipmi/include/freeipmi/util/ipmi-sensor-units-util.h, libfreeipmi/src/util/ipmi-sensor-units-util.c: New files. 2009-03-06 Albert Chu * common/src/toolcommon/tool-fiid-util.h, common/src/toolcommon/tool-fiid-util.c: Removed files. * Adjust tools to use new fiid functions/macros appropriately. * libfreeipmi/include/freeipmi/fiid/fiid.h, libfreeipmi/src/fiid/fiid.c (FIID_TEMPLATE_FIELD_LOOKUP, FIID_TEMPLATE_COMPARE, FIID_OBJ_TEMPLATE_COMPARE, FIID_OBJ_PACKET_VALID, FIID_OBJ_FIELD_LOOKUP): New functions. * Use new macros as needed. * Remove pointless use of fiid_obj_field_len in certain functions. * Make parameters const char * instead of char * when appropriate for API functions. * ipmi-sel/, ipmi-sensors/, ipmimontoring/: Collapse sensor group size from 24 columns to 18. 2009-03-05 Albert Chu * common/src/toolcommon/tool-fiid-util.h: Remove some macros. * common/src/toolcommon/tool-fiid-util.c: New file. * libfreeipmi/include/freeipmi/fiid/fiid.h, libfreeipmi/src/fiid/fiid.c (FIID_OBJ_GET): New function. * Adjust tools to use new fiid functions/macros appropriately. 2009-03-04 Albert Chu * Various code consistency style cleanup. * common/src/toolcommon/tool-common.c (ipmi_open): Check for IPMI_ERR_PRIVILEGE_LEVEL_CANNOT_BE_OBTAINED for nice output. 2009-03-03 Albert Chu * Fix spacing, tabbing, and indentation throughout code for consistency. Add copyright to appropriate files. Remove unnecessary extern "C" declarations. Variety of code cleanup. 2009-03-01 Albert Chu * common/src/toolcommon/tool-fiid-util.h: Remove some macros. * Adjust tools to use fiid library directly. 2009-02-26 Albert Chu * common/src/toolcommon/tool-fiid-util.h: Remove some macros. * Adjust tools to use fiid library directly. 2009-02-24 Albert Chu * ipmi-sensors-config/src/ipmi-sensors-config-sensor-event-enable-common.c (_set_sensor_event_enable): Fix bit setting bug. 2009-02-24 Albert Chu * common/src/toolcommon/tool-fiid-util.h: Remove some macros. * Adjust tools to use fiid library directly. 2009-02-24 Albert Chu * ipmi-sel/ipmi-sel.8.pre.in: Note 1-Jan-1970 information. 2009-02-23 Albert Chu * ipmiconsole/src/libipmiconsole/: Add extra debug messages. Add extra header file documentation. 2009-02-23 Albert Chu * ipmi-chassis-config/src/ipmi-chassis-config-map.c: Fix typo "FLOOPY" to "FLOPPY". 2009-02-23 Albert Chu Merge changes from libfreeipmi_cleanup_branch. * libfreeipmi/: Massive code cleanup; * libfreeipmi/src/drivers/: Add 'errormsg' functions. * libfreeipmi/src/api/ipmi-ctx.h, libfreeipmi/src/api/ipmi-err-wrappers-api.h, libfreeipmi/src/api/ipmi-err-wrappers-api.c, libfreeipmi/src/api/ipmi-fiid-wrappers-api.h, libfreeipmi/src/api/ipmi-fiid-wrappers-api.c: Removed files. * libfreeipmi/src/api/ipmi-api-trace.h, libfreeipmi/src/api/ipmi-api-util.c, libfreeipmi/src/api/ipmi-api-util.c, libfreeipmi/src/locate/ipmi-locate-trace.h, libfreeipmi/src/locate/ipmi-locate-util.c, libfreeipmi/src/locate/ipmi-locate-util.c, libfreeipmi/src/sdr-parse/ipmi-sdr-parse-trace.h, libfreeipmi/src/sdr-parse/ipmi-sdr-parse-util.h, libfreeipmi/src/sdr-parse/ipmi-sdr-parse-util.c, libfreeipmi/src/sel-parse/ipmi-sel-parse-trace.h, libfreeipmi/src/sel-parse/ipmi-sel-parse-util.h, libfreeipmi/src/sel-parse/ipmi-sel-parse-util.c, libfreeipmi/src/sensor-read/ipmi-sensor-read-trace.h, libfreeipmi/src/sensor-read/ipmi-sensor-read-util.h, libfreeipmi/src/sensor-read/ipmi-sensor-read-util.c, libfreeipmi/src/api/ipmi-api-defs-trace.h, libfreeipmi/src/driver/ipmi-driver-trace.h, libfreeipmi/src/libcommon/ipmi-fill-util.h, libfreeipmi/src/libcommon/ipmi-fiid-util.h, libfreeipmi/src/libcommon/ipmi-fiid-util.c: New files. * libfreeipmi/src/libcommon/ipmi-err-wrappers.h: Remove all unnecessary macros. * libfreeipmi/src/libcommon/ipmi-trace.h: Renamed from libfreeipmi/src/libcommon/ipmi-err-wrappers.h. * libfreeipmi/src/api/: Remove use of IPMI_ERR_LIBRARY_ERROR, replace with IPMI_ERR_INTERNAL_ERROR. * Rename all "IPMI_*_CTX_ERR" error codes to "IPMI_*_ERR" for consistency throughout libs. * libfreeipmi/src/locate/: Rework to use context style API. * common/src/toolcommon/, bmc-watchdog, ipmi-locate/: Adjust for new locate API. * common/src/toolcommon/tool-fiid-wrapers.h: Renamed to tool-fiid-util.h for consistency. Rename all macros. * Update all tools appropriately for cleanup changes. 2009-02-05 Albert Chu * libfreeipmi/src/api/ipmi-err-wrappers-api.c: New file. * libfreeipmi/src/api/ipmi-fiid-wrappers-api.c: New file. * Continue code cleanup. 2009-02-04 Albert Chu * Various code cleanup. 2009-02-03 Albert Chu * Various code cleanup. 2009-02-03 Albert Chu From branch sdr_parse_branch. * libfreeipmi/: Include new sdr-parse subsection to libfreeipmi library. * ipmi-sensors/, ipmi-fru/, ipmi-sensors-config/: Use new sdr-parse library. * ipmimonitoring/src/libipmimonitoring/: Use new sdr-parse library. * ipmimonitoring/src/libipmimonitoring/ipmi_monitoring_fiid_wrapppers.h, ipmimonitoring/src/libipmimonitoring/ipmi_monitoring_fiid_wrapppers.c: Remove files. * libfreeipmi/src/sel-parse/: Use new sdr-parse library. * libfreeipmi/src/sensor-read/: Use new sdr-parse library. * common/src/toolcommon/tool-sdr-cache-common.h, common/src/toolcommon/tool-sdr-cache-common.c: Removed unused functions. * Update documentation and manpages appropriately. * Various code cleanup. 2009-02-02 Albert Chu * ipmimonitoring/src/libipmimonitoring/: Code cleanup. 2009-01-30 Albert Chu * common/src/toolcommon/tool-sdr-common.c: Check return value from fiid_obj_get. * ipmimonitoring/src/libipmimonitoring/: Code cleanup. 2009-01-30 Albert Chu From branch sensors_read_branch. * libfreeipmi/: Include new sensor-read subsection to libfreeipmi library. * ipmi-sensors/src/ipmi-sensors-reading.h, ipmi-sensors/src/ipmi-sensors-reading.c: Removed files. * ipmi-sensors/: Use new sensor-read library. * ipmimonitoring/src/libipmimonitoring/: Use new sensor-read library. * Update documentation and manpages appropriately. 2009-01-28 Albert Chu * ipmi-fru/, ipmi-sensors/, libfreeipmi/src/sel-parse/, bmc-info/: Output manufacturer name as well as ID in output. * ipmi-fru/: Output with 'h' suffix instead of '0x' prefix for consistency to other tools. 2009-01-27 Albert Chu * libfreeipmi/src/spec/ipmi-iana-enterprise-numbers-spec.c, libfreeipmi/include/freeipmi/spec/ipmi-iana-enterprise-numbers-spec.h: New files. * libfreeipmi/src/spec/enterprise-numbers.pl: Script to generate ipmi-iana-enterprise-numbers-spec.c. * libfreeipmi/src/spec/enterprise-numbers.txt: Currently used database used to generate enterprise numbers. * bmc-info/src/bmc-info.c (display_get_device_id): Output manufacturer name as well as ID. 2009-01-26 Albert Chu * Suppot --config-file option in all tools. 2009-01-26 Albert Chu * ipmi-sel/, ipmimonitoring/, ipmi-sensors/: Fix new output corner cases. Support --legacy-output in config file. 2009-01-23 Albert Chu * ipmi-sensors/, ipmimonitoring/: Revert no-event output back to "OK". * Support "errormsg" functions libfreeipmi API and fiid. * ipmimonitoring/src/ipmimonitoring/: Output groups/check groups based on ipmi_sensor_types array. 2009-01-22 Albert Chu * ipmi-sel/: Make output formatted for consistency to ipmi-sensors and ipmimonitoring. * ipmi-sensors/: Also output analog data format name in very verbose output. * Various code cleanup. 2009-01-21 Albert Chu * ipmi-sensors/, ipmimonitoring/: Output units in non-abbreviated form by default. Update manpages for output updates. * contrib/ganglia/, contrib/nagios/: Make scripts use --legacy-output to continue working with ipmi-sensors and ipmimonitoring. * ipmi-sensors/, ipmimonitoring/: Use %u instead of %d where appropriate. * ipmi-sensors/: Output name of linearization on very verbose output. 2009-01-21 Albert Chu * ipmimonitoring/src/libipmimonitoring/ (ipmi_monitoring_sensor_readings_by_record_id_callback, ipmi_monitoring_sensor_readings_by_sensor_group_callback): Remove functions. Absorb callback routines into ipmi_monitoring_sensor_readings_by_record_id and ipmi_monitoring_sensor_readings_by_sensor_group. * ipmimonitoring/src/libipmimonitoring/: Rename most *iterator* functions to *read* functions. Remove most *callback* functions. Absorb *callback* functionality into *read* functions. * ipmimonitoring/src/libipmimonitoring/: Remove IPMI_MONITORING_ERR_NOT_IN_CALLBACK error code. * ipmimonitoring/src/libipmimonitoring/: Remove IPMI_MONITORING_SENSOR_READING_TYPE_UNSIGNED_INTEGER16_BITMASK sensor reading type. * ipmimonitoring/src/libipmimonitoring/: Support ipmi_monitoring_read_sensor_bitmask(). Every sensor technically has a bitmask that can be returned. Do not differentiate between "primary" sensor reading. * ipmimonitoring/src/ipmimonitoring/: Update appropriately for changes. * ipmimonitoring/src/ipmimonitoring/: Update output for consistency to ipmi-sensors. Support --legacy-output option. 2009-01-21 Albert Chu * man/freeipmi.7.pre.in: Fix some text. 2009-01-16 Albert Chu * configure.ac: Fix CFLAGS environment variable overwriting bug. * ipmimonitoring/src/libipmimonitoring/: Support threshold bitmask type. 2009-01-15 Albert Chu * ipmimonitoring/src/ipmimonitoring/: Begin support of --legacy-output option. 2009-01-15 Albert Chu * Support --legacy-output option for ipmi-sensors. * ipmi-sensors/src/ipmi-sensors-very-verbose-display.c: Consolidate "verbose output" into this file. * ipmi-sensors/src/ipmi-sensors-verbose-display.h, ipmi-sensors/src/ipmi-sensors-verbose-display.c: Remove files. * ipmi-sensors/src/ipmi-sensors-very-verbose-display.h, ipmi-sensors/src/ipmi-sensors-very-verbose-display.c: Renamed ipmi-sensors/src/ipmi-sensors-detailed-output.h and ipmi-sensors/src/ipmi-sensors-detailed-output.c respectively. * ipmi-sensors/src/ipmi-sensors-simple-display.h, ipmi-sensors/src/ipmi-sensors-simple-display.c: Renamed ipmi-sensors/src/ipmi-sensors-simple-output.h and ipmi-sensors/src/ipmi-sensors-simple-output.c respectively. * ipmi-sensors/src/ipmi-sensors-output-common.h, ipmi-sensors/src/ipmi-sensors-output-common.c: Renamed ipmi-sensors/src/ipmi-sensors-output-common.h and ipmi-sensors/src/ipmi-sensors-output-common.c respectively. * ipmi-sensors/: Change various output for readability and parsability. * ipmi-sensors/src/: Various code cleanup. 2009-01-15 Albert Chu * ipmimonitoring/src/ipmimonitoring/: Ensure consistency in units output to other tools. 2009-01-14 Albert Chu * ipmi-sensors/src/: Don't output fields not related to non-threshold sensors. 2009-01-14 Albert Chu * ipmimonitoring/src/ipmimonitoring: For consistency to library and other software, fix sensor group name outputs. 2009-01-14 Albert Chu * Output and parse "Record ID" instead of "Record_ID" consistently. * ipmi-sel/: For consistency to ipmimonitoring, output Sensor Name before Sensor Group. * ipmimonitoring/src/ipmimonitoring/: Fix header typo. 2009-01-14 Dave Love * bmc-watchdog/freeipmi-bmc-watchdog.init: Make SuSE-compatible, like the other init scripts. 2009-01-13 Albert Chu * libfreeipmi/src/sel-parse/ipmi-sel-parse.c (ipmi_sel_parse_read_channel_number): Check event format version appropriately. * ipmi-sel/src/: Cleanup. * Globally add "table of contents" into manpages to illustrate amount of text in the manpage so users (will hopefully) know what is available in the manpage and how to look for howto information in freeipmi(7). 2009-01-12 Albert Chu * ipmi-sel/: Support --system-event-only and --oem-event-only options. * Fix copyright dates globally. 2009-01-09 Albert Chu * ipmi-sel/: Support very verbose output. 2009-01-08 Albert Chu * libfreeipmi/src/sel-parse/: Various bug fixes. Offer more output options. * ipmi-sel/: Support --verbose output. Alter default output format. 2009-01-07 Albert Chu * libfreeipmi/src/sel-parse/: Support LEGACY string output option. * ipmi-sel/: Support --legacy-output option. 2009-01-07 Albert Chu * libfreeipmi/include/freeipmi/record-format/ipmi-sel-record-format.h: Cleanup macro names and add new macros as needed. * common/src/tool-sensor-common.h, common/src/tool-sensor-common.c (sensor_classify): Removed function. * libfreeipmi/include/freeipmi/util/ipmi-sensor-and-event-code-tables-util.h, libfreeipmi/src/util/ipmi-sensor-and-event-code-tables-util.c (ipmi_event_reading_type_code_class): New function. * ipmi-sensors/, ipmi-sensors-config/, ipmi-sel/: Update as necessary for change from sensor_classify to ipmi_event_reading_type_code_class. * common/src/tool-sensor-common.h, common/src/tool-sensor-common.c (sensor_group): Removed function. * libfreeipmi/include/freeipmi/util/ipmi-sensor-util.h, libfreeipmi/src/util/ipmi-sensor-util.c (ipmi_get_sensor_type_string): New function. * ipmi-sensors/, ipmi-sensors-config/, ipmi-sel/: Update as necessary for change from sensor_classify to ipmi_get_sensor_type_string. * common/src/tool-sensor-common.h, common/src/tool-sensor-common.c: Removed files. * ipmi-sensors/, ipmi-sensors-config/, ipmi-sel/: Handle corner case if ipmi_get_sensor_type_string returns NULL (i.e. sensor_type unrecognized). * common/src/tool-fiid-wrappers.h (_FIID_OBJ_GET_WITH_RETURN_VALUE): Rename to _FIID_OBJ_GET_WITH_RV and make interface consistent to others. * ipmi-sensors/, ipmi-sensors-config/, bmc-info/, ipmi-chassis/, ipmi-chassis-config/: Adjust for macro name change. * ipmi-sel/: Remove optional hex dump to file. * libfreeipmi/: Include new sel-parse subsection to libfreeipmi library. * ipmi-sel/src/ipmi-sel-entry.h, ipmi-sel-entry.c: Removed files. * ipmi-sel/: Use new sel-parse library for SEL parsing/output. * Update documentation and manpages appropriately. 2009-01-05 Albert Chu * libfreeipmi/: Add new IPMI_ERR_NOT_FOUND error code to libfreeipmi api sub library. * libfreeipmi/src/api/ipmi-messaging-support-cmds-api.c (ipmi_get_channel_number): Fix error code corner case bug. 2009-01-05 Albert Chu * bmc-config/src/bmc-config-user-sections.c (_channel_info): Fix Enable_user checkout corner case bug. * Minor documentation cleanup. 2008-12-23 Albert Chu * ipmi-oem/src/ipmi-oem.h, ipmi-oem/src/ipmi-oem-argp.h: Fix memory allocation bug. 2008-12-18 Albert Chu * Global cleanup, specify static functions appropriately. 2008-12-18 Albert Chu * ipmi-sel/src/ipmi-sel-entry.c (_get_sel_system_event_record): Fix possible output error corner case. * ipmi-sel/src/ipmi-sel-argp.c (cmdline_parse): Check that record ID inputs are not illegal record_id values. * ipmi-sensors/src/ipmi-sensors-argp.c, ipmimonitoring/src/ipmimonitoring/ipmimonitoring-argp.c: Check that inputted record IDs are not illegal record ID values. 2008-12-17 Albert Chu * Minor documentation updates. 2008-12-17 Albert Chu * ipmimonitoring/src/libipmimonitoring/: Adjust callback function to return integer for whether libipmimonitoring should continue or not. * ipmimonitoring/src/ipmimonitoring/: Adjust code to use callback functionality to display sensor readings as they are read/analyzed. 2008-12-16 Albert Chu * ipmimonitoring/src/libipmimonitoring/: Support callback function routines in sensor monitoring/reading. * configure.ac: Update lib version appropriately. 2008-12-16 Albert Chu * ipmi-sel/src/ipmi-sel.c (_hex_display_sel_records): Carry over previous fixes into this function. 2008-12-15 Albert Chu * ipmi-fru/src/ipmi-fru.c (_output_fru): Cleanup output. 2008-12-15 Albert Chu * libfreeipmi/src/debug/ipmi-debug-kcs.c: New file. * libfreeipmi/include/freeipmi/debug/ipmi-debug.h, libfreeipmi/src/api/ipmi-api.c, libfreeipmi/src/api/ipmi-kcs-interface-api.c: Support detailed KCS debug output. * libfreeipmi/src/debug/ipmi-debug-lan.c (_ipmi_dump_lan_packet), libfreeipmi/src/debug/ipmi-debug-rmcpplus.c (_dump_rmcpplus_payload_data): Fix dump corner case. 2008-12-12 Albert Chu * libfreeipmi/src/api/ipmi-lan-session-common.c (ipmi_lan_2_0_open_session): Fix Intel 2.0 workarounds. * ipmipower/src/ipmipower_check.c (ipmipower_check_integrity_pad), ipmiconsole/src/libipmiconsole/ipmiconsole_checks.c (ipmiconsole_check_integrity_pad): Fix integrity check corner case for certain cipher suite IDs. * ipmiconsole/ipmiconsole.8.pre.in: Add ipmiconsole troubleshooting notes. * ipmi-chassis/src/ipmi-chassis.h: Change -I (--identify) option to -i so it does not conflict with -I from --cipher-suite-id option. * ipmi-fru/src/ipmi-fru-util.c (ipmi-fru/src/ipmi-fru-util.c): Output failed checksums by default. 2008-12-11 Albert Chu * libfreeipmi/include/freeipmi/record-format/ipmi-sdr-record-format.h: Add record type names. Rename several macros for consistency to IPMI spec. * ipmi-sensors/: Output record type names along with hex codes. * libfreeipmi/, common/src/toolcommon/, ipmi-sensors/, ipmi-sel/, ipmi-sensors-config/, ipmimonitoring/: Update macros as necessary. * ipmi-sensors/: Output hex code along with group name in verbose and very verbose modes. 2008-12-09 Albert Chu * libfreeipmi/src/api/ipmi-lan-session-common.c (ipmi_lan_2_0_open_session): Fix Intel 2.0 workarounds. * bmc-config/src/bmc-config-user-sections.c (enable_user_commit): Fix workaround for enabling a user. * libfreeipmi/src/api/ipmi-lan-session-common.c (_ipmi_lan_2_0_cmd_wrapper_verify_packet): Fix ipmi 2.0 error handling corner case for some motherboards. * libfreeipmi/src/api/ipmi-lan-session-common.c (ipmi_lan_2_0_open_session): Fix ipmi Intel 2.0 workaround. 2008-12-09 Albert Chu * ipmi-oem/: Add supermicro reset-intrusion oem command. Add --list option support. 2008-12-09 Albert Chu * ipmiconsole/src/libipmiconsole/ipmiconsole_ctx.c, ipmiconsole/src/libipmiconsole/ipmiconsole_defs.h, ipmiconsole/src/libipmiconsole/ipmiconsole_processing.c (_process_protocol_state_activate_payload): Add workaround for state machine cycle possibility. 2008-12-08 Albert Chu * ipmiconsole/src/libipmiconsole/ipmiconsole_packet.c (ipmiconsole_ipmi_packet_assemble): Add workaround for Intel IPMI 2.0 situation. * common/man/manpage-common-workaround-sol-only-text.man, common/man/manpage-common-workaround-text.man: Change text for workaround changes. 2008-12-05 Albert Chu * ipmiconsole/src/libipmiconsole/ipmiconsole_packet.c (ipmiconsole_ipmi_packet_assemble): Fix Intel 2.0 workaround. 2008-12-04 Albert Chu * common/man/manpage-common-workaround-sol-only-text.man, common/man/manpage-common-workaround-text.man: Cleanup text. 2008-12-04 Diego "Flameeyes" Petten * ipmi-oem/, ipmi-raw/: Fix portability for glibc 2.8. Remove use of ARG_MAX and replace with sysconf call to _SC_ARG_MAX. 2008-12-04 Albert Chu * bmc-config/: Add documentation on . 2008-12-04 Dave Love * freeipmi.spec.in: Require /sbin/chkconfig, not chkconfig, to work on SuSE. 2008-12-03 Albert Chu * bmc-config/src/: Document various issues w/ comments. * common/src/configtool/: Support CONFIG_USERNAME_NOT_SET_YET config flag. * bmc-config/src/: Support CONFIG_USERNAME_NOT_SET_YET in various fields due to checkout issues with Sun X4140. 2008-12-01 Albert Chu * ipmimonitoring/ipmi_monitoring_sensors.conf.5.pre.in: Fix typos. 2008-11-27 Albert Chu * ipmi-sel/src/ipmi-sel-entry.c (ipmi_sel_get_entry): Fix output corner case. * ipmimonitoring/: Add system ACPI power state and button switch interpretations. Add forgotten bitmasks. Fix config file option names. * ipmimonitoring/: Add new interpretations, button switch state, entity presence device install, processor state. * libfreeipmi/src/util/ipmi-sensor-and-event-code-tables-util.c/: Fix event message data2 output corner cases. 2008-11-26 Albert Chu * ipmimonitoring/: Additional documentation updates. * ipmi-sensors/src/ipmi-sensors-reading.c (sensor_reading): Output 'NA' is sensor scanning is disabled. * ipmimonitoring/src/libipmimonitoring/ipmi_monitoring_sensor_reading.c (_get_sensor_reading): Return 'unreadable sensor' for sensors where sensor scanning is disabled. * ipmimonitoring/: Add new interpretations, power supply state, drive slot state, drive slot predictive failure. * ipmiconsole/src/ipmiconsole.c (main): Fix workaround bug. * common/src/toolcommon/tool-cmdline-common.h, common/src/toolcommon/tool-cmdline-common.c (parse_workaround_flags), common/src/toolcommon/tool-common.c (ipmi_open), ipmiconsole/src/ipmiconsole/ipmiconsole.c (main), ipmipower/src/, libfreeipmi/include/freeipmi/api/ipmi-api.h, libfreeipmi/src/api/ipmi-api.c (ipmi_ctx_open_outofband_2_0), ipmimonitoring/src/ipmimonitoring/ipmimonitoring.c (_grab_ipmimonitoring_options): Remove workaround flags unused in libfreeipmi. Make tool specific workarounds specific to tools. * ipmi-sel/src/: When retrieving SEL entries, always try to obtain a reservation ID. 2008-11-25 Albert Chu * ipmimonitoring/ipmi_monitoring_sensors.conf.5.pre.in, ipmimonitoring/ipmimonitoring_sensors.conf.5.pre.in, ipmimonitoring/ipmimonitoring.conf.5.pre.in, ipmimonitoring/libipmimonitoring.conf.5.pre.in, : New files. * ipmimonitoring/ipmimonitoring.8.pre.in, ipmimonitoring/libipmimonitoring.3.pre.in: Update for new manpage. * configure.ac, freeipmi.spec.in, ipmimonitoring/Makefile.am: Adjust for new manpage. 2008-11-24 Albert Chu * ipmi-sensors/src/ipmi-sensors-display-common.c (ipmi_sensors_get_thresholds): Fix workaround for motherboards w/o get sensor thresholds command support. * ipmimonitoring/: Add fan transition availability interpretation. * ipmimonitoring/: Documentation additions and cleanup. * libfreeipmi/include/freeipmi/spec/ipmi-sensor-types-spec.h, libfreeipmi/src/spec/ipmi-sensor-types-spec.c, libfreeipmi/include/freeipmi/cmds/ipmi-pef-and-alerting-cmds.h, pef-config/src/pef-config-map.c: Fix typos in sensor types macros and strings. * ipmi-sensors/src: Fix corner cases in groups verification/selection. * configure.ac: Update library revisions appropriately. 2008-11-20 Albert Chu * ipmi-sensors/src/ipmi-sensors-display-common.c (ipmi_sensors_get_thresholds): Fix non-recoverable thresholds output corner case. * ipmi-sensors/src/ipmi-sensors-simple-display.c (sensors_display_simple_full_record): Output something other than critical thresholds if critical thresholds are not available. 2008-11-20 Albert Chu * common/src/toolcommon/tool-fiid-wrappers.h (_FIID_OBJ_SET): New macro. * common/src/toolcommon/tool-sdr-cache-common.h, common/src/toolcommon/tool-sdr-cache-common.c (sdr_cache_get_thresholds_raw): New function. * ipmi-sensors/src/ipmi-sensors-display-common.c (_get_sdr_sensor_thresholds): New function. * ipmi-sensors/src/ipmi-sensors-display-common.c (ipmi_sensors_get_thresholds): Workaround motherboards w/o get sensor thresholds command support. * ipmi-sensors-config/src/ipmi-sensors-config-threshold-section.c (threshold_checkout): Workaround motherboards w/o get sensor thresholds command support. * doc/freeipmi-bugs-and-workarounds.txt: Document new workaround. 2008-11-19 Albert Chu * ipmimonitoring/: Add power unit device install interpretation. * ipmimonitoring/src/ipmimonitoring/ipmi_monitoring_sensor_config.c: Fix invalid config option names for slot device installs sensors. * ipmimonitoring/ipmimonitoring.8.pre.in: Add extra documentation. 2008-11-19 Albert Chu * bmc-info/src/bmc-info.c (display_get_device_id): Optionally display auxiliary information. 2008-11-17 Albert Chu * ipmi-raw/src/ipmi-raw-argp.c, ipmi-raw/ipmi-raw.8.pre.in: Clarify usage. * common/src/toolcommon/tool-cmdline-common.c (cmdline_config_file_parse): Fix corner case parsing bug. 2008-11-10 Albert Chu * ipmi-sensors/src/ipmi-sensors-verbose-display.c (_output_verbose_header), ipmi-sensors/src/ipmi-sensors-very-verbose-display.c (_output_very_verbose_header): Fix semantic issue with verbose output by clearly outputting sensor owner ID vs. slave address/system software ID. 2008-11-07 Albert Chu * bmc-device/bmc-device.8.pre.in: Fix typo. * ipmimonitoring/ipmimonitoring.8.pre.in: Fix typo. 2008-11-07 Albert Chu * Fix compiler warnings. 2008-11-07 Albert Chu * Tagged Release-0_7_0_base. * Branched Release-0_7_0_branch. 2008-10-01 Albert Chu * ipmiconsole/ipmiconsole.8.pre.in: Add special workaround notes. 2008-09-30 Albert Chu * ipmi-fru/src/ipmi-fru-multirecord-area.c: Fix record length check bug. 2008-09-30 Albert Chu * Tagged Release-0_7_0_beta0. 2008-09-30 Albert Chu * Various doc updates. 2008-09-29 Albert Chu * README.build: New file. * Makefile.am, freeipmi.spec.in: Add new file. 2008-09-25 Albert Chu * Document sr1520ml server workarounds. 2008-09-25 Albert Chu * freeipmi.spec.in: Fix freeipmi.conf permissions. * Document Intel x38ml workarounds. * Update workaround text/docs. 2008-09-25 Dmitry Frolov * doc/freeipmi-faq.texi: Add FreeBSD information. 2008-09-24 Albert Chu * ipmiconsole/src/libipmiconsole/: Fix incorrect port usage on non-default port conditions. 2008-09-24 Albert Chu * common/src/toolhostrange/tool-hostrange-common.c (pstdout_setup): Fix potential segfault scenario. * common/src/toolhostrange/tool-hostrange-common.c (pstdout_setup): Fix --eliminate corner case when one host is specified. 2008-09-23 Albert Chu * Fix parallel build bugs due to cycles in Makefile dependencies. * common/src/toolhostrange/: Split off tool hostrange into separate lib from common/src/toolcommon/. * Fix minor bugs. 2008-09-23 Dmitry Frolov * libfreeipmi/src/debug/ipmi-debug.c (ipmi_obj_dump): Fix printf portability. 2008-09-23 Albert Chu * ipmiconsole/src/libipmiconsole/ipmiconsole_processing.c (_check_try_new_port): Fix corner case. 2008-09-22 Albert Chu * common/src/configtool/config-tool-commit.c (config_commit_section): Fix return code corner case. 2008-09-19 Albert Chu * ipmimonitoring/src/libipmimonitoring/ipmi_monitoring_sdr_cache.c (_ipmi_monitoring_sdr_cache_filename): Fix filename corner case. 2008-09-19 Albert Chu * ipmimonitoring/src/libipmimonitoring/ipmi_monitoring_sensors_config.c (_cb_sensor_state_parse): Fix corner case. 2008-09-17 Albert Chu * Fix distcheck globally. * ipmi-sensors/, ipmimonitoring/: Code cleanup. * configure.ac: update for beta release. 2008-09-16 Albert Chu * libfreeipmi/src/sdr-cache/ipmi-sdr-cache-defs.h: Fix potential portability issue. * libfreeipmi/src/fiid/fiid.c: Add template checks for valid key name and key length. Add template checks for valid flags. 2008-09-13 Albert Chu * ipmi-sensors/, ipmimonitoring/: Handle sensor completion code of IPMI_COMP_CODE_PARAMETER_OUT_OF_RANGE and IPMI_COMP_CODE_REQUEST_INVALID_DATA_FIELD as special case. 2008-09-10 Albert Chu * ipmi-sensors/, ipmimonitoring/: Handle sensor completion code of IPMI_COMP_CODE_COMMAND_ILLEGAL_FOR_SENSOR_OR_RECORD_TYPE as a special case. 2008-09-02 Dmitry Frolov * configure.ac, all Makefile.am: Fix porting for BSD. 2008-08-29 Albert Chu * common/src/toolcommon/tool-config-file-common.c: Fix typo in option name. * etc/freeipmi.conf: Add missing options. 2008-08-28 Albert Chu * libfreeipmi/src/record-format/ipmi-sdr-record-format.c: Fix field names. * ipmi-sensors/, common/src/toolcommon/: Adjust for new field names. * common/src/toolcommon/, ipmi-sensors/: Add additional output in very verbose mode. 2008-08-27 Albert Chu * common/src/toolcommon/tool-sdr-cache-common.h, common/src/toolcommon/tool-sdr-cache-common.c (sdr_cache_get_sensor_owner_lun): New function. * ipmi-sensors/: Add channel and lun info to verbose output. * ipmi-sensors/, ipmimonitoring/: Only call bridging if specified channel is IPMB. * libfreeipmi/src/api/ipmi-sensors-cmds-api.c, libfreeipmi/include/freeipmi/ipmi-sensors-cmds-api.h (ipmi_cmd_get_sensor_reading_ipmb): Take lun parameter. * ipmi-sensors/, ipmimonitoring/: Pass SDR lun as well as slave address for ipmb bridging. * ipmimonitoring/: Add fan redundancy interpretation. * ipmimonitoring/: Support alternate sensors config file. * common/src/toolcommon/tool-sdr-cache-common.h, common/src/toolcommon/tool-sdr-cache-common.c (sdr_cache_create_directory): New function. * common/src/toolcommon/tool-sdr-cache-common.c: Code cleanup. * ipmimonitoring/src/ipmimonitoring/: Code cleanup. * libfreeipmi/src/util/ipmi-sensor-and-event-code-tables-util.c, libfreeipmi/include/freeipmi/util/ipmi-sensor-and-event-code-tables.h (ipmi_get_sensor_type_code_message_short, ipmi_get_generic_event_message_short): New functions. * ipmi-sensors/, ipmimonitoring/: Use short message versions instead of long message versions under non-verbose output. * Tweak documentation. 2008-08-26 Albert Chu * ipmimonitoring/: Support power supply redundancy interpretation. Support voltage assertion interpretation. * libfreeipmi/src/api/ipmi-kcs-interface-api.c: Re-read if get message queue is empty error. * ipmi-sensors/, ipmimonitoring/: Continue on if a message timeout occured. It is not a fatal error. * libfreeipmi/src/debug/ (ipmi_obj_debug_ipmb): Fix output corner case. * Tweak documentation. 2008-08-25 Albert Chu * ipmi-sel/src/: Support debug dumping of SEL Event Records. Handle sensor finding corner case on Supermicro. * ipmi-sensors/src/: Include sensor owner id type in slave address output. 2008-08-25 Albert Chu * tagged ipmi_chassis_boot_flags_valid_remove_pre * ipmi-chassis-config/: Do not allow configuration of boot_flags_valid and its bit clearing. Always set boot_flags_valid to 1 (i.e. "Yes"). * ipmi-chassis-config/src/ipmi-chassis-config-boot-flags-valid-bit-clearing.h, ipmi-chassis-config/src/ipmi-chassis-config-boot-flags-valid-bit-clearing.c: Removed files. * tagged ipmi_chassis_boot_flags_valid_remove_post 2008-08-25 Albert Chu * ipmi-chassis-config/: Remove ipmi chassis boot flags workaround. 2008-08-25 Albert Chu * merge in ipmb_branch * libfreeipmi/include/freeipmi/cmds/ipmi-event-commands.h, libfreeipmi/src/cmds/ipmi-event-cmds.c, libfreeipmi/src/api/ipmi-event-cmds.c, libfreeipmi/include/freeipmi/api/ipmi-event-cmds-api.h: New files. * libfreeipmi/include/freeipmi/util/ipmi-ipmb-util.h, libfreeipmi/src/util/ipmi-ipmb-util.c: New files. * libfreeipmi/include/freeipmi/freeipmi.h: Update for new files. * libfreeipmi/src/api/ipmi-api.c, libfreeipmi/include/freeipmi/api/ipmi-api.h (ipmi_cmd_ipmb): New function. * libfreeipmi/include/freeipmi/util/ipmi-error-util.c, libfreeipmi/include/freeipmi/spec/ipmi-comp-code-spec.h: Support error codes for get message command. * libfreeipmi/src/api/ipmi-kcs-interface-api.h, libfreeipmi/src/api/ipmi-kcs-interface-api.c (ipmi_kcs_cmd_api_ipmb): New function. * libfreeipmi/include/freeipmi/driver/ipmi-openipmi-driver.h, libfreeipmi/src/driver/ipmi-openipmi-driver.c (ipmi_openipmi_cmd_ipmb): New function. * libfreeipmi/src/api/ipmi-openipmi-interface-api.h, libfreeipmi/src/api/ipmi-openipmi-interface-api.c (ipmi_openipmi_cmd_api_ipmb): New function. * libfreeipmi/src/api/ipmi-lan-session-common.h, libfreeipmi/src/api/ipmi-lan-session-common.c (ipmi_lan_cmd_wrapper_ipmb, ipmi_lan_2_0_cmd_wrapper_ipmb): New functions. * libfreeipmi/src/debug/ipmi-debug.c, libfreeipmi/src/debug/ipmi-debug-lan.c, libfreeipmi/src/debug/ipmi-debug-rmcpplus.c, libfreeipmi/include/freeipmi/debug/ipmi-debug.h (ipmi_dump_obj_ipmb, ipmi_dump_lan_packet_ipmb, ipmi_dump_rmcpplus_packet_ipmb): New functions. * libfreeipmi/src/api/ipmi-api.c, libfreeipmi/src/api/ipmi-ctx.h: Support ipmb debugging. * ipmi-sensors/: Support ipmb bridging. Support --bridge-sensors option. Change default privilege to operator. Output "Unknown State" if an unrecognized bit is set. Output busy sensors as "Unknown". * ipmimonitoring/src/libipmimonitoring/: Support IPMI_MONITORING_SENSOR_READING_FLAGS_BRIDGE_SENSORS flag. * ipmimonitoring/: Output "Unknown State" if an unrecognized bit is set. Handle and recognize busy sensors. Support --bridge-sensors option. Change default privilege to operator. * common/src/toolcommon/tool-config-file-common.h, common/src/toolcommon/tool-config-file-common.c: Support config file configuration of --bridge-sensors. Various code cleanup and minor enhancements. * libfreeipmi/src/api/: Create and support new error message IPMI_ERR_COMMAND_INVALID_FOR_SELECTED_INTERFACE. 2008-08-22 Albert Chu * tagged ipmi_chassi_boot_flags_workaround_pre * ipmi-chassis-config/: Support workaround for boot flags. * tagged ipmi_chassi_boot_flags_workaround_post 2008-08-18 Albert Chu * libfreeipmi/include/freeipmi/ipmi-ipmb-interface.h, libfreeipmi/src/interface/ipmi-ipmb-interface.c: New files. * libfreeipmi/include/freeipmi/freeipmi.h: Update for new .h file. * Update Makefiles as needed for new files. 2008-08-15 Albert Chu * libfreeipmi/: Support various new ipmi cmds from messaging support section. 2008-08-15 Albert Chu * libfreeipmi/: Support get system interface capabilities and get bt interface capabilities commands, templates, and api calls. * bmc-device/: Support --get-ssif-interface-capabilities, --get-kcs-interface-capabilities, --get-bt-interface-capabilities. 2008-08-15 Albert Chu * ipmimonitoring/src/libipmimonitoring/ipmi_monitoring_sensor_reading.c (_get_sensor_reading): If sensor slave address is not BMC, considering sensor unavailable. * libfreeipmi/include/freeipmi/sdr-cache/ipmi-sdr-cache.h, libfreeipmi/src/sdr-cache/ipmi-sdr-cache-read.c (ipmi_sdr_cache_search_sensor_number): Rename to ipmi_sdr_cache_search_sensor. Search for sensor via sensor owner id and sensor number. * ipmi-sel/src/ipmi-sel-entry.c (_find_sdr_record, _get_sel_system_event_record): Find sensor via sensor number and id. * libfreeipmi/include/freeipmi/spec/ipmi-slave-address-spec.h: Rename IPMI_LAN_SLAVE_ADDRESS_BMC to IPMI_SLAVE_ADDRESS_BMC (support IPMI_LAN_SLAVE_ADDRESS_BMC w/ legacy macro). * General code cleanup. 2008-08-14 Albert Chu * ipmi-sensors/src/: If sensor slave address is not BMC, do not read/output sensor reading. 2008-08-14 Albert Chu * libfreeipmi/include/freeipmi/interface/ipmi-lan-interface.h, libfreeipmi/src/interface/ipmi-lan-interface.c (fill_lan_msg_hdr): Take rs_addr argument. * Adjust calls to fill_lan_msg_hdr globally as needed. 2008-08-12 Albert Chu * Tagged sunbmc_pre_experimental * Document that sunbmc driver is experimental. * Tagged sunbmc_post_experimental 2008-08-12 Albert Chu Add Solaris BMC interface. * libfreeipmi/include/freeipmi/driver/ipmi-sunbmc-driver.h: New file. * libfreeipmi/src/driver/ipmi-sunbmc-driver.c: New file. * libfreeipmi/src/api/ipmi-sunbmc-driver-api.h, libfreeipmi/src/api/ipmi-sunbmc-driver-api.c: New files. * libfreeipmi/include/freeipmi/ipmi-api.h, libfreeipmi/src/api/ipmi-ctx.h, libfreeipmi/src/api/ipmi-api.c, libfreeipmi/src/api/ipmi-err-wrappers-api.h: Support IPMI_DEVICE_SUNBMC. * libfreeipmi/include/freeipmi/freeipmi.h: add libfreeipmi/include/freeipmi/driver/ipmi-sunbmc-driver.h. * configure.ac: check for sys/stropts.h, sys/int_types.h, bmc_intf.h. * common/src/toolcommon/tool-cmdline-common.h, common/src/toolcommon/tool-cmdline-common.c, common/src/toolcommon/tool-common.c.: Add Sun BMC driver cmdline support. * README, man/freeipmi.7.pre.in, common/man/manpage-common-driver.man: Update with sunbmc. * ipmimonitoring/, bmc-watchdog/: Support sunbmc driver. * README.sunbmc: New file. * doc/freeipmi-faq.texi: Update w/ SUNBMC driver compilation support. * freeipmi.spec.in: Add README.sunbmc. 2008-08-11 Albert Chu * man/freeipmi.conf.5.pre.in: Fix text. * ipmi-locate/src/ipmi-locate.c: Fix output format. 2008-08-10 Albert Chu * bmc-config/, ipmi-chassis-config/, ipmi-sensors-config/, pef-config/: Support hostrange config file options. * common/src/toolcommon/tool-config-file-common.h, common/src/toolcommon/tool-config-file-common.c: Support tool specific out of band configuration. * Globally update documentation and tools as needed. 2008-08-08 Albert Chu * Documentation cleanup. 2008-08-08 Albert Chu Merge contents from chassis_config_branch. * ipmi-chassis-config/Makefile.am, ipmi-chassis-config/ipmi-chassis-config.8.pre.in, ipmi-chassis-config/src/Makefile.am, ipmi-chassis-config/src/ipmi-chassis-config.h, ipmi-chassis-config/src/ipmi-chassis-config.c, ipmi-chassis-config/src/ipmi-chassis-config-argp.h, ipmi-chassis-config/src/ipmi-chassis-config-argp.c, ipmi-chassis-config/src/ipmi-chassis-config-boot-flags.h, ipmi-chassis-config/src/ipmi-chassis-config-boot-flags.c, ipmi-chassis-config/src/ipmi-chassis-config-boot-flags-valid-bit-clearing.h, ipmi-chassis-config/src/ipmi-chassis-config-boot-flags-valid-bit-clearing.c, ipmi-chassis-config/src/ipmi-chassis-config-front-panel-buttons.h, ipmi-chassis-config/src/ipmi-chassis-config-front-panel-buttons.c, ipmi-chassis-config/src/ipmi-chassis-config-power-conf.h, ipmi-chassis-config/src/ipmi-chassis-config-power-conf.c, ipmi-chassis-config/src/ipmi-chassis-config-validate.h, ipmi-chassis-config/src/ipmi-chassis-config-validate.c, ipmi-chassis-config/src/ipmi-chassis-config-map.h, ipmi-chassis-config/src/ipmi-chassis-config-map.c, ipmi-chassis-config/src/ipmi-chassis-config-sections.h, ipmi-chassis-config/src/ipmi-chassis-config-sections.c: New files. * common/src/configtool/config-tool-common.h, common/src/configtool/config-tool-section.h, common/src/configtool/config-tool-section.c, common/src/configtool/config-tool-commit.c, (config_section_create, config_commit_section): Add sectional pre and post commit callback definitions and functions. * common/src/configtool/config-tool-checkout.c (config_checkout_section): Support multiline descriptions. * bmc-config/src/, pef-config/src/, ipmi-sensors-config/src/: Update for function call changes. * libfreeipmi/include/freeipmi/cmds/ipmi-chassis-cmds.h, libfreeipmi/src/cmds/ipmi-chassis-cmds.c (fill_set_front_panel_enables, tmpl_cmd_set_front_panel_enables_rq, tmpl_cmd_set_front_panel_enables_rs, fill_cmd_set_system_boot_options_BMC_boot_flag_valid_bit_clearing, tmpl_cmd_set_system_boot_options_BMC_boot_flag_valid_bit_clearing_rq, tmpl_cmd_get_system_boot_options_BMC_boot_flag_valid_bit_clearing_rs): Support new templates and functions. * libfreeipmi/include/freeipmi/api/ipmi-chassis-cmds-api.h, libfreeipmi/src/cmds/ipmi-chassis-cmds-api.c (ipmi_cmd_set_front_panel_enables, ipmi_cmd_set_system_boot_options_boot_BMC_boot_flag_valid_bit_clearing ipmi_cmd_get_system_boot_options_BMC_boot_flag_valid_bit_clearing): New functions. * bmc-config/src/: Remove default checkout of "Power_Restore_Policy". * ipmi-chassis/: Hide legacy chassis configuration commands/options. * configure.ac, Makefile.am, freeipmi.spec.in: Update as needed for new files. * bmc-config/bmc-config.8.pre.in, pef-config/pef-config.8.pre.in, ipmi-sensors-config/ipmi-sensors-config.8.pre.in, ipmi-chassis/ipmi-chassis.8.pre.in, README, NEWS, mans/freeipmi.7.pre.in, doc/freeipmi-faq.texi, doc/freeipmi-coding.txt, doc/freeipmi-hostrange.txt: Update appropriately with documentation updates. * libfreeipmi/src/cmds/ipmi-chassis-cmds.c (fill_cmd_set_system_boot_options_boot_flags), libfreeipmi/src/api/ipmi-chassis-cmds-api.c (ipmi_cmd_set_system_boot_options_boot_flags): Fix input parameter check. * Various code cleanup. 2008-08-05 Albert Chu * bmc-config/: Support configurable Lan_Session_Limit and Serial_Session_Limit. Update documentation as needed. 2008-08-02 Albert Chu * Various documentation and manpage updates. 2008-08-01 Albert Chu * ipmi-sensors-config/src/: Complete sensor event enable/disable support. * ipmimonitoring/: Support cable interconnect and boot error interpretations. * ipmi-sensors-config/src/: Support cable interconnect and boot error config. 2008-07-31 Albert Chu * ipmi-sensors-config/src/: Begin specific event enable support. * common/src/configtool/config-tool-checkout.c: Fix checkout corner case. Support different length lines in checkout. * bmc-config/, pef-config/, ipmi-sensors-config/: Support config tool API change. 2008-07-30 Albert Chu * ipmi-sensors-config/src/: Variety of code cleanup. * common/src/toolcommon/tool-sdr-cache-common.h, common/src/toolcommon/tool-sdr-cache-common.c (sdr_cache_get_assertion_supported, sdr_cache_get_deassertion_supported, sdr_cache_get_threshold_assertion_supported, sdr_cache_get_threshold_deassertion_supported): New function.s * libfreeipmi/src/record-format/ipmi-sdr-record-format.c, libfreeipmi/include/freeipmi/record-format/ipmi-sdr-record-format.h: Add tmpl_sdr_compact_sensor_record_non_threshold_based_sensors and tmpl_sdr_compact_sensor_record_threshold_based_sensors templates. * libfreeipmi/src/debug/ipmi-debug-sdr.c (ipmi_dump_sdr_record): Support new compact record formats. 2008-07-20 Albert Chu * ipmi-sensors-config/ipmi-sensors-config.8.pre.in: Update text. * configure.ac: Update lib versions. 2008-07-19 Albert Chu * ipmi-sensors-config/src/ipmi-sensors-config-sensor-event-enable-common.h, ipmi-sensors-config/src/ipmi-sensors-config-sensor-event-enable-common.c: New files. * ipmi-sensors-config/: Support all event messages enable and sensor scanning enable/disable. 2008-07-16 Albert Chu * ipmi-sensors-config/: Remove discrete sensor hysteresis support. Makes no sense. * ipmi-sensors-config/src/ipmi-sensors-config-utils.h, ipmi-sensors-config/src/ipmi-sensors-config-utils.c (create_section_name): New function. * ipmi-sensors-config/src/ipmi-sensors-config-utils.h, ipmi-sensors-config/src/ipmi-sensors-config-utils.c (convert_id_string): Rename to _convert_id_string, make static. * ipmi-sensors-config/src/ipmi-sensors-config-threshold-section.c, ipmi-sensors-config/src/ipmi-sensors-config-threshold-section.h: Use create_section_name appropriately. 2008-07-15 Albert Chu * ipmi-sensors-config/src/ipmi-sensors-config-threshold-section.c: Cleanup to prepare for hysteresis configuration support. * ipmi-sensors-config/: Support threshold hysteresis configuration. * ipmi-sensors-config/src/ipmi-sensors-config-discrete-section.h, ipmi-sensors-config/src/ipmi-sensors-config-discrete-section.c: New files. * ipmi-sensors-config/: Support hysteresis configuration on discrete sensors. * common/src/config-checkout.c (config_checkout_section): Fix corner case. 2008-07-14 Albert Chu * ipmimonitoring/: Fix up -v output formatting. * common/src/configtool/config-tool-argp.c: Fix -v option support. * common/man/manpage-common-config-tool-options.man: Fix man options. * bmc-config/: Output authentication type enables and serial conf, but only under verbose mode. 2008-07-13 Albert Chu * tagged pre_remove_serial_bmc_config * bmc-config/: remove checkout of serial config sections/fields. * tagged post_remove_serial_bmc_config * ipmi-sensors/src/: Limit output in verbose and very verbose when data is clearly irrelevant. * ipmimonitoring/src/ipmimonitoring/ipmimonitoring.c (run_cmd_args): Similar to ipmi-sensors, output "OK" if a bitmask sensor reading has no bits set. * ipmimonitoring/src/libipmimonitoring/ipmi_monitoring_sensor_reading.c (_threshold_sensor_reading): Check for valid analog data format as well as linearization. * ipmimonitoring/src/libipmimonitoring/ipmi_monitoring_sensor_reading.c (_get_sensor_reading): Check for reading state in sensor reading. * ipmimonitoring/src/libipmimonitoring/: Support "connection timeout" error message. * ipmimonitoring/: Support -v verbose option. 2008-07-12 Albert Chu * Update bmc-config, pef-config, ipmi-sensors-config with some config text. 2008-07-11 Albert Chu * ipmi-sensors/src/: Output multiple event messages on multiple lines under verbose mode. Retrieve hysteresis only from IPMI cmd, not from SDR. Support output of event enable information in very verbose mode. * common/src/miscutil/hostlist.c: update to newest lib version. * common/src/configtool/config-tool-common.h (IPMI_CTX_ERRNUM_IS_FATAL_ERROR): New macro. * bmc-config/, pef-config/, ipmi-sensors-config/, common/src/configtool/config-tool-pef-conf-section.c: Utilize IPMI_CTX_ERRNUM_IS_FATAL_ERROR to check if an error from an IPMI API cmd call is really non-fatal. * ipmi-sensors/src/: Limit output in verbose and very verbose when data is clearly irrelevant. 2008-07-10 Albert Chu * ipmi-sensors/src/ipmi-sensors-reading.c (_get_threshold_message_list, _get_generic_event_message_list, _get_sensor_specific_event_message_list): Fix cleanup corner case. 2008-07-10 Albert Chu * ipmipower/ipmipower.8.pre.in: Add default info. * man/freeipmi.conf.5.pre.in: Add default config file path info. * etc/: New dir. * etc/freeipmi.conf: New default freeipmi.conf file. * configure.ac, freeipmi.spec.in: Update appropriately for new files. * common/src/toolcommon/tool-sdr-cache-common.h, common/src/toolcommon/tool-sdr-cache-common.c (sdr_cache_get_sensor_capabilities): New function. * ipmi-sensors/src/ipmi-sensors-very-verbose-display.c (_output_very_verbose_hysteresis): Before issuing hysteresis command, check if hysteresis can even be read. * ipmi-sensors/src/ipmi-sensors-display-common.c (ipmi_sensors_get_thresholds): Before issuing threshold reading commands, check if threshold can even be read. * ipmi-sensors/src/ipmi-sensors-reading.c (sensor_reading): Check for unavailable sensor readings. * ipmi-sensors/src/ipmi-sensors-reading.c (_get_na_message_list): New function. * ipmi-sensors/src/ipmi-sensors-reading.c (sensor_reading): If sensor is not linear or has invalid analog_data_format, still try to get proper event message list before falling through. 2008-07-09 Albert Chu * libfreeipmi/include/freeipmi/cmds/ipmi-sensor-cmds.h, libfreeipmi/src/cmds/ipmi-sensor-cmds.c, libfreeipmi/include/api/ipmi-sensor-cmds-api.h, libfreeipmi/src/api/ipmi-sensor-cmds-api.c: Support Get/Set event enable commands. * Globally rename "sensor_state" to "sensor_event_bitmask" for consistency to get/set enable commands and for clarification from ipmimonitoring's "sensor_state". * ipmi-sensors/: Re-order hysteresis output with positive first, for consistency to IPMI spec. Gather hysteresis values from IPMI command when available. * common/src/toolcommon/tool-sdr-cache-common.h, common/src/toolcommon/tool-sdr-cache-common.c (sdr_cache_get_hysteresis_real): Removed function. * common/src/toolcommon/tool-sdr-cache-common.h, common/src/toolcommon/tool-sdr-cache-common.c (sdr_cache_get_hysteresis_integeer): Renamed to sdr_cache_get_hysteresis. 2008-07-08 Albert Chu * ipmi-sel/, bmc-device/: Move --get-time and --set-time from ipmi-sel to --get-sel-time and --set-sel-time in bmc-device. * libfreeipmi/include/freeipmi/api/ipmi-sdr-repository-cmds-api.h, libfreeipmi/include/freeipmi/cmds/ipmi-sdr-repository-cmds.h, libfreeipmi/src/api/ipmi-sdr-repository-cmds-api.c, libfreeipmi/src/cmds/ipmi-sdr-repository-cmds.c: Support get/set SDR repository time commands. * bmc-device/: Support --get-sdr-repository-time and --set-sdr-repository-time. * libfreeipmi/include/freeipmi/cmds/ipmi-sel-cmds.h, libfreeipmi/src/cmds/ipmi-sel-cmds.c, libfreeipmi/include/api/ipmi-sel-cmds-api.h, libfreeipmi/src/api/ipmi-sel-cmds-api.c: Support Get Auxiliary Log status IPMI command. * bmc-device/: Support --get-mca-auxiliary-log-status. * libfreeipmi/: various minor code cleanup. * libfreeipmi/include/freeipmi/cmds/ipmi-sensor-cmds.h, libfreeipmi/src/cmds/ipmi-sensor-cmds.c, libfreeipmi/include/api/ipmi-sensor-cmds-api.h, libfreeipmi/src/api/ipmi-sensor-cmds-api.c: Support Get/Set hysteresis commands. 2008-07-07 Albert Chu * libfreeipmi/include/freeipmi/api/ipmi-lan-cmds-api.h, libfreeipmi/include/freeipmi/cmds/ipmi-lan-cmds.h, libfreeipmi/src/api/ipmi-lan-cmds-api.c, libfreeipmi/src/cmds/ipmi-lan-cmds.c: Support get IP/UDP/RMCP statistics command. * libfreeipmi/src/api/ipmi-lan-cmds-api.c (ipmi_cmd_suspend_bmc_arps): Fix parameter corner case check. * bmc-device/: Support --get-lan-statistics and --clear-lan-statistics. * bmc-device/: Various minor cleanup. 2008-07-07 Albert Chu Support --sdr-cache-recreate globally. * common/src/toolcommon/tool-cmdline-common.h, common/src/toolcommon/tool-cmdline-common.c: Support new --sdr-cache-recreate option. * common/man/manpage-common-sdr-options.man: Document new --sdr-cache-recreate option. * common/src/toolcommon/tool-sdr-cache-common.h, common/src/toolcommon/tool-sdr-cache-common.c (sdr_cache_create, sdr_cache_create_and_load): Add support for --sdr-cache-recreate. * ipmi-sensors/src/ipmi-sensors.c, ipmi-sel/src/ipmi-sel.c, ipmi-fru/src/ipmi-fru.c, ipmimonitoring/src/ipmimonitoring/ipmimonitoring.c, ipmi-sensors-config/src/ipmi-sensors-config.c: Update for new sdr_cache_create_and_load call. * contrib/ganglia/ganglia_ipmi_sensors.pl, contrib/ganglia/ganglia_ipmimonitoring.pl, contrib/nagios/nagios_ipmimonitoring.pl: Use --sdr-cache-recreate when appropriate. * freeipmi.spec.in: Fix build problem. * ipmimonitoring/src/ipmimonitoring/ipmimonitoring.c (run_cmd_args): Preserve old output format when no messages can be output. * ipmi-chassis/: Document power-on-hours typically abbreviated to POH. 2008-07-07 Albert Chu * bmc-config/src/bmc-config.c, pef-config/src/pef-config.c, ipmi-sensors-config/src/ipmi-sensors-config.c: Fix error message output corner cases. 2008-07-03 Albert Chu * configure.ac: Check for stristr. * common/src/portability/freeipmi-portability.h, common/src/portability/freeipmi-portability.c (freeipmi_stristr): New function. * bmc-config/src/: Use stristr when appropriate. 2008-07-03 Albert Chu * ipmi-chassis/ipmi-chassis.8.pre.in: Update some text. * libfreeipmi/include/freeipmi/cmds/ipmi-device-global-cmds.h: Add "NO_CHANGE" macros. * bmc-device/: Support --get-acpi-power-state. * libfreeipmi/src/api/ipmi-device-global-cmds.c (ipmi_cmd_set_acpi_power_state): Fix parameter check bug. * bmc-device/: Support --set-acpi-power-state. * bmc-config/src/: Output lan authentication enables fields dependent on authentication support fields. * configure.ac: Get getpwuid_r portability bug. 2008-07-01 Albert Chu * bmc-device/bmc-device.8.pre.in: Tweak text. * libfreeipmi/include/freeipmi/cmds/ipmi-device-global-cmds.h, libfreeipmi/src/cmds/ipmi-device-global-cmds.c, libfreeipmi/include/api/ipmi-device-global-cmds-api.h, libfreeipmi/src/api/ipmi-device-global-cmds-api.c: Support Get Self Test Results IPMI command. * bmc-device/: Support get self test results. * libfreeipmi/include/freeipmi/cmds/ipmi-device-global-cmds.h, libfreeipmi/src/cmds/ipmi-device-global-cmds.c, libfreeipmi/include/api/ipmi-device-global-cmds-api.h, libfreeipmi/src/api/ipmi-device-global-cmds-api.c: Support Set and Get ACPI power state commands. 2008-06-22 Albert Chu * man/: New dir. Move manpages from doc/ into man/. 2008-06-21 Albert Chu * doc/freeipmi-faq.texi: Add various HPC notes. * Fix compiler warnings. 2008-06-21 Albert Chu * Audit and cleanup header file usage throughout (i.e. use correct #ifs, proper commenting for GNU style, etc.). 2008-06-20 Albert Chu * common/src/portability/: New directory. * common/src/: Moved to portability files to common/src/portability/. * common/src/toolcommon/: New directory. * common/src/: Moved to toolcommon files to common/src/toolcommon/. * common/src/miscutil/: New directory. * common/src/: Moved to miscutil files to common/src/miscutil/. * Adjust all tools and libs appropriately for path changes and naming changes. * Variety of Makefile cleanup. 2008-06-19 Albert Chu * common/src/pingtool/: New directory. * common/src/ping-tool-common.h, common/src/ping-tool-common.c: Moved to common/src/pingtool/. * common/src/configtool/: New directory. * common/src/: Moved to config tool files to common/src/configtool/. * common/src/debugutil/: New directory. * common/src/debug-common.h, common/src/debug-common.c: Rename to debug-util.h and debug-util.c respectively. Rename library to libdebugutil. * Adjust all tools and libs appropriately for path changes and naming changes. * Makefile.am: Remove freeipmi.spec.in and autogen.sh from EXTRA_DIST. * common/doc: Move to common/man. * Adjust all manpages appropriately. * common/src/freeipmi-portability.h, common/src/freeipmi-portability.c: Fix portability of asprintf. 2008-06-19 Albert Chu * ipmimonitoring/src/ipmimonitoring/ipmimonitoring.c (ipmimonitoring.c): Output multiple strings if multiple bitmasks set. * common/src/hostrange.h, common/src/hostrange.c: Rename to tool-hostrange-common.h and tool-hostrange-common.c. * common/src/ipmi-ping.h, common/src/ipmi-ping.c: Rename to ping-tool-common.h and ping-tool-common.c. * common/src/Makefile.am: Merge hostrange lib into toolcommon lib. Link libmiscutils.la into libtoolcommon.la. Link libfreeipmiportability.la into libtoolcommon.la. rename libipmiping.la to libpingtoolcommon.la for consistency. Link libfreeipmiportability.la into libpingtoolcommon.la. Link libtoolcommon into libconfigtoolcommon. Link libipmidetect and libfreeipmi into libtoolcommon. Link libfreeipmi into libpingtoolcommon. * Adjust all tool Makefiles appropriately for lib changes. * General Makefile cleanup. 2008-06-18 Albert Chu Support hostranges on bmc-config, ipmi-sensors-config, and pef-config. * common/src/config-tool-argp.c, common/src/config-tool-argp.h, common/src/config-tool-checkout.c, common/src/config-tool-checkout.h, common/src/config-tool-comment.c, common/src/config-tool-comment.h, common/src/config-tool-commit.c, common/src/config-tool-commit.h, common/src/config-tool-common.h, common/src/config-tool-diff.c, common/src/config-tool-diff.h, common/src/config-tool-parse.c, common/src/config-tool-parse.h, common/src/config-tool-pef-conf-section.c, common/src/config-tool-pef-conf-section.h: Support hostranges. * bmc-config/src/, ipmi-sensors-config/src/, pef-config/src/: Support hostranges. * doc/freeipmi-hostrange.txt, common/doc/manpage-common-config-tool-general-use.man, bmc-config/bmc-config.8.pre.in, ipmi-sensors-config/ipmi-sensors-config.8.pre.in, pef-config/pef-config.8.pre.in: Update appropriately for hostrange support in config tools. Misc fallout from above changes. * common/src/pstdout.h, common/src/pstdout.c (PSTDOUT_PRINTF, PSTDOUT_FPRINTF, PSTDOUT_PERROR): new functions. * common/src/tool-sdr-cache-common.c: Use PSTDOUT_PRINTF, PSTDOUT_FPRINTF, PSTDOUT_PERROR appropriately. * common/src/tool-fiid-wrappers.h (_FIID_OBJ_GET_DATA): Remove __len in parameters. * bmc-info/, ipmi-fru/: Adjust for _FIID_OBJ_GET_DATA change. * common/src/config-tool-fiid.h, common/src/config-tool-fiid.c: Removed files. * common/src/config-tool-pef-conf-section.c: Adjust for removed wrapper functions. * common/src/config-tool-commit.h, common/src/config-tool-commit.c (config_commit_section, config_commit): Remove fp argument. * common/src/pstdout.c (_pstdout_printf): Resolve return value corner case. * common/src/pstdout.h: Update comments on pstdout_printf, pstdout_fprintf, and pstdout_perror. 2008-06-16 Albert Chu * ipmi-sensors-config/ipmi-sensors-config.8.pre.in: Fix manpage output text ordering. 2008-06-13 Albert Chu * common/src/tool-common.c (ipmi_open): Add/fix conditions under which "nice" error message output occurs. 2008-06-08 Albert Chu * common/src/tool-sdr-cache-common.c (_get_home_directory): Fix getpwuid_r usage. * configure.ac: Fix getpwuid_r detection. 2008-06-07 Albert Chu Port for Solaris. * README.argp: New file. * common/src/freeipmi-portability.h, common/src/freeipmi-portability.c: Handle mempcpy and strchrnul portability. * config/ac_lsh_gcc_attributes.m4: New file. * common/src/freeipmi-argp.h common/src/freeipmi-argp-ba.c common/src/freeipmi-argp-eexst.c common/src/freeipmi-argp-fmtstream.c common/src/freeipmi-argp-fmtstream.h common/src/freeipmi-argp-help.c common/src/freeipmi-argp-namefrob.h common/src/freeipmi-argp-parse.c common/src/freeipmi-argp-pv.c common/src/freeipmi-argp-pvh.c: New files. * common/src/Makefile.am: Update for libfreeipmiportability for new freeipmi-argp lib. * configure.ac: Update with lib argp checking and argp.h. * Update all tools and libraries to load argp.h or freeipmi-argp.h respectively. * Update all Makefile's to include libfreeipmiportability as needed. * Include alloca.h in all files as needed. * common/src/pstdout.c: Rename internal variables stdout and stderr to p_stdout and p_stderr as needed. * configure.ac: Add sys/sockio.h check. * common/src/ipmi-ping.c: Include sys/sockio.h. * configure.ac: Check for 5 vs 4 argument getpwuid_r. * common/src/tool-sdr-cache-common.c (_get_home_directory): Use 5 or 4 argument getpwuid_r appropriately. * Globally remove "-x c" and "-o" options from cpp lines. * configure.ac: Search for cpp. * Globally change 'cpp' call to $(CPP). * Remove default -Wall compilation. * Cleanup Makefiles for portable use. * configure.ac, libfreeipmi/src/driver/ipmi-openipmi-driver.c: Check and load sys/ioccom.h as needed. * configure.ac: Check if -lsocket lib is needed. * common/src/freeipmi-portability.h: Define timeradd and timersub if they don't exist on the system. * configure.ac, libfreeipmi/src/driver/ipmi-kcs-driver.c: Check and handle iopl() as needed. * configure.ac, common/src/freeipmi-portability.h, common/src/freeipmi-portability.c: Check for an port asprintf as needed. * configure.ac, common/src/freeipmi-portability.h, common/src/freeipmi-portability.c: Check for and port strsep as needed. * configure.ac, common/src/freeipmi-portability.h: Check for and deal with __FUNCTION__ portability. * ipmi-sensors/src/ipmi-sensors-reading.c: include freeipmi-portability.h to deal with asprintf. * ipmi-raw/src/ipmi-raw.c: include freeipmi-portability.h to deal with strsep. * libfreeipmi/src/driver/ipmi-inband.h: Removed file. Move macros into ipmi-kcs-driver.c. * ipmipower/src/wrappers.h, ipmipower/src/wrappers.c: Remove some unused wrapper functions. * ipmpower/src/wrappers.c: include freeipmi-portability.h to deal with timersub() portability. * configure.ac, common/src/ipmi-ping.c, ipmiconsole/src/libipmiconsole/ipmiconsole_ctx.c, ipmidetect/src/ipmidetectd/ipmidetectd_loop.c, ipmipower/src/ipmipower_connection.c: Check and use hstrerror appropriately. * ipmiconsole/src/libipmiconsole/: include sys/types.h for UINT_MAX. * Globally make everyone load freeipmi-portability.h. * General cleanup for portability, do not load unnecessary .h files, remove unneeded .h files, etc. * General cleanup, make Makefile's consistent to one another, etc. 2008-06-05 Albert Chu * README, doc/freeipmi.7.pre.in: Remove 'Linux' from reference to OpenIPMI (OpenIPMI is on BSD too). 2008-06-05 Albert Chu * configure.ac: Tweak gethostbyname_r logic. 2008-06-04 Albert Chu * config/ac_gethostbyname_r.m4: Remove file. * configure.ac: Add alternate gethostbyname_r checks that work on Solaris. Remove legacy check for program_invocation_short_name. 2008-06-04 Albert Chu * ipmi-sensors/src/ipmi-sensors-display-common.c (ipmi_sensors_get_thresholds): Special case completion code IPMI_COMP_CODE_REQUEST_SENSOR_DATA_OR_RECORD_NOT_PRESENT as an "ok" error. 2008-06-03 Albert Chu * ipmiconsole/src/libipmiconsole/ipmiconsole_ctx.c, libfreeipmi/src/api/ipmi-api.c: Support 5 argument gethostbyname_r. 2008-06-03 Albert Chu * common/src/freeipmi-portability.h, common/src/freeipmi-portability.c (freeipmi_gethostbyname_r): Change compile rules. Compile only if known gethostbyname_r isn't found. * ipmiconsole/src/libipmiconsole/ipmiconsole_ctx.c, libfreeipmi/src/api/ipmi-api.c: Call freeipmi_gethostbyname_r appropriately. 2008-06-03 Albert Chu * ipmimonitoring/src/ipmimonitoring/ipmimonitoring.c (run_cmd_args): If receive parameters error on ipmi_monitoring_bitmask_string() call, assume bogus bitmask returned from remote machine. 2008-06-03 Albert Chu * ipmi-sensors/src/ipmi-sensors-reading.c: Fix compiler warning. Fix error return bug. 2008-06-03 Albert Chu * libfreeipmi/src/cmds/ipmi-sensor-cmds.c: Make "sensor_state", "sensor_state1", "sensor_state2", and "reserved2". * ipmimonitoring/src/libipmimonitoring/ipmi_monitoring_sensor_reading.c: Adjust for change. * ipmi-sensors/src/ipmi-sensors-reading.c: Adjust for change. 2008-06-03 Albert Chu * ipmi-sensors/src/ipmi-sensors-reading.c: Code cleanup. * common/src/tool-fiid-wrappers.h (_FIID_OBJ_LEN_BYTES): Remove macro. 2008-06-02 Albert Chu * common/src/tool-common.c (ipmi_open): Code cleanup. 2008-06-02 Albert Chu * ipmi-sensors/src/ipmi-sensors-reading.c: Support optional sensor state fields as stated in IPMI spec. Support workaround for Dell no sensor-state returned issue. * ipmimonitoring/src/libipmimonitoring/ipmi_monitoring_sensor_reading.c: Support workaround for Dell no sensor-state returned issue. 2008-06-02 Albert Chu * doc/freeipmi-bugs-and-workarounds.txt: Add info on Dell sensor issue. * libfreeipmi/src/cmds/ipmi-sensor-cmds.c: Fix declarations. Some required fields are actually optional. * common/src/tool-fiid-wrappers.h (_FIID_OBJ_LEN_BYTES): New macro. * common/src/tool-fiid-wrappers.h, libfreeipmi/src/libcommon/ipmi-fiid-wrappers.h, libfreeipmi/src/api/ipmi-fiid-wrappers-api.h: Check for good return value from fiid_obj_get() calls. * libfreeipmi/src/fiid/fiid.c (fiid_obj_copy): Fix errnum return corner case. 2008-06-02 Albert Chu * ipmimonitoring/src/libipmimonitoring/ipmi_monitoring_sensor_reading.c (_get_sensor_reading): Change internal API so that return value -1 = error, 0 = unreadable sensor reading, 1 = sensor reading success. * ipmimonitoring/src/libipmimonitoring/ipmi_monitoring_sensor_reading.c (_threshold_sensor_reading, _digital_sensor_reading, _specific_sensor_reading): Re-work with new interface call to _get_sensor_reading. 2008-06-02 Albert Chu * ipmi-sensors/src/ipmi-sensors-reading.c (_get_sensor_specific_event_message_list, _get_generic_event_message_list, _get_threshold_message_list), ipmi-sensors/src/ipmi-sensors-display-common.c (ipmi_sensors_output_event_message_list): Change internal API so that NULL event_message_list means "Unknown" reading. Event message list creation responsible for storing "OK" event message when appropriate. * ipmi-sensors/src/ipmi-sensors-reading.c (sensor_rading): Do not exit on an error of IPMI_COMP_CODE_REQUEST_SENSOR_DATA_OR_RECORD_NOT_PRESENT. * ipmi-sensors/src/ipmi-sensors-simple-display.c (sensors_display_simple_full_record): Fix output formatting. 2008-05-29 Albert Chu * libfreeipmi/src/api/ipmi-api.c (ipmi_ctx_open_inband): Fix driver device corner case. * ipmi-sensors/, ipmimonitoring/: Fix config file groups. 2008-05-29 Albert Chu * bmc-watchdog/: Minor fixes. * Various minor doc updates. 2008-05-28 Albert Chu * bmc-watchdog/: Code cleanup. * common/src/tool-cmdline-common.c, common/src/tool-config-file-common.c: driver address input cannot be 0. * bmc-watchdog/src/bmc-watchdog.h, bmc-watchdog/src/bmc-watchdog-argp.h, bmc-watchdog/src/bmc-watchdog-argp.c: New files. * bmc-watchdog/: Support config file. Use argp. * bmc-watchdog/, common/src/tool-cmdline-common.c, common/src/tool-config-file-common.c: Support bmc-watchdog specific options. * config/ac_bmc_watchdog_logfile.m4: New file. * bmc-watchdog/: Use BMC_WATCHDOG_LOGFILE_DEFAULT. 2008-05-27 Albert Chu * ipmi-sensors/ipmi-sensors.8.pre.in: Fix typo. * common/src/tool-config-file-common.h, common/src/tool-config-file-common.c, ipmi-sensors/: Add config file support for ipmi-sensors specific options. * common/src/tool-config-file-common.h, common/src/tool-config-file-common.c, ipmimonitoring/: Add config file support for ipmimonitoring specific options. * doc/freeipmi.conf.5.pre.in: Update appropriately. 2008-05-27 Albert Chu * ipmi-fru/src/ipmi-fru-multirecord-area.c (output_management_access_record): Fix output corner case. * doc/: Tweaks. * ipmi-sensors/, ipmimonitoring/: Variable name consistency cleanup. 2008-05-27 Albert Chu * ipmi-fru/src/ipmi-fru-util.c (ipmi_fru_output_type_length_field): Fix output corner case. * ipmi-fru/: Adjust verbose vs default output. 2008-05-26 Albert Chu * ipmi-fru/src/ipmi-fru.c (_output_fru): Change output to always output device id first. 2008-05-24 Albert Chu * doc/, common/doc/: Document Sun Fire X4150 and X4450 workarounds. 2008-05-24 Albert Chu * common/src/tool-config-file-common.h, common/src/tool-config-file-common.c, ipmi-fru/: Add config file option for --skip-checks. * doc/freeipmi.conf.5.pre.in: Update appropriately for additions. 2008-05-23 Albert Chu * common/doc/manpage-common-workaround-heading-text.man: Tweak description. * bmc-config/, pef-config/, ipmi-sensors-config/: Add config file support. * doc/freeipmi.conf.5.pre.in: Update appropriately for additions. * common/doc/manpage-common-known-issues.man: Update with config file info. * contrib/: Update instructions with config file information. 2008-05-22 Albert Chu * common/src/tool-config-file-common.c: Minor tweaks. * common/doc/: More manpage updates. * ipmimonitoring/, ipmi-fru/, ipmi-sel/, ipmi-sensors/, ipmi-oem/, ipmi-chassis/, bmc-info/, bmc-device/, ipmi-raw/: Add config file support. * doc/freeipmi.conf.5.pre.in: Update appropriately for additions. * bmc-watchdog/: Tweak error messages to be consistent to other tools. 2008-05-21 Albert Chu * common/doc/manpage-common-ignore-sdr-cache.man: Fix option description typo. * common/src/tool-sdr-cache-common.c (sdr_cache_flush_cache), ipmimonitoring/, ipmi-fru/, ipmi-sel/, ipmi-sensors/, ipmi-sensors-config/: Fix --quiet-cache to work with flush option. * ipmipower/src/ipmipower_config.h, ipmipower/src/ipmipower_config.c: Rename to ipmipower_arg.h and ipmipower_arg.c for consistency to other tools. Rename functions appropriately. 2008-05-21 Albert Chu * doc/freeipmi.conf.5.pre.in: New file. * freeipmi.spec.in, configure.ac, doc/Makefile.am: Adjust for new manpage. * doc/freeipmi.7.pre.in: Fix typo. * ipmiconsole/, ipmipower/: Adjust manpages appropriately. Fix some typos along the way. * Globally clarify that --disable-auto-probe is for in-band only. 2008-05-21 Albert Chu * common/src/tool-config-file-common.h, common/src/tool-config-file-common.c: Final initial tweaks. Add ipmiconsole support. * ipmiconsole/: Support config file via common lib. * common/src/conffile.c: Update lib. * common/src/tool-config-file-common.h, common/src/tool-config-file-common.c: Add SDR and Hostrange configuration. * common/src/tool-cmdline-common.h, common/src/tool-cmdline-common.c: Rename 'sdr_cache_dir' to 'sdr_cache_directory' globally for consistency. Rename 'hostrange_output' to just 'output' for consistency. Remove excessive use of "wanted" suffix in variables. * Adjust for variable name changes appropriately in all tools. Remove excessive use of "wanted" suffix in variables. * common/src/tool-cmdline-common.c (verify_hostrange_cmd_args): Check that user did not specify both buffer and consolidate options. * common/src/tool-config-file-common.h, common/src/tool-config-file-common.c: Add ipmiipmipower support. * ipmiipmipower/: Support config file via common lib. 2008-05-20 Albert Chu * ipmi-sensors-config/ipmi-sensors-config.8.pre.in: Add forgotten manpage sdr options. * ipmi-sensors/src/ipmi-sensors-util.h, ipmi-sensors/src/ipmi-sensors-util.c: New files. * ipmi-sensors/src/ipmi-sensors-argp.c (_ipmi_sensors_args_validate): New function. Check for valid groups input. * ipmimonitoring/src/ipmimonitoring/ipmimonitoring.c (run_cmd_args): Special case error message when you input bad record id. * common/src/conffile.h, common/src/conffile.c: Update lib. * common/src/tool-config-file-common.h, common/src/tool-config-file-common.c, config/ac_freeipmi_config_file.m4: New files. * Adjust --no-probing to --disable-auto-probe. * common/src/tool-cmdline-common.h, common/src/tool-cmdline-common.c (cmdline_config_file_parse): New function. Add new --config-file option support. * ipmipower/, ipmiconsole/: Use new generic config-file option. * General cmdline parsing cleanup throughout. * common/doc/manpage-common-config-file.man: New file. * ipmipower/, ipmiconsole/: Document --config-file option. * config/ac_ipmipower_config_file.m4: Remove file. * configure.ac: Remove ipmipower config file option. 2008-05-20 Albert Chu * ipmi-sensors-config/src/ipmi-sensors-config.c (_ipmi_sensors_config): Fix flush corner case. * common/src/tool-cmdline-common.c: Add driver_device path check. Cleanup argp_usage() usage. Cleanup integer conversion code. * More general code cleanup. 2008-05-20 Albert Chu * ipmiconsole/, ipmipower/: Remove hostname config-file option. Require users to always input atleast the hostname. * common/src/, ipmi-sel/, ipmi-fru/, ipmi-sensors/, ipmimonitoring/, ipmi-sensors-config/: Remove useless sdr_cache_dir_wanted flag. * common/src/tool-cmdline-common.c (verify_sdr_cmd_args, sdr_parse_opt): Move sdr cache dir check into verify checks. * common/src/tool-cmdline-common.c, common/src/tool-cmdline-common.h: Replace common_cmd_args 'flags' with 'debug' flag. * common/src/tool-cmdline-common.c: Adjust for above change. * Adjust all tools for use of logical debug flag. 2008-05-19 Albert Chu * Make all argp docs/version/naming consistent. Make description consistent between tool and manpages. * common/src: Rename config lib to config-tool lib, to differentiate from config file lib later on. 2008-05-19 Albert Chu * common/src/tool-cmdline-common.h, common/src/tool-cmdline-common.c: Fix option ordering. Fix --timeout legacy support. Support outofband only driver type parsing. * ipmipower/src/: Use common parsing code not internal parsing code. Use common parsing args. More code cleanup. * bmc-config/src/bmc-config-argp.h: Remove extraneous headers. * common/src/config-argp.h, common/src/config-argp.c: New files. * bmc-config/, pef-config/, ipmi-sensors-config/: Use common config argp parsing and verfication. 2008-05-18 Albert Chu * ipmipower/: More code cleanup. 2008-05-17 Albert Chu * ipmipower/: More code cleanup. * README, doc/freeipmi.7.pre.in: Note Linux SSIF driver. 2008-05-16 Albert Chu * ipmipower/src/: Fix --eliminate option. Use common ipmi_disable_coredump. 2008-05-16 Albert Chu * ipmipower/src/: Fix wait time length bug. Remove 0 backoff count support. Removed various extraneous min/max checks. Fix various signed/unsigned config issues. Remove debug logging facilities. Re-work config file parsing to parse before cmdline parsing. Re-work various code to support later move to generic argp. * libfreeipmi/src/api/ipmi-ctx.h, common/src/tool-cmdline-common.c, common/src/tool-cmdline-common.h: Fix signed/unsigned config issues. * ipmipower/ipmipower.8.pre.in: Fix incorrect descriptions. * common/doc/manpage-common-outofband-retransmission-timeout.man: Note value cannot be larger than session timeout. * Re-arch most tools to verify tool specific args within tool_config_argp_parse instead of inside main. * common/src/tool-cmdline-common.c, common/src/tool-cmdline-common.h: Cleanup. Remove unused macros. Make fixes in preparation for config file support. 2008-05-15 Albert Chu * common/doc/manpage-common-outofband-timeout.man: Fix text. * common/doc/manpage-common-outofband-timeout.man: Split into manpage-common-outofband-session-timeout.man and manpage-common-outofband-retransmission-timeout.man. * Adjust all manpages appropriately for change. * ipmipower/: Use common manpages as appropriate. * ipmiconsole/src/ipmiconsole/: Support --session-timeout and --retransmission-timeout options. * common/doc/manpage-common-cipher-suite-id.man: Split into manpage-common-cipher-suite-id-main.man and manpage-common-cipher-suite-id-details.man. * Adjust all manpages appropriately for change. * ipmiconsole/: Use common manpages as appropriate. * common/src/tool-cmdline-common.c (common_parse_opt): Check that session timeout and retransmission timeout are not zero. * common/src/tool-cmdline-common.c (verify_common_cmd_args): Check that retransmission timeout is not larger than session timeout. * ipmipower/: Various cmdline input changes to make ipmipower more like other tools. 2008-05-15 Albert Chu * common/src/tool-cmdline-common.c (parse_workaround_flags): Fix parsing bug. * libfreeipmi/src/api/ipmi-lan-session-common.c, libfreeipmi/src/api/ipmi-api.c, libfreeipmi/include/freeipmi/api/ipmi-api.h, ipmipower/src/, common/src/tool-common.c, common/doc/manpage-common-troubleshooting.man: Add new "connection timeout" error message. 2008-05-15 Albert Chu * ipmi-fru/src/: Remove excess newline outputs. * ipmipower/src/ipmipower_privilege_level.h, ipmipower/src/ipmipower_privilege_level.c, ipmipower/src/ipmipower_workarounds.h, ipmipower/src/ipmipower_workarounds.c, ipmipower/src/ipmipower_cipher_suite_id.h, ipmipower/src/ipmipower_cipher_suite_id.c: Removed files. * ipmipower/src/: Remove need for internal privilege_level_t, workaround flags, and cipher_suite_id_t type and macros. * ipmipower/: Continue cleanup/fixes. 2008-05-15 Albert Chu * common/doc/manpage-common-workaround-text.man: Add information on types of errors users may see if their machine has an issue that may be worked around with a workaround. 2008-05-15 Lisa Camesano * common/doc/manpage-common-workaround-text.man: Update with Sun workaround information. 2008-05-14 Albert Chu * ipmipower/: Continue cleanup/fixes. * tagged pre_get_channel_cipher_remove * ipmipower/: Remove check of cipher suite id support via get channel cipher suites command. Error case now falls through to open session request. * tagged post_get_channel_cipher_remove * ipmipower/src/: Remove need for internal driver_type_t and authentication_type_t type. Adjust to use libfreeipmi macros. * ipmipower/src/ipmipower_driver_type.h, ipmipower/src/ipmipower_driver_type.c, ipmipower/src/ipmipower_authentication_type.h, ipmipower/src/ipmipower_authentication_type.c: Removed files. * ipmipower/src/: Continue general cleanup. * common/src/tool-cmdline-common.h: Add IPMI_DEVICE strings. 2008-05-13 Albert Chu * ipmi-chassis/src/: General cleanup. Make error messages consistent. Use consistent code to other tools. Return exit code 1 as appropriate. Re-order commands for consistency to specification. Output "unknown" if output type is not known. * common/src/tool-cmdline-common.h, common/src/tool-cmdline-common.c (init_common_cmd_args): Remove function to create new init_common_cmd_args_user, init_common_cmd_args_operator, and init_common_cmd_args_admin functions. * bmc-device/: Make default privilege admin. * ipmi-sel/: Make default privilege operator. * Adjust tools to use new cmdline parse common functions. * libfreeipmi/src/cmds/ipmi-chassis-cmds.c, libfreeipmi/include/freeipmi/cmds/ipmi-chassis-cmds.h, ipmi-chassis/src/: Audit and rename many macros, fiid fields, etc. for consistency to the IPMI specification. Support legacy options as needed. * ipmpower/src/: Remove pinning of memory. * ipmipower/: Removed cipher-suite-id auto discovery. Removed privilege-level auto discovery. General code cleanup. 2008-05-13 Albert Chu * libfreeipmi/include/freeipmi/cmds/ipmi-chassis-cmds.h: Fix boot device flags. 2008-05-13 Albert Chu * ipmi-fru/src/ipmi-fru.c (_output_fru, run_cmd_args): Output FRU device names along with IDs. 2008-05-13 Albert Chu * ipmi-fru/src/ipmi-fru-util.c (_get_type_length_bytes): Fix corner case when handling binary data on type/length output. * libfreeipmi/include/freeipmi/record-format/ipmi-fru-information-record-format.h: Fix incorrect bit mask. 2008-05-12 Albert Chu * common/src/tool-cmdline-common.c, common/src/tool-cmdline-common.h: Add --privilege to legacy privilege options available. * Update intel 2.0 workaround comments and documentation globally. * ipmipower/: Removed ipmi-version auto discovery. Removed authentication-type auto discovery. * ipmipower/: Convert --ipmi-version to --driver-type. * ipmipower/src/ipmipower_ipmi_version.h, ipmipower/src/ipmipower_ipmi_version.c: Renamed to ipmipower_driver_type.h and ipmipower_driver_type.c respectively. Adjust code appropriately for --ipmi-version to --driver-type change. * ipmipower/src/ipmipower_config.c (ipmipower_config_check_values): Fix password length corner case check. * Minor code cleanup. 2008-05-09 Albert Chu * ipmiconsole/src/ipmiconsole/ipmiconsole_config.c (_cb_hostname): Fix length check. * ipmiconsole/src/ipmiconsole/: Re-arch to make config and argument parsing like other tools. 2008-05-09 Albert Chu * ipmimonitoring/: Add missing option. * ipmipower/: Remove unused code. * ipmi-locate/src/ipmi-locate.c: Make error output message consistent to others. * Various minor cleanup. 2008-05-09 Albert Chu * libfreeipmi/src/api/ipmi-api.c (ipmi_ctx_open_outofband, ipmi_ctx_open_outofband_2_0): Add checks for hostname length. 2008-05-08 Albert Chu * ipmi-sel/, ipmi-sensors/, ipmimonitoring/: Fix invalid input corner cases. * common/src/hostlist.c: Remove internal lib error messages. 2008-05-08 Albert Chu * libfreeipmi/: Change IPMI_ERR_OUTOFRANGE to IPMI_ERR_ERRNUMRANGE for consistency to other libraries. 2008-05-06 Albert Chu * ipmidetect/: Fix manpage dates. * common/doc/manpage-common-hostranged-text-shell.man, common/doc/manpage-common-hostranged-text-options.man: New files. * common/doc/manpage-common-hostranged-text-main.man: Adjust with more generic text. * common/doc/Makefile.am: Update for new files. * Adjust manpages appropriately for new common hostranged manpage info. 2008-05-05 Albert Chu * ipmi-sel/: Support --get-time and --set-time options. 2008-05-04 Albert Chu * libfreeipmi/include/freeipmi/cmds/ipmi-sel-cmds.h, libfreeipmi/src/cmds/ipmi-sel-cmds.c, libfreeipmi/include/freeipmi/api/ipmi-sel-cmds-api.h, libfreeipmi/src/api/ipmi-sel-cmds-api.c: Support get and set sel time. 2008-05-03 Albert Chu * libfreeipmi/include/freeipmi/cmds/ipmi-device-global-cmds.h, libfreeipmi/src/cmds/ipmi-device-global-cmds.c, libfreeipmi/include/freeipmi/api/ipmi-device-global-cmds-api.h, libfreeipmi/src/api/ipmi-device-global-cmds-api.c: Support cold and warm reset. * bmc-device/: New tool. * configure.ac, Makefile.am, freeipmi.spec.in, doc/freeipmi.7.in, README: Update appropriately for new tool. 2008-05-02 Albert Chu * libfreeipmi/include/freeipmi/cmds/ipmi-device-global-cmds.h, libfreeipmi/src/cmds/ipmi-device-global-cmds.c, libfreeipmi/include/freeipmi/api/ipmi-device-global-cmds-api.h, libfreeipmi/src/api/ipmi-device-global-cmds-api.c: Support get device guid command. * bmc-info/: Add support for --guid. * README, doc/freeipmi.7.in, bmc-info/bmc-info.8.pre.in: Update bmc-info tool description. * libfreeipmi/src/cmds/ipmi-device-global-cmds.c (tmpl_cmd_get_device_id_rs): Rename ipmi_version field names to be consistent to rest of freeipmi. * bmc-info/, pef-config/, ipmi-sel/: Only output bcd encoded fields w/ %x if the field is > 4 bits. Otherise %d is fine. 2008-05-01 Albert Chu * contrib/ganglia/Makefile.am: Fix make dist. * contrib/nagios/Makefile.am, contrib/nagios/README, contrib/nagios/nagios_ipmimonitoring.pl: New files. 2008-04-30 Albert Chu * ipmimonitoring/ipmimonitoring.8.pre.in: Add missing options. 2008-04-30 Albert Chu * contrib/ganglia/ganglia_ipmi_sensors.pl: Additional options added. Fix code. * contrib/ganglia/ganglia_ipmimonitoring.pl: New file. * contrib/ganglia/README: Update appropriately. 2008-04-29 Albert Chu * common/doc/manpage-common-hostranged-always-prefix.man: New file. * common/src/pstdout.c, common/src/hostrange.h, common/src/hostrange.c, common/src/tool-cmdline-common.h, common/src/tool-cmdline-common.c: Support --always-prefix option. * bmc-info/, ipmi-chassis/, ipmi-fru/, ipmi-oem/, ipmi-raw/, ipmi-sel/, ipmi-sensors/, ipmimonitoring/, ipmipower/: Support --always-prefix option. * contrib/, contrib/Makefile.am, contrib/ganglia/, contrib/ganglia/Makefile.am, contrib/ganglia/README contrib/ganglia/ganglia_ipmi_sensors.pl: New files and directories. * Makefile.am, configure.ac: Updated appropriately. 2008-04-27 Albert Chu * configure.ac: Update from 0.6.0 to 0.7.0. 2008-04-27 Albert Chu * common/doc/Makefile.am: Fix make dist. 2008-04-27 Albert Chu * Tagged Release-0_6_0_base. * Branched Release-0_6_0_branch. 2008-04-24 Albert Chu * ipmipower/: Interactive command order cleanup. * doc/: Various minor updates. 2008-04-23 Albert Chu * common/doc/manpage-common-general-options-header.man, common/doc/manpage-common-hostranged-options-header.man: New files. * common/doc/manpage-common-sdr-options.man, common/doc/manpage-common-config-tool-options.man: Add option-section text. * For better readability, sub-divide options into sections in most manpages. * ipmi-locate/src/ipmi-locate.c: Check for root after parsing args. * Add and fix synopsis in all manpages appropriately for consistency. * ipmiconsole/, ipmipower/: Order options/config code more consistently to other tools. 2008-04-23 Albert Chu * common/doc/manpage-common-homepage.man: New file. * Add webpage to all manpages and documentation. * Adjust all Makefile.am's appropriately. * bmc-config/bmc-config.conf.5.in: Rename to bmc-config.conf.5.pre.in. Minor doc tweaks. * configure.ac: Adjust bmc-config.conf.5 manpage appropriately. * Globally change "User Commands" to "System Commands" as needed. 2008-04-21 Albert Chu * ipmimonitoring/src/libipmimonitoring/ipmi_monitoring.c: Fix error message typo. 2008-04-18 Tiziano Muller * ipmimonitoring/src/ipmimonitoring/Makefile.am: Fix compile issue when specifying LDFLAGS="-Wl,--as-needed". 2008-04-18 Albert Chu * ipmipower/src/ipmipower_ipmi_version.c (ipmipower_ipmi_version_index): Support "driver type" input like 'lan', 'lan_2_0'. * ipmiping/ipmiping.8.pre.in: Clarify ipmi version option more. * configure.ac: Prepare for beta release. * Tagged Release-0_6_0_beta2. 2008-04-17 Albert Chu * libfreeipmi/src/api: Make debug dump output consistent to other tools w/ hostname prefix on lan debug output. * ipmipower/, ipmiconsole/: Revert change with no-prefix when doing lan debug output to only one host. * libfreeipmi/include/freeipmi/sdr-cache/ipmi-sdr-cache.h, libfreeipmi/src/sdr-cache/ipmi-sdr-cache.c (ipmi_sdr_cache_ctx_get_debug_prefix, ipmi_sdr_cache_ctx_set_debug_prefix): New functions. * libfreeipmi/src/sdr-cache/ipmi-sdr-cache-defs.h: Add debug_prefix into ctx. * libfreeipmi/src/sdr-cache/ipmi-sdr-cache.c: Init and cleanup debug_prefix appropriately. * libfreeipmi/src/sdr-cache/ipmi-sdr-cache-create.c, libfreeipmi/src/sdr-cache/ipmi-sdr-cache-read.c: Use new debug prefix in debug outputs. * ipmimonitoring/, ipmi-sensors/, ipmi-sel/, ipmi-fru/, ipmi-sensors-config/: Set debug prefix appropriately. * common/src/ipmi-ping.h, common/src/ipmi-ping.c: Pass destination to create and parse functions. * ipmiping/, rmcpping/: Prefix debug output appropriately. * common/src/debug-common.h, common/src/debug-common.c: New files. * ipmipower/, ipmiping/, rmcpping/, bmc-watchdog/, ipmiconsole/, libfreeipmi/: Use debug common functions to generate consistent headers for all tools. * ipmipower/: Convert all err_* calls to ierr_* calls. * ipmiping/ipmiping.8.pre.in: Clarify ipmi version option. * ipmiconsole/: Various cleanup. * ipmiconsole/src/libipmiconsole/ipmiconsole_ctx.c, ipmiconsole/src/libipmiconsole/ipmiconsole_ctx.h (ipmiconsole_ctx_connection_cleanup): Rename to __ipmiconsole_ctx_connection_cleanup. * ipmiconsole/src/libipmiconsole/ipmiconsole_ctx.c, ipmiconsole/src/libipmiconsole/ipmiconsole_ctx.h (ipmiconsole_ctx_connection_cleanup_session_submitted, ipmiconsole_ctx_connection_cleanup_session_not_submitted): New functions. * ipmiconsole/src/libipmiconsole/ipmiconsole_engine.c: Update appropriately for function name changes. * ipmiconsole/src/libipmiconsole/ipmiconsole.c (ipmiconsole_engine_submit, ipmiconsole_engine_submit_block): Fix assert corner case. 2008-04-16 Albert Chu * bmc-watchdog/, rmcpping/src/, ipmiping/src/, ipmipower/src/, ipmiconsole/src/libipmiconsole/: Make debug dump output consistent to other tools by calling ipmi_cmd_str appropriately, outputing "request" vs "response", "ipmi 1.5" vs. "ipmi 2.0", output w/ headers, etc. * libfreeipmi/src/api: Store hostname to ctx. 2008-04-15 Albert Chu * General documentation manpage audit/updates. 2008-04-14 Albert Chu * General documentation manpage audit/updates. * Minor code cleanup through. 2008-04-11 Albert Chu * ipmidetect/src/ipmidetectd/hash.h, ipmidetect/src/ipmidetectd/hash.c, ipmidetect/src/ipmidetectd/thread.h, ipmidetect/src/ipmidetectd/thread.c: Move to common/src and into the miscutils library. * ipmidetect/src/ipmidetectd/Makefile.am, common/src/Makefile.am: Update appropriately. * ipmidetect/src/ipmidetect, ipmidetect/src/ipmidetectd/, ipmiconsole/src/ipmiconsole: Move common error.h and error.c into common/src. * ipmidetect/src/ipmidetectd/Makefile.am, ipmidetect/src/ipmidetect/Makefile.am, ipmiconsole/src/ipmiconsole/Makefile.am, common/src/Makefile.am: Adjust appropriately. * ipmipower/src/error.h, ipmipower/src/error.c: Rename to ierror.h and ierror.c to differentiate itself from the common error.h and error.c. Adjust all function names accordingly. 2008-04-10 Albert Chu * README, doc/freeipmi.7.pre.in: Add info on libraries. * General documentation manpage audit/updates. 2008-04-09 Albert Chu * configure.ac: Prepare for beta release. * Tagged Release-0_6_0_beta1. 2008-04-08 Albert Chu * doc/: More minor updates. * Various manpage cleanup and extra documentation. * ipmi-oem/: Change "cmd" to "command" everywhere. * libfreeipmi/, ipmidetect/, ipmimonitoring, ipmipower/, ipmiconsole/, ipmiping/, rmcpping/, doc/, configure.ac: Use .pre.in instead of just .in for manpages for consistency. * common/doc/manpage-common-reporting-bugs.man, common/doc/manpage-common-gpl-library-text.man, common/doc/manpage-common-gpl-program-text.man: New files. * Update manpages appropriately for report-bugs common manpage and gpl info. * Add copyrights to all manpages appropriately. * Remove "ORIGIN" and "AUTHORS" from most manpages. * common/doc/manpage-common-config-tool-general-use.man, common/doc/manpage-common-config-tool-options.man: New files. * bmc-config/, pef-config/, ipmi-sensors-config/: Use new common config-tool manpage text. * common/doc/manpage-common-known-issues-ping.man, common/doc/manpage-common-ping-options.man, common/doc/manpage-common-ping-origin.man: New files. * ipmiping/, rmcpping/: Use new common manpage text. 2008-04-07 Albert Chu * ipmimonitoring/: Support WATTS sensor unit type. * bmc-config/bmc-config.8.pre.in: Fix options in example. * bmc-config/bmc-config.conf.5.in: Anonymous -> NULL. * ipmimonitoring/: Support entity presence, management subsystem, battery, and fru state sensor interpretations. General code cleanup. * ipmi-sensors/ipmi-sensors.8.pre.in: Add ipmimonitoring note. * ipmi-sel/ipmi-sel.8.pre.in: Add some text on SEL records. * README: Update as generic info, not just a GPL notice. * doc/freeipmi.7.in: New generic overview manpage. * libfreeipmi/libfreeipmi.3.in: New generic library overview manpage. * doc/Makefile.am, freeipmi.spec.in, configure.ac: Update for new manpages. * common/doc: Fix make dist bug. * Add freeipmi(7) to "SEE ALSO" on all appropriate manpages. * Various manpage and doc fixes. * Fix compiler warnings. 2008-04-05 Albert Chu * ipmipower/: Finish -B support. * ipmipower/: Add -F support. * doc/freeipmi-hostranged.txt: Update appropriately. * ipmi-sensors-config/: Put undefined threshold support in verbose output only. * ipmi-sensors-config/: Fix readable sensors corner case. 2008-04-04 Albert Chu * ipmipower/: Support -B option for consistency to other tools, although -B does nothing. Change original -B option to -G. * common/doc/manpage-common-hostranged-text-options.man: Move option text into manpage-common-hostranged-text-main.man. * common/doc/manpage-common-hostranged-text-options.man: Rename to manpage-common-hostranged-text-localhost.man and only mention localhost information. * Update manpages appropriately. 2008-04-04 Albert Chu * ipmi-sensors-config/ipmi-sensors-config.8.pre.in: Add notes about ipmi-sensors and ipmimonitoring. * bmc-config/: Fix some comments. * common/doc/manpage-common-known-issues.man: New file. * common/doc/Makefile.am: Update for new file. * Update numerous webpages with new known-issues info. * configure.ac: Prepare for beta release. * Tagged Release-0_6_0_beta0. 2008-04-03 Albert Chu * ipmi-sensors/src/ipmi-sensors-very-verbose-display.c (_output_very_verbose_header), ipmi-sensors/src/ipmi-sensors-verbose-display.c (_output_verbose_header): Output sensor owner ids as needed. 2008-04-02 Albert Chu * ipmiconsole/ipmiconsole.8.pre.in: Modify escape sequence main text to mention -e option. * freeipmi.spec.in: Update w/ missing files. * bmc-watchdog/Makefile.am: Fix install bug. * common/src/config-common.h, common/src/config-checkout.c, common/src/config-commit.c: Suppoert new CONFIG_UNDEFINED flag. * ipmi-sensors-config/src/ipmi-sensors-config-threshold-section.c: Unreadable thresholds are now output as being undefined. * ipmi-sensors/, ipmimonitoring/: Support reading of sensors with sensor_owner_id not reserved. * ipmimonitoring/: Support drive slot device install interpretation. 2008-04-01 Albert Chu * ipmiconsole/: Support adjustable escape char option in ipmiconsole. 2008-03-28 Albert Chu * Fix nroff syntax in many manpages. * More copyright changes/fixes/updates/header additions everywhere. * ipmi-oem/: Minor cleanup. 2008-03-27 Albert Chu * ipmi-oem/: Add ipmi-oem command. * Tons of copyright changes/fixes/updates/header additions everywhere. 2008-03-27 Albert Chu * bmc-watchdog/src/bmc-watchdog.c: Fix compile bugs. * ipmi-raw/src/ipmi-raw-argp.c: Fix error check corner case. 2008-03-23 Albert Chu * common/doc/manpage-common-workaround-text.man, common/doc/manpage-common-workaround-text.man, doc/freeipmi-bugs-and-workarounds.txt: Add new motherboard for asus workarounds. 2008-03-19 Albert Chu * bmc-watchdog/src/bmc-watchdog.c (_init_ipmi): Fix probing issue. * bmc-watchdog/src/bmc-watchdog.c (_cmd): Fix openipmi corner case. 2008-03-06 Albert Chu * common/doc: Minor updates. * doc/freeipmi-bugs-and-workarounds.txt: New doc. 2008-02-23 Albert Chu * ipmi-fru/: Re-work to avoid excessive IPMI transactions. 2008-02-22 Albert Chu * ipmi-fru/src/ipmi-fru-util.c: Fix bad return types. 2008-02-22 Albert Chu * ipmi-fru/ipmi-fru.8.pre.in: Fix typos. * ipmi-fru/src/ipmi-fru-util.c: Fix typo. * ipmi-fru/src/ipmi-fru-util.c (_sixbitascii_to_ascii): Fix conversion corner cas. 2008-02-21 Albert Chu * common/doc/manpage-common-workaround-text.man: Add forgotten Sun Fire 4100 workaround. * doc/freeipmi-coding.txt: Add chunk on workarounds implemenation. * libfreeipmi/src/api/ipmi-lan-session-common.c (ipmi_lan_open_session): Fix sun workaround bug. 2008-02-19 Albert Chu * common/src/config-commit.c (config_commit_section): Fix bug. 2008-02-18 Albert Chu * freeipmi.spec.in: Add ipmi-sensors-config. 2008-02-18 Albert Chu Merge contents from sensors_config_branch. * common/doc/manpage-common-outofband-username-operator.man, common/doc/manpage-common-privilege-level-operator.man: New files. * common/src/tool-cmdline-common.h, common/src/tool-cmdline-common.c: Support operator privilege defaults. * bmc-config/src/, pef-config/src/: Adjust architecture for common config code. * libfreeipmi/include/freeipmi/cmds/ipmi-sensor-cmds.h, libfreeipmi/src/cmds/ipmi-sensor-cmds.c (fill_cmd_set_sensor_thresholds): New function. * libfreeipmi/include/freeipmi/api/ipmi-sensor-cmds-api.h, libfreeipmi/src/api/ipmi-sensor-cmds-api.c (ipmi_cmd_set_sensor_thresholds): New function. * common/src/tool-sdr-cache-common.c: Remove pstate asserts. Support NULL pstate input to all functions. * common/src/config-common.h: Create macro for max section name length. * bmc-config/, pef-config/: use new macro for max section name length. * libfreeipmi/include/freeipmi/record-format/ipmi-sdr-record-format.h, libfreeipmi/src/record-format/ipmi-sdr-record-format.c: Add two new templates, tmpl_sdr_full_sensor_record_non_threshold_based_sensors and tmpl_sdr_full_sensor_record_threshold_based_sensors. * libfreeipmi/src/debug/ipmi-debug-sdr.c (ipmi_dump_sdr_record): Support more detailed templates. * libfreeipmi/include/fiid/fiid.h, libfreeipmi/src/fiid/fiid.c (fiid_obj_copy): New function. * common/src/tool-sdr-cache-common.h, common/src/tool-sdr-cache-common.c (sdr_cache_get_threshold_settable): New function. * libfreeipmi/include/freeipmi/util/ipmi-sensor-util.h, libfreeipmi/src/util/ipmi-sensor-util.c (ipmi_sensor_decode_raw_value): New function. * common/src/config-common.h, common/src/config-commit.c: Support new CONFIG_READABLE_ONLY flag. New CONFIG_VALIDATE_OUT_OF_RANGE validation return value. * common/src/config-section.h, common/src/config-section.c (config_section_update_keyvalue_output_double): New function. * common/src/config-common.h: Change validate callback to take a void *arg. * common/src/config-section.h, common/src/config-section.c, bmc-config/, pef-config/: Adjust for validate callback change. * common/src/config-section.c, common/src/config-validate.c: Adjust for new CONFIG_VALIDATE_OUT_OF_RANGE value. * bmc-config/, pef-config/: Change -f to -n option. Support -f legacy. * libfreeipmi/include/freeipmi/util/ipmi-sensor-util.h, libfreeipmi/src/util/ipmi-sensor-util.c (ipmi_sensor_decode_raw_value): New function. * ipmi-sensors-config/: New tool. * Makefile.am, configure.ac: Adjust for new tool. * Various minor code cleanup/fixes. * Update docs appropriately for new tool. 2008-02-15 Albert Chu * libfreeipmi/src/driver/ipmi-ssif-driver.c (_ipmi_i2c_smbus_access): Support SSIF driver timeout. * libfreeipmi/src/driver/: Support driver timeout error codes. * libfreeipmi/src/driver/ipmi-openipmi-driver.c: Remove semaphore unused code code. * ipmimonitoring/src/libipmimonitoring/: Classify driver timeout as a system error. * libfreeipmi/: Fix corner cases when inband drivers read 0 bytes of data. 2008-02-15 Albert Chu * bmc-info/src/bmc-info.c (display_get_device_id): Fix version output. 2008-02-15 Albert Chu * libfreeipmi/src/interface/ipmi-lan-interface.c (ipmi_lan_recvfrom): Fix bug. 2008-01-29 Albert Chu * common/src/hostlist.h, common/src/hostlist.c: Update to newest library to fix warnings. * Variety of code cleanup and minor bug fixes based static code analyzer. 2008-01-28 Albert Chu * Minor bug fixes throughout. 2008-01-25 Albert Chu * pef-config/pef-config.8.pre.in: Add general text. 2008-01-24 Albert Chu * pef-config/src/pef-config-wrapper.h, pef-config/src/pef-config-wrapper.c: Remove useless files. * pef-config/src/: Adjust files appropriately. * pef-config/src/pef-config.c, bmc-config/src/bmc-config.c: Make function static. * common/src/tool-sdr-cache-common.c: Fix compile issue. Re-work to work with NULL pstate. 2008-01-24 Albert Chu * pef-config/pef-config.8.pre.in: Add "GENERAL USE" section. Fix some typos. * bmc-config/bmc-config.8.pre.in: Fix some typos. * pef-config/src/pef-config-argp.c: Fix doc typo. 2008-01-24 Albert Chu * libfreeipmi/src/sdr-cache/ipmi-sdr-cache-create.c (ipmi_sdr_cache_create): Fix record count corner case. 2008-01-23 Albert Chu * common/doc/manpage-common-ignore-sdr-cache.man: New file. * common/src/tool-cmdline-common.h, common/src/tool-cmdline-common.c: Add --ignore-sdr-cache support. * ipmi-fru/, ipmi-sel/: Support --ignore-sdr-cache option. * Adjust argp option groups in all tools. 2008-01-22 Albert Chu * ipmimonitoring/src/: Various consistency to other tools fixes. 2008-01-22 Albert Chu * common/src/tool-common.c (ipmi_open): Try devices more intelligently. * libfreeipmi/include/freeipmi/locate/ipmi-locate.h, libfreeipmi/src/locate/ipmi-locate.c (ipmi_locate_discover_device_info): New function. * libfreeipmi/src/locate/ipmi-locate.c (_ipmi_locate_get_device_info): Add flag to try/not-try defaults. 2008-01-22 Albert Chu * libfreeipmi/src/api/ipmi-api.c (ipmi_ctx_open_inband): Remove legacy requirement for required SSIF driver path. 2008-01-22 Albert Chu * common/doc/manpage-common-inband.man: Tweak english. 2008-01-22 Albert Chu * libfreeipmi/src/sdr-cache/ipmi-sdr-cache.c: Fix "parmaeters" typo. 2008-01-22 A Balamurugan * common/doc/manpage-common-inband.man: updated. * ipmi-locate/src/ipmi-locate.c: displays device-address with hex prefix. 2008-01-16 Albert Chu * libfreeipmi/src/driver/ipmi-ssif-driver.c: Add more debugging. Remove inlineness for debugging. 2008-01-09 Albert Chu * freeipmi.spec.in: Obsolete older freeipmi-ipmimonitoring subpackage. 2008-01-03 Albert Chu * libfreeipmi/src/sdr-cache/: Use macros instead of hard coded index numbers. * ipmi-locate/ipmi-locate.8.pre.in, ipmi-chassis/ipmi-chassis.8.pre.in: Update description. * ipmi-sensors/src/: Change "Sensor ID String" output to just "ID String" for consistency to IPMI spec. * freeipmi.spec.in: Update for sdr-cache dir. 2008-01-02 Albert Chu * doc/freeipmi-faq.texi: Fix some english. * libfreeipmi/src/api/ipmi-lan-session-common.c: Remove left over debug statement. * ipmi-locate/ipmi-locate.8: Rename to ipmi-locate.8.pre.in. Use common/doc manpages. Remove unsupported options. * ipmi-locate/Makefile.am, configure.ac; Support ipmi-locate.8.pre.in appropriately. * bmc-info/bmc-info.8.pre.in, ipmi-chassis/ipmi-chassis.8.pre.in, ipmi-fru/ipmi-fru.8.pre.in, ipmi-raw/ipmi-raw.8.pre.in, bmc-config/bmc-config.8.pre.in, pef-config/pef-config.8.pre.in, ipmi-locate/ipmi-locate.8.pre.in, ipmi-sel/ipmi-sel.8.pre.in, ipmi-sensors/ipmi-sensors.8.pre.in: Update/tweak names and descriptions. 2007-12-31 Albert Chu * common/doc/manpage-common-workaround-heading-text.man: Fix typo. * ipmi-raw/ipmi-raw.8.pre.in: Fix examples text. 2007-12-30 Albert Chu * ipmi-sensors/src/ipmi-sensors.c (_sensors_list_specified): Removed function. * ipmi-sensors/src/ipmi-sensors.c (_output_sensor): New function. * ipmi-sensors/src/ipmi-sensors.c (_display_sensors): Re-work for better efficiency. * libfreeipmi/include/freeipmi/ipmi-sdr-cache.h, libfreeipmi/src/sdr-cache/ipmi-sdr-cache.c (ipmi_sdr_cache_search_sensor_number): New function. * ipmi-sel/src/ipmi-sel-entry.c (_find_sdr_record): Use ipmi_sdr_cache_search_sensor_number appropriately. * doc/: Various minor updates. 2007-12-29 Albert Chu * libfreeipmi/src/sdr-cache/, libfreeipmi/include/sdr-cache/: Support sdr cache ctx flags. Support SDR debug dumping. * common/src/tool-sdr-cache-common.c, common/src/tool-sdr-cache-common.h: Support SDR debug dumping appropriately. * ipmimonitoring/: Support SDR debug dumping appropriately. * libfreeipmi/include/freeipmi/spec/ipmi-cmd-spec.h: Fix spelling of macros. Add new macros appropriately. * Update spelling of command names globally as necessary. * libfreeipmi/include/freeipmi/util/ipmi-util.h, libfreeipmi/src/util/ipmi-util.c (ipmi_cmd_str): New function. * libfreeipmi/include/freeipmi/debug/ipmi-debug.h, libfreeipmi/src/debug/ipmi-debug.c (ipmi_obj_dump): Removed function. * libfreeipmi/include/freeipmi/debug/ipmi-debug.h, libfreeipmi/src/debug/ipmi-debug.c (ipmi_obj_dump_perror): Renamed to ipmi_obj_dump. * libfreeipmi/include/freeipmi/debug/ipmi-debug.h, libfreeipmi/src/debug/ipmi-debug.c (ipmi_dump_lan_packet, ipmi_dump_rmcp_packet, ipmi_dump_rmcpplus_packet): Add trlr output. * libfreeipmi/include/freeipmi/debug/ipmi-debug.h, libfreeipmi/src/debug/ipmi-debug.c: Make char * input parameters const char *. * libfreeipmi/src/api: Support headers in packet dumps describing the packet specifically rather than through generic headers. * Adjust all calls to debug functions appropriately. * Fix various compiler warnings. 2007-12-29 Albert Chu * pef-config/src/Makefile.am: Remove linking to libsdr.la. 2007-12-29 Albert Chu Merge from sdr_lib_rearch_branch, SDR library rearchitecture. * ipmimonitoring/src/libipmimonitoring/: Remove struct ipmi_monitoring_communication which is no longer needed. Adjust for direct use of ipmi_ctx_t as needed. * ipmimonitoring/src/libipmisdrcache/: Support ipmi error code. * ipmimonitoring/src/libipmisdrcache/ipmi_sdr_cache.h: Add comments on API. * ipmimonitoring/src/libipmisdrcache/ipmi_sdr_cache_defs.h, ipmimonitoring/src/libipmisdrcache/ipmi_sdr_cache_common.h, ipmimonitoring/src/libipmisdrcache/ipmi_sdr_cache_common.c, ipmimonitoring/src/libipmisdrcache/ipmi_sdr_cache_create.c, ipmimonitoring/src/libipmisdrcache/ipmi_sdr_cache_delete.c, ipmimonitoring/src/libipmisdrcache/ipmi_sdr_cache_read.c: New files. Split off code into appropriate files. * libfreeipmi/src/api/ipmi-sensor-cmds-api.c, libfreeipmi/include/freeipmi/api/ipmi-sensor-cmds-api.h (ipmi_cmd_get_sensor_reading): New function. * ipmimonitoring/src/libipmimonitoring/, ipmimonitoring/src/libipmisdrcache/: Re-work APIs to move all sdr cache creation into libipmisdrcache and out of ipmimonitoring. * ipmimonitoring/src/ipmimonitoring/: Make options in ipmimonitoring more consistent to ipmi-sensors. * ipmimonitoring/src/libipmisdrcache/: Move into libfreeipmi/include/freeipmi/sdr-cache/ and libfreeipmi/src/sdr-cache/. * libfreeipmi/src/libcommon/: Add sdr-cache equivalent error wrappers. * libfreeipmi/src/sdr-cache/: Use wrappers appropriately. * ipmimonitoring/src/libipmimonitoring/ipmi_monitoring.c ipmimonitoring/include/freeipmi/sdr-cache/ipmi_monitoring.h: New function. * ipmimonitoring/src/libipmimonitoring/ipmi_monitoring_sdr_cache.c (_ipmi_monitoring_sdr_cache_filename): Handle user specified filename formats. * common/src/tool-sdr-cache-common.h, common/src/tool-sdr-cache-common.c, common/src/tool-sensor-common.h, common/src/tool-sensor-common.c, common/src/tool-fiid-wrappers.h: New files. * common/src/ipmi-sdr-cache-utils.h, common/src/ipmi-sdr-cache-utils.c, common/src/ipmi-sdr-cache-reads.h, common/src/ipmi-sdr-cache-reads.c, common/src/ipmi-sdr-cache-writes.h, common/src/ipmi-sdr-cache-writes.c, common/src/ipmi-sdr-cache.h, common/src/ipmi-sdr-cache.c, common/src/ipmi-sdr-cache_defs.h, common/src/ipmi-sensor-common.h, common/src/ipmi-sensor-common.c: Removed files. * ipmimonitoring/src/libipmimonitoring/ipmi_monitoring_sdr_cache.c: Remove /tmp debug cache location. * ipmimonitoring/src/ipmimonitoring/: Adjust to use new sdr cache library and match ipmi-sensors behavior more. * ipmi-fru/src/: Adjust to use new sdr cache library. General code cleanup. * ipmi-fru/src/ipmi-fru-fiid.h: Remove file. * ipmi-sel/src/: Adjust to use new sdr cache library. Fix thread safety issues. General code cleanup. * ipmi-sel/src/ipmi-sel-wrappers.h, ipmi-sel/src/ipmi-sel-wrappers.c: Renamed to ipmi-sel-entry.h and ipmi-sel-entry.c. * libfreeipmi/include/freeipmi/spec/ipmi-system-software-id-spec.h, libfreeipmi/include/freeipmi/spec/ipmi-event-reading-type-code-spec.h: New files. * libfreeipmi/src/record-format/ipmi-sdr-record-format.c: Fix field names in some sdr records. * ipmi-sensors/src/: Adjust to use new sdr cache library. General code cleanup. Minor bug fixes. Minor output adjustments. * ipmi-sensors/src/ipmi-sensors-reading.h, ipmi-sensors/src/ipmi-sensors-reading.c: New files. * Check error return on asprintf globally. * ipmi-chassis/src/, bmc-info/src/: Use new tool fiid wrappers. * Adjust Makefile.am, configure.ac, documentation and code respectively for fall out from above changes. 2007-12-26 Albert Chu * libfreeipmi/src/spec/ipmi-sensor-types-spec.c: Fix typo. 2007-12-25 Albert Chu * common/doc/manpage-common-outofband-timeout.man: Fix option name typos. * Variety of code cleanup. 2007-12-24 Albert Chu * ipmi-sensors/: Support --groups option. * ipmi-sensors/: Fix corner case output w/ --list-groups. * common/src/string-utils.h, common/src/string-utils.c: Rename to ipmi-sdr-cache-utils.h and ipmi-sdr-cache-utils.c since no code other than the sdr cache common code uses the files. 2007-12-24 Albert Chu * ipmi-sel/: Fix several corner case outputs. 2007-12-24 Albert Chu * ipmi-sensors/src/ipmi-sensors-argp.c, ipmi-sensors/src/ipmi-sensors.h, ipmi-sel/src/ipmi-sel-argp.c, ipmi-sel/src/ipmi-sel.h: Cleanup arg parsing. 2007-12-23 Albert Chu * ipmi-sensors/ipmi-sensors.8.pre.in, ipmimonitoring/ipmimonitoring.8.pre.in: Minor doc fixes/updates. * common/src/tool-common.c (ipmi_open): Check for "127.0.0.1" as well as "localhost". 2007-12-21 Albert Chu * common/doc/manpage-common-troubleshooting.man: Remove "Please try ..." in a few troubleshooting sections, since it makes no sense in some. 2007-12-21 Albert Chu * common/src/hostlist.c: Update to newest library to support suffixes on hostranges. 2007-12-19 Albert Chu * ipmipower/src/ipmipower_config.c (cmdline_parse): Fix cmdline parsing bug. 2007-12-19 Albert Chu * common/doc/manpage-common-troubleshooting.man: Tweak "password verification timeout" troubleshooting. 2007-12-18 Albert Chu * freeipmi.spec.in: Use %{version} instead of @VERSION@. 2007-12-14 Albert Chu * freeipmi.spec.in: Fix for libfreeipmi reorg. 2007-12-14 Albert Chu Major code reorganization and code cleanup from branch libfreeipmi_rearch_branch. * configure.ac: Require automake 1.9, support long filenames. * config/: New directory. Move .m4 files in this directory. * autogen.sh, configure.ac: Update for new config directory. * common/src/ipmi-sensor-api.c (system_software_type_desc): Removed unused array of strings. * common/src/ipmi-sensor-api.c: Add debugging via debug parameter. Use internal wrapper functions rather than library wrapper functions. * ipmi-sensors/: Adjust code for sensor-api change. * pef-config/: Remove linking to libsensor.la. * configure.ac, freeipmi.spec.in, common/src/err-wrappers.h, common/src/fiid-wrappers.h, common/src/udm-err-wrappers.h, common/src/udm-fiid-wrappers.h: Remove --enable-syslog support. * common/src/err-wrappers.h, common/src/fiid-wrappers.h, common/src/udm-err-wrappers.h, common/src/udm-fiid-wrappers.h: Update error logging routines with more details. Add additional error logging routines. Fix several logging bugs. Remove unused wrappers. * libfreeipmi/src/ipmi-kcs-aci.c, libfreeipmi/src/ipmi-openipmi-api.c, libfreeipmi/src/ipmi-ssif-api.c: Use error logging routines. * libfreeipmi/include/freeipmi/ipmi-locate.h, libfreeipmi/src/ipmi-locate.c, libfreeipmi/src/ipmi-locate-acpi-spmi.c, libfreeipmi/src/ipmi-locate-defaults.c, libfreeipmi/src/ipmi-locate-dmidecode.c, libfreeipmi/src/ipmi-locate-pci.c, libfreeipmi/src/ipmi-locate-smbios.c: Re-work locate API with error code returns. Use new error logging routines appropriately. * bmc-watchdog/src/, ipmi-locate/src/, libfreeipmi/src/udm/: Re-work to use new locate API. * libfreeipmi/src/ipmi-semaphores.h, libfreeipmi/src/ipmi-semaphores.c: Remove unused code. Re-work for better erorr reporting/logging. * libfreeipmi/include/freeipmi/ipmi-smic-api.h, libfreeipmi/src/ipmi-smic-api.c: Removed files. * libfreeipmi/: Adjust remaining code for removal of smic api. * configure.ac: Update libfreeipmi version. * ipmi-sel/src/ipmi-sel-wrapper.c: Use fiid wrappers appropriately. * bmc-info/src/bmc-info.c: Fix code logic to remove mem-leaks. * common/src/config-util.h, common/src/config-util.c: Renamed to config-utils.h and config-utils.c for consistency. * ipmi-sensors/src/ipmi-sensors-util.h, ipmi-sensors/src/ipmi-sensors-util.c: Removed files. Move code into other respective files. * ipmiping/src/ipmiping.c (_fiid_obj_get), rmcpping/src/rmcpping.c (_fiid_obj_get): Fix error message output. * ipmi-chassis/src/ipmi-chassis.c: Add _FIID_OBJ_DESTROY macro. * libfreeipmi/include/freeipmi/ipmi-ipmb-interface.h: Renamed to ipmi-ipmb-lun-spec.h. * libfreeipmi/include/freeipmi/ipmi-kcs-api.h, libfreeipmi/include/freeipmi/ipmi-ssif-api.h, libfreeipmi/include/ipmi-openipmi-api.h, libfreeipmi/src/ipmi-kcs-api.c, libfreeipmi/src/ipmi-ssif-api.c, libfreeipmi/src/ipmi-openipmi-api.c, libfreeipmi/src/udm/ipmi-kcs-api-udm.c, libfreeipmi/src/udm/ipmi-kcs-api-udm.h, libfreeipmi/src/udm/ipmi-ssif-api-udm.c, libfreeipmi/src/udm/ipmi-ssif-api-udm.h, libfreeipmi/src/udm/ipmi-openipmi-api-udm.c, libfreeipmi/src/udm/ipmi-openipmi-api-udm.h: Renamed to ipmi-kcs-driver.h, ipmi-ssif-driver.h, ipmi-openipmi-driver.h, ipmi-kcs-driver.c, ipmi-ssif-driver.c, ipmi-openipmi-driver.c, ipmi-kcs-driver-udm.c, ipmi-kcs-driver-udm.h, ipmi-ssif-driver-udm.c, ipmi-ssif-driver-udm.h, ipmi-openipmi-driver-udm.c, ipmi-openipmi-driver-udm.h respectively. * libfreeipmi/include/freeipmi/ipmi-lan.h: Move everything into ipmi-lan-interface.h. Remove file. * libfreeipmi/src/ipmi-lan.c: Move everything into ipmi-lan-interface.c. Remove file. * libfreeipmi/include/freeipmi/ipmi-rmcpplus.h: Move everything into ipmi-rmcpplus-interface.h. Remove file. * libfreeipmi/src/ipmi-rmcpplus.c: Move everything into ipmi-rmcpplus-interface.c. Remove file. * libfreeipmi/src/ipmi-kcs.c, libfreeipmi/include/freeipmi/ipmi-kcs.h: Rename to ipmi-kcs-interface.c and ipmi-kcs-interface.h respectively. * libfreeipmi/src/ipmi-rmcpplus-debug.c: Rename to libfreeipmi/src/ipmi-debug-rmcpplus.c. * libfreeipmi/src/ipmi-debug-lan.c, libfreeipmi/src/ipmi-debug-rmcp.c, libfreeipmi/src/ipmi-debug-common.c, libfreeipmi/src/ipmi-debug-common.h: New files, split off from ipmi-debug.c. * libfreeipmi/include/freeipmi/ipmi-cipher-suite-utils.h: New file, split off from ipmi-cipher-suite-spec.h. * libfreeipmi/include/freeipmi/ipmi-cipher-suite-utils.c: New file, split off from ipmi-cipher-suite-spec.c. * libfreeipmi/include/freeipmi/ipmi-sel-record-types.h (IPMI_SEL_RECORD_TYPE_IS_EVENT, IPMI_SEL_RECORD_TYPE_IS_TIMESTAMPED_OEM, IPMI_SEL_RECORD_TYPE_IS_NON_TIMESTAMPED_OEM): Add new macros. * libfreeipmi/include/freeipmi/ipmi-sel-record-types.h, libfreeipmi/src/ipmi-sel-record-types.c (ipmi_get_sel_record_type): Removed function. * ipmi-sel/src/ipmi-sel-wrapper.c (_get_sel_record_type): New function. * ipm-sel/src/ipmi-sel-wrapper.c (_get_sel_system_event_record): Use _get_sel_record_type. * libfreeipmi/include/freeipmi/ipmi-cipher-suite-spec.h, libfreeipmi/include/freeipmi/ipmi-sel-record-types.h, libfreeipmi/include/freeipmi/ipmi-sdr-record-types.h, libfreeipmi/src/ipmi-cipher-suite-spec.c, libfreeipmi/src/ipmi-sel-record-format.c, libfreeipmi/src/ipmi-sdr-record-format.c: Rename to ipmi-cipher-suite-record-format.h, ipmi-sel-record-format.h, ipmi-sdr-record-format.h, ipmi-cipher-suite-record-format.c, ipmi-sel-record-format.c, ipmi-sdr-record-format.c respectively. * libfreeipmi/include/freeipmi/ipmi-error.h, libfreeipmi/src/ipmi-error.c (ipmi_strerror_r, ipmi_strerror_cmd_r, rmcpplus_status_strerror_r): Renamed to ipmi_completion_code_strerror_r, ipmi_completion_code_strerror_cmd_r, and ipmi_rmcpplus_status_strerror_r respectively. * libfreeipmi/include/freeipmi/rmcp-interface.h, libfreeipmi/include/freeipmi/rmcp-cmds.h, libfreeipmi/src/rmcp-interface.c, libfreeipmi/src/rmcp-cmds.c: New files, split off from rmcp.h and rmcp.c. * libfreeipmi/include/freeipmi/rmcp.h, libfreeipmi/src/rmcp.c: Remove files. * libfreeipmi/include/freeipmi/udm/ipmi-udm.h, libfreeipmi/src/udm/ipmi-udm.c (ipmi_open_outofband, ipmi_open_outofband_2_0): Remove pointless driver type argument. * libfreeipmi/: Rework UDM interface to take ipmi_ctx_t instead of ipmi_device_t which didn't make any sense. * common/src/err-wrappers.h, common/src/fiid-wrappers.h, common/src/udm-err-wrappers.h, common/src/udm-fiid-wrappers.h: Renamed to ipmi-err-wrappers.h, ipmi-fiid-wrappers.h, ipmi-err-wrappers-udm.h, and ipmi-fiid-wrappers.h respectively. Moved into libfreeipmi/ appropriately. * ipmi-sensors/src/: Rename files for consistency to code organization in other tools. * libfreeipmi/src/driver/, libfreeipmi/src/locate/, libfreeipmi/src/debug/: New directories. Move respective sub-library code into those directories. * libfreeipmi/include/driver/, libfreeipmi/include/locate/, libfreeipmi/include/debug/: New directories. Move respective sub-library headers into those directories. * libfreeipmi/src/ipmi-common.h, libfreeipmi/src/ipmi-common.c: Removed files. Move some functionality into ipmi-debug-common.h and ipmi-debug-common.c. Use some library functionality in common/src/ in other circumstances. * libfreeipmi/src/udm/, libfreeipmi/include/udm/: Rename to 'api' instead of non-meaningful 'udm'. * libfreeipmi/include/freeipmi/api/api.h: Removed file. Moved includes to freeipmi.h. * libfreeipmi/include/freeipmi/ipmi-crypt.h: Move to libfreeipmi/src. * libfreeipmi/include/freeipmi/ipmi-utils.h, libfreeipmi/src/ipmi-utils.c (ipmi_ipv4_address_string2int, ipmi_mac_address_string2int): Move to common/src/config-util.h and common/src/config-util.c. Rename to config_ipv4_address_string2int and config_mac_address_string2int respectively. * libfreeipmi/: Rename 'utils' files to 'util' files. * common/src/common-utils.h, common/src/common-utils.c: Rename to string-utils.h and string-utils.c respectively. * common/src/md2.h, common/src/md2.c, common/src/md5.c, common/src/md5.h: Move to libfreeipmi/src and rename to ipmi-md2.h, ipmi-md2.c, ipmi-md5.h, ipmi-md5.c respectively. * libfreeipmi/include/freeipmi/ipmi-error.h: Rename to libfreeipmi/include/freeipmi/ipmi-error-util.h. * common/src/xmalloc.h, common/src/xmalloc.c: Remove files. Most code uses normal malloc instead of xmalloc. * ipmiconsole/src/libipmiconsole/cbuf.h, ipmiconsole/src/libipmiconsole/cbuf.c: Renamed to scbuf.h and scbuf.c since it different than cbuf. * common/src: Remove separate libcbuf library. Put cbuf back into llnlcommon library. * common/src/cmdline-parse-common.h, common/src/cmdline-parse-common.c: Rename to common/src/tool-cmdline-common.h and common/src/tool-cmdline-common.c. Merge into toolcommon utility library. * common/src/ipmi-sdr-cache.c: Remove bit-ops library need. * common/src/config-util.c: Remove bit-ops library need. * common/src/bit-ops.h, common/src/bit-ops.c: Moved into libfreeipmi/src and renamed ipmi-bit-ops.h and ipmi-bit-ops.c. * common/src: Rename libllnlcommon to just libcommon. * libfreeipmi/src/util/: New directories. Move respective sub-library code into those directories. * libfreeipmi/include/util/: New directories. Move respective sub-library headers into those directories. * common/src/ipmi-sensor-api.h, common/src/ipmi-sensor-api.c: Renamed to ipmi-sensor-common.h and ipmi-sensor-common.c. * libfreeipmi/src/api/ipmi-lan-session-util.h, libfreipmi/src/api/ipmi-lan-session-util.c: Renamed to ipmi-lan-session-common.h ipmi-lan-session-common.c. * common/src/: Merge libpstdout into libhostrange. * libfreeipmi/src/libcommon/: New directory. Move respective sub-library headers into those directories. * libfreeipmi/include/interface/, libfreeipmi/src/interface/: New directories. Move respective sub-library headers into those directories. * libfreeipmi/include/freeipmi/ipmi-fru-information-storage-definition.h: Split into ipmi-fru-information-record-format.h, ipmi-fru-chassis-types-spec.h, and ipmi-fru-language-codes-spec.h. * libfreeipmi/src/ipmi-fru-information-storage-definition.c: Split into ipmi-fru-information-record-format.c, ipmi-fru-chassis-types-spec.c, and ipmi-fru-language-codes-spec.c. * libfreeipmi/include/freeipmi/record-format/, libfreeipmi/src/record-format/: New directories. Move respective sub-library code into those directories. * libfreeipmi/include/freeipmi/ipmi-sensor-and-event-code-tables.h: Renamed to libfreeipmi/include/freeipmi/util/ipmi-sensor-and-event-code-tables-util.h. * libfreeipmi/src/ipmi-sensor-and-event-code-tables.c: Renamed to libfreeipmi/src/util/ipmi-sensor-and-event-code-tables-util.c. * libfreeipmi/include/freeipmi/spec/, libfreeipmi/src/spec/: New directories. Move respective sub-library code into those directories. * libfreeipmi/include/freeipmi/cmds/, libfreeipmi/src/cmds/: New directories. Move respective sub-library code into those directories. * Adjust remaining code and Makefiles for file name changes, new files, new functions, function name changes, and removals. * Various minor fixes and code cleanup. 2007-12-05 Albert Chu * Tagged Release-0_5_0_base. * Branched Release-0_5_0_branch. 2007-12-02 Albert Chu * INSTALL: Overwrite ancient copy with GNU generic copy. 2007-11-30 Albert Chu * configure.ac: Prepare for beta release. * Tagged Release-0_5_0_beta3. 2007-11-28 Albert Chu * libfreeipmi/src/ipmi-ssif-api.c, libfreeipmi/src/ipmi-kcs-api.c: Fix logic bugs. 2007-11-27 Albert Chu * freeipmi.spec.in: Fix changelog typo. * doc/freeipmi-coding.txt: Various fixes. 2007-11-24 Albert Chu * common/doc/manpage-common-outofband-hostname-hostranged.man: Fix english. 2007-11-24 Albert Chu * libfreeipmi/src/ipmi-kcs-api.c (_ipmi_kcs_cmd_write), libfreeipmi/src/ipmi-ssif-api.c (_ipmi_ssif_cmd_write): Fix error handling mem-leak corner case. * configure.ac: Prepare for beta release. * Tagged Release-0_5_0_beta2. 2007-11-24 Dmitry Frolov * ipmiconsole/src/libipmiconsole/ipmiconsole_ctx.c: Fix FreeBSD port compile bug. 2007-11-22 Albert Chu * common/src/ipmi-sdr-cache.c, common/src/ipmi-sdr-cache-reads.c, common/src/ipmi-sdr-cache-writes.c: Remove unneeded includes. 2007-11-21 Albert Chu * libfreeipmi/src/ipmi-openipmi-api.c: Adjust INTERNAL errors to SYSTEM errors appropriately. * libfreeipmi/src/ipmi-ssif-api.c, libfreeipmi/src/ipmi-kcs-api.c: General code cleanup/fixes. 2007-11-20 Albert Chu * doc/freeipmi-coding.txt: Fix ipmi-pef typo. 2007-11-20 Albert Chu * configure.ac: Prepare for beta release. * Tagged Release-0_5_0_beta1. 2007-11-20 Dmitry Frolov * libfreeipmi/src/ipmi-kcs-api.c (ipmi_kcs_ctx_io_init): Fix FreeBSD port bug. 2007-11-19 Albert Chu AUTHORS: Add Phil Knirsch. NEWS: Various tweaks. 2007-11-19 Albert Chu * freeipmi.spec.in: Remove ipmimonitoring subpackage. Move into core package. * libfreeipmi/include/freeipmi/ipmi-ssif-api.h: Add IPMI_SSIF_CTX_ERR_SYSTEM_ERROR error code. * libfreeipmi/src/ipmi-kcs-api.c, libfreeipmi/src/ipmi-ssif-api.c: Adjust INTERNAL errors to SYSTEM errors appropriately. * configure.ac: Prepare for beta release. * NEWS: Update * Tagged Release-0_5_0_beta0. 2007-11-19 Phil Knirsch * bmc-watchdog/freeipmi-bmc-watchdog.sysconfig: Added missing -d command option. * bmc-config/src/bmc-config-argp.c (bmc_config_args_validate), pef-config/src/pef-config-argp.c (pef_config_args_validate): Fix incorrect use of open with O_CREATE and without mode. * ipmidetect/freeipmi-ipmidetectd.init: Do not start by default after installation. Added a Short Description and made the Description more meaningful. Use correct lock file in /var/lock/subsys/. * freeipmi.spec: Use a valid Fedora license. Fix the groups for all [sub]packages. Add necessary prereqs where necessary (due to scripts). Limit build to ix86, x86_64, ia64 and alpha (due to iopl missing on other archs). Disable build of static libs (Fedora guideline). Use absolute path for ldconfig. Add /sbin/ldconfig post and postun scripts due to libs. Move all development libs to the -devel package ( libipmimonitoring.so). 2007-11-02 Albert Chu * doc/freeipmi-faq.texi: Minor updates. 2007-11-02 Albert Chu * configure.ac: Prepare for alpha release. * NEWS: Update * Tagged Release-0_5_0_alpha0. 2007-10-18 Albert Chu * Fix copyright on LLNL created tools/projects. 2007-10-17 Albert Chu * Fix copyright dates on LLNL created tools/projects. * DISCLAIMER.bmc-watchdog, DISCLAIMER.ipmipower, DISCLAIMER.ipmiping, DISCLAIMER.rmcpping, DISCLAIMER.ipmiconsole, DISCLAIMER.ipmimonitoring, DISCLAIMER.pstdout, DISCLAIMER.ipmidetect, DISCLAIMER.ipmi-fru: Update with new DISCLAIMER. * DISCLAIMER.bmc-watchdog.UC, DISCLAIMER.ipmipower.UC, DISCLAIMER.ipmiping.UC, DISCLAIMER.rmcpping.UC, DISCLAIMER.ipmiconsole.UC, DISCLAIMER.ipmimonitoring.UC, DISCLAIMER.pstdout.UC, DISCLAIMER.ipmidetect.UC, DISCLAIMER.ipmi-fru.UC: New files of old DISCLAIMERs. * Makefile.am, freeipmi.spec.in: Update with new DISCLAIMER files. * Fix FSF address in LLNL copyrighted files. 2007-10-15 Dmitry Frolov * ipmimonitoring/src/libipmimonitoring/Makefile.am, ipmimonitoring/src/ipmimonitoring/Makefile.am, ipmidetect/src/libipmidetect/Makefile.am, ipmidetect/src/ipmidetectd/Makefile.am, ipmidetect/src/ipmidetect/Makefile.am: Fix FreeBSD port issues. 2007-10-10 Albert Chu * ipmi-sensors/ipmi-sensors.8.pre.in: Added verbose and very verbose option information. * ipmi-sel/ipmi-sel.8.pre.in: Add info on SEL default output. 2007-10-09 Albert Chu * ipmi-sensors/, ipmi-sel/, ipmi-fru/: Fix corner case. There is no need to open an IPMI connection when the user only wants to flush a cache. * libfreeipmi/src/ipmi-sdr-record-types.c, common/src/ipmi-sdr-cache.h: Fix oem data length bug. Max length of OEM data in a OEM record is 56 bytes (448 bits) not 55 bytes (440 bits). * common/src/ipmi-sdr-cache-reads.c (_get_oem_data_count): Fix potential corner case. * common/src/ipmi-sdr-cache-reads.c (_get_oem_data, _read_sdr_oem_record): Remove improper cast which can cause corruption. * common/src/ipmi-sdr-cache.c: Don't use hard coded buffer length values, use appropriate macros. * common/src/ipmi-sdr-cache.c, common/src/ipmi-sdr-cache.h: Do not specify max length as 17 for sensor names and devices names, max length is 16 and an extra +1 is used for the string nul character. 2007-10-08 Albert Chu * common/src/ipmi-sensor-api.c (_get_threshold_message_list, _get_generic_event_message_list, _get_event_message_list): Catch strdup/malloc errors appropriately. * common/src/ipmi-sensor-api.h common/src/ipmi-sensor-api.c (sensor_reading_cleanup): New function. * ipmi-sensors/src/ipmi-sensors.c (display_group_sensors, display_sensor_list, display_sensors): Appropriately free memory after use. * common/src/pstdout.c (_pstdout_print): Fix potential vsnprintf corner case. 2007-10-04 Albert Chu * common/src/ipmi-sdr-cache.c (_fread_record): Fix free corruption bug. * common/src/ipmi-sdr-cache.h, common/src/ipmi-sdr-cache.c: Add SDR_CACHE_CTX_ERR_CACHE_EMPTY error code. * common/src/ipmi-sdr-cache.c (sdr_cache_load): Fix possible corner case. * ipmi-sensors/src/ipmi-sensors.c (display_group_sensors, display_sensor_list, display_sensors): Remove unused code. 2007-10-02 Albert Chu * ipmidetect/src/ipmidetect/ipmidetect.c (_cmdline_parse): Fix bug in command line option parsing. 2007-10-01 Albert Chu * freeipmi.spec.in: Add daemon scripts for ipmidetectd. 2007-09-28 Albert Chu * bmc-config/, pef-config/, common/src/, libfreeipmi/srd/udm/: Minor bug fixes. 2007-09-27 Albert Chu * common/src/config-pef-conf-section.h, common/src/config-pef-conf-section.c: New files. * bmc-config/src/bmc-config-wrapper.h, bmc-config/src/bmc-config-wrapper.c: Remove files. * bmc-config/, pef-config/: Continued common code re-architecture and subsequent code cleanup. * libfreeipmi/: Change user_name and password parameters to char instead of uint8_t *. * ipmipower/, ipmiconsole/: Adjust for pointer signedness changes. 2007-09-26 Albert Chu * common/src/config-fiid.h, common/src/config-fiid.c: New files. * bmc-config/, pef-config/: Continued common code re-architecture and subsequent code cleanup. 2007-09-25 Albert Chu * bmc-config/, pef-config/: Continued common code re-architecture and subsequent code cleanup. 2007-09-24 Albert Chu * doc/freeipmi-coding.txt: Update. * common/src/config-checkout.h, common/src/config-checkout.c, common/src/config-commit.h, common/src/config-commit.c, common/src/config-diff.h, common/src/config-diff.c, common/src/config-parse.h, common/src/config-parse.c, common/src/config-section.h, common/src/config-section.c: New files. * bmc-config/, pef-config/: Continued common code re-architecture and subsequent code cleanup. Remove files obsoleted by new common code. 2007-09-23 Albert Chu * bmc-config/, pef-config/: Continued common code re-architecture and subsequent code cleanup. 2007-09-22 Albert Chu * common/src/config-common.h, common/src/config-comment.h, common/src/config-comment.c, common/src/config-util.h, common/src/config-util.c, common/src/config-validate.h, common/src/config-validate.c: New files. * common/src/format-text.h, common/src/format-text.c: Remove files. * bmc-config/, pef-config/: Use new common code. Various code cleanup. * bmc-config/: Rename numerous files for code consistency to other projects. 2007-09-20 Albert Chu * bmc-config/, pef-config/: Change -k keypair option to -e due to added IPMI 2.0 support. Add consistency to argp architecture. 2007-09-19 Albert Chu * pef-config/src/pef-config-commit.c: Fix keypair support. 2007-09-18 Albert Chu * pef-config/pef-config.8.pre.in: Fix incorrect --commit short option documentation (reported by Manu Sharma). * bmc-config/: Make --commit short option consistent to pef-config. 2007-09-17 Albert Chu * bmc-config/, pef-config/: Re-arch section comments again. Add serial section comments. * pef-config/: Support keypairs. * bmc-config/, pef-config/: General code cleanup to make code more similar to between tools for later code merging. * bmc-config/bmc-config.8.pre.in, pef-config/pef-config.8.pre.in: Add note that commit keypairs will overwrite file keypairs. 2007-09-15 Albert Chu * NEWS: Update. 2007-09-11 Albert Chu * libfreeipmi/, common/src/, ipmiconsole/: Support new ignore SOL port workaround. 2007-09-11 Albert Chu * common/src/format-text.h, common/src/format-text.c, bmc-config/: Re-do text formatting for section comments. * freeipmi.spec.in: Add texinfo buildrequires. 2007-09-07 Albert Chu * ipmiconsole/ipmiconsole.8.pre.in: Fix text. * common/src/format-text.h, common/src/format-text.c: New files. * bmc-config/: Begin supporting comments in the checkout. Update bmc-config manpage. 2007-09-06 Albert Chu * bmc-config/src/bmc-config-sections.h, pef-config/src/pef-config-sections.h: Add section_name parameter to comment callback. * ipmi-sensors, ipmi-sel, ipmi-fru: Fix seg-fault possibility corner case. * ipmipower/: Remove debug statement. Output debug command in prompt menus. * common/src/cmdline-parse-common.h (parse_authentication_type): Fix parsing bug. 2007-09-05 Albert Chu * ipmiconsole/src/libipmiconsole/: Move behavior_flags into engine_config. * bmc-config/src/bmc-config-commit.c (bmc_commit_file): Output invalid commit error message by default, not in verbose mode. * bmc-config/, configure.ac, freeipmi.spec.in: Remove bmc-autoconfig. * Update FSF address throughout. Make address consistent throughout for easier search/replace later. * Various manpage and documentation updates. * bmc-config/src/bmc-user-sections.c (bmc_user_section_get): Comment out username for user id 1, since that typically isn't modifiable. * bmc-config/, pef-config/: Re-architect sections for support of section comments. 2007-09-04 Albert Chu * ipmiconsole/src/libipmiconsole/: Move workaround_flags from protocol_config to ipmi_config. Move LOCK_MEMORY from a security flags to an engine_flag. Rename security flags to behavior flags. * ipmiconsole/ipmiconsole.8.pre.in: Add encryption documentation info on the cipher suite id. * bmc-config/bmc-config.8.pre.in: Re-order documentation. 2007-09-01 Albert Chu * ipmiconsole/src/libipmiconsole/: Adjust callback parameters for more generic use. * configure.ac: Check for threads support in gcrypt. 2007-08-31 Albert Chu * ipmiconsole/src/libipmiconsole/ipmiconsole.c (ipmiconsole_engine_submit_block): Fix fd leak corner case. 2007-08-30 Albert Chu * libfreeipmi/, ipmiconsole/, common/doc: Change ASUS ipmi 2.0 workaround to be a more generic "ignore sol payload size". * Fix consistency issue with macro names between libraries. * Various manpage groff/text formatting fixes. * common/doc/manpage-common-workaround-outofband-2-0-only-text.man: Rename to manpage-common-workaround-sol-only-text.man due to usage. * ipmiconsole/ipmiconsole.8.pre.in: Fix for file name change. * ipmiconsole/src/ipmiconsole/ipmiconsole.c (main): Tear down SOL sessions cleanly by default. * ipmiconsole/src/libipmiconsole/ipmiconsole_garbage_collector.c (ipmiconsole_garbage_collector): Fix destructor corner case. 2007-08-29 Albert Chu * ipmiconsole/src/libipmiconsole/: Begin support errnum locking and required retrieval of error code. 2007-08-28 Albert Chu * ipmiconsole/src/libipmiconsole/ipmiconsole_ctx.h, ipmiconsole/src/libipmiconsole/ipmiconsole_ctx.c: New files. * ipmiconsole/src/libipmiconsole: Continue re-factoring re-organization. Support ipmiconsole_engine_config structure. Support non-blocking callbacks. * General code cleanup throughout. 2007-08-24 Albert Chu * Document motherboard P5MT-R Asus 'authcap' workarounds. * ipmiconsole/src/libipmiconsole/ipmiconsole_processing.c (_process_ctxs): Fix new console port corner case. * ipmiconsole/src/libipmiconsole/ipmiconsole.h, ipmimonitoring/src/libipmimonitoring/ipmi_monitoring.h: For consistency with remaining code, rename "context" to "ctx" as needed. * ipmiconsole/src/libipmiconsole/, ipmimonitoring/src/libipmimonitoring/: Adjust remaining text appropriately for name change. * ipmiconsole/src/libipmiconsole/ipmiconsole.h: Change IPMICONSOLE_CTX_STATUS_ERROR to IPMICONSOLE_CTX_STATUS_SOL_ERROR and create new IPMICONSOLE_CTX_STATUS_ERROR to indicate status retrieval error. * ipmiconsole/src/libipmiconsole/ipmiconsole.h: Change context status from defines to an enumeration. * ipmiconsole/src/libipmiconsole/ipmiconsole.h, ipmiconsole/src/libipmiconsole/ipmiconsole.c (ipmiconsole_ctx_status): Adjust API to return a context enumeration instead of an integer. * ipmiconsole/src/libipmiconsole/: Adjust remaining code appropriately for above changes. * libfreeipmi/: Support timeout mechanisms for KCS and OpenIPMI drivers so tools don't hang. * common/src/udm-err-wrappers.h: Add udm errors for kcs and openipmi system errors. * ipmiconsole/src/libipmiconsole/: Re-factor code for better data management. 2007-08-23 Albert Chu * ipmiconsole/src/ipmiconsole/ipmiconsole_config.c: Add back 'c' option for backwards compatability. * ipmiconsole/src/ipmiconsole/ipmiconsole.c (main): Fix debug output typo. * ipmiconsole/src/libipmiconsole/: General code cleanup. * Globally change "usercap" workaround to "authcap" to work around all authentication capabilities checks. * Fix RHEL5 compiler warnings. 2007-08-22 Albert Chu * ipmiconsole/src/libipmiconsole/ipmiconsole_garbage_collector.h, ipmiconsole/src/libipmiconsole/ipmiconsole_garbage_collector.c: New files. * ipmiconsole/src/libipmiconsole/: Begin changing semantics of ipmiconsole_ctx_destroy() and handling of file descriptors. Now ipmiconsole_ctx_destroy() will kill user managed file descriptors. Support garbage collector thread and move context destruction from API land to engine land. Minor bug fixes and code cleanup. * tag post_ipmiconsole_ctx_destroy_semantic_change * ipmiconsole/src/libipmiconsole/ipmiconsole_util.h, ipmiconsole/src/libipmiconsole/ipmiconsole_util.c: New files. * ipmiconsole/src/libipmiconsole/: General code cleanup using new ipmiconsole_set_closeonexec util function. 2007-08-21 Albert Chu * libfreeipmi/include/freeipmi/fiid.h: Add more comments. * ipmiconsole/src/libipmiconsole/: Add comments. Fix various issues including file descriptor POLLNVAL corner case and potential SIGPIPE corner case. General code cleanup. * tag pre_ipmiconsole_ctx_destroy_semantic_change 2007-08-20 Albert Chu * ipmiconsole/src/libipmiconsole/ipmiconsole.h, ipmiconsole/src/libipmiconsole/ipmiconsole.c (ipmiconsole_engine_submit, ipmiconsole_ctx_create): Rename IPMICONSOLE_CONTEXT_STATUS_NONE to IPMICONSOLE_CONTEXT_STATUS_NOT_SUBMITTED. * ipmiconsole/src/libipmiconsole/ipmiconsole.h, ipmiconsole/src/libipmiconsole/ipmiconsole.c (ipmiconsole_engine_submit): Split back into ipmiconsole_engine_submit and ipmiconsole_engine_submit_block. * ipmiconsole/src/libipmiconsole/ipmiconsole.h, ipmiconsole/src/libipmiconsole/ipmiconsole.c (ipmiconsole_engine_submit, ipmiconsole_engine_submit_block): Collapse IPMICONSOLE_ERR_CTX_ALREADY_SUBMITTED into IPMICONSOLE_ERR_CTX_IS_SUBMITTED. * ipmiconsole/: Change IPMICONSOLE_ERR_INTERNAL_BMC_SETTINGS_INVALID to IPMICONSOLE_ERR_BMC_IMPLEMENTATION. Adjust some error code return values accordingly. * ipmiconsole/src/libipmiconsole/ipmiconsole.h, ipmiconsole/src/libipmiconsole/ipmiconsole.c: Re-order error codes. * ipmiconsole/src/libipmiconsole/: Support new engine flag IPMICONSOLE_ENGINE_OUTPUT_ON_SOL_ESTABLISHED. 2007-08-17 Albert Chu * ipmiconsole/: Fix documentation/comments. Continued library fixes. Support IPMICONSOLE_ENGINE_CLOSE_FD flag. Support new IPMICONSOLE_ERR_TOO_MANY_OPEN_FILES error code. Set close-on-exec on all file descriptors. Fix race conditions and logic bugs. 2007-08-16 Albert Chu * common/doc/manpage-common-troubleshooting.man: Clean up text. * ipmimonitoring/ipmimonitoring.8.pre.in: Add ipmimonitoring specific troubleshooting. * ipmiconsole/src/libipmiconsole/: Significant code cleanup, race condition fixes, scalability fixes, logic fixes, bug fixes. 2007-08-15 Albert Chu * ipmiconsole/src/libipmiconsole/: Re-do enginecomm code to be specific to submission blocking. Re-work logic to close file descriptors after blocking is completed to save two file descriptors per context. * Various manpage updates. * common/doc/manpage-common-troubleshooting.man: New file. * Update various manpages with troubleshooting information. * ipmiconsole/src/libipmiconsole/ipmiconsole.h, ipmiconsole/src/libipmiconsole/ipmiconsole.c (ipmiconsole_engine_submit): Add back blocking flag parameter. * ipmiconsole/: Adjust remaining code appropriately. 2007-08-14 Albert Chu * bmc-config/: Support no checkout for sections. Do not checkout section pef_conf by default. * pef-config/: Support same architecture as bmc-config for consistency. 2007-08-14 Albert Chu * bmc-config/src/bmc-config-sections.c (bmc_config_section_set_value): Add error messages. * bmc-config/src/: Re-add pef commit/diff support for legacy config files. Do not checkout pef config by default. 2007-08-14 Anand Babu * bmc-autoconfig.8.in: updated and moved from bmc-autoconfig.8. 2007-08-13 Albert Chu * common/doc/: Fix potential pre-processor bugs. * ipmiconsole/, libfreeipmi/, ipmimonitoring, common/: Add ASUS IPMI 2.0 workarounds. * ipmiconsole/ipmiconsole.8.in: Add some troubleshooting notes. * ipmimonitoring/src/libipmimonitoring/ipmi_monitoring.h: Fix comments. * common/src/tool-common.c (parse_kg): Support odd-lengthed hex codes. 2007-08-11 Albert Chu * configure.ac: Up lib versions appropriately. 2007-08-10 Albert Chu * libfreeipmi/src/udm: Re-do UDM workarounds to be generic, not specific to lan, lan 2.0, or inband. * common/: Adjust for workaround flags change. * libfreeipmi/, ipmipower/, ipmiconsole/, ipmimonitoring/, common/: Support ASUS P5m2 workaround. 2007-08-10 Albert Chu * common/src/tool-common.h, common/src/tool-common.c (check_kg_len): New function. * common/src/cmdline-parse-common.c, ipmipower/, ipmiconsole/, ipmimonitoring/: Use check_kg_len function appropriately for k_g len checks. * ipmiconsole/src/libipmiconsole/ipmiconsole.h, ipmiconsole/src/libipmiconsole/ipmiconsole.c: Remove SOL_NOT_RESPONDING error code and error message. * ipmiconsole/src/libipmiconsole/ipmiconsole.h, ipmiconsole/src/libipmiconsole/ipmiconsole.c, ipmiconsole/src/libipmiconsole/ipmiconsole_processing.c: Rename IPMICONSOLE_ERR_EXCESS_RETRANSMISSIONS to IPMICONSOLE_ERR_EXCESS_RETRANSMISSIONS_SENT. Add new error code IPMICONSOLE_ERR_EXCESS_ERRORS_RECEIVED. * ipmiconsole/src/ipmiconsole.c (main): Support more error codes under clean output conditions. 2007-08-09 Albert Chu * ipmiconsole/src/ipmiconsole.h: Add additional comments. * common/src/tool-common.c (parse_kg): Check for proper inputted hex digits. Alter function to return k_g key length. * ipmipower/, bmc-config/, ipmiconsole/, common/src: Adjust tools for use of new parse_kg function and do not assume k_g key of length 20. * ipmipower/src/ipmipower_config.c (_cb_k_g): Fix configuration logic error. * ipmipower/src/ipmipower_prompt.c (_cmd_config): Fix config output display error. * ipmiconsole/src/libipmiconsole/ipmiconsole.h, ipmiconsole/src/libipmiconsole/ipmiconsole.c (ipmiconsole_engine_submit): Move blocking support from parameter to flag in protocol_config of the context. * ipmiconsole/src/libipmiconsole/ipmiconsole.h, ipmiconsole/src/libipmiconsole/ipmiconsole.c (ipmiconsole_engine_teardown), ipmiconsole/src/libipmiconsole/ipmiconsole_engine.c (ipmiconsole_engine_cleanup): Add option to not cleanup SOL sessions on engine teardown. * ipmiconsole/src/ipmiconsole/ipmiconsole.c: Adjust for API change. * ipmiconsole/src/libipmiconsole/: Rename BMC_SETTINGS_INVALID to INTERNAL_BMC_SETTINGS_INVALID. * doc/freeipmi-libraries.txt: Update. 2007-08-08 Albert Chu * ipmiconsole/src/libipmiconsole/ipmiconsole_engine.c (ipmiconsole_engine_cleanup): Skip majority of code if engine was never initialized. * ipmiconsole/src/ipmiconsole/ipmiconsole.c (main): Cleanup use of ipmiconsole_ctx_destroy() so use is easier to understand. * ipmiconsole/src/libipmiconsole/ipmiconsole.h, ipmiconsole/src/libipmiconsole/ipmiconsole.c, ipmiconsole/src/libipmiconsole/ipmiconsole_processing.c: Create new IPMICONSOLE_ERR_BMC_SETTINGS_INVALID error code. Replace several of the IPMICONSOLE_ERR_BMC_ERROR errnums with this new code. 2007-08-07 Albert Chu * ipmiconsole/src/libipmiconsole/ipmiconsole.h, ipmiconsole/src/libipmiconsole/ipmiconsole.c (ipmiconsole_engine_submit, ipmiconsole_engine_submit_block): Collapse both functions into one function, with a flag for blocking or non-blocking. * ipmiconsole/src/ipmiconsole/ipmiconsole.c (main): Adjust for API change appropriately. * ipmiconsole/src/libipmiconsole/ipmiconsole.h (ipmiconsole_ctx_fd, ipmiconsole_engine_teardown): Fix comments. * ipmiconsole/src/libipmiconsole/ipmiconsole.h, ipmiconsole/src/libipmiconsole/ipmiconsole.c, ipmiconsole/src/libipmiconsole/ipmiconsole_processing.c: Creat new IPMICONSOLE_ERR_EXCESSIVE_RETRANSMISSIONS error code. Replace several of the IPMICONSOLE_ERR_BMC_ERROR errnums with this new code. 2007-08-07 Albert Chu * bmc-config/src/bmc-config-value.h, bmc-config/src/bmc-config-validate.c (number_range_one_byte_non_zero): New function. * bmc-config/src/bmc-sol-conf-section.c (bmc_sol_conf_section_get): Adjust character_accumulate_interval field to only support non-zero input. Zero is a reserved number. 2007-08-06 Albert Chu * libfreeipmi/src/udm/ipmi-udm.c (__guaranteed_memset), common/src/secure.c (secure_memset), common/src/cmdline-parse-common.c (__secure_memset): Fix secure/guaranteed memset corner case. 2007-08-06 Albert Chu * ac_ipmi_monitoring_sdr_cache_dir.m4, ac_ipmi_monitoring_sensor_config_file.m4, ac_ipmidetect_config_file.m4, ac_ipmidetectd_config_file.m4, ac_ipmipower_config_file.m4: Replace hard-coded /etc and /var with ${sysconfdir} and ${localstatedir} respecively. Remove option to specify config files. Location of config files is now controlled through setting of --localstatedir and --sysconfidr. * ipmimonitoring/Makefile.am: Install w/ correct ./configure location. * freeipmi.spec.in: Use %{_localstatedir} instead of /var. * bmc-watchdog/Makefile.am: Fix distcheck. 2007-08-06 Albert Chu * ipmimonitoring/src/ipmimonitoring.c (cmdline_parse): Fix parsingcorner case. 2007-08-06 Albert Chu * ipmidetect/ipmidetect.conf.5.in, ipmidetect/ipmidetectd.8.in, ipmidetect/ipmidetectd.conf.5.in, ac_ipmidetect_config_file.m4, ipmidetect/src/ipmidetect/ipmidetect.c: Fix inconsistency w/ "CONF_FILE" vs. "CONFIG_FILE_DEFAULT" leading to invalid manpages. 2007-08-02 Albert Chu * tagged post-udm-2-0-merge 2007-08-02 Albert Chu Merge from udm_ipmi_2_0_branch. Re-org UDM and add IPMI 2.0 device support to UDM. * common/src/udm-err-wrappers.h (__UDM_BAD_COMPLETION_CODE_TO_UDM_ERRNUM): Rename to UDM_BAD_COMPLETION_CODE_TO_UDM_ERRNUM. * common/src/udm-fiid-wrappers.h (UDM_FIID_OBJ_SET, UDM_FIID_OBJ_SET_CLEANUP, UDM_FIID_OBJ_GET_DATA_LEN, UDM_FIID_OBJ_GET_DATA_LEN_CLEANUP): New macros. * libfreeipmi/include/freeipmi/udm/freeipmi/udm/ipmi-kcs-api-udm.h, freeipmi/udm/ipmi-lan-interface-udm.h, freeipmi/udm/ipmi-openipmi-api-udm.h, freeipmi/udm/ipmi-ssif-api-udm.h: Moved files to libfreeipmi/src/udm. No longer distribute as part of libfreeipmi. * libfreeipmi/include/Makefile.am, libfreeipmi/src/udm/Makefile.am, libfreeipmi/include/udm/udm.h: Update with .h file move changes. * libfreeipmi/include/freeipmi/udm/ipmi-messaging-support-cmds-udm.h, libfreeipmi/src/udm/ipmi-messaging-support-cmds-udm.c (ipmi_cmd_get_channel_authentication_capabilities_v20): New function. * libfreeipmi/include/freeipmi/udm/ipmi-udm.h: Add new IPMI 2.0 UDM error codes. * libfreeipmi/include/freeipmi/udm/ipmi-udm.h, libfreeipmi/src/udm/ipmi-udm.c (ipmi_open_outofband_2_0): New function. * libfreeipmi/src/udm/ipmi-lan-interface-udm.c: Split off lan session code to new files. * libfreeipmi/src/udm/ipmi-lan-session-util.h, libfreeipmi/src/udm/ipmi-lan-session-util.c: New files. Support both IPMI 1.5 and IPMI 2.0 session code. Add session id and sequence number checking which was previously ignored. * libfreeipmi/src/udm/ipmi-udm-device.h: Update w/ IPMI 2.0 needs in device structure. * libfreeipmi/src/udm/ipmi-udm.c (ipmi_udm_errmsg, _ipmi_outofband_free, ipmi_cmd, ipmi_cmd_raw): Add IPMI 2.0 support. * libfreeipmi/src/udm/ipmi-lan-interface-udm.c (ipmi_lan_2_0_cmd, ipmi_lan_2_0_cmd_raw): New functions. * libfreeipmi/src/udm/ipmi-udm.c (__guaranteed_memset): New function. * libfreeipmi/src/udm/ipmi-udm.c (ipmi_device_destroy): Do guaranteed memset on destroy. * common/doc/argp-common-driver.man: New file. * common/doc/argp-common-inband.man: Split out driver option. * common/doc/argp-common-outofband.man, common/doc/argp-common-outofband-hostranged.man: Add K_g options. * common/doc/Makefile.am: Update appropriately for new files. * common/src/argp-common.c, common/src/argp-common.h: Update for IPMI 2.0 options. * common/src/tool-common.c (ipmi_device_open): Add IPMI 2.0 support. * bmc-config/, bmc-info/, ipmi-chassis/, ipmi-fru/, ipmi-sel/, ipmi-sensors/, pef-config/: Update manpages and command line option code. * ipmimonitoring/src/libipmimonitoring: Re-architect to use UDM and support IPMI 2.0. * ipmimonitoring/src/ipmimonitoring.c: Re-work as needed. Add Workaround Support * libfreeipmi/: Support workarounds for various vendor compliance issues. * common/src/udm-fiid-wrappers.h: Add new wrappers as needed. * common/doc/argp-common-workaround-flags.man, argp-common-workaround-heading-text.man, argp-common-workaround-inband-text.man, argp-common-workaround-outofband-text.man, argp-common-workaround-outofband-2-0-text.man: New files. * common/src/argp-common.h, common/src/argp-common.c: Support workaround flags. * common/src/argp-common.h, common/src/argp-common.c (parse_outofband_workaround_flags, parse_outofband_2_0_workaround_flags, parse_inband_workaround_flags): New functions. * bmc-config/, bmc-info/, ipmi-chassis/, ipmi-fru/, ipmi-sel/, ipmi-sensors/, pef-config/: Update manpages and command line option code. * ipmipower/, ipmiconsole/: Use common workaround parses in argp-common. * ipmimonitoring/: Add workaround support. * doc/Makefile.am: Updated appropriately. Unify code. * Adjust command line options between tools/programs to match more consistently. * Adjust error code macros and error messages between libraries to match more consistently. Argp * Use argp instead of getopt in ipmipower, ipmiconsole, and ipmimonitoring for consistency. Usage/help/documentation * Globally cleaned up usage output, help output, manpages, etc. Attempt to use more "common" manpages out of common/doc. Make descriptions more consistent across tools. Misc: * Support most debugging options by default, not in a debug-only build. * Globally remove IPMI_MAX_AUTHENTICATION_CODE_LENGTH. Use IPMI_1_5_MAX_PASSWORD_LENGTH and IPMI_2_0_MAX_PASSWORD_LENGTH as needed. * common/src/argp-common.h, common/src/argp-common.c: General cleanup to allow for more common code use. * bmc-watchdog/: Support OpenIPMI driver. * Globally try to make error messages in all libs and tools more useful. * common/src/argp-common.h, common/src/argp-common.c, common/doc/: Rename "argp" common to "cmdline-parse" common, since it is more generic that just argp. Adjust in rest of FreeIPMI appropriately. * General code cleanup throughout. 2007-08-02 Albert Chu * tagged pre-udm-2-0-merge 2007-08-02 Troy Telford * freeipmi.spec.in: Fixed SLES packaging issue. 2007-07-31 Albert Chu * freeipmi.spec.in: Put version into source path. 2007-07-27 Albert Chu * ipmimonitoring/src/ipmimonitoring/ipmimonitoring.c (main, _cmdline_parse): Fix potential free() bug. * common/src/hostrange.c (pstdout_setup): Add assert. 2007-07-26 Albert Chu * common/src/ipmi-sdr-cache.c (sdr_cache_load): Fix corner case bug. * freeipmi.spec.in: Fix buildroot typo. 2007-07-18 Albert Chu * ipmi-chassis/ipmi-chassis.8.pre.in: Fix default priv level typo. * ipmi-sensors/ipmi-sensors.8.pre.in: Fix formatting typo. * ipmi-sel/ipmi-sel.8.pre.in: Fix examples. * ipmimonitoring/ipmimonitoring.8.in: Fix option instructions. * bmc-config/bmc-config.8.pre.in: Fix examples. 2007-07-17 Albert Chu * Various manpage typo fixes. 2007-07-13 Albert Chu * ipmiconsole/src/libipmiconsole/ipmiconsole.h, ipmiconsole/src/libipmiconsole/ipmiconsole.c: Remove duplicate error code definition. 2007-07-12 Albert Chu * ipmimonitoring/src/ipmimonitoring/ipmimonitoring.c (main): Fix free bug. 2007-07-11 Albert Chu * ipmiconsole/src/libipmiconsole/ipmiconsole_checks.c (ipmiconsole_check_outbound_sequence_number): Remove left over debugging. * ipmipower/ipmipower.conf.5.in: Update w/ forgotten options. * ipmiconsole/ipmiconsole.conf.5.in: Update w/ forgotten options. 2007-07-09 Dmitry Frolov * acx_pthread.m4, common/src/freeipmi-portability.h, ipmidetect/Makefile.am, ipmimonitoring/src/libipmimonitoring/ipmi_monitoring_ipmi_communication.c: FreeBSD port fixes. * ac_ipmi_monitoring_sdr_cache_dir.m4: Fix typo. 2007-07-06 Albert Chu * ipmi-chassis/ipmi-chassis.8.pre.in, ipmi-chassis/src/ipmi-chassis-argp.c: Change -I option to -i. 2007-07-03 Albert Chu * libfreeipmi/src/udm/ipmi-lan-interface-udm.c (ipmi_lan_cmd, ipmi_lan_cmd_raw): Fix return code bug. * libfreeipmi/src/udm/ipmi-udm.c, libfreeipmi/include/freeipmi/udm/ipmi-udm.h, common/src/udm-err-wrappers.h (__UDM_BAD_COMPLETION_CODE_TO_UDM_ERRNUM): Remove IPMI_ERR_BAD_COMPLETION_CODE_NODE_BUSY completion code. Replace with more generic IPMI_ERR_BMC_BUSY error code. * libfreeipmi/include/freeipmi/ipmi-cipher-suite-spec.h (IPMI_CIPHER_SUITE_ID_SUPPORTED): Fix warning. 2007-07-02 Albert Chu * doc/freeipmi-faq.texi, doc/freeipmi-hostrange.txt: Update w/ some forgotten 0.4.0 stuff. 2007-07-02 Albert Chu * Tagged Release-0_4_0_base. * Branched Release-0_4_0_branch. 2007-07-02 Albert Chu * configure.ac: Update version for release. 2007-06-29 Albert Chu * ipmiconsole/src/libipmiconsole/ipmiconsole_engine.c (ipmiconsole_engine_setup): Fix bad debug output corner case. * ipmiconsole/src/libipmiconsole/ipmiconsole_engine.c (_teardown_initiate): New function. * ipmiconsole/src/libipmiconsole/ipmiconsole_engine.c (_poll_setup, _ipmiconsole_engine): Re-arch teardown to be quicker by initializing close_session prior to the processing of contexts. * ipmiconsole/src/libipmiconsole/ipmiconsole_engine.c: Support console_engine_ctxs_notifier pipes. Allows for the engine poll() call to be "interrupted" so engine can react more quickly to calls from user space. 2007-06-28 Albert Chu * ipmiconsole/src/libipmiconsole/ipmiconsole.h: Add/fix comments for clarification. * ipmiconsole/src/libipmiconsole: Add flag to close the user_fd within the library if it has never been retrieved by the user. * ipmiconsole/src/libipmiconsole/ipmiconsole.c (ipmiconsole_engine_submit, ipmiconsole_engine_submit_block, ipmiconsole_ctx_destroy): Fix locking corner cases and bugs. 2007-06-27 Albert Chu * ipmi-fru/: New project. * COPYING.ipmi-fru, DISCLAIMER.ipmi-fru: New files. * libfreeipmi/include/freeipmi/udm/ipmi-fru-inventory-device-cmds-udm.h libfreeipmi/include/freeipmi/ipmi-fru-inventory-device-cmds.h libfreeipmi/include/freeipmi/ipmi-fru-information-storage-definition.h libfreeipmi/src/udm/ipmi-fru-inventory-device-cmds-udm.c libfreeipmi/src/ipmi-fru-inventory-device-cmds.c libfreeipmi/src/ipmi-fru-information-storage-definition.c: New files. * configure.ac, Makefile.am, freeipmi.spec.in: Update appropriately for new projct and new files. * libfreeipmi/src/ipmi-error.c (ipmi_strerror_r), libfreeipmi/include/freeipmi/ipmi-comp-code-spec.h: Add FRU completion codes/strings. 2007-06-27 Albert Chu * libfreeipmi/src/ipmi-lan.c, libfreeipmi/include/freeipmi/ipmi-lan.h (fill_lan_session_hdr): Rename inbound_sequence_number to session_sequence_number for consistency. * ipmidetect/ipmidetectd.8.in: Fix typos from manpage cut and paste. * ipmidetect/: Fix cut and paste typo in GPL release headers. 2007-06-26 Albert Chu * libfreeipmi/src/udm/ipmi-lan-interface-udm.c (ipmi_lan_open_session): Call get authentication capabilities with configured privilege, not user. * libfreeipmi/src/udm/ipmi-lan-interface-udm.c (ipmi_lan_cmd_raw): Add forgotten permsgauth support. Move sequence number increments to cleanup section. 2007-06-25 Albert Chu * common/src/ipmi-sdr-cache-reads.c (GET_UINT_VALUE_BY_KEY, _get_uint_value_by_key): New macros/functions. * common/src/ipmi-sdr-cache-reads.c (sdr_cache_read_repository_info_timestamp): Read 32 bit fields w/ uint not int. 2007-06-20 Albert Chu * libfreeipmi/src/udm/: Remove unused obj_lan_msg_trlr from ipmi_device struct. Re-organize code to follow struct a bit better. * libfreeipmi/src/udm/ipmi-messaging-support-cmds-udm.c, libfreeipmi/include/freeipmi/ipmi-messaging-support-cmds-udm.h (ipmi_cmd_close_session): New function. * libfreeipmi/src/udm/ipmi-messaging-support-cmds-udm.c, libfreeipmi/include/freeipmi/ipmi-messaging-support-cmds-udm.h (ipmi_cmd_get_channel_authentication_capabilities, ipmi_cmd_get_session_challenge, ipmi_cmd_activate_session, ipmi_cmd_set_session_privilege_level): Re-work APIs to be consistent with rest of UDM library. * libfreeipmi/include/freeipmi/udm/ipmi-messaging-support-cmds-udm.h, libfreeipmi/src/udm/ipmi-messaging-support-cmds-udm.c (ipmi_lan_open_session, ipmi_lan_close_session): Move to libfreeipmi/src/udm/ipmi-lan-interface-udm.c. Re-work to use modified new API in ipmi-messaging-support-cmds-udm.[ch]. * libfreeipmi/include/freeipmi/udm/ipmi-udm.h (ipmi_open_inband, ipmi_open_outofband): Add missing parameter name. * Fix minor code comment typos. 2007-06-19 Albert Chu * freeipmi.spec.in: Follow on fixes from Phil Knirsch's. * various doc updates. * doc/freeipmi-libraries.txt: New file. * freeipmi.spec.in, doc/Makefile.am: Updated for new file. 2007-06-13 Albert Chu Merge in Fedora build requirements from Phil Knirsch * bmc-watchdog/freeipmi-bmc-watchdog.sysconfig: New file. * bmc-watchdog/freeipmi-bmc-watchdog.init, bmc-watchdog/: Adjust for new sysconfig file. * freeipmi.spec.in: Merge in Fedora build requirements. 2007-06-13 Albert Chu * freeipmi.spec.in: Remove readline-devel and guile-devel build requirements. * common/src/udm-err-wrappers.h (__OPENIPMI_SYSLOG): Fix typo. * common/src/freeipmi-portability.h: Add back portability macro. 2007-06-12 Albert Chu * libfreeipmi/src/udm/ipmi-udm.c: Adjust UDM error messages. 2007-06-09 Albert Chu * pef-config/src/pef-config-map.h (sensor_type_string, sensor_type_number): Add forgotten function prototypes. * ipmipower/src/ipmipower_packet.c (ipmipower_packet_errmsg): Remove error message possibility, should not be possible. * libfreeipmi/include/freeipmi/udm/ipmi-udm.h: Add new error codes. * cmmon/src/udm-err-wrappers.h, libfreeipmi/src/udm/: Support new error codes. 2007-06-08 Tom Zimmerman * pef-config/: Add sensor names for input/output for sensor_type config. * libfreeipmi/include/freeipmi/ipmi-pef-and-alerting-cmds.h: Add event sensor type definitions. * pef-config/pef-config.8.pre.in: Updated appropriately. 2007-06-06 Albert Chu * libfreeipmi/include/freeipmi/fiid.h, libfreeipmi/src/fiid.c (fiid_iterator_destroy): Make void return function. * libfreeipmi/include/freeipmi/fiid.h, libfreeipmi/src/fiid.c: General code cleanup and commenting. 2007-06-05 Albert Chu * libfreeipmi/include/freeipmi/fiid.h, libfreeipmi/src/fiid.c (fiid_template_make, __fiid_template_make): Removed functions. * libfreeipmi/src/fiid.c (fiid_template_field_lookup): Fix parameter check bugs. * libfreeipmi/include/freeipmi/fiid.h, libfreeipmi/src/fiid.c (fiid_obj_destroy): Make void return function. * common/src/fiid-wrappers.h (FIID_OBJ_DESTROY, UDM_FIID_OBJ_DESTROY): Adjust appropriately for change. * common/src/fiid-wrappers.h (FIID_OBJ_DESTROY_NO_RETURN, UDM_FIID_OBJ_DESTROY_NO_RETURN): Remove functions, they are no longer necessary. * libfreeipmi/, pef-config/, ipmi-chassis/, ipmiconsole/, ipmimonitoring/, ipmiping/, rmcpping/: Adjust for macro and function changes. * libfreeipmi/include/freeipmi/fiid.h, libfreeipmi/src/fiid.c: General code cleanup and commenting. 2007-06-05 Albert Chu * libfreeipmi/include/freeipmi/ipmi-chassis-boot-options-param-spec.h: Renamed to libfreeipmi/include/freeipmi/ipmi-chassis-boot-options-parameter-spec.h. Adjusted with 2007-06-02 param -> parameter changes. * libfreeipmi/include/Makefile.am: Update appropriately for change. * libfreeipmi/include/freeipmi/freeipmi.h: Add ipmi-chassis-boot-options-parameter-spec.h. * libfreeipmi/src/ipmi-chassis-cmds.c, libfreeipmi/src/ipmi-chassis-cmds-udm.c: Change param -> parameter globally. * libfreeipmi/src/ipmi-chassis-cmds-udm.c: Remove use of ERR_EINVAL. Fix tabbing. * libfreeipmi/include/freeipmi/udm/ipmi-chassis-cmds-udm.h, libfreeipmi/include/freeipmi/udm/ipmi-chassis-cmds-udm.h (ipmi_cmd_chassis_identify): Fix API. Use fill_cmd_chassis_identify correctly. * libfreeipmi/src/ipmi-chassis-cmds.c (fill_cmd_chassis_identify): Fix parameter check. * libfreeipmi/src/udm/ipmi-chassis-cmds-udm.c (ipmi_cmd_set_system_boot_options_boot_info_acknowledge, ipmi_cmd_set_system_boot_options_boot_flags): Add parameter checks. * libfreeipmi/src/ipmi-chassis-cmds.c (fill_cmd_set_system_boot_options_boot_flags): Fix parentheses usage. Fix parameter setting order. * libfreeipmi/src/ipmi-chassis-cmds.c, libfreeipmi/src/udm/ipmi-chassis-cmds-udm.c: Fix includes. * ipmi-chassis/src/ipmi-chassis.h: Fix brace consistency. * ipmi-chassis/src/ipmi-chassis-argp.c: Fix help output. Fix --get-boot-flags option bug. Use common arg macros. Add --debug option. Add hostrange options. Fix some tabbing/spacing of code. Consistently use "if (" instead of "if(". Fix compiler warnings. * ipmi-chassis/src/ipmi-chassis.c: Replace use of UDM_FIID_OBJ_DESTROY_NO_RETURN with FIID_OBJ_DESTROY_NO_RETURN. Consistently use "if (" instead of "if(". * ipmi-chassis/src/ipmi-chassis.c (_FIID_OBJ_GET_BLOCK): Removed macro. * ipmi-chassis/src/ipmi-chassis.c (_FIID_OBJ_GET_WITH_RETURN_VALUE, _FIID_OBJ_GET): Use 'obj' intead of 'bytes'. Use correct strerror function. Remove unnecessary set rv = -1. * ipmi-chassis/src/ipmi-chassis.c (set_boot_flags): Cleanup variable declarations. * ipmi-chassis/src/ipmi-chassis.c (get_chassis_status, get_boot_flags): Fix spacing of output. * ipmi-chassis/src/ipmi-chassis.c: Fix incorrect display of ipmi_device_strerror messages. Remove checks for bad comp_code. Fix tabbling/spacing. General code cleanup. Output better error messages for all fiid_obj_create calls. Replace fprintf to stdout with printf. * ipmi-chassis/src/ipmi-chassis-argp.c (parse_opt): Fix invalid use of strtol. * ipmi-chassis/src/ipmi-chassis-argp.c (boot_flag_parse_opt, ipmi_chassis_argp_parse): Move initialization code from boot_flag_parse_opt to ipmi_chassis_argp_parse. * ipmi-chassis/src/ipmi-chassis.c (get_chassis_status): Don't output "none" if there is nothing to output. * ipmi-chassis/src/ipmi-chassis.c (set_boot_flags): Remove set in progress for now since no other IPMI tools currently use it. Fix cleanup logic. * ipmi-chassis/ipmi-chassis.8.pre.in: Use macros appropriately. * AUTHORS: Add Ragha. * libfreeipmi/include/freeipmi/ipmi-comp-code-spec.h, libfreeipmi/src/ipmi-error.c (ipmi_strerror_r): Add get/set system boot options error code/strings. * ipmi-chassis/src/ipmi-chassis-argp.h, ipmi-chassis/src/ipmi-chassis-argp.c (ipmi_chassis_args_validate): New function. * ipmi-chassis/src/ipmi-chassis.c (main): Call ipmi_chassis_args_validate. * ipmi-chassis/src/ipmi-chassis-argp.c, ipmi-chassis/ipmi-chassis.8.pre.in: Change 'C' option to 'O' and 'B' to 'L' to not conflict with other options. * ipmi-chassis/src/ipmi-chassis.h: Remove cmd_set_capabilities, which isn't used. * ipmi-chassis/src/ipmi-chassis-argp.c (parse_opt), ipmi-chassis/src/ipmi-chassis.c (chassis_identify): Fix chassis identify usage. * ipmi-chassis/src/ipmi-chassis-argp.c, ipmi-chassis/ipmi-chassis.8.pre.in: Put periods on ends of help messages. * libfreeipmi/src/ipmi-chassis-cmds.c (tmpl_cmd_get_chassis_status_rs): Revert to old strings. * ipmi-chassis/src/ipmi-chassis.c (get_chassis_status): Use old strings. * libfreeipmi/src/ipmi-capabilities-cmds.c (tmpl_cmd_get_chassis_capabilities_rs): Revert to old strings. * ipmi-capabilities/src/ipmi-capabilities.c (get_capabilities_status): Use old strings. * ipmi-chassis/ipmi-chassis.8.pre.in, ipmi-chassis/src/ipmi-chassis-argp.c: Fix help info language. Fix help info ordering. Document missing options. Change 'list' option to -X option to 'list-supported-policies.' Exit when > 1 cmd is input, don't just return -1. Cleanup error messages. 2007-06-05 Raghavendra * ipmi-chassis/src/ipmi-chassis.c: Implemented Chassis Commands. * ipmi-chassis/src/ipmi-chassis.h: Updated for Chassis support. * libfreeipmi/include/freeipmi/ipmi-cmd-spec.h: Added new commands. * libfreeipmi/include/freeipmi/ipmi-chassis-cmds.h: Added Macros related to ipmi-chassis. * libfreeipmi/src/ipmi-chassis-cmds.c: Added Ipmi command templates related to ipmi-chassis. * libfreeipmi/src/udm/ipmi-chassis-cmds-udm.c: Added Library functions related to ipmi-chassis. * libfreeipmi/include/freeipmi/udm/ipmi-chassis-cmds-udm.h: Macros related to ipmi-chassis. * libfreeipmi/include/Makefile.am: Added an entry for freeipmi/ipmi-chassis-boot-options-param-spec.h. * libfreeipmi/include/freeipmi/ipmi-chassis-boot-options-param-spec.h: New file. 2007-06-04 Albert Chu * libfreeipmi/include/freeipmi/ipmi-error.h (IPMI_ERR_STR_MAX_LEN): Define with number rather than hex. 2007-06-02 Albert Chu Massive code cleanup. * configure.ac: Update lib versions for 0.4.0. * common/src/ipmi-common.h: Move portability related things to freeipmi-portability.h. * Globally re-adjust headers accordingly for above change. * Cleanup compile warnings. * common/src/freeipmi-portability.h, common/src/freeipmi-portability.c (freeipmi_error): Remove function, it and error() are no longer used. * common/src/freeipmi-portability.h: Remove libintl portability. Remove true/false/bool portability. Remove EBADMSG portability. Remove program_invocation_short_name portability. * ipmi-sel/, ipmi-raw/: Remove use of program_invocation_short_name. * bmc-config/: Replace use of true/false with 1/0. * configure.ac: Remove check for error(). * libfreeipmi/src/ipmi-common.h, libfreeipmi/src/ipmi-common.c: New files. * common/src/ipmi-common.h, common/src/ipmi-common.c: Move lib specific utility functions to libfreeipmi ipmi-common.[ch]. * common/src/ipmi-common.h, common/src/ipmi-common.c: Rename to tool-common.h and tool-common.c. * Readjust Makefiles and code appropriately for new files. * common/src/tool-common.h, common/src/tool-common.c (ipmi_device_open): New function. * bmc-config/, bmc-info/, ipmi-raw/, ipmi-sel/, ipmi-sensors/, pef-config/: Use new common function for device opening. * libfreeipmi/udm/ipmi-udm.c (ipmi_open_inband): Fix logic errors. * common/src/eliminate.h, common/src/eliminate.c: Renamed to hostrange.h and hostrange.c. * common/src/hostrange.h, common/src/hostrange.c (pstdout_setup): New function. * bmc-info/, ipmi-sel/, ipmi-sensors/, ipmimonitoring/, ipmi-raw/: Use new pstdout_setup common function for pstdout setup. * common/src/ipmi-sdr-cache.h, common/src/ipmi-sdr-cache.c (sdr_cache_create_and_load): New function. * ipmi-sel/, ipmi-sensors/: Use new common function. * libfreeipmi/include/freeipmi/ipmi-lan-param-spec.h, libfreeipmi/include/freeipmi/ipmi-pef-param-spec.h, libfreeipmi/include/freeipmi/ipmi-serial-modem-param-spec.h, libfreeipmi/include/freeipmi/ipmi-sol-param-spec.h: Renamed to libfreeipmi/include/freeipmi/ipmi-lan-parameter-spec.h, libfreeipmi/include/freeipmi/ipmi-pef-parameter-spec.h, libfreeipmi/include/freeipmi/ipmi-serial-modem-parameter-spec.h, libfreeipmi/include/freeipmi/ipmi-sol-parameter-spec.h respecitvely. * Globally rename fields/varaibles from "param" to "parameter" for naming consistency. * ipmi-chassis/: Pstdout-ized. 2007-06-01 Albert Chu * common/src/fiid-wrappers.h: Remove duplicate macros. * REDESIGN: Move notes into TODO. Remove file. * Various minor doc updates. * common/doc/argp-common-sdr-options.man: New file. * ipmi-sel/ipmi-sel.8.pre.in, ipmi-sensors/ipmi-sensors.8.pre.in: Use common sdr options. * common/src/arg-common.h, common/src/arg-common.c (sdr_parse_opt, init_sdr_cmd_args, free_sdr_cmd_args): New functions. * ipmi-sel/, ipmi-sensors/: Use new common SDR arg parsing. * Fix argp ordering in remaining tools. 2007-05-31 Albert Chu * tagged pre_freeipmi_udm_re_arch * Merge in freeipmi_udm_re_arch_final branch tag with UDM re-architecture with more detailed error code returns to the user. * tagged post_freeipmi_udm_re_arch 2007-05-29 Albert Chu * ipmiconsole/src/libipmiconsole/: Support new ipmiconsole_ctx_status function. 2007-05-29 Tom Zimmerman * pef-config/src/pef-config-alert-policy-table.c (pef_config_alert_policy_table_section_get): Fix instructions typo. 2007-05-24 Albert Chu * ipmiconsole/: Finish up some sun 2.0 workarounds. 2007-05-24 Albert Chu * ipmipower/: Begin work on sun20 workaround. * ipmiconsole/: Begin work on sun 2.0 workarounds. Support additional error outputs. 2007-05-23 Albert Chu * ipmipower/: Add 'endianbug' workaround for Sun machines. * common/src/ipmi-sdr-cache.c (_get_sdr_sensor_record): Fix SDR reservation bugs. * common/src/ipmi-sdr-cache.c (_get_sdr_generic_device_locator_record): Fix channel_number reading bug. 2007-05-22 Albert Chu * doc/freeipmi-hostrange.txt: Fix some typos. 2007-05-21 Albert Chu * pef-config/src/pef-config-sections.c (pef_config_sections_list_create): Re-order sections. * pef-config/: Various minor bug fixes. * libfreeipmi/src/ipmi-pef-and-alerting-cmds.c (tmpl_cmd_set_pef_configuration_alert_policy_table_rq, fill_cmd_set_pef_configuration_parameter_alert_policy_table): Fix fill bugs. 2007-05-20 Albert Chu * doc/freeipmi-coding.txt: Update. * pef-config/src/pef-config-alert-policy-table.c (pef_config_alert_policy_table_section_get): Add lan channel number to help for channel number. * pef-config/src/pef-config-alert-policy-table.c: Fix diff callback bugs. * REDESIGN: Add notes for future. * pef-config/: Add Alert String support. 2007-05-19 Albert Chu * doc/freeipmi-coding.txt: Talk about bmc-config and ipmi-pef design considerations. * ipmi-pef/src/ipmi-pef-event-filter-table.c: Major code cleanup. * ipmi-pef/ipmi-pef.8.pre.in: Updated appropriately. * pef-config/: Converted from ipmi-pef. Update all build files and docs appropriately. * pef-config/src/pef-config-sections.c (pef_config_sections_list_create): Fix alert policy table bug. 2007-05-18 Albert Chu * ipmi-pef/: Fix incorrect naming of "policy number" for "entry number" globally. * ipmi-pef/src/ipmi-pef-alert-destination.c, ipmi-pef/src/ipmi-pef-alert-destination.h: Renamed to ipmi-pef/src/ipmi-pef-lan-alert-destination.c and ipmi-pef/src/ipmi-pef-lan-alert-destination.h. * ipmi-pef/: Change "alert_destinations" and "lan_alert_destination" in appropriate locations to clarification. * ipmi-pef/src/ipmi-pef-wrapper.h, ipmi-pef/src/ipmi-pef-wrapper.c (get_bmc_lan_conf_community_string, set_bmc_lan_conf_community_string, get_bmc_lan_conf_destination_type, set_bmc_lan_conf_destination_type, get_bmc_lan_conf_destination_addresses, set_bmc_lan_conf_destination_addresses, get_bmc_pef_conf_alert_policy_table, set_bmc_pef_conf_alert_policy_table, get_bmc_pef_conf_event_filter_table, set_bmc_pef_conf_event_filter_table): New functions. * libfreeipmi/: Reword "event_specific_alert_string_lookup" to "event_specific_alert_string" based on spec wording. * ipmi-pef/: Continued work to rearchitect into bmc-config like architecture. Add alert policy checkout sections. Add event filter table sections. Reword "event_specific_alert_string_lookup" to "event_specific_alert_string" everywhere. * ipmi-pef/src/ipmi-pef-validate.h, ipmi-pef/src/ipmi-pef-validate.c (number_range_four_bits, number_range_seven_bits, number_range_three_bits, number_range_two_bytes, filter_type_validate, event_severity_validate, policy_type_validate, alert_gateway_validate, alert_destination_type_validate): New functions. * bmc-config/src/bmc-config-validate.h, bmc-config/src/bmc-config-validate.c (number_range_two_bytes): New function. * bmc-config/src/bmc-sol-conf-section.c (port_validate): Use number_range_two_bytes function. * ipmi-pef/src/ipmi-pef-pef-conf-section.h, ipmi-pef/src/ipmi-pef-pef-conf-section.c: Transfer pef conf section from bmc-config. * ipmi-pef/src/ipmi-pef-wrapper.h, ipmi-pef/src/ipmi-pef-wrapper.c: Transfer pef wrapper functions from bmc-config. * bmc-config/src/bmc-config-argp.c (_create_sectionstr): Fix variable name. * tagged pre_ipmi_pef_major_rearch * bmc-config/: Remove pef related sections. * ipmi-pef/: Complete bmc-config style input/output. * tagged post_ipmi_pef_major_rearch 2007-05-17 Albert Chu * ipmi-pef/src/ipmi-pef-validate.h, ipmi-pef/src/ipmi-pef-validate.c: New files. * ipmi-pef/: Add initial community string and alert destination sectional support. * ipmi-pef/, bmc-config/: Various filename and function name changes for code and filename consistency between the two tools. 2007-05-17 Tom Zimmerman * common/src/bit-ops.h: Fix macro bug. * ipmi-pef/src/ipmi-pef-wrapper.c (get_lan_alert_destination): Fix buffer length bug. * libfreeipmi/src/ipmi-lan-cmds.c (fill_cmd_set_lan_configuration_parameters_destination_type, tmpl_cmd_set_lan_configuration_parameters_destination_type_rq, tmpl_cmd_get_lan_configuration_parameters_destination_type_rs): Fix template field ordering bug. 2007-05-17 Albert Chu * ipmi-pef/src/ipmi-pef-map.h, ipmi-pef/src/ipmi-pef-map.c, ipmi-pef/src/ipmi-pef-keys.h, ipmi-pef/src/ipmi-pef-common: New files. * ipmi-pef/: Code and makefiles adjusted for new headers and files. * ipmi-pef/src/ipmi-pef-utils.c: Add forgotten config header and checks. * bmc-config/src/bmc-config.c (_bmc_config_state_data_init): Initialize forgotten field. * bmc-config/src/bmc-config.c (main): Initialize progname field. * ipmi-pef/: Cache lan_channel_number, number_of_lan_destinations, number_of_alert_policy_entries, number_of_event_filters in state_data. Adjust functions appropriately for this. Initialize state_data appropriately. Fix help message descriptions. Begin to re-architect args to more resemble bmc-config's. Add args validation function ipmi_pef_args_validate. Begin to re-architect main code structure to more like bmc-config's. Remove get_pef_info() wrapper function. General code cleanup. * ipmi-pef/src/ipmi-pef-info.h, ipmi-pef/src/ipmi-pef-info.c, ipmi-pef/src/ipmi-pef-commit.h, ipmi-pef/src/ipmi-pef-commit.c, ipmi-pef/src/ipmi-pef-checkout.h, ipmi-pef/src/ipmi-pef-checkout.c: New files. * bmc-config/src/bmc-sections.c (bmc_config_sections_create), bmc-config/src/bmc-user-sections.c (bmc_user_section_get): Alter indexing method. * ipmi-pef/src/ipmi-pef-community-string.c, ipmi-pef/src/ipmi-pef-alert-destination.c, ipmi-pef/src/ipmi-pef-alert-policy-table.c, ipmi-pef/src/ipmi-pef-event-filter-table.c, ipmi-pef/src/ipmi-pef-diff.c, ipmi-pef/src/ipmi-pef-parser.c, ipmi-pef/src/ipmi-pef-sections.c, ipmi-pef/src/ipmi-pef-community-string.h, ipmi-pef/src/ipmi-pef-alert-destination.h, ipmi-pef/src/ipmi-pef-alert-policy-table.h, ipmi-pef/src/ipmi-pef-event-filter-table.h, ipmi-pef/src/ipmi-pef-diff.h, ipmi-pef/src/ipmi-pef-parser.h, ipmi-pef/src/ipmi-pef-sections.h: New files. * ipmi-pef/: Change "lan_destinations" and "lan_alert_destinations" to "alert_destinations" globally for consistency. * bmc-config/src/bmc-sections.h, bmc-config/src/bmc-sections.c (bmc_sections_list): Correct return type. 2007-05-16 Albert Chu * ipmi-pef/: Fix string parsing bugs in alert policy table. Fix event trigger output corner case. Fix build dependency bug. Add -e option. Force user to specify section. Check for out of mem errors. Fix some mapping corner cases. Fix error handling and incorrect logic in mapping to strings functions. General code cleanup. Begin re-architect to bmc-config style design. * ipmimonitoring/src/libipmimonitoring/ipmi_monitoring_sensor_config.c (ipmi_monitoring_sensor_config), ipmimonitoring/src/libipmisdrcache/ipmi_sdr_cache.c (_destroy_ctx): Fix mem-leaks. * doc/freeipmi.texi, doc/gpl.texi, doc/version-doc.texi, doc/authors.texi, doc/fdl.texi, THANKS: Removed. * freeipmi.spec.in, doc/Makefile.am, Makefile.am: Updated appropriately. * various minor doc updates 2007-05-15 Albert Chu * ipmi-pef/: Do initial support of lan channels and community string support. Fix thread safety problems. Add -v and -f option. Re-adjust options to emulate bmc-config options. Fix mem-leaks. Fix and add numerous error messages. Commit community string via file too. Remove ability to set community string on command line. Fix various bugs. Fix output alignment. 2007-05-15 Albert Chu * common/doc/argp-common-privlevel-admin.man, common/doc/argp-common-privlevel-user.man: New files. * common/doc/Makefile.am: Updated appropriately for new files. * common/doc/argp-common-privlevel.man: Removed file. * common/src/arg-common.h: Modify mechanism by which common args are shared so some tools can have a default privilege of admin. * ipmi-sensors/, ipmi-sel/, bmc-info/, bmc-config/, ipmi-raw/, ipmi-pef/: Update to use new common macros and includes. Default privilege of ipmi-pef and ipmi-chassis is now admin. * various minor doc updates. 2007-05-16 A Balamurugan * ipmi-pef/src/ipmi-pef.c (checkout_pef_lad): added comments. 2007-05-15 A Balamurugan * ipmi-pef/src/ipmi-pef-utils.c (destination_type_to_string, string_to_destination_type, alert_acknowledge_to_string, string_to_alert_acknowledge, alert_acknowledge_timeout_to_string, string_to_alert_acknowledge_timeout, alert_retries_to_string, string_to_alert_retries, gateway_selector_to_string, string_to_gateway_selector, alert_ip_address_to_string, string_to_alert_ip_address, alert_mac_address_to_string, string_to_alert_mac_address): new functions. * ipmi-pef/src/ipmi-pef-wrapper.c (_record_string_to_lad, get_number_of_lan_destinations, get_lan_alert_destination, get_lad_list, set_lan_alert_destination): new functions. * ipmi-pef/src/ipmi-pef.c (checkout_pef_lad, commit_pef_lad): new functions. * ipmi-pef/src/ipmi-pef.c (run_cmd_args): added support to lan alert destination checkout/commit. 2007-05-15 Tom Zimmerman * ipmi-pef/src/ipmi-pef-utils.c: Fix #define typo. 2007-05-15 A Balamurugan * ipmi-pef/src/ipmi-pef-utils.h: fixed ENABLE_FILTER_KEY_STRING typo. * ipmi-pef/src/ipmi-pef-wrapper.c (_record_string_to_apt, get_apt_list, set_alert_policy_table): new functions. * ipmi-pef/src/ipmi-pef.c (checkout_pef_apt, commit_pef_apt): new functions. * ipmi-pef/src/ipmi-pef.c (run_cmd_args): modified according to command line argument changes. 2007-05-15 A Balamurugan * libfreeipmi/src/ipmi-pef-and-alerting-cmds.c (fill_cmd_set_pef_configuration_parameters_alert_strings): uses macro IPMI_PEF_ALERT_STRINGS_BLOCK_SIZE_VALID. * libfreeipmi/src/udm/ipmi-pef-and-alerting-cmds-udm.c (ipmi_cmd_set_pef_configuration_parameters_alert_policy_table): fix to check obj_cmd_rs. * libfreeipmi/src/udm/ipmi-pef-and-alerting-cmds-udm.c (ipmi_cmd_set_pef_configuration_parameters_alert_policy_table): fix to check obj_cmd_rs. * libfreeipmi/src/udm/ipmi-pef-and-alerting-cmds-udm.c (ipmi_cmd_set_pef_configuration_parameters_alert_string_keys, ipmi_cmd_set_pef_configuration_parameters_alert_strings): new functions. 2007-05-14 Albert Chu * ipmimonitoring/src/ipmimonitoring.c (main): Fix error message typo. 2007-05-13 Albert Chu * common/src/ipmi-sdr-api.h, common/src/ipmi-sdr-api.c: Renamed to ipmi-sdr-cache.h and ipmi-sdr-cache.c. Rearchitect sdr API to return better error codes, be thread safe, and avoid potential mem-leaks. Fix various minor bugs found along the way. * ipmi-sel/, ipmi-senors/: Update appropriately. 2007-05-13 Albert Chu * libfreeipmi/src/ipmi-sdr-record-types.c: Modify field for tmpl_sdr_fru_device_locator_record to a more appropriate name. * common/src/ipmi-sdr-cache-writes.c (_write_sdr_fru_device_locator_record), common/src/ipmi-sdr-cache-reads.c (_read_sdr_fru_device_locator_record), common/src/ipmi-sdr-api.h: Support logical devices and fru ids in sdr cache. 2007-05-09 Albert Chu * ipmi-sel/ipmi-sel.8.pre.in, ipmi-sensors/ipmi-sensors.8.pre.in: Fix some SDR text. * Various manpage updates. 2007-05-08 Albert Chu * Fix typos in header file comments in libfreeipmi/include/freeipmi/udm/. * ipmi-sel/src/ipmi-sel-argp.c (ipmi_sel_argp_parse): Fix forgotten initialization. 2007-05-07 Albert Chu Fix bugs found by Levi Pearson * ipmipower/src/ipmipower_prompt.c (_cmd_k_g), common/src/ipmi-common.c (format_kg): Fix k_g buf length bugs. 2007-05-07 Raghavendra * ipmiconsole/src/ipmiconsole/Makefile.am: Fix include path compile issue. 2007-05-07 Tom Zimmerman * ipmi-pef/src/ipmi-pef-wrapper.c (get_pef_info): Fix field name typo. 2007-05-05 Albert Chu * doc/freeipmi-coding.txt, doc/freeipmi-hostrange.txt: Update text. * ipmipower/: Support an additional "password verification timeout" error code. * doc/freeipmi-faq.texi: Update text. * /: Various minor doc updates. * ipmimonitoring/src/ipmimonitoring/ipmimonitoring.c (_ipmimonitoring): Tweak output format. * ipmimonitoring/: Minor manpage text fixes. 2007-05-04 Albert Chu * ipmiconsole/src/libipmiconsole/ipmiconsole.h, ipmiconsole/src/libipmiconsole/ipmiconsole.c (ipmiconsole_ctx_create): Change API to support k_g len. * ipmiconsole/src/libipmiconsole/ipmiconsole.c (_check_for_authentication_support): Fix state machine corner case. * ipmiconsole/src/ipmiconsole_config.c (_cmdline_parse): Fix -K corner case. * ipmipower/src/ipmipower_config.c (ipmipower_config_cmdline_parse): Fix -K corner case. * libfreeipmi/src/ipmi-utils.c (ipmi_check_cmd, ipmi_check_completion_code): check obj-cmd w/ fiid_obj_valid(). * doc/freeipmi-coding.txt, doc/freeipmi-hostrange.txt: new docs. * doc/Makefile.am, freeipmi.spec.in: Update for new docs. 2007-05-04 Levi Pearson * ipmiconsole/: Support hex keys in ipmiconsole and libipmiconsole. 2007-05-03 Levi Pearson * bmc-config/src/bmc-serial-conf-section.c (connect_mode_checkout): Fix strdup bug. * bmc-config/src/bmc-lan-conf-security-keys-section.c (k_g_checkout, k_g_commit, k_g_diff, k_g_validate): Support hex code input/output for K-g. * common/src/ipmi-common.c, common/src/ipmi-common.h (parse_kg, format_kg): Add const to appropriate parameters. 2007-05-03 Albert Chu * libfreeipmi/src/ipmi-kcs-api.c, libfreeipmi/src/ipmi-ssif-api.c, libfreeipmi/include/freeipmi/ipmi-kcs-api.h, libfreeipmi/include/freeipmi/ipmi-ssif-api.h: Include/fix error return conditions. Add new error codes. 2007-05-02 Albert Chu * ipmimonitoring/src/ipmimonitoring.c: Change default output. 2007-04-30 Albert Chu * ipmipower/: Don't bother to obscure ipmipower error messages. 2007-04-29 Albert Chu * ipmipower/ipmipower.8.in: Fix text. * ipmiconsole/ipmiconsole.8.in: Fix some text. * ipmimonitoring/src/libipmimonitoring/libipmimonitoring.c (ipmi_monitoring_bitmask_string): Fix corner case. * ipmimonitoring/src/ipmimonitoring/ipmimonitoring.c (_ipmimonitoring): Fix corner case. Output strings for bitmask readings. * ipmimonitoring/src/libipmimonitoring/ipmi_monitoring.h: Fix bitmask values. Don't know what I was doing before. 2007-04-28 Albert Chu * doc/: Remove a whole bunch of unnecessary stuff. * freeipmi.spec.in, configure.ac: Adjust appropriately. * ipmi-raw/: Parse '0x' in hex codes too. Fix seg-fault corner case. (bug #19645) * common/src/pstdout.c (_pstdout_output_buffer_data, _pstdout_output_finish): Alter default output of buffered hostrange output. * bmc-info/, ipmi-raw/, ipmi-sel/, ipmi-sensors/, ipmimonitoring/: Alter default output of buffered hostrange output. * ipmipower/: Remove -o option. Change -C option to -X option. Add -C option for consolidated output like other tools. Add -E option to eliminate undetected nodes. Fix conf file inconsistencies. * ipmimonitoring/src/libipmisdrcache/ipmi_sdr_cache.c (ipmi_sdr_cache_open): Fix errno corner case. * ipmi-sensors/: Add -q option. * docs/: Various minor cleanup and wording fixes. 2007-04-27 Albert Chu * ipmiconsole/src/libipmiconsole/ipmiconsole_defs.h: Fix k_g corner case. * libfreeipmi/src/ipmi-dmidecode-locate.c: Get rid of leftover debugging. * ipmimonitoring/: Support -s and -g in ipmimonitoring. 2007-04-27 Levi Pearson * common/src/ipmi-common.h, common/src/ipmi-common.c (parse_kg, format_kg): New functions. * ipmipower/: Support hex keys for K_g. 2007-04-27 Albert Chu * libfreeipm/, common/src, ipmi-sel/, ipmi-sensors: Rename "logical_fru" to "fru" for consistency with the ipmi spec. * ipmi-sel/src/ipmi-sel-wrappers.c (_get_sel_system_event_record): Output sensor names when they are available. * ipmi-sensors/ipmi-sensors.8.pre.in: Update -s option info. * ipmimonitoring/src/libipmimonitoring/: Bug fixes and code cleanup. * ipmimonitoring/: Support -q option in ipmimonitoring. * common/doc/argp-common-hostranged-text.man, ipmimonitoring/ipmimonitoring.8.in: Add extra hostrange output info. * libfreeipmi/src/udm/ipmi-lan-interface-udm.c (ipmi_lan_cmd): Check checksums before other stuff. 2007-04-26 Albert Chu * ipmimonitoring/ipmimonitoring.8.in, ipmidetect/ipmidetectd.8.in, ipmiconsole/ipmiconsole.8.in: Fix manpage output bug. * ipmimonitoring/ipmimonitoring.8.in: Reword some text. * ipmipower/ipmipower8.in, ipmiconsole/ipmiconsole.8.in, ipmimonitoring/libipmimonitoring.3.in: Update some text. * ac_ipmi_monitoring_sensor_config_file.m4: Fix filename typo. * doc/freeipmi-faq.texi: Fix some wording. * ipmimonitoring/src/ipmimonitoring/ipmimonitoring.c (_cmdline_parse, main): Don't clear all args, just the username and password. * ipmimonitoring/: Add hostrange support to ipmimonitoring. Add -r option. Add -c option and alternate cache dir support. * Fix various warnings. 2007-04-25 Albert Chu * configure.ac: Add pre-req header checks for linux/ipmi.h. * ipmipower/src/ipmipower.h, ipmipower/src/ipmipower_config.c, ipmipower/src/ipmipower.c: Change '_set' parameters to '_set_on_cmdline'. * ipmiconsole/src/ipmiconsole/ipmiconsole_config.h, ipmiconsole/src/ipmiconsole/ipmiconsole_config.c: Change '_set' parameters to '_set_on_cmdline'. 2007-04-24 Albert Chu * common/src/pstdout.c (_pstdout_print, _pstdout_print_wrapper, _pstdout_output_finish): Add race protections w/ no_more_external_output flag. * common/src/pstdout.c (_pstdout_print_wrapper, pstdout_printf, pstdout_fprintf, pstdout_perror, _pstdout_output_finish): Adjust calls appropriately. * common/src/pstdout.c (_pstdout_state_init): Init mutex. * common/src/pstdout.c (_pstdout_sigint_finish_output): Output information on which threads were canceled early. 2007-04-18 Albert Chu * libfreeipmi/include/freeipmi/ipmi-netfn-spec.h: Allow OEM network functions. * ipmipower/src/ipmipower_powercmd.c (_check_activate_session_authentication_type): Workaround permsgauth issue. * ipmipower/ipmipower.8.in: Update workaround issue. * libfreeipmi/src/udm/ipmi-lan-interface-udm.c (_ipmi_lan_cmd_send, ipmi_lan_cmd), libfreeipmi/src/udm/ipmi-messaging-support-cmds-udm.c (ipmi_lan_open_session), libfreeipmi/src/udm/ipmi-udm-device.h, libfreeipmi/src/udm/ipmi-udm.c (ipmi_open_outofband, _ipmi_outofband_close): Support permsgauth in udm. 2007-04-17 Albert Chu * libfreeipmi/: Support lan config get authentication type support. 2007-04-16 Albert Chu * ipmimonitoring/src/libipmimonitoring/ipmi_monitoring.c (ipmi_monitoring_sensor_readings_by_record_id, ipmi_monitoring_sensor_readings_by_sensor_group), ipmimonitoring/src/libipmimonitoring/ipmi_monitoring_sdr_cache.c (ipmi_monitoring_sdr_cache_unload): Fix sdr cache loading/unloading corner case. 2007-04-07 Albert Chu * bmc-config/src/bmc-lan-conf-alert-section.h, bmc-config/src/bmc-lan-conf-alert-section.c: New files. * bmc-config/src/bmc-lan-conf-section.c: Split off alert config into a different section. * bmc-config/src/Makefile.am: Adjust appropriately. * bmc-config/src/bmc-checkout.c (bmc_checkout_file), bmc-config/src/bmc-commit.c (bmc_commit_file): Add verbose progress information. 2007-04-06 Albert Chu * bmc-config/: Add alert config to bmc-config and fix various corner cases. 2007-04-05 Albert Chu * libfreeipmi/include/freeipmi/ipmi-lan-cmds.h, libfreeipmi/src/ipmi-lan-cmds.c, (fill_cmd_set_lan_configuration_parameters_community_string, fill_cmd_set_lan_configuration_parameters_destination_type, fill_cmd_set_lan_configuration_parameters_destination_addresses): New functions. * libfreeipmi/include/freeipmi/ipmi-lan-cmds.h, libfreeipmi/src/ipmi-lan-cmds.c, : Add templates for tmpl_cmd_set_lan_configuration_parameters_community_string_rq, tmpl_cmd_set_lan_configuration_parameters_destination_type_rq, tmpl_cmd_set_lan_configuration_parameters_destination_addresses_rq, tmpl_cmd_get_lan_configuration_parameters_community_string_rs, tmpl_cmd_get_lan_configuration_parameters_number_of_destinations_rs, tmpl_cmd_get_lan_configuration_parameters_destination_type_rs, tmpl_cmd_get_lan_configuration_parameters_destination_addresses_rs. * libfreeipmi/include/freeipmi/udm/ipmi-lan-cmds-udm.h (ipmi_cmd_set_lan_configuration_parameters_community_string, ipmi_cmd_set_lan_configuration_parameters_destination_type, ipmi_cmd_set_lan_configuration_parameters_destination_addresses, ipmi_cmd_get_lan_configuration_parameters_community_string, ipmi_cmd_get_lan_configuration_parameters_number_of_destinations, ipmi_cmd_get_lan_configuration_parameters_destination_type, ipmi_cmd_get_lan_configuration_parameters_destination_addresses): New functions. * libfreeipmi/include/freeipmi/ipmi-lan-cmds.h: Add new defines for new lan cmds support. * libfreeipmi/include/freeipmi/ipmi-lan-param-spec.h: Fix typo. * bmc-config/src/bmc-config-api.h, bmc-config/src/bmc-config-api.c, bmc-config/src/bmc-lan-conf-section.c: Add community string config support. 2007-03-30 Albert Chu * ipmiconsole/: Add --deactivate option and SOL deactivate only support. * NEWS: Update w/ more 0.4.0 stuff. 2007-03-29 Albert Chu * ipmipower/src/ipmipower_workarounds.h, ipmipower/src/ipmipower_workarounds.c: New files. * ipmipower/: Re-architected workaround options. * configure.ac: Increment ipmiconsole revision to sync w/ 0.3.2 release. 2007-03-28 Albert Chu * common/src/argp-common.c (__secure_memset): New function. * common/src/argp-common.c (common_parse_opt): Clear password. * bmc-info/, bmc-config/, ipmi-chassis/, ipmi-pef/, ipmi-raw/, ipmi-sel/, ipmi-sensors/: Don't clear out all argv data. Only password. * ipmipower/, ipmiconsole/: Don't clear out all argv data, only important stuff. 2007-03-25 Albert Chu * doc/freeipmi-faq.texi: Updated. 2007-03-24 Albert Chu * doc/freeipmi.texi, doc/freeipmi-faq.texi: Updated. * ipmiconsole/ipmiconsole.8.in: Fix option name typo. 2007-03-23 Albert Chu * common/doc/argp-common-hostranged-options.man, common/src/pstdout.h: Change default pstdout fanout to 64. 2007-03-21 Albert Chu * ipmiconsole/ipmiconsole.8.in: Fix typo. 2007-03-20 Albert Chu * ipmiconsole/src/libipmiconsole/ipmiconsole_engine.c (_ipmiconsole_cleanup_ctx_session, ipmiconsole_engine_submit_ctx), ipmiconsole/src/libipmiconsole/ipmiconsole.c (ipmiconsole_engine_submit): Fix possible session_submit race. It has never been hit, but is possible. * ipmiconsole/src/libipmiconsole/ipmiconsole.c, ipmiconsole/src/libipmiconsole/ipmiconsole.h, ipmiconsole/src/libipmiconsole/ipmiconsole_processing.c (_sol_bmc_to_remote_console_packet): Add SOL stolen error code. * ipmiconsole/: Support blocking engine submission. Make it the default behavior for the ipmiconsole tool. 2007-03-16 Anand Babu * bmc-config/src/bmc-lan-conf-misc-section.c: Fixed incorrect return status check. * bmc-watchdog/Makefile.am: replaced "$(top_srcdir)/install-sh" with "$(INSTALL)" and "$(DESTDIR)/" with "$(DESTDIR)". * ipmiconsole/src/libipmiconsole/Makefile.am: like wise. * freeipmi/ipmidetect/Makefile.am: like wise. * ipmimonitoring/src/libipmimonitoring/Makefile.am: like wise. * ipmimonitoring/Makefile.am: replaced install-data-local target with automake style macros. * Other changes are just compiler warning fixes like unused variable or referenced without initialization warning. 2007-03-15 Albert Chu * ipmiconsole/src/libipmiconsole/ipmiconsole_processing.c (_process_ctx): Fix output corner case. Fix comment typo. * ipmiconsole/src/ipmiconsole/ipmiconsole.c (_set_mode_raw): Use TCSADRAIN instead of TCSAFLUSH to not automatically flush stdin if data exists on it. * ipmiconsole/src/ipmiconsole/ipmiconsole.c (main): Remove unused code. 2007-03-11 Albert Chu * libfreeipmi/src/ipmi-locate-dmidecode.c: Replace u8, u16, u32, u64 typedefs with others, to protect against the possibility we collide with libc typedefs of the same name. 2007-03-08 Albert Chu * ipmimonitoring/src/ipmi_monitoring.h, ipmimonitoring/src/ipmi_monitoring.c, ipmimonitoring/src/ipmi_monitoring_defs.h: Do not lock memory by default. * ipmiconsole/: Do not lock memory by default. Adjust -L option appropriately. 2007-03-07 Albert Chu * ipmiconsole/src/libipmiconsole/ipmiconsole_engine.c (_ipmiconsole_init_ctx_session): Return out of memory error on cbuf_create error. * ipmipower/ipmipower.8.in, ipmipower/src/ipmipower_config.c (ipmipower_config_cmdline_parse): Change -U option to -Z. * ipmipower/ipmipower.8.in, ipmipower/src/ipmipower_config.c (ipmipower_config_cmdline_parse), ipmiconsole/ipmiconsole.8.in, ipmiconsole/src/ipmiconsole/ipmiconsole_config.c (_cmdline_parse): Add -K option. 2007-03-06 Albert Chu * ipmiconsole/ipmiconsole.8.in, ipmiconsole/ipmiconsole.conf.5.in, ipmiconsole/src/ipmiconsole/ipmiconsole_config.h, ipmiconsole/src/ipmiconsole/ipmiconsole_config.c, ipmiconsole/src/ipmiconsole/ipmiconsole.c: Add -N option support. * ipmiconsole/src/libipmiconsole/ipmiconsole_engine.c (_ipmiconsole_cleanup_ctx_session): Remove unnecessary conditional. * ipmiconsole/src/libipmiconsole/ipmiconsole_engine.c (_ipmiconsole_cleanup_ctx_session, _ipmiconsole_init_ctx_session): Fix mem initialization bug. * ipmiconsole/src/libipmiconsole/cbuf.h, ipmiconsole/src/libipmiconsole/cbuf.c: New files for ipmiconsole secure mallocs. * ipmiconsole/src/libipmiconsole/Makefile.am: Add cbuf.h and cbuf.c for new build. * common/src/cbuf.c: Remove secure malloc code. * common/src/Makefile.am: Split off cbuf into a separate lib. * ipmipower/src/Makefile.am, bmc-info/src/Makefile.am, ipmi-sensor/src/Makefile.am, ipmi-sel/src/Makefile.am, ipmi-raw/src/Makefile.am: Use new cbuf common lib. * ipmiconsole/src/libipmiconsole/: Support optional secure mallocs. * ipmiconsole/ipmiconsole.8.in, ipmiconsole/ipmiconsole.conf.5.in, ipmiconsole/src/ipmiconsole/: Add -L option support. 2007-03-03 Albert Chu * Makefile.am: Add freeipmi.spec to dist. 2007-03-01 Albert Chu * tagged pre_hostrange_support Support hostrange support in FreeIPMI tools * COPYING.pstdout, DISCLAIMER.pstdout, COPYING.ipmidetect, DISCLAIMER.ipmidetect, common/src/pstdout.h, common/src/pstdout.c, common/src/eliminate.h, common/src/eliminate.c, ipmidetect/: New files. * common/src/argp-common.h, common/src/argp-common.c, common/doc/: Add common manpage and command line parsing for hostranges. * bmc-info/, ipmi-sel/, ipmi-sensors/, ipmi-raw/: Rework for hostrange support. * freeipmi.spec.in: Add new ipmidetect subpackage. * common/src/hostlist.h, common/src/hostlist.c: New files for llnlcommon lib moved from ipmipower/src/hostlist.h and ipmipower/src/hostlist.c respectively. * common/src/Makefile.am, ipmipower/src/Makefile.am: Adjust for new hostlist file locations appropriately. * freeipmi.spec.in: Updated for ipmidetect. * Makefile.am: Updated for new files appropriately. * tagged post_hostrange_support 2007-02-27 Albert Chu * ac_ipmipower_config_file.m4: New file. * configure.ac, ipmipower/ipmipower.conf.5.in, ipmipower/src/ipmipower_config.c, ipmipower/src/ipmipower.h: Support autoconfed ipmipower config file path. 2007-02-22 A Balamurugan * ipmi-pef/src/ipmi-pef-utils.c (policy_type_to_string, string_to_policy_type, policy_enabled_to_string, string_to_policy_enabled, policy_number_to_string, string_to_policy_number, destination_selector_to_string, string_to_destination_selector, channel_number_to_string, string_to_channel_number, alert_string_set_selector_to_string, string_to_alert_string_set_selector, event_specific_alert_string_lookup_to_string, string_to_event_specific_alert_string_lookup): new functions. * ipmi-pef/src/ipmi-pef-wrapper.c (get_number_of_alert_policy_entries, get_alert_policy_table): new functions. * ipmi-pef/src/ipmi-pef.c (checkout_alert_policy_table): new functions. * ipmi-pef/src/ipmi-pef.c (checkout_pef_evt): included alert policy table data. * libfreeipmi/src/ipmi-pef-and-alerting-cmds.c, libfreeipmi/src/udm/ipmi-pef-and-alerting-cmds-udm.c: renamed fiid entries "policy_number.policy" to "policy_number.policy_type" and, "alert_string_key.event_specific_alert_string" to "alert_string_key.event_specific_alert_string_lookup". 2007-02-21 A Balamurugan * libfreeipmi/include/freeipmi/ipmi-pef-and-alerting-cmds.h: added table policy table macros. * libfreeipmi/src/ipmi-pef-and-alerting-cmds.c: added fiids tmpl_cmd_set_pef_configuration_parameters_alert_policy_table_rq and tmpl_cmd_get_pef_configuration_parameters_alert_policy_table_rs, and function fill_cmd_set_pef_configuration_parameters_alert_policy_table(). * libfreeipmi/src/udm/ipmi-pef-and-alerting-cmds-udm.c (ipmi_cmd_set_pef_configuration_parameters_alert_policy_table, ipmi_cmd_get_pef_configuration_parameters_alert_policy_table): new functions. 2007-02-18 A Balamurugan * configure.ac: fix of automake init. * common/src/common-utils.c (remove_newline,strsep_noempty): new functions. * ipmi-pef/src/Makefile.am: updated. * ipmi-pef/src/ipmi-pef-utils.[ch]: new files. * ipmi-pef/src/ipmi-pef-wrapper.c, ipmi-pef/src/ipmi-pef.c: changes made for new configuration format. 2007-02-17 Albert Chu * freeipmi.spec.in: Put ipmi_monitoring.h into the ipmimonitoring subpackage. General cleanup. * common/src/argp-common.c (common_parse_opt): Check for NULL on strdup. 2007-02-16 Albert Chu * ipmiconsole/src/ipmiconsole/Makefile.am: Remove unnecessary compile option. * freeipmi.spec.in: Split of ipmimonitoring into a subpackage. Add ipmi-chassis. * configure.ac: Fix make dist issue w/ long filenames. * ipmimonitoring/src/libipmimonitoring/: Fix flag bitmask bugs. Add support for unlocked memory flag. Fix build dependency bug. * ipmimonitoring/src/ipmimonitoring/ipmimonitoring.c: Adjust code appropriately for library changes. 2007-02-15 Albert Chu * DISCLAIMER.ZRESEARCH: Removed. * Makefile.am, freeipmi.spec.in: Removed DISCLAIMER.ZRESEARCH. 2007-02-14 Albert Chu * ipmimonitoring/libipmimonitoring/Makefile.am, ipmimonitoring/libipmisdrcache/Makefile.am, ipmiconsole/libipmiconsole/Makefile.am: Compile with -D_REENTRANT. 2007-02-09 Anand V. Avati * ipmi-chassis/ipmi-chassis.8.pre.in: added missing file * ipmi-chassis/src/*: intermediary commit with bugfixes 2007-02-09 Anand V. Avati ipmi-chassis - intermediate commit with --get-capabilities support * ipmi-chassis/*: command line tool for IPMI chassis functionality * configure.ac: updated * Makefile.am: updated * libfreeipmi/src/ipmi-chassis-cmds.c: * libfreeipmi/src/udm/ipmi-chassis-cmds.c: added missing commands * libfreeipmi/include/freeipmi/ipmi-chassis-cmds.h: * libfreeipmi/include/freeipmi/udm/ipmi-chassis-cmds-udm.h: prototyped missing commands 2007-02-06 Albert Chu * ipmimonitoring/src/libipmisdrcache/Makefile.am: Don't install libipmisdrcache. 2007-02-05 Albert Chu * freeipmi.spec.in: Add ipmimonitoring sdr cache directory. 2007-02-05 A Balamurugan * ipmi-pef/src/ipmi-pef.h: new file. * ipmi-pef/src/Makefile.am: updated. * ipmi-pef/src/ipmi-pef-argp.[ch], ipmi-pef/src/ipmi-pef.c: removed globals. 2007-02-05 Albert Chu * freeipmi.spec.in: Add ipmimonitoring docs. 2007-02-02 Albert Chu * ipmi-sel/ipmi-sel.8.pre.in, ipmi-sensors/ipmi-sensors.8.pre.in: Fix typos. * ipmi-sel/src/ipmi-sel-argp.c, ipmi-sensors/src/ipmi-sensors-argp.c: Fix argp options order. 2007-02-01 Albert Chu * ipmi-raw/src/ipmi-raw.c (string2bytes, ipmi_raw_stream): Pass state_data to string2bytes from ipmi_raw_stream. Fix memory management issue. 2007-01-31 Albert Chu * common/src/ipmi-common.c, common/src/ipmi-common.h (ipmi_disable_coredump): New function. * bmc-config/src/bmc-config.c, bmc-info/src/bmc-info.c, ipmi-pef/src/ipmi-pef.c, ipmi-sel/src/ipmi-sel.c, ipmi-sensors/src/ipmi-sensors.c (_disable_coredump, main): Use new common function. Remove unnecessary includes. * ipmi-locate/src/ipmi-locate.c (main): Cleanup for consistency with other tools. * Makefile.am: Add COPYING.ipmimonitoring and DISCLAIMER.ipmimonitoring to dist. * ipmimonitoring/src/libipmimonitoring/ipmi_monitoring.c (ipmi_monitoring_bitmask_string), ipmimonitoring/src/libipmimonitoring/ipmi_monitoring_sensor_reading.c (_get_digital_sensor_bitmask_type): Fix warnings. * ipmi-sel/src/ipmi-sel-wrapper.h, ipmi-sel/src/ipmi-sel-wrapper.c (get_sel_record): Cleaned up API. * ipmi-sel/src/ipmi-sel-wrapper.h, ipmi-sel/src/ipmi-sel-wrapper.c (destroy_sel_record): New function. * ipmi-sel/src/ipmi-sel.c (display_sel_records): Use adjusted API. * bmc-config/src/: Re-architect to remove globals. 2007-01-30 Albert Chu * bmc-config/: Continue re-architecture w/ state data. 2007-01-29 Albert Chu * COPYING.ipmimonitoring, DISCLAIMER.ipmimonitoring, configure.ac, Makefile.am, freeipmi.spec.in, ipmimonitoring/: Add ipmimonitoring code. * ipmiconsole/src/libipmiconsole/Makefile.am: Remove unneeded compile options. 2007-01-26 Albert Chu * bmc-config/: Re-architect for most of bmc-config to support fatal and non-fatal errors, necessary for later hostrange support. Fixed various bugs along the way. * bmc-config/src/bmc-validate.h, bmc-config/src/bmc-validate.c: New files. * bmc-config/src/: Use new common validate functions throughout code. Various continued code cleanup. 2007-01-24 Albert Chu * bmc-config/: Continue cleanup and re-architecture. * bmc-config/src/bmc-argp.h: Renamed to bmc-config-argp.h for consistency. * bmc-config/src/bmc-argp.c: Renamed to bmc-config-argp.c for consistency. 2007-01-23 Albert Chu * bmc-config/src/bmc-types.h: Move to bmc-config.h. File is now removed. * bmc-config/src/bmc-lan-channel-section.h, bmc-config/src/bmc-lan-conf-auth-section.h, bmc-config/src/bmc-lan-conf-misc-section.h, bmc-config/src/bmc-lan-conf-section.h, bmc-config/src/bmc-lan-conf-security-keys-section.h, bmc-config/src/bmc-user-sections.h, bmc-config/src/bmc-rmcpplus-conf-privilege-section.h, bmc-config/src/bmc-serial-channel-section.h, bmc-config/src/bmc-serial-conf-section.h, bmc-config/src/bmc-pef-conf-section.h, bmc-config/src/bmc-sol-conf-section.h, bmc-config/src/bmc-misc-section.h: New files. * bmc-config/src/bmc-argp.h: Renamed to bmc-config-argp.h for consistency. * bmc-config/src/bmc-argpc.: Renamed to bmc-config-argp.c for consistency. * libfreeipmi/include/freeipmi/ipmi-error.h: Add forgotten include. * bmc-config/: Continue cleanup and re-architecture. 2007-01-22 Albert Chu * ipmi-raw/: Cleanup/re-architect for later hostrange support. * bmc-info/src/bmc-info.h, ipmi-sensors/src/ipmi-sensors.h, ipmi-sel/src/ipmi-sel.h: New files. * bmc-info/src/Makefile.am, ipmi-sensors/src/Makefile.am, ipmi-sel/src/Makefile.am: Update for new files respectively. * bmc-info/, ipmi-sensors/, ipmi-raw/ ipmi-sel/: Continue cleanup/re-architecture. * common/src/argp-common.h: Add missing header file. * bmc-config/src/bmc-argp.h, bmc-config/src/bmc-checkout.h, bmc-config/src/bmc-commit.h, bmc-config/src/bmc-parser.h: New files. * bmc-config/: Cleanup for consistency w/ other tools. 2007-01-21 Albert Chu * bmc-info/src/bmc-info.c: Rename 'flags' to 'debug_flags'. * ipmi-sel/, ipmi-sensors/: Cleanup/re-architect for later hostrange support. 2007-01-20 Albert Chu * libfreeipmi/src/udm/ipmi-udm.c, libfreeipmi/include/freeipmi/udm/ipmi-udm.h (ipmi_open_outofband): Make char parameters const. * bmc-info/src/bmc-info.c (main): Fix corner case. 2007-01-20 Dmitry Frolov * libfreeipmi/src/ipmi-openipmi-api.c: Fix typo. 2007-01-12 Albert Chu * bmc-info/src/bmc-info.c: Cleanup/re-architect for later hostrange support. * bmc-config/src/bmc-config.c, bmc-info/src/bmc-info.c, ipmi-pef/src/ipmi-pef.c, ipmi-raw/src/ipmi-raw.c, ipmi-sel/src/ipmi-sel.c, ipmi-sensors/src/ipmi-sensors.c (_disable_coredump): Make function static. 2007-01-09 Albert Chu * bmc-info/src/bmc-info.c (display_channel_info): Fix protocol type output bug. 2007-01-08 Albert Chu * libfreeipmi/src/udm/ipmi-udm.c (IPMI_SESSION_TIMEOUT): Change default to 20 seconds. 2006-12-29 Albert Chu * ipmi-pef/src/ipmi-pef.c, ipmi-sel/src/ipmi-sel.c, ipmi-sensors/src/ipmi-sensors.c: Remove unused exit_status global. 2006-12-28 Albert Chu * ipmipower/ipmipower.8.in: Add some extra powerman info. 2006-12-15 Albert Chu * libfreeipmi/include/freeipmi/ipmi-cipher-suite-spec.h, libfreeipmi/include/freeipmi/ipmi-device-global-cmds.h, libfreeipmi/include/freeipmi/udm/ipmi-udm.h: Include stdint.h. * ipmiconsole/src/libipmiconsole/ipmiconsole.h: Add g++ compatibility definitions. * Globally remove HAVE_STDINT_H. * libfreeipmi/include/: Various header file cleanup. * Applied FreeBSD OpenIPMI support patch from Dmitry Frolov . * configure.ac: Search for linux/ipmi.h and sys/ipmi.h. * libfreeipmi/src/ipmi-openipmi-api.c: Load and use appropriate headers when available. * ipmi-sensors/src/ipmi-sensors.c (init_sdr_cache, run_cmd_args), ipmi-sensors/src/ipmi-sensors-argp.h, ipmi-sensors/src/ipmi-sensors-argp.c (parse_opt, ipmi_sensors_argp_parse): Support -Q option. * ipmi-sel/src/ipmi-sel.c (init_sdr_cache, run_cmd_args), ipmi-sel/src/ipmi-sel-argp.h, ipmi-sel/src/ipmi-sel-argp.c (parse_opt, ipmi_sel_argp_parse): Support -Q option. * ipmi-sensors/ipmi-sensors.8.pre.in, ipmi-sel/ipmi-sel.8.pre.in: Updated with -Q option. 2006-12-15 Anand Babu * libfreeipmi/include/: g++ compatibility definitions. 2006-12-12 Albert Chu * Applied FreeBSD support patch from Dmitry Frolov . * freeipmi.spec.in: Added zresearch copying and disclaimer files. 2006-12-08 Anand Babu * common/src/ipmi-sdr-api.c: fixes the "SDR cache creation under /tmp" bug reported by Tejram Meena . * ipmi-sensors/src/ipmi-sensors.c: give proper error message when cache creation fails. * DISCLAIMER.ZRESEARCH and COPYING.ZRESEARCH: newly added. * libfreeipmi/src/ipmi-rmcpplus-debug.c (ipmi_dump_rmcpplus_packet): initialized certain variables to zero to avoid GCC warning. 2006-12-07 Albert Chu * common/src/argp-common.h, common/src/argp-common.c, common/doc/argp-common-outofband.man: Support -P option. Remove optional argument of -p due to parsing issues. * ipmipower/ipmipower.8.in, ipmipower/src/ipmipower_config.c (ipmipower_config_cmdline_parse, _usage): Replace -P option with -W option. Support new -P password prompt option. * ipmiconsole/ipmiconsole.8.in, ipmiconsole/src/ipmiconsole_config.c (_cmdline_parse, _usage): Support -P option. * ipmiconsole/libipmiconsole.3.in: New file. * configure.ac, ipmiconsole/Makefile.am, freeipmi.spec.in: Support new manpage. 2006-12-06 Albert Chu * ipmipower/src/error.c (dbg): Do not compile if debugging is not compiled in. * ipmipower/src/ipmipower_powercmd.c (ipmipower_powercmd_queue), ipmipower/src/ipmipower_util.c (get_rand): Errors from ipmi_get_random should be error outputs, not debug outputs. * ipmiconsole/ipmiconsole.8.in: Fix typo in bmc-config manpage section. 2006-11-16 Albert Chu * common/src/list.c (list_alloc_aux, list_free_aux): Fix potential mem-leak issue. 2006-11-14 Albert Chu * common/src/ipmi-sensor-api.c (get_sensor_reading): Narrow corner case fixes from 2006-11-13. 2006-11-13 Albert Chu * common/src/ipmi-sdr-api.h, common/src/ipmi-sdr-api.c, ipmi-sel/src/ipmi-sel.c, ipmi-sensors/src/ipmi-sensors.c: Add SDR debugging. 2006-11-13 Albert Chu * configure.ac: We are now at 0.4.beta0. * ipmi-sensors/src/Makefile.am: Add libsdr and libsensor dependency check. * common/src/ipmi-sdr-api.c (_get_sdr_full_record): Fix corner case. * common/src/ipmi-sensor-api.c (get_sensor_reading): Fix corner cases. * include/freeipmi/ipmi-sdr-record-types.h: Add additional analog format define. 2006-11-09 Anand Babu * doc/freeipmi.texi, doc/freeipmi-faq.texi: updated copying section as per latest GNU Evaluation Team's recommendation. * doc/permissions.texi: removed. 2006-11-06 Albert Chu * doc/freeipmi.texi, doc/freeipmi-faq.texi: Various updates. 2006-11-06 Albert Chu * NEWS: Split news for users and developers. * commons/rc/Makefile.am: Dist missing .h files. 2006-11-06 Anand V. Avati * bmc-config/src/bmc-config-api.c: free fiid_obj after using to get max_channel_users_id * bmc-config/src/bmc-config.c: free argugments.filename if exists after using it * common/src/ipmi-sdr-api.c: use getpwuid_r in _get_home_directory() instead of getpwuid to avoid mem leak * ipmi-sel/src/ipmi-sel.c: free sdr_record_list in run_cmd_args after its use 2006-11-06 Albert Chu * Tagged Release-0_3_0_base. * Branched Release-0_3_0_branch. 2006-11-05 Albert Chu * ipmipower/src: Move common files to common/src. * common/src/Makefile.am, ipmipower/src/Makefile.am: Update for new common files library. * ipmiconsole/: New library and code. * doc/freeipmi.texi, Makefile.am, configure.ac, freeipmi.spec.in: Updated appropriately for new ipmiconsole code. 2006-11-03 Albert Chu * ipmipower/src/Makefile.am, ipmiping/src/Makefile.am, rmcpping/src/Makefile.am, bmc-watchdog/src/Makefile.am, bmc-info/src/Makefile.am, doc/examples/Makefile.am, ipmi-locate/src/Makefile.am, ipmi-pef/src/Makefile.am, ipmi-raw/src/Makefile.am, ipmi-sel/src/Makefile.am, ipmi-sensors/src/Makefile.am: Cleanup. 2006-11-02 Albert Chu * ipmipower/ipmipower.8.in, ipmipower/ipmipower.conf.5.in: Fix manpage typos. * doc/freeipmi.texi: Update with new ipmipower options. * NEWS: Updated with 0.3.0 additions. * AUTHORS: Added Anand Avati. * doc/freeipmi-faq.texi: Added LLNL as co-maintainer. 2006-11-02 A Balamurugan * doc/freeipmi.texi, ipmi-sel/ipmi-sel.8.pre.in, ipmi-sensors/ipmi-sensors.8.pre.in: updated for --sdr-cache-directory argument addition. 2006-11-02 A Balamurugan * common/src/ipmi-sdr-api.c (get_sdr_cache_filename, flush_sdr_cache_file): added user defined sdr cache directory. * ipmi-sel/src/ipmi-sel.c (init_sdr_cache, run_cmd_args): updated according to above function call changes. * ipmi-sel/src/ipmi-sensors.c (init_sdr_cache, run_cmd_args): like wise. * ipmi-sel/src/ipmi-sel-argp.c, ipmi-sensors/src/ipmi-sensors-argp.c: added --sdr-cache-directory argument. Fixed bug #18034. 2006-11-02 Anand Babu * doc/freeipmi.texi: added cross reference for bmc-config command line options under bmc-autoconfig section. 2006-11-01 A Balamurugan * ipmi-pef/src/Makefile.am: updated. * ipmi-pef/src/ipmi-pef-argp.[ch]: added --checkout and --commit options. * ipmi-pef/src/ipmi-pef-wrapper.[ch] (get_event_filter_table, set_event_filter_table, get_number_of_event_filters, get_evt_list): new functions. * ipmi-pef/src/ipmi-pef.c (checkout_pef_evt, commit_pef_evt): new functions. * ipmi-pef/src/ipmi-pef.c (run_cmd_args): updated. * libfreeipmi/src/udm/ipmi-pef-and-alerting-cmds-udm.c (ipmi_cmd_set_pef_configuration_parameters_event_filter_table): ipmi_cmd_set_event_filter_table() renamed. * libfreeipmi/src/udm/ipmi-pef-and-alerting-cmds-udm.c (ipmi_cmd_set_pef_configuration_parameters_event_filter_table_data1_): ipmi_cmd_set_filter_table_data1_() renamed. 2006-10-22 Anand V. Avati * common/src/argp-common.c: -p takes optional password argument. If not given, does getpass() 2006-10-20 Albert Chu * ipmipower/: Added support for --wait-until-on option. * ipmipower/src/ipmipower_prompt.c (_cmd_power): Support range of hosts that can be passed to power operations. 2006-10-16 Albert Chu * libfreeipmi/src/udm/ipmi-udm.c (ipmi_open_outofband): Fix segfault corner case. 2006-10-14 Albert Chu * freeipmi.spec.in: Add ipmi-pef. 2006-10-06 A Balamurugan * ipmi-pef/Makefile.am, ipmi-pef/ipmi-pef.8.pre.in, ipmi-pef/src/Makefile.am, ipmi-pef/src/ipmi-pef-argp.[ch], ipmi-pef/src/ipmi-pef-wrapper.[ch], ipmi-pef/src/ipmi-pef.c: new files. * Makefile.am, configure.ac: updated. 2006-10-02 Albert Chu * bmc-config/src/: Fix non-return value calls to strdup. 2006-09-26 Anand V. Avati * bmc-config/bmc-autoconfig: command line arguments are now handled (passwd on to bmc-config) 2006-09-19 Albert Chu * ipmi-sel/: Fix trigger reading output. Add SDR flush cache option. * ipmi-sel/ipmi-sel.8.pre.in, doc/freeipmi.texi: Update with new option appropriately. 2006-09-14 Albert Chu * ipmipower/src/ipmipower_config.c (ipmipower_config_cmdline_parse): Add missing -q parse option. * configure.ac: Define HAVE_GETOPT_LONG if found. * libfreeipmi/src/ipmi-sensor-types-spec.c: Rename "Board" to "Module/Board" to match spec. 2006-09-10 Dmitry Frolov * FreeIPMI 0.3.X FreeBSD support added. 2006-09-13 Albert Chu * bmc-config/src: Remove "No_Access" support for lan channel and serial channel configuration. It is not a valid privilege for setting/getting. 2006-09-09 Albert Chu * ipmipower/: Added support for --retry-wait-timeout option. 2006-09-08 Albert Chu * bmc-config/src/bmc-config-api.c: Fix rmcpplus cipher suite privilege interpretation issue. * bmc-config/src/bmc-user-sections.c (get_user_section): Remove checkout of "Lan_Session_Limit" and "Serial_Session_Limit" keys until a solution can be determined for how to retrieve the current session limit. * doc/freeipmi.texi: Adjust bmc config output appropriately. * ipmipower/: Add support for --wait-until-off option. 2006-09-06 Albert Chu * bmc-config/src/bmc-user-sections (enable_user_diff): Implement appropriately for errata 3 changes. * bmc-config/src/bmc-pef-conf-section.c (pef_control_commit): Fix bug. 2006-09-05 Albert Chu * bmc-config/src/bmc-user-sections.c (enable_user_checkout): Slightly alter logic. 2006-09-05 Ingo van Lil (inguin@gmx.de) * bmc-config/src/bmc-misc-section.c (bmc_misc_section_get): Set flag to BMC_CHECKOUT_KEY_COMMENTED_OUT_IF_VALUE_EMPTY. * bmc-config/src/bmc-sol-conf-section.c (character_accumulate_interval_commit, character_send_threshold_commit, sol_retry_count_commit, sol_retry_interval_commit): Fix commit bug. * libfreeipmi/src/ipmi-pef-and-alerting-cmds.c: Fix misnamed fields in tmpl_cmd_set_pef_configuration_parameters_pef_startup_delay_rq. 2006-09-04 Albert Chu Various compile warning fixes. 2006-09-04 Ingo van Lil (inguin@gmx.de) * libfreeipmi/src/udm/ipmi-pef-and-alerting-cmds-udm.c: Fix incorrect NetFNs. * libfreeipmi/src/ipmi-pef-and-alerting-cmds.c: Fix parameter revision inconsistency with other templates. 2006-08-31 Albert Chu * ipmipower/src/ipmipower_powercmd.c (_check_open_session_error): Fix corner cases. * libfreeipmi/include/freeipmi/ipmi-comp-code-spec.h, libfreeipmi/src/ipmi-error.c (ipmi_strerror_r): Update w/ new completion codes based on IPMI 2.0 Errata 3. * libfreeipmi/src/ipmi-sensor-and-event-code-tables.c (ipmi_sensor_type_code_13_desc): Updated with new strings. * libfreeipmi/include/ipmi-messaging-support-cmds.h, libfreeipmi/src/ipmi-messaging-support-cmds.c: Support user id enabled/disabled detection in get user access command. * bmc-config/src/: Support enable user id checkout due to errata change to get user access command. 2006-08-30 Albert Chu * ipmipower/src/ipmipower_check.c (ipmipower_check_open_session_response_privilege): Fix privilege check corner case. 2006-08-27 A Balamurugan * common/src/common-utils.[ch], common/src/ipmi-sdr-cache-reads.[ch], common/src/ipmi-sdr-cache-writes.[ch]: new files. * common/src/ipmi-sdr-api.c: reworked according to new sdr cache format. * common/src/Makefile.am: updated. * libfreeipmi/src/ipmi-ssif-api.c: fixed IPMI_SSIF_MULTI_PART_WRITE_END_SMBUS_CMD value to 0x08. * ipmi-sensors/src/sensors-very-verbose-display.c (sensors_display_very_verbose_oem_record): displays oem_data of oem_data_length. * ipmi-sensors/src/ipmi-sensors-utils.c (str2long, str2ulong, str2int, str2uint): moved to common/src/common-utils.[ch] 2006-08-13 Albert Chu * ipmipower/src/ipmipower_powercmd.c (ipmipower_powercmd_process_pending): Fix corner case. Do not modify timeout if no pending commands exist. * ipmipower/src/ipmipower_prompt.c (ipmipower_prompt_process_cmdline): Fix tabbing. * doc/freeipmi.texi: Update with new bmc-config options and ipmi-sensors info. 2006-08-12 Albert Chu * bmc-config/: Support multiple invocations for --section option. * bmc-config/: Support --listsections option. 2006-08-11 Albert Chu * ipmipower/src/ipmipower_config.c (ipmipower_config_setup): Call secure_malloc only if in non-debug mode. * bmc-config/: Support --section option. 2006-08-10 Albert Chu * ipmipower/src/ipmi-wrappers.h, ipmipower/src/ipmi-wrappers.c (Fiid_obj_clear): Return void instead of int8_t. * ipmipower/src/ipmi-wrappers.h, ipmipower/src/ipmi-wrappers.c (Fiid_obj_set_data): New function. * ipmipower/src/ipmi-wrappers.h, ipmipower/src/ipmi-wrappers.c (Fiid_obj_clear_field): Return void instead of int8_t. * ipmipower/src/ipmipower_check.c (ipmipower_check_rakp_2_key_exchange_authentication_code): Add supermicro IPMI 2.0 workarounds. 2006-08-09 Albert Chu * bmc-config/src/: Change section names with "LAN" to "Lan" for backwards consistency. * bmc-config/src/bmc-commit.c (bmc_commit_file): Add section to error output. * libfreeipmi/src/ipmi-messaging-support-cmds.c (fill_cmd_set_channel_access), libfreeipmi/src/udm/ipmi-messaging-support-cmds-udm.c (ipmi_cmd_set_channel_access): Fix parameter check bug. * Makefile.am: Fix distcheck. * ipmi-sensors/src/Makefile.am: Fix install bug. * freeipmi.spec.in: Fix packaging bug. bmc-config various fixes * bmc-config/src/: Support multiple -k values on the command line; * bmc-config/src/: Globally check value of malloc, calloc, and strdup. Re-support -k and -f options on the command line at the same time. * bmc-config/src/bmc-commit.c (bmc_keypair_feed): New function. * bmc-config/src/bmc-commit.c (bmc_commit_file): Support keypairs and filenames both on the commandline. * bmc-config/src/bmc-argp.c (args_validate): Fix check of only one of -k and -f for when you --commit. 2006-08-08 Albert Chu ipmi-sensors and ipmi-sel convenience code cleanup and re-org in preparation for code fixes in ipmi-sel. * ipmi-sensors/src/ipmi-sdr-api.h, ipmi-sensors/src/ipmi-sdr-api.c: Move to common/src/ as common lib: * ipmi-sensors/src/Makefile.am, common/src/Makefile.am: Adjust appropriately for use. * common/src/ipmi-sensor-api.c, common/src/ipmi-sensor-api.h, common/src/ipmi-sdr-api.h, common/src/ipmi-sdr-api.c: Move SDR related defines and functions from ipmi-sensor-api.[ch] to ipmi-sdr-api.[ch]. General code cleanup throughout. * common/src/ipmi-sdr-api.c: Globally add more debugging info. * common/src/ipmi-sdr-api.c (get_sdr_cache_filename): Fix sdr cache filename corner case which can exist in environments with NFS mounted home directories. * libfreeipmi/src/ipmi-locate-acpi-spmi.c (ipmi_physical_address_valid): New function. * libfreeipmi/src/ipmi-locate-acpi-spmi.c (ipmi_ioremap): Use ipmi_physical_address_valid appropriately. * ipmipower/: Begin support of --supermicro-2-0-session option. 2006-08-07 Albert Chu * ipmi-sensors/ipmi-sensors.8.pre.in: Add debug flag option. * ipmi-sensors/src/ipmi-sensors.c (main): Add OPENIPMI driver support. * ipmi-sensors/src/sensors-simple-display.c (sensors_display_simple_event_only_record): Removed unused function. * ipmi-sensors/src/ipmi-sensors-argp.c, ipmi-sensors/src/ipmi-sensors-argp.h, ipmi-sensors/src/ipmi-sensors-utils.c, ipmi-sensors/src/ipmi-sensors-utils.h, ipmi-sensors/src/ipmi-sensors.c: Fix unsigned int use bug that broke --sensors option. Use unsigned ints for sensors list and sensors list length. * ipmi-sensors/src/ipmi-sensors.c (display_sensor_list, display_group_sensors): Don't get sensor reading unless it's required by output choice. * configure.ac, Makefile.am, freeipmi.spec.in, fish/: Remove fish and all fish related code. * bmc-config/src/bmc-user-sections.c: Replace "LAN" with "Lan" for consistency and backwards compatability. 2006-08-08 A Balamurugan * ipmi-sensors/src/sensors-simple-display.c (sensors_display_simple_full_record): displays 2 decimals for double values. * ipmi-sensors/src/sensors-verbose-display.c (sensors_display_verbose_compact_record): fixed invalid value display bug. * ipmi-sensors/src/sensors-very-verbose-display.c (sensors_display_very_verbose_compact_record): like wise. 2006-08-08 A Balamurugan * ipmi-sensors/src/ipmi-sensors-utils.c (round_double2): fixed a bug. * ipmi-sensors/src/sensors-simple-display.c: included ipmi-sensors-utils.h. 2006-08-08 A Balamurugan * ipmi-sensors/src/ipmi-sdr-api.c (load_sdr_cache): fixed improper count calculation. * ipmi-sensors/src/ipmi-sensors-utils.[ch] (round_double2): new function. * ipmi-sensors/src/sensors-simple-display.c (sensors_display_simple_full_record, sensors_display_simple_compact_record): numbers are rounded to 2 decimal places. 2006-08-07 A Balamurugan * ipmi-sensors/Makefile.am, ipmi-sensors/ipmi-sensors.8.pre.in, ipmi-sensors/src/Makefile.am, ipmi-sensors/src/ipmi-sdr-api.[ch], ipmi-sensors/src/ipmi-sensors-argp.[ch], ipmi-sensors/src/ipmi-sensors-utils.[ch], ipmi-sensors/src/ipmi-sensors.c, ipmi-sensors/src/sensors-simple-display.[ch], ipmi-sensors/src/sensors-verbose-display.[ch], ipmi-sensors/src/sensors-very-verbose-display.[ch]: new files. * Makefile.am, configure.ac: updated for initial C version of ipmi-sensors. 2006-08-04 Albert Chu * common/src/ipmi-sensor-api.c (ipmi_get_threshold_message_list): Redo due to interpretation of get sensor reading command. * bmc-config/src/bmc-commit.c (bmc_commit_file): Continue committing fields in the same section even if a previous one fails. 2006-08-03 Albert Chu Revert section failure flag implementation from 2006-08-02 in favor of a different solution. * bmc-config/src/bmc-sections.h: Remove flags BMC_SECTION_FAILURE_FLAG and BMC_NO_CHECKOUT_ON_EARLIER_SECTION_FAILURE. * bmc-config/src/bmc-user-sections.c (username_checkout): Remove userpassword test for section checkoutability. * bmc-config/src/bmc-user-sections.c (get_user_section): Remove BMC_SECTION_FAILURE_FLAG and BMC_NO_CHECKOUT_ON_EARLIER_SECTION_FAILURE support. * bmc-config/src/bmc-checkout.c (bmc_checkout_file): Remove BMC_SECTION_FAILURE_FLAG and BMC_NO_CHECKOUT_ON_EARLIER_SECTION_FAILURE flag support. Alter bmc-config commit behavior * bmc-config/src/bmc-commit.c (bmc_commit_file): Continue committing fields even if a previous one fails. Misc * freeipmi.spec.in: Update for librrary version and autoconfig. * bmc-config/src/bmc-sections.h: Clean up junk. 2006-08-02 Albert Chu Don't checkout user id sections if a particular user id isn't supported. * bmc-config/src/bmc-config-api.c (get_bmc_username): Copy "NULL" after the IPMI call to ensure the username is readable. * bmc-config/src/bmc-sections.h: New flags BMC_SECTION_FAILURE_FLAG and BMC_NO_CHECKOUT_ON_EARLIER_SECTION_FAILURE. * bmc-config/src/bmc-user-sections.c (username_checkout): Add userpassword test for section checkoutability. * bmc-config/src/bmc-user-sections.c (password20_checkout): Use userid in check password call. * bmc-config/src/bmc-user-sections.c (get_user_section): Support BMC_SECTION_FAILURE_FLAG and BMC_NO_CHECKOUT_ON_EARLIER_SECTION_FAILURE. * bmc-config/src/bmc-checkout.c (bmc_checkout_file): Support BMC_SECTION_FAILURE_FLAG and BMC_NO_CHECKOUT_ON_EARLIER_SECTION_FAILURE flag. Misc * freeipmi.spec.in: Fix for new library version and bmc-autoconfig. * bmc-config/src/bmc-sections.h: Remove junk code. 2006-08-02 Albert Chu * bmc-config/src/bmc-commit.c (bmc_commit_file): Output message on error. * bmc-config/src/bmc-lan-conf-section.c (bmc_lan_conf_section_get): Fix Vlan ID string. * libfreeipmi/src/ipmi-openipmi-api.c: Minor code cleanup. 2006-08-01 Albert Chu * fish/src/fish-argp.c (fi_argp_parse), fish/src/ipmi-wrapper.c (fi_ipmi_close, fi_ipmi_close, fi_get_ipmi_device), fish/src/scm-procedures.c (ex_ipmi_open): Minor temporary fixes to make ipmi-sensors work again. 2006-07-30 Albert Chu * freeipmi.spec.in: Re-architect packages. 2006-07-29 Albert Chu * libfreeipmi/src/ipmi-ssif-api.c (_ipmi_ssif_cmd_write, _ipmi_ssif_cmd_read, ipmi_ssif_cmd): New functions. * bmc-watchdog/src/: Support ssif driver, --driver-type option, --driver-address option, and --driver-device option. * bmc-watchdog/bmc-watchdog.8.in, doc/freeipmi.texi: Updated with new options. * libfreeipmi/, bmc-watchdog/: Change locate structure bmc_i2c_dev_name to driver_device and base_address to driver_address globally for consistency. Adjust kcs, ssif, openipmi apis for consistency. 2006-07-28 Albert Chu Various cleanup * libfreeipmi/src/udm/ipmi-lan-interface-udm.c (_ipmi_lan_dump, _ipmi_lan_dump_rq): Rework request dump output, since calculations won't have a trailer. * libfreeipmi/src/ipmi-kcs-api.c: Add forgotten headers. * libfreeipmi/src/udm/ipmi-udm.c (ipmi_open_inband): Fix ssif memcopying bug. * libfreeipmi/srd/udm/ipmi-udm-device.h: Remove locate_info. Not necessary to store in device. * libfreeipmi/src/udm/ipmi-udm.c (ipmi_open_inband): Adjust for device structure change. Add OpenIPMI as a possibly driver to use with FreeIPMI * libfreeipmi/src/ipmi-openipmi-api.c, libfreeipmi/include/freeipmi/ipmi-openipmi-api.h, libfreeipmi/srd/udm/ipmi-openipmi-api-udm.c, libfreeipmi/include/freeipmi/udm/ipmi-openipmi-api-udm.h: New files. * libfreeipmi/src/Makefile.am, libfreeipmi/src/udm/Makefile.am, libfreeipmi/include/Makefile.am: Adjust for new files appropriately. * libfreeipmi/src/udm/ipmi-udm-device.h, libfreeipmi/src/udm/ipmi-udm.c (ipmi_open_inband, ipmi_close_device, _ipmi_inband_close, _ipmi_inband_free, ipmi_cmd_raw, ipmi_cmd): Add openipmi driver support. * libfreeipmi/src/ipmi-locate-acpi-spmi.c: Up interface count. * common/doc/argp-common-inband.man, common/src/argp-common.h, common/src/argp-common.c: Support openipmi driver type. * bmc-config/, bmc-info/, fish/, ipmi-raw/, ipmi-sel/: Support openipmi driver. Add more debugging * common/src/err-wrappers.h (ERR_LOG): New debugging macro. * libfreeipmi/src/ipmi-kcs-api.c, libfreeipmi/src/ipmi-ssif-api.c, libfreeipmi/src/ipmi-openipmi-api.c: Employ new debugging macro. 2006-07-27 Albert Chu Convert mode parameters to flag parameters * libfreeipmi/src/udm/ipmi-udm-device.h, libfreeipmi/include/freeipmi/udm/ipmi-udm.h: Convert parameter mode into flags parameter. Adjust definitions appropriately. * libfreeipmi/src/udm/ipmi-udm.c (ipmi_open_outofband, ipmi_open_inband): Adjust for use of flags parameter. * bmc-config/, bmc-info/, doc/udm-test/, fish/src/, ipmi-raw/, ipmi-sel/: Adjust for new flag use appropriately. * libfreeipmi/include/freeipmi/ipmi-kcs-api.h, libfreeipmi/include/freeipmi/ipmi-ssif-api.h: Convert parameter mode into flags parameter. Adjust definitions appropriately. * libfreeipmi/src/ipmi-kcs-api.c, libfreeipmi/src/ipmi-ssif-api.c: Adjust for flags changes appropriately. * bmc-watchdog/: Adjust for flags changes appropriately. * libfreeipmi/src/udm/ipmi-udm.c (ipmi_open_inband): Adjust for use of kcs and ssif flags. Add support for debug dump. * libfreeipmi/include/freeipmi/udm/ipmi-udm.h (IPMI_FLAGS_DEBUG_DUMP): New define. * libfreeipmi/src/ipmi-lan-interface-udm.c (_ipmi_lan_dump, _ipmi_lan_dump_rq, _ipmi_lan_dump_rs): New functions. * libfreeipmi/src/ipmi-udm.c (ipmi_cmd), libfreeipmi/src/ipmi-lan-interface-udm.c (_ipmi_lan_cmd_send, _ipmi_lan_cmd_recv): Add debug dump support. * common/src/argp-common.h, common/src/argp-common.c: Support debug option. * bmc-config/: Remove internal debug flag option. Convert to use argp-common debug option. * bmc-config/, bmc-info/, fish/, ipmi-raw/, ipmi-sel/: When debugging is turned on, turn on dump output. * common/doc/argp-common-debug.man: New file. * common/doc/Makefile.am: Update for new file. * bmc-config/, bmc-info/, ipmi-sel/, ipmi-raw/, fish/: Update manpages with debug option. 2006-07-27 A Balamurugan * fish/src/ipmi-wrapper.c (fi_ipmi_open): fixed improper argument passing to ipmi_open_inband(). 2006-07-27 A Balamurugan * libfreeipmi/include/freeipmi/ipmi-locate.h: removed locate_driver in struct ipmi_locate_info. * ipmi-locate/src/ipmi-locate.c (display_ipmi_locate_info), libfreeipmi/src/ipmi-locate-dmidecode.c (dmi_table), libfreeipmi/src/udm/ipmi-udm.c (ipmi_open_inband): Adjusted struct ipmi_locate_info change accordingly. 2006-07-27 A Balamurugan * ipmi-locate/src/ipmi-locate.c (display_ipmi_locate_info): displays 'DMIDECODE' locate_driver_type. 2006-07-27 A Balamurugan * bmc-config/bmc-config.8.pre.in: removed unclosed double quote. * ipmi-locate/src/ipmi-locate.c: Fixed bug in return value check of ipmi_locate_*_get_dev_info calls. * libfreeipmi/src/ipmi-locate.c (ipmi_locate): clears linfo before calling probing functions. 2006-07-27 Albert Chu * fish/scripts/bmc-autoconfig/: Removed all files. * bmc-config/bmc-autoconfig/Makefile.am: Use $(localstatedir) * libfreeipmi/src/udm/Makefile.am: Dist ipmi-udm-device.h. * libfreeipmi/Makefile.am: Fix ipckey installation. * bmc-watchdog/Makefile.am: Fix distcheck. 2006-07-27 Anand V. Avati * bmc-config/bmc-autoconfig: moved from fish/scripts/bmc-autoconfig * bmc-config/bmc-autoconfig/bmc-autoconfig.8: man page for bmc-autoconfig 2006-07-26 Albert Chu * common/src/argp-common.c (init_common_cmd_args): Make default authentication type MD5 * common/doc/argp-common-authtype.man: Make default authentication type MD5. * common/doc/argp-common-inband.man: Add register spacing option. Various cleanup. * libfreeipmi/include/freeipmi/ipmi-locate.h (IPMI_INTERFACE_MAX, IPMI_INTERFACE_LAST): Removed macro. * libfreeipmi/src/ipmi-locate-acpi-spmi.c (ipmi_acpi_get_spmi_table): Adjust appropriately. * libfreeipmi/include/freeipmi/udm/ipmi-udm.h (IPMI_POLL_INTERVAL_USECS): Removed macros. * libfreeipmi/src/udm/ipmi-udm.c: Move necessary macros here. * libfreeipmi/include/freeipmi/ipmi-smic-interface.h: Remove file. * libfreeipmi/src/ipmi-smic-interface.c: Bring in appropriate macros. * libfreeipmi/include/freeipmi/ipmi-smic-api.h: New file. * libfreeipmi/src/ipmi-smic-interface.c: Rename to ipmi-smic-api.c. * libfreeipmi/: Adjust appropriate Makefiles files. * doc/authors.texi, doc/freeipmi.texi, ipmiping/ipmiping.8.in, rmcpping/rmcpping.8.in: Fixes and updates. Add backwards compatability fixes in bmc-config. * bmc-config/src/bmc-sections.h (BMC_DO_NOT_CHECKOUT): New flag. * bmc-config/src/bmc-user-sections.c (get_user_section): Support new LAN_Enable_Restrict_to_Callback key and Serial_Enable_Restrict_to_Callback key for backwards compatability. Both cannot be checked out. * bmc-config/src/bmc-checkout.c (bmc_checkout_file): Support BMC_DO_NOT_CHECKOUT flag. * bmc-config/src/bmc-serial-conf-section.c (bmc_serial_conf_section_get): Support new Call_Retry_Time key for backwards compatability. It cannot be checked out. 2006-07-25 Albert Chu * common/src/err-wrappers.h (__IPMI_TRACE_ERRMSG_CLEANUP): New macro. * common/src/err-wrappers.h (ERR_IPMI_CMD_CLEANUP): Add errmsg support. * doc/freeipmi-faq.texi: Minor tweaks and updates. * configure.ac: Update lib version. * common/src/argp-common.h, common/src/argp-common.c (common_parse_opt): Make default authentication type MD5. Remove OEM authentication type. * bmc-config/src/bmc-sol-conf-section.c (bmc_sol_conf_section_get): Have SOL port commented out on checkout by default. 2006-07-24 Albert Chu * bmc-config/src/bmc-user-section.c (get_user_section, enable_user_checkout): Comment out the "Enable User" option as default behavior. * bmc-config/src/bmc-user-section.c (get_user_section): Remove "Clear_Password" key. * bmc-config/src/bmc-user-section.c (clear_password_checkout, clear_password_commit, clear_password_diff, clear_password_validate): Remove functions. * libfreeipmi/src/ipmi-locate.c (ipmi_locate): Add back ipmi_locate_defaults_get_dev_info() to things to try list. * bmc-config/src/bmc-config-api.c (set_bmc_enable_user): Add workaround for return of 0xC7 issue. 2006-07-24 A Balamurugan * ipmi-locate/src/ipmi-locate.c (dmidecode_probe_display): modified according to api change. 2006-07-23 A Balamurugan * ipmi-locate/src/ipmi-locate.c (dmidecode_probe_display): new function. * ipmi-locate/src/ipmi-locate.c (main): uses dmidecode probing. * libfreeipmi/include/freeipmi/ipmi-slave-address-spec.h: uses 0x42 as IPMI_SSIF_SMBUS_SLAVE_ADDRESS. * libfreeipmi/src/ipmi-locate.c (ipmi_locate): removed ipmi_locate_defaults_get_dev_info() in things_to_try list. 2006-07-23 Albert Chu * libfreeipmi/include/freeipmi/udm/ipmi-udm.h, libfreeipmi/src/udm/ipmi-udm.c (ipmi_open_inband, ipmi_open_outofband): Re-work API style to be consistent. Pass hostname to outofband function rahter than sockaddr. * libfreeipmi/src/udm/ipmi-lan-interface.c: Adjust code appropriately. * doc/examples/, bmc-config/, bmc-info/, ipmi-raw/, ipmi-sel/: Adjust appropriately for API changes. * ac_gethostbyname_r.m4: New file. * configure.ac: Add gethostbyname check. * ipmi-sel/src/ipmi-sel-wrapper.c (_parse_sel_record), libfreeipmi/src/ipmi-locate-defaults.c (ipmi_locate_defaults_get_dev_info): Fix compiler warnings. 2006-07-22 Albert Chu Hide struct ipmi_device from users in the libfreeipmi API. * libfreeipmi/src/udm/ipmi-udm-device.h: New file. * libfreeipmi/include/freeipmi/udm/ipmi-udm.h: Remove struct ipmi_device. Typedef new ipmi_device_t. Modify udm functions to return ipmi_device_t. * libfreeipmi/: Globally readjust code to take new ipmi_device_t, check magic numbers, use struct appropriately. * fish/, bmc-info/, bmc-config/, ipmi-sel/, ipmi-raw/: Readjust code appropriately. Remove ipmi_locate_info_t typedef. Replace with struct pointer globally. Re-adjust struct and API to return structure as parameter, rather than pointer. * libfreeipmi/include/freeipmi/ipmi-locate.h, libfreeipmi/src/ipmi-locate.c (ipmi_locate_destroy): Remove function. * libfreeipmi/include/freeipmi/ipmi-locate.h: Adjust function prototypes. * libfreeipmi/src/ipmi-locate.c, libfreeipmi/src/ipmi-locate-acpi-spmi.c, libfreeipmi/src/ipmi-locate-defaults.c, libfreeipmi/src/ipmi-locate-dmidecode.c, libfreeipmi/src/ipmi-locate-pci.c, libfreeipmi/src/ipmi-locate-smbios.c: Adjust code appropriately. * libfreeipmi/src/udm/: Adjust code appropriately. * bmc-watchdog/, ipmi-locate/: Adjust code appropriately. 2006-07-21 Albert Chu * bmc-config/src/bmc-config.c (main): Close ipmi. * bmc-config/src/: Globally alter calls to "fi_" functions, since fish is no longer used. * bmc-config/src/bmc-ipmi-wrapper.h, bmc-config/src/bmc-ipmi-wrapper.c (fi_get_ipmi_device, fi_ipmi_open, fi_ipmi_close, get_channel_info_list, get_sdr_cache_filename, get_lan_channel_number_known, get_serial_channel_number_known, display_get_device_id, ipmi_ping): Remove functions and related structs. * bmc-config/src/bmc-ipmi-wrapper.h, bmc-config/src/bmc-ipmi-wrapper.c (get_lan_channel_number, get_serial_channel_number, get_sol_channel_number): Take ipmi_device_t as an argument. * bmc-config/src: Adjust remaining code appropriately. * bmc-config/src/bmc-rmcpplus-conf-privilege-section.c (bmc_rmcpplus_conf_privilege_section_get): Remove duplicate entry. * bmc-config/bmc-config.conf.5.in: Updated with ipmi 2.0 stuff. Cleanup fish by removing dead code. * fish/src/ipmi-wrapper.h, fish/src/ipmi-wrapper.c (get_lan_channel_number_known, get_serial_channel_number_known, display_get_device_id, display_channel_info, get_channel_info_list): Remove functions. * fish/extensions/bmc-info.scm, fish/extensions/bmc-config.scm, fish/extensions/bc-user-section.scm, fish/extensions/bc-common.scm, fish/extensions/bc-lan-conf-auth-section.scm, fish/extensions/bc-lan-conf-misc-section.scm, fish/extensions/bc-lan-conf-section.scm, fish/extensions/bc-lan-conf-security-keys-section.scm, fish/extensions/bc-lan-serial-channel-section.scm, fish/extensions/bc-misc-section.scm, fish/extensions/bc-pef-conf-section.scm, fish/extensions/bc-rmcpplus-conf-privilege-section.scm, fish/extensions/bc-section.scm, fish/extensions/bc-serial-conf-section.scm, fish/extensions/bc-sol-conf-section.scm, fish/extensions/sel.scm: Removed files. * fish/extensions/Makefile.am: Adjust appropriately. * fish/src/scm-procedures.h, fish/src/scm-procedures.c (ex_cmd_get_device_id_display): Remove functions. * fish/src/extension.c (install_new_procedures): Remove appropriate scheme hooks. * fish/bmc-config.conf.5.in: Remove file. Other cleanup * common/src/ipmi-common.h, common/src/ipmi-common.c (ipmi_open_free_udp_port, ipmi_error): Removed functions. * libfreeipmi/src/udm/ipmi-udm.c (ipmi_open_outofband): Adjust appropriately. * fish/src/common.h, fish/src/ipmi-wrapper.c (ipmi_ping): Adjust appropriately. * fish/src/scm-procedures.h, fish/src/scm-procedures.c (ex_get_bmc_info): Remove function. * bmc-info/src/bmc-info.c (display_get_device_id), fish/src/scm-procedures.c (ex_get_sdr_repository_info, ex_get_pef_info): Adjust appropriately for ipmi_error() removal . * libfreeipmi/src/ipmi-sol-cmds.c: Fix tmpl_cmd_get_sol_configuration_parameters_sol_payload_port_number_rs template bug. * common/src/argp-common.h, bmc-config/src/bmc-argp.c, ipmi-raw/src/ipmi-raw-argp.c: Fix help output ordering. * libfreeipmi/src/udm/ipmi-rmcpplus-support-and-payload-cmds-udm.c (ipmi_cmd_set_user_payload_access, ipmi_cmd_get_user_payload_access): Add dev checks. BMC-Config fixes galore * Globally use libfreeipmi/include definitions, not hardcoded values. * Globally fix indenting/code style to match rest of FreeIPMI. * bmc-config/src/bmc-sol-conf-section.c (character_accumulate_interval_validate): Fix range check. * Globally support keyvalue flags. * bmc-config/src/bmc-checkout.c (bmc_checkout_file): Use flags to automatically comment out certain keys. * bmc-config/src/bmc-user-sections.c (password20_checkout): Ensure Password20 is a reasonable checkoutable value. * bmc-config/src/bmc-types.h, bmc-config/src/bmc-argp.c: Support debug option. * bmc-config/src/bmc-parser.c (bmc_parser): Output debugging on debugging only. * bmc-config/src/bmc-util.c: Remove file. * bmc-config/src/bmc-map.h, bmc-config/src/bmc-map.c: New files. * bmc-config/src/Makefile.am: Adjust appropriately. * bmc-config/src: Use new common map functions. * bmc-config/src/bmc-common.h: Fix autoconf and header use. * bmc-config/src/: Use headers consistently across files. * bmc-config/src/bmc-misc-section.c, bmc-config/src/bmc-lan-channel-section.c, bmc-config/src/bmc-serial-channel-section.c, bmc-config/src/bmc-map.c: Fix strings for backwards compatability. 2006-07-20 Albert Chu * fish/extensions/sensors-simple-display.scm (sensors-display-simple): Don't output event sensors. * common/src/ipmi-sensor-api.c (get_sensor_reading): Output debug info when a record isn't supported for sensor readings. 2006-07-21 A Balamurugan * libfreeipmi/src/udm/ipmi-ssif-api-udm.c (ipmi_ssif_cmd_udm): fixed bug of calling ipmi_ssif_read(). 2006-07-20 Albert Chu * common/src/ipmi-sensor-api.c, common/src/ipmi-sel-api.c, ipmi-sel/src/ipmi-sel-wrapper.c: Fix compile bugs. * libfreeipmi/src/ipmi-sensor-cmds.c (ipmi_get_threshold_message): Fix backwards logic bug. * fish/extensions/sensors-simple-display.scm (sensors-display-simple-full-record), fish/extensions/sensors-verbose-display.scm (sensors-display-verbose-full-record), fish/extensions/sensors-very-verbose-display.scm (sensors-display-very-verbose-full-record): Fix output bug. * fish/src/scm-procedures.h: Remove lingering sel code. Remove ipmi-sel API common lib . * common/src/ipmi-sel-api.h, common/src/ipmi-sel-api.c: Remove files. * ipmi-sel/src/ipmi-sel-wrappers.h, ipmi-sel/src/ipmi-sel-wrappers.c: Merge in code for ipmi-sel API appropriately. * common/src/Makefile.am, ipmi-sel/src/Makefile.am: Adjust appropriately. * fish/src/Makefile.am, fish/src/common.h, fish/src/ipmi-wrappers.h, fish/src/ipmi-wrappers.c, bmc-config/src/bmc-common.h, bmc-config/src/bmc-ipmi-wrapper.h: Adjust appropriately. 2006-07-19 Albert Chu * libfreeipmi/include/freeipmi/ipmi-sensor-event-messages.h: Renamed ipmi-sensor-and-event-code-tables.h and code adjusted appropriately. * libfreeipmi/src/ipmi-sensor-event-messages.c: Renamed ipmi-sensor-and-event-code-tables.c. * libfreeipmi/include/freeipmi/freeipmi.h, libfreeipmi/include/Makefile.am, libfreeipmi/src/Makefile.am: Adjusted appropriately. Fix threshold event message output bug. * libfreeipmi/include/freeipmi/ipmi-sensor-cmds.h, libfreeipmi/src/ipmi-sensor-cmds.c (ipmi_get_threshold_message): New function. * common/src/ipmi-sensor-api.c (ipmi_get_threshold_message_list): New function. * common/src/ipmi-sensor-api.c (get_sensor_reading): Use new function to output appropriate threshold strings. 2006-07-19 A Balamurugan * libfreeipmi/src/ipmi-locate.c (ipmi_locate): fixed bug of NULL pointer operation. 2006-07-19 A Balamurugan * libfreeipmi/src/ipmi-locate-dmidecode.c (ipmi_locate_dmidecode_get_dev_info): fixed bug of invalid handle of return value. 2006-07-19 Albert Chu * libfreeipmi/src/udm/ipmi-udm.c (ipmi_open_inband): Remove "driver_device" input requirement for KCS w/o probing. * ipmi-sel/src/ipmi-sel-argp.c: Change conflicting command line option key. 2006-07-18 Albert Chu * bmc-config/src/bmc-config.c (_disable_coredump), bmc-info/src/bmc-info.c (_disable_coredump), ipmi-raw/src/ipmi-raw.c (_disable_coredump), ipmi-sel/src/ipmi-sel.c (_disable_coredump): New function. * bmc-config/src/bmc-config.c (main), bmc-info/src/bmc-info.c (main), ipmi-raw/src/ipmi-raw.c (main), ipmi-sel/src/ipmi-sel.c (main): Fix bug #17104, do not core dump by default. * bmc-config/src/bmc-config.c (main), bmc-info/src/bmc-info.c (main), ipmi-sel/src/ipmi-sel.c (main): Fix non-debug compile bugs. * bmc-config/src/bmc-config.c (ipmi_core_init): Exit on inband errors, don't return -1. * bmc-config/src/bmc-config.c (ipmi_core_init, main), bmc-info/src/bmc-info.c (main), ipmi-raw/src/ipmi-raw.c (main), ipmi-sel/src/ipmi-sel.c (main): Fix bug #17143, bad output for inband permission denied. * libfreeipmi/src/ipmi-locate.c, libfreeipmi/src/ipmi-locate-smbios.c, libfreeipmi/src/ipmi-rmcpplus-interface.c, libfreeipmi/src/ipmi-rmcpplus-utils.c, ipmipower/src/ipmipower_packet.c, ipmipower/src/ipmipower_powercmd.c, fish/src/bmc-conf2.c, bmc-config/src/bmc-config-api.c: Fix compile warnings. * libfreeipmi/src/udm/ipmi-lan-interface-udm.c (_ipmi_lan_cmd_recv): Fix retransmission timing bug (#17103). * fish/bmc-config.8.pre.in, fish/ipmi-sel.8.pre.in, fish/src/bmc-conf2.h, fish/src/bmc-conf2.c: Removed files. * fish/src/scm-procedures.c, fish/src/extension.c, fish/src/common.h, fish/Makefile.am: Adjust appropriately. * fish/src/scm-procedures.c, fish/src/extensions.c: Remove remaining ipmi-sel related code. * libfreeipmi/src/ipmi-semaphores.h: Remove out of band keys. * libfreeipmi/src/ipmi-semaphores.h, libfreeipmi/src/ipmi-semaphores.c (ipmi_mutex_init): Calculate key internally, not through passed in key. * libfreeipmi/src/ipmi-kcs-api.c (ipmi_kcs_ctx_create), libfreeipmi/src/ipmi-ssif-api.c (ipmi_ssif_ctx_create): Adjust for ipmi_mutex_init change. * libfreeipmi/src/Makefile.am, libfreeipmi/src/ipmi-semaphores.c (ipmi_mutex_init): Workaround lack of ipckey file when doing debug work out of the build directory. Remove packet_retry from UDM lan. Replace with session timeout (bug #17102). * common/src/argp-common.h, common/src/argp-common.c (common_parse_opt, init_common_cmd_args): Remove support for packet retry, support session timeout. * libfreeipmi/include/freeipmi/udm/ipmi-udm.h, libfreeipmi/src/udm/ipmi-udm.c (ipmi_open_outofband): Adjust for use with session timeout. Adjust udm device_t structure for use. * libfreeipmi/src/udm/ipmi-lan-interface-udm.c (_session_timed_out, _calculate_timeout): New functions. * libfreeipmi/src/udm/ipmi-lan-interface-udm.c (_ipmi_lan_cmd_send, _ipmi_lan_cmd_recv, ipmi_lan_cmd, ipmi_lan_cmd_raw): Add support for session timeout. * bmc-config/src/bmc-config.c (ipmi_core_init), bmc-info/src/bmc-info.c (main), fish/src/ipmi-wrapper.c (fi_ipmi_open), fish/src/scm-procedures.c (ex_ipmi_open), ipmi-raw/src/ipmi-raw.c (main), ipmi-sel/src/ipmi-sel.c (main): Adjust for change in ipmi_open_outofband. 2006-07-18 A Balamurugan * libfreeipmi/src/ipmi-locate-dmidecode.c (dmi_table): initialize reg_space and bmc_i2c_dev_name to default value when device is SSIF. 2006-07-17 Albert Chu * bmc-config/src/bmc-user-sections.c, bmc-lan-conf-security-keys-section.c: Fix various gcc 4.0 warnings. 2006-07-14 Albert Chu * bmc-config/src/bmc-lan-channel-section.c, bmc-config/src/bmc-serial-channel-section.c: Globally replace "available always" with "always available" to match IPMI spec. * bmc-config/src/bmc-lan-conf-auth-section.c: Globally replace "Auth_Straight" with "Auth_Type_Straight" and "Auth_OEM" with "Auth_Type_OEM" for consistency. * bmc-config/src/bmc-misc-section.c (bmc_misc_section_get): Rename section "Misc" for consistency and backwards compatability. * bmc-config/src/bmc-user-section.c (username_validate, username_diff): Accept username "Anonymous" for userid 1 for backwards compatability. * bmc-config/src/bmc-user-sections.c (password_diff, password20_diff): Fix diff reporting bug. * bmc-config/src/bmc-serial-conf-section.c (serial_conf_commit): Fix seg-fault. * bmc-watchdog/src/bmc-watchdog.c (_cmdline_parse): Use base '0' on strtol. * bmc-config/src/bmc-sol-conf-section.c (sol_privilege_level_validate): Fix comparison bug. * bmc-config/src/bmc-checkout.c (bmc_checkout_file): Only output description if checkout is successful. Do not output FATAL message unless verbose turned on. * bmc-config/src/bmc-config-api.c (get_k_r, get_k_g): Fix memcpy bugs. 2006-07-14 A Balamurugan * common/src/argp-common.c: initialize errno before calling strtol(). * ipmi-sel/src/ipmi-sel-argp.c: like wise. * fish/src/scm-procedures.c (ex_string2number): new function. * fish/src/extension.c: added fi-string->number primitive procedure. * fish/extensions/bc-common.scm, fish/extensions/bmc-info.scm, fish/extensions/pef.scm, fish/extensions/sensors-common.scm: uses fi-string->number. * fish/extensions/sel.scm: uses fi-string->number and fixes of error messages. * libfreeipmi/src/ipmi-locate-dmidecode.c: new file. * libfreeipmi/src/ipmi-locate.c: uses dmidecode probing. * libfreeipmi/include/freeipmi/ipmi-locate.h: like wise. * libfreeipmi/src/Makefile.am: updated. 2006-07-13 Albert Chu * configure.ac, libfreeipmi/src/Makefile.am: Move IPMI_IPCKEY out of autoconf and into libfreeipmi CFLAG definition. * bmc-config/bmc-config.8.pre.in: Add note about required ADMIN privleges. * common/src/argp-common.c (common_parse_opt): Fix error output messages. (bug #17091) * common/src/argp-common.c (init_common_cmd_args): Set packet retry and timeout to 0 as default. * libfreeipmi/src/udm/ipmi-udm.c (ipmi_open_outofband): If packet retry and timeout are 0, set to default of 10 retries and 1000 milliseconds. Re-architect to allow ADMIN to be the default privilege for bmc-config (bug #17098). * common/doc/argp-common.man: Removed file. * common/doc/argp-common-inband.man, common/doc/argp-common-outofband.man, common/doc/argp-common-authtype.man, common/doc/argp-common-privlevel.man, common/doc/argp-common-misc.man: New files. * common/doc/Makefile.am: Update for new files. * bmc-config/bmc-config.8.pre.in, bmc-info/bmc-info.8.pre.in, ipmi-raw/ipmi-raw.8.pre.in, ipmi-sel/ipmi-sel.8.pre.in, fish/fish.8.pre.in, fish/bmc-config.8.pre.in, fish/ipmi-sel.8.pre.in, fish/ipmi-sensors.8.pre.in: Adjust for change to new argp common manpage files. Use non-default manpage for priv level on bmc-config.8. * argp-common.h (ARGP_COMMON_OPTIONS): Split into 4 new defines ARGP_COMMON_OPTIONS_INBAND, ARGP_COMMON_OPTIONS_OUTOFBAND, ARGP_COMMON_OPTIONS_AUTHTYPE, and ARGP_COMMON_OPTIONS_PRIVLEVEL. * bmc-config/src/bmc-argp.c: Use new defines. Make priv-level default ADMIN. * bmc-config/src/bmc-config.c (main): Set appropriate default values. Clear out command line options (bug #16856) * bmc-config/src/bmc-config.c (main), bmc-info/src/bmc-info.c (main), ipmi-raw/src/ipmi-raw.c (main), ipmi-sel/src/ipmi-sel.c (main): Clear out command line options after they are parsed. Support register spacing commandline arguments (bug #16294) * common/src/argp-common.h: Add option and support for value. * common/src/argp-common.c (common_parse_opt): Support parsing. * common/src/argp-common.c (init_common_cmd_args): Support default value. * ipmi-sel/src/ipmi-sel.c (main), ipmi-raw/src/ipmi-raw.c (main), bmc-info/src/bmc-info.c (main), bmc-config/src/bmc-config.c (ipmi_core_init): Support register spacing argument. Fix compile warnings * bmc-config/src/bmc-diff.h: New file * bmc-config/src/Makefile.am: Add bmc-diff.h. * bmc-config/src/bmc-config-api.c: Include bmc-ipmi-wrapper.h. * bmc-config/src/bmc-user-sections.c, bmc-config/src/bmc-lan-channel-section.c, bmc-config/src/bmc-serial-channel-section.c, bmc-config/src/bmc-lan-conf-section.c, bmc-config/src/bmc-lan-conf-auth-section.c, bmc-config/src/bmc-lan-conf-security-keys-section.c, bmc-config/src/bmc-rmcpplus-conf-privilege-section.c, bmc-config/src/bmc-serial-conf-section.c, bmc-config/src/bmc-serial-channel-section.c, bmc-config/src/bmc-sol-conf-section.c, bmc-config/src/bmc-misc-section.c: Include bmc-diff.h * bmc-config/src/bmc-user-sections.c (username_diff): Fix segfault bug. * bmc-config/src/bmc-user-sections.c (get_user_section): Include SOL Payload Access config. * bmc-config/src/bmc-lan-conf-section.c (vlan_id_validate): Fix range issue on compre. 2006-07-12 Albert Chu Rework udm raw functions to take lun and netfn parameters and have API similar to rest of FreeIPMI (bug #16283). * libfreeipmi/include/freeipmi/udm/ipmi-udm.h, libfreeipmi/src/udm/ipmi-udm.c (ipmi_cmd_raw): Add lun and netfn parameters. Adjust parameter checks appropriately. Adjust function call style. * libfreeipmi/src/udm/ipmi-kcs-api-udm.c (ipmi_kcs_cmd_raw_udm), libfreeipmi/src/udm/ipmi-ssif-api-udm.c (ipmi_ssif_cmd_raw_udm), libfreeipmi/src/udm/ipmi-lan-interface-udm.c (ipmi_lan_cmd_raw_udm): Adjust appropriately for changes. Adjust function call style. * libfreeipmi/src/udm/ipmi-lan-interface-udm.c (_ipmi_lan_raw_send_parse, _ipmi_lan_raw_create_cmd, _ipmi_lan_raw_recv_parse): Remove functions. * ipmi-raw/ipmi-raw.8.pre.in: Update for lun and netfn input. * ipmi-raw/src/ipmi-raw.c (main): Check for hex byte lengths. Adjust to read and pass in lun and netfn. Adjust for function call change. Cleanup error output calls. 2006-07-12 Albert Chu Fix lan retransmission issues. * libfreeipmi/src/udm/ipmi-lan-interface-udm.c (_ipmi_lan_cmd_send_orig, _ipmi_lan_cmd_recv_orig, ipmi_lan_cmd_orig): Removed functions. * libfreeipmi/src/udm/ipmi-lan-interface-udm.c (ipmi_lan_cmd): Fix sequence numbering bug. * libfreeipmi/src/udm/ipmi-lan-interface-udm.c (_ipmi_lan_raw_create_cmd, ipmi_lan_cmd_raw): Support packet retransmissions. * libfreeipmi/src/udm/ipmi-lan-interface-udm.c (_ipmi_lan_cmd_raw_send, _ipmi_lan_cmd_raw_recv): Removed functions. * common/src/argp-common.h: Adjust output of command line help. * common/src/argp-common.c (init_common_cmd_args): Give legit default values for lan timeout and retransmission. * libfreeipmi/src/udm/ipmi-lan-interface-udm.c (_ipmi_lan_cmd_recv, ipmi_lan_cmd): Fix lan retransmission bugs. 2006-07-12 A Balamurugan * common/src/argp-common.c: --driver-address, --packet-retry-timeout and --packet-retry-max options accept arg value in decimal, octal and hex. fixed bug #16291. * common/src/Makefile.am: updated. 2006-07-06 A Balamurugan * fish/scripts/bmc-config/Makefile.am, fish/scripts/bmc-config/bmc-config.in: removed. * Makefile.am, configure.ac, fish/Makefile.am, fish/scripts/Makefile.am: updated. * bmc-config/Makefile.am, bmc-config/bmc-config.8.pre.in, bmc-config/bmc-config.conf.5.in, bmc-config/src/Makefile.am, bmc-config/src/bmc-argp.c, bmc-config/src/bmc-checkout.c, bmc-config/src/bmc-commit.c, bmc-config/src/bmc-common.h, bmc-config/src/bmc-config-api.[ch], bmc-config/src/bmc-config.[ch], bmc-config/src/bmc-diff.c, bmc-config/src/bmc-ipmi-wrapper.[ch], bmc-config/src/bmc-lan-channel-section.c, bmc-config/src/bmc-lan-conf-auth-section.c, bmc-config/src/bmc-lan-conf-misc-section.c, bmc-config/src/bmc-lan-conf-section.c, bmc-config/src/bmc-lan-conf-security-keys-section.c, bmc-config/src/bmc-misc-section.c, bmc-config/src/bmc-parser.c, bmc-config/src/bmc-pef-conf-section.c, bmc-config/src/bmc-rmcpplus-conf-privilege-section.c, bmc-config/src/bmc-sections.[ch], bmc-config/src/bmc-serial-channel-section.c, bmc-config/src/bmc-serial-conf-section.c, bmc-config/src/bmc-sol-conf-section.c, bmc-config/src/bmc-types.h, bmc-config/src/bmc-user-sections.c, bmc-config/src/bmc-util.c: new files. now bmc-config is in C. 2006-07-05 A Balamurugan * fish/scripts/sel/Makefile.am, fish/scripts/sel/ipmi-sel.in: removed * configure.ac, fish/Makefile.am, fish/scripts/Makefile.am, ipmi-sel/ipmi-sel.8.pre.in, ipmi-sel/src/Makefile.am: updated for ipmi-sel C version. 2006-07-05 A Balamurugan * ipmi-sel/src/ipmi-sel-argp.[ch]: added --delete-range option. * ipmi-sel/src/ipmi-sel.c: like wise. 2006-06-30 A Balamurugan * ipmi-sel/src/Makefile.am: updated * ipmi-sel/src/ipmi-sel-argp.c (stripwhite, get_token, validate_delete_list_string, get_delete_record_count, get_delete_record_list): new static functions * ipmi-sel/src/ipmi-sel-argp.c, ipmi-sel/src/ipmi-sel-wrapper.c, ipmi-sel/src/ipmi-sel.c: added --delete and --delete-all option support 2006-06-27 Albert Chu * ipmi-sel/ipmi-sel.8.pre.in: Fix output typo. 2006-06-27 A Balamurugan * Makefile.am, configure.ac: added support for C version of ipmi-sel tool. * ipmi-sel/Makefile.am, ipmi-sel/ipmi-sel.8.pre.in, ipmi-sel/src/Makefile.am, ipmi-sel/src/ipmi-sel-argp.c, ipmi-sel/src/ipmi-sel-argp.h, ipmi-sel/src/ipmi-sel-wrapper.c, ipmi-sel/src/ipmi-sel-wrapper.h, ipmi-sel/src/ipmi-sel.c: new files. 2006-06-27 Albert Chu * libfreeipmi/src/ipmi-lan-interface.c, libfreeipmi/src/ipmi-lan-interface.h (ipmi_lan_sendto, ipmi_lan_recvfrom): Fix parameters to match sendto and recvfrom syscalls. * libfreeipmi/include/freeipmi/ipmi-ssif-api.h, libfreeipmi/src/ipmi-ssif-api.c: Move definitions from .h file to .c file. 2006-06-26 Albert Chu * libfreeipmi/src/udm/ipmi-lan-interface-udm.c (_ipmi_lan_cmd_recv): Fix compile bug. * libfreeipmi/src/udm/ipmi-lan-interface-udm.c (_ipmi_lan_cmd_send_orig, _ipmi_lan_cmd_recv_orig): Comment out. * ipmipower/src/fd.c, ipmipower/src/ipmipower_util.c, ipmipower/src/secure.c: Fix compile warnings. * configure.ac: Fix IPMI_IPCKEY definition bug. * fish/src/Makefile.am: Fix duplicate IPMI_IPCKEY definition. * freeipmi.spec.in: Fix chkconfig bug. 2006-06-26 A Balamurugan * libfreeipmi/include/freeipmi/ipmi-ssif-api.h: cleanup. * libfreeipmi/src/ipmi-ssif-api.c (ipmi_i2c_smbus_access): cleanup. * libfreeipmi/src/ipmi-ssif-api.c (ipmi_ssif_single_part_write, ipmi_ssif_multi_part_write, _ipmi_ssif_read): new static functions. * libfreeipmi/src/ipmi-ssif-api.c (ipmi_ssif_ctx_io_init, ipmi_ssif_write, ipmi_ssif_read): uses new static functions. 2006-06-26 A Balamurugan * libfreeipmi/include/freeipmi/udm/ipmi-udm.h, libfreeipmi/src/udm/ipmi-udm.c: added support to packet_retry_max and retry_timeout. * common/src/argp-common.[ch]: like wise. * bmc-info/src/bmc-info.c: like wise. * fish/extensions/bc-common.scm: like wise. * fish/extensions/bmc-info.scm: like wise. * fish/extensions/pef.scm: like wise. * fish/extensions/sel.scm: like wise. * fish/extensions/sensors-common.scm: like wise. * fish/extensions/sensors.scm: like wise. * fish/src/ipmi-wrapper.c (fi_ipmi_open): like wise. * fish/src/scm-procedures.c (ex_ipmi_open): like wise. * ipmi-raw/src/ipmi-raw-argp.c: like wise. * ipmi-raw/src/ipmi-raw.c: like wise. * common/doc/argp-common.man: updated. * doc/examples/udm-test.c: updated. * libfreeipmi/src/udm/ipmi-lan-interface-udm.c (_ipmi_lan_cmd_send, _ipmi_lan_cmd_recv, ipmi_lan_cmd): added packet retransmission support. 2006-06-26 Anand Babu * garpd: forked as a separate project. Not relevant here. * configure.ac: ipckey definition move here. removed garpd references. libfreeipmi/src/Makefile.am: removed CPP defn of IPCKEY. * Makefile.am: removed garpd references. * src/Makefile.am: uses configure.ac defns of IPCKEY. * doc/freeipmi.tex: likewise. * freeipmi.spec.in: likewise. * fish/extensions/sensors-common.scm: fi-sensors-get-default-cache-filename no longer used. Removed. * fish/src/extension.c: likewise. * fish/src/scm-procedures.c,h: likewise. * fish/src/fish.h: FI_DEFAULT_SDR_REPOSITORY_CACHE_FILENAME definition removed. 2006-06-19 Albert Chu * ipmipower/src/secure.h, ipmipower/src/secure.c, ipmipower/src/timeval.h, ipmipower/src/timeval.c: New files. * ipmipower/src/hostlist.h, ipmipower/src/hostlist.c, ipmipower/src/conffile.h, ipmipower/src/conffile.c, ipmipower/src/cbuf.h, ipmipower/src/cbuf.c: Update to latest library version. * ipmipower/src/ipmipower_util.h, ipmipower/src/ipmipower_util.c (Secure_memset, Secure_malloc, Secure_free, millisec_add, millisec_diff, millisec_gt): Removed functions. * ipmipower/src/ipmipower_powercmd.c, ipmipower/src/ipmipower_ping.c, ipmipower/src/ipmipower_config.c, ipmipower/src/ipmipower.c: Adjust to use new functions in secure.[ch] and timeval.[ch]. * ipmipower/src/Makefile.am: Add new files. * ipmipower/src: General code cleanup. 2006-06-16 Albert Chu * ipmipower/src/ipmipower_config.c (ipmipower_config_cmdline_parse): Add comments about arg clearing. 2006-06-06 Albert Chu * Document workaround notes to in-band tools about IBM e325. 2006-06-05 Albert Chu * libfreeipmi/src/ipmi-rmcpplus-interface.c (_construct_session_trlr_authentication_code): Fix MD5 hashing bug. 2006-05-26 Albert Chu * freeipmi.spec.in: Make bmc-watchdog init.d non-replaceable if modified. 2006-05-25 Albert Chu * libfreeipmi/: Security modifications added. 2006-05-24 Albert Chu * ipmipower/, libfreeipmi/: Several security modifications added. * libfreeipmi/src/ipmi-locate-acpi-spmi.c (ipmi_acpi_get_firmware_table): Fix double free bug. * Fix gcc warnings. 2006-05-22 Albert Chu * libfreeipmi/src/ipmi-locate-acpi-spmi.c (ipmi_acpi_get_spmi_table): Fix logic bug. * libfreeipmi/src/fiid.c (fiid_obj_clear, fiid_obj_clear_field): Implement with guaranteed memset. * libfreeipmi/src/freeipmi.map: New file. * libfreeipmi/src/Makefile.am, configure.ac: Hide non-API symbols. * common/src/Makefile.am: Fix build as necessary. 2006-05-19 Albert Chu * bmc-watchdog/src/Makefile.am, bmc-watchdog/src/bmc-watchdog.c: Adjust for changes from 05-18-06. * libfreeipmi/src/ipmi-locate-smbios.c (ipmi_smbios_reg_space): EINVAL return rather than exit. 2006-05-18 A Balamurugan * bmc-watchdog/Makefile.am, fish/src/Makefile.am, libfreeipmi/Makefile.am, libfreeipmi/src/Makefile.am, libfreeipmi/src/ipmi-semaphores.h: Fix of hardcoded paths of some files. Thanks for the patch to Claudio Fontana . 2006-05-16 Albert Chu * freeipmi.spec.in: Add version to changelog. 2006-05-15 Albert Chu * freeipmi.spec.in: Updated with changes from Ben Woodard (woodard at redhat dot com) for Fedora inclusion. * freeipmi.spec.in: Cleaned up some english and updated with changes since 0.2.0. * bmc-watchdog/: Various follow on adjustments. 2006-05-12 Albert Chu * libfreeipmi/include/freeipmi/ipmi-sensor-types-spec.h: Correct #defines. * libfreeipmi/include/freeipmi/ipmi-sdr-record-types.h: Fix redefine bug. 2006-05-11 Albert Chu * libfreeipmi/src/ipmi-sdr-record-types.c, common/src/ipmi-sensor-api.c: Change "sensor_owner_id.id" to "sensor_owner_id". 2006-05-10 Albert Chu * libfreeipmi/src/ipmi-sensor-utils.c, libfreeipmi/include/freeipmi/ipmi-sensor-utils.h (ipmi_sensor_decode_value): Adjust parameter types for consistency across the library. Add linearization function decoding. * libfreeipmi/src/ipmi-sensor-units-spec.c, libfreeipmi/include/freeipmi/ipmi-sensor-units-spec.h: Added rate units. * libfreeipmi/include/freeipmi/ipmi-sdr-record-types.h: Add analog data format, lineraization, and modifier unit defines. * common/src/ipmi-sensors-api.c (ipmi_sensor_get_decode_parameters): Fix linearization bug. 2006-05-09 Albert Chu * libfreeipmi/src/ipmi-sdr-record-types.c, libfreeipni/include/freeipmi/ipmi-sdr-record-types.h: Updated #defines for consistency with rest ot the library, added missing record types. * common/src/: Updated with name changes appropriately. 2006-05-08 Albert Chu * libfreeipmi/include/freeipmi/ipmi-sdr-repository-cmds.h: Add first and last record id defines. 2006-05-05 Albert Chu * libfreeipmi/: Change all templates and use of "ls_byte" and "ms_byte" to a single template variable. * fish/, bmc-watchdog/: Adjust appropriately. 2006-05-03 Albert Chu * libfreeipmi/src/ipmi-sensor-event-messages.c: Fix message string typo. 2006-05-01 Albert Chu * ipmipower/src/ipmipower_check.c (ipmipower_check_rakp_2_key_exchange_authentication_code): Fix code consistency issue. 2006-04-26 Albert Chu * ipmipower/src/ipmipower_check.c (ipmipower_check_authentication_code, ipmipower_check_payload_pad): Fix check bugs. 2006-04-25 Albert Chu * libfreeipmi/include/freeipmi/ipmi-messaging-support-cmds.h: Fix password length macros. * libfreeipmi/include/freeipmi/ipmi-cipher-suite-spec.h: Add macros to check for cipher support in libfreeipmi. * libfreeipmi/include/freeipmi/ipmi-cipher-suite-spec.c (ipmi_cipher_suite_id_to_algorithms): Adjust with macro change. * libfreeipmi/src/ipmi-messaging-support-cmds.c (fill_cmd_set_user_password, fill_cmd_set_user_password_v20), libfreeipmi/src/udm/ipmi-messaging-support-cmds-udm.c (ipmi_cmd_set_user_password): Fix up use of password length macros. 2006-04-20 Albert Chu * ipmipower/: Remove support of --no-get-channel-cipher-suites. * ipmipower/: Send Get Channel Cipher command with IPMI 2.0 headers rather than IPMI 1.5 headers. * libfreeipmi/, ipmipower/: Fix cipher suite record parsing. 2006-04-19 Albert Chu * libfreeipmi/src/ipmi-rmcpplus-utils.c (ipmi_rmcpplus_calculate_payload_type), libfreeipmi/src/ipmi-utils.c (ipmi_is_ipmi_1_5_packet, ipmi_is_ipmi_2_0_packet): Fix parse bugs. * libfreeipmi/include/freeipmi/ipmi-rmcpplus.h, libfreeipmi/src/ipmi-rmcpplus.c (ipmi_rmcpplus_init): New function. * libfreeipmi/: Rename ipmi-rmcpplus-crypt.c to ipmi-crypt.c and ipmi-rmcpplus-crypt.h to ipmi-crypt.h. * libfreeipmi/, ipmipower/: Adjust for modifications. * libfreeipmi/src/ipmi-rmcpplus-support-and-payload-cmds.c: Fix activate payload response bit shit bug. * libfreeipmi/src/ipmi-rmcpplus-debug.c: Fix various mem-leak possibilities. * libfreeipmi/src/ipmi-rmcpplus-interface.c (_construct_session_trlr_pad): Fix padding corner case. 2006-04-18 Albert Chu * libfreeipmi/src/ipmi-sol-cmds.c: Fix critical BMC to Remote Console SOL parsing bug. 2006-04-14 Albert Chu * ipmiping/src/ipmiping.c (parsepacket): Fix warning. * fish/: Attempt to configure based on SOL Payload Channel. 2006-04-13 Albert Chu * fish/src/extension.c (install_new_procedures): Fix function name typo. * libfreeipmi/src/ipmi-utils.c (ipmi_check_completion_code): Fix compile bug. * freeipmi.spec.in: Fix package requirement gcrypt -> libgcrypt. * libfreeipmi/src/ipmi-rmcpplus-support-and-payload-cmds.c: Add forgotten reserved fields to tmpl_get_channel_payload_support_rs. * ipmipower/src/ipmipower_packet.c (ipmipower_packet_dump): Fix compiler warning. * ipmipower/: Re-architect to include set session privilege command in ipmi 2.0 stream. Cleanup code in general. * Globally cleanup template variable names to maintain consistency with "tmpl_cmd" vs "tmpl" prefixed variable names. 2006-04-12 Albert Chu * ipmipower/: Add work to support both interpretations of the "cipher suite id privilege level". * ipmipower/: Add one more intel IPMI 2.0 workaround. * ipmipower/: Add --no-get-channel-cipher-suites workaround. * libfreeipmi/src/ipmi-message-support-cmds.c (fill_cmd_set_channel_security_keys), fish/: Fixes added to support K-R and K-G checkout and configuration. * ipmipower/: Check k_g status during authentication capabilities stage. * ipmiping/: Support k_g output on verbose. * ipmipower/src/ipmipower_powercmd.c (_recv_packet): Return error on rakp2 or rakp4 hash errors. * fish/src/scm-procedures.c (ex_set_bmc_user_sol_payload_access): Fix enable/disable bug. 2006-04-11 Albert Chu * libfreeipmi/src/ipmi-rmcpplus.c (fill_rmcpplus_rakp_message_1): Fix compliance bug. * libfreeipmi/include/freeipmi/ipmi-messaging-support-cmds.h, libfreeipmi/src/ipmi-messaging-support-cmds.c (fill_cmd_set_user_password_v20), libfreeipmi/src/udm/ipmi-messaging-support-cmds-udm.c: Support password size parameter. * fish/: Support 'Password20' bmc-config option. * ipmipower/: Remove --cipher-suite-records-all-oem option. Migrate workaround into --intel-2-0-session option. Implement additional username padding workarounds for Intel. * libfreeipmi/src/udm/ipmi-messaging-support-cmds-udm.c (ipmi_cmd_get_session_challenge, ipmi_cmd_activate_session, ipmi_cmd_set_session_privilege_level): Fix errno codes. * ipmipower/: Version auto picks ipmi 1.5 over ipmi 2.0. * common/src/Makefile.am, common/src/ipmi-sdr-repository-cache-api.h, common/src/ipmi-sdr-repository-cache-api.c: Remove sdr repository cache api. * fish/src/bmc-conf2.c (get_k_g, get_k_r): Fix return code bug. 2006-04-09 Albert Chu * libfreeipmi/, fish/, common/: Split record_count of sdr info into ls byte and ms byte like IPMI spec. 2006-04-07 Albert Chu * libfreeipmi/src/ipmi-sdr-repository-cmds.c: Adjust get sdr max record data length. * libfreeipmi/src/ipmi-sdr-record-types.c, libfreeipmi/include/freeipmi/ipmi-sdr-record-types.h, common/src/ipmi-sensor-api.c, common/src/ipmi-sdr-repository-cache-api.c: Fix up template names. 2006-04-06 Albert Chu * bmc-watchdog/src/bmc-watchdog.c (_init_ipmi): Check kcs context errnum rather than errno. * libfreeipmi/src/ipmi-udm.c, libfreeipmi/include/freeipmi/ipmi-udm.h: Remove template pointers. * libfreeipmi/src/ipmi-sol-cmds.c, libfreeipmi/include/freeipmi/ipmi-sol-cmds.h: Various code cleanup. * bmc-info/doc/Makefile.am, bmc-info/doc/bmc-info.8.pre.in, ipmi-raw/doc/Makefile.am, ipmi-raw/doc/ipmi-raw.8.pre.in: Removed files. Moved Makefile.am info and manpages one directory up to be consistent to rest of library. 2006-04-05 Albert Chu * libfreeipmi/src/udm/ipmi-sensor-cmds-udm.c (ipmi_cmd_get_sensor_thresholds): Fix function call cut and paste typo. * common/src/ipmi-sel-api.c (_get_event_message): Fix output bug. 2006-04-04 Albert Chu * libfreeipmi/include/freeipmi/ipmi-sol-cmds.h: Add SOL sequence number max definition. 2006-04-04 Albert Chu * libfreeipmi/src/udm/ipmi-udm.c (ipmi_open_inband): Fix no-probing bug. 2006-04-03 Anand Babu * libfreeipmi/src/ipmi-locate-smbios.c: check if record length >= 16. It was > 16 before. Found while running on IBM e325. 2006-04-04 Albert Chu * ipmipower/src/ipmipower.h, ipmipower/src/ipmipower_powercmd.c: Remove all use of "error_occurred" flag. The flag is no longer necessary. * ipmipower/src/ipmipower_powercmd.c (_recv_packet): Fix check ordering bug. 2006-04-03 Anand Babu * doc/freeipmi-faq.texi: Updated x86-64 platform related questions. * doc/freeipmi.texi: Updated. * fish/bmc-config.8.pre.in: Updated. * freeipmi/fish/extensions/bc-common.scm: verbose flag. Closing bug #16113. * fish/extensions/bmc-config.scm: like wise. * fish/extensions/bc-section.scm: "Not supported" message printed only when verbose. 2006-04-03 Albert Chu * libfreeipmi/include/freeipmi/ipmi-utils.h, libfreeipmi/src/ipmi-utils.c (ipmi_is_ipmi_1_5_packet, ipmi_is_ipmi_2_0_packet): New functions. * libfreeipmi/include/freeipmi/ipmi-rmcpplus-utils.h, libfreeipmi/src/ipmi-rmcpplus-utils.c (ipmi_rmcpplus_calculate_payload_type): New function. 2006-03-31 Albert Chu * libfreeipmi/: New ipmi_kcs_cmd() for kcs api. Adjust UDM functions appropriately. * bmc-watchdog/: Implement with KCS api. * libfreeipmi/src/ipmi-semaphores.c (ipmi_mutex_init): Fix errno setting corner case. 2006-03-30 Albert Chu * ipmipower/src/ipmipower_powercmd.c (_send_packet): Remove 'is_retry' parameter which wasn't used. Adjusted calls to _send_packet appropriately. 2006-03-29 Albert Chu * ipmipower/src/ipmipower_powercmd.c (ipmipower_powercmd_process_pending): Poll based on the minimum timeout remaining, not the maximum. 2006-03-28 Albert Chu * ipmiping/ipmiping.8.in, rmcpping/rmcpping.8.in: Add note about local ping. 2006-03-27 Albert Chu * ipmipower/src/ipmipower_wrappers.c (Ipmi_dump_lan_packet, Ipmi_dump_rmcp_packet, Ipmi_dump_rmcpplus_packet): Output debugging on error, do not exit. * ipmipower/src/ipmipower_check.c (ipmipower_check_outbound_sequence_number): Fix ipmi 2.0 corner cases on wrap around. 2006-03-24 Albert Chu * libfreeipmi/: Added appropriate fixes for ipmi 2.0 to handle null passwords. * freeipmi.spec.in: Fix directory name bug. * ipmipower/src: Add privilege check on open session response packet. 2006-03-24 Anand Babu * fish/extensions/sensors-common.scm: fixed bug #16093 - ipmi-sensors help outputs with wrong program name. 2006-03-24 Albert Chu * libfreeipmi/src/ipmi-sensor-utils.c (ipmi_sensor_decode_value), libfreeipmi/include/freeipmi/ipmi-sensor-utils.h: Add and use new analog data format definition validator. * ipmipower/: Alter --intel-2-0-session-activation to --intel-2-0-session. Support additional workarounds with HMAC-MD5-128 authentication on Intel machines. 2006-03-23 Albert Chu * libfreeipmi/src/ipmi-messaging-support-cmds.c, libfreeipmi/include/freeipmi/ipmi-messaging-support-cmds.h: Support 20 byte passwords in ipmi 2.0 version of Set User Password. * libfreeipmi/include/freeipmi/udm/, libfreeipmi/src/udm/, fish/, ipmipower/: Support 20 byte ipmi 2.0 passwords. * fish/src/bmc-conf2.c (check_bmc_user_password): Fix logic bug. * fish/src/bmc-conf2.c (check_bmc_user_password), libfreeipmi/include/freeipmi/ipmi-comp-code-spec.h, libfreeipmi/src/ipmi-error.c (ipmi_strerror_r): Support set user password completion codes. * ipmipower/ipmipower.8.in: Add workaround note about long passwords on Intel machines. * libfreeipmi/: Re-work privilege level validation macros. Re-do parameters of fill_lan_session_hdr() and fill_rmcpplus_session_hdr(). 2006-03-22 Albert Chu * libfreeipmi/src/ipmi-rmcpplus-utils.c, libfreeipmi/include/freeipmi/ipmi-rmcpplus-utils.h (ipmi_calculate_rmcpplus_session_keys): Support both k_g and user password. * ipmipower/: Change -k option -m option. Add new -k option to support global BMC key k_g. * fish/: Various bug fixes for SOL and RMCPPLUS Privilege level configurations. * libfreeipmi/, fish/: Support max length of 20 bytes for K_R and K_G desribed in IPMI 2.0 errata. 2006-03-21 Albert Chu * libfreeipmi/src/ipmi-cipher-suite-spec.c (ipmi_cipher_suite_id_to_algorithms): Fix bug. * libfreeipmi/src/ipmi-rmcpplus-utils.c (ipmi_calculate_sik, ipmi_calculate_rmcpplus_session_keys): Handle name only lookup flag in sik calculations. Fix several corner cases and cleaned up code. * libfreeipmi/src/ipmi-rmcpplus-utils.c (_calculate_k_rakp_hmac): Fix K calculation bug. * libfreeipmi/src/ipmi-rmcpplus-interface.c, libfreeipmi/include/freeipmi/ipmi-messaging-support-cmds.h: Fix spelling typo in IPMI_MAX_PASSWORD_LENGTH definition. Define and use new IPMI_2_0_MAX_PASSWORD_LENGTH definition. * libfreeipmi/src/ipmi-rmcpplus-interface.c (_construct_session_trlr_authentication_code), libfreeipmi/src/ipmi-rmcpplus-utils.c (ipmi_rmcpplus_check_packet_session_authentication_code): Fix MD5_128 authentication code calculation bug. * ipmipower/: Support additional cipher algorithms. Fix several bugs. * fish/: Fix various bmc-config bugs. 2006-03-20 Albert Chu * libfreeipmi/src/ipmi-rmcpplus-debug.c (ipmi_dump_rmcpplus_packet): Output packet raw data if it cannot be unassembled. * ipmipower/, libfreeipmi/: Change open_session_rq to open_session_request and open_session_rs to open_session_response to match IPMI spec. * libfreeipmi/include/Makefile.am: Add forgotten header file. * libfreeipmi/src/ipmi-cipher-suite-spec.c, libfreeipmi/include/freeipmi/ipmi-cipher-suite-spec.h, ipmipower/src/ipmipower_powercmd.c: Fix various "CIHPER" typos. * ipmipower/src/ipmipower_powercmd.c (_calculate_cipher_suite_ids): Fix parse bugs. * libfreeipmi/src/ipmi-rmcpplus.c, libfreeipmi/src/ipmi-cipher-suite-spec.c: Fix oem_iana length error. * fish/extensions/bc-common.scm: Add Rmcpplus Conf Privilege for Callback. * ipmipower/: Add cipher suite id support. Add --cipher-suite-records-all-oem workaround for incorrectly formmatted cipher suite records. Add --intel-2-0-session-activation workaround. Thanks to the ipmitool folks for figuring out how to deal with the RAKP4 issue. * fish/, ipmipower/, libfreeipmi/: Fix various compiler warnings and bugs. 2006-03-17 Albert Chu * libfreeipmi/src/ipmi-debug.c, libfreeipmi/include/freeipmi/ipmi-debug.h: Remove ipmi_debug. * libfreeipmi/src/ipmi-rmcpplus-interface.c, libfreeipmi/src/ipmi-rmcpplus-debug.c: Add SOL payload type support. * libfreeipmi/src/ipmi-rmcpplus-interface.c, libfreeipmi/src/ipmi-rmcpplus-debug.c: General cleanup. * libfreeipmi/src/ipmi-sol-cmds.c, libfreeipmi/include/freeipmi/ipmi-sol-cmds.h (fill_sol_payload_data): New function. * fish/: Add temporary workaround for configuration of K_G and K_R. 2006-03-16 Albert Chu * libfreeipmi/, fish/: Support SOL_Payload_Access configuration for each user in bmc-config. * fish/extensions/bmc-config.scm, fish/extensions/bc-section.scm, fish/extensions/bc-user-section.scm: Support a 5th user in bmc-config. 2006-03-15 Albert Chu * libfreeipmi/: Minor rmcpplus code cleanup. * ipmipower/: Add architectural support for other IPMI 2.0 cipher suites. Cipher suites other than 0 must still be tested. * fish/: Add initial K_R and K_G bmc-config support to bmc-config. * libfreeipmi/include/freeipmi/ipmi-rmcpplus-crypt.h (ipmi_crypt_init): Add prototype. * libfreeipmi/src/ipmi-rmcpplus-crypt.c (_ipmi_init_crypt): Rename to ipmi_crypt_init. Un-static function. Force user to call before using rmcpplus. * libfreeipmi/src/ipmi-rmcpplus-crypt.c, ipmipower/src/ipmipower.c: Adjust for API change. 2006-03-14 Albert Chu * ipmipower/src/ipmipower_cipher_suite.h, ipmipower/src/ipmipower_cipher_suite.c: New files. * ipmipower/src/ipmipower.h: New cipher suite id definitions. * ipmipower/: Support command line, config file, and prompt configuration of the cipher suite id. * ipmipower/: Support auto detection of IPMI cipher suites. 2006-03-13 Albert Chu * libfreeipmi/src/ipmi-rmcpplus-utils.c, libfreeipmi/include/freeipmi/ipmi-rmcpplus-utils.h (ipmi_calculate_keys): Renamed to ipmi_calculate_rmcpplus_session_keys. * libfreeipmi/src/ipmi-rmcpplus-utils.c (ipmi_calculate_rmcpplus_session_keys): Modified for session keys only, not pre-session/rakp keys. * libfreeipmi/src/ipmi-error.c (ipmi_strerror_r), libfreeipmi/include/freeipmi/ipmi-comp-code-spec.h: Additional commands supported. Cleanup. * libfreeipmi/src/ipmi-utils.c (ipmi_check_completion_code): Add syslog and trace debugging. * libfreeipmi/include/freeipmi/ipmi-messaging-support-cmds.h, libfreeipmi/src/ipmi-messaging-support-cmds.c (fill_cmd_set_channel_security_keys), libfreeipmi/src/ipmi-messaging-support-cmds.c (ipmi_cmd_set_channel_security_keys): Set Channel Security Keys command support. * libfreeipmi/src/ipmi-cipher-suite-spec.c, libfreeipmi/include/freeipmi/ipmi-cipher-suite-spec.h: Support cipher suite record format templates. * ipmipower/src/ipmipower_wrappers.h, ipmipower/src/ipmipower_wrappers.c (Fiid_obj_set_all): New function. * ipmipower/src/ipmipower_wrappers.c (Fiid_obj_get_data, Fiid_obj_get): Use fiid strerror to output more detailed error message. * libfreeipmi/include/freeipmi/ipmi-cipher-suite-spec.h: Support record format defines. * ipmipower/: Support Get Channel Cipher Suites command interating multiple times and parsing out all supported cipher suite ids from the remote machine. * libfreeipmi/, fish/: Rename vlan_id_ls and vlan_id_ms to vlan_id_ls_byte and vlan_id_ms_byte for consistency with other portions of FreeIPMI. 2006-03-12 Albert Chu * fish/extension/bc-rmcpplus-conf-privilege-section.scm: New file. * fish/: Add rmcpplus cipher id configuration. * ipmipower/: Globally change "chassis_status" -> "get_chassis_status" to match ipmi spec. General code cleanup. * ipmipower/src/ipmipower_packet.c (ipmipower_packet_errmsg): Support RAKP error messages. * ipmipower/src/ipmipower_powercmd.c (_recv_packet): Support RAKP error messages. 2006-03-11 Albert Chu * ipmipower/src/ipmipower_powercmd.c (_process_ipmi_packets): Add additional checks for authentication_type returned from activate session response. * ipmipower/src/ipmipower_packet.h, ipmipower/src/ipmipower_packet.c (ipmipower_packet_response_data): Removed function. * ipmipower/src/ipmipower_packet.c (ipmipower_packet_errmsg): Adjust for function removal. * ipmipower/src/ipmipower_wrappers.h, ipmipower/src/ipmipower_wrappers.c (Fiid_obj_get_data): New function. * libfreeipmi/src/ipmi-rmcpplus-utils.c, libfreeipmi/include/freeipmi/ipmi-rmcpplus-utils.h (ipmi_rmcpplus_check_session_trlr): Renamed to ipmi_rmcpplus_check_packet_session_authentication_code for consistency. * ipmipower/src/ipmipower_powercmd.c (_recv_packet), ipmipower/src/ipmipower_check.h, ipmipower/src/ipmipower_check.c: Completely redo packet checking for IPMI 1.5. Add full checks for IPMI 2.0. 2006-03-10 Albert Chu * libfreeipmi/src/ipmi-lan-utils.c, libfreeipmi/include/freeipmi/ipmi-lan-utils.h (ipmi_lan_check_checksum): Renamed to ipmi_lan_check_packet_checksum. * ipmiping/src/ipmiping.c (parsepacket), ipmipower/src/ipmipower_powercmd.c (_recv_packet): Adjust for ipmi_lan_check_checksum function name change. * libfreeipmi/src/ipmi-lan-utils.c, libfreeipmi/include/freeipmi/ipmi-lan-utils.h (ipmi_lan_check_checksum): New function. * libfreeipmi/src/ipmi-rmcpplus-utils.c, libfreeipmi/include/freeipmi/ipmi-rmcpplus-utils.h (ipmi_rmcpplus_check_session_id): New function. * ipmipower/src/ipmipower_powercmd.c (_bad_packet): Removed function. Put code into _recv_packet(). * ipmipower/src/ipmipower_packet.c (_recv_packet): Re-worked for IPMI 2.0 checks. * ipmipower/src/error.c: Increase ERROR_BUFLEN. Remove include of hprintf.h. * ipmipower/src/error.c (cbuf_printf): Remove use of hvsprintf. * ipmipower/src/hprintf.h, ipmipower/src/hprintf.c: Removed files. * ipmipower/src/ipmipower_powercmd (_recv_packet): Began work to check IPMI 2.0 response packets for correctness. * Various gcc compiler warning fixes. * libfreeipmi/src/ipmi-lan-utils.c, libfreeipmi/include/freeipmi/ipmi-lan-utils.h (ipmi_lan_check_session_authentication_code): Renamed to ipmi_lan_check_packet_session_authentication_code. * libfreeipmi/src/udm/ipmi-lan-interface-udm.c (_ipmi_lan_cmd_recv), ipmipower/src/ipmipower_powercmd.c (_recv_packet): Adjust for ipmi_lan_check_checksum function name change. * libfreeipmi/src/ipmi-lan-utils.c, libfreeipmi/include/freeipmi/ipmi-lan-utils.h (ipmi_lan_check_session_authentication_code): New function. * libfreeipmi/src/fiid.c (fiid_obj_packet_valid): Fix corner case. 2006-03-10 Anand Babu * configure.ac: Applied Anand Avati's patch to check installed Guile's version. Replaced gh_enter with scm_boot_guile. gh_* are depricated in Guile 1.8. 2006-03-10 Albert Chu * libfreeipmi/src/ipmi-cipher-suite-spec.c: New file. 2006-03-09 Albert Chu * ipmipower/: Remove randomized initial outbound sequence number. Add support of IPMI 2.0 for chassis status and chassis control. Add sequence number support for IPMI 2.0 session packets. * libfreeipmi/include/freeipmi/ipmi-cipher-suite-spec.h: Add cipher suite combination validity checks. * libfreeipmi/src/ipmi-rmcpplus-utils.c (_calculate_k_rakp_none): Removed function. * libfreeipmi/src/ipmi-rmcpplus-utils.c (ipmi_calculate_sik, _ipmi_calculate_k): Fix parameter checks to return errors for invalid cipher combinations. * libfreeipmi/src/ipmi-rmcpplus-utils.c, libfreeipmi/include/freeipmi/ipmi-rmcpplus-utils.c (ipmi_rmcpplus_check_rakp_message_2_key_exchange_authentication_code, ipmi_calculate_rakp_3_key_exchange_authentication_code): Rename variables to match ipmi spec. * libfreeipmi/src/ipmi-messaging-support-cmds.c, libfreeipmi/include/freeipmi/ipmi-messaging-support-cmds.h (tmpl_cmd_get_channel_cipher_suites_rs): New template supported. * ipmipower/src/ipmipower_packet.c (_ipmi_1_5_packet_create, _ipmi_2_0_packet_create): New functions. * ipmipower/src/ipmipower_packet.c (ipmipower_packet_create): Use new functions and cleanup code a lot. * libfreeipmi/include/freeipmi/ipmi-lan-param-spec.h, libfreeipmi/include/freeipmi/ipmi-lan-cmds.h, libfreeipmi/src/ipmi-lan-cmds.c (fill_cmd_set_lan_configuration_parameters_rmcpplus_messaging_cipher_suite_privilege_levels): Support rmcpplus lan configuration commands. * libfreeipmi/include/freeipmi/udm/ipmi-lan-cmds-udm.h, libfreeipmi/src/ipmi-lan-cmds-udm.c (ipmi_cmd_set_lan_configuration_parameters_rmcpplus_messaging_cipher_suite_privilege_levels, ipmi_cmd_set_lan_configuration_parameters_rmcpplus_messaging_cipher_suite_entry_support, ipmi_cmd_set_lan_configuration_parameters_rmcpplus_messaging_cipher_suite_entries, ipmi_cmd_set_lan_configuration_parameters_rmcpplus_messaging_cipher_suite_privilege_levels): New functions. * ipmipower/src/ipmipower_packet.h, ipmipower/src/ipmipower_packet.c (ipmipower_packet_store): Return -1 if packet is unparsable. * ipmipower/src/ipmipower_powercmd.c (_recv_packet): Return 0 if packet is unparsable and should be ignored. 2006-03-08 Albert Chu * libfreeipmi/src/ipmi-messaging-support-cmds.c, libfreeipmi/include/freeipmi/ipmi-messaging-support-cmds.h (fill_cmd_get_channel_cipher_suites): Support Get Channel Cipher Suites command. * libfreeipmi/include/freeipmi/ipmi-cipher-suite-spec.h: New file. * libfreeipmi/include/Makefile.am, libfreeipmi/include/freeipmi/freeipmi.h: Support new .h file. * ipmipower/: Begin crude intial support of IPMI 2.0 by adding IPMI 2.0 Get Authentication Capabilities, Get Channel Cipher Suites, Open Session, and RAKP protocol into protocol state machine. Change -R option to -M option. Add new -R option support protocol selection by user. * libfreeipmi/src/ipmi-rmcpplus-interface.c (assemble_ipmi_rmcpplus_pkt, unassemble_ipmi_rmcpplus_pkt): Fix session trailer assembly bug. 2006-03-07 Albert Chu * libfreeipmi/include/freeipmi/ipmi-comp-code-spec.h, libfreeipmi/src/ipmi-error.c (ipmi_strerror_r): Support for more commands under the rmcpplus support and payload commands section. General code cleanup. * libfreeipmi/include/freeipmi/ipmi-rmcpplus-support-and-payload-cmds.h, libfreeipmi/src/ipmi-rmcpplus-support-and-payload-cmds.c: New templates and functions to support commands under this chapter of the IPMI spec. * common/src/Makefile.am, libfreeipmi/include/Makefile.am: Fix distcheck bugs. * Globally fix gcc 4.0 warnings. * libfreeipmi/include/freeipmi/ipmi-sol-cmds.h, fish/extensions/bc-common.scm (sol-bit-rates), fish/extensions/bc-sol-conf-section.scm: Support bit-rate '0' which means "Use Serial Bit rate". * libfreeipmi/src/ipmi-messaging-support-cmds.c: Fix out of order bug with template fields in tmpl_cmd_get_channel_authentication_capabilities_v20_rs. * ipmiping/src/ipmiping.c (parsepacket): Fix output to match earlier output. 2006-03-06 Albert Chu Collective fixes from branch al_ipmi_2_0_branch at tag al_ipmi_2_0_branch_final. See ChangeLog in branch for detailed day by day changes. LIBFREEIPMI * libfreeipmi/include/freeipmi/ipmi-rmcpplus.h, libfreeipmi/src/ipmi-rmcpplus.c, libfreeipmi/include/freeipmi/ipmi-rmcpplus-crypt.h, libfreeipmi/src/ipmi-rmcpplus-crypt.c, libfreeipmi/src/ipmi-rmcpplus-debug.c, libfreeipmi/include/freeipmi/ipmi-rmcpplus-interface.h, libfreeipmi/src/ipmi-rmcpplus-interface.c, libfreeipmi/include/freeipmi/ipmi-rmcpplus-utils.h libfreeipmi/src/ipmi-rmcpplus-support-and-payload-cmds.c, libfreeipmi/include/freeipmi/ipmi-rmcpplus-support-and-payload-cmds.h, libfreeipmi/src/ipmi-rmcpplus-utils.c, libfreeipmi/include/freeipmi/ipmi-rmcpplus-status-spec.h: New files. * libfreeipmi/include/freeipmi/ipmi-debug.h (ipmi_dump_rmcpplus_packet): New function. * libfreeipmi/src/ipmi-error.h, libfreeipmi/src/ipmi-error.c (rmcpplus_status_strerror_r): New function. * libfreeipmi/include/freeipmi/ipmi-authentication-type-spec.h: Added IPMI_AUTHENTICATION_TYPE_RMCPPLUS, IPMI_1_5_AUTHENTICATION_TYPE_VALID, and IPMI_2_0_AUTHENTICATION_TYPE_VALID. Adjusted IPMI_AUTHENTICATION_TYPE_VALID appropriately for ipmi 2.0. * libfreeipmi/include/freeipmi/ipmi-privilege-level-spec.h: Added IPMI_1_5_PRIVILEGE_LEVEL_VALID and IPMI_2_0_PRIVILEGE_LEVEL. Adjusted IPMI_PRIVILEGE_LEVEL_VALID appropriately for ipmi 2.0. * libfreeipmi/src/ipmi-lan.c (_ipmi_lan_pkt_rq_min_size,unassemble_ipmi_lan_pkt), libfreeipmi/src/udm/ipmi-udm.c (ipmi_open_outofband): Use new IPMI_1_5_SESSION_AUTHENTICATION_TYPE_VALID macro. * libfreeipmi/src/udm/ipmi-udm.c (ipmi_open_outofband): libfreeipmi/src/ipmi-messagging-support-cmds.c (fill_cmd_get_channel_authentication_capabilities, fill_cmd_activate_session, fill_cmd_set_channel_access, fill_cmd_set_session_privilege_level), Use new IPMI_1_5_PRIVILEGE_LEVEL_VALID. * libfreeipmi/include/freeipmi/freeipmi.h: Added ipmi-rmcpplus.h, ipmi-rmcpplus-crypt.h, ipmi-rmcpplus-interface.h, ipmi-rmcpplus-support-and-payload-cmds.h, ipmi-rmcpplus-utils.h, ipmi-rmcpplus-status-spec.h. * libfreeipmi/src/ipmi-utils.c (ipmi_get_random_seed): Utilize #define checks for /dev/urandom and /dev/random. * libfreeipmi/src/ipmi-utils.h, libfreeipmi/src/ipmi-utils.c (ipmi_get_random): New function. * libfreeipmi/src/ipmi-sol-cmds.c, libfreeipmi/include/freeipmi/ipmi-sol-cmds.h: Support SOL payloads. Support missing SOL configuration parameters. * libfreeipmi/src/udm/ipmi-sol-cmds-udm.c, libfreeipmi/include/freeipmi/ipmi-sol-cmds-udm.h: Support missing SOL configuration parameters. * libfreeipmi/src/ipmi-error.c, libfreeipmi/include/freeipmi/ipmi-comp-code-spec.h: Support new completion codes and error strings. RMCPPING and IPMIPING * libfreeipmi/src/ipmi-messaging-support-cmds.h, libfreeipmi/src/ipmi-messaging-support-cmds.c (IPMI_GET_IPMI_V20_EXTENDED_DATA, IPMI_GET_IPMI_V15_DATA, IPMI_GET_IPMI_DATA_VALID, tmpl_cmd_get_channel_auth_caps_v20_rq, tmpl_cmd_get_channel_auth_caps_v20_rs, fill_cmd_get_channel_auth_caps_v20): New templates and functions. * ipmiping/src/ipmiping.c, rmcpping/src/rmcpping.c, libfreeipmi/src/ipmi-ping.h, libfreeipmi/src/ipmi-ping.c, rmcpping/rmcpping.8.in, ipmiping/ipmiping.8.in: Added support for ipmi 2.0 ping. * libfreeipmi/src/ipmi-ping.c (_get_rand): Removed function. * libfreeipmi/src/ipmi-ping.c (_main_loop): Use ipmi_get_random rather than _get_rand. IPMIPOWER * ipmipower/src/ipmipower_utils.c (get_rand): Utilize ipmi_get_random. FISH * fish/extensions/bmc-config.scm: Support SOL configuration. * fish/extensions/bc-sol-conf-section.scm: New file. AUTOCONF/AUTOMAKE * configure.ac: Add libgcrypt check. * libfreeipmi/src/Makefile.am, libfreeipmi/include/Makefile.am: Added appropriate new files and libraries. MISC * freeipmi.spec.in: Add gcrypt dependencies. 2006-03-05 Albert Chu * libfreeipmi/include/freeipmi/ipmi-comp-code-spec.h, libfreeipmi/src/ipmi-error.c (ipmi_strerror_r): Update completion code error codes and strings based on updated IPMI 2.0 spec. * libfreeipmi/include/freeipmi/ipmi-ssif-interface.h, libfreeipmi/src/ipmi-ssif-interface.c: Renamed to ipmi-ssif-api.h and ipmi-ssif-api.c respectively. * libfreeipmi/include/freeipmi/ipmi-kcs-interface.h, libfreeipmi/src/ipmi-kcs-interface.c: Renamed to ipmi-kcs-api.h and ipmi-kcs-api.c respectively. * libfreeipmi/include/freeipmi/udm/ipmi-ssif-interface-udm.h, libfreeipmi/src/udm/ipmi-ssif-interface-udm.c: Renamed to ipmi-ssif-api-udm.h and ipmi-ssif-api-udm.c respectively. * libfreeipmi/include/freeipmi/udm/ipmi-kcs-interface-udm.h, libfreeipmi/src/udm/ipmi-kcs-interface-udm.c: Renamed to ipmi-kcs-api-udm.h and ipmi-kcs-api-udm.c respectively. * common/src/err-wrappers.h (ERR_NULL_RETURN): Fix bug. * libfreeipmi/include/freeipmi/freeipmi.h: Move all udm stuff to libfreeipmi/include/freeipmi/udm/udm.h. * libfreeipmi/include/freeipmi/ipmi-slave-address-spec.h: New file. * libfreeipmi/include/freeipmi/ipmi-ssif-api.h, libfreeipmi/include/freeipmi/ipmi-lan.h: Remove defines duplicated by ipmi-slave-address-spec.h. * libfreeipmi/include/freeipmi/ipmi-lan.h (IPMI_LAN_RQ_SEQ_INC): Removed macro. * libfreeipmi/: Adjust makefiles and code appropriately for new includes and defines. * Attempted to convert "addr" abbreviation to "address" globally. * ipmipower/src/ipmipower_auth.h, ipmipower/src/ipmipower_auth.c: Renamed to ipmipower_authentication.h and ipmipower_authentication.c respectively. * ipmipower/: Various code cleanup. Various minor re-architecture of code to eventually support ipmi 2.0. 2006-03-04 Albert Chu * common/src/err-wrappers.h; New macros for errno returns. * common/, libfreeipmi/: Use new macros. Some general code cleanup and bug fixing. 2006-03-03 Albert Chu * libfreeipmi/src/fiid.c, libfreeipmi/include/freeipmi/fiid.h (fidd_template_compare): New function. * libfreeipmi/include/freeipmi/ipmi-debug.h: Export unexecpted data template. * libfreeipmi/include/Makefile.am: Add freeipmi.h. * libfreeipmi/include/freeipmi/ipmi-debug.h: Move defines into ipmi-debug.c. * common/src/md2.h, common/src/md2.c, common/src/md5.h, common/src/md5.c: 'LEN' -> 'LENGTH'. * libfreeipmi/: Adjust code for #define changes. * freeipmi.spec.in: Add %dir directives for /usr/include/freeipmi and /usr/include/freeipmi/udm. * libfreeipmi/: Various variable name changes for consistency. Several function parameter ordering changes for consistency. * configure.ac: Autoconfed getopt.h. * bmc-watchdog/src/bmc-watchdog.c, common/src/ipmi-ping.c, garpd/src/garpd.c, ipmipower/src/ipmipower_config.c: Check for HAVE_GETOPT_H. 2006-03-02 Anand Babu * doc/freeipmi.texi: fixed syntax errors that prevented PDF creation. * doc/authors.texi: fixed email address to evade spammers. 2006-03-02 Albert Chu * Globally rename ipmi_lan_check_session_authcode to ipmi_lan_check_session_authentication_code. * libfreeipmi/src/fiid.c (_fiid_obj_block_len): Removed function. * libfreeipmi/src/fiid.c, libfreeipmi/include/freeipmi/fiid.h (fiid_obj_block_len, fiid_obj_block_len_bytes): New functions. * common/src/fiid-wrappers.h (FIID_OBJ_BLOCK_LEN, FIID_OBJ_BLOCK_LEN_BYTES, FIID_OBJ_BLOCK_LEN_BYTES_CLEANUP, FIID_OBJ_DUP, FIID_OBJ_DUP_CLEANUP, FIID_OBJ_TEMPLATE_COMPARE_CLEANUP): New wrappers. 2006-03-01 Albert Chu * libfreeipmi/: Clear objects before setting in all fill functions. 2006-02-28 Albert Chu * libfreeipmi/include/freeipmi/ipmi-lan-interface.h, libfreeipmi/src/ipmi-lan-interface.c: Split off some code into ipmi-lan.h, ipmi-lan.c, ipmi-lan-utils.h, and ipmi-lan-utils.c. * libfreeipmi/include/freeipmi/ipmi-kcs-interface.h, libfreeipmi/src/ipmi-kcs-interface.c: Split off some code into ipmi-kcs.h and ipmi-kcs.c. * libfreeipmi/src/rmcp.c, libfreeipmi/include/freeipmi/rmcp.h (ipmi_rmcp_check_message_tag): Reverse parameters for consistency to other functions. * libfreeipmi/src/rmcp.h, libfreeipmi/src/rmcp.c: Split off some code into rmcp-utils.h and rmcp-utils.c. * libfreeipmi/src/ipmi-messaging-support-cmds.h (IPMI_MAX_AUTHENTICATION_CODE_LENGTH): Move define to ipmi-lan.h. * Globally re-adjust code for new files, includes, and define locations. * libfreeipmi/src/ipmi-error.c, libfreeipmi/include/freeipmi/ipmi-error.h (ipmi_kcs_strstatus_r): Moved to ipmi-kcs-interface.c. * libfreeipmi/include/freeipmi/ipmi-kcs-interface.h, libfreeipmi/include/freeipmi/ipmi-ssif-interface.h: Cleaned up by moving #defines into ipmi-kcs-interface.c and ipmi-ssif-interface.c. 2006-02-28 Albert Chu * libfreeipmi/src/ipmi-utils.h, libfreeipmi/src/ipmi-utils.c (ipmi_completion_code_check): Rename to ipmi_check_completion_code_success for consistency with other functions. * libfreeipmi/src/ipmi-messaging-support-cmds.c, libfreeipmi/include/freeipmi/ipmi-messaging-support-cmds.h (ipmi_check_comp_code): Renamed to ipmi_check_completion_code. * libfreeipmi/src/ipmi-messaging-support-cmds.c, libfreeipmi/include/freeipmi/ipmi-messaging-support-cmds.h (ipmi_check_completion_code, ipmi_check_cmd): Moved to ipmi-utils.c and ipmi-utils.h respectively. * common/src/err-wrappers.h: Adjust for function name changes. * libfreeipmi/src/ipmi-sensor-utils.c, libfreeipmi/include/freeipmi/ipmi-sensor-utils.h (ipmi_sensor_decode_value, ipmi_sensor_get_decode_params): Modify to return error values. * libfreeipmi/src/ipmi-sensor-utils.c, libfreeipmi/include/freeipmi/ipmi-sensor-utils.h (ipmi_sensor_get_decode_params): Rename to ipmi_sensor_get_decode_parameters. * common/src/ipmi-sensor-api.c, ipmiping/src/ipmiping.c, fish/src/bmc-conf2.c: Adjust for function name and parameter changes. * libfreeipmi/src/ipmi-sensor-utils.c, libfreeipmi/include/freeipmi/ipmi-sensor-utils.h (ipmi_sensor_get_decode_parameters): Move to ipmi-sensors-api.c and ipmi-sensors-api.h respectively. 2006-02-27 Albert Chu * libfreeipmi/src/ipmi-error.h, libfreeipmi/src/ipmi-error.c (ipmi_strerror_r, ipmi_strerror_cmd_r): common/src/ipmi-common.h, common/src/ipmi-common.c (ipmi_error): Support netfn input parameter for command error codes/strings. * common/src/, bmc-info/, bmc-watchdog/: Adjust code appropriately to use new functions. * libfreeipmi/include/freeipmi/ipmi-messaging-support-cmds.h: Split off channel, privilege level, and authentication type defines into ipmi-channel-spec.h, ipmi-privilege-level-spec.h, and ipmi-authentication-type-spec.h respectively. Fix defines and validity checks for channels. * libfreeipmi/: Adjust for new include files. * bmc-info/src/bmc-info.c (display_channel_info, get_channel_info_list), fish/src/ipmi-wrapper.h, fish/src/ipmi-wrapper.c (get_channel_info_list, : Use new defines and checkers appropriately. 2006-02-26 Albert Chu * libfreeipmi/include/freeipmi/udm, libfreeipmi/src/udm: Partition off .c and .h files for udm into subdirectories. * Globally adjust makefiles and includes to work off new include locations. * Remove '2' suffix from all UDM functions. * libfreeipmi/src/ipmi-sdr-repository-cache-api.c, libfreeipmi/src/ipmi-sel-api.c, libfreeipmi/src/ipmi-sensor-api.c, libfreeipmi/include/freeipmi/ipmi-sdr-repository-cache-api.h, libfreeipmi/include/freeipmi/ipmi-sel-api.h, libfreeipmi/include/freeipmi/ipmi-sensor-api.h, libfreeipmi/src/fiid-wrappers.h, libfreeipmi/src/err-wrappers.h, libfreeipmi/src/freeipmi-portability.h, libfreeipmi/src/freeipmi-portability.c: Move to common/src/ as convenience libraries and headers. * fish/, libfreeipmi/: Adjust makefiles and code appropriately for new location of includes and convenience libraries. * common/src/ipmi-sel-api.c, bmc-info/src/bmc-info.c, fish/src/common.h, ipmi-locate/src/ipmi-locate.c, ipmi-raw/src/ipmi-raw.c, libfreeipmi/src/udm/ipmi-messaging-support-cmds-udm.c::Fix include typo with sys/time.h and time.h. 2006-02-25 Albert Chu * libfreeipmi/include/, libfreeipmi/include/freeipmi: Move distributed files into libfreeipmi/include/freeipmi. * Globally re-work includes to work off "freeipmi/X" .h files. * libfreeipmi/src/freeipmi-build.h: Removed file. 2006-02-24 Albert Chu * Continue include reorganization to prepare for libfreeipmi rearchitecture. * common/src/argp-common.c, common/src/ipmi-ping.c, bmc-info/src/bmc-info.c, bmc-info/src/bmc-info-argp.c, bmc-watchdog/src/bmc-watchdog.c, doc/examples/udm-test.c, ipmi-locate/src/ipmi-locate.c, ipmiping/src/ipmiping.c, ipmipower/src/ipmipower_wrappers.h, ipmipower/src/ipmipower.h, rmcpping/src/rmcpping.c, ipmi-raw/src/ipmi-raw.c, ipmi-raw/src/ipmi-raw-argp.c, fish/src/common.h: Remove need for freeipmi-build.h. * common/src/argp-common.h, common/src/md2.h, common/src/md5.h: Fix up includes. * libfreeipmi/src/libfreeipmi.c: Renamed to freeipmi-portability.c. * libfreeipmi/src/Makefile.am: Adjust for file name change. 2006-02-24 Albert Chu * libfreeipmi/src/ipmi-locate-acpi-spmi.h, libfreeipmi/src/ipmi-locate-smbios.h: Remove files. Move #defines into ipmi-locate-acpi-spmi.c and ipmi-locate-smbios.c respectively. * libfreeipmi/src/fiid.c, libfreeipmi/src/ipmi-debug.c, libfreeipmi/src/ipmi-error.c, libfreeipmi/src/ipmi-semaphores.c, libfreeipmi/src/ipmi-locate-defaults.c, libfreeipmi/src/ipmi-locate-smbios.c, libfreeipmi/src/ipmi-locate-acpi-spmi.c, libfreeipmi/src/ipmi-locate-pci.c, libfreeipmi/src/ipmi-sensor-types-spec.c, libfreeipmi/src/ipmi-sensor-event-messages.c, libfreeipmi/src/ipmi-sensor-units-spec.c, libfreeipmi/src/ipmi-sensor-utils.c, libfreeipmi/src/ipmi-bmc-watchdog-timer-cmds.c, libfreeipmi/src/ipmi-chassis-cmds.c, libfreeipmi/src/ipmi-device-global-cmds.c, libfreeipmi/src/ipmi-lan-cmds.c, libfreeipmi/src/ipmi-messaging-support-cmds.c, libfreeipmi/src/ipmi-pef-and-alerting-cmds.c, libfreeipmi/src/ipmi-sdr-repository-cmds.c, libfreeipmi/src/ipmi-sel-cmds.c, libfreeipmi/src/ipmi-sensor-cmds.c, libfreeipmi/src/ipmi-serial-modem-cmds.c, libfreeipmi/src/ipmi-sol-cmds.c, libfreeipmi/src/ipmi-bmc-watchdog-timer-cmds-udm.c, libfreeipmi/src/ipmi-chassis-cmds-udm.c, libfreeipmi/src/ipmi-device-global-cmds-udm.c, libfreeipmi/src/ipmi-lan-cmds-udm.c, libfreeipmi/src/ipmi-messaging-support-cmds-udm.c, libfreeipmi/src/ipmi-pef-and-alerting-cmds-udm.c, libfreeipmi/src/ipmi-sdr-repository-cmds-udm.c, libfreeipmi/src/ipmi-sel-cmds-udm.c, libfreeipmi/src/ipmi-sensor-cmds-udm.c, libfreeipmi/src/ipmi-serial-modem-cmds-udm.c, libfreeipmi/src/ipmi-sol-cmds-udm.c, libfreeipmi/src/ipmi-sdr-record-types.c, libfreeipmi/src/ipmi-sdr-repository-cache-api.c, libfreeipmi/src/ipmi-sensor-api.c, libfreeipmi/src/ipmi-sel-api.c, libfreeipmi/src/ipmi-kcs-interface.c, libfreeipmi/src/ipmi-kcs-interface-udm.c, libfreeipmi/src/ipmi-lan-interface.c, libfreeipmi/src/ipmi-lan-interface-udm.c, libfreeipmi/src/ipmi-smic-interface.c, libfreeipmi/src/ipmi-ssif-interface.c, libfreeipmi/src/ipmi-ssif-interface-udm.c: Remove need for freeipmi-build.h. * libfreeipmi/src/fiid.h, libfreeipmi/src/ipmi-debug.h, libfreeipmi/src/ipmi-error.h, libfreeipmi/src/ipmi-semaphores.h, libfreeipmi/src/ipmi-locate-defaults.h, libfreeipmi/src/ipmi-locate-smbios.h, libfreeipmi/src/ipmi-locate-acpi-spmi.h, libfreeipmi/src/ipmi-locate-pci.h, libfreeipmi/src/ipmi-sensor-types-spec.h, libfreeipmi/src/ipmi-sensor-event-messages.h, libfreeipmi/src/ipmi-sensor-units-spec.h, libfreeipmi/src/ipmi-sensor-utils.h, libfreeipmi/src/ipmi-bmc-watchdog-timer-cmds.h, libfreeipmi/src/ipmi-chassis-cmds.h, libfreeipmi/src/ipmi-device-global-cmds.h, libfreeipmi/src/ipmi-lan-cmds.h, libfreeipmi/src/ipmi-messaging-support-cmds.h, libfreeipmi/src/ipmi-pef-and-alerting-cmds.h, libfreeipmi/src/ipmi-sdr-repository-cmds.h, libfreeipmi/src/ipmi-sel-cmds.h, libfreeipmi/src/ipmi-sensor-cmds.h, libfreeipmi/src/ipmi-serial-modem-cmds.h, libfreeipmi/src/ipmi-sol-cmds.h, libfreeipmi/src/ipmi-bmc-watchdog-timer-cmds-udm.h, libfreeipmi/src/ipmi-chassis-cmds-udm.h, libfreeipmi/src/ipmi-device-global-cmds-udm.h, libfreeipmi/src/ipmi-lan-cmds-udm.h, libfreeipmi/src/ipmi-messaging-support-cmds-udm.h, libfreeipmi/src/ipmi-pef-and-alerting-cmds-udm.h, libfreeipmi/src/ipmi-sdr-repository-cmds-udm.h, libfreeipmi/src/ipmi-sel-cmds-udm.h, libfreeipmi/src/ipmi-sensor-cmds-udm.h, libfreeipmi/src/ipmi-serial-modem-cmds-udm.h, libfreeipmi/src/ipmi-sol-cmds-udm.h, libfreeipmi/src/ipmi-sdr-record-types.h, libfreeipmi/src/ipmi-sdr-repository-cache-api.h, libfreeipmi/src/ipmi-sensor-api.h, libfreeipmi/src/ipmi-sel-api.h libfreeipmi/src/ipmi-ipmb-interface.h, libfreeipmi/src/ipmi-kcs-interface.h, libfreeipmi/src/ipmi-kcs-interface-udm.h, libfreeipmi/src/ipmi-lan-interface.h, libfreeipmi/src/ipmi-lan-interface-udm.h, libfreeipmi/src/ipmi-smic-interface.h, libfreeipmi/src/ipmi-ssif-interface.h, libfreeipmi/src/ipmi-ssif-interface-udm.h: Fix includes. * libfreeipmi/src/Makefile.am: Cleanup. * libfreeipmi/src/freeipmi-portability.h: New file. 2006-02-23 Albert Chu * libfreeipmi/src/ipmi-udm.c (ipmi_open_inband): Fix seg-fault corner case and mem-leak corner case. * ipmi-locate/src/ipmi-locate.c: Fix various mem-leaks. * libfreeipmi/src/ipmi-locate-acpi-spmi.c, libfreeipmi/src/ipmi-locate-acpi-spmi.h, libfreeipmi/src/ipmi-locate-pci.c, libfreeipmi/src/ipmi-locate-pci.h, libfreeipmi/src/ipmi-locate-smbios.c, libfreeipmi/src/ipmi-locate-smbios.h, libfreeipmi/src/ipmi-locate-defaults.c, and libfreeipmi/src/ipmi-locate-defaults.h: Redo locate function interfaces. * libfreeipmi/src/ipmi-locate-pci.h, libfreeipmi/src/ipmi-locate-defaults.h: Remove files. * libfreeipmi/, ipmi-locate/: Adjust for function style changes appropriately. 2006-02-23 Albert Chu * libfreeipmi/src/ipmi-md2.h, libfreeipmi/src/ipmi-md2.c, libfreeipmi/src/ipmi-md5.h, libfreeipmi/src/ipmi-md5.c: Moved into common/src into md2.h, md2.c, md5.h, and md5.c respectively. * libfreeipmi/src/rmcp.h, libfreeipmi/src/rmcp.c (ipmi_rmcp_message_tag_chk): Rename to ipmi_rmcp_check_message_tag. * libfreeipmi/src/rmcp.h: RMCP_PRI_RMCP_PORT renamed to RMCP_PRIMARY_RMCP_PORT and RMCP_SEC_RMCP_PORT renamed to RMCP_SECONDARY_RMCP_PORT. * libfreeipmi/src/ipmi-utils.h, libfreeipmi/src/ipmi-utils.c (ipmi_chksum): Renamed to ipmi_checksum. * libfreeipmi/src/ipmi-utils.h, libfreeipmi/src/ipmi-utils.c (ipmi_comp_test): Renamed to ipmi_completion_code_check. * libfreeipmi/src/ipmi-lan-interface.c (ipmi_lan_check_chksum): Renamed to ipmi_lan_check_checksum. * libfreeipmi/src/ipmi-lan-interface.c: Globally use "checksum" instead of "chksum" in templates and code. * libfreeipmi/src/ipmi-debug.c (_dprintf, _write): Move into common/src/ipmi-common.h and ipmi-common.c. * libfreeipmi/src/ipmi-debug.c (ipmi_smic_print_flags, ipmi_kcs_print_flags): Move to ipmi-smic-interface.c and ipmi-kcs-interface.c appropriately. * libfreeipmi/src/ipmi-sensor-types.h, libfreeipmi/src/ipmi-sensor-types.c: Split into ipmi-sensor-types-spec.h, ipmi-sensor-types-spec.c, ipmi-sensor-units-spec.h, ipmi-sensor-units-spec.c. * libfreeipmi/src/ipmi-utils.h, libfreeipmi/src/ipmi-utils.c (ipmi_open_free_udp_port): Move to ipmi-common.h and ipmi-common.c. * libfreeipmi/src/ipmi-utils.c, libfreeipmi/src/rmcp.c: Begin putting specific includes into .c files so freeipmi-build.h need is limited. * libfreeipmi/src/acpi-spmi-locate.c, libfreeipmi/src/acpi-spmi-locate.h, libfreeipmi/src/pci-locate.c, libfreeipmi/src/pci-locate.h, libfreeipmi/src/smbios-locate.c, libfreeipmi/src/smbios-locate.h, libfreeipmi/src/defaults-locate.h, libfreeipmi/src/defaults-locate.c: Renamed to ipmi-locate-acpi-spmi.c, ipmi-locate-acpi-spmi.h, ipmi-locate-pci.c, ipmi-locate-pci.h, ipmi-locate-smbios.c, ipmi-locate-smbios.h, ipmi-locate-defaults.c, and ipmi-locate-defaults.h. Adjusted function naming appropriately. Added parameter checks and various minor code cleanup. * common/, ipmiping/, fish/, ipmipower/, libfreeipmi/: Adjust makefiles and code for various location changes, include changes, define, or function name changes. 2006-02-23 Albert Chu * libfreeipmi/src/ipmi-sensor-event-messages.h, libfreeipmi/src/ipmi-sensor-event-messages.c: Re-organized for generic use. * libfreeipmi/src/ipmi-sensor-event-messages.h, libfreeipmi/src/ipmi-sensor-event-messages.c (ipmi_get_generic_event_message_list, ipmi_get_event_message_list): Move to ipmi-sensors-api.h and ipmi-sensors-api.c. These are convenience functions specifically for the sensors api, not generic functions. * libfreeipmi/src/bit-ops.h, libfreeipmi/src/bit-ops.c: Moved files into convenience libraries in common/src. * libfreeipmi/src/freeipmi.h, libfreeipmi/src/Makefile.am, common/src/Makefile.am, fish/src/Makefile.am: Adjusted appropriately for bit-ops.h and bit-ops.c reorganization. * libfreeipmi/src/xmalloc.h, libfreeipmi/src/xmalloc.c: Remove "ipmi_" prefix on functions. * libfreeipmi/: Adjust code appropriately for function name changes. * libfreeipmi/src/xmalloc.h, libfreeipmi/src/xmalloc.c: Moved files into convenience libraries in common/src. * libfreeipmi/src/freeipmi.h, libfreeipmi/src/Makefile.am, common/src/Makefile.am: Adjusted appropriately for xmalloc.h and xmalloc.c reorganization. * libfreeipmi/src/ipmi-inband.h: New file. * libfreeipmi/src/freeipmi-build.h: New file. * libfreeipmi/src/freeipmi.h: Remove code moved to new files. * libfreeipmi/src/freeipmi-build.h: Split off build specific stuff from freeipmi.h. * Globally remove -DFREEIPMI_BUILD and -DFREEIPMI_LIBRARY from Makefiles. * Globally replace "freeipmi.h" with "freeipmi-build.h" until .h file reorganization is done later on. * libfreeipmi/src/Makefile.am, libfreeipmi/src/freeipmi-build.h: Split off ipmi-semaphores.h to non-disted. * libfreeipmi/, fish/: Adjusted includes appropriately. * libfreeipmi/src/acpi-spmi-locate.c (ipmi_acpi_get_rsdp, ipmi_acpi_get_firmware_table): Remove strdupa calls, which are meaningless. * libfreeipmi/src/freeipmi-build.h (strdupa, strndupa): Removed macros. * libfreeipmi/src/freeipmi-build.h: Moved all bool, true, false macros/definitions to ipmi-common.h. Move WORDSIZE code to ipmi-common.h. * libfreeipmi/: Several typo/logic bug fixes. 2006-02-21 Albert Chu * libfreeipmi/src/ipmi-sensor-types.h, libfreeipmi/src/ipmi-sensor-types.c: Fix string arrays and definitions to match IPMI spec and make similar to the rest of libfreeipmi. Make abbreviations match standards. * libfreeipmi/src/ipmi-sensor-types.h, libfreeipmi/src/ipmi-sensor-types.c (ipmi_is_oem_reserved_sensor_type): Removed function. * libfreeipmi/src/ipmi-sensor-types.h, libfreeipmi/src/ipmi-sensor-types.c (ipmi_sensor_classify, ipmi_get_sensor_group): Move to ipmi-sensor-api.h and ipmi-sensor-api.c. These functions do not match against a part of the IPMI spec and are convenience functions. * libfreeipmi/src/ipmi-sensor-types.h, libfreeipmi/src/ipmi-sensor-types.c: Renamed ipmi_sensor_units_short to ipmi_sensor_units_abbreviated. 2006-02-20 Albert Chu * libfreeipmi/src/ipmi-sdr-repository-cmds-udm.h, libfreeipmi/src/ipmi-sdr-repository-cmds-udm.c (ipmi_cmd_get_sdr_chunk2): Renamed ipmi_cmd_get_sdr2. Adjusted to fit UDM model. * libfreeipmi/src/ipmi-sdr-repository-cmds-udm.c (ipmi_cmd_get_sensor_record_header2): Removed function. * libfreeipmi/src/ipmi-sdr-repository-cmds-udm.c (ipmi_cmd_get_sdr2): Renamed to get_sdr_sensor_record and put into ipmi-sensor-api.h and ipmi-sensor-api.c. Adjusted based on above changes. * libfreeipmi/: Various minor code cleanup. 2006-02-19 Albert Chu * libfreeipmi/: Continued code cleanup. 2006-02-18 Albert Chu * libfreeipmi/src/fiid-wrappers.h: New file. * libfreeipmi/src/err-wrappers.h: New file. * libfreeipmi/src/fiid.h: Remove old macros. * libfreeipmi/src/ipmi-error.h: Remove old macros. * libfreeipmi/: Cleanup using new FIID macros, ERR macros, and general cleanup. 2006-02-17 Albert Chu * libfreeipmi/src/ipmi-lan-interface.c (ipmi_lan_check_session_authcode): Fix parameter check. * Globally change "passwd" to "password". * libfreeipmi/src/ipmi-msg-interface-desc.h, libfreeipmi/src/ipmi-msg-interface-desc.c: Removed files. * libfreeipmi/src/ipmi-sensor-api.c (get_system_software_type): New function. * libfreeipmi/src/ipmi-sensor-api.c (get_sensor_reading): Use get_system_software_type. * libfreeipmi/src/fiid.h: Begin work to localize FIID macros internal only to hte library. * bmc-info/src/bmc-info.c (_FIID_OBJ_GET): New macro. Used throughout bmc-info.c. 2006-02-17 Albert Chu * libfreeipmi/src/ipmi-watchdog.h, libfreeipmi/src/ipmi-watchdog.c: Renamed to ipmi-bmc-watchdog-timer-cmds.h and ipmi-bmc-watchdog-timer-cmds.c respectively. Cleanup definitions. * libfreeipmi/src/ipmi-serial-cmds, libfreeipmi/src/ipmi-serial-cmds.c, libfreeipmi/src/ipmi-serial-cmds-udm.h, libfreeipmi/src/ipmi-serial-cmds-udm.c: Renamed to ipmi-serial-modem-cmds.h, ipmi-serial-modem-cmds.c, ipmi-serial-modem-cmds-udm.h, and ipmi-serial-modem-cmds-udm.c respectively. * libfreeipmi/src/ipmi-serial-modem-param-spec.h: Cleanup definitions. * libfreeipmi/src/ipmi-dev-global-cmds, libfreeipmi/src/ipmi-dev-global-cmds.c, libfreeipmi/src/ipmi-dev-global-cmds-udm.h, libfreeipmi/src/ipmi-dev-global-cmds-udm.c: Renamed to ipmi-device-global-cmds.h, ipmi-device-global-cmds.c, ipmi-device-global-cmds-udm.h, and ipmi-device-global-cmds-udm.c respectively. * libfreeipmi/src/ipmi-msg-support-cmds, libfreeipmi/src/ipmi-msg-support-cmds.c, libfreeipmi/src/ipmi-msg-support-cmds-udm.h, libfreeipmi/src/ipmi-msg-support-cmds-udm.c: Renamed to ipmi-messaging-support-cmds.h, ipmi-messaging-support-cmds.c, ipmi-messaging-support-cmds-udm.h, and ipmi-messaging-support-cmds-udm.c respectively. * libfreeipmi/src/ipmi-sdr-repo-cmds, libfreeipmi/src/ipmi-sdr-repo-cmds.c, libfreeipmi/src/ipmi-sdr-repo-cmds-udm.h, libfreeipmi/src/ipmi-sdr-repo-cmds-udm.c: Renamed to ipmi-sdr-repository-cmds.h, ipmi-sdr-repository-cmds.c, ipmi-sdr-repository-cmds-udm.h, and ipmi-sdr-repository-cmds-udm.c respectively. * libfreeipmi/src/ipmi-sdr-repo-cache, libfreeipmi/src/ipmi-sdr-repo-cache.c: Renamed to ipmi-sdr-repository-cache-api.h and ipmi-sdr-repository-cache-api.c respectively. * libfreeipmi/, fish/, bmc-watchdog/: Adjust code appropriately. * libfreeipmi/src/ipmi-sdr-repository-cache-api.h, libfreeipmi/src/ipmi-sdr-repository-cache-api.c (ipmi_is_sensor_reading_available, ipmi_sdr_repository_cache_sensor_classify, ipmi_sdr_repository_cache_get_sensor_group, ipmi_sdr_repository_cache_get_sensor_name): Remove legacy utility functions. 2006-02-17 Albert Chu * libfreeipmi/src/ipmi-sensor-cmds.h, libfreeipmi/src/ipmi-sensor-cmds.c: Code cleanup. * libfreeipmi/, fish/: Adjust code appropriately. * tagged freeipmi_0_3_0_libfreeipmi_template_function_cleanup * merged in freeipmi_0_3_0_libfreeipmi_template_function_cleanup from freeipmi_0_3_0_devel_branch. 2006-02-16 Albert Chu * libfreeipmi/src/ipmi-pef-cmds.h, libfreeipmi/src/ipmi-pef-cmds.c: Code cleanup. * libfreeipmi/src/ipmi-pef-param-spec.h: Add new entries. * libfreeipmi/, fish/: Adjust code appropriately. * libfreeipmi/src/ipmi-pef-cmds.h, libfreeipmi/src/ipmi-pef-cmds.c, libfreeipmi/src/ipmi-sol-cmds.h, libfreeipmi/src/ipmi-sol-cmds.c, libfreeipmi/src/ipmi-lan-cmds.h, libfreeipmi/src/ipmi-lan-cmds.c, libfreeipmi/src/ipmi-serial-cmds.c, libfreeipmi/src/ipmi-serial-cmds.h: Alter naming convention. * libfreeipmi/src/ipmi-sdr-repo-cmds.h, libfreeipmi/src/ipmi-sdr-repo-cmds.c: Code cleanup. * libfreeipmi/, fish/: Adjust code appropriately. * libfreeipmi/src/ipmi-sel-cmds.h, libfreeipmi/src/ipmi-sel-cmds.c: Code cleanup. * libfreeipmi/, fish/: Adjust code appropriately. * libfreeipmi/src/ipmi-sdr-record-types.c: Cleanup templates. * libfreeipmi/, fish/: Adjust code appropriately. * libfreeipmi/src/ipmi-sel-record-types.c: Cleanup templates. * libfreeipmi/src/ipmi-sel-record-types.h, libfreeipmi/src/ipmi-sel-record-types.c, libfreeipmi/src/ipmi-sel-api.h, libfreeipmi/src/ipmi-sel-api.c: Reorganize code. * libfreeipmi/, fish/: Adjust code appropriately. 2006-02-15 Albert Chu * libfreeipmi/, ipmipower/, fish/: Continued lan-cmds and msg-support-cmds cleanup. * libfreeipmi/src/ipmi-lan-interface.c (unassemble_ipmi_lan_pkt), libfreeipmi/src/ipmi-debug.c (ipmi_dump_lan_packet): Fix unassembly bug. * libfreeipmi/src/ipmi-dev-global-cmds.h, libfreeipmi/src/ipmi-dev-global-cmds.c: Cleanup. * fish/, bmc-info/, libfreeipmi/: Adjust code appropriately. * libfreeipmi/src/ipmi-comp-code-spec.h, libfreeipmi/src/ipmi-error.c: Add new reset watchdog timer error codes and error strings. * libfreeipmi/src/ipmi-chassis-cmds.h, libfreeipmi/src/ipmi-chassis-cmds.c: Code cleanup. * libfreeipmi/, ipmipower/: Adjusted code appropriately. * libfreeipmi/src/ipmi-serial-cmds.h, libfreeipmi/src/ipmi-serial-cmds.c: Support variable length configuration templates. Code cleanup. * libfreeipmi/, fish/: Adjusted code appropriately. * libfreeipmi/src/ipmi-comp-code-spec.h: Add completion codes for lan, serial-modem, pef, and sol configuration commands. * libfreeipmi/src/ipmi-error.c: Add error messages for lan, serial-modem, pef, and sol configuration commands. * libfreeipmi/src/ipmi-cmd-spec.h: Add SOL commands. * libfreeipmi/src/ipmi-sol-param-spec.h: New file. * libfreeipmi/src/ipmi-sol-cmds.h, libfreeipmi/src/ipmi-sol-cmds.c: Code cleanup. * libfreeipmi/ : Adjust code appropriately. 2006-02-14 Albert Chu * libfreeipmi/src/rmcp.c (tmpl_cmd_asf_presence_pong): Add security extensions bit field. * libfreeipmi/src/rmcp.h, libfreeipmi/src/rmcp.c: Code cleanup. * rmcpping/, ipmipower/, fish/: Adjust code appropriately. * libfreeipmi/src/ipmi-lan-cmds.h, libfreeipmi/src/ipmi-lan-cmds.c: Support variable length configuration templates. Code cleanup. * fish/, libfreeipmi/, bmc-watchdog/: Adjust code appropriately. * libfreeipmi/src/ipmi-utils.h, libfreeipmi/src/ipmi-utils.c (ipmi_ipv4_address_string2int, ipmi_mac_address_string2int): New functions. * fish/src/bmc-conf2.c (set_bmc_lan_conf_ip_address, set_bmc_lan_conf_mac_address): Use new function. * libfreeipmi/src/ipmi-watchdog.h, libfreeipmi/src/ipmi-watchdog.c: Code cleanup. * libfreeipmi/src/ipmi-msg-support-cmds.h, libfreeipmi/src/ipmi-msg-support-cmds.c: Code cleanup. * libfreeipmi/src/ipmi-msg-support-cmds.h: Consolidate the multiple user name, password, challenge string, and auth-code defines. Cleanup auth-type defines. * libfreeipmi/, ipmiping/, ipmipower/, fish/: Adjust code appropriately. 2006-02-13 Albert Chu * libfreeipmi/src/ipmi-utils.h, libfreeipmi/src/ipmi-utils.c (ipmi_chksum_test): Removed function. * libfreeipmi/src/rmcp.h, libfreeipmi/src/rmcp.c: Rename tmpl_hdr_rmcp to tmpl_rmcp_hdr. * Push naming consistency across code: - fill_hdr_session -> fill_lan_session_hdr - obj_msg_hdr -> obj_lan_msg_hdr - obj_msg_trlr -> obj_lan_msg_trlr - tmpl_msg_hdr -> tmpl_lan_msg_hdr - tmpl_msg_trlr -> tmpl_lan_msg_trlr - tmpl_hdr_rmcp -> tmpl_rmcp_hdr - obj_hdr_rmcp -> obj_rmcp_hdr - "hdr_rmcp" -> "rmcp_hdr" * libfreeipmi/src/ipmi-sessions.h, libfreeipmi/src/ipmi-sessions.c (check_hdr_session_session_seq_num, check_hdr_session_session_id): Rename to ipmi_lan_check_session_seq_num, ipmi_lan_check_session_id. * libfreeipmi/src/ipmi-sessions.h, libfreeipmi/src/ipmi-sessions.c, libfreeipmi/src/ipmi-lan-interface-udm.c, ipmipower/src/ipmipower_powercmd.c (check_hdr_session_authcode): Rename to ipmi_lan_check_session_authcode. * libfreeipmi/src/ipmi-sessions.h, libfreeipmi/src/ipmi-sessions.c: Removed files. Moved all code into ipmi-lan-interface.h and ipmi-lan-interface.c. * libfreeipmi/src/freeipmi.h: Remove ipmi-sessions.h. * libfreeipmi/src/ipmi-lan-cmds.h, libfreeipmi/src/ipmi-lan-cmds.c, libfreeipmi/src/ipmi-lan-cmds-udm.h, libfreeipmi/src/ipmi-lan-cmds-udm.c: Code cleanup. Make code more consistent with IPMI spec. * fish/src/bmc-conf2.c, fish/src/scm-procedures.c, fish/src/extensions.c, fish/extensions/bc-lan-conf-section.scm, fish/extensions/bc-lan-conf-misc-section.scm: Adjust for code changes. * libfreeipmi/src/ipmi-msg-support-cmds.h, libfreeipmi/src/ipmi-msg-support-cmds.c: Code cleanup. Make function name consistent with rest of library. * libfreeipmi/src/ipmi-msg-support-cmds-udm.c: Adjust for code changes. * libfreeipmi/src/ipmi-watchdog.h, libfreeipmi/src/ipmi-watchdog.c: Code cleanup. * libfreeipmi/src/bmc-watchdog.c: Adjust for code changes. * libfreeipmi/src/rmcp.c: Code cleanup. 2006-02-13 Albert Chu Collective fixes from branch al_fiid_rearchitect_branch at tag al_fiid_rearchitect_branch_final. See ChangeLog in branch for detailed day by day changes. * libfreeipmi/src/fiid.h, libfreeipmi/src/fiid.c: Re-implemented with new, more abstract interface. * libfreeipmi/src/bit-ops.c (bits_extract, bits_merge): Add parameter checks. * libfreeipmi/src/bit-ops.c (bits_merge): Fix bit shifting bug. * libfreeipmi/src/ipmi-chassis-cmds.c: Support optional fields with get chassis status response and chassis identify request. * libfreeipmi/src/ipmi-sessions.h, libfreeipmi/src/ipmi-sessions.c, libfreeipmi/src/ipmi-lan-interface.c: Support optional auth_code in LAN sessio header through one template. * libfreeipmi/src/ipmi-lan-interface-udm.c: Use interface assemble/unassembly functions rather than UDM functions. * Support new fiid interface globally. 2006-02-13 Albert Chu * libfreeipmi/src/ipmi-kcs-interface.c (ipmi_kcs_read): Fix logic bug. * tagged al_libfreeipmi_cleanup_branch_final_merge_complete. * libfreeipmi/src/ipmi-udm.c (ipmi_inband_close, ipmi_cmd): SSIF interface bug fixes. * libfreeipmi/src/ipmi-udm.h: Remove unecessary struct members. * tagged al_libfreeipmi_cleanup_branch_final_merge_complete_2. 2006-02-13 Albert Chu * Bring in cleanup changes from al_libfreeipmi_cleanup_branch at tag al_libfreeipmi_cleanup_branch_final. * libfreeipmi/src/ipmi-sensor-types.h, libfreeipmi/src/ipmi-sensor-types.c: Remove old unused arrays. * libfreeipmi/src/ipmi-sensor-types.c (ipmi_sensor_threshold_health_check, ipmi_sensor_discrete_health_check): Removed functions. * libfreeipmi/src/ipmi-utils.h, libfreeipmi/src/ipmi-utils.c, libfreeipmi/src/ipmi-lan-interface.c: Replace ipmi_chksum_t definition with int8_t. * libfreeipmi/src/rmcp.c (ipmi_rmcp_ping), fish/src/ipmi-wrapper.c (ipmi_rmcp_ping): Moved function from libfreeipmi into fish because it is really a convenience function. * libfreeipmi/src/ipmi-interface.h, libfreeipmi/src/ipmi-msg-support-cmds.h: Move #defines from ipmi-interface.h to ipmi-msg-support-cmds.h. * libfreeipmi/src/ipmi-chassis-cmds-udm.c, libfreeipmi/src/ipmi-chassis-cmds-udm.h, libfreeipmi/src/ipmi-dev-global-cmds-udm.c, libfreeipmi/src/ipmi-dev-global-cmds-udm.h, libfreeipmi/src/ipmi-lan-cmds-udm.c, libfreeipmi/src/ipmi-lan-cmds-udm.h, libfreeipmi/src/ipmi-msg-support-cmds-udm.c, libfreeipmi/src/ipmi-msg-support-cmds-udm.h, libfreeipmi/src/ipmi-pef-cmds-udm.c, libfreeipmi/src/ipmi-pef-cmds-udm.h, libfreeipmi/src/ipmi-sdr-repo-cmds-udm.c, libfreeipmi/src/ipmi-sdr-repo-cmds-udm.h, libfreeipmi/src/ipmi-sel-cmds-udm.c, libfreeipmi/src/ipmi-sel-cmds-udm.h, libfreeipmi/src/ipmi-sensor-cmds-udm.c, libfreeipmi/src/ipmi-sensor-cmds-udm.h, libfreeipmi/src/ipmi-serial-cmds-udm.c, libfreeipmi/src/ipmi-serial-cmds-udm.h, libfreeipmi/src/ipmi-sol-cmds-udm.c, libfreeipmi/src/ipmi-sol-cmds-udm.h, libfreeipmi/src/ipmi-lan-interface-udm.c, libfreeipmi/src/ipmi-lan-interface-udm.h, libfreeipmi/src/ipmi-ssif-interface-udm.c, libfreeipmi/src/ipmi-ssif-interface-udm.h, libfreeipmi/src/ipmi-kcs-interface-udm.c, libfreeipmi/src/ipmi-kcs-interface-udm.h: New files. * libfreeipmi/src/ipmi-chassis-cmds.c, libfreeipmi/src/ipmi-chassis-cmds.h, libfreeipmi/src/ipmi-dev-global-cmds.c, libfreeipmi/src/ipmi-dev-global-cmds.h, libfreeipmi/src/ipmi-lan-cmds.c, libfreeipmi/src/ipmi-lan-cmds.h, libfreeipmi/src/ipmi-msg-support-cmds.c, libfreeipmi/src/ipmi-msg-support-cmds.h, libfreeipmi/src/ipmi-pef-cmds.c, libfreeipmi/src/ipmi-pef-cmds.h, libfreeipmi/src/ipmi-sdr-repo-cmds.c, libfreeipmi/src/ipmi-sdr-repo-cmds.h, libfreeipmi/src/ipmi-sel-cmds.c, libfreeipmi/src/ipmi-sel-cmds.h, libfreeipmi/src/ipmi-sensor-cmds.c, libfreeipmi/src/ipmi-sensor-cmds.h, libfreeipmi/src/ipmi-serial-cmds.c, libfreeipmi/src/ipmi-serial-cmds.h, libfreeipmi/src/ipmi-sol-cmds.c, libfreeipmi/src/ipmi-sol-cmds.h: libfreeipmi/src/ipmi-lan-interface.c, libfreeipmi/src/ipmi-lan-interface.h, libfreeipmi/src/ipmi-ssif-interface.c, libfreeipmi/src/ipmi-ssif-interface.h, libfreeipmi/src/ipmi-kcs-interface.c, libfreeipmi/src/ipmi-kcs-interface.h: Split off UDM code into specific UDM files. * libfreeipmi/src/ipmi-udm.h, libfreeipmi/src/ipmi-udm.c: Rename ipmi-interface.h and ipmi-interface.c appropriately. * libfreeipmi/src/ipmi-serial-cmds.h, libfreeipmi/src/ipmi-lan-cmds.h: Add forgotten templates. * libfreeipmi/src/ipmi-msg-support-cmds.h: Add forgotten function prototypes. * libfreeipmi/src/ipmi-msg-support-cmds.h, libfreeipmi/src/ipmi-msg-support-cmds.c, libfreeipmi/src/ipmi-lan-interface.h, libfreeipmi/src/ipmi-lan-interface.c: Remove old functions. * libfreeipmi/src/ipmi-utils.h, libfreeipmi/src/ipmi-utils.c, libfreeipmi/src/acpi-spmi-locate.c (ipmi_ioremap, ipmi_iounmap, ipmi_get_physical_mem_data): Move from ipmi-utils.h and ipmi-utils.c into acpi-spmi-locate.c. * libfreeipmi/src/ipmi-debug.h, libfreeipmi/src/ipmi-debug.c (fiid_obj_dump_setup, fiid_obj_dump_perror, fiid_obj_dump, fiid_obj_dump_lan, fiid_obj_dump_rmcp): Rename functions to ipmi_dump_setup, ipmi_obj_dump_perror, ipmi_obj_dump, ipmi_dump_lan_packet, and ipmi_dump_rmcp_packet respectively. * Support function re-naming throughout code. * libfreeipmi/src/ipmi-kcs-interface.h, libfreeipmi/src/ipmi-kcs-interface.c: Modify KCS interface. * libfreeipmi/src/ipmi-udm.c, libfreeipmi/src/ipmi-kcs-interface-udm.c: Support new KCS interface. * libfreeipmi/src/ipmi-ssif-interface.h, libfreeipmi/src/ipmi-ssif-interface.c: Modify SSIF interface. * libfreeipmi/src/ipmi-udm.c, libfreeipmi/src/ipmi-ssif-interface-udm.c: Support new SSIF interface. 2006-02-13 Albert Chu * rmcpping/, ipmiping/, ipmipower/, bmc-watchdog/, common/, doc/examples: Fix remaining copyright notices. * tagged freeipmi_0_3_0_devel_branch and freeipmi_0_3_0_devel_branch_base. 2006-02-12 Anand Babu * Copyright notices: Updated new FSF's address. 2006-02-10 Anand Babu * Tagged Release-0_2_0. 2006-02-10 A Balamurugan * doc/freeipmi.texi: updated. * fish/bmc-config.8.pre.in: updated. 2006-02-10 A Balamurugan * ipmi-raw/src/ipmi-raw.c: bug fix of command hex bytes execution. 2006-02-09 A Balamurugan * doc/examples/Makefile.am: fix for bug #15689, to build non-inst examples. * doc/examples/udm-test.c: updated. 2006-02-09 A Balamurugan * freeipmi.spec.in: updated. * doc/examples/Makefile.am: updated. 2006-02-09 A Balamurugan * doc/examples/ipmi-lan-test.c: removed. * doc/examples/Makefile.example: updated. * doc/examples/udm-test.c: updated. 2006-02-09 Albert Chu * configure.ac: Increment libfreeipmi version with release coming up. 2006-02-09 A Balamurugan * libfreeipmi/src/ipmi-lan-cmds.c, libfreeipmi/src/ipmi-pef-cmds.c, libfreeipmi/src/ipmi-sel-api.c, libfreeipmi/src/ipmi-sensor-api.c: fixed compiler warnings. 2006-02-09 Albert Chu * libfreeipmi/src/ipmi-lan-cmds.h, libfreeipmi/src/ipmi-pef-cmds.h, libfreeipmi/src/ipmi-sdr-repo-cmds.h, libfreeipmi/src/ipmi-sel-cmds.h, libfreeipmi/src/ipmi-sensor-cmds.h, libfreeipmi/src/ipmi-serial-cmds.h, libfreeipmi/src/ipmi-sol-cmds.h: Add mising fill functions. 2006-02-09 A Balamurugan * ipmi-raw/doc/ipmi-raw.8.pre.in: updated. * ipmi-raw/src/ipmi-raw-argp.[ch]: added --file argument and command hex bytes as argument. fixed bug #15599 and bug #15600. * ipmi-raw/src/ipmi-raw.c: updated. 2006-02-09 Albert Chu * libfreeipmi/src/ipmi-lan-cmds.c (fill_lan_set_arp, fill_lan_set_gratuitous_arp_interval, fill_lan_set_auth_type_enables, fill_lan_set_ip_addr_source, fill_lan_set_ip_addr, fill_lan_set_vlan_id, fill_lan_set_vlan_priority, fill_lan_set_subnet_mask, fill_lan_set_mac_addr, fill_get_lan_conf_param, fill_suspend_bmc_arps), libfreeipmi/src/ipmi-pef-cmds.c (fill_kcs_alert_immediate, fill_kcs_get_pef_conf_param, fill_kcs_set_pef_control, fill_kcs_set_global_action_control, fill_kcs_set_startup_delay, fill_kcs_set_alert_startup_delay, fill_kcs_set_num_event_filters, fill_kcs_set_filter_table_entry, fill_kcs_set_filter_table_data1, fill_kcs_set_num_alert_policies, fill_kcs_set_alert_string_keys, fill_kcs_arm_pef_postpone_timer, fill_kcs_set_last_processed_event, fill_kcs_pet_ack), libfreeipmi/src/ipmi-sel-cmds.c (fill_kcs_get_sel_entry, fill_kcs_delete_sel_entry, fill_kcs_clear_sel), libfreeipmi/src/ipmi-sensor-cmds.c (fill_kcs_get_threshold_reading, fill_kcs_get_discrete_reading, fill_kcs_get_sensor_thresholds), libfreeipmi/src/ipmi-serial-cmds.c (fill_set_serial_connmode, fill_set_serial_page_blackout_interval, fill_set_serial_retry_time, fill_set_serial_comm_bits, fill_get_serial_conf_param), libfreeipmi/src/ipmi-sol-cmds.c (fill_sol_conf_sol_enable_disable, fill_get_sol_conf_param): Fix function prototype consistency issue. * libfreeipmi/src/ipmi-lan-cmds.c, libfreeipmi/src/ipmi-pef-cmds.c, libfreeipmi/src/ipmi-sel-cmds.c, libfreeipmi/src/ipmi-sensor-cmds.c, libfreeipmi/src/ipmi-serial-cmds.c, libfreeipmi/src/ipmi-sol-cmds.c: Adjust function calls for new prototypes appropriately. 2006-02-08 Albert Chu * libfreeipmi/src/ipmi-sensor-event-messages.c: Move strings into arrays as much as possible. * libfreeipmi/src/ipmi-sensor-types.c: Add forgotten string. * libfreeipmi/src/libfreeipmi/src/ipmi-sensor-event-messages.c: Add new/modified event message strings from errata. * libfreeipmi/src/ipmi-sensor-event-messages.c (get_0D_event_message, get_1B_event_message, get_1D_event_data2_message, get_1D_event_data3_message, get_28_event_data3_message, get_28_event_data2_message): New functions. * libfreeipmi/src/ipmi-sensor-event-messages.c (get_0C_event_message, get_1D_event_message, get_20_event_message, get_28_event_message): Adjust offsets. * libfreeipmi/src/ipmi-sensor-event-messages.c (ipmi_get_event_data3_message, ipmi_get_event_data2_message, ipmi_get_event_message): Add new functions. * libfreeipmi/src/ipmi-chassis-cmds.c: Support new options in tmpl_cmd_get_chassis_status_rs from ipmi 2.0 errata. 2006-02-07 Albert Chu * libfreeipmi/src/ipmi-utils.h, libfreeipmi/src/ipmi-utils.c (ipmi_is_root): Removed function. * libfreeipmi/src/ipmi-error.h, libfreeipmi/src/ipmi-error.c (ipmi_error): Removed function. * common/src/ipmi-common.h, common/src/ipmi-common.c: New files. * common/src/Makefile.am, bmc-info/src/Makefile.am, ipmi-raw/src/Makefile.am, ipmi-locate/src/Makefile.am, bmc-info/src/bmc-info.c, ipmi-raw/src/ipmi-raw.c, ipmi-locate/src/ipmi-locate.c, fish/src/Makefile.am, fish/src/common.h: Support and make use of new common lib. * libfreeipmi/src/ipmi-sha1.h, libfreeipmi/src/ipmi-sha1.c, libfreeipmi/src/ipmi-hmac.h, libfreeipmi/src/ipmi-hmac.c: Removed files. * libfreeipmi/src/Makefile.am, libfreeipmi/src/freeipmi.h: Remove appropriate files. * libfreeipmi/src/ipmi-cmd-spec.h, libfreeipmi/src/ipmi-lan-cmds.h, libfreeipmi/src/ipmi-serial-cmds.h, libfreeipmi/src/ipmi-pef-cmds.h: Move non-cmd-spec #defines out of ipmi-cmd-spec.h. * fish/src/bmc-conf2.c, fish/src/scm-procedures.c: Adjust code appropriately. * libfreeipmi/src/ipmi-error.h, libfreeipmi/src/ipmi-kcs-interface.h: Move kcs error codes from ipmi-error.h to ipmi-kcs-interface.h. * libfreeipmi/src/ipmi-error.c (ipmi_kcs_strstatus_r): Use new definition strings. * libfreeipmi/src/ipmi-sensor-types.h: Remove commented out code. * libfreeipmi/src/ipmi-sensor-types.c: Fix typos. * libfreeipmi/src/ipmi-utils.h, libfreeipmi/src/ipmi-utils.c (ipmi_input_timeout, ipmi_get_random_seed): Removed functions. * libfreeipmi/src/ipmi-sensor-utils.h, libfreeipmi/src/ipmi-sensor-utils.c (ipmi_sensor_decode_value_old, ipmi_sensor_get_decode_params_old): Removed functions. * libfreeipmi/src/ipmi-sensor-utils.h: Fix "is_signed" typoed parameter. 2006-02-06 Anand Babu * configure.ac: Closes bug #15550 "configure guile warning misleading". guile.m4 installed by guile development library was used to check guile installation recursively. Thanks to Keith Owens from SGI for reporting this bug. 2006-02-06 Albert Chu * libfreeipmi/src/ipmi-ssif-interface.c (ipmi_ssif_cmd2): Fix ssif read bug. * libfreeipmi/src/ipmi-netfn-spec.c: Removed file. * libfreeipmi/src/ipmi-netfn-spec.h: Removed pre 0.1.0 remnant code. * doc/examples/Makefile.am: Fix distcheck. * common/src/Makefile.am: Make libargpcommon.la library. * bmc-info/src/Makefile.am, ipmi-raw/src/Makefile.am: Use new util library. * common/src/arg-common.c: Use config.h for #includes. * common/src/Makefile.am, ipmiping/src/Makefile.am, rmcpping/src/Makefile.am: Linking cleanup. 2006-02-05 Albert Chu * libfreeipmi/src/ipmi-msg-interface-desc.h: Remove duplicate code. Comp Code cleanup. * libfreeipmi/src/ipmi-comp-code-spec.h: New file. 2006-02-04 Albert Chu * libfreeipmi/src/acpi-spmi-locate.c (ipmi_acpi_get_spmi_table): Fix parameter overwriting bug. 2006-02-03 Albert Chu * fish/src/ipmi-wrapper.c (ipmi_ping): Remove incorrect warning message. * libfreeipmi/src/ipmi-msg-support-cmds.c (ipmi_cmd_get_channel_info2, ipmi_cmd_get_channel_access2, ipmi_cmd_get_user_access2, ipmi_cmd_set_user_access2, ipmi_cmd_set_user_password2, ipmi_cmd_get_user_name2, ipmi_cmd_set_user_name2, ipmi_cmd_set_channel_access2): Fix parameter checks. * libfreeipmi/src/ipmi-kcs-interface.c (ipmi_kcs_cmd2): Fix kcs read bug. 2006-02-02 Albert Chu * libfreeipmi/src/ipmi-sensor-utils.c (ipmi_sensor_get_decode_params_old, ipmi_sensor_get_decode_params), libfreeipmi/src/ipmi-sol-cmds.c (ipmi_cmd_sol_conf_get_sol_enable2, ipmi_cmd_sol_conf_sol_enable_disable2, fill_get_sol_conf_param, fill_sol_conf_sol_enable_disable), libfreeipmi/src/ipmi-pef-cmds.c (fill_kcs_alert_immediate, fill_kcs_get_pef_conf_param, fill_kcs_set_pef_control, fill_kcs_set_global_action_control, fill_kcs_set_startup_delay, fill_kcs_set_alert_startup_delay, fill_kcs_set_filter_table_entry, fill_kcs_set_num_event_filters, fill_kcs_set_filter_table_data1, fill_kcs_set_num_alert_policies, fill_kcs_get_pef_caps, fill_kcs_arm_pef_postpone_timer, fill_kcs_set_last_processed_event, fill_kcs_get_last_proessed_event, ipmi_cmd_set_pef_control2, ipmi_cmd_set_global_action_control2, ipmi_cmd_set_startup_delay2, ipmi_cmd_set_num_event_filters2, ipmi_cmd_set_alert_startup_delay2, ipmi_cmd_set_filter_table_entry2, ipmi_cmd_set_filter_table_data1_2, ipmi_cmd_set_num_alert_policies2, ipmi_cmd_alert_immediate2, ipmi_cmd_get_pef_alert_string2, ipmi_cmd_get_pef_alert_string_keys2, ipmi_cmd_get_pef_num_alert_policies2, ipmi_cmd_get_pef_num_alert_strings2, ipmi_cmd_get_pef_filter_data1_2, ipmi_cmd_get_pef_control2, ipmi_cmd_get_pef_global_action_control2, ipmi_cmd_get_pef_startup_delay2, ipmi_cmd_get_pef_alert_startup_delay2, ipmi_cmd_get_pef_num_event_filters2, ipmi_cmd_get_pef_filter_table_entry2, ipmi_cmd_get_pef_caps2, ipmi_cmd_arm_pef_postpone_timer2, ipmi_cmd_set_last_processed_event2, ipmi_cmd_get_last_processed_event2, ipmi_cmd_pet_ack2), libfreeipmi/src/ipmi-sensor-types.c (ipmi_sensor_threshold_health_check, ipmi_sensor_discrete_health_check), libfreeipmi/src/ipmi-sensor-cmds.c (fill_kcs_get_threshold_reading, fill_kcs_get_discrete_reading, ipmi_cmd_get_threshold_reading2, ipmi_cmd_get_discrete_reading2, ipmi_cmd_get_sensor_thresholds2), libfreeipmi/src/ipmi-sel-record-types.c (get_sel_system_event_record, get_sel_record, get_sel_non_timestamped_oem_record, get_sel_timestamped_oem_record), libfreeipmi/src/ipmi-sel-record-types.c (get_sel_timestamped_oem_record, get_sel_non_timestamped_oem_record), libfreeipmi/src/ipmi-sel-cmds.c (fill_kcs_reserve_sel, fill_kcs_get_sel_entry, fill_kcs_delete_sel_entry, fill_kcs_clear_sel, ipmi_cmd_get_sel_info2, ipmi_cmd_get_sel_alloc_info2, ipmi_cmd_reserve_sel2, ipmi_cmd_get_sel_entry2, ipmi_cmd_delete_sel_entry2, ipmi_cmd_clear_sel2), libfreeipmi/src/ipmi-serial-cmds.c (ipmi_cmd_set_serial_connmode2 ipmi_cmd_set_serial_page_blackout_interval ipmi_cmd_set_serial_retry_time2 ipmi_cmd_set_serial_comm_bits2 ipmi_cmd_get_serial_connmode2 ipmi_cmd_get_serial_page_blackout2 ipmi_cmd_get_serial_retry_time2 ipmi_cmd_get_serial_comm_bits2), libfreeipmi/src/ipmi-sel-api.c (ipmi_sel_get_first_entry, ipmi_sel_get_next_entry, get_sel_info), libfreeipmi/src/ipmi-sensor-api.c (get_sensor_reading, get_sdr_record, get_sdr_oem_record, get_sdr_management_controller_device_locator_record, get_sdr_logical_fru_device_locator_record, get_sdr_generic_device_locator_record, get_sdr_entity_association_record, get_sdr_event_only_record, get_sdr_compact_record, get_sdr_full_record): Fix parameter checks. * libfreeipmi/src/ipmi-pef-cmds.c (fill_kcs_alert_immediate, fill_kcs_get_pef_conf_param, fill_kcs_set_pef_control, fill_kcs_set_global_action_control, fill_kcs_set_startup_delay, fill_kcs_set_alert_startup_delay, fill_kcs_set_filter_table_entry, fill_kcs_set_num_event_filters, fill_kcs_set_filter_table_data1, fill_kcs_set_num_alert_policies, fill_kcs_get_pef_caps, fill_kcs_arm_pef_postpone_timer, fill_kcs_set_last_processed_event, fill_kcs_get_last_proessed_event): Make non-static. * libfreeipmi/src/ipmi-pef-cmds.c: Fix templates with duplicate field names. * libfreeipmi/src/ipmi-sensor-event-messages.c (get_2A_event_data2_message): Fix typo. * libfreeipmi/src/ipmi-sensor-api.h, libfreeipmi/src/ipmi-sensor-api.c (get_sdr_record, get_sensor_reading): Make return type int8_t. * libfreeipmi/src/ipmi-sensor-api.c (get_sdr_event_only_record): Fix incorrect template usage typo. 2006-02-01 Albert Chu * libfreeipmi/src/ipmi-sdr-repo-cache.c (ipmi_sdr_repo_info_write, ipmi_sdr_records_write, ipmi_sdr_cache_create): Fix parameter checks. * libfreeipmi/src/ipmi-sdr-repo-cmds.c (fill_kcs_get_repo_info, fill_kcs_reserve_repo, fill_kcs_get_repo_alloc_info, fill_kcs_get_sdr_chunk, ipmi_cmd_get_sdr_repo_info2, ipmi_cmd_get_sdr_repo_alloc_info2, ipmi_cmd_reserve_sdr_repo2, ipmi_cmd_get_sensor_record_header2, ipmi_cmd_get_sdr_chunk2, ipmi_cmd_get_sdr2): Fix parameter checks. * libfreeipmi/src/ipmi-sdr-repo-cmds.c (ipmi_cmd_get_sensor_record_header2, ipmi_cmd_get_sdr_chunk2): Use fiid_template_free. 2006-02-01 Albert Chu * libfreeipmi/src/ipmi-msg-support-cmds.c (fill_cmd_activate_session, ipmi_lan_open_session, fill_kcs_get_user_name): Fix parameter checks. * libfreeipmi/src/ipmi-chassis-cmds.h (IPMI_CHASSIS_FORCE_IDENTIFY_VALID): New macro. * libfreeipmi/src/ipmi-chassis-cmds.c (fill_cmd_chassis_identify): Fix parameter checks. * libfreeipmi/src/fiid.c (__fiid_template_make): Fix string copy corner case. * libfreeipmi/src/ipmi-lan-cmds.h, libfreeipmi/src/ipmi-lan-cmds.c (ipmi_cmd_lan_set_auth_type_enables2, fill_lan_set_auth_type_enables): Make functions pristine to IPMI spec. * fish/src/bmc-conf2.c (_fill_lan_set_auth_type_enables): New function. * fish/src/bmc-conf2.c (set_bmc_lan_conf_auth_type_enables): Use convenience template. * libfreeipmi/src/ipmi-lan-cmds.c (fill_lan_set_ip_addr_source, fill_lan_set_ip_addr, fill_lan_set_vlan_id, fill_suspend_bmc_arps, ipmi_cmd_lan_set_arp2, ipmi_lan_set_gratuitous_arp_interval2, ipmi_cmd_lan_set_auth_type_enables2, ipmi_cmd_lan_set_ip_addr_source2, ipmi_cmd_lan_set_ip_addr2, ipmi_cmd_lan_set_default_gw_ip_addr2, ipmi_cmd_lan_set_backup_gw_ip_addr2, ipmi_cmd_lan_set_backup_gw_ip_addr2, ipmi_cmd_lan_set_vlan_priority2, ipmi_cmd_lan_set_subnet_mask2, ipmi_cmd_lan_set_mac_addr2, ipmi_cmd_lan_set_default_gw_mac_addr2, ipmi_cmd_lan_set_backup_gw_mac_addr2, ipmi_cmd_lan_get_arp2, ipmi_cmd_lan_get_gratuitous_arp_interval2, ipmi_cmd_lan_get_auth_type_enables2, ipmi_cmd_lan_get_ip_addr_source2, ipmi_cmd_lan_get_ip_addr2, ipmi_cmd_lan_get_default_gw_ip_addr2, ipmi_cmd_lan_get_backup_gw_ip_addr2, ipmi_cmd_lan_get_subnet_mask2, ipmi_cmd_lan_get_mac_addr2, ipmi_cmd_lan_get_default_gw_mac_addr2, ipmi_cmd_lan_get_backup_gw_mac_addr2, ipmi_cmd_lan_get_vlan_id2, ipmi_cmd_lan_get_vlan_priority2, ipmi_cmd_suspend_bmc_arps2) ): Fix parameter checks. * libfreeipmi/src/ipmi-lan-cmds.h (IPMI_ENABLE_BMC_GENERATED_GRATUITOUS_ARPS_VALID, IPMI_ENABLE_BMC_GENERATED_ARP_RESPONSES_VALID, IPMI_IP_ADDR_SOURCE_VALID, IPMI_BMC_GENERATED_GRATUITOUS_ARP_VALID, IPMI_BMC_GENERATED_ARP_RESPONSE_VALID): New macros. * libfreeipmi/src/ipmi-lan-cmds.c (tmpl_set_lan_conf_param_vlan_id_rq, tmpl_set_lan_conf_param_vlan_priority_rq): Fix field naming bugs. 2006-01-31 Albert Chu * libfreeipmi/src/ipmi-lan-interface.c (ipmi_lan_cmd2): Remove debugging statements. * libfreeipmi/src/ipmi-lan-interface.c (get_rq_checksum1, get_rq_checksum1, get_rq_checksum2, get_rs_checksum2, fill_lan_msg_hdr2, fill_lan_msg_trlr2, fill_hdr_session2, _ipmi_lan_pkt_rq_size2, _ipmi_lan_pkt_rs_size2, unassemble_ipmi_lan_pkt2, ipmi_lan_validate_checksum, ipmi_lan_cmd_raw_send): Fix parameter checks. * libfreeipmi/src/ipmi-msg-support-cmds.c (fill_kcs_set_channel_access, fill_kcs_set_user_name, fill_kcs_get_user_name, fill_kcs_set_user_password, fill_kcs_set_user_access, fill_kcs_get_user_access, fill_kcs_get_channel_access, fill_kcs_get_channel_info, ipmi_cmd_set_channel_access2, ipmi_cmd_set_user_name2, ipmi_cmd_get_user_name2, ipmi_cmd_set_user_password2, ipmi_cmd_set_user_access2, ipmi_cmd_get_user_access2, ipmi_cmd_get_channel_access2, ipmi_cmd_get_channel_info2): Fix consistency issue with fill function parameters. * libfreeipmi/src/ipmi-msg-support-cmds.c (ipmi_lan_open_session2): Fix parameter checks. * libfreeipmi/src/ipmi-lan-interface.c (get_rq_checksum2, get_rs_checksum2, ipmi_lan_cmd_raw2): Use fiid_template_free(). * libfreeipmi/src/ipmi-lan-interface.c (fill_hdr_session2): Fix endian bugs. * libfreeipmi/src/ipmi-semaphores.h (IPMI_MUTEX_LOCK, IPMI_MUTEX_UNLOCK): Revert fixes from 2005-08-30. * libfreeipmi/src/ipmi-lan-interface.c (ipmi_lan_cmd_raw2): Code cleanup. * libfreeipmi/src/ipmi-lan-interface.c (ipmi_lan_cmd_raw2): Fix buffer overflow bug. * ipmi-raw/src/ipmi-raw.c (main): Fix output bug. 2006-01-30 Albert Chu * bmc-watchdog/src/bmc-watchdog.c (_init_ipmi): Re-add error output message. * bmc-watchdog/src/bmc-watchdog.c (_FIID_OBJ_GET): Cleaned up code. * bmc-watchdog/src/bmc-watchdog.c: Remove all #if 0'd code. * libfreeipmi/src/ipmi-interface.c (ipmi_cmd): Add parameter checks. * libfreeipmi/src/ipmi-msg-support-cmds.c (ipmi_get_channel_number2): Add parameter check. * libfreeipmi/src/ipmi-dev-global-cmds.c (fill_cmd_get_dev_id): Add parameter check. * libfreeipmi/src/acpi-spmi-locate.c (ipmi_acpi_get_spmi_table): Add parameter checks. * bmc-watchdog/src/bmc-watchdog.c (_cmd): Fix debug output messages. * bmc-watchdog/src/bmc-watchdog.c (_daemon_cmd): Fix corner case. * bmc-watchdog/src/bmc-watchdog.c (_daemon_setup): Fix infinite loop bug. 2006-01-29 Albert Chu * libfreeipmi/src/ipmi-sessions.c (check_hdr_session_seq_num, check_hdr_session_session_id): Fix typecast typos. * libfreeipmi/src/ipmi-sessions.c (check_hdr_session_authcode): Fix parameter check. Fix corner case bugs. * ipmipower/src/ipmipower_checkc.c (_check_network_function): Fix debug output message. * libfreeipmi/src/ipmi-lan-interface.c (_ipmi_lan_pkt_size, _ipmi_lan_pkt_rq_size): Make functions static. * libfreeipmi/src/ipmi-lan-interface.c (_ipmi_lan_pkt_size): Add parameter check. * libfreeipmi/src/ipmi-kcs-interface.h, libfreeipmi/src/ipmi-kcs-interface (assemble_ipmi_kcs_pkt, unassemble_ipmi_kcs_pkt), libfreeipmi/src/rmcp.h, libfreeipmi/src/rmcp.c (assemble_rmcp_pkt, unassemble_rmcp_pkt: Change return type to int32_t for consistency. * libfreeipmi/src/ipmi-chassis-cmds.h, libfreeipmi/src/ipmi-chassis-cmds.c (fill_cmd_set_power_restore_policy): Fix prototype for consistency. Add parameter check. Add prototype to .h file. * libfreeipmi/src/ipmi-ping.h, libfreeipmi/src/ipmi-ping.c: Removed files. * libfreeipmi/src/Makefile.am: Remove ipmi-ping.h and ipmi-ping.c. * common/src/ipmi-ping.h, common/src/ipmi-ping.c: New files. * common/src/Makefile.am, rmcpping/src/Makefile.am, ipmiping/src/Makefile.am: Support new ping common lib. 2006-01-28 Albert Chu * libfreeipmi/src/ipmi-lan-interface.c (ipmi_lan_check_net_fn), libfreeipmi/src/ipmi-msg-support-cmds.c (ipmi_check_cmd, ipmi_check_comp_code, ipmi_lan_check_rq_seq): Fix typecast typos. * libfreeipmi/src/ipmi-interface.c (ipmi_outofband_free, ipmi_inband_free, ipmi_open_outofband): Fix corner cases. * ipmiping/src/ipmiping.c (parsepacket): Remove unnecessary code. * rmcpping/src/rmcpping.c, ipmiping/src/ipmiping.c: Code cleanup. * libfreeipmi/src/ipmi-ipmb-interface.h (IPMI_BMC_LUN_VALID): New macro. * libfreeipmi/src/ipmi-lan-interface.c (ipmi_check_net_fn): Use new IPMI_BMC_LUN_VALID macro. * ipmiping/src/ipmiping.c (parsepacket): Add additional debugging. * ipmipower/src/ipmipower_wrappers.h, ipmipower/src/ipmipower_wrappers.c (Fiid_obj_dump_rmcp): New function. * ipmipower/src/ipmipower_ping.c (ipmipower_ping_process_pings): Use fiid wrapper macros. * libfreeipmi/src/ipmi-chassis-cmds.h (fill_cmd_get_chassis_status, fill_cmd_chassis_ctrl): Add function prototypes. * ipmipower/src/ipmipower_packet.c: Remove unnecessary function prototypes. * libfreeipmi/src/ipmi-chassis-cmds.h (IPMI_CHASSIS_CTRL_VALID): New macro. * libfreeipmi/src/ipmi-chassis-cmds.c (fill_cmd_chassis_ctrl): Use IPMI_CHASSIS_CTRL_VALID. Fix ipmipower issues discovered by Keith Owens @ SGI. * ipmipower/ipmipower.8.in: Document additional machine compliance bug found with. * ipmipower/src/ipmipower_powercmd.c (_recv_packet): Fix segfault corner case. * ipmipower/src/: Fix gcc 4.0 warnings. 2006-01-26 A Balamurugan * libfreeipmi/src/ipmi-interface.c (ipmi_cmd_raw): fixed improper behavior bug. 2006-01-24 A Balamurugan * fish/scripts/bmc-autoconfig/bmc-autoconfig: improved. 2006-01-24 A Balamurugan * fish/scripts/bmc-autoconfig/bmc-config-template: new file. * fish/scripts/bmc-autoconfig/Makefile.am: updated. * fish/scripts/bmc-autoconfig/bmc-autoconfig: improved. 2006-01-24 A Balamurugan * fish/scripts/bmc-autoconfig/bmc-autoconfig: checks of template file existence. 2006-01-24 Albert Chu * libfreeipmi/src/ipmi-sessions.c (fill_hdr_session): Cleanup code logic. * libfreeipmi/src/ipmi-netfn-spec.h: Add IPMI_NET_FN_VALID macro. * libfreeipmi/src/ipmi-lan-interface.c (fill_lan_msg_hdr, ipmi_lan_check_net_fn): Use new macro. 2006-01-23 A Balamurugan * fish/src/scm-procedures.c (ex_sel_get_first_entry_raw, ex_sel_get_next_entry_raw, ex_sel_get_first_entry_hex, ex_sel_get_next_entry_hex, ex_sel_get_info_binary, ex_sel_get_first_entry, ex_sel_get_next_entry, ex_sel_delete_entry, ex_sel_clear, ex_sel_get_clear_status): display appropriate error/warning messages. 2006-01-23 Albert Chu * rmcpping/src/rmcpping.c (createpacket, parsepacket): Fix typos. * ipmipower/src/ipmipower.h, ipmipower/src/ipmipower_check.c (_check_session_id), ipmipower/src/ipmipower_config.c (ipmipower_config_setup, ipmipower_config_cmdline_parse, ipmipower_config_conffile_parse), ipmipower/src/ipmipower_prompt.c (_cmd_advanced, _cmd_config, ipmipower_prompt_process_cmdline): Support new --accept-session-id-zero option. * ipmipower/src/ipmipower.h, ipmipower/src/ipmipower_powercmd.c (_recv_packet), ipmipower/src/ipmipower_config.c (ipmipower_config_setup, ipmipower_config_cmdline_parse, ipmipower_config_conffile_parse), ipmipower/src/ipmipower_prompt.c (_cmd_advanced, _cmd_config, ipmipower_prompt_process_cmdline): Support new --check-unexpected-authcode option. * ipmipower/ipmipower.8.in, ipmipower/ipmipower.conf.5.in: Document new options. 2006-01-22 A Balamurugan * fish/src/scm-procedures.c (ex_sel_get_first_entry_raw, ex_sel_get_next_entry_raw, ex_sel_get_first_entry_hex, ex_sel_get_next_entry_hex, ex_sel_get_info_binary, ex_sel_get_first_entry, ex_sel_get_next_entry, ex_sel_delete_entry, ex_sel_clear, ex_sel_get_clear_status): display appropriate error/warning messages. * libfreeipmi/src/ipmi-sel-api.c (ipmi_sel_get_first_entry, ipmi_sel_get_next_entry, get_sel_info): set error.warning messages. * libfreeipmi/src/ipmi-sensor-api.c (get_sdr_record, get_sensor_reading): like wise. 2006-01-20 Anand Babu * Applied Anand Avati's patch for compiler warining fixes (gcc-4.0 is aggressive about issuing warinings for bad code) and 64/32-bit porting fixes. Avati also identified a bug in ipmi-raw.c. Following files are affected: bmc-info/src/bmc-info.c bmc-watchdog/src/bmc-watchdog.c fish/src/bmc-conf2.c fish/src/ipmi-wrapper.c fish/src/scm-procedures.c ipmi-locate/src/ipmi-locate.c ipmiping/src/ipmiping.c ipmipower/src/ipmipower_check.c ipmipower/src/ipmipower_connection.c ipmipower/src/ipmipower_packet.c ipmipower/src/ipmipower_ping.c ipmipower/src/ipmipower_powercmd.c ipmipower/src/ipmipower_prompt.c ipmipower/src/wrappers.c libfreeipmi/src/acpi-spmi-locate.c libfreeipmi/src/fiid.c libfreeipmi/src/freeipmi.h libfreeipmi/src/ipmi-chassis-cmds.c libfreeipmi/src/ipmi-debug.c libfreeipmi/src/ipmi-dev-global-cmds.c libfreeipmi/src/ipmi-kcs-interface.c libfreeipmi/src/ipmi-lan-cmds.c libfreeipmi/src/ipmi-lan-interface.c libfreeipmi/src/ipmi-lan-interface.h libfreeipmi/src/ipmi-md2.c libfreeipmi/src/ipmi-md5.c libfreeipmi/src/ipmi-msg-support-cmds.c libfreeipmi/src/ipmi-pef-cmds.c libfreeipmi/src/ipmi-sdr-repo-cache.c libfreeipmi/src/ipmi-sdr-repo-cmds.c libfreeipmi/src/ipmi-sel-api.c libfreeipmi/src/ipmi-sel-cmds.c libfreeipmi/src/ipmi-sel-record-types.c libfreeipmi/src/ipmi-sensor-api.c libfreeipmi/src/ipmi-sensor-cmds.c libfreeipmi/src/ipmi-sensor-event-messages.c libfreeipmi/src/ipmi-sensor-types.c libfreeipmi/src/ipmi-sensor-utils.c libfreeipmi/src/ipmi-serial-cmds.c libfreeipmi/src/ipmi-sessions.c libfreeipmi/src/ipmi-sol-cmds.c libfreeipmi/src/ipmi-ssif-interface.c libfreeipmi/src/ipmi-watchdog.c libfreeipmi/src/rmcp.c rmcpping/src/rmcpping.c 2006-01-20 Albert Chu * libfreeipmi/src/ipmi-error.c, libfreeipmi/src/ipmi-error.h, libfreeipmi/src/ipmi-sel-cmds.h: Fix consistency issue with declaration of error codes. Fix error message to be consistent with IPMI specification. 2006-01-19 A Balamurugan * doc/freeipmi.texi: updated. 2006-01-19 A Balamurugan * doc/freeipmi.texi: updated. * ipmi-raw/src/ipmi-raw.c (string2bytes): fixed logical/invalid pointer operation bug. 2006-01-09 Anand Babu * libfreeipmi/src/ipmi-kcs-interface.[c,h]: ipmi_kcs_get_mutex_semid, ipmi_kcs_io_init, ipmi_kcs_open, ipmi_kcs_write_interruptible, ipmi_kcs_cmd, ipmi_kcs_cmd_interruptible - obsolete API removed. Use UDM API instead. 2006-01-11 A Balamurugan * libfreeipmi/src/ipmi-chassis-cmds.[c,h]: removed kcs command functions. * libfreeipmi/src/ipmi-lan-cmds.[c,h]: like wise. * libfreeipmi/src/ipmi-serial-cmds.[c,h]: like wise. * libfreeipmi/src/ipmi-sol-cmds.[c,h]: like wise. 2006-01-06 A Balamurugan * libfreeipmi/src/ipmi-dev-global-cmds.c: removed kcs command functions. * libfreeipmi/src/ipmi-msg-support-cmds.c: like wise. * libfreeipmi/src/ipmi-pef-cmds.c: like wise. * libfreeipmi/src/ipmi-sdr-repo-cmds.c: like wise. * libfreeipmi/src/ipmi-sel-cmds.c: like wise. * libfreeipmi/src/ipmi-sensor-cmds.c: like wise. * libfreeipmi/src/ipmi-sdr-repo-cache.c (ipmi_sdr_repo_info_write, ipmi_sdr_records_write, ipmi_sdr_cache_create): uses udm functions. * bmc-watchdog/src/bmc-watchdog.c: updated. 2006-01-05 A Balamurugan * bmc-info/src/bmc-info.c: generates core when seg-faults. * fish/src/fish.c: like wise. * ipmi-raw/src/ipmi-raw.c: like wise. * ipmi-locate/src/ipmi-locate.c: shows default values for ipmi devices. * libfreeipmi/src/defaults-locate.c (defaults_get_dev_info): improved. 2006-01-04 Anand Babu * bmc-watchdog/src/bmc-watchdog.c: Now uses UDM interface. * libfreeipmi/src/ipmi-error.h: ERR_UNLOCK new macro. Similar to ERR, but additionally unlocks the semaphore. * libfreeipmi/src/ipmi-interface.c: ipmi_open_inband function returns EBUSY if already opened. Also now accepts reg_space argument. Introduced a generic locking layer for all drivers. Added interruptible support through IPMI_MODE_NONBLOCK argument to open function. * libfreeipmi/src/ipmi-kcs-interface.c,.h: big cleanup. Locking now handled by generic UDM layer. How ever locking for old APIs retained. Still lot more can be cleaned up if Albert gives OK. * libfreeipmi/src/ipmi-locate.c: ipmi_locate initializes interface_type and device name before probing. * libfreeipmi/src/ipmi-semaphores.c,.h: One locking interface for all inband drivers. Previously it was per-driver. * libfreeipmi/src/ipmi-ssif-interface.c: ipmi_ssif_io_exit fixed as ipmi_ssif_exit. * libfreeipmi/src/defaults-locate.c: handle case for enum IPMI_INTERFACE_LAN too. * bmc-info/src/bmc-info.c: reg_space argument added. * fish/src/ipmi-wrapper.c: like wise. * ipmi-raw/src/ipmi-raw.c: like wise. Removed calls all references to obsolete ipmi_enable_old_kcs_init function. 2006-01-03 Anand Babu * configure.ac: changed versioning nomenclature. Up version to 0.2.beta1. Automake pre-req minimum is now 1.8. * doc/Makefile.am: build fixes for freeipmi-faq.texi. * doc/freeipmi.texi: now includes version-doc.texi. * doc/freeipmi-faq.texi: now includes version-faq.texi. 2006-01-03 A Balamurugan * fish/src/ipmi-wrapper.c (get_lan_channel_number, get_serial_channel_number): uses udm enabled function. * libfreeipmi/src/ipmi-msg-support-cmds.c (ipmi_get_channel_number2): new function. 2006-01-03 A Balamurugan * libfreeipmi/src/ipmi-lan-interface.c (ipmi_lan_cmd_raw_send, ipmi_lan_cmd_raw2): fixed bugs. 2006-01-03 Albert Chu * freeipmi.spec.in: Updated with appropriate new files. * doc/freeipmi-faq.texi: Fixed some typos, added a little more info. 2006-01-02 Anand Babu * doc/freeipmi-faq.texi: FAQ by Albert Chu . 2005-12-30 Anand Babu * common: Added proper makefiles for this tree. * ipmi-raw/doc/ipmi-raw.8.pre.in: removed comment line that conflicted with some versions of cpp. * Tagged Release-0_2_0-beta0 2005-12-30 A Balamurugan * fish/bmc-config.8.pre.in: fish/bmc-config.8.in is renamed and updated. * fish/fish.8.pre.in: fish/fish.8.in is renamed and updated. * fish/ipmi-sel.8.pre.in: fish/ipmi-sel.8.in is renamed and updated. * fish/ipmi-sensors.8.pre.in: fish/ipmi-sensors.8.in is renamed and updated. * ipmi-raw/doc/ipmi-raw.8.pre.in: ipmi-raw/ipmi-raw.8 is renamed and moved and updated. * configure.ac, bmc-info/doc/Makefile.am, bmc-info/doc/bmc-info.8.pre.in, fish/Makefile.am, ipmi-raw/Makefile.am: updated. 2005-12-29 Anand Babu * bmc-info/doc/Makefile.am: Man pages are now pre-processed to include common arguments file using cpp. (man.N.pre.in --autoconf--> man.N.pre --cpp--> man.N). * bmc-info/doc/bmc-info.8.in: Replaced by bmc-info.8.pre.in * configure.ac: produces bmc-info.8.pre. 2005-12-28 A Balamurugan * common/doc/argp-common.man: added new file. * bmc-info/doc/Makefile.am: updated. 2005-12-28 A Balamurugan * fish/bmc-info.8.in, fish/scripts/bmc-info/Makefile.am, fish/scripts/bmc-info/bmc-info.in: removed. * bmc-info/Makefile.am, bmc-info/doc/Makefile.am, bmc-info/doc/bmc-info.8.in, bmc-info/src/Makefile.am, bmc-info/src/bmc-info-argp.c, bmc-info/src/bmc-info-argp.h, bmc-info/src/bmc-info.c: now bmc-info is in C. * Makefile.am, configure.ac, fish/Makefile.am, fish/scripts/Makefile.am: updated. 2005-12-28 A Balamurugan * fish/extensions/bc-common.scm, fish/extensions/pef.scm, fish/extensions/sel.scm, fish/extensions/sensors-common.scm: fixed argument parsing bug. * libfreeipmi/src/ipmi-interface.c (ipmi_cmd): accepts lun, net_fn as arguments. * libfreeipmi/src/ipmi-chassis-cmds.c, libfreeipmi/src/ipmi-dev-global-cmds.c, libfreeipmi/src/ipmi-lan-cmds.c, libfreeipmi/src/ipmi-msg-support-cmds.c, libfreeipmi/src/ipmi-pef-cmds.c, libfreeipmi/src/ipmi-sdr-repo-cmds.c, libfreeipmi/src/ipmi-sel-cmds.c, libfreeipmi/src/ipmi-sensor-cmds.c, libfreeipmi/src/ipmi-serial-cmds.c, libfreeipmi/src/ipmi-sol-cmds.c: adopts changes in ipmi_cmd(). 2005-12-27 A Balamurugan * fish/src/ipmi-wrapper.c (fi_ipmi_open): initialize dev before calling udm open functions. * ipmi-raw/src/ipmi-raw.c: like wise. * libfreeipmi/src/ipmi-kcs-interface.c (ipmi_kcs_io_init): like wise. * libfreeipmi/src/ipmi-interface.c (ipmi_open_outofband,ipmi_open_inband): no memset of dev arguments. 2005-12-27 Albert Chu * libfreeipmi/src/freeipmi.h (ERR, ERR_OUT, ERR_EXIT): Revert changes from 2005-12-20. Remembered why they were removed in the first place. * libfreeipmi/src/ipmi-debug.c (_set_prefix_str, _output_str, _output_byte_array): Make functions static. Modified setup and output logic. * libfreeipmi/src/ipmi-debug.h, libfreeipmi/src/ipmi-debug.c (fiid_obj_dump_setup): New function. * libfreeipmi/src/ipmi-debug.c (fiid_obj_dump_rmcp, fiid_obj_dump_lan, fiid_obj_dump_perror): Fix up for setup changes. 2005-12-26 A Balamurugan * fish/src/ipmi-wrapper.c (fi_ipmi_open): autoprobe inband devices when no driver from command line. * ipmi-raw/src/ipmi-raw.c: like wise. 2005-12-26 A Balamurugan * fish/src/ipmi-wrapper.c (fi_ipmi_open): updated to new command line arguments. * ipmi-raw/src/ipmi-raw.c: like wise. * libfreeipmi/src/ipmi-interface.c (ipmi_open_inband): like wise. * libfreeipmi/src/ipmi-kcs-interface.c (): like wise. 2005-12-25 A Balamurugan * common/src/argp-common.[ch]: New files. * ipmi-locate/src/common.h: Removed. * doc/examples/udm-test.c: uses argp-common.[ch]. * fish/extensions/bc-common.scm: Added more command line options. * fish/extensions/bmc-config.scm: like wise. * fish/extensions/bmc-info.scm: like wise. * fish/extensions/pef.scm: like wise. * fish/extensions/sel.scm: like wise. * fish/extensions/sensors-common.scm: like wise. * fish/extensions/sensors.scm: like wise. * fish/src/Makefile.am: Updated. * fish/src/extension.c: Removed ex_set_sms_io_base and ex_set_driver_poll_interval. * fish/src/fish-argp.c: uses argp-common.[ch]. Removed fi_set_sms_io_base() and set_driver_poll_interval(). * fish/src/scm-procedures.c: Removed ex_set_sms_io_base() and ex_set_driver_poll_interval(). Improved ex_ipmi_open(). * ipmi-locate/src/Makefile.am: Updated. * ipmi-locate/src/ipmi-locate-argp.c: Improved. * ipmi-locate/src/ipmi-locate.c: like wise. * ipmi-raw/src/Makefile.am: Updated. * ipmi-raw/src/ipmi-raw-argp.c: uses argp-common.[ch]. * ipmi-raw/src/ipmi-raw.c: like wise. 2005-12-20 Albert Chu * libfreeipmi/src/freeipmi.h (ERR, ERR_OUT, ERR_EXIT): Define even if FREEIPMI_LIBRARY is not defined. 2005-12-18 A Balamurugan * libfreeipmi/src/ipmi-kcs-interface.c (ipmi_kcs_cmd_raw2): Rewritten. * libfreeipmi/src/ipmi-ssif-interface.c (ipmi_ssif_cmd_raw2): like wise. 2005-12-17 A Balamurugan * ipmi-locate/src/ipmi-locate.c: Fixed a bug which uses unallocated memory. 2005-12-17 A Balamurugan * ipmi-locate/ipmi-locate.8: Added man page. 2005-12-17 A Balamurugan * ipmi-locate: New tool to probe and display ipmi devices. * configure.ac: Updated. * Makefile.am: Updated. 2005-12-17 A Balamurugan * libfreeipmi/src/ipmi-interface.c (ipmi_open_inband,ipmi_cmd,ipmi_cmd_raw,ipmi_inband_close): Added SSIF inband support in UDM. * libfreeipmi/src/ipmi-ssif-interface.c (ipmi_ssif_cmd2,ipmi_ssif_cmd_raw2): Added functions. 2005-12-16 A Balamurugan * fish/src/fish-argp.c (fi_set_arguments): new function. * fish/src/ipmi-wrapper.c (get_ipmi_host_ip_address): Improved. * fish/src/scm-procedures.c (ex_ipmi_open): Improved. 2005-12-16 A Balamurugan * libfreeipmi/src/ipmi-lan-interface.c (ipmi_lan_cmd2): added debugging code when invalid packet data is received. 2005-12-16 Anand Babu * lot of .c,.h files: Applying Anand Avati's patch for ISO C99: 7.18 Integer types compliance. This also closes Bastian Blank 's bug #11210 overview: Uses nonstandard datatypes. 2005-12-14 A Balamurugan * fish/extensions/bc-common.scm: Fixed command line argument parsing bug. * fish/extensions/bmc-info.scm: like wise. * fish/extensions/pef.scm: like wise. * fish/extensions/sel.scm: like wise. * fish/extensions/sensors-common.scm: like wise. * libfreeipmi/src/ipmi-sensor-event-messages.c (get_01_generic_event_message, get_02_generic_event_message, get_03_generic_event_message, get_04_generic_event_message, get_05_generic_event_message, get_06_generic_event_message, get_07_generic_event_message, get_08_generic_event_message, get_09_generic_event_message, get_0A_generic_event_message, get_0B_generic_event_message, get_0C_generic_event_message, get_01_event_message, get_02_event_message, get_03_event_message, get_04_event_message, get_05_event_message, get_06_event_message, get_07_event_message, get_08_event_message, get_09_event_message, get_0C_event_message, get_0F_event_message, get_10_event_message, get_11_event_message, get_12_event_message, get_13_event_message, get_14_event_message, get_19_event_message, get_1D_event_message, get_1E_event_message, get_1F_event_message, get_20_event_message, get_21_event_message, get_22_event_message, get_23_event_message, get_24_event_message, get_25_event_message, get_27_event_message, get_28_event_message, get_29_event_message, get_2A_event_message, get_2B_event_message, get_2C_event_message, get_05_event_data2_message, get_0F_event_data2_message, get_10_event_data2_message, get_12_event_data2_message, get_19_event_data2_message, get_21_event_data2_message, get_23_event_data2_message, get_2A_event_data2_message, get_2B_event_data2_message, get_2C_event_data2_message, get_08_event_data3_message, get_0C_event_data3_message, get_10_event_data3_message, get_19_event_data3_message, get_21_event_data3_message, get_2A_event_data3_message): Become static functions. 2005-12-13 Anand Babu * libfreeipmi/src/fiid.c: fiid_obj_alloc -> fiid_obj_calloc. Updated across the codebase. fiid_obj_alloc and fiid_obj_malloc is now a macro to fiid_obj_calloc. *fish/src/extension.c: once again replaced the depricated gh_ functions to make hook using scm functions. But this time, I use scm_permanent_object to prevent the GC from freeing the hook variable. This should fix the bug. fish/src/scm-procedures.c: merged the changes from old commit that replaced gh_ with scm_ functions. 2005-12-12 Albert Chu * configure.ac: Revert 2005-12-11 changes. * libfreeipmi/src/fiid.h (FIID_OBJ_GET_DATA): New macro. * libfreeipmi/src/ipmi-lan-interface.c (ipmi_lan_cmd_raw2): Fix compile warning. 2005-12-11 Anand Babu * libfreeipmi/src/defaults-locate.c,h: new files. Re-implemented defaults as a fake driver. * libfreeipmi/src/ipmi-locate.c: Changed the driver probing order to smbios, acpi, pci and defaults. Added locate_driver_type field to locate_info to identify which driver probed the data for us. 2005-12-08 Albert Chu * libfreeipmi/src/ipmi-msg-support-cmds.c (ipmi_cmd_get_session_challenge2), libfreeipmi/src/ipmi-lan-interface.c (fill_hdr_session2): Revert buffer length changes from earlier. Ends up not being necessary. 2005-12-08 Albert Chu * libfreeipmi/src/ipmi-msg-support-cmds.c (ipmi_cmd_get_session_challenge2): Fix buffer length copying bug. * libfreeipmi/src/ipmi-lan-interface.c (fill_hdr_session2): Fix buffer length copying bugs. Fixed incorrect MD2/MD5 calculation bugs. 2005-12-08 A Balamurugan * ipmi-raw/Makefile.am: New file. * ipmi-raw/ipmi-raw.8: New file. * ipmi-raw/src/Makefile.am: New file. * ipmi-raw/src/ipmi-raw-argp.[ch]: New files. * ipmi-raw/src/ipmi-raw.c: New file. * Makefile.am: Updated. * configure.ac: Updated. * libfreeipmi/src/ipmi-interface.c (ipmi_cmd_raw): Updated. * libfreeipmi/src/ipmi-lan-interface.c (ipmi_lan_cmd_raw2): Added new function. 2005-12-08 Albert Chu * libfreeipmi/src/ipmi-debug.c (ipmi_debug): Fix several compile bugs when compiling with syslogging or tracing. 2005-12-08 Anand Babu * libfreeipmi/src/ipmi-locate.c (ipmi_locate): Now returns default settings as a last resort. * libfreeipmi/src/ipmi-ssif-interface.h: Added IPMI_SSIF_SMBUS_SLAVE_ADDR definition. 2005-12-05 Anand Babu * fish/extensions/sel.scm: Anand Avati's patch for bug [#14926 fish assumes user has a home directory]. * libfreeipmi/src/freeipmi.h: More tests for sys/io.h header inclusing. Closing bug [#11209 overview: Uses ys/io.h]. 2005-12-05 Albert Chu * libfreeipmi/src/fiid.h, libfreeipmi/src/fiid.c (fiid_obj_get_data): Add len parameter for data buffer. * fish/src, libfreeipmi/src: Various changes to support change in fiid_obj_get_data, in particular passing lengths of buffers to various functions. 2005-12-02 Albert Chu * libfreeipmi/src/ipmi-lan-interface.c (unassemble_ipmi_lan_pkt), libfreeipmi/src/ipmi-debug.c (fiid_obj_dump_lan): Fill in lan trailer even when packet is shorter than expected. 2005-12-01 Albert Chu * fish/bmc-config.conf.5.in: Fixed typos. 2005-11-21 Albert Chu * libfreeipmi/src/ipmi-lan-interface.h (IPMI_LAN_PKT_RQ_CHKSUM2_BLOCK_LEN, IPMI_LAN_PKT_RS_CHKSUM2_BLOCK_LEN): Fixed bug in macros that incorrectly calculated chksum data lengths. Bugs never occurred in libfreeipmi b/c buffers were memset and the chksums were adding pointless 0's. 2005-11-17 Albert Chu Merge in rmcpping/ipmiping changes from branch al_ipmi_2_0_branch that aren't IPMI 2.0 related. * ipmiping/src/ipmiping.c, rmcpping/src/rmcpping.c, libfreeipmi/src/ipmi-ping.h, libfreeipmi/src/ipmi-ping.c: Various changes to support new -s option and randomized starting sequence numbers. * configure.ac: Add checks of /dev/urandom and /dev/random. * ipmiping/ipmiping.8.in, rmcpping/rmcpping.8.in: Document new options and info. 2005-11-17 Albert Chu * ipmipower/src/ipmipower.c (main): Fix compiler warning. 2005-11-17 Anand Babu * fish/extensions/sel.scm: Anand Avati's patch for --delete-event-id option. Closing * freeipmi/doc/freeipmi.texi: doc for --delete-event-id option. * fish/ipmi-sel.8.in: like wise. 2005-11-16 Albert Chu * libfreeipmi/src/rmcp.c (unassemble_rmcp_pkt), libfreeipmi/src/ipmi-lan-interface.c (assemble_ipmi_lan_pkt, assemble_ipmi_lan_pkt2, unassemble_ipmi_lan_pkt): Clean up code to minimize looping through templates. 2005-11-15 Albert Chu * libfreeipmi/src/ipmi-debug.h, libfreeipmi/src/ipmi-debug.c (ipmi_debug): New function. 2005-11-14 Albert Chu * libfreeipmi/src/ipmi-msg-support-cmds.h, libfreeipmi/src/ipmi-msg-support-cmds.c (ipmi_lan_open_session): Revert some 2005-08-27 changes. Replace password with auth_code_data and auth_code_data_len parameters for consistency with other function calls. Fix segfaulting corner case. 2005-11-14 Anand Babu * fish/extensions/sel.scm: Anand Avati's patch for --delete-range option. * freeipmi/doc/freeipmi.texi: doc for --delete-range option. * fish/ipmi-sel.8.in: like wise. 2005-11-11 Albert Chu * fish/src/extensions.c, fish/src/scm-procedures.c: Revert changes made on 11/06/05. Changes cause many things to break under RHEL3/RHEL4. * libfreeipmi/src/ipmi-lan-interface.c (fill_hdr_session2): Fix compiler warnings. * freeipmi.spec.in: Add guile dependency. 2005-11-10 Albert Chu * ipmipower/src/ipmi-privilege.h, ipmipower/src/ipmi-privilege.c: New files. * ipmipower/src/ipmipower.h, ipmipower/src/ipmipower.c (main), ipmipower/src/ipmipower_config.c (ipmipower_config_setup, ipmipower_config_cmdline_parse, _cb_privilege, _cb_outputtype), ipmipower/src/ipmipower_output.c (ipmipower_outputs), ipmipower/src/ipmipower_powercmd.c (ipmipower_powercmd_queue, _process_ipmi_packets), ipmipower/src/ipmipower_prompt.c (_cmd_advanced, _cmd_power, _cmd_privilege, _cmd_config): Support new --privilege option and equivalent interactive mode and config file options. * ipmipower/ipmipower.8.in, ipmipower/ipmipower.conf.5.in: Document support for privilege option. * ipmipower/src/ipmipower_auth.c (ipmipower_ipmi_auth_type): Fix error output typo. * ipmipower/src/Makefile.am: Add ipmipower-privilege.h and ipmipower-privilege.c. * ipmipower/src/ipmipower.h: Fix potential macro bugs. * libfreeipmi/src/ipmi-chassis-cmds.h, libfreeipmi/src/ipmi-hmac.h, libfreeipmi/src/ipmi-interface.h, libfreeipmi/src/ipmi-msg-support-cmds.h, libfreeipmi/src/ipmi-watchdog.h: Fix potential macro bugs. * freeipmi.spec.in: Update with new files. 2005-11-09 Albert Chu * ipmipower/src/ipmipower.h, ipmipower/src/ipmipower_config.c (ipmipower_config_setup, ipmipower_config_cmdline_parse, ipmipower_config_conffile_parse), ipmipower/src/ipmipower_powercmd.c (_process_ipmi_packets), ipmipower/src/ipmipower_prompt.c (_cmd_advanced, _cmd_config): Support new --force-permsg-auth option and equivalent interactive mode and config file options. * ipmipower/ipmipower.8.in, ipmipower/ipmipower.conf.5.in: Document support for force-permsg-auth. * ipmipower/ipmipower.8.in: Add forgotten documentation of on-if-off option in interactive mode. 2005-11-09 Albert Chu Merge in various changes from branch al_ipmi_2_0_branch that aren't IPMI 2.0 related. * libfreeipmi/src/fiid.h: New FIID_OBJ_MEMSET and FIID_OBJ_SET_DATA macros. * libfreeipmi/src/ipmi-chassis-cmds.h, libfreeipmi/src/ipmi-chassis-cmds.c: Support IPMI Chassis Identify command. * libfreeipmi/src/ipmi-chassis-cmds.h, libfreeipmi/src/ipmi-chassis-cmds.c (fill_cmd_chassis_identify): New function. * ipmipower/src/ipmipower.h, ipmipower/src/ipmipower.c (_setup), ipmipower/src/ipmipower_check.c (_check_outbound_seq_num_), ipmipower/src/ipmipower_packet.c (ipmipower_packet_create), ipmipower/src/ipmipower_powercmd.c (ipmipower_powercmd_queue, _recv_packet): Support a randomized initial outbound sequence number. * ipmipower/src/ipmipower_powercmd.c (_send_packet): Always increment ipmi_send_count and session_inbound_count. * ipmipower/src/ipmipower_powercmd.c (_retry_packets): Fix up comments due to fixes above. * ipmipower/src/ipmipower_util.h, ipmipower/src/ipmipower_util.c (get_rand): New function. * ipmipower/src/ipmipower.h, ipmipower/src/ipmipower_check.c (_check_requester_seq_num), ipmipower/src/ipmipower_connection.c (_connection_setup), ipmipower/src/ipmipower_packet.c (ipmipower_packet_create), ipmipower/src/ipmipower_powercmd.c (_send_packet): Support randomized initial requester sequence numbers. * ipmipower/src/ipmipower.h, ipmipower/src/ipmipower_connection.c (_connection_setup), ipmipower/src/ipmipower_ping.c (ipmipower_ping_process_pings): Support randomized initial rmcpping sequence numbers. * ipmipower/src/ipmipower.h, ipmipower/src/ipmipower_check.c (_check_outbound_seq_num), : Rework to use IPMI spec sequence check algorithm. * ipmipower/src/ipmipower_check.h, ipmipower/src/ipmipower_check.c (ipmipower_check_packet): Re-work API to pass flags back to caller with test results. * ipmipower/src/ipmipower_powercmd.c (ipmipower_powercmd_queue, _send_packet, _recv_packet, _bad_packet): Fixed various code due to above changes to ipmipower_check_packet. * ipmipower/src/ipmipower.h, ipmipower/src/ipmipower_powercmd.c (ipmipower_powercmd_queue, _process_ipmi_packets, _retry_packets): Don't retransmit on a close-session timeout. There's no need to and it may not work. * ipmipower/ipmipower.8.in, ipmipower/src/ipmipower_check.c, ipmipower/src/ipmipower_powercmd.c: Add additional comments, notes, and details on IPMI compliance workarounds. * ipmipower/: Various minor code cleanup. 2005-11-08 Albert Chu * libfreeipmi/src/ipmi-msg-support-cmds.h: Add IPMI_CHANNEL_CURRENT_CHANNEL. * libfreeipmi/src/ipmi-msg-support-cmds.h, libfreeipmi/src/ipmi-msg-support-cmds.c (fill_cmd_get_channel_auth_caps): Require user to pass in BMC channel number. * libfreeipmi/src/ipmi-msg-support-cmds.c (ipmi_lan_get_channel_auth_caps, ipmi_lan_get_channel_auth_caps2), ipmiping/src/ipmiping.c (createpacket), ipmipower/src/ipmipower_packet.c (ipmipower_packet_create): Support change in API. 2005-11-07 Albert Chu * libfreeipmi/src/ipmi-chassis-cmds.h, libfreeipmi/src/ipmi-lan-interface.h, libfreeipmi/src/msg-support-cmds.h, libfreeipmi/src/ipmi-sessions.h, libfreeipmi/src/rmcp.h: Remove all #if 0'd out code that was still lingering from late 2003 development. * fish/scripts/bmc-autoconfig/Makefile.am: Dist out bmc-autoconfig. 2005-11-06 Anand Babu * fish/src/extension.c: Depricated Guile APIs are with newer ones. scm_create_hook with (scm_c_define (scm_make_hook)), gh_new_procedure with scm_c_define_gsubr, gh_str02scm with scm_makfrom0str, gh_list with scm_listify, gh_list_p by SCM_NFALSEP, gh_append2 with (scm_append (scm_listify)), gh_cons with scm_cons, gh_ulong2scm with scm_ulong2num, gh_long2scm with scm_long2num, gh_scm2bool with SCM_NFALSEP, gh_bool2scm with SCM_BOOL, gh_double2scm with scm_make_real, gh_char2scm with SCM_MAKE_CHAR. * doc/version.texi: Autogenerated by Automake's mdate-sh. You may need a fresh checkout if you see version.texi missing error during compilation. 2005-10-29 A Balamurugan * fish/extensions/bc-common.scm: Allows anyone of checkout, commit, diff options. * fish/scripts/bmc-autoconfig/bmc-autoconfig: Improved. 2005-10-28 Albert chu * ipmipower/ipmipower.8.in: Fixed some wording for -a option. 2005-10-26 A Balamurugan * fish/extensions/pef.scm: Code cleanup. * fish/scripts/bmc-autoconfig/Makefile.am: Fixed a bug which deletes source file. * fish/src/bmc-conf2.c (set_bmc_username, set_bmc_enable_user, set_bmc_user_password, set_bmc_user_lan_channel_access, set_bmc_user_serial_channel_access, set_bmc_lan_channel_volatile_access, set_bmc_lan_channel_non_volatile_access, set_bmc_lan_conf_ip_addr_source, set_bmc_lan_conf_ip_addr, set_bmc_lan_conf_mac_addr, set_bmc_lan_conf_subnet_mask, set_bmc_lan_conf_default_gw_ip_addr, set_bmc_lan_conf_default_gw_mac_addr, set_bmc_lan_conf_backup_gw_ip_addr, set_bmc_lan_conf_backup_gw_mac_addr, set_bmc_lan_conf_vlan_id, set_bmc_lan_conf_vlan_priority, set_bmc_lan_conf_auth_type_enables, set_bmc_lan_conf_arp_control, set_bmc_lan_conf_gratuitous_arp, set_bmc_serial_channel_volatile_access, set_bmc_serial_channel_non_volatile_access, set_bmc_serial_conf_conn_mode, set_bmc_serial_conf_page_blackout_interval, set_bmc_serial_conf_call_retry_time, set_bmc_serial_conf_ipmi_msg_comm_settings, set_bmc_power_restore_policy, get_bmc_username, get_bmc_user_lan_channel_access, get_bmc_user_serial_channel_access, get_bmc_lan_channel_volatile_access, get_bmc_lan_channel_non_volatile_access, get_bmc_lan_conf_ip_addr_source, get_bmc_lan_conf_ip_addr, get_bmc_lan_conf_mac_addr, get_bmc_lan_conf_subnet_mask, get_bmc_lan_conf_default_gw_ip_addr, get_bmc_lan_conf_default_gw_mac_addr, get_bmc_lan_conf_backup_gw_ip_addr, get_bmc_lan_conf_backup_gw_mac_addr, get_bmc_lan_conf_auth_type_enables, get_bmc_lan_conf_arp_control, get_bmc_lan_conf_gratuitous_arp, get_bmc_serial_channel_volatile_access, get_bmc_serial_channel_non_volatile_access, get_bmc_serial_conf_conn_mode, get_bmc_serial_conf_page_blackout_interval, get_bmc_serial_conf_call_retry_time, get_bmc_serial_conf_ipmi_msg_comm_settings, get_bmc_power_restore_policy, get_bmc_lan_conf_vlan_id, get_bmc_lan_conf_vlan_priority, check_bmc_user_password): UDM enabled. * libfreeipmi/src/ipmi-lan-cmds.c (ipmi_cmd_lan_set_backup_gw_mac_addr2): Fixed function name typo error. 2005-10-16 A Balamurugan * fish/extensions/bmc-config.scm: Fixed bug in pef_conf_s. 2005-10-16 A Balamurugan * libfreeipmi/src/ipmi-sensor-api.c (get_sdr_record): Better error handling. * fish/src/bmc-conf2.c (set_pef_control, set_pef_global_action_control, set_pef_startup_delay, set_pef_alert_startup_delay, get_pef_control, get_pef_global_action_control, get_pef_startup_delay, get_pef_alert_startup_delay): New functions. * fish/src/extension.c (install_new_procedures): New exports fi-set-bmc-pef-conf-pef-control, fi-set-bmc-pef-conf-pef-global-action-control, fi-set-bmc-pef-conf-pef-startup-delay, fi-set-bmc-pef-conf-pef-alert-startup-delay, fi-get-bmc-pef-conf-pef-control, fi-get-bmc-pef-conf-pef-global-action-control, fi-get-bmc-pef-conf-pef-startup-delay and fi-get-bmc-pef-conf-pef-alert-startup-delay. * fish/src/scm-procedures.c (ex_set_bmc_pef_conf_pef_control, ex_set_bmc_pef_conf_pef_global_action_control, ex_set_bmc_pef_conf_pef_startup_delay, ex_set_bmc_pef_conf_pef_alert_startup_delay, ex_get_bmc_pef_conf_pef_control, ex_get_bmc_pef_conf_pef_global_action_control, ex_get_bmc_pef_conf_pef_startup_delay, ex_get_bmc_pef_conf_pef_alert_startup_delay): New functions. * fish/extensions/bc-section.scm: Added pef_conf section. * fish/extensions/bmc-config.scm: Added pef_conf support. * fish/extensions/Makefile.am: Updated. 2005-10-13 Anand Babu * fish/scripts/bmc-autoconfig/bmc-autoconfig: texi documentation and bug fixes to bmc auto configuration wizzard. Thanks to Anand Avati 2005-10-12 Anand Babu * fish/scripts/bmc-autoconfig/bmc-autoconfig: new bmc configuration wizzard. Thanks to Anand Avati 2005-10-12 A Balamurugan * libfreeipmi/src/ipmi-sensor-api.c (get_sdr_record): Now ignores ipmi_cmd_get_sensor_thresholds2() command error. 2005-10-09 A Balamurugan * freeipmi/libfreeipmi/src/ipmi-pef-cmds.c (ipmi_cmd_get_pef_num_alert_strings2): New function. * freeipmi/fish/src/extension.c (fi-get-pef-info): New export. * freeipmi/fish/src/scm-procedures.c (ex_get_pef_info): New function. * freeipmi/fish/extensions/sensors-common.scm (sensors-argp): Bug fix in verbose option parsing. * freeipmi/fish/extensions/sensors.scm (sensors-display-sensors): Bug fix in parsed command line args handling. * freeipmi/fish/extensions/pef.scm: New file. * freeipmi/fish/extensions/init.scm: Updated. * freeipmi/fish/extensions/Makefile.am: like wise. * freeipmi/fish/scripts/Makefile.am: like wise. * freeipmi/fish/scripts/pef/ipmi-pef.in: New file. * freeipmi/fish/scripts/pef/Makefile.am: like wise. * freeipmi/configure.ac: Updated. 2005-10-08 A Balamurugan * freeipmi/libfreeipmi/src/freeipmi.h: Enables static function definitions only if config.h file exists. * freeipmi/libfreeipmi/src/ipmi-error.c (ipmi_strerror_r, ipmi_strerror_cmd_r, ipmi_kcs_strstatus_r): Improved. * freeipmi/libfreeipmi/src/ipmi-error.c (ipmi_error): New function. * freeipmi/libfreeipmi/src/ipmi-msg-support-cmds.c (ipmi_cmd_get_channel_auth_caps2, ipmi_cmd_get_session_challenge2): Fixed serious bug which makes function failure. * freeipmi/libfreeipmi/src/ipmi-sdr-repo-cmds.c (ipmi_cmd_get_sdr_repo_info2, ipmi_cmd_get_sdr_repo_alloc_info2, ipmi_cmd_reserve_sdr_repo2): Renamed. * freeipmi/libfreeipmi/src/ipmi-sel-api.c (ipmi_sel_get_first_entry, ipmi_sel_get_next_entry, get_sel_info): UDM enabled. * freeipmi/libfreeipmi/src/ipmi-sel-api.c (get_sel_system_event_record, get_sel_timestamped_oem_record, get_sel_non_timestamped_oem_record, get_sel_record): Moved to ipmi-sel-record-types.c. * freeipmi/libfreeipmi/src/ipmi-sel-record-types.c (ipmi_sel_get_first_entry, ipmi_sel_get_next_entry): Moved to ipmi-sel-api.c. * freeipmi/libfreeipmi/src/ipmi-sensor-api.c (get_sdr_record, get_sensor_reading): UDM enabled. * freeipmi/libfreeipmi/src/ipmi-utils.c (ipmi_comp_test): Sets errno when failure. * freeipmi/fish/src/extension.c (install_new_procedures): Removed fi-sdr-get-repo-info and fi-sel-get-info procedure exports. * freeipmi/fish/src/interpreter.c (dynamic_command_handler): Simplified. * freeipmi/fish/src/ipmi-wrapper.c (fi_get_seld): New function. * freeipmi/fish/src/ipmi-wrapper.c (fi_ipmi_open): Uses ipmi_error(). * freeipmi/fish/src/scm-procedures.c (ex_sdr_get_repo_info, ex_sel_get_info): Removed. * freeipmi/fish/src/scm-procedures.c (ex_sel_get_first_entry_raw, ex_sel_get_next_entry_raw, ex_sel_get_first_entry_hex, ex_sel_get_next_entry_hex, ex_sel_get_info_binary, ex_sel_get_first_entry, ex_sel_get_next_entry, ex_sel_delete_entry, ex_sel_clear, ex_sel_get_clear_status, ex_get_sdr_record, ex_get_sensor_reading, ex_get_sdr_repo_info): Uses UDM enabled functions. * freeipmi/fish/src/scm-procedures.c (ex_get_bmc_info): Uses ipmi_error(). * freeipmi/fish/extensions/bc-common.scm: Better command line argument parsing.. * freeipmi/fish/extensions/bmc-config.scm: Initial work of UDM support. * freeipmi/fish/extensions/bmc-info.scm: Fixed fish register command bug. * freeipmi/fish/extensions/sel.scm: UDM enabled. * freeipmi/fish/extensions/sensors-common.scm: Better command line argument parsing. * freeipmi/fish/extensions/sensors.scm: UDM enabled. * freeipmi/fish/extensions/utils.scm: Simplified list->sentence and list->strlist procedures. * freeipmi/fish/scripts/bmc-config/bmc-config.in: Simplified. * freeipmi/fish/scripts/sel/ipmi-sel.in: Simplified. * freeipmi/fish/scripts/sensors/ipmi-sensors.in: Simplified. 2005-10-06 A Balamurugan * libfreeipmi/src/ipmi-chassis-cmds.c (ipmi_cmd_set_power_restore_policy2, ipmi_cmd_get_chassis_status2): Functions does not allocate obj_cmd_rs. * libfreeipmi/src/ipmi-dev-global-cmds.c (ipmi_cmd_get_dev_id): like wise. * ibfreeipmi/src/ipmi-lan-cmds.c (ipmi_cmd_lan_set_arp2, ipmi_lan_set_gratuitous_arp_interval2, ipmi_cmd_lan_set_auth_type_enables2, ipmi_cmd_lan_set_ip_addr_source2, ipmi_cmd_lan_set_ip_addr2, ipmi_cmd_lan_set_default_gw_ip_addr2, ipmi_cmd_lan_set_backup_gw_ip_addr2, ipmi_cmd_lan_set_vlan_id2, ipmi_cmd_lan_set_vlan_priority2, ipmi_cmd_lan_set_subnet_mask2, ipmi_cmd_lan_set_mac_addr2, ipmi_cmd_lan_set_default_gw_mac_addr2, ipmi_cmd_lan_set_hackup_gw_mac_addr2, ipmi_cmd_lan_get_arp2, ipmi_cmd_lan_get_gratuitous_arp_interval2, ipmi_cmd_lan_get_auth_type_enables2, ipmi_cmd_lan_get_ip_addr_source2, ipmi_cmd_lan_get_ip_addr2, ipmi_cmd_lan_get_default_gw_ip_addr2, ipmi_cmd_lan_get_backup_gw_ip_addr2, ipmi_cmd_lan_get_subnet_mask2, ipmi_cmd_lan_get_mac_addr2, ipmi_cmd_lan_get_default_gw_mac_addr2, ipmi_cmd_lan_get_backup_gw_mac_addr2, ipmi_cmd_suspend_bmc_arps2, ipmi_cmd_lan_get_vlan_id2, ipmi_cmd_lan_get_vlan_priority2): like wise. * libfreeipmi/src/ipmi-msg-support-cmds.c (ipmi_cmd_get_channel_auth_caps2, ipmi_cmd_get_session_challenge2, ipmi_cmd_activate_session2, ipmi_cmd_set_session_priv_level2, ipmi_lan_open_session2, ipmi_lan_close_session2, ipmi_cmd_set_channel_access2, ipmi_cmd_set_user_name2, ipmi_cmd_get_user_name2, ipmi_cmd_set_user_password2, ipmi_cmd_set_user_access2, ipmi_cmd_get_user_access2, ipmi_cmd_get_channel_access2, ipmi_cmd_get_channel_info2): like wise. * libfreeipmi/src/ipmi-sdr-repo-cmds.c (ipmi_cmd_get_repo_info2, ipmi_cmd_get_repo_alloc_info2, ipmi_cmd_reserve_repo2, ipmi_cmd_get_sdr2): like wise. * libfreeipmi/src/ipmi-sel-cmds.c (ipmi_cmd_get_sel_info2, ipmi_cmd_get_sel_alloc_info2, ipmi_cmd_reserve_sel2, ipmi_cmd_get_sel_entry2, ipmi_cmd_delete_sel_entry2, ipmi_cmd_clear_sel2): like wise. * libfreeipmi/src/ipmi-sensor-cmds.c (ipmi_cmd_get_threshold_reading2, ipmi_cmd_get_discrete_reading2, ipmi_cmd_get_sensor_thresholds2): like wise. * libfreeipmi/src/ipmi-serial-cmds.c (ipmi_cmd_set_serial_connmode2, ipmi_cmd_set_serial_page_blackout_interval2, ipmi_cmd_set_serial_retry_time2, ipmi_cmd_set_serial_comm_bits2, ipmi_cmd_get_serial_connmode2, ipmi_cmd_get_serial_page_blackout2, ipmi_cmd_get_serial_retry_time2, ipmi_cmd_get_serial_comm_bits2): like wise. * libfreeipmi/src/ipmi-sol-cmds.c (ipmi_cmd_sol_conf_sol_enable_disable2, ipmi_cmd_sol_conf_sol_enable2, ipmi_cmd_sol_conf_sol_disable2, ipmi_cmd_sol_conf_get_sol_enable2): like wise. * freeipmi/libfreeipmi/src/ipmi-pef-cmds.c (ipmi_cmd_set_pef_control2, ipmi_cmd_set_global_action_control2, ipmi_cmd_set_startup_delay2, ipmi_cmd_set_alert_startup_delay2, ipmi_cmd_set_num_event_filters2, ipmi_cmd_set_filter_table_entry2, ipmi_cmd_set_filter_table_data1_2, ipmi_cmd_set_num_alert_policies2, ipmi_cmd_alert_immediate2, ipmi_cmd_get_pef_alert_string2, ipmi_cmd_get_pef_alert_string_keys2, ipmi_cmd_get_pef_num_alert_policies2, ipmi_cmd_get_pef_filter_data1_2, ipmi_cmd_get_pef_control2, ipmi_cmd_get_pef_global_action_control2, ipmi_cmd_get_pef_startup_delay2, ipmi_cmd_get_pef_alert_startup_delay2, ipmi_cmd_get_pef_num_event_filters2, ipmi_cmd_get_pef_filter_table_entry2, ipmi_cmd_get_pef_caps2, ipmi_cmd_arm_pef_postpone_timer2, ipmi_cmd_set_last_processed_event2, ipmi_cmd_get_last_processed_event2, ipmi_cmd_pet_ack2): new functions. * freeipmi/libfreeipmi/src/fiid.h (fiid_obj_alloca): New macro. * freeipmi/libfreeipmi/src/ipmi-interface.c (ipmi_outofband_free, ipmi_inband_free): New functions. * freeipmi/libfreeipmi/src/ipmi-interface.c (ipmi_open_outofband, ipmi_open_inband, ipmi_outofband_close, ipmi_inband_close): Improved. * freeipmi/libfreeipmi/src/ipmi-kcs-interface.c (ipmi_enable_old_kcs_init): New function. * freeipmi/libfreeipmi/src/freeipmi.h: Updated. * freeipmi/libfreeipmi/src/bit-ops.[ch]: #include cleanup. * freeipmi/libfreeipmi/src/fiid.c: like wise. * freeipmi/libfreeipmi/src/ipmi-debug.[ch]: like wise. * freeipmi/libfreeipmi/src/ipmi-error.[ch]: like wise. * freeipmi/libfreeipmi/src/ipmi-hmac.[ch]: like wise. * freeipmi/libfreeipmi/src/ipmi-lan-interface.[ch]: like wise. * freeipmi/libfreeipmi/src/ipmi-locate.[ch]: like wise. * freeipmi/libfreeipmi/src/ipmi-md2.[ch]: like wise. * freeipmi/libfreeipmi/src/ipmi-md5.[ch]: like wise. * freeipmi/libfreeipmi/src/ipmi-msg-interface-desc.c: like wise. * freeipmi/libfreeipmi/src/ipmi-netfn-spec.c: like wise. * freeipmi/libfreeipmi/src/ipmi-ping.c: like wise. * freeipmi/libfreeipmi/src/ipmi-sdr-record-types.c: like wise. * freeipmi/libfreeipmi/src/ipmi-sdr-repo-cache.c: like wise. * freeipmi/libfreeipmi/src/ipmi-sel-record-types.c: like wise. * freeipmi/libfreeipmi/src/ipmi-semaphores.c: like wise. * freeipmi/libfreeipmi/src/ipmi-sensor-api.c: like wise. * freeipmi/libfreeipmi/src/ipmi-sensor-event-messages.c: like wise. * freeipmi/libfreeipmi/src/ipmi-sensor-types.c: like wise. * freeipmi/libfreeipmi/src/ipmi-sensor-utils.c: like wise. * freeipmi/libfreeipmi/src/ipmi-sessions.c: like wise. * freeipmi/libfreeipmi/src/ipmi-sha1.[ch]: like wise. * freeipmi/libfreeipmi/src/ipmi-smic-interface.[ch]: like wise. * freeipmi/libfreeipmi/src/ipmi-ssif-interface.c: like wise. * freeipmi/libfreeipmi/src/ipmi-utils.[ch]: like wise. * freeipmi/libfreeipmi/src/ipmi-watchdog.c: like wise. * freeipmi/libfreeipmi/src/libfreeipmi.c: like wise. * freeipmi/libfreeipmi/src/pci-locate.c: like wise. * freeipmi/libfreeipmi/src/rmcp.[ch]: like wise. * freeipmi/libfreeipmi/src/smbios-locate.c: like wise. * freeipmi/libfreeipmi/src/xmalloc.[ch]: like wise. * freeipmi/doc/examples/udm-test.c: Updated. * freeipmi/fish/src/common.h: New file. * freeipmi/fish/src/fish-argp.[ch]: New files. * freeipmi/fish/src/extension.c (install_new_procedures): Added fi-ipmi-open, fi-ipmi-close, fi-cmd-get-dev-id-display procedures. Removed fi-set-sock-timeout!, fi-get-sock-timeout and fi-kcs-get-dev-id-display procedures. * freeipmi/fish/src/fish.[ch]: Major code cleanup. * freeipmi/fish/src/interpreter.c: Code cleanup. * freeipmi/fish/src/ipmi-wrapper.[ch]: Major code cleanup. * freeipmi/fish/src/ipmi-wrapper.c (fi_get_ipmi_device, fi_ipmi_open, fi_ipmi_close): New functions. * freeipmi/fish/src/Makefile.am: Updated. * freeipmi/fish/src/scm-procedures.c (ex_get_sock_timeout, ex_set_sock_timeout, ex_kcs_get_dev_id_display): Removed. * freeipmi/fish/src/scm-procedures.c (ex_cmd_get_dev_id_display, ex_get_bmc_info, ex_ipmi_open, ex_ipmi_close): New functions. * freeipmi/fish/src/bmc-conf2.c: #include cleanup. * freeipmi/fish/src/fi-commands.c: like wise. * freeipmi/fish/src/fi-utils.c: like wise. * freeipmi/fish/src/fi-utils.h: like wise. * freeipmi/fish/src/guile-wrapper.c: like wise. * freeipmi/fish/src/xmalloc.[ch]: like wise. * freeipmi/fish/Makefile.am: Updated. * freeipmi/fish/extensions/bmc-info.scm: Rewritten. * freeipmi/fish/extensions/discovery.scm: Updated. * freeipmi/fish/extensions/Makefile.am: Updated. * freeipmi/fish/scripts/bmc-info/bmc-info.in: Rewritten. 2005-10-04 Albert Chu * freeipmi.spec.in: Update with new files. 2005-10-01 A Balamurugan * libfreeipmi/src/ipmi-chassis-cmds.c (ipmi_cmd_set_power_restore_policy2, ipmi_cmd_get_chassis_status2): New functions. * libfreeipmi/src/ipmi-dev-global-cmds.c (ipmi_cmd_get_dev_id): Improved. * ibfreeipmi/src/ipmi-lan-cmds.c (ipmi_cmd_lan_set_arp2, ipmi_lan_set_gratuitous_arp_interval2, ipmi_cmd_lan_set_auth_type_enables2, ipmi_cmd_lan_set_ip_addr_source2, ipmi_cmd_lan_set_ip_addr2, ipmi_cmd_lan_set_default_gw_ip_addr2, ipmi_cmd_lan_set_backup_gw_ip_addr2, ipmi_cmd_lan_set_vlan_id2, ipmi_cmd_lan_set_vlan_priority2, ipmi_cmd_lan_set_subnet_mask2, ipmi_cmd_lan_set_mac_addr2, ipmi_cmd_lan_set_default_gw_mac_addr2, ipmi_cmd_lan_set_hackup_gw_mac_addr2, ipmi_cmd_lan_get_arp2, ipmi_cmd_lan_get_gratuitous_arp_interval2, ipmi_cmd_lan_get_auth_type_enables2, ipmi_cmd_lan_get_ip_addr_source2, ipmi_cmd_lan_get_ip_addr2, ipmi_cmd_lan_get_default_gw_ip_addr2, ipmi_cmd_lan_get_backup_gw_ip_addr2, ipmi_cmd_lan_get_subnet_mask2, ipmi_cmd_lan_get_mac_addr2, ipmi_cmd_lan_get_default_gw_mac_addr2, ipmi_cmd_lan_get_backup_gw_mac_addr2, ipmi_cmd_suspend_bmc_arps2, ipmi_cmd_lan_get_vlan_id2, ipmi_cmd_lan_get_vlan_priority2): New functions. * libfreeipmi/src/ipmi-msg-support-cmds.c (ipmi_cmd_set_channel_access2, ipmi_cmd_set_user_name2, ipmi_cmd_get_user_name2, ipmi_cmd_set_user_password2, ipmi_cmd_set_user_access2, ipmi_cmd_get_user_access2, ipmi_cmd_get_channel_access2, ipmi_cmd_get_channel_info2): New functions. * libfreeipmi/src/ipmi-sdr-repo-cmds.c (ipmi_cmd_get_repo_info2, ipmi_cmd_get_repo_alloc_info2, ipmi_cmd_reserve_repo2, ipmi_cmd_get_sdr2): New functions. * libfreeipmi/src/ipmi-sel-cmds.c (ipmi_cmd_get_sel_info2, ipmi_cmd_get_sel_alloc_info2, ipmi_cmd_reserve_sel2, ipmi_cmd_get_sel_entry2, ipmi_cmd_delete_sel_entry2, ipmi_cmd_clear_sel2): New functions. * libfreeipmi/src/ipmi-sensor-cmds.c (ipmi_cmd_get_threshold_reading2, ipmi_cmd_get_discrete_reading2, ipmi_cmd_get_sensor_thresholds2): New functions. * libfreeipmi/src/ipmi-serial-cmds.c (ipmi_cmd_set_serial_connmode2, ipmi_cmd_set_serial_page_blackout_interval2, ipmi_cmd_set_serial_retry_time2, ipmi_cmd_set_serial_comm_bits2, ipmi_cmd_get_serial_connmode2, ipmi_cmd_get_serial_page_blackout2, ipmi_cmd_get_serial_retry_time2, ipmi_cmd_get_serial_comm_bits2): New functions. * libfreeipmi/src/ipmi-sol-cmds.c (ipmi_cmd_sol_conf_sol_enable_disable2, ipmi_cmd_sol_conf_sol_enable2, ipmi_cmd_sol_conf_sol_disable2, ipmi_cmd_sol_conf_get_sol_enable2): New functions. 2005-10-01 A Balamurugan * libfreeipmi/src/ipmi-interface.c (ipmi_open_outofband): Improved. * libfreeipmi/src/ipmi-interface.h: Removed initial_outbound_seq_num and added challenge_string, tmpl_msg_trlr_ptr and obj_msg_trlr in ipmi_device_t. * libfreeipmi/src/ipmi-lan-interface.c (get_rq_checksum1, get_rs_checksum1, get_rq_checksum2, get_rs_checksum2, fill_lan_msg_hdr2, fill_lan_msg_trlr2, fill_hdr_session2, _ipmi_lan_pkt_rq_size2, _ipmi_lan_pkt_rs_size2, assemble_ipmi_lan_pkt2, unassemble_ipmi_lan_pkt2, ipmi_lan_validate_checksum): New functions. * libfreeipmi/src/ipmi-lan-interface.c (ipmi_lan_cmd2): Improved. * libfreeipmi/src/ipmi-msg-support-cmds.c (ipmi_cmd_get_channel_auth_caps2, ipmi_cmd_get_session_challenge2, ipmi_cmd_activate_session2, ipmi_cmd_set_session_priv_level2, ipmi_lan_open_session2, ipmi_lan_close_session2): Improved. 2005-09-27 Anand Babu * libfreeipmi/src/ipmi-msg-support-cmds.c: all ipmi_comp_test failures now sets errno properly. Thanks to James Laros for reporting this bug. 2005-09-26 Albert Chu * ipmipower/ipmipower.8.in: Added note about ipmipower's cluster focus because it keeps on coming up in conversations. 2005-09-11 A Balamurugan * doc/version.texi: Updated. * libfreeipmi/src/fiid.c (fiid_obj_dup): Fixed a bug in error condition. * libfreeipmi/src/ipmi-interface.h: Modifed ipmi_device_t structure. * libfreeipmi/src/ipmi-interface.c (ipmi_open): Removed. * libfreeipmi/src/ipmi-dev-global-cmds.c (ipmi_cmd_get_dev_id): Modified for change in ipmi_device_t structure. * libfreeipmi/src/ipmi-interface.c (ipmi_open_outofband): like wise. * libfreeipmi/src/ipmi-interface.c (ipmi_open_inband): like wise. * libfreeipmi/src/ipmi-interface.c (ipmi_inband_close): like wise. * libfreeipmi/src/ipmi-kcs-interface.c (ipmi_kcs_get_status): like wise. * libfreeipmi/src/ipmi-kcs-interface.c (ipmi_kcs_wait_for_ibf_clear): like wise. * libfreeipmi/src/ipmi-kcs-interface.c (ipmi_kcs_wait_for_obf_set): like wise. * libfreeipmi/src/ipmi-kcs-interface.c (ipmi_kcs_read_byte): like wise. * libfreeipmi/src/ipmi-kcs-interface.c (ipmi_kcs_read_next): like wise. * libfreeipmi/src/ipmi-kcs-interface.c (ipmi_kcs_start_write): like wise. * libfreeipmi/src/ipmi-kcs-interface.c (ipmi_kcs_write_byte): like wise. * libfreeipmi/src/ipmi-kcs-interface.c (ipmi_kcs_end_write): like wise. * libfreeipmi/src/ipmi-kcs-interface.c (ipmi_kcs_get_abort): like wise. * libfreeipmi/src/ipmi-kcs-interface.c (ipmi_kcs_cmd2): like wise. * libfreeipmi/src/ipmi-lan-interface.c (ipmi_lan_cmd2): like wise. * libfreeipmi/src/ipmi-msg-support-cmds.c (ipmi_cmd_get_channel_auth_caps2): like wise. * libfreeipmi/src/ipmi-msg-support-cmds.c (ipmi_cmd_get_session_challenge2): like wise. * libfreeipmi/src/ipmi-msg-support-cmds.c (ipmi_cmd_activate_session2): like wise. * libfreeipmi/src/ipmi-msg-support-cmds.c (ipmi_cmd_set_session_priv_level2): like wise. * libfreeipmi/src/ipmi-msg-support-cmds.c (ipmi_lan_open_session2): like wise. * libfreeipmi/src/ipmi-msg-support-cmds.c (ipmi_lan_close_session2): like wise. 2005-09-08 A Balamurugan * doc/examples/udm-test.c (parse_opt): Fixed a bug in argument parsing. 2005-09-07 A Balamurugan * libfreeipmi/src/ipmi-msg-support-cmds.c (ipmi_cmd_get_channel_auth_caps2): Fixed a bug which not set LUN and FN. * libfreeipmi/src/ipmi-msg-support-cmds.c (ipmi_cmd_get_session_challenge2): like wise. * libfreeipmi/src/ipmi-msg-support-cmds.c (ipmi_cmd_activate_session2): like wise. * libfreeipmi/src/ipmi-msg-support-cmds.c (ipmi_cmd_set_session_priv_level2): like wise. * libfreeipmi/src/ipmi-msg-support-cmds.c (ipmi_lan_close_session2): like wise. 2005-09-06 A Balamurugan * doc/examples/udm-test.c: Renamed ipmi-lan-test-udm.c file. * doc/examples/Makefile.am: Updated. * doc/examples/Makefile.example: Updated. * libfreeipmi/src/xmalloc.[c,h] (ipmi_xfree): Its a macro now. * libfreeipmi/src/ipmi-interface.c (ipmi_open_inband): net_fn and lun are set by ipmi_cmd_COMMAND functions. * libfreeipmi/src/ipmi-interface.c (ipmi_open_outofband): like wise. * libfreeipmi/src/ipmi-kcs-interface.c (ipmi_kcs_io_init): Updated. * libfreeipmi/src/ipmi-dev-global-cmds.c (ipmi_cmd_get_dev_id): Rewritten. * libfreeipmi/src/fiid.c (fiid_obj_len_bytes): Fixed bug calling BITS_ROUND_BYTES macro. * libfreeipmi/src/fiid.c (fiid_obj_field_end_bytes): like wise. * libfreeipmi/src/fiid.c (fiid_obj_field_len_bytes): like wise. * libfreeipmi/src/fiid.c (fiid_obj_block_len_bytes): like wise. * libfreeipmi/src/fiid.c (fiid_obj_block_len): Now returns absolute value. * libfreeipmi/src/fiid.c (fiid_obj_alloc): Now returns fiid_obj_t type pointer. * libfreeipmi/src/fiid.c (fiid_obj_memset): like wise. * libfreeipmi/src/fiid.c (fiid_obj_dup): New function. * libfreeipmi/src/fiid.h (FIID_OBJ_ALLOCA): Checks error condition. 2005-08-31 A Balamurugan * libfreeipmi/src/xmalloc.c (ipmi_xmalloc): Returns zero initialized allocated buffer. * libfreeipmi/src/xmalloc.c (fixup_null_alloc): like wise. 2005-08-30 A Balamurugan * libfreeipmi/src/ipmi-kcs-interface.c (ipmi_kcs_cmd2): Fixed bug in error condition check. 2005-08-30 A Balamurugan * libfreeipmi/src/ipmi-semaphores.h (IPMI_MUTEX_LOCK): Continues only for non-zero semid. * libfreeipmi/src/ipmi-semaphores.h (IPMI_MUTEX_UNLOCK): like wise. 2005-08-30 A Balamurugan * libfreeipmi/src/ipmi-interface.c (ipmi_open_outofband): It doesn't call ipmi_open(). * libfreeipmi/src/ipmi-interface.c (ipmi_open_inband): Improved. * libfreeipmi/src/ipmi-kcs-interface.c (ipmi_kcs_cmd2): Rewritten. 2005-08-29 A Balamurugan * libfreeipmi/src/ipmi-interface.c (ipmi_inband_close): Fixed portability bug. 2005-08-27 A Balamurugan * doc/version.texi: New file. * doc/examples/ipmi-lan-test-udm.c: New file. * libfreeipmi/src/ipmi-interface.[c,h]: New files. Implements unified driver model. * bmc-watchdog/src/bmc-watchdog.c (_get_port_and_reg_space): Uses ipmi_driver_type_t enum. * doc/freeipmi.texi: Removed profiling support for sensors node. * doc/examples/Makefile.am: Updated. * doc/examples/ipmi-lan-test.c: Updated. * fish/src/extension.c: Removed fi-kcs-get-poll-count procedure. * fish/src/ipmi-wrapper.c: Removed auth_code_len in ipmi_lan_open_session(). * fish/src/scm-procedures.[c,h]: Removed function ex_kcs_get_poll_count(). * libfreeipmi/src/Makefile.am: Updated. * libfreeipmi/src/acpi-spmi-locate.[c,h]: Uses ipmi_interface_type_t enum. * libfreeipmi/src/fiid.c (fiid_obj_free): Uses ipmi_xfree(). * libfreeipmi/src/fiid.h (FIID_OBJ_ALLOC): Updated - fiid_obj_alloc accepts tmpl directly now. * libfreeipmi/src/freeipmi.h: Updated. * libfreeipmi/src/ipmi-dev-global-cmds.[c,h]: Added new function ipmi_cmd_get_dev_id(). * libfreeipmi/src/ipmi-kcs-interface.[c,h]: Now ipmi_kcs_get_status(), ipmi_kcs_wait_for_ibf_clear(), ipmi_kcs_wait_for_obf_set(), ipmi_kcs_read_byte(), ipmi_kcs_read_next(), ipmi_kcs_start_write(), ipmi_kcs_write_byte(), ipmi_kcs_end_write(), ipmi_kcs_get_abort(), ipmi_kcs_test_if_state(), ipmi_kcs_clear_obf(), ipmi_kcs_read(), ipmi_kcs_write() and ipmi_kcs_write_interruptible() use ipmi_device_t. Updated ipmi_kcs_open(). Added ipmi_kcs_cmd2() and ipmi_kcs_cmd2(). Removed ipmi_kcs_get_poll_count(). * libfreeipmi/src/ipmi-lan-interface.[c,h]: Added New function ipmi_lan_cmd2(). * libfreeipmi/src/ipmi-locate.[c,h]: Uses ipmi_interface_type_t enum. * libfreeipmi/src/ipmi-msg-support-cmds.[c,h]: Added New functions ipmi_cmd_get_channel_auth_caps2(), ipmi_cmd_get_session_challenge2(), ipmi_cmd_activate_session2(), ipmi_cmd_set_session_priv_level2(), ipmi_lan_open_session2() and ipmi_lan_close_session2(). * libfreeipmi/src/pci-locate.[c,h]: Uses ipmi_interface_type_t enum. * libfreeipmi/src/smbios-locate.[c,h]: Added fiid template for smbios ipmi-device-info record. Uses ipmi_interface_type_t enum. 2005-06-17 Anand Babu * garpd/src/garpd.c: support for interval-delay and batch-delay. --send-once support. fixed broadcast order. delay variable is now global only. Thanks to Anand Avati again. * doc/freeipmi.texi: updated documentation. * garpd/garpd.8: like wise. 2005-06-09 Albert Chu * freeipmi.spec.in: Updated for garpd. 2005-06-08 Anand Babu * garpd: Integrated Anand Avati's Gratuitous ARP Daemon (garpd) project. Thanks Anand. * doc/freeipmi.texi: Added texinfo documentation for garpd. * libfreeipmi/src/ipmi-utils.c: added ipmi_get_random_seed function. * fish/ipmi-sel.8.in, fish/ipmi-sel.8.in, fish/fish.8.in, fish/bmc-info.8.in, fish/bmc-config.8.in: Man section update. 2005-05-09 Albert Chu * freeipmi.spec.in: Updated for recent changes to install. 2005-04-23 A Balamurugan * doc/examples/hello-sensors.c: file is removed. * doc/examples/Makefile.am: updated. * doc/examples/Makefile.example: updated. 2005-04-22 A Balamurugan * libfreeipmi/src/acpi-spmi-locate.c (ipmi_acpi_get_firmware_table): fixed unaligned access warnings. 2005-04-13 A Balamurugan * bmc-watchdog/src/bmc-watchdog.c (_get_port_and_reg_space): removed status variable * fish/src/fish.c (inner_main): like wise * libfreeipmi/src/acpi-spmi-locate.[ch] (acpi_spmi_get_dev_info): like wise * libfreeipmi/src/ipmi-locate.[ch] (ipmi_locate): like wise * libfreeipmi/src/pci-locate.[ch] (pci_get_dev_info): like wise * libfreeipmi/src/smbios-locate.[ch] (smbios_get_dev_info): like wise 2005-03-20 Anand Babu * fish/src/fish.c (inner_main): Check return value of ipmi_open_free_udp_port. 2005-03-18 Albert Chu Added support for vlan configuration in bmc-config. * libfreeipmi/src/ipmi-lan-param-spec.h: Add vlan lan conf definitions. * libfreeipmi/src/ipmi-lan-cmds.h, libfreeipmi/src/ipmi-lan-cmds.c: Define new templates tmpl_set_lan_conf_param_vlan_id_rq, tmpl_set_lan_conf_param_vlan_priority_rq, tmpl_get_lan_conf_param_vlan_id_rs, and tmpl_get_lan_conf_param_vlan_priority_rs. * libfreeipmi/src/ipmi-lan-cmds.h, libfreeipmi/src/ipmi-lan-cmds.c (fill_lan_set_vlan_id, ipmi_lan_set_vlan_id, fill_lan_set_vlan_priority, ipmi_lan_set_vlan_priority, ipmi_lan_get_vlan_id, ipmi_lan_get_vlan_priority): New functions. * fish/extensions/bc-lan-conf-section.scm (checkout-vlan-id-enable, commit-vlan-id-enable, checkout-vlan-id, commit-vlan-id, checkout-vlan-priority, commit-vlan-priority): New functions. Added additional entries to lan-conf-keys-validator. * fish/extensions/bmc-config.scm: Added new vlan entries to lan_conf_s. * fish/src/bmc-conf2.h, fish/src/bmc-conf2.c (set_bmc_lan_conf_vlan_id, set_bmc_lan_conf_vlan_priority, get_bmc_lan_conf_vlan_id, get_bmc_lan_conf_vlan_priority): New functions. * fish/src/extension.c (fi-set-bmc-lan-conf-vlan-id, fi-set-bmc-lan-conf-vlan-priority, fi-get-bmc-lan-conf-vlan-id, fi-get-bmc-lan-conf-vlan-priority): Define new procedures. * fish/src/scm-procedures.h, fish/src/scm-procedures.c (ex_set_bmc_lan_conf_vlan_id, ex_set_bmc_lan_conf_vlan_priority, ex_get_bmc_lan_conf_vlan_id, ex_get_bmc_lan_conf_vlan_priority): New functions. Misc * freeipmi.spec.in: Updated to reflect renaming of sel and sensors tools. * ipmipower/src/ipmipower_powercmd.c (_recv_packet): Add workaround for per-msg authentication issues found on some Dell motherboards. * ipmipower/src/ipmipower_powercmd.c (_recv_packet): Add workaround for sequence numbering bugs found in some mBMC modules. * ipmipower/src/ipmipower_checks.c (_check_outbound_seq_num): Add additional debug info. * ipmipower/src/ipmipower_powercmd.c (_retry_packets): Fix corner case in permission checks. * ipmipower/ipmipower.8.in: Add some more trouble-shooting tips. 2005-03-16 A Balamurugan * fish/extensions/sensors.scm: added ipmi-sensors-conf.scm * libfreeipmi/src/ipmi-sensor-api.c: added templates l_tmpl_get_sensor_threshold_reading_rs and l_tmpl_get_sensor_discrete_reading_rs in get_sensor_reading(). * libfreeipmi/src/ipmi-sensor-cmds.c: changed to bit level state in templates tmpl_get_sensor_threshold_reading_rs and tmpl_get_sensor_discrete_reading_rs. 2005-03-12 Anand Babu * fish/bmc-config.8.in: Now generated by automake. PACKAGE_VERSION, PACKAGE_BUGADDR and ISODATE are updated. Moved to man section 8 from 1. * fish/bmc-config.conf.5.in: Like wise. * fish/bmc-info.8.in: Like wise * fish/fish.8.in: Like wise. * fish/ipmi-sel.8.in: Like wise. Added ipmi prefix. * fish/ipmi-sensors.8.in. Like wise. Added ipmi prefix. * fish/extensions/ipmi-sensors-conf.scm. Added ipmi prefix. * doc/freeipmi.texi: Updated name change. 2005-03-11 Anand Babu * fish/extensions/bc-section.scm (checkout-section-values, diff-section-values): Closed [bugs #12279] error on checkout. bmc-config now throws more appropriate error message. 2005-03-01 Anand Babu * configure.ac: Added check for guile version. Minimum tested required version is 1.6.4. * bmc-watchdog/Makefile.am: Replaced "mkinstalldir" with "install-sh -d". "mkinstalldir" script is obsolete and non-portable. * fish/scripts/sel/ipmi-sel.in: Renamed "sel.in" to "ipmi-sel.in". * fish/scripts/sensors/ipmi-sensors.in: Renamed "sensors.in" to "ipmi-sensors.in". * Makefile.am: Updated for sel and sensors name change. * fish/scripts/sel/Makefile.am: Like wise. * fish/scripts/sensors/Makefile.am: Like wise. 2005-02-23 Anand Babu * CVS: New branch Release-0_1_3-branch with root tag Release-0_1_3. 2005-02-23 A Balamurugan * fish/extensions/sdr.scm: improved record fetching message * fish/extensions/sensors-simple-display.scm, fish/extensions/sensors-verbose-display.scm, fish/extensions/sensors-very-verbose-display.scm: now displays multiple event messages * fish/src/scm-procedures.c: removed short_event_message, status and event_message becomes event_message_list in ex_get_sensor_reading() * libfreeipmi/src/ipmi-sensor-api.c: now get_sensor_reading() returns multiple event messages. * libfreeipmi/src/ipmi-sensor-cmds.c: modified template tmpl_get_sensor_threshold_reading_rs. * libfreeipmi/src/ipmi-sensor-event-messages.[ch]: added new functions ipmi_get_generic_event_message_list() and ipmi_get_event_message_list(). * ipmi-sensor-utils.[ch]: removed function convert_sensor_state_to_offset(). 2005-02-23 Anand Babu Thanks tp Julian Elischer for reporting static compilation problem. * fish/src/fish.c: Replaced open_free_udp_port with libfreeipmi's ipmi_open_free_udp_port API. * src/guile-wrapper.c: Renamed gh_standard_handler to fish_exception_handler. (this caused static compilation problem) * fish/src/fi-utils.c: fi_load now uses fish exception handler. Removed open_free_udp_port function. (this caused static compilation problem). * fish/src/fi-commands.c : command_eval_scheme_str now uses fish exception handler. command_load_scheme_file now uses fi_load API. * doc/examples/ipmi-lan-test.c: Updated API change. 2005-02-18 Albert Chu * bmc-watchdog/src/bmc-watchdog.c (_get_port): Renamed to _get_port_and_reg_space. * bmc-watchdog/src/bmc-watchdog.c (_get_port_and_reg_space): Fixed logic errors due to changes in libfreeipmi. * bmc-watchdog/bmc-watchdog.8.in: Updated appropriately. 2005-02-13 Anand Babu * ipmi-ssif-interface.c (ipmi_ssif_exit): New function. 2005-02-13 Albert Chu * libfreeipmi/src/ipmi-sha1.c (_f, _K): Added error checking and modified else condition to remove potential compiler warnings. 2005-02-13 Anand Babu * ipmi-ssif-interface.[c,h]: Newly added. SSIF driver. * ROADMAP: dropped Tyan IPMI-1.5 proprietary SOL plan. IPMI-2.0 will soon become a standard as most vendors including Tyan are getting ready with IPMI-2.0 release. * /libfreeipmi/src/ipmi-locate.h: ipmi_locate_info structrue now includes i2c device name pointer. * /libfreeipmi/src/ipmi-hmac.c: Initialized h_info to NULL to avoid compiler warning. * THANKS: Added Amitoj Singh and Don Holmgren for their help with SSIF driver. 2005-02-07 A Balamurugan * ROADMAP: updated * TODO: updated * fish/extensions/bmc-config.scm: fixed a bug; calling non-existing primitive procedure * fish/src/bmc-conf2.c: renamed "Anonymous" to "NULL" for user1. * libfreeipmi/src/ipmi-msg-support-cmds.h, libfreeipmi/src/ipmi-pef-cmds.c: fixed compiler warnings * libfreeipmi/src/ipmi-sensor-utils.[ch]: added new function convert_sensor_state_to_offset() * fish/extensions/sensors-very-verbose-display.scm, fish/src/scm-procedures.c, libfreeipmi/src/ipmi-sensor-api.[ch]: renamed is_signed to analog_data_format globally. fixed logical errors in sensor event message decoding. Thanks to Albert Chu for reporting these bugs. 2005-02-04 Albert Chu * freeipmi.spec.in: Add syslogging and tracing to debug rpm. * libfreeipmi/src/ipmi-sha1.h, libfreeipmi/src/ipmi-sha1.c, libfreeipmi/src/ipmi-hmac.h, libfreeipmi/src/ipmi-hmac.c: New files. * libfreeipmi/src/freeipmi.h, libfreeipmi/src/Makefile.am: Add new sha1 and hmac files appropriately. 2005-01-31 Albert Chu * ipmipower/ipmipower.8.in: Added information about auth authentication, which didn't seem to get checked in on 2004-11-15. 2005-01-26 Albert Chu Various code cleanup and minor fixes to ipmipower. * ipmipower/src/ipmipower.c (_poll_loop): Don't re-malloc on each iteration. * ipmipower/src/ipmipower.c (_secure_setup): Renamed to _security_initialization. * ipmipower/src/ipmipower.c (_cleanup): Add logging on cleaning. * ipmipower/src/ipmipower_powercmd.c (_process_ipmi_packets): Remove check for non-null password when checking if remote machine supports null usernames. * ipmipower/src/ipmipower.h: Added new sockets_to_close list in struct ipmipower_powercmd. * ipmipower/src/ipmipower_powercmd.c (ipmipower_powercmd_setup, ipmipower_powercmd_queue, ipmipower_powercmd_process_queue, _retry_packets, _send_packet, _destroy_ipmipower_powercmd): Move sockets_to_close from global list to per ipmipower_powercmd struct list. This change allows sockets to be closed earlier, so more file descriptors and ports are available more quickly to ipmipower. * ipmipower/src/ipmipower_check.c (_check_session_id): Fix corner case with output of debugging message. 2005-01-25 Albert Chu * ipmipower/ipmipower.8.in: Add note that a null username means the anonymous username. * ipmiping/src/ipmiping.c (parsepacket): Output anonymous, null, null-username info on verbose mode. * freeipmi.spec.in: Add support for building debug rpms. 2005-01-24 Anand Babu * libfreeipmi/src/ipmi-utils.c (ipmi_ioremap): open with O_SYNC. * libfreeipmi/src/smbios-locate.c: like wise in map_physmem. smbios_get_dev_info function now properly assigns SSIF smbus slave addr and address space id. 2005-01-24 Albert Chu * ipmipower/src/ipmipower_powercmd.c (_process_ipmi_packets): Change priority ordering of auto authentication type selection. 2005-01-21 Albert Chu * ipmipower/src/ipmipower_check.c (_check_session_id): Added workaround for BMCs that return bad session ids. * ipmipower/src/ipmipower_config.c (ipmipower_config_check_values), ipmipower/src/ipmipower_prompt.c (_cmd_username, _cmd_authtype): Remove non-null username check with auth-type none. * ipmipower/src/ipmipower_powercmd.c (_process_ipmi_packets): Remove NULL username requirement for auth-type none. * freeipmi.spec: Add bmc-config.5 manpage. 2005-01-18 A Balamurugan * fish/src/extension.c: removed bmc-conf-utils.h include. 2005-01-18 A Balamurugan * ROADMAP: updated * TODO: updated * doc/examples/hello-sensors.c: modified * fish/extensions/Makefile.am: updated * fish/extensions/bc-lan-conf-auth-section.scm: updated * fish/extensions/bc-lan-conf-misc-section.scm: updated * fish/extensions/bc-lan-conf-section.scm: updated * fish/extensions/bc-lan-serial-channel-section.scm: updated * fish/extensions/bc-misc-section.scm: updated * fish/extensions/bc-serial-conf-section.scm: updated * fish/extensions/bc-user-section.scm: updated * fish/extensions/bmc-config.scm: moved bc2.scm to bmc-config.scm * fish/extensions/sdr.scm: new file * fish/extensions/sensors-alias.scm: new file * fish/extensions/sensors-common.scm: new files * fish/extensions/sensors-conf.scm: rewritten * fish/extensions/sensors-simple-display.scm: new file * fish/extensions/sensors-utils.scm: file is removed * fish/extensions/sensors-verbose-display.scm: new file * fish/extensions/sensors-very-verbose-display.scm: new file * fish/extensions/sensors.scm: rewritten * fish/scripts/sensors/sensors.in: rewritten * fish/src/Makefile.am: updated * fish/src/bmc-conf-checkout.[ch]: files are removed * fish/src/bmc-conf-commit.[ch]: files are removed * fish/src/bmc-conf-key-utils.[ch]: files are removed * fish/src/bmc-conf-utils.[ch]: files are removed * fish/src/extension.c: removed old bmc-config and sensors procedures, and added new sensors procedures. * fish/src/fi-utils.[ch]: rewritten get_global_extensions_directory(), get_local_extensions_directory() and fi_load(). * fish/src/fish.c: rewritten running_for_first_time() * fish/src/fish.h: added FI_SDR_CACHE_DIR and FI_SDR_CACHE_FILENAME_PREFIX. * fish/src/ipmi-wrapper-sel.[ch]: files are removed * fish/src/ipmi-wrapper-sensor.[ch]: files are removed * fish/src/ipmi-wrapper.[ch]: added functions get_ipmi_host_ip_address() and get_sdr_cache_filename(). * fish/src/scm-procedures.[ch]: removed old bmc-config and sensors functions, and added new sensors functions. * libfreeipmi/src/Makefile.am: updated * libfreeipmi/src/freeipmi.h: updated * libfreeipmi/src/ipmi-sdr-record-types.[ch]: renamed tmpl_sdr_oem_sensor_record to tmpl_sdr_oem_record. added new template tmpl_sdr_sensor_record_header. * libfreeipmi/src/ipmi-sdr-repo-cache.[ch]: member cache_curr_rec_id of sdr_repo_cache_t renamed to cache_curr_rec_no. * libfreeipmi/src/ipmi-sdr-repo-cmds.[ch]: removed fiid template tmpl_sdr_sensor_record_header. * libfreeipmi/src/ipmi-sel-api.[ch]: new files * libfreeipmi/src/ipmi-sensor-api.[ch]: new files * libfreeipmi/src/ipmi-sensor-cmds.c: renamed fiid member status_reading_availablity to status_reading_availability. template tmpl_get_sensor_discrete_reading_rs is rewritten. * libfreeipmi/src/ipmi-sensor-event-messages.[ch]: added new functions get_01_generic_event_message(), get_02_generic_event_message(), get_03_generic_event_message(), get_04_generic_event_message(), get_05_generic_event_message(), get_06_generic_event_message(), get_07_generic_event_message(), get_08_generic_event_message(), get_09_generic_event_message(), get_0A_generic_event_message(), get_0B_generic_event_message(), get_0C_generic_event_message(), ipmi_get_generic_event_message() 2005-01-14 Anand Babu * libfreeipmi/src/acpi-spmi-locate.[c,h]: Newly added. ACPI-Tables user space device driver to locate IPMI SPMI table. Jointly developed by Bala and me. * libfreeipmi/src/smbios-locate.[c,h]: Moved from smbios.c,h. * libfreeipmi/src/pci-locate.[c,h]: Moved from pcilocate.c,h. * libfreeipmi/src/ipmi-locate.[c,h]: Moved from ipmi-probe.c,h. New interface type definitions. * libfreeipmi/src/ipmi-utils.c: New functions - ipmi_ioremap, ipmi_iounmap and ipmi_get_physical_mem_data. * bmc-watchdog/src/bmc-watchdog.c: Now uses ipmi_locate_t interface and the new model accepts reg-space in bytes directly. _REG_SPACE_VALID macro removed. * freeipmi/fish/src/fish.c: like wise. * libfreeipmi/src/ipmi-kcs-interface.c: Removed ipmi_kcs_reg_space function. ipmi_kcs_io_init now accepts reg_space in bytes instead of reg_space_boundary in bits. * libfreeipmi/src/ipmi-kcs-interface.h: Removed reg-space related definitions. Its now a job of ipmi-locate sub-system. 2005-01-09 Anand Babu * fish/src/fi-commands.c: replaced error(..) with perror,exit. error() is not really portable. * fish/src/fi-utils.c: likewise. * fish/src/fish.c: likewise. * fish/src/xmalloc.c: like wise. * fish/src/xmalloc.h: likewise. 2004-12-20 Albert Chu * libfreeipmi/src/ipmi-msg-support-cmds.h, libfreeipmi/src/ipmi-msg-support-cmds.c (ipmi_get_channel_number): New function. * libfreeipmi/src/ipmi-msg-support-cmds.c (_search_for_medium_channel_number): New function. * fish/src/ipmi-wrapper.h, fish/src/ipmi-wrapper.c (get_lan_channel_number, get_serial_channel_number): Use new ipmi_get_channel_number function. * bmc-watchdog/src/bmc-watchdog.c (_get_lan_channel_number): Removed function. * bmc-wathcdog/src/bmc-watchdog.c (_suspend_bmc_arps_cmd): Use new ipmi_get_channel_number function. * libfreeipmi/src/ipmi-dev-global-cmds.h, libfreeipmi/src/ipmi-dev-global-cmds.c (ipmi_kcs_get_dev_id): Remove pointless obj_hdr_rs parameter. * libfreeipmi/src/ipmi-dev-global-cmds.h, libfreeipmi/src/ipmi-dev-global-cmds.c (fill_cmd_get_dev_id, ipmi_kcs_get_dev_id): Clean up parameter types and parameter names to be consistent with much of the rest of libfreeipmi. * fish/src/scm-procedures.c (ex_kcs_get_dev_id_display): Fix for interface change. * libfreeipmi/src/ipmi-msg-support-cmds.h: Added IPMI_CHANNEL_NUMBER_VALID macro. * libfreeipmi/src/ipmi-msg-support-cmds.c, libfreeipmi/src/ipmi-lan-cmds.c, libfreeipmi/src/ipmi-serial-cmds.c: Added appropriate channel number checks in fill functions with channel_number parameters. Check for errors in many functions that call fill functions. 2004-12-17 Albert Chu Added additional autodetection due to privilege level errors. * ipmipower/src/ipmipower.h: Add privilege field to ipmipower_powercmd struct. * ipmipower/src/ipmipower_powercmd.c (ipmipower_powercmd_queue): Initialize new privilege field. * ipmipower/src/ipmipower_powercmd.c (_process_ipmi_packets): Add appropriate code logic for this new autodetection feature. * ipmipower/src/ipmipower.h (ipmipower_packet_create): Where appropriate, use privilege field of ipmipower_powercmd_t. Fix err_exit() corner case, where ending debug output is not output. * ipmipower/src/error.h, ipmipower/src/error.c (err_cbuf_dump_file_stream, err_cbuf_dump_file_descriptor): New functions. * ipmipower/src/error.c (err_exit): Dump cbuf contents appropriately if about to exit. * ipmipower/src/ipmipower.c (_setup), ipmipower/src/ipmipower_prompt.c (_cmd_log, _cmd_logfile, ipmipower_prompt_process_cmdline): Add appropriate calls to err_cbuf_dump_file_stream and err_cbuf_dump_file_descriptor. 2004-12-16 Albert Chu * libfreeipmi/src/ipmi-md2.c (ipmi_md2_finish), libfreeipmi/src/ipmi-md5.c (ipmi_md5_finish): Clear magic number, which will force caller to re-initialize context. * libfreeipmi/src/ipmi-md2.h, libfreeipmi/src/ipmi-md2.c, libfreeipmi/src/ipmi-md5.h, libfreeipmi/src/ipmi-md5.c: Fixed headers. These were originally a part of ipmipower first. Its a legal thing. 2004-12-15 Albert Chu * ipmipower/src/ipmipower.h (AUTH_TYPE_VALID_OR_AUTO): New macro. * ipmipower/src/ipmipower_auth.c (ipmipower_auth_string): Fix corner case. 2004-12-13 Albert Chu * libfreeipmi/src/fiid.h, libfreeipmi/src/fiid.c (fiid_obj_memset_field): New function. * libfreeipmi/src/fiid.c, libfreeipmi/src/fiid.c (fiid_obj_set_data): Add data_length parameter. * libfreeipmi/src/ipmi-msg-support-cmds.c (fill_kcs_set_user_name, fill_kcs_set_user_password ): Fixed additional corner cases affecting functionality of bmc-config on different systems. * libfreeipmi/src/ipmi-msg-support-cmds.c (fill_cmd_get_session_challenge): Fixed potential bugs due to style similarities to above fixes. * libfreeipmi/src/ipmi-sessions.c (fill_hdr_session): Fixed potential bugs due to style similarities to above fixes. * libfreeipmi/src/ipmi-msg-support-cmds.c (fill_cmd_activate_session): Fix for interface change. * libfreeipmi/src/ipmi-msg-support-cmds.c (ipmi_kcs_set_user_name, ipmi_kcs_set_user_password): Fix for interface changes. * libfreeipmi/src/ipmi-msg-support-cmds.h (ipmi_kcs_set_user_password): Fix interface for naming consistency. * libfreeipmi/src/fiid.c (fiid_obj_field_start_bytes): Fix error check bug. * libfreeipmi/src/ipmi-sensor-utils.c (ipmi_sensor_decode_value): Remove useless line that could break builds on debug conditions. 2004-12-11 Anand Babu * libfreeipmi/src/ipmi-msg-support-cmds.c: rqSeq'ing starts even before session establishment. So ipmi_lan_get_channel_auth_caps, ipmi_lan_get_session_challenge, ipmi_lan_activate_session and ipmi_lan_open_session all takes rq_seq argument. * libfreeipmi/src/ipmi-lan-interface.h: new IPMI_LAN_RQ_SEQ_INC macro. * fish/src/ipmi-wrapper.c: rq_seq argument. * doc/examples/ipmi-lan-test.c: new lan bmc-info command example. * doc/examples/Makefile.example: facelift. * libfreeipmi/src/ipmi-utils.c: new utility procedure open_free_udp_port (). 2004-12-09 Albert Chu * fish/extensions/bc-lan-conf-misc-section.scm: List 500 ms interval length for gratuitous arp interval. * fish/bmc-config.conf.5: New file. * fish/Makefile.am: added new manpage. * fish/src/ipmi-wrapper-sensor.c (display_verbose_current-generic_discrete_sensor_full_record, display_verbose_current_discrete_sensor_full_record): Filled in code for functions. 2004-12-08 Albert Chu * fish/src/ipmi-wrapper-sensor.c (display_current_discrete_sensor_full_record): Don't output thresholds for this non-threshold sensor. 2004-12-07 Albert Chu * libfreeipmi/src/ipmi-kcs-interface.h, libfreeipmi/src/ipmi-kcs-interface.c: Globally rename IPMI_KCS_REG_SPACE_32BIT_BOUND to IPMI_KCS_REG_SPACE_4BYTE_BOUND for consistency. * libfreeipmi/src/ipmi-msg-support-cmds.h: Add forgotten tmpl_get_channel_access_rq definition. * libfreeipmi/src/ipmi-msg-support-cmds.c (fill_kcs_set_user_name): Don't segfault on NULL username. * libfreeipmi/src/ipmi-msg-support-cmds.c (fill_kcs_set_user_password): Don't segfault on NULL password. * libfreeipmi/src/ipmi-sensor-utils.c (ipmi_sensor_decode_value): Change is_signed parameter to analog_data_format and calculate sensor reading based on analog data format rather than binary signed or unsigned parameter. * libfreeipmi/src/ipmi-sensor-utils.c (ipmi_sensor_get_decode_params): Change is_signed parameter to analog_data_format and read analog_data_format by fiid_obj_get. * fish/src/ipmi-wrapper-sensor.c: Globally rename "is_signed" to "analog_data_format". * bmc-watchdog/src/bmc-watchdog.c (_get_port, _usage, _cmdline_parse): Support --reg-space option. * bmc-watchdog/bmc-watchdog.8.in: Update with new register spacing option. 2004-12-06 Albert Chu * fish/extensions/bc2.scm: Turn on "Enable_User" option. * fish/extensions/bc-user-section.scm (checkout-enable-user): Return empty string instead of false. * fish/extensions/bc-user-section.scm (diff-enable-user): New function. 2004-12-04 Anand Babu * CVS: tagged before commit checkpoint-pre-kcs-api-change. * configure.ac: Next version number would be 0.2.0. But lot more work to be done before that. * libfreeipmi/src/ipmi-kcs-interface.c: kcs init function accepts reg_space argument. All functions uses the sms_io_base KCS port address set through kcs init function. This has resulted in API changes across the freeipmi source. List of modified files are bmc-watchdog/src/bmc-watchdog.c fish/src/bmc-conf-checkout.c fish/src/bmc-conf-commit.c fish/src/bmc-conf-utils.c fish/src/bmc-conf2.c fish/src/fish.c fish/src/ipmi-wrapper-sel.c fish/src/ipmi-wrapper-sensor.c fish/src/ipmi-wrapper.c fish/src/scm-procedures.c libfreeipmi/src/ipmi-chassis-cmds.c libfreeipmi/src/ipmi-chassis-cmds.h libfreeipmi/src/ipmi-dev-global-cmds.c libfreeipmi/src/ipmi-dev-global-cmds.h libfreeipmi/src/ipmi-lan-cmds.c libfreeipmi/src/ipmi-lan-cmds.h libfreeipmi/src/ipmi-pef-cmds.c libfreeipmi/src/ipmi-sdr-repo-cache.c libfreeipmi/src/ipmi-sdr-repo-cache.h libfreeipmi/src/ipmi-sdr-repo-cmds.c libfreeipmi/src/ipmi-sdr-repo-cmds.h libfreeipmi/src/ipmi-sel-cmds.c libfreeipmi/src/ipmi-sel-cmds.h libfreeipmi/src/ipmi-sel-record-types.c libfreeipmi/src/ipmi-sel-record-types.h libfreeipmi/src/ipmi-sensor-cmds.c libfreeipmi/src/ipmi-sensor-cmds.h libfreeipmi/src/ipmi-serial-cmds.c libfreeipmi/src/ipmi-serial-cmds.h libfreeipmi/src/ipmi-sol-cmds.c. * libfreeipmi/src/ipmi-msg-support-cmds.c: Now uses fiid_obj_get/set and some code cleanup. * bmc-watchdog/src/bmc-watchdog.c: Supports reg_spacing. * fish/src/fish.c: Supports reg_spacing. * libfreeipmi/src/ipmi-probe.h: Added reg_space to probe info structre. * libfreeipmi/src/smbios.c: enabled reg_space extraction. 2004-12-02 Albert Chu * bmc-watchdog/src/bmc-watchdog.c (_cmdline_parse): Fix error message for invalid timer use, stop timer, or log values. * bmc-watchdog/src/bmc-watchdog.c (_timer_user_str): Return 'Reserved' instead of error message when value does not match a known value. * fish/src/ipmi-wrapper-sensor.c (display_current_threshold_sensor_full_record): Don't output lower/upper critical threshold by default, output depending on its readability. * freeipmi.spec.in: Fixed info file corner case discovered by John Goebel . 2004-12-01 A Balamurugan * libfreeipmi/src/ipmi-sensor-event-messages.[ch]: new files. * fish/extensions/sel.scm: updated. * fish/src/extension.c: removed fi-sel-display-first-entry and fi-sel-display-next-entry. * fish/src/ipmi-wrapper-sel.[ch]: rewritten. * fish/src/scm-procedures.c: updated ex_sel_get_first_entry() and ex_sel_get_next_entry(). * libfreeipmi/src/Makefile.am: updated. * libfreeipmi/src/freeipmi.h: updated. * libfreeipmi/src/ipmi-sel-record-types.c: rewritten all fiid templates. 2004-11-28 A Balamurugan * fish/src/ipmi-wrapper.c (get_lan_channel_number): now using probed channel. * fish/src/ipmi-wrapper.c (get_serial_channel_number): now using probed channel. * fish/src/ipmi-wrapper.c (display_channel_info): new function. * fish/src/ipmi-wrapper.c (display_get_dev_id): now prints channel info. * fish/src/scm-procedures.c (ex_kcs_get_dev_id_display): fixed memory leak. * libfreeipmi/src/ipmi-sdr-record-types.c: added new template tmpl_sdr_event_only_sensor_record. 2004-11-28 Anand Babu * fish/src/ipmi-wrapper.c (display_get_dev_id): bmc-info should now decode auxillary-firmware-revision for all Intel products. * ROADMAP: added new file. 2004-11-24 Albert Chu * ipmipower/ipmipower.8.in: Add information about gethostbyname() bottleneck. 2004-11-22 Albert Chu * libfreeipmi/src/ipmi-kcs-interface.h, libfreeipmi/src/ipmi-kcs-interface.c (ipmi_kcs_cmd_raw, ipmi_kcs_cmd_raw_interruptible): New functions. * ipmipower/src/ipmipower_connection.c (_connection_setup): Remove incorrect comment statement. * bmc-watchdog/src/bmc-watchdog.c (_set_cmd, _daemon_setup): Don't compare value of pre_timeout_interrupt value against initial countdown if pre-timeout interrupt is none. * ipmipower/ipmipower.8.in: Fix a minor wording mistake. 2004-11-16 Albert Chu * ipmipower/src/ipmipower_powercmd.c (_process_ipmi_packets): Fix logic error in "auto" authentication calculation. 2004-11-15 Albert Chu Added auto authentication type to ipmipower to automatically choose the most secure authentication among those available from the remote machine. * ipmipower/src/ipmipower.h: Added AUTH_TYPE_AUTO to auth_type_t. Added authtype field to ipmipower_powercmd structure. * ipmipower/src/ipmipower_auth.c (ipmipower_auth_index, ipmipower_auth_string, ipmipower_auth_list): Added "auto" authtype support. * ipmipower/src/ipmipower_powercmd.c (_process_ipmi_packets): Calculate best authentication available under "auto" authtype. Store authentication type code in authtype field of ipmipower_powercmd struct. * ipmipower/src/ipmipower_powercmd.c (_recv_packet), ipmipower/src/ipmipower_packet.c (ipmipower_packet_create): Use authtype field of ipmipower_powercmd_t pointer rather than calling ipmipower_ipmi_auth_type. * ipmipower/src/ipmipower_config.c (ipmipower_config_setup): Make "auto" the default. * ipmipower/ipmipower.8.in, ipmipower/ipmipower.conf.5.in: Added "auto" as available authentication type. 2004-11-15 Albert Chu * libfreeipmi/src/ipmi-msg-support-cmds.c (ipmi_lan_get_channel_auth_caps, ipmi_lan_get_session_challenge, ipmi_lan_activate_session, ipmi_lan_set_session_priv_level, ipmi_lan_close_session): Remove check for completion code after call to ipmi_lan_cmd(). Check should be done by caller and handled as it feels necessary. * libfreeipmi/src/ipmi-msg-support-cmds.c (ipmi_lan_open_session): Check for completion code errors. * configure.ac: Added --enable-syslog option. * libfreeipmi/src/ipmi-utils.c (ipmi_comp_test): Remove syslogging as default behavior. * libfreeipmi/src/ipmi-error.h (__IPMI_TRACE, __IPMI_SYSLOG): New macros. * libfreeipmi/src/ipmi-error.h (ERR, ERR_EXIT): Cleaned up macros. Disable syslogging as default behavior. * fish/src/ipmi-wrapper.c (lan_close_session): Check completion code. * ipmipower/src/ipmipower.h, ipmipower/src/ipmipower_output.c, ipmipower/ipmipower.8.in, ipmipower/ipmipower.conf.5.in, ipmipower/src/ipmipower.c: Changed "hostlist" output type to "hostrange" type. Globally reworded documentation and variable names around this change. * ipmipower/ipmipower.8.in: Added IPMI over LAN and TROUBLESHOOTING sections. Cleaned up various wording. * ipmipower/ipmipower.conf.5.in, bmc-watchdog/bmc-watchdog.8.in, ipmiping/ipmiping.8.in, rmcpping/rmcpping.8.in: Cleaned up some wording and updated ORIGIN to be consistent to other LLNL projects. * README: This isn't the fish project, its the FreeIPMI project :-) 2004-11-09 Albert Chu * libfreeipmi/src/ipmi-lan-interface.c (ipmi_lan_cmd): Make ipmi_lan_cmd() consistent to style of ipmi_kcs_cmd() by requiring caller to check completion code. * libfreeipmi/src/ipmi-msg-support-cmds.c (ipmi_lan_get_channel_auth_caps, ipmi_lan_get_session_challenge, ipmi_lan_activate_session, ipmi_lan_set_session_priv_level, ipmi_lan_close_session): Add check for completion code after call to ipmi_lan_cmd(). 2004-11-04 Ian Zimmerman * libfreeipmi/src/ipmi-pef-cmds.c: Yet more PEF routines. 2004-11-03 Ian Zimmerman * libfreeipmi/src/ipmi-pef-cmds.c: Lots of new PEF routines added. 2004-11-02 Ian Zimmerman * configure.ac: fail configure if fish is being built but readline is not found. If fish is not being built, don't check for readline or guile at all. 2004-11-02 Albert Chu * freeipmi.spec.in: Various fixes for potential build issues. Added THANKS file. 2004-10-29 Ian Zimmerman * libfreeipmi/src/ipmi-pef-cmds.c: More PEF commands added. (ipmi_kcs_get_pef_alert_string): And more of the same. 2004-10-28 Albert Chu * libfreeipmi/src/ipmi-lan-interface.c (ipmi_lan_cmd): Fixed initialization bug found by Andrew Cress . 2004-10-28 Anand Babu * bmc-watchdog/src/bmc-watchdog.c fish/src/fi-commands.c fish/src/fi-utils.c fish/src/fi-utils.h fish/src/fish.c fish/src/ipmi-wrapper-sensor.c fish/src/ipmi-wrapper.c fish/src/scm-procedures.c fish/src/xmalloc.h ipmipower/src/ipmipower_output.c ipmipower/src/wrappers.c ipmipower/src/wrappers.h libfreeipmi/src/freeipmi.h libfreeipmi/src/ipmi-kcs-interface.c libfreeipmi/src/ipmi-lan-interface.c libfreeipmi/src/ipmi-msg-support-cmds.c libfreeipmi/src/ipmi-sdr-repo-cache.c libfreeipmi/src/ipmi-semaphores.h libfreeipmi/src/ipmi-smic-interface.c libfreeipmi/src/ipmi-utils.c libfreeipmi/src/ipmi-watchdog.c libfreeipmi/src/libfreeipmi.c libfreeipmi/src/rmcp.c: Applied patch for FreeBSD port by Dmitry Frolov . Tested on FreeBSD 5.3-BETA7. * doc/freeipmi.texi: Updated doc on installation under FreeBSD. * THANKS: Added Dimitry Frolov and other contributors. * AUTHORS: Added package maintainers section. 2004-10-27 Ian Zimmerman * libfreeipmi/src/ipmi-pef-cmds.c: more PEF commands. 2004-10-26 Ian Zimmerman * libfreeipmi/src/ipmi-pef-param-spec.h: New file. * libfreeipmi/src/Makefile.am, libfreeipmi/src/freeipmi.h, libfreeipmi/src/ipmi-pef-cmds.h, libfreeipmi/src/ipmi-pef-cmds.c: added first batch of low level PEF functions. 2004-10-25 Albert Chu * freeipmi.spec.in: Additional file packaging changes based on recent changes to doc installation. * bmc-watchdog/bmc-watchdog.8.in: Modified for changes made by Ian to _get_port(). 2004-10-25 Ian Zimmerman * bmc-watchdog/src/bmc-watchdog.c (_get_port): probe for KCS IO port, don't use hardcoded default. 2004-10-25 A Balamurugan * fish/src/ipmi-wrapper-sensor.c: now sensors normal output shows upper/lower critical threshold instead of normal min/max. * libfreeipmi/src/ipmi-sdr-record-types.[ch]: added new template tmpl_generic_device_locator_sensor_record. 2004-10-25 Ian Zimmerman * configure.ac, Makefile.am: make it possible to disable fish building. 2004-10-24 Ian Zimmerman * configure.ac: bump version number to 0.1.3. * ipmipower/Makefile.am, bmc-watchdog/Makefile.am, ipmiping/Makefile.am, rmcpping/Makefile.am: don't put configured manpages into distribution. 2004-10-19 Ian Zimmerman * NEWS: insert a meaningless blurb to shut up lintian. 2004-10-16 Anand Babu * libfreeipmi/src/fiid.h: fiid_template_t and fiid_tmpl_t are now constants. * ipmipower/src/ipmipower_packet.c (ipmipower_packet_cmd_template): modified return type accordingly. * libfreeipmi/src/ipmi-debug.c (fiid_obj_dump_perror): fixed typecast warnings. * doc/freeipmi.texi: Added "Auth_Type_None conflict" section to bmc-config known issues. 2004-10-14 Ian Zimmerman * configure.ac, bmc-watchdog/Makefile.am, fish/Makefile.am, ipmiping/Makefile.am, ipmipower/Makefile.am, rmcpping/Makefile.am, doc/Makefile.am: reflect the fact that manpage templates have moved from the doc directory to be next to the binaries they describe. * configure.ac, fish/src/Makefile.am: Do not link everything with ncurses and readline, just fish. 2004-10-14 Anand Babu * freeipmi/libfreeipmi/src/ipmi-semaphores.h: Portability fixes - careful macro checks for union semun. * freeipmi/libfreeipmi/src/xmalloc.h: Removed error.h and error prototype. 2004-10-14 Albert Chu * configure.ac: Remove --enable-rpm-install option. * freeipmi.spec.in: Remove use of --enable-rpm-install. Added and removed package documents appropriately based on recent document changes. Make install using DESTDIR. * bmc-watchdog/bmc-watchdog.log: Removed file. * bmc-watchdog/Makefile.am: Use init.d rather than rc.d/init.d for portability. Remove install of bmc-watchdog.log, just make /var/log/freeipmi directory. * bmc-watchdog/Makefile.am, libfreeipmi/Makefile.am: Remove use of RPM_INSTALL flag. 2004-10-13 Ian Zimmerman * doc/examples/Makefile.am (Examplesdir): use $(docdir)/examples for installation. * doc/Makefile.am: export docdir variable. 2004-10-11 Albert Chu * bmc-watchdog/src/bmc-watchdog.c (_pre_interrupt_timeout_str): Renamed to _pre_timeout_interrupt_str to match code style in rest of program. Output of NMI modified to more closely match IPMI specification. * bmc-watchdog/src/bmc-watchdog.c (_get_cmd): Updated call to _pre_timeout_interrupt_str appropriately. 2004-10-11 Anand Babu * CVS tagged as release-0_1_0-tag. 2004-10-08 A Balamurugan * bmc-watchdog/src/bmc-watchdog.c: fixed compiler warnings 2004-10-08 Anand Babu * authors.texi, fdl.texi, freeipmi.texi, gpl.texi, permissions.texi, version.texi.in: newly added - GNU FreeIPMI User's Guide. * authors.texinfo, fish.texinfo, freeipmi-hg.texinfo, gpl.texinfo: removed. * ipmi-over-ts2000.texi ipmi-network-layout.fig ipmi-network-layout.xcf freeipmi-hackers-intro.sxi: additional documentation added with (cvs add -kb) binary sticky flag. * fish/src/ipmi-wrapper-sensor.c: commented unused variables. * ipmipower/src/wrappers.c (_checkfill): fixed unused-warning. * ipmipower/src/ipmipower_check.c (_check_command): initialized "expected_cmd" to -1. * ipmipower/src/conffile.c (conffile_parse): initialized "len" to -1. * doc/Makefile.am: new entries to handle additional documentation and PDF creation. * TODO: cleanup and reformating. * configure.ac: now becomes 0.1.0. 2004-10-08 A Balamurugan * bmc-watchdog/src/bmc-watchdog.c: Fixed compatibility issues with GCC 2.96 * libfreeipmi/src/ipmi-ping.c: like wise 2004-10-07 Albert Chu * doc/bmc-watchdog.8.in: Fixed typo, 0x0CA2 to 0xCA2. 2004-10-04 Albert Chu Removed --permsgauth_hosts command line option in ipmipower. * doc/ipmipower.8.in, doc/ipmipower.conf.5.in: Removed all references to permsgauth_hosts command line, interactive command, and configuration file options. Slight re-word of information in KNOWN ISSUES. * ipmipower/src/ipmipower.h: Removed MSG_TYPE_PERMSGAUTH_REQUIRED and MSG_TYPE_PERMSGAUTH_DISABLED definitions. Removed permsgauth_hosts, permsgauth_hosts_count, and permsgauth_hosts_set in ipmipower_config. Added permsgauth_enabled to ipmipower_powercmd. * ipmipower/src/ipmipower_config.c (ipmipower_config_setup, ipmipower_config_cmdline_parse, ipmipower_config_conffile_parse, ipmipower_config_check_values): Removed all configuration regarding permsgauth_hosts command line and configuration file options. * ipmipower/src/ipmipower_output.c: Removed permsgauth output messages. * ipmipower/src/ipmipower_packet.c (ipmipower_packet_create): Base authentication on permsgauth_enabled flag. * ipmipower/src/ipmipower_powercmd.c (ipmipower_powercmd_queue): Initialize permsgauth_enabled. * ipmipower/src/ipmipower_powercmd.c (_recv_packet): Base authentication on permsgauth_enabled flag. * ipmipower/src/ipmipower_powercmd.c (_process_ipmi_packets): Set permsgauth_enabled flag based on result of Get Authentication Capabilities response. * ipmipower/src/ipmipower_prompt.c (_cmd_permsgauth_hosts): Removed function. * ipmipower/src/ipmipower_prompt.c (_cmd_advanced, _cmd_config, ipmipower_prompt_process_cmdline): Removed all reference to permsgauth_hosts interactive command. 2004-09-29 A Balamurugan * libfreeipmi/src/ipmi-sensor-cmds.c: added optional ignore byte in template tmpl_get_sensor_threshold_reading_rs. 2004-09-27 Albert Chu * freeipmi.spec.in: Fixed up administration issues with the post install script. 2004-09-22 A Balamurugan * fish/extensions/bc-section.scm: bug #10446, skip unsupported fields, is fixed. 2004-09-17 Albert Chu * bmc-watchdog/src/bmc-watchdog.c (_get_port), doc/bmc-watchdog.8.in: Make default port 0xCA2 based on IPMI spec. * bmc-watchdog/src/bmc-watchdog.c (_get_port): Fix bug with --io-port option. * doc/bmc-watchdog.8.in: Added examples. * bmc-watchdog/bmc-watchdog: Modified default rc script to reset a machine instead of generate an INIT. This is the more common use of the bmc-watchdog. * doc/ipmipower.8.in: Fixed up examples. 2004-09-15 Albert Chu * ipmipower/src/ipmipower_output.c: Fixed output message. 2004-09-14 Albert Chu * doc/bmc-watchdog.8.in, doc/ipmipower.8.in, doc/ipmipower.conf.5.in: Fixed wording and a few typos. 2004-09-09 A Balamurugan * fish/extensions/bc-common.scm: now bmc-config --diff checks user password. * fish/extensions/bc-lan-conf-auth-section.scm: like wise * fish/extensions/bc-lan-conf-misc-section.scm: like wise * fish/extensions/bc-lan-conf-section.scm: like wise * fish/extensions/bc-lan-serial-channel-section.scm: like wise * fish/extensions/bc-misc-section.scm: like wise * fish/extensions/bc-section.scm: like wise * fish/extensions/bc-serial-conf-section.scm: like wise * fish/extensions/bc-user-section.scm: like wise * fish/src/bmc-conf2.[ch]: added new function check_bmc_user_password(). * fish/src/extension.c: added new primitive procedure fi-check-bmc-user-password. * fish/src/scm-procedures.c: added new function ex_check_bmc_user_password(). 2004-09-07 A Balamurugan * fish/extensions/utils.scm: renamed (simple->string) to (any->string) * fish/extensions/bc-lan-conf-misc-section.scm: like wise * fish/extensions/bc-section.scm: like wise * fish/extensions/bc-serial-conf-section.scm: like wise * fish/extensions/bc-user-section.scm: like wise 2004-09-02 A Balamurugan * fish/extensions/bc-lan-conf-auth-section.scm: added code to support empty values. * fish/extensions/bc-lan-conf-misc-section.scm: like wise * fish/extensions/bc-lan-conf-section.scm: like wise * fish/extensions/bc-lan-serial-channel-section.scm: like wise * fish/extensions/bc-misc-section.scm: like wise * fish/extensions/bc-section.scm: like wise * fish/extensions/bc-serial-conf-section.scm: like wise * fish/extensions/bc-user-section.scm: like wise * fish/extensions/utils.scm: (simple->string) primitive procedure supports list. * fish/src/scm-procedures.c: fixed bug toggling user input in ex_set_bmc_lan_channel_volatile_access(), ex_set_bmc_lan_channel_non_volatile_access(), ex_set_bmc_serial_channel_volatile_access() and ex_set_bmc_serial_channel_non_volatile_access() 2004-08-24 Albert Chu * libfreeipmi/src/ipmi-sensor-cmds.c (ipmi_kcs_get_sensor_thresholds): Fix typo. 2004-08-23 Albert Chu * bmc-watchdog/src/bmc-watchdog.c (_bmclog): Fix typo. 2004-08-20 A Balamurugan * fish/extensions/bc-common.scm: added new primitive procedure (get-doc-string) * fish/extensions/bc-lan-conf-auth-section.scm: added doc string * fish/extensions/bc-lan-conf-misc-section.scm: like wise * fish/extensions/bc-lan-conf-section.scm: like wise * fish/extensions/bc-lan-serial-channel-section.scm: like wise * fish/extensions/bc-misc-section.scm: like wise * fish/extensions/bc-section.scm: like wise * fish/extensions/bc-serial-conf-section.scm: like wise * fish/extensions/bc-user-section.scm: like wise 2004-08-20 Anand Babu * CVS tagged as release-0_1_0_alpha6-tag 2004-08-20 A Balamurugan * doc/sel.1: added examples 2004-08-20 Anand Babu * fish/extensions/sel.scm (sel-main): fixed bug in parsing hex dump optional argument. Argument to value should not be quoted. 2004-08-20 Ian Zimmerman * doc/sel.1: document new options -x, --hex-dump and -i, --info. * fish/extensions/sel.scm (sel-hex-dump): Use sel-display-info. (sel-display-info): New function. (sel-display-flags): New function. * fish/src/extension.c (install_new_procedures): New function ex_sel_get_info_binary. * fish/src/scm-procedures.h (ex_sel_get_info_binary): New function. * fish/src/scm-procedures.c (ex_sel_get_info_binary): New function. * fish/src/ipmi-wrapper-sel.h (struct sel_info): Make all fields unsigned long for easier conversion to Scheme. 2004-08-20 A Balamurugan * doc/bmc-config.1: man page updated. * fish/extensions/bc-common.scm: added new primitive procedure (make-section) * fish/extensions/bc-section.scm: added new primitive procedure (diff-section-values) and (diff-section) * fish/extensions/bc2.scm: updated. added support for --key-pair and --diff 2004-08-19 Ian Zimmerman * fish/extensions/sel.scm (sel-main): add --info option. 2004-08-19 A Balamurugan * fish/src/ipmi-wrapper-sensor.c: modified display_current_threshold_sensor_full_record() and display_verbose_current_threshold_sensor_full_record(). 2004-08-18 Ian Zimmerman * libfreeipmi/src/pcilocate.c (pci_get_dev_info): Fix a typo causing warning in the stubbed out branch. * fish/extensions/sel.scm (sel-main): Add call to fi-sel-get-info. * fish/src/extension.c (install_new_procedures): Register fi-sel-get-info. * fish/src/scm-procedures.h (ex_sel_get_info): Declare new function. * fish/src/scm-procedures.c (ex_sel_get_info): Add function. * fish/src/ipmi-wrapper-sel.c (get_sel_info): Add function. * fish/src/ipmi-wrapper-sel.h (struct sel_info): Add this structure and enum for the flags field. (get_sel_info): declare new function. 2004-08-18 A Balamurugan * TODO: added new todo's. * fish/src/ipmi-wrapper-sensor.c: now sensor status are relavent to threshold state. * libfreeipmi/src/ipmi-sensor-cmds.c: added ipmi_kcs_get_sensor_thresholds(). * libfreeipmi/src/ipmi-sensor-types.c: updated ipmi_sensor_threshold_health_check(). 2004-08-17 Ian Zimmerman * fish/extensions/sel.scm (sel-display-help): add --hex-dump option to usage messages. (sel-main): actually implement --hex-dump * fish/src/extension.c (install_new_procedures): install ex_sel_*_{raw,hex}. * fish/src/scm-procedures.h: declare ex_sel_*_hex. * fish/src/scm-procedures.c (ex_sel_get_first_entry_hex): new function. (ex_sel_get_next_entry_hex): new function. 2004-08-16 Ian Zimmerman * fish/src/scm-procedures.c (ex_sel_get_next_entry_raw): Fix index out of bounds. * fish/src/scm-procedures.h: add prototypes for ex_sel_get_next_entry_raw and ex_sel_get_first_entry_raw. * fish/src/scm-procedures.c (ex_sel_get_next_entry_raw): new function. (ex_sel_get_first_entry_raw): new function. 2004-08-10 Ian Zimmerman * fish/src/scm-procedures.c (ex_sel_display_first_entry): use SEL_RECORD_SIZE constant instead of hardcoding. (hex_dump_record_data): new function. * fish/src/ipmi-wrapper-sel.h: #define SEL_RECORD_SIZE * TODO: Add gh -> scm conversion task. 2004-08-16 A Balamurugan * fish/extensions/bc-common.scm: code cleanups * fish/extensions/bc-section.scm: like wise * fish/scripts/bmc-config/bmc-config.in: now uses new bmc-config 2004-08-05 Ian Zimmerman * configure.ac: Bump version for snapshot release. 2004-07-28 A Balamurugan * fish/extensions/bc-common.scm: added new procedure (file-exists?) * fish/extensions/bc-section.scm: code cleanup and updated procedures * fish/extensions/bc2.scm: like wise 2004-07-26 Albert Chu * bmc-watchdog/src/bmc-watchdog.c (_bmclog, _init_bmc_watchdog): Fixed --no-logging option. 2004-07-17 A Balamurugan * fish/extensions/bc-common.scm: added primitives for checkout support * fish/extensions/bc-lan-conf-auth-section.scm: like wise * fish/extensions/bc-lan-conf-misc-section.scm: like wise * fish/extensions/bc-lan-conf-section.scm: like wise * fish/extensions/bc-lan-serial-channel-section.scm: like wise * fish/extensions/bc-misc-section.scm: like wise * fish/extensions/bc-section.scm: like wise * fish/extensions/bc-serial-conf-section.scm: like wise * fish/extensions/bc-user-section.scm: like wise * fish/src/bmc-conf2.[ch]: added new functions get_bmc_user_access(), get_bmc_channel_access(), get_bmc_chassis_status(), get_bmc_username(), get_bmc_user_lan_channel_access(), get_bmc_user_serial_channel_access(), get_bmc_lan_channel_volatile_access(), get_bmc_lan_channel_non_volatile_access(), get_bmc_lan_conf_ip_addr_source(), get_bmc_lan_conf_ip_addr(), get_bmc_lan_conf_mac_addr(), get_bmc_lan_conf_subnet_mask(), get_bmc_lan_conf_default_gw_ip_addr(), get_bmc_lan_conf_default_gw_mac_addr(), get_bmc_lan_conf_backup_gw_ip_addr(), get_bmc_lan_conf_backup_gw_mac_addr(), get_bmc_lan_conf_auth_type_enables(), get_bmc_lan_conf_arp_control(), get_bmc_lan_conf_gratuitous_arp(), get_bmc_serial_channel_volatile_access(), get_bmc_serial_channel_non_volatile_access(), get_bmc_serial_conf_conn_mode(), get_bmc_serial_conf_page_blackout_interval(), get_bmc_serial_conf_call_retry_time(), get_bmc_serial_conf_ipmi_msg_comm_settings() and get_bmc_power_restore_policy() * fish/src/extension.c: added new primitives fi-get-bmc-username, fi-get-bmc-user-lan-channel-access, fi-get-bmc-user-serial-channel-access, fi-get-bmc-lan-channel-volatile-access, fi-get-bmc-lan-channel-non-volatile-access, fi-get-bmc-lan-conf-ip-address-source, fi-get-bmc-lan-conf-ip-address, fi-get-bmc-lan-conf-mac-address, fi-get-bmc-lan-conf-subnet-mask, fi-get-bmc-lan-conf-default-gateway-ip-address, fi-get-bmc-lan-conf-default-gateway-mac-address, fi-get-bmc-lan-conf-backup-gateway-ip-address, fi-get-bmc-lan-conf-backup-gateway-mac-address, fi-get-bmc-lan-conf-auth-type-callback-enables, fi-get-bmc-lan-conf-auth-type-user-enables, fi-get-bmc-lan-conf-auth-type-operator-enables, fi-get-bmc-lan-conf-auth-type-admin-enables, fi-get-bmc-lan-conf-auth-type-oem-enables, fi-get-bmc-lan-conf-arp-control, fi-get-bmc-lan-conf-gratuitous-arp, fi-get-bmc-serial-channel-volatile-access, fi-get-bmc-serial-channel-non-volatile-access, fi-get-bmc-serial-conf-conn-mode, fi-get-bmc-serial-conf-page-blackout-interval, fi-get-bmc-serial-conf-call-retry-time, fi-get-bmc-serial-conf-ipmi-msg-comm-settings and fi-get-bmc-power-restore-policy. * fish/src/scm-procedures.[ch]: added new functions ex_get_bmc_username(), ex_get_bmc_user_lan_channel_access(), ex_get_bmc_user_serial_channel_access(), ex_get_bmc_lan_channel_volatile_access(), ex_get_bmc_lan_channel_non_volatile_access(), ex_get_bmc_lan_conf_ip_addr_source(), ex_get_bmc_lan_conf_ip_addr(), ex_get_bmc_lan_conf_mac_addr(), ex_get_bmc_lan_conf_subnet_mask(), ex_get_bmc_lan_conf_default_gw_ip_addr(), ex_get_bmc_lan_conf_default_gw_mac_addr(), ex_get_bmc_lan_conf_backup_gw_ip_addr(), ex_get_bmc_lan_conf_backup_gw_mac_addr(), ex_get_bmc_lan_conf_auth_type_callback_enables(), ex_get_bmc_lan_conf_auth_type_user_enables(), ex_get_bmc_lan_conf_auth_type_operator_enables(), ex_get_bmc_lan_conf_auth_type_admin_enables(), ex_get_bmc_lan_conf_auth_type_oem_enables(), ex_get_bmc_lan_conf_arp_control(), ex_get_bmc_lan_conf_gratuitous_arp(), ex_get_bmc_serial_channel_volatile_access(), ex_get_bmc_serial_channel_non_volatile_access(), ex_get_bmc_serial_conf_conn_mode(), ex_get_bmc_serial_conf_page_blackout_interval(), ex_get_bmc_serial_conf_call_retry_time(), ex_get_bmc_serial_conf_ipmi_msg_comm_settings() and ex_get_bmc_power_restore_policy() 2004-07-13 A Balamurugan * fish/extensions/bc-common.scm: code cleanup * fish/extensions/bc-lan-conf-auth-section.scm: like wise * fish/extensions/bc-lan-conf-misc-section.scm: like wise * fish/extensions/bc-lan-conf-section.scm: like wise * fish/extensions/bc-lan-serial-channel-section.scm: like wise * fish/extensions/bc-misc-section.scm: like wise * fish/extensions/bc-section.scm: like wise * fish/extensions/bc-serial-conf-section.scm: like wise 2004-07-12 A Balamurugan * fish/extensions/bc-common.scm: new file * fish/extensions/bc-lan-conf-auth-section.scm: new file * fish/extensions/bc-lan-conf-misc-section.scm: new file * fish/extensions/bc-lan-conf-section.scm: new file * fish/extensions/bc-lan-serial-channel-section.scm: new file * fish/extensions/bc-misc-section.scm: new file * fish/extensions/bc-section.scm: new file * fish/extensions/bc-serial-conf-section.scm: new file * fish/extensions/bc-user-section.scm: new file * fish/extensions/bc2.scm: new file * fish/src/bmc-conf2.c: new file * fish/src/bmc-conf2.h: new file * fish/extensions/Makefile.am: updated * fish/extensions/init.scm: added load-entry of bmc-conf2 * fish/extensions/utils.scm: code cleanup * fish/src/Makefile.am: updated * fish/src/extension.c: added new primitive procedures fi-set-bmc-username, fi-set-bmc-enable-user, fi-set-bmc-user-password, fi-set-bmc-user-lan-channel-access, fi-set-bmc-user-serial-channel-access, fi-set-bmc-lan-channel-volatile-access, fi-set-bmc-lan-channel-non-volatile-access, fi-set-bmc-lan-conf-ip-address-source, fi-set-bmc-lan-conf-ip-address, fi-set-bmc-lan-conf-mac-address, fi-set-bmc-lan-conf-subnet-mask, fi-set-bmc-lan-conf-default-gateway-ip-address, fi-set-bmc-lan-conf-default-gateway-mac-address, fi-set-bmc-lan-conf-backup-gateway-ip-address, fi-set-bmc-lan-conf-backup-gateway-mac-address, fi-set-bmc-lan-conf-auth-type-callback-enables, fi-set-bmc-lan-conf-auth-type-user-enables, fi-set-bmc-lan-conf-auth-type-operator-enables, fi-set-bmc-lan-conf-auth-type-admin-enables, fi-set-bmc-lan-conf-auth-type-oem-enables, fi-set-bmc-lan-conf-arp-control, fi-set-bmc-lan-conf-gratuitous-arp, fi-set-bmc-serial-channel-volatile-access, fi-set-bmc-serial-channel-non-volatile-access, fi-set-bmc-serial-conf-conn-mode, fi-set-bmc-serial-conf-page-blackout-interval, fi-set-bmc-serial-conf-call-retry-time, fi-set-bmc-serial-conf-ipmi-msg-comm-settings and fi-set-bmc-power-restore-policy * fish/src/scm-procedures.[ch]: added new functions ex_set_bmc_username(), ex_set_bmc_enable_user(), ex_set_bmc_user_password(), ex_set_bmc_user_lan_channel_access(), ex_set_bmc_user_serial_channel_access(), ex_set_bmc_lan_channel_volatile_access(), ex_set_bmc_lan_channel_non_volatile_access(), ex_set_bmc_lan_conf_ip_addr_source(), ex_set_bmc_lan_conf_ip_addr(), ex_set_bmc_lan_conf_mac_addr(), ex_set_bmc_lan_conf_subnet_mask(), ex_set_bmc_lan_conf_default_gw_ip_addr(), ex_set_bmc_lan_conf_default_gw_mac_addr(), ex_set_bmc_lan_conf_backup_gw_ip_addr(), ex_set_bmc_lan_conf_backup_gw_mac_addr(), ex_set_bmc_lan_conf_auth_type_callback_enables(), ex_set_bmc_lan_conf_auth_type_user_enables(), ex_set_bmc_lan_conf_auth_type_operator_enables(), ex_set_bmc_lan_conf_auth_type_admin_enables(), ex_set_bmc_lan_conf_auth_type_oem_enables(), ex_set_bmc_lan_conf_arp_control(), ex_set_bmc_lan_conf_gratuitous_arp(), ex_set_bmc_serial_channel_volatile_access(), ex_set_bmc_serial_channel_non_volatile_access(), ex_set_bmc_serial_conf_conn_mode(), ex_set_bmc_serial_conf_page_blackout_interval(), ex_set_bmc_serial_conf_call_retry_time(), ex_set_bmc_serial_conf_ipmi_msg_comm_settings() and ex_set_bmc_power_restore_policy() 2004-07-12 Albert Chu * bmc-watchdog/Makefile.am: Fixed typo. * bmc-watchdog/src/bmc-watchdog.c (_bmclog): Fixed juvenile mistake where arguments weren't output to the bmc log. 2004-07-09 Albert Chu * freeipmi.spec.in: Renamed with_bmc_watchdog_setup conditional with_bmc_watchdog_start. Added with_bmc_watchdog_condrestart conditional. 2004-07-09 Ian Zimmerman * libfreeipmi/src/ipmi-lan-interface.c (ipmi_lan_sendto): Fix buffer overrun bug: the pad byte must _not_ be copied from caller provided buffer, because it is not there. (_pkt_len -> pkt_len). 2004-07-07 Albert Chu * bmc-watchdog/src/bmc-watchdog.c (_cmd): Removed fsync() calls. Problem was unrelated to syncing. 2004-07-07 Albert Chu Replace syslogging with a BMC-Watchdog logfile. * bmc-watchdog/src/bmc-watchdog.c (_bmclog, _bmclog_write, _cmdline_default, _init_bmc_watchdog): New functions. * bmc-watchdog/src/bmc-watchdog.c (_cmdline_parse, _usage): Rename --no-syslog to --no-logging option. Added --logfile option. * bmc-watchdog/src/bmc-watchdog.c (_init_ipmi, _daemon_init): Removed openlog() calls. * bmc-watchdog/src/bmc-watchdog.c (main, _daemon_init): Call new _init_bmc_watchdog() function. * bmc-watchdog/src/bmc-watchdog.c (main): Call new _cmdline_default() function. Close logfile_fd descriptor. * bmc-watchdog/src/bmc-watchdog.c: Globally use _bmclog() instead of _syslog(). * bmc-watchdog/src/bmc-watchdog.c (_syslog): Slightly alter code structure. * bmc-watchdog/bmc-watchdog.log: New file. * bmc-watchdog/Makefile.am: Added bmc-watchdog.log install and dist. * bmc-watchdog/src/bmc-watchdog.c (_cmd): Added fsync() call so debug output is consistent. * doc/bmc-watchdog.8.in: Updated with appropriate information for changes above. * freeipmi.spec.in: Updated with packaging requirements of files in /var. 2004-07-06 Albert Chu * doc/bmc-watchdog.8.in: Added --help and --version options. * bmc-watchdog/src/bmc-watchdog.c (_cmdline_parse, _usage): Re-worked to output bmc-watchdog command specific options when --help is listed with a command type. * bmc-watchdog/src/bmc-watchdog.c (_cmd_string): New functions. * bmc-watchdog/src/bmc-watchdog.c: Some minor code cleanup throughout the code. 2004-06-29 Albert Chu * ipmipower/src/conffile.c (_parseline): Fixed argument parsing bugs. 2004-06-25 Albert Chu Added Suspend BMC Arps functionality to BMC-Watchdog * bmc-watchdog/src/bmc-watchdog.c (_suspend_bmc_arps_cmd, _get_lan_channel_number): New Functions. * bmc-watchdog/src/bmc-watchdog.c (_usage, _cmdline_parse, _start_cmd, _daemon_setup): Added --arp-response-suspend and --gratuitous-arp-suspend support. * bmc-watchdog/src/bmc-watchdog.c (_cmd): Added netfn argument. Use netfn argument in kcs function calls. * bmc-watchdog/src/bmc-watchdog.c (_reset_watchdog_timer_cmd, _set_watchdog_timer_cmd, _get_watchdog_timer_cmd, _suspend_bmc_arps_cmd): Pass appropriate network function to _cmd(). * libfreeipmi/src/ipmi-watchdog.c: Fix typo in fiid_cmd_suspend_bmc_arp_rq template. * libfreeipmi/src/ipmi-watchdog.h,libfreeipmi/src/ipmi-watchdog.c (fill_cmd_suspend_bmc_arps): Added channel_number argument. Fill channel_argument field based on argument. * libfreeipmi/src/ipmi-watchdog.h: Added IPMI_WATCHDOG_GRATUITOUS_ARP_NO_SUSPEND, IPMI_WATCHDOG_GRATUITOUS_ARP_SUSPEND, IPMI_WATCHDOG_ARP_RESPONSE_NO_SUSPEND, IPMI_WATCHDOG_ARP_RESPONSE_SUSPEND, IPMI_WATCHDOG_GRATUITOUS_ARP_VALID, and IPMI_WATCHDOG_ARP_RESPONSE_VALID macros. * doc/bmc-watchdog.8.in: Updated with new info about suspend arps options. Misc. Fixes. * libfreeipmi/src/ipmi-error.c (_ERR_RET): Fixed return value error in macro. * TODO: Remove suspend arps note. Added note about need to reprogram _get_lan_channel_number(). 2004-06-24 Albert Chu Added Pulse Diagnostic Interrupt and Soft OS Shutdown commands * ipmipower/src/ipmipower.h: Added POWER_CMD_PULSE_DIAG_INTR and POWER_CMD_SOFT_SHUTDOWN_OS definitions. * ipmipower/src/ipmipower_config.c (_usage, ipmipower_config_cmdline_parse): Added support for --pulse and --soft options. * ipmipower/src/ipmipower_prompt.c (_cmd_help, ipmipower_prompt_process_cmdline): Added support for pulse and soft commands. * ipmipower/src/ipmipower_config.c (ipmipower_packet_create): Added support for pulse diagnostic interrupts and soft os shutdowns. * doc/ipmipower.8.in: Added information about --pulse and --soft options. * TODO: Remove pulse diag and soft shutdown todo. Misc Fixes. * ipmipower/src/ipmipower.h, ipmipower/src/ipmipower_config.c, ipmipower/src/ipmipower_packet.c, ipmipower/src/ipmipower_powercmd.c, ipmipower/src/ipmipower_prompt.c: Changed POWER_CMD_POWER_STAT to POWER_CMD_POWER_STATUS. * ipmipower/src/ipmipower_config.c (_usage): Reworded some usage. * ipmipower/src/ipmipower_config.c (ipmipower_config_cmdline_parse): Put 'break' after usage and version. 2004-06-23 Albert Chu * ipmipower/src/ipmipower_prompt.c (_cmd_authtype): Check for username and password length rather than non-null. 2004-06-23 A Balamurugan * fish/src/ipmi-wrapper.c: now get_lan_channel_number() and get_serial_channel_number() return predefined values. 2004-06-16 A Balamurugan * fish/src/bmc-conf-commit.c: now set_user_password_commit() enables users. 2004-05-24 Albert Chu * freeipmi.spec.in: Added devel package. 2004-05-19 Albert Chu * freeipmi.spec.in: Added optional powerman restart check. 2004-05-18 A Balamurugan * doc/examples/hello-sensors.c: fixed. 2004-05-18 Albert Chu * bmc-watchdog/bmc-watchdog: Fix careless cut and paste typo. 2004-05-13 Albert Chu * bmc-watchdog/Makefile.am: Remove uninstall-extra. * autogen.sh: Change --foreign strictness to --gnu since we are now a gnu project. * COPYING, INSTALL, freeipmi.spec.in: New Files. * Makefile.am: Add COPYING and INSTALL to dist and install. Add freeipmi.spec.in to dist. * configure.ac: Generate freeipmi.spec. * doc/bmc-watchdog.8.in: Changed default io-port to corresponding value used in code. 2004-05-13 Ian Zimmerman * libfreeipmi/Makefile.am (IPCDIR), doc/examples/Makefile.am (Examplesdir), doc/Makefile.am (docdir): s/PACKAGE_NAME/PACKAGE/ * fish/src/bmc-conf-key-utils.c: make bmc_config_key_list static, it is not used outside of its defining file. * fish/src/bmc-conf-key-utils.h: remove bmc_config_key_list and make it static, it is not used outside of its defining file. * fish/src/bmc-conf-checkout.c, fish/src/bmc-conf-commit.c, fish/src/bmc-conf-utils.c, fish/src/ipmi-wrapper-sel.c, fish/src/ipmi-wrapper.c, fish/src/scm-procedures.c, libfreeipmi/src/ipmi-dev-global-cmds.c, libfreeipmi/src/ipmi-kcs-interface.c, libfreeipmi/src/ipmi-lan-interface.c, libfreeipmi/src/ipmi-msg-support-cmds.c, libfreeipmi/src/ipmi-sdr-repo-cache.c, libfreeipmi/src/ipmi-sel-record-types.c, libfreeipmi/src/rmcp.c: add nasty autoconf dance for alloca. * configure.ac: Add AC_FUNC_ALLOCA. 2004-05-13 Albert Chu * COPYING.ipmiping, DISCLAIMER.ipmiping, COPYING.rmcpping, DISCLAIMER.rmcpping, doc/ipmiping.8.in, doc/rmcpping.8.in, libfreeipmi/src/ipmi-ping.h, libfreeipmi/src/ipmi-ping.c, ipmiping/Makefile.am, ipmiping/src/Makefile.am, ipmiping/src/ipmiping.c, rcmpping/Makefile.am, rmcpping/src/Makefile.am, rmcpping/src/rmcpping.c: New files. * TODO: Added ipmiping and rmcpping todo list. * configure.ac: Generate ipmiping and rmcpping manpages. Generate ipmiping and rmcpping makefiles. * doc/Makefile.am: Added ipmiping and rmcpping manpages. * Makefile.am: Added ipmiping and rmcpping subdirectories. Added COPYING.ipmiping, DISCLAIMER.ipmiping, COPYING.rmcpping, DISCLAIMER.rmcpping. * libfreeipmi/src/Makefile.am: Added ipmi-ping.h and ipmi-ping.c. * libfreeipmi/src/freeipmi.h: Added ipmi-ping.h. 2004-05-12 Ian Zimmerman * fish/extensions/bmc-config.scm (bmc-config-main): If an incomplete key-pair is given just display usage and exit. * fish/extensions/sensors.scm (sensors-main): use string-tokenize to split sensors list, not read. * doc/sensors.1: Document the new --all flag. Should this file be generated through make? * fish/extensions/sensors.scm (sensors-main): Add an --all flag as requested by Al to override ignore list. (sensors-display-help): Document the new --all flag. 2004-05-11 Albert Chu * ipmipower/src/ipmipower_wrappers.h: Fix #include bug found by Ian. * ipmipower/src/ipmipower_config.c: Remove _GNU_SOURCE define. * bmc-watchdog/bmc-watchdog: Set default use to SMS/OS and clear all flags in default daemon execution. * doc/bmc-watchdog.8.in: Added known issue about using something other than SMS/OS for the bmc watchdog timer use. 2004-05-11 Albert Chu Added ipmipower. * COPYING.ipmipower, DISCLAIMER.ipmipower, doc/ipmipower.8.in, doc/ipmipower.conf.5.in, ipmipower/Makefile.am, ipmipower/src/Makefile.am, ipmipower/src/argv.c, ipmipower/src/argv.h, ipmipower/src/cbuf.c, ipmipower/src/cbuf.h, ipmipower/src/conffile.c, ipmipower/src/conffile.h, ipmipower/src/error.c, ipmipower/src/error.h, ipmipower/src/fd.c, ipmipower/src/fd.h, ipmipower/src/hostlist.c, ipmipower/src/hostlist.h, ipmipower/src/hprintf.c, ipmipower/src/hprintf.h, ipmipower/src/ipmipower_auth.c, ipmipower/src/ipmipower_auth.h, ipmipower/src/ipmipower.c, ipmipower/src/ipmipower_check.c, ipmipower/src/ipmipower_check.h, ipmipower/src/ipmipower_config.c, ipmipower/src/ipmipower_config.h, ipmipower/src/ipmipower_connection.c, ipmipower/src/ipmipower_connection.h, ipmipower/src/ipmipower.h, ipmipower/src/ipmipower_output.c, ipmipower/src/ipmipower_output.h, ipmipower/src/ipmipower_packet.c, ipmipower/src/ipmipower_packet.h, ipmipower/src/ipmipower_ping.c, ipmipower/src/ipmipower_ping.h, ipmipower/src/ipmipower_powercmd.c, ipmipower/src/ipmipower_powercmd.h, ipmipower/src/ipmipower_prompt.c, ipmipower/src/ipmipower_prompt.h, ipmipower/src/ipmipower_util.c, ipmipower/src/ipmipower_util.h, ipmipower/src/ipmipower_wrappers.c, ipmipower/src/ipmipower_wrappers.h, ipmipower/src/list.c, ipmipower/src/list.h, ipmipower/src/wrappers.c, ipmipower/src/wrappers.h: New files. * doc/Makefile.am: Added ipmipower.8 and ipmipower.conf.5. * Makefile.am: Added ipmipower subdirectory. * configure.ac: Added sys/wait.h, mmap, and mlock checks. Generate ipmipower.8 and ipmipower.conf.5 manpages. Generate Makefile.am and ipmipower/src Makefiles. * TODO: Added ipmipower todo list. 2004-05-10 Ian Zimmerman * bmc-watchdog/src/bmc-watchdog.c (_set_watchdog_timer_cmd): corrected typo in BIGENDIAN case 2004-05-07 Albert Chu * configure.ac: Fixed bugs with --enable-debug option pointed out by Ian. 2004-05-07 Ian Zimmerman * fish/src/fish.c (inner_main): add call to ipmi_probe to locate kcs io registers. * libfreeipmi/src/pcilocate.c: enclose everything in a big #ifdef __linux because it uses /proc (pci_get_dev_info): reverse the semantics of pinfo->bmc_io_mapped. * fish/src/fish.c (inner_main): rename default_ variables to cmdline_ as that describes much better what they do. 2004-05-07 Albert Chu Added bmc-watchdog * COPYING.bmc-watchdog, DISCLAIMER.bmc-watchdog, doc/bmc-watchdog.8.in, bmc-watchdog/Makefile.am, bmc-watchdog/bmc-watchdog, bmc-watchdog/src/Makefile.am, bmc-watchdog/src/bmc-watchdog.c: New files. * Makefile.am: Added bmc-watchdog subdirectory. Add docs and other files to dist. * TODO: Added bmc-watchdog todo list. * configure.ac: Generate bmc-watchdog makefiles and manpage. Added --enable-debug option, getopt_long function check, and big endian check. * doc/Makefile.am: Added bmc-watchdog.8. Added Suspend BMC Arps command * libfreeipmi/src/ipmi-watchdog.h, libfreeipmi/src/ipmi-watchdog.c: Added tmpl_cmd_suspend_bmc_arps_rq tmpl_cmd_suspend_bmc_arps_rs templates. * libfreeipmi/src/ipmi-watchdog.h, libfreeipmi/src/ipmi-watchdog.c (fill_cmd_suspend_bmc_arps): New function. 2004-05-06 Ian Zimmerman * fish/src/fish.c (inner_main): make sure command line overrides files if they conflict * fish/src/Makefile.am: improved Al's fix to use make features instead of new shells. 2004-05-06 Albert Chu * fish/fish.spec.in, fish/fish.lsm.in, libfreeipmi/libfreeipmi.lsm.in, libfreeipmi/libfreeipmi.spec.in: Removed files. * configure.ac: Remove generation of lsm and spec files. * fish/src/Makefile.am: Added dependency check to libfreeipmi.la. * fish/src/bmc-conf-checkout.c, fish/src/bmc-conf-commit.c, fish/src/bmc-conf-key-utils.c, fish/src/bmc-conf-utils.c, fish/src/fi-commands.c, fish/src/fish.c, fish/src/interpreter.c, fish/src/ipmi-wrapper-sel.c, fish/src/ipmi-wrapper-sensor.c, fish/src/ipmi-wrapper.c, libfreeipmi/src/ipmi-lan-cmds.c, libfreeipmi/src/ipmi-sel-cmds.c, libfreeipmi/src/ipmi-sel-record-types.c, libfreeipmi/src/ipmi-sol-cmds.c: Changed to "freeipmi.h" to ensure use of local header. * TODO: New file. 2004-05-06 09:35 itz * autogen.sh, configure.ac: Use ancient automake to satisfy RH users. 2004-05-05 16:10 itz * fish/src/fish.c: Change "running for first time" message because it isn't right to use PACKAGE anymore. 2004-05-05 15:13 itz * aclocal.m4: Remove aclocal.m4 because it is not a real source file (generated by autogen.sh via aclocal). 2004-05-05 14:42 itz * libfreeipmi/src/ipmi-sdr-repo-cache.h: Use /var/lib/freeipmi for sdr cache, not /var/lib/libfreeipmi 2004-05-05 14:11 itz * libfreeipmi/src/ipmi-kcs-interface.c: Second fix from Al 2004-05-05 14:08 itz * libfreeipmi/src/ipmi-kcs-interface.c: Fixed error output corner case. Fixed return value bug. Unlock semaphore if a EBUSY failure occurs. 2004-05-05 14:00 itz * AUTHORS, Makefile.am, NEWS, README, aclocal.m4, autogen.sh, configure.ac, doc/BUGS, doc/Makefile.am, doc/authors.texinfo, doc/bmc-config.1, doc/bmc-info.1, doc/fish.1, doc/fish.texinfo, doc/freeipmi-hg.texinfo, doc/gpl.texinfo, doc/sel.1, doc/sensors.1, doc/examples/Makefile.am, doc/examples/Makefile.example, doc/examples/hello-sensors.c, fish/Makefile.am, fish/fish.lsm.in, fish/fish.scm, fish/fish.spec.in, fish/extensions/Makefile.am, fish/extensions/bmc-config.scm, fish/extensions/bmc-info.scm, fish/extensions/discovery.scm, fish/extensions/init.scm, fish/extensions/sel.scm, fish/extensions/sensors-conf.scm, fish/extensions/sensors-utils.scm, fish/extensions/sensors.scm, fish/extensions/shell.scm, fish/extensions/utils.scm, fish/scripts/Makefile.am, fish/scripts/bmc-config/Makefile.am, fish/scripts/bmc-config/bmc-config.in, fish/scripts/bmc-info/Makefile.am, fish/scripts/bmc-info/bmc-info.in, fish/scripts/sel/Makefile.am, fish/scripts/sel/sel.in, fish/scripts/sensors/Makefile.am, fish/scripts/sensors/sensors.in, fish/src/Makefile.am, fish/src/bmc-conf-checkout.c, fish/src/bmc-conf-checkout.h, fish/src/bmc-conf-commit.c, fish/src/bmc-conf-commit.h, fish/src/bmc-conf-key-utils.c, fish/src/bmc-conf-key-utils.h, fish/src/bmc-conf-utils.c, fish/src/bmc-conf-utils.h, fish/src/extension.c, fish/src/extension.h, fish/src/fi-commands.c, fish/src/fi-commands.h, fish/src/fi-utils.c, fish/src/fi-utils.h, fish/src/fish.c, fish/src/fish.h, fish/src/guile-wrapper.c, fish/src/guile-wrapper.h, fish/src/interpreter.c, fish/src/interpreter.h, fish/src/ipmi-wrapper-sel.c, fish/src/ipmi-wrapper-sel.h, fish/src/ipmi-wrapper-sensor.c, fish/src/ipmi-wrapper-sensor.h, fish/src/ipmi-wrapper.c, fish/src/ipmi-wrapper.h, fish/src/scm-procedures.c, fish/src/scm-procedures.h, fish/src/xmalloc.c, fish/src/xmalloc.h, libfreeipmi/Makefile.am, libfreeipmi/ipckey, libfreeipmi/libfreeipmi.lsm.in, libfreeipmi/libfreeipmi.spec.in, libfreeipmi/src/Makefile.am, libfreeipmi/src/bit-ops.c, libfreeipmi/src/bit-ops.h, libfreeipmi/src/fiid.c, libfreeipmi/src/fiid.h, libfreeipmi/src/freeipmi.h, libfreeipmi/src/ipmi-chassis-cmds.c, libfreeipmi/src/ipmi-chassis-cmds.h, libfreeipmi/src/ipmi-cmd-spec.h, libfreeipmi/src/ipmi-debug.c, libfreeipmi/src/ipmi-debug.h, libfreeipmi/src/ipmi-dev-global-cmds.c, libfreeipmi/src/ipmi-dev-global-cmds.h, libfreeipmi/src/ipmi-error.c, libfreeipmi/src/ipmi-error.h, libfreeipmi/src/ipmi-ipmb-interface.h, libfreeipmi/src/ipmi-kcs-interface.c, libfreeipmi/src/ipmi-kcs-interface.h, libfreeipmi/src/ipmi-lan-cmds.c, libfreeipmi/src/ipmi-lan-cmds.h, libfreeipmi/src/ipmi-lan-interface.c, libfreeipmi/src/ipmi-lan-interface.h, libfreeipmi/src/ipmi-lan-param-spec.h, libfreeipmi/src/ipmi-md2.c, libfreeipmi/src/ipmi-md2.h, libfreeipmi/src/ipmi-md5.c, libfreeipmi/src/ipmi-md5.h, libfreeipmi/src/ipmi-msg-interface-desc.c, libfreeipmi/src/ipmi-msg-interface-desc.h, libfreeipmi/src/ipmi-msg-support-cmds.c, libfreeipmi/src/ipmi-msg-support-cmds.h, libfreeipmi/src/ipmi-netfn-spec.c, libfreeipmi/src/ipmi-netfn-spec.h, libfreeipmi/src/ipmi-probe.c, libfreeipmi/src/ipmi-probe.h, libfreeipmi/src/ipmi-sdr-record-types.c, libfreeipmi/src/ipmi-sdr-record-types.h, libfreeipmi/src/ipmi-sdr-repo-cache.c, libfreeipmi/src/ipmi-sdr-repo-cache.h, libfreeipmi/src/ipmi-sdr-repo-cmds.c, libfreeipmi/src/ipmi-sdr-repo-cmds.h, libfreeipmi/src/ipmi-sel-cmds.c, libfreeipmi/src/ipmi-sel-cmds.h, libfreeipmi/src/ipmi-sel-record-types.c, libfreeipmi/src/ipmi-sel-record-types.h, libfreeipmi/src/ipmi-semaphores.c, libfreeipmi/src/ipmi-semaphores.h, libfreeipmi/src/ipmi-sensor-cmds.c, libfreeipmi/src/ipmi-sensor-cmds.h, libfreeipmi/src/ipmi-sensor-types.c, libfreeipmi/src/ipmi-sensor-types.h, libfreeipmi/src/ipmi-sensor-utils.c, libfreeipmi/src/ipmi-sensor-utils.h, libfreeipmi/src/ipmi-serial-cmds.c, libfreeipmi/src/ipmi-serial-cmds.h, libfreeipmi/src/ipmi-serial-modem-param-spec.h, libfreeipmi/src/ipmi-sessions.c, libfreeipmi/src/ipmi-sessions.h, libfreeipmi/src/ipmi-smic-interface.c, libfreeipmi/src/ipmi-smic-interface.h, libfreeipmi/src/ipmi-sol-cmds.c, libfreeipmi/src/ipmi-sol-cmds.h, libfreeipmi/src/ipmi-utils.c, libfreeipmi/src/ipmi-utils.h, libfreeipmi/src/ipmi-watchdog.c, libfreeipmi/src/ipmi-watchdog.h, libfreeipmi/src/libfreeipmi.c, libfreeipmi/src/pcilocate.c, libfreeipmi/src/pcilocate.h, libfreeipmi/src/rmcp.c, libfreeipmi/src/rmcp.h, libfreeipmi/src/smbios.c, libfreeipmi/src/smbios.h, libfreeipmi/src/xmalloc.c, libfreeipmi/src/xmalloc.h: First merged tree.