** Also affects: sosreport (Ubuntu Yakkety) Importance: Undecided Status: New
** Also affects: sosreport (Ubuntu Trusty) Importance: Undecided Status: New ** Changed in: sosreport (Ubuntu Trusty) Status: New => Triaged ** Changed in: sosreport (Ubuntu Yakkety) Status: New => Triaged ** Changed in: sosreport (Ubuntu Trusty) Importance: Undecided => Medium ** Changed in: sosreport (Ubuntu Xenial) Importance: High => Medium ** Changed in: sosreport (Ubuntu Yakkety) Importance: Undecided => Medium ** Description changed: + [SRU justification] + Required to collect OPAL message log + + [Impact] + Logs are unavailable without this fix + + [Fix] + Add collection of /sys/firmware/opal/msglog if it exists + + [Test Case] + Run sosreport on ppc64el with : + $ sudo sosreport --batch -opowerpc + + The content of /sys/firmware/opal/msglog will be collected + + [Regression] + None, this was not collected previously. + + [Original description of the problem] == Comment: #0 - Mukesh K. Ojha <mukeo...@in.ibm.com> - 2016-08-17 02:13:40 == ---Problem Description--- Currently, SOSREPORT version used by 16.04.01 LTS release does not collect OPAL log which is present in /sys/firmware/opal/msglog. A patch has been submitted upstream(https://github.com/sosreport/sos.git) to do the above thing. commit 1bbf9e9690e7f2a5afc234b905537daacaecb6d4 Author: Joel Stanley <j...@jms.id.au> Date: Tue Apr 15 14:05:17 2014 +0100 - Add OPAL log to collected file list - - The OPAL console log used to live under /sys/kernel/debug/powerpc so it - was collected as part of that glob. This patch adds the new location at - /sys/firmware/opal/msglog to the list of collected files. - - Signed-off-by: Joel Stanley <j...@jms.id.au> - Reviewed-by: Vasant Hegde <hegdevas...@linux.vnet.ibm.com> + Add OPAL log to collected file list - - Contact Information = Contact Information = hegdevas...@linux.vnet.ibm.com, mukeo...@in.ibm.com - + The OPAL console log used to live under /sys/kernel/debug/powerpc so it + was collected as part of that glob. This patch adds the new location at + /sys/firmware/opal/msglog to the list of collected files. + + Signed-off-by: Joel Stanley <j...@jms.id.au> + Reviewed-by: Vasant Hegde <hegdevas...@linux.vnet.ibm.com> + + Contact Information = Contact Information = + hegdevas...@linux.vnet.ibm.com, mukeo...@in.ibm.com + ---uname output--- Ubuntu 16.04.01 LTS - - Machine Type = All power machine - + + Machine Type = All power machine + ---Debugger--- A debugger is not configured - + ---Steps to Reproduce--- - - root@ltctul57a-p1:/home/mukesh# sosreport + + root@ltctul57a-p1:/home/mukesh# sosreport sosreport (version 3.2.0a1) This command will collect system configuration and diagnostic information from this Ubuntu system. An archive containing the collected information will be generated in /tmp/sos.sj1x27eq. For more information on Ubuntu visit: - http://www.ubuntu.com/ + http://www.ubuntu.com/ The generated archive may contain data considered sensitive and its content should be reviewed by the originating organization before being passed to any third party. No changes will be made to system configuration. Press ENTER to continue, or CTRL-C to quit. - Please enter your first initial and last name [ltctul57a-p1]: - Please enter the case id that you are generating this report for []: + Please enter your first initial and last name [ltctul57a-p1]: + Please enter the case id that you are generating this report for []: - Setting up archive ... - Setting up plugins ... - Running plugins. Please wait ... + Setting up archive ... + Setting up plugins ... + Running plugins. Please wait ... - Running 73/73: xfs... + Running 73/73: xfs... Creating compressed archive... Your sosreport has been generated and saved in: - /tmp/sosreport-ltctul57a-p1-20160810185800.tar.xz + /tmp/sosreport-ltctul57a-p1-20160810185800.tar.xz The checksum is: 33dbfc480ebf985e4372430537339c1c Please send this file to your support representative. root@ltctul57a-p1:/home/mukesh# root@ltctul57a-p1:/home/mukesh/sosreport-ltctul57a-p1-20160810185800# ls boot dev etc hostname ip_addr lib lsmod lspci netstat ps route sos_commands sos_reports uname usr version.txt date df free installed-debs last lsb-release lsof mount proc pstree run sos_logs sys uptime var vgdisplay root@ltctul57a-p1:/home/mukesh/sosreport-ltctul57a-p1-20160810185800# ls sys/ bus class devices fs kernel module - root@ltctul57a-p1:/home/mukesh/sosreport-ltctul57a-p1-20160810185800# + root@ltctul57a-p1:/home/mukesh/sosreport-ltctul57a-p1-20160810185800# - No Firmware directory available that confirms the unavailability of OPAL msglog. - - Userspace tool common name: sosreport - - The userspace tool has the following bit modes: both + No Firmware directory available that confirms the unavailability of OPAL + msglog. + + Userspace tool common name: sosreport + + The userspace tool has the following bit modes: both Userspace rpm: root@ltctul57a-p1:/home/mukesh# dpkg -l | grep sosreport ii sosreport 3.2+git276-g7da50d6-3ubuntu1 ppc64el Set of tools to gather troubleshooting data from a system - Userspace tool obtained from project website: na - + Userspace tool obtained from project website: na + *Additional Instructions for Contact Information = hegdevas...@linux.vnet.ibm.com, mukeo...@in.ibm.com : -Attach ltrace and strace of userspace application. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1614052 Title: SOSREPORT need to collect OPAL msglog To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/sosreport/+bug/1614052/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs