summaryrefslogtreecommitdiff
path: root/usr/src/lib/fm
AgeCommit message (Collapse)AuthorFilesLines
2019-05-1510954 expose processor model name on chip topo nodesRob Johnston4-6/+43
Reviewed by: Robert Mustacchi <rm@joyent.com> Reviewed by: Peter Tribble <peter.tribble@gmail.com> Approved by: Gordon Ross <gwr@nexenta.com>
2019-05-1410898 Add topo method to determine occupant statusRob Johnston13-9/+170
Reviewed by: Robert Mustacchi <rm@joyent.com> Reviewed by: Toomas Soome <tsoome@me.com> Approved by: Gordon Ross <gwr@nexenta.com>
2019-05-1410897 topo_sensor_state_name() needs workRob Johnston2-9/+35
Reviewed by: Robert Mustacchi <rm@joyent.com> Reviewed by: Toomas Soome <tsoome@me.com> Approved by: Gordon Ross <gwr@nexenta.com>
2019-03-1310515 libtopo's XML serialization code is broken and incompleteRob Johnston3-105/+224
10516 fmtopo is missing code to handle properties of type TOPO_TYPE_FMRI_ARRAY Reviewed by: Robert Mustacchi <rm@joyent.com> Reviewed by: Toomas Soome <tsoome@me.com> Approved by: Richard Lowe <richlowe@richlowe.net>
2019-03-1210321 disk enumerator should make protocol/label prop mutableRob Johnston1-2/+3
Reviewed by: Jordan Hendricks <jordan.hendricks@joyent.com> Reviewed by: Robert Mustacchi <rm@joyent.com> Reviewed by: Igor Kozhukhov <igor@dilos.org> Reviewed by: Gergő Doma <domag02@gmail.com> Approved by: Richard Lowe <richlowe@richlowe.net>
2019-02-1310361 usr/lib - stop lint library generation and packagingAndy Fiddaman13-399/+0
Reviewed by: Jason King <jason.king@joyent.com> Reviewed by: Peter Tribble <peter.tribble@gmail.com> Reviewed by: Frederik Wessels <wessels147@gmail.com> Approved by: Dan McDonald <danmcd@joyent.com>
2019-02-0510334 cleanup smatch errors in usr/src/lib/fm/topo/libtopoRob Johnston6-21/+40
Reviewed by: Andrew Stormont <andyjstormont@gmail.com> Reviewed by: Gergő Mihály Doma <domag02@gmail.com> Reviewed by: John Levon <john.levon@joyent.com> Approved by: Dan McDonald <danmcd@joyent.com>
2019-02-0510292 Add percentage unit type to sensor abstraction layerRob Johnston1-9/+15
Reviewed by: Robert Mustacchi <rm@joyent.com> Reviewed by: Patrick Mooney <patrick.mooney@joyent.com> Reviewed by: Toomas Soome <tsoome@me.com> Approved by: Dan McDonald <danmcd@joyent.com>
2019-02-0110324 topo_usb_parse_port_type() gets value check wrongJohn Levon1-1/+1
Reviewed by: Robert Mustacchi <rm@joyent.com> Reviewed by: Andy Stormont <astormont@racktopsystems.com> Reviewed by: Gergő Doma <domag02@gmail.com> Approved by: Richard Lowe <richlowe@richlowe.net>
2019-02-0110115 ses topo module needs smatch fixesJohn Levon1-2/+2
Reviewed by: Andy Stormont <astormont@racktopsystems.com> Reviewed by: Toomas Soome <tsoome@me.com> Reviewed by: Gergő Doma <domag02@gmail.com> Approved by: Richard Lowe <richlowe@richlowe.net>
2019-02-0110114 fmev_proxy_cb() doesn't need inval checksJohn Levon1-7/+5
Reviewed by: Andy Stormont <astormont@racktopsystems.com> Approved by: Richard Lowe <richlowe@richlowe.net>
2019-02-0110113 fmd_adm_xprt_f should return voidJohn Levon1-3/+5
Reviewed by: Andy Stormont <astormont@racktopsystems.com> Reviewed by: Toomas Soome <tsoome@me.com> Reviewed by: Gergő Doma <domag02@gmail.com> Approved by: Richard Lowe <richlowe@richlowe.net>
2019-01-2910279 ses enumerator should trim leading/trailing whitespace from labelsRob Johnston1-4/+15
10280 ses enumerator module should make protocol/label prop mutable Reviewed by: Robert Mustacchi <rm@joyent.com> Reviewed by: Toomas Soome <tsoome@me.com> Reviewed by: Gergő Mihály Doma <domag02@gmail.com> Approved by: Dan McDonald <danmcd@joyent.com>
2019-01-2810291 topo_dprintf should evaluate debug mask before forging aheadRob Johnston3-10/+10
Reviewed by: Robert Mustacchi <rm@joyent.com> Reviewed by: Patrick Mooney <patrick.mooney@joyent.com> Reviewed by: Toomas Soome <tsoome@me.com> Reviewed by: Gergő Mihály Doma <domag02@gmail.com> Approved by: Dan McDonald <danmcd@joyent.com>
2019-01-2810290 libtopo XML parser doesn't handle prop type doubleRob Johnston2-2/+42
Reviewed by: Robert Mustacchi <rm@joyent.com> Reviewed by: Toomas Soome <tsoome@me.com> Approved by: Dan McDonald <danmcd@joyent.com>
2019-01-2810242 Project Tiresias: USB topologyRobert Mustacchi31-35/+3207
10243 topo_node_label_set() should take a const char* instead of char* Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com> Reviewed by: Rob Johnston <rob.johnston@joyent.com> Approved by: Richard Lowe <richlowe@richlowe.net>
2019-01-1810223 Want topo maps for various SMCI systemsRob Johnston24-5/+2579
Reviewed by: Robert Mustacchi <rm@joyent.com> Reviewed by: Richard Lowe <richlowe@richlowe.net> Approved by: Dan McDonald <danmcd@joyent.com>
2019-01-1710187 ses enumerator blows chunks on US60+8Rob Johnston2-2/+4
Reviewed by: Robert Mustacchi <rm@joyent.com> Reviewed by: Toomas Soome <tsoome@me.com> Reviewed by: Garrett D'Amore <garrett@damore.org> Reviewed by: Andy Stormont <astormont@racktopsystems.com> Approved by: Dan McDonald <danmcd@joyent.com>
2019-01-1410079 smatch Makefile changes for usr/src/libJohn Levon5-2/+20
Reviewed by: Andy Fiddaman <andy@omniosce.org> Approved by: Robert Mustacchi <rm@joyent.com>
2019-01-109747 Implement CPU autoreplace based on Intel PPINRobert Mustacchi3-4/+74
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com> Reviewed by: Rob Johnston <rob.johnston@joyent.com> Reviewed by: Richard Lowe <richlowe@richlowe.net> Approved by: Dan McDonald <danmcd@joyent.com>
2018-10-119884 cw(1) should use -fpic rather than -KpicRichard Lowe1-2/+2
Reviewed by: Jason King <jason.brian.king@gmail.com> Reviewed by: Andy Stormont <andyjstormont@gmail.com> Reviewed by: Toomas Soome <tsoome@me.com> Reviewed by: John Levon <john.levon@joyent.com> Approved by: Garrett D'Amore <garrett@damore.org>
2018-10-069584 Extend smbios enumerator module to enumerate motherboardRob Johnston7-83/+249
9850 authority and system pgroups missing on some nodes Reviewed by: Robert Mustacchi <rm@joyent.com> Reviewed by: Igor Kozhukhov <igor@dilos.org> Reviewed by: Garrett D'Amore <garrett@damore.org> Approved by: Dan McDonald <danmcd@joyent.com>
2018-09-189835 ses topo module should use topo_mod_clean_str()Rob Johnston1-10/+10
Reviewed by: Yuri Pankov <yuripv@yuripv.net> Reviewed by: Igor Kozhukhov <igor@dilos.org> Approved by: Dan McDonald <danmcd@joyent.com>
2018-09-189455 Expose drive speed and temperature on disk topo nodeRob Johnston5-50/+210
Reviewed by: Yuri Pankov <yuripv@yuripv.net> Reviewed by: Igor Kozhukhov <igor@dilos.org> Approved by: Dan McDonald <danmcd@joyent.com>
2018-09-069459 Implement topo module to enumerate dimms from smbiosRob Johnston12-42/+603
Reviewed by: Yuri Pankov <yuripv@yuripv.net> Reviewed by: Igor Kozhukhov <igor@dilos.org> Approved by: Richard Lowe <richlowe@richlowe.net>
2018-06-289586 need to handle SP's that present multiple sensors with the same entity nameRob Johnston3-21/+119
9587 Add test mechanism to sensor-transport module for spoofing sensor states Reviewed by: Toomas Soome <tsoome@me.com> Reviewed by: Igor Kozhukhov <igor@dilos.org> Approved by: Richard Lowe <richlowe@richlowe.net>
2018-06-079585 extend pcibus enumerator to expose driver instance as property on ↵Rob Johnston2-1/+24
pcifn/pciexfn nodes Reviewed by: Igor Kozhukhov <igor@dilos.org> Reviewed by: Yuri Pankov <yuripv@yuripv.net> Reviewed by: Ken Mays <maybird1776@yahoo.com> Approved by: Dan McDonald <danmcd@joyent.com>
2018-05-149502 expose thresholds as properties on sensor facility nodesRob Johnston2-32/+140
Reviewed by: Toomas Soome <tsoome@me.com> Reviewed by: Igor Kozhukhov <igor@dilos.org> Reviewed by: Dale Ghent <dale.ghent@joyent.com> Approved by: Dan McDonald <danmcd@joyent.com>
2018-02-179113 Expose vendor-name/device-name/subsystem-name as props on pcifn/pciexfn ↵Rob Johnston16-19/+144
topo nodes Reviewed by: Toomas Soome <tsoome@me.com> Reviewed by: Yuri Pankov <yuripv@yuripv.net> Reviewed by: Ben Sims <ben.sims@tegile.com> Approved by: Richard Lowe <richlowe@richlowe.net>
2018-02-069027 Makefiles need to specify C99 mode consistentlyYuri Pankov4-4/+4
Reviewed by: Rich Lowe <richlowe@richlowe.net> Approved by: Hans Rosenfeld <hans.rosenfeld@joyent.com>
2018-01-238967 libipmi: add support for GET_CHASSIS_STATUS commandRob Johnston3-43/+291
8974 fac_prov_ipmi should support binding by entity id and instance 8975 ipmi topo plugin should automatically enumerate sensors on nodes it enumerates 8976 ipmi enumerator should include FRU identity information in FMRI authority 8977 ipmi enumerator doesn't always enumerate nested entities 8978 Add topo facility method for controlling chassis ident indicator Reviewed by: Yuri Pankov <yuripv@icloud.com> Reviewed by: Ben Sims <bensims@gmail.com> Approved by: Dan McDonald <danmcd@joyent.com>
2018-01-168954 libtopo cannot handle any array type other than string_array.Ben Sims1-42/+29
Reviewed by: Andy Stormont <astormont@racktopsystems.com> Reviewed by: David Höppner <0xffea@gmail.com> Reviewed by: Rob Johnston <rob.johnston@joyent.com> Approved by: Hans Rosenfeld <rosenfeld@grumpf.hope-2000.org>
2017-11-148699 Want NIC transceiver visibilityRobert Mustacchi14-34/+764
8700 ixgbe MAC_CAPAB_TRANSCEIVER support 8701 i40e MAC_CAPAB_TRANSCEIVER support Reviewed by: Patrick Mooney <patrick.mooney@joyent.com> Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com> Reviewed by: Ryan Zezeski <ryan.zeseski@joyent.com> Reviewed by: Yuri Pankov <yuripv@gmx.com> Reviewed by: Toomas Soome <tsoome@me.com> Approved by: Richard Lowe <richlowe@richlowe.net>
2017-11-028074 need to add FMA event for SSD wearout (fix was incomplete)Alek Pinchuk1-3/+3
2017-10-318074 need to add FMA event for SSD wearoutAlek Pinchuk4-15/+156
Reviewed by: Yuri Pankov <yuri.pankov@nexenta.com> Reviewed by: Robert Mustacchi <rm@joyent.com> Reviewed by: Ken Mays <maybird1776@yahoo.com> Approved by: Dan McDonald <danmcd@joyent.com>
2017-07-128346 SES topology information needs to search STP Bridge portsRobert Mustacchi3-4/+102
8347 mpt_sas needs to set bridge-port property for SATA devices 8348 mptsas_handle_topo_change() can return without locks held Reviewed by: Joshua M. Clulow <jmc@joyent.com> Reviewed by: Patrick Mooney <patrick.mooney@joyent.com> Reviewed by: Toomas Soome <tsoome@me.com> Approved by: Richard Lowe <richlowe@richlowe.net>
2017-06-125428 provide fts(), reallocarray(), and strtonum()Yuri Pankov4-16/+10
Reviewed by: Robert Mustacchi <rm@joyent.com> Approved by: Joshua M. Clulow <josh@sysmgr.org>
2017-02-137822 Faults for fans that don't existYuri Pankov1-1/+5
Reviewed by: Jeffry Molanus <jeffry.molanus@nexenta.com> Reviewed by: Jason King <jason.brian.king@gmail.com> Reviewed by: Robert Mustacchi <rm@joyent.com> Approved by: Dan McDonald <danmcd@omniti.com>
2016-02-276659 nvlist_free(NULL) is a no-opJosef 'Jeff' Sipek14-65/+32
Reviewed by: Toomas Soome <tsoome@me.com> Reviewed by: Marcel Telka <marcel@telka.sk> Approved by: Robert Mustacchi <rm@joyent.com>
2015-09-136215 update ses connector listRobert Mustacchi1-3/+20
Reviewed by: Dan McDonald <danmcd@omniti.com> Reviewed by: Toomas Soome <tsoome@me.com> Reviewed by: Garrett D'Amore <garrett@damore.org> Approved by: Richard Lowe <richlowe@richlowe.net>
2015-09-126207 fm topo ses plugin should process enclosures in 'UNKNOWN' stateRobert Mustacchi1-1/+3
Reviewed by: Hans Rosenfeld <hans.rosenfeld@nexenta.com> Approved by: Garrett D'Amore <garrett@damore.org>
2015-06-195996 libtopo ses module unload takes too longHans Rosenfeld1-0/+4
Reviewed by: Yuri Pankov <yuri.pankov@nexenta.com> Reviewed by: Dan Fields <dan.fields@nexenta.com> Reviewed by: Dan McDonald <danmcd@omniti.com> Approved by: Dan McDonald <danmcd@omniti.com>
2015-04-155835 fix printf tokens for net-snmp 5.7.2Dan McDonald3-3/+3
2015-04-153704 libfmd_snmp should compile with newer net-snmpDan McDonald1-2/+4
2015-03-215731 make a clean clobberRichard PALO1-0/+2
Reviewed by: Josef 'Jeff' Sipek<jeffpc@josefsipek.net> Reviewed by: Toomas Soome<tsoome@me.com> Approved by: Dan McDonald <danmcd@omniti.com>
2013-10-084016 disk-monitor should activate fault/fail indicators (remove build artifact)Joshua M. Clulow1-246/+0
Reviewed by: Keith Wesolowski <keith.wesolowski@joyent.com> Approved by: Robert Mustacchi <rm@joyent.com>
2013-09-284018 mpt_sas: allow physical topology enumeration in libtopoJoshua M. Clulow10-21/+503
4019 mpt_sas: expose LED controls to libtopo Reviewed by: Keith Wesolowski <keith.wesolowski@joyent.com> Reviewed by: Hans Rosenfeld <hans.rosenfeld@nexenta.com> Reviewed by: Albert Lee <trisk@nexenta.com> Approved by: Albert Lee <trisk@nexenta.com>
2013-09-284016 disk-monitor should activate fault/fail indicatorsJoshua M. Clulow10-2/+461
4017 fmtopo -P flag does not appear to set properties Reviewed by: Hans Rosenfeld <hans.rosenfeld@nexenta.com> Approved by: Albert Lee <trisk@nexenta.com>
2013-08-304072 make clobber leaves trashGordon Ross10-6/+18
Reviewed by: Albert Lee <trisk@nexenta.com> Reviewed by: Dan McDonald <danmcd@nexenta.com> Reviewed by: Marcel Telka <marcel.telka@nexenta.com> Reviewed by: Richard Lowe <richlowe@richlowe.net> Approved by: Garrett D'Amore <garrett@damore.org>
2013-08-163915 Add adjuncts support to the buildKeith M Wesolowski2-2/+2
Reviewed by: Robert Mustacchi <rm@joyent.com> Reviewed by: Richard Lowe <richlowe@richlowe.net> Approved by: Dan McDonald <danmcd@nexenta.com>