← Back to team overview

kernel-packages team mailing list archive

[Bug 1514052] Re: erratic fan speed and little control kernel 4.2

 

** Description changed:

- I have just upgraded to Ubuntu 15.10 and almost immediately my CPU fan
- started speeding and slowing without good reason even when the PC is
- idle.
+ After upgrading to Ubuntu 15.10 my CPU fan started speeding and slowing
+ without good reason even when the PC is idle.
  
- I tried various things but then found that if I leave the computer off
- for a long time and let everything cool down then when I boot from cold
- the CPU fan is stable.
+ This has been bisected to commit f989e55452c74b4f7b22c889b8ec9f1192aaeec4 :
+ i8k: Add support for fan labels
  
- To test my theory of cold start out I then ran
- sudo cpupower frequency-set -g powersave
- followed by
- sudo cpupower frequency-set -g ondemand
+ This patch adds labels support for fans if SMM function with EAX register
+ 0x03a3 reports it. This information was taken from DOS binary NBSVC.MDM.
  
- The final mode is the initial mode.  Almost immediately as soon as I
- moved to powersave mode the erratic fan speed started.  It did not stop
- when I returned to ondemand.
+ Additionally this patch change detection of fan presece. Instead reading fan
+ status now detection is based on new label SMM function. Dell DOS binary
+ NBSVC.MDM is doing similar checks, so we should do that too.
  
- Temp fix for this behaviour is - go and have a cup of coffee and let the
- computer cool down when you restart: shutdown then start from cold.
+ This patch also remove I8K_FAN_LEFT and I8K_FAN_RIGHT usage from hwmon driver
+ part because that names does not make sense anymore. So numeric constants are
+ used instead. Original /proc/i8k ioctl part was not changed for compatibility
+ reasons.
  
- $ cpupower frequency-info
- analyzing CPU 0:
-   driver: acpi-cpufreq
-   CPUs which run at the same hardware frequency: 0
-   CPUs which need to have their frequency coordinated by software: 0
-   maximum transition latency: 10.0 us.
-   hardware limits: 1.20 GHz - 2.80 GHz
-   available frequency steps: 2.80 GHz, 2.80 GHz, 2.67 GHz, 2.53 GHz, 2.40 GHz, 2.27 GHz, 2.13 GHz, 2.00 GHz, 1.87 GHz, 1.73 GHz, 1.60 GHz, 1.47 GHz, 1.33 GHz, 1.20 GHz
-   available cpufreq governors: conservative, ondemand, userspace, powersave, performance
-   current policy: frequency should be within 1.20 GHz and 2.80 GHz.
-                   The governor "ondemand" may decide which speed to use
-                   within this range.
-   current CPU frequency is 1.20 GHz.
-   cpufreq stats: 2.80 GHz:11.93%, 2.80 GHz:0.00%, 2.67 GHz:0.40%, 2.53 GHz:0.44%, 2.40 GHz:0.51%, 2.27 GHz:0.55%, 2.13 GHz:0.35%, 2.00 GHz:0.72%, 1.87 GHz:0.84%, 1.73 GHz:1.00%, 1.60 GHz:2.16%, 1.47 GHz:4.61%, 1.33 GHz:16.83%, 1.20 GHz:59.65%  (29241)
-   boost state support:
-     Supported: yes
-     Active: yes
-     25500 MHz max turbo 4 active cores
-     25500 MHz max turbo 3 active cores
-     25500 MHz max turbo 2 active cores
-     25500 MHz max turbo 1 active cores
+ Signed-off-by: Pali Rohár <pali.rohar@xxxxxxxxx>
+ Reviewed-by: Guenter Roeck <linux@xxxxxxxxxxxx>
+ Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
+ 
+ WORKAROUND: Shutdown. After it cools down for a while, turn it on.
  
  Tried intel_pstate but it is not supported for some reason on my machine
  ie the following does not work and I am left with driver: acpi-cpufreq
  
  GRUB_CMDLINE_LINUX_DEFAULT="quiet splash intel_pstate=enable"
  
  Could not see ACPI Thermal Zones reported in dmesg
  $ dmesg | grep ACPI
  https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1514052/+attachment/4527212/+files/dmesg
  
  ---
  ApportVersion: 2.19.1-0ubuntu4
  Architecture: amd64
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC0:  pas        2076 F.... pulseaudio
   /dev/snd/controlC1:  pas        2076 F.... pulseaudio
  CurrentDesktop: Unity
  DistroRelease: Ubuntu 15.10
  HibernationDevice: RESUME=UUID=68ce068c-1889-4f00-9b8a-12d7dc64348b
  InstallationDate: Installed on 2011-02-22 (1718 days ago)
  InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007)
  IwConfig:
   eth0      no wireless extensions.
  
   lo        no wireless extensions.
  MachineType: Dell Inc. Inspiron 580
  Package: linux (not installed)
  ProcFB: 0 radeondrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.2.0-17-generic root=UUID=bf510382-4d2b-49d6-b9d9-ac6e3f6334eb ro intel_pstate=enable
  ProcVersionSignature: Ubuntu 4.2.0-17.21-generic 4.2.3
  RelatedPackageVersions:
   linux-restricted-modules-4.2.0-17-generic N/A
   linux-backports-modules-4.2.0-17-generic  N/A
   linux-firmware                            1.149.1
  RfKill:
  
  Tags:  wily
  Uname: Linux 4.2.0-17-generic x86_64
  UpgradeStatus: Upgraded to wily on 2015-11-06 (0 days ago)
  UserGroups: adm admin cdrom dialout fuse lpadmin plugdev sambashare vboxusers wireshark
  _MarkForUpload: True
  dmi.bios.date: 11/13/2010
  dmi.bios.vendor: Dell Inc.
  dmi.bios.version: A07
  dmi.board.name: 0C2KJT
  dmi.board.vendor: Dell Inc.
  dmi.board.version: A00
  dmi.chassis.type: 3
  dmi.chassis.vendor: Dell Inc.
  dmi.modalias: dmi:bvnDellInc.:bvrA07:bd11/13/2010:svnDellInc.:pnInspiron580:pvr:rvnDellInc.:rn0C2KJT:rvrA00:cvnDellInc.:ct3:cvr:
  dmi.product.name: Inspiron 580
  dmi.sys.vendor: Dell Inc.

-- 
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/1514052

Title:
  erratic fan speed and little control kernel 4.2

Status in linux package in Ubuntu:
  Incomplete

Bug description:
  After upgrading to Ubuntu 15.10 my CPU fan started speeding and
  slowing without good reason even when the PC is idle.

  This has been bisected to commit f989e55452c74b4f7b22c889b8ec9f1192aaeec4 :
  i8k: Add support for fan labels

  This patch adds labels support for fans if SMM function with EAX register
  0x03a3 reports it. This information was taken from DOS binary NBSVC.MDM.

  Additionally this patch change detection of fan presece. Instead reading fan
  status now detection is based on new label SMM function. Dell DOS binary
  NBSVC.MDM is doing similar checks, so we should do that too.

  This patch also remove I8K_FAN_LEFT and I8K_FAN_RIGHT usage from hwmon driver
  part because that names does not make sense anymore. So numeric constants are
  used instead. Original /proc/i8k ioctl part was not changed for compatibility
  reasons.

  Signed-off-by: Pali Rohár <pali.rohar@xxxxxxxxx>
  Reviewed-by: Guenter Roeck <linux@xxxxxxxxxxxx>
  Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>

  WORKAROUND: Shutdown. After it cools down for a while, turn it on.

  Tried intel_pstate but it is not supported for some reason on my
  machine ie the following does not work and I am left with driver:
  acpi-cpufreq

  GRUB_CMDLINE_LINUX_DEFAULT="quiet splash intel_pstate=enable"

  Could not see ACPI Thermal Zones reported in dmesg
  $ dmesg | grep ACPI
  https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1514052/+attachment/4527212/+files/dmesg

  ---
  ApportVersion: 2.19.1-0ubuntu4
  Architecture: amd64
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC0:  pas        2076 F.... pulseaudio
   /dev/snd/controlC1:  pas        2076 F.... pulseaudio
  CurrentDesktop: Unity
  DistroRelease: Ubuntu 15.10
  HibernationDevice: RESUME=UUID=68ce068c-1889-4f00-9b8a-12d7dc64348b
  InstallationDate: Installed on 2011-02-22 (1718 days ago)
  InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007)
  IwConfig:
   eth0      no wireless extensions.

   lo        no wireless extensions.
  MachineType: Dell Inc. Inspiron 580
  Package: linux (not installed)
  ProcFB: 0 radeondrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.2.0-17-generic root=UUID=bf510382-4d2b-49d6-b9d9-ac6e3f6334eb ro intel_pstate=enable
  ProcVersionSignature: Ubuntu 4.2.0-17.21-generic 4.2.3
  RelatedPackageVersions:
   linux-restricted-modules-4.2.0-17-generic N/A
   linux-backports-modules-4.2.0-17-generic  N/A
   linux-firmware                            1.149.1
  RfKill:

  Tags:  wily
  Uname: Linux 4.2.0-17-generic x86_64
  UpgradeStatus: Upgraded to wily on 2015-11-06 (0 days ago)
  UserGroups: adm admin cdrom dialout fuse lpadmin plugdev sambashare vboxusers wireshark
  _MarkForUpload: True
  dmi.bios.date: 11/13/2010
  dmi.bios.vendor: Dell Inc.
  dmi.bios.version: A07
  dmi.board.name: 0C2KJT
  dmi.board.vendor: Dell Inc.
  dmi.board.version: A00
  dmi.chassis.type: 3
  dmi.chassis.vendor: Dell Inc.
  dmi.modalias: dmi:bvnDellInc.:bvrA07:bd11/13/2010:svnDellInc.:pnInspiron580:pvr:rvnDellInc.:rn0C2KJT:rvrA00:cvnDellInc.:ct3:cvr:
  dmi.product.name: Inspiron 580
  dmi.sys.vendor: Dell Inc.

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


References