← Back to team overview

kernel-packages team mailing list archive

[Bug 1353005] Comment bridged from LTC Bugzilla

 

------- Comment From hellerda@xxxxxxxxxx 2014-08-06 14:10 EDT-------
Here is a more recent reference to the required patch:  Thx.

https://git.kernel.org/cgit/linux/kernel/git/next/linux-
next.git/commit/?id=c8caf266ad76e596c8bda8e52ece769547a98cac

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1353005

Title:
  sensors command is not getting executed in Ubuntu 14.10 Non
  Virtualised environment

Status in “linux” package in Ubuntu:
  Confirmed

Bug description:
  ---Problem Description---
  sensors command is not getting executed in Ubuntu 14.10
   
  ---uname output---
  Linux lep8d 3.16.0-6-generic #11-Ubuntu SMP Mon Jul 28 02:00:45 UTC 2014 ppc64le ppc64le ppc64le GNU/Linux
   
  Machine Type = P8 
    
  ---Steps to Reproduce---
  Install Ubuntu 14.10 iso on local hard disk of P8 machine in Non Virtualised environment.
  Install the lm-sensors ppc64le package on the same.

  root@lep8d:~# sensors
  No sensors found!
  Make sure you loaded all the kernel drivers you need.
  Try sensors-detect to find out which these are.
  root@lep8d:~# echo $?
  1

  root@lep8d:~# sensors-detect
  # sensors-detect revision 6170 (2013-05-20 21:25:22 +0200)
  # DMI data unavailable, please consider installing dmidecode 2.7
  # or later for better results.

  This program will help you determine which kernel modules you need
  to load to use lm_sensors most effectively. It is generally safe
  and recommended to accept the default answers to all questions,
  unless you know what you're doing.

  Some south bridges, CPUs or memory controllers contain embedded sensors.
  Do you want to scan for them? This is totally safe. (YES/no): YES
  modprobe: FATAL: Module cpuid not found.
  Failed to load module cpuid.
  Silicon Integrated Systems SIS5595...                       No
  VIA VT82C686 Integrated Sensors...                          No
  VIA VT8231 Integrated Sensors...                            No
  AMD K8 thermal sensors...                                   No
  AMD Family 10h thermal sensors...                           No
  AMD Family 11h thermal sensors...                           No
  AMD Family 12h and 14h thermal sensors...                   No
  AMD Family 15h thermal sensors...                           No
  AMD Family 15h power sensors...                             No
  AMD Family 16h power sensors...                             No
  Intel digital thermal sensor...                             No
  Intel AMB FB-DIMM thermal sensor...                         No
  VIA C7 thermal sensor...                                    No
  VIA Nano thermal sensor...                                  No

  Lastly, we can probe the I2C/SMBus adapters for connected hardware
  monitoring devices. This is the most risky part, and while it works
  reasonably well on most systems, it has been reported to cause trouble
  on some systems.
  Do you want to probe the I2C/SMBus adapters now? (YES/no): YES
  Sorry, no supported PCI bus adapters found.
  Module i2c-dev loaded successfully.

  Sorry, no sensors were detected.
  Either your system has no sensors, or they are not supported, or
  they are connected to an I2C or SMBus adapter that is not
  supported. If you find out what chips are on your board, check
  http://www.lm-sensors.org/wiki/Devices for driver status.

  After a big more digging I see: in Ubuntu where it is failing, there
  is:

  $ cat /boot/config-3.16.0-6-generic | grep -i sensor | grep -i ibm
  CONFIG_SENSORS_IBMAEM=m
  CONFIG_SENSORS_IBMPEX=m

  And in PowerKVM where it is working, there is:

  $ cat /boot/config-3.10.42-2004.pkvm2_1_1.8.ppc64 | grep -i sensors | grep -i ibm
  CONFIG_SENSORS_IBMAEM=m
  CONFIG_SENSORS_IBMPEX=m
  CONFIG_SENSORS_IBMPOWERNV=y

  So now I think problem is: Ubuntu is missing "ibmpowernv", i.e. the
  powernv hwmon driver for sensors, as described here:

  http://lists.lm-sensors.org/pipermail/lm-sensors/2014-May/041867.html

  Adding to copy: Neelesh Gupta, who is author of this module.

  Neelesh: Am I correct that this is the missing module in Ubuntu?  Is
  there a kernel patch Ubuntu needs to pick up, or perhaps they already
  have the patch but just need to fix their kernel config?  Thx -DaveH.

  Yes, 'ibmpowernv' module is missing from Ubuntu 14.10.
  It's already been applied to the -next tree and should be available to mainline soon.

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