Re: Erratic fan speed and little control kernel 4.2

From: Peter Saunderson
Date: Fri Dec 04 2015 - 11:50:32 EST


Hi Pali,

Yes I can compile the kernel, yes I can debug this if you can suggest possible fixes or kprintf that you would like added to get more information.

Sorry I missed the dmi info...

# dmidecode 2.12
SMBIOS 2.6 present.
45 structures occupying 1673 bytes.
Table at 0x000FCB40.

Handle 0x0000, DMI type 0, 24 bytes
BIOS Information
Vendor: Dell Inc.
Version: A07
Release Date: 11/13/2010
Address: 0xE0000
Runtime Size: 128 kB
ROM Size: 8192 kB
Characteristics:
PCI is supported
PNP is supported
BIOS is upgradeable
BIOS shadowing is allowed
ESCD support is available
Boot from CD is supported
Selectable boot is supported
BIOS ROM is socketed
EDD is supported
5.25"/1.2 MB floppy services are supported (int 13h)
3.5"/720 kB floppy services are supported (int 13h)
3.5"/2.88 MB floppy services are supported (int 13h)
Print screen service is supported (int 5h)
8042 keyboard services are supported (int 9h)
Serial services are supported (int 14h)
Printer services are supported (int 17h)
CGA/mono video services are supported (int 10h)
ACPI is supported
USB legacy is supported
LS-120 boot is supported
ATAPI Zip drive boot is supported
BIOS boot specification is supported
Targeted content distribution is supported
BIOS Revision: 8.15

Handle 0x0001, DMI type 1, 27 bytes
System Information
Manufacturer: Dell Inc.
Product Name: Inspiron 580
Version: Not Specified
Serial Number: GGBZZ4J
UUID: 4C4C4544-0047-4210-805A-C7C04F5A344A
Wake-up Type: Power Switch
SKU Number:
Family:

Handle 0x0002, DMI type 2, 15 bytes
Base Board Information
Manufacturer: Dell Inc.
Product Name: 0C2KJT
Version: A00
Serial Number: ..CN736040AD07D9.
Asset Tag:
Features:
Board is a hosting board
Board is replaceable
Location In Chassis:
Chassis Handle: 0x0003
Type: Motherboard
Contained Object Handles: 0

Handle 0x0003, DMI type 3, 21 bytes
Chassis Information
Manufacturer: Dell Inc.
Type: Desktop
Lock: Not Present
Version: Not Specified
Serial Number: GGBZZ4J
Asset Tag: Not Specified
Boot-up State: Safe
Power Supply State: Safe
Thermal State: Safe
Security Status: None
OEM Information: 0x00000000
Height: Unspecified
Number Of Power Cords: 1
Contained Elements: 0

Handle 0x0004, DMI type 4, 42 bytes
Processor Information
Socket Designation: CPU 1
Type: Central Processor
Family: Other
Manufacturer: Intel
ID: E5 06 01 00 FF FB EB BF
Version: Intel(R) Core(TM) i5 CPU 760 @ 2.80GHz
Voltage: Unknown
External Clock: 133 MHz
Max Speed: 2800 MHz
Current Speed: 2800 MHz
Status: Populated, Enabled
Upgrade: Other
L1 Cache Handle: 0x0005
L2 Cache Handle: 0x0006
L3 Cache Handle: 0x0007
Serial Number: To Be Filled By O.E.M.
Asset Tag: To Be Filled By O.E.M.
Part Number: To Be Filled By O.E.M.
Core Count: 4
Core Enabled: 4
Thread Count: 4
Characteristics:
64-bit capable

Handle 0x0005, DMI type 7, 19 bytes
Cache Information
Socket Designation: L1-Cache
Configuration: Enabled, Not Socketed, Level 1
Operational Mode: Write Through
Location: Internal
Installed Size: 256 kB
Maximum Size: 256 kB
Supported SRAM Types:
Other
Installed SRAM Type: Other
Speed: Unknown
Error Correction Type: Parity
System Type: Instruction
Associativity: 4-way Set-associative

Handle 0x0006, DMI type 7, 19 bytes
Cache Information
Socket Designation: L2-Cache
Configuration: Enabled, Not Socketed, Level 2
Operational Mode: Write Through
Location: Internal
Installed Size: 1024 kB
Maximum Size: 1024 kB
Supported SRAM Types:
Other
Installed SRAM Type: Other
Speed: Unknown
Error Correction Type: Single-bit ECC
System Type: Unified
Associativity: 8-way Set-associative

Handle 0x0007, DMI type 7, 19 bytes
Cache Information
Socket Designation: L3-Cache
Configuration: Enabled, Not Socketed, Level 3
Operational Mode: Write Back
Location: Internal
Installed Size: 8192 kB
Maximum Size: 8192 kB
Supported SRAM Types:
Other
Installed SRAM Type: Other
Speed: Unknown
Error Correction Type: Single-bit ECC
System Type: Unified
Associativity: 16-way Set-associative

Handle 0x0008, DMI type 8, 9 bytes
Port Connector Information
Internal Reference Designator: SATA-1
Internal Connector Type: SAS/SATA Plug Receptacle
External Reference Designator: SATA-1
External Connector Type: SAS/SATA Plug Receptacle
Port Type: SATA

Handle 0x0009, DMI type 8, 9 bytes
Port Connector Information
Internal Reference Designator: SATA-2
Internal Connector Type: SAS/SATA Plug Receptacle
External Reference Designator: SATA-2
External Connector Type: SAS/SATA Plug Receptacle
Port Type: SATA

Handle 0x000A, DMI type 8, 9 bytes
Port Connector Information
Internal Reference Designator: SATA-3
Internal Connector Type: SAS/SATA Plug Receptacle
External Reference Designator: SATA-3
External Connector Type: SAS/SATA Plug Receptacle
Port Type: SATA

Handle 0x000B, DMI type 8, 9 bytes
Port Connector Information
Internal Reference Designator: SATA-4
Internal Connector Type: SAS/SATA Plug Receptacle
External Reference Designator: SATA-4
External Connector Type: SAS/SATA Plug Receptacle
Port Type: SATA

Handle 0x000C, DMI type 8, 9 bytes
Port Connector Information
Internal Reference Designator: Null
Internal Connector Type: None
External Reference Designator: USB0
External Connector Type: Other
Port Type: USB

Handle 0x000D, DMI type 8, 9 bytes
Port Connector Information
Internal Reference Designator: Null
Internal Connector Type: None
External Reference Designator: USB1
External Connector Type: Other
Port Type: USB

Handle 0x000E, DMI type 8, 9 bytes
Port Connector Information
Internal Reference Designator: Null
Internal Connector Type: None
External Reference Designator: USB2
External Connector Type: Other
Port Type: USB

Handle 0x000F, DMI type 8, 9 bytes
Port Connector Information
Internal Reference Designator: Null
Internal Connector Type: None
External Reference Designator: USB3
External Connector Type: Other
Port Type: USB

Handle 0x0010, DMI type 8, 9 bytes
Port Connector Information
Internal Reference Designator: Null
Internal Connector Type: None
External Reference Designator: USB4
External Connector Type: Other
Port Type: USB

Handle 0x0011, DMI type 8, 9 bytes
Port Connector Information
Internal Reference Designator: Null
Internal Connector Type: None
External Reference Designator: USB5
External Connector Type: Other
Port Type: USB

Handle 0x0012, DMI type 8, 9 bytes
Port Connector Information
Internal Reference Designator: Null
Internal Connector Type: None
External Reference Designator: USB6
External Connector Type: Other
Port Type: USB

Handle 0x0013, DMI type 8, 9 bytes
Port Connector Information
Internal Reference Designator: Null
Internal Connector Type: None
External Reference Designator: USB7
External Connector Type: Other
Port Type: USB

Handle 0x0014, DMI type 8, 9 bytes
Port Connector Information
Internal Reference Designator: Null
Internal Connector Type: None
External Reference Designator: AUDIO
External Connector Type: None
Port Type: Audio Port

Handle 0x0015, DMI type 8, 9 bytes
Port Connector Information
Internal Reference Designator: Null
Internal Connector Type: None
External Reference Designator: ETHERNET
External Connector Type: RJ-45
Port Type: Network Port

Handle 0x0016, DMI type 9, 17 bytes
System Slot Information
Designation: PCI1
Type: 32-bit PCI
Current Usage: Available
Length: Short
ID: 1
Characteristics:
3.3 V is provided
Opening is shared
PME signal is supported

Handle 0x0017, DMI type 9, 17 bytes
System Slot Information
Designation: PCIE1
Type: x1 PCI Express
Current Usage: Available
Length: Short
ID: 2
Characteristics:
3.3 V is provided
Opening is shared
PME signal is supported

Handle 0x0018, DMI type 9, 17 bytes
System Slot Information
Designation: PCIE2
Type: x1 PCI Express
Current Usage: Available
Length: Short
ID: 3
Characteristics:
3.3 V is provided
Opening is shared
PME signal is supported

Handle 0x0019, DMI type 9, 17 bytes
System Slot Information
Designation: PCIE3
Type: x16 PCI Express
Current Usage: In Use
Length: Long
ID: 4
Characteristics:
3.3 V is provided
Opening is shared
PME signal is supported

Handle 0x001A, DMI type 11, 5 bytes
OEM Strings
String 1: www.dell.com

Handle 0x001B, DMI type 13, 22 bytes
BIOS Language Information
Language Description Format: Long
Installable Languages: 1
en|US|iso8859-1
Currently Installed Language: en|US|iso8859-1

Handle 0x001C, DMI type 16, 15 bytes
Physical Memory Array
Location: System Board Or Motherboard
Use: System Memory
Error Correction Type: None
Maximum Capacity: 16 GB
Error Information Handle: Not Provided
Number Of Devices: 4

Handle 0x001D, DMI type 19, 15 bytes
Memory Array Mapped Address
Starting Address: 0x00000000000
Ending Address: 0x001FFFFFFFF
Range Size: 8 GB
Physical Array Handle: 0x001C
Partition Width: 4

Handle 0x001E, DMI type 17, 28 bytes
Memory Device
Array Handle: 0x001C
Error Information Handle: Not Provided
Total Width: Unknown
Data Width: 64 bits
Size: 2048 MB
Form Factor: DIMM
Set: None
Locator: DIMM1
Bank Locator: Not Specified
Type: Other
Type Detail: Synchronous
Speed: 1333 MHz
Manufacturer: Samsung
Serial Number: 960C658C
Asset Tag: 000211
Part Number: M378B5773CH0-CH9
Rank: 1

Handle 0x001F, DMI type 20, 19 bytes
Memory Device Mapped Address
Starting Address: 0x00000000000
Ending Address: 0x0007FFFFFFF
Range Size: 2 GB
Physical Device Handle: 0x001E
Memory Array Mapped Address Handle: 0x001D
Partition Row Position: 1
Interleaved Data Depth: 1

Handle 0x0020, DMI type 17, 28 bytes
Memory Device
Array Handle: 0x001C
Error Information Handle: Not Provided
Total Width: Unknown
Data Width: 64 bits
Size: 2048 MB
Form Factor: DIMM
Set: None
Locator: DIMM2
Bank Locator: Not Specified
Type: Other
Type Detail: Synchronous
Speed: 1333 MHz
Manufacturer: Samsung
Serial Number: 960C6590
Asset Tag: 000211
Part Number: M378B5773CH0-CH9
Rank: 1

Handle 0x0021, DMI type 20, 19 bytes
Memory Device Mapped Address
Starting Address: 0x00100000000
Ending Address: 0x0017FFFFFFF
Range Size: 2 GB
Physical Device Handle: 0x0020
Memory Array Mapped Address Handle: 0x001D
Partition Row Position: 1
Interleaved Data Depth: 1

Handle 0x0022, DMI type 17, 28 bytes
Memory Device
Array Handle: 0x001C
Error Information Handle: Not Provided
Total Width: Unknown
Data Width: 64 bits
Size: 2048 MB
Form Factor: DIMM
Set: None
Locator: DIMM3
Bank Locator: Not Specified
Type: Other
Type Detail: Synchronous
Speed: 1333 MHz
Manufacturer: Samsung
Serial Number: 960C658D
Asset Tag: 000211
Part Number: M378B5773CH0-CH9
Rank: 1

Handle 0x0023, DMI type 20, 19 bytes
Memory Device Mapped Address
Starting Address: 0x00080000000
Ending Address: 0x000FFFFFFFF
Range Size: 2 GB
Physical Device Handle: 0x0022
Memory Array Mapped Address Handle: 0x001D
Partition Row Position: 1
Interleaved Data Depth: 1

Handle 0x0024, DMI type 17, 28 bytes
Memory Device
Array Handle: 0x001C
Error Information Handle: Not Provided
Total Width: Unknown
Data Width: 64 bits
Size: 2048 MB
Form Factor: DIMM
Set: None
Locator: DIMM4
Bank Locator: Not Specified
Type: Other
Type Detail: Synchronous
Speed: 1333 MHz
Manufacturer: Samsung
Serial Number: 960C6589
Asset Tag: 000211
Part Number: M378B5773CH0-CH9
Rank: 1

Handle 0x0025, DMI type 20, 19 bytes
Memory Device Mapped Address
Starting Address: 0x00180000000
Ending Address: 0x001FFFFFFFF
Range Size: 2 GB
Physical Device Handle: 0x0024
Memory Array Mapped Address Handle: 0x001D
Partition Row Position: 1
Interleaved Data Depth: 1

Handle 0x0026, DMI type 32, 20 bytes
System Boot Information
Status: No errors detected

Handle 0x0027, DMI type 41, 11 bytes
Onboard Device
Reference Designation: To Be Filled By O.E.M.
Type: Video
Status: Enabled
Type Instance: 0

Handle 0x0028, DMI type 41, 11 bytes
Onboard Device
Reference Designation: To Be Filled By O.E.M.
Type: SCSI Controller
Status: Disabled
Type Instance: 0

Handle 0x0029, DMI type 129, 8 bytes
OEM-specific Type
Header and Data:
81 08 29 00 01 01 02 01
Strings:
Intel_ASF
Intel_ASF_001

Handle 0x002A, DMI type 208, 26 bytes
OEM-specific Type
Header and Data:
D0 1A 2A 00 02 01 FE 00 38 04 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00

Handle 0x002B, DMI type 131, 64 bytes
OEM-specific Type
Header and Data:
83 40 2B 00 37 00 00 00 00 00 00 00 00 00 00 00
F8 00 08 3B FF FF FF FF 00 00 00 00 00 00 06 00
B8 04 1F 00 00 00 00 00 C8 00 FF FF 00 00 00 00
00 00 00 00 32 00 00 00 76 50 72 6F 00 00 00 00

Handle 0x002C, DMI type 127, 4 bytes
End Of Table




On 04/12/15 09:18, Pali RohÃr wrote:
Hi Peter!

On Thursday 03 December 2015 20:26:51 Peter Saunderson wrote:
Erratic fan speed and little control kernel 4.2

After upgrading to kernel 4.2 my CPU fan started speeding and slowing
without good reason even when the PC is idle.

To stop erratic fan speed - reboot sometimes works.

This bug has been bisected to commit
f989e55452c74b4f7b22c889b8ec9f1192aaeec4
There is very similar (or same) problem on desktop Dell Studio XPS 8100.
See bug: https://bugzilla.kernel.org/show_bug.cgi?id=100121

In your long email is missing one important information: DMI information
about your machine. Can you run dmidecode and send output?

You were able to bisect problematic commit, are you able to do some
additional test and debug root of this issue?

In my opinion problem is in some SMM call, but without commenting code
which calling it, step by step and testing is not possible to decide...


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/