OP910:OPRAS:Witherspoon:/sys/kernel/debug/powerpc/scom missing

Bug #1677256 reported by bugproxy
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Invalid
Undecided
Tim Gardner
Zesty
Invalid
Undecided
Tim Gardner

Bug Description

== Comment: #0 - Application Cdeadmin <email address hidden> - 2017-03-28 03:25:06 ==

== Comment: #1 - Application Cdeadmin <email address hidden> - 2017-03-28 03:25:08 ==
==== State: Open by: fekareem on 28 March 2017 03:17:53 ====

Problem Description
======================

/sys/kernel/debug/powerpc/scom missing and hence getscom and putscom are not working.

Seems like Ubuntu compiled the kernel without the CONFIG_PPC_SCOM option

I discussed with Mahesh Salgaonkar and seems like Ubuntu needs to build kernel with following config options to get scoms to work

CONFIG_PPC_SCOM=y
CONFIG_SCOM_DEBUGFS=y

Please mirror bug to Ubuntu

root@grsfp23p01:~# getscom -l
Error accessing sysfs scom directory: No such file or directory
root@grsfp23p01:~#

root@grsfp23p01:~# ls /sys/kernel/debug/powerpc/scom
ls: cannot access '/sys/kernel/debug/powerpc/scom': No such file or directory
root@grsfp23p01:~# ls /sys/kernel/debug/powerpc
eeh_enable lpc PCI0001 PCI0003 PCI0005 PCI0033 PCI0035
eeh_max_freezes PCI0000 PCI0002 PCI0004 PCI0030 PCI0034
root@grsfp23p01:~#

root@grsfp23p01:~# cat /etc/os-release
NAME="Ubuntu"
VERSION="17.04 (Zesty Zapus)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu Zesty Zapus (development branch)"
VERSION_ID="17.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=zesty
UBUNTU_CODENAME=zesty
root@grsfp23p01:~#

== Comment: #2 - MAHESH J. SALGAONKAR <email address hidden> - 2017-03-28 10:04:24 ==
root@grsfp23p01:~# uname -a
Linux grsfp23p01 4.10.0-gd40f5c5 #1 SMP Mon Mar 27 11:47:13 CDT 2017 ppc64le ppc64le ppc64le GNU/Linux
root@grsfp23p01:~# cd /boot/
root@grsfp23p01:/boot# ls
config-4.10.0-gd40f5c5 initrd.img-4.10.0-gd40f5c5 System.map-4.10.0-gd40f5c5
grub lost+found vmlinux-4.10.0-gd40f5c5
root@grsfp23p01:/boot# grep SCOM config-4.10.0-gd40f5c5
CONFIG_PPC_SCOM=y
# CONFIG_SCOM_DEBUGFS is not set
root@grsfp23p01:/boot#

Kernel is built without CONFIG_SCOM_DEBUGFS. Please mirror this bug to ubuntu.

bugproxy (bugproxy)
tags: added: architecture-ppc64 bugnameltc-152937 severity-high targetmilestone-inin---
Changed in ubuntu:
assignee: nobody → Taco Screen team (taco-screen-team)
affects: ubuntu → linux (Ubuntu)
Revision history for this message
Tim Gardner (timg-tpi) wrote :

4.10.0-gd40f5c5 is a mainline kernel. Please use an officially supported kernel from the archive.

debian.master/config/config.common.ubuntu:CONFIG_PPC_SCOM=y
debian.master/config/config.common.ubuntu:CONFIG_SCOM_DEBUGFS=y

Changed in linux (Ubuntu Zesty):
assignee: Taco Screen team (taco-screen-team) → Tim Gardner (timg-tpi)
status: New → In Progress
status: In Progress → Invalid
Revision history for this message
bugproxy (bugproxy) wrote : Comment bridged from LTC Bugzilla

------- Comment From <email address hidden> 2017-03-29 10:53 EDT-------
== Comment: #1 - Application Cdeadmin <email address hidden> - 2017-03-28 03:25:08 ====== State: Open by: cde00 on 29 March 2017 09:53:06 ====

bugproxy (bugproxy)
tags: added: architecture-ppc64le
removed: architecture-ppc64
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.