summaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
authorGuilherme G. Piccoli <gpiccoli@linux.vnet.ibm.com>2017-07-11 15:04:04 -0300
committerSamuel Mendoza-Jonas <sam@mendozajonas.com>2017-07-12 14:47:06 +1000
commit135dc3721e847661d32b180d978c8e0def7afc86 (patch)
tree31318435da201a33acf8814ebfb6ad801ca29248 /utils
parent58db060fbb1548a0acdfc475fa41fe86fb32dd11 (diff)
downloadtalos-petitboot-135dc3721e847661d32b180d978c8e0def7afc86.tar.gz
talos-petitboot-135dc3721e847661d32b180d978c8e0def7afc86.zip
pb-sos: capture Skiboot log
Makes sense to capture Skiboot log in pb-sos, specially since it might help clarify about HW problems, like PCI initialization failures. Signed-off-by: Guilherme G. Piccoli <gpiccoli@linux.vnet.ibm.com> Signed-off-by: Samuel Mendoza-Jonas <sam@mendozajonas.com>
Diffstat (limited to 'utils')
-rwxr-xr-xutils/pb-sos4
1 files changed, 4 insertions, 0 deletions
diff --git a/utils/pb-sos b/utils/pb-sos
index 2e9802e..3fa8e89 100755
--- a/utils/pb-sos
+++ b/utils/pb-sos
@@ -63,6 +63,10 @@ fi
log "Adding dmesg"
dmesg > /$diagdir/dmesg
+# Add Skiboot log
+log "Adding Skiboot log"
+cat /sys/firmware/opal/msglog > /$diagdir/msglog
+
log "Compressing..."
cd /
tar $tarflags -cf $tarfile $diagdir
OpenPOWER on IntegriCloud