Giter Club home page Giter Club logo

ppc64-diag's Introduction

Build Status

PPC64 Diagnostics

This package is amalgamation of various diagnostics tools for Power system diagnosis and they can be broadly classified as below.

PPC64 Events Diagnostics

The tools capture the diagnostic events/dumps from Power Systems platform firmware, SES enclosures and logs serviceable event. These tools also provides automated responses to urgent events such as environmental conditions and predictive failures.

Light Path Diagnostics

Light Path Diagnostics allows system engineers and administrators to easily and quickly diagnose hardware problems on the IBM servers.

Light Path Diagnostics on PowerLinux constantly monitors for serviceable events and enable/disable fault indicators as required.

Error Log Analysis

These utilities are currently deprecated.

Tools Overview

The below lists some of all these utilities and further documentation for each of these utilities is available in their corresponding man pages.

rtas_errd: diagnose and handle platform events Tool to handle the platform events on pSeries platform.

opal_errd: diagnose and handle platform events Tool to handle the platform events on PowerNV platform.

diag_encl: diagnose SCSI enclosures Tool to diagnose a limited number of SCSI enclosure types.

encl_diag: SCSI enclosure LED management Tool to view or manipulate the indicators for the SCSI enclosures.

extract_opal_dump: Extract opal dump Tool to collect the firmware dumps.

lp_diag: Light Path diagnostics UI to view and modify the indicator status.

usysident: identification indicator utility A utility to view the status of device identification indicators (LEDs), and to turn the indicators on and off.

usysattn , usysfault: attention indicator utility A utility to view the status of the system attention and fault indicators (LEDs), and to turn the indicators off after an event has been serviced.

Source

https://github.com/power-ras/ppc64-diag

License

See 'COPYING' file.

Reporting issue

Create a GitHub issue if you have any request for change, assuming one does not already exist. Clearly describe the issue including steps to reproduce if it is a bug.

Compilation dependencies

  • C and C++ compiler (gcc, g++)
  • GNU build tools (automake, autoconf, libtool, etc)
  • ncurses-devel
  • systemd-devel
  • librtas-devel
  • libvpd-devel
  • libservicelog-devel

Note: Package name may differ slightly between Linux distributors. Ex: RedHat and SLES ships development packages as "-devel" while Ubuntu ships it as "-dev" package. Please check your linux distribution package naming convention and make sure you have installed right packages.

Building

You can build on Power Linux System.

make
make install

Building rpms

To build a tarball to feed to rpmbuild, do

`make tarball

As an example, we use a command similar to the following:

$ rpmbuild -ba <path-to-spec-file>

How to contribute

If you plan to submit the changes, submit a pull request based on top of master. Include a descriptive commit message. Changes contributed should focus on a single issue at a time to the extent possible.

Hacking

The following workflow should work for you:

  • Fork the repository on GitHub into your account.
  • Create a topic branch from where you want to base your work. This is usually the master branch.
  • Make sure you have added the necessary tests for your changes and make sure all tests pass.
  • Push your changes to the topic branch in your fork of the repository.
  • Include a descriptive commit message, and each commit should have linux-kernel style 'Signed-Off-By'.
  • Submit a pull request to this repository.

You probably want to read the linux kernel Documentation/SubmittingPatches as much of it applies to ppc64-diag.

ppc64-diag's People

Contributors

kamalesh-babulal avatar ankitkumar2391 avatar stewartsmith avatar cyrilbur-ibm avatar shivaprasadgbhat avatar arunabal avatar mukeshojha avatar mwbringmann avatar anupkumk avatar frediz avatar hramrach avatar nfont avatar jallen93 avatar mdroth avatar rnav avatar tlfalcon avatar vaishnavibhat avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.