Public bug reported:

== Comment: #0 - Application Cdeadmin <[email protected]> - 2017-03-28
03:25:06 ==


== Comment: #1 - Application Cdeadmin <[email protected]> - 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 protected]> - 
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.

** Affects: linux (Ubuntu)
     Importance: Undecided
     Assignee: Taco Screen team (taco-screen-team)
         Status: New


** Tags: architecture-ppc64 bugnameltc-152937 severity-high 
targetmilestone-inin---

** Tags added: architecture-ppc64 bugnameltc-152937 severity-high
targetmilestone-inin---

** Changed in: ubuntu
     Assignee: (unassigned) => Taco Screen team (taco-screen-team)

** Package changed: ubuntu => linux (Ubuntu)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1677256

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1677256/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to