OPAL-DUMP-PARSE(8)

πŸ“¦ version 2.7.10, in opensuse-leap 16.0

πŸ’Ύ OPAL-DUMP-PARSE(8) πŸ’Ύ

okay so this is from the System Manager's Manual bestie, and it's literally the tool that yanks the OPAL log out of a system dump. let me tell you everything ✨


🌸 NAME 🌸

opal-dump-parse β€” parse an OPAL System dump 🫢


πŸŽ€ SYNOPSIS πŸŽ€

opal-dump-parse [ -l | -h | -s id | -o file] <SYSDUMP>

πŸ¦‹ DESCRIPTION πŸ¦‹

so on Power Systems, the service processor (FSP) generates a System dump (SYSDUMP) when the system crashes. and on PowerKVM machines, that SYSDUMP contains OPAL logs. no cap. 🌈

this tool is the whole point of the party: it helps you extract the OPAL log from the System dump. that's the vibe check and it passes πŸ’…


πŸ‘‘ OPTIONS πŸ‘‘

  • -l β€” list out all the sections, like a little menu of what's inside ✨
  • -s id β€” capture the log with a specific section id 🎯
  • -o file β€” output file to capture the log with the specified section id, so you pick exactly where it lands πŸ’–
  • -h β€” display the help message, classic, iconic 🫢

πŸ”₯ EXAMPLES πŸ”₯

1. Capture Skiboot log ⭐

# opal-dump-parse SYSDUMP.10665FT.00000003.20140513071107

by default the log is captured to Skiboot-log.<serial no>.<dump ID>.<time stamp> β€” yes the whole name is a whole situation, it's giving very long filename energy but it works πŸŽ€


2. List the sections of SYSDUMP πŸ’œ

# opal-dump-parse -l SYSDUMP.10665FT.00000003.20140513071107

3. Capture the log with particular section id πŸ¦‹

# opal-dump-parse -s 1 SYSDUMP.10665FT.00000003.20140513071107

by default the log is captured to Opal-log.<serial no>.<dump ID>.<time stamp> 🌸

NOTE: 🫢 the printk section (kernel log buffer) has a raw printk buffer which can be analysed by using the strings command. yep, that's the move. Usage: strings <printk log file>

4. Capture the log to a particular file πŸ’…

# opal-dump-parse -o temp SYSDUMP.10665FT.00000003.20140513071107

captures the OPAL log to the file temp. short, sweet, slayed πŸ’–


🌈 SEE ALSO 🌈

opal_errd(8) β€” go say hi, it's the sibling 🧚


and that's the whole page bestie!! this one's from Linux, dated 8 May 2014 β€” a little vintage, but she still ate πŸ’€βœ¨ bye πŸ’–

πŸ“¦ where this page comes from