Skip to content

Commit

Permalink
pb-sos: capture Skiboot log
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Guilherme G. Piccoli authored and sammj committed Jul 12, 2017
1 parent 58db060 commit 135dc37
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions utils/pb-sos
Expand Up @@ -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
Expand Down

0 comments on commit 135dc37

Please sign in to comment.