Threadripper lm_sensors HALP

Thoughts all? I can’t seem to get any sensor data on the Gigabyte X399 with the 1950X.

Thanks!

What software are you trying?

lm_sensors in Fedora 26.

[root@threadripper ~]# sensors
iwlwifi-virtual-0
Adapter: Virtual device
temp1:        +33.0°C

Not sure if this is the overall CPU temp. On my Z170/6700K box, it does give me a breakdown of temps by cores though. The detection process doesn’t seem to recognise anything on the X399 board.

Update: Looks like I’m not alone.

This chap has got it work in Ubuntu after loading a specific module; will do some digging.

Hey @wendell if/when you get a chance on the Gigabyte board, do please let me know if you figure this one out in Fedora 26 please.

FYI The chap at Phoronix (see link in my previous post) mentioned loading a i87 kernel module in Ubuntu, but didn’t mention Fedora – also Googling didn’t yield much about that module… :confused:

That what you looking for?

2 Likes

Awesome, thanks @Baz - I’ve posted my findings in an issue there, will see how far I get.

You checked if the module is loaded?
lsmod | grep it87
If it’s missing add it manually to /etc/sysconfig/modules/something.module
and see what happens, that’s what i’d try first

Made some decent progress -

Once I loaded the module and re-running sensors-detect

Trying family `ITE'...                                      Yes
Found unknown chip with ID 0x8733

Here’s some temp info

[root@threadripper it87]# sensors
iwlwifi-virtual-0
Adapter: Virtual device
temp1:        +38.0°C

it8792-isa-0a60
Adapter: ISA adapter
in0:          +1.38 V  (min =  +0.00 V, max =  +2.78 V)
in1:          +1.51 V  (min =  +0.00 V, max =  +2.78 V)
in2:          +1.05 V  (min =  +0.00 V, max =  +2.78 V)
in3:          +1.98 V  (min =  +0.00 V, max =  +2.78 V)
in4:          +1.79 V  (min =  +0.00 V, max =  +2.78 V)
in5:          +1.50 V  (min =  +0.00 V, max =  +2.78 V)
in6:          +2.78 V  (min =  +0.00 V, max =  +2.78 V)  ALARM
3VSB:         +1.68 V  (min =  +0.00 V, max =  +2.78 V)
Vbat:         +1.57 V
fan1:         814 RPM  (min =    0 RPM)
fan2:           0 RPM  (min =    0 RPM)
fan3:        1024 RPM  (min =    0 RPM)
temp1:        +40.0°C  (low  = +127.0°C, high = +127.0°C)  sensor = thermistor
temp2:        -55.0°C  (low  = +127.0°C, high = +127.0°C)  sensor = Intel PECI
temp3:        +39.0°C  (low  = +127.0°C, high = +127.0°C)  sensor = thermistor
intrusion0:  ALARM

There’s a TODO file in the Github repo for the it87 module which states that the AMD CPU temp sensor is reported as an Intel one. In any case, the CPU temp I’m getting looks way off.

Also for Fedora 26, I had to fix the Makefile prior to compiling, and this is my version

# For building for the current running version of Linux
TARGET		:= $(shell uname -r)
# Or specific version
#TARGET		:= 2.6.33.5
KERNEL_MODULES	:= /lib/modules/$(TARGET)
# KERNEL_BUILD	:= $(KERNEL_MODULES)/build
KERNEL_BUILD	:= /usr/src/kernels/$(TARGET)

#SYSTEM_MAP	:= $(KERNEL_BUILD)/System.map
SYSTEM_MAP	:= /boot/System.map-$(TARGET)

DRIVER := it87

# Directory below /lib/modules/$(TARGET)/kernel into which to install
# the module:
MOD_SUBDIR = drivers/hwmon
MODDESTDIR=$(KERNEL_MODULES)/kernel/$(MOD_SUBDIR)

obj-m	:= $(patsubst %,%.o,$(DRIVER))
obj-ko  := $(patsubst %,%.ko,$(DRIVER))

MAKEFLAGS += --no-print-directory

ifneq ("","$(wildcard $(MODDESTDIR)/*.ko.gz)")
COMPRESS_GZIP := y
endif
ifneq ("","$(wildcard $(MODDESTDIR)/*.ko.xz)")
COMPRESS_XZ := y
endif

.PHONY: all install modules modules_install clean

all: modules

# Targets for running make directly in the external module directory:

modules clean:
  @$(MAKE) -C $(KERNEL_BUILD) M=$(CURDIR) $@

install: modules_install

copy:
        mkdir -p $(MODDESTDIR)
        cp $(DRIVER).ko $(MODDESTDIR)/
ifeq ($(COMPRESS_XZ), y)
        @xz -f $(MODDESTDIR)/$(DRIVER).ko
endif

Run the following to compile the module

make
make copy

modprobe it87

# confirm module is loaded
lsmod | grep it87

Here’s a reference on how to load modules in Fedora 26 as well.

Hi…i am a new user here. As per my knowledge the X399 AORUS Gaming 7 for AMD Threadripper processors is quite a competent board. This AMD X399 motherboard features three M.2 slots, Realtek ALC1220 audio, Killer E2500 networking, USB 3.1 Gen2 Type-C connectivity, Intel 802.11ac WiFi and Bluetooth, UEFI DualBIOS, server-level power chokes, and other high-end motherboard features.

pcb assembly china

Along with help from the driver devs @ Github, I’ve managed to seemingly get this to work

[root@threadripper it87]# modprobe it87 force_id=0x8686 ignore_resource_conflict=1
[root@threadripper it87]# sensors
it8686-isa-0a60
Adapter: ISA adapter
in0:          +1.50 V  (min =  +0.00 V, max =  +3.06 V)
in1:          +1.66 V  (min =  +0.00 V, max =  +3.06 V)
in2:          +1.15 V  (min =  +0.00 V, max =  +3.06 V)
in3:          +2.18 V  (min =  +0.00 V, max =  +3.06 V)
in4:          +1.97 V  (min =  +0.00 V, max =  +3.06 V)
in5:          +1.66 V  (min =  +0.00 V, max =  +3.06 V)
in6:          +3.06 V  (min =  +0.00 V, max =  +3.06 V)
3VSB:         +3.70 V  (min =  +0.00 V, max =  +6.12 V)
Vbat:         +3.46 V
fan1:           0 RPM  (min =    0 RPM)
fan2:           0 RPM  (min =    0 RPM)
fan3:        1095 RPM  (min =    0 RPM)
fan4:           0 RPM  (min =    0 RPM)
fan5:           0 RPM  (min =    0 RPM)
temp1:        +43.0°C  (low  = +127.0°C, high = +127.0°C)  sensor = thermistor
temp2:        -55.0°C  (low  = +127.0°C, high = +127.0°C)  sensor = thermistor
temp3:        +41.0°C  (low  = +127.0°C, high = +127.0°C)  sensor = thermistor
temp4:       -128.0°C  (low  = +106.0°C, high = +106.0°C)
temp5:        -51.0°C  (low  = +62.0°C, high = -74.0°C)  sensor = thermistor
temp6:        +60.0°C  (low  =  -1.0°C, high =  -1.0°C)
intrusion0:  ALARM

iwlwifi-virtual-0
Adapter: Virtual device
temp1:        +41.0°C

it8686-isa-0a40
Adapter: ISA adapter
in0:          +1.38 V  (min =  +0.00 V, max =  +3.06 V)
in1:          +2.00 V  (min =  +0.00 V, max =  +3.06 V)
in2:          +2.02 V  (min =  +0.00 V, max =  +3.06 V)
in3:          +2.00 V  (min =  +0.00 V, max =  +3.06 V)
in4:          +1.21 V  (min =  +0.00 V, max =  +3.06 V)
in5:          +0.97 V  (min =  +0.00 V, max =  +3.06 V)
in6:          +1.21 V  (min =  +0.00 V, max =  +3.06 V)
3VSB:         +3.31 V  (min =  +0.00 V, max =  +6.12 V)
Vbat:         +3.05 V
fan1:        1430 RPM  (min =    0 RPM)
fan2:           0 RPM  (min =    0 RPM)
fan3:           0 RPM  (min =    0 RPM)
fan4:           0 RPM  (min =    0 RPM)
fan5:           0 RPM  (min =    0 RPM)
temp1:        +44.0°C  (low  = +127.0°C, high = +127.0°C)  sensor = thermistor
temp2:        +54.0°C  (low  = +127.0°C, high = +127.0°C)  sensor = thermistor
temp3:        +33.0°C  (low  = +127.0°C, high = +127.0°C)  sensor = AMD AMDSI
temp4:        +43.0°C  (low  = +127.0°C, high = +127.0°C)
temp5:        +40.0°C  (low  = +127.0°C, high = +127.0°C)  sensor = thermistor
temp6:        -55.0°C  (low  = +127.0°C, high = +127.0°C)
intrusion0:  ALARM

Not only did I need to force the module ID, like above, but also correct my version of the Makefile to copy the compressed module *.ko.xz over, not just *.ko in Fedora.

Hi all - I’ve worked with the author of the it87 module to get support working for the Gigabyte X399 board. Thanks to @baz and CC @wendell

With the new module loaded, output looks like https://github.com/groeck/it87/issues/49#issuecomment-331392857

Here are the fixes, quick summary -

  • There are two chips — IT8792E and the IT8795E — both having the same ID (LOL WUT!), so sensors detects it as IT8792. In reality the block diagram for the Gigabyte board lists a IT8795 chip.

  • the IT8792 is connected to SYS_FAN4 (fan3) and SYS_FAN5_PUMP (fan1) from my testing.

  • The IT8686 has CPU_FAN (fan1) which shows my H115i’s pump rpm.

  • Noticed in0 reporting odd values at times on idle, but my latest test with the current version on Github reports VCore correctly. It also seems both chips are connected to VCore.

  • CPU temp is reported via IT8686 temp3.

  • We had an issue that loading the driver would cause fan3 to stop spinning; this has now been resolved. The author needed a full acpidump and some other troubleshooting to figure this out. When the fan stopped running a quick cat /sys/class/hwmon/hwmon1/pwm1_enable would get it to run again for a short while.

      [root@threadripper it87]# modprobe it87 ignore_resource_conflict=1
      [root@threadripper it87]# sensors
      it8792-isa-0a60
      Adapter: ISA adapter
      in0:          +1.38 V  (min =  +0.00 V, max =  +2.78 V)
      in1:          +1.50 V  (min =  +0.00 V, max =  +2.78 V)
      in2:          +1.04 V  (min =  +0.00 V, max =  +2.78 V)
      in3:          +2.00 V  (min =  +0.00 V, max =  +2.78 V)
      in4:          +1.78 V  (min =  +0.00 V, max =  +2.78 V)
      in5:          +1.50 V  (min =  +0.00 V, max =  +2.78 V)
      in6:          +2.78 V  (min =  +0.00 V, max =  +2.78 V)  ALARM
      3VSB:         +3.33 V  (min =  +0.00 V, max =  +5.56 V)
      Vbat:         +3.14 V
      fan1:        1138 RPM  (min =    0 RPM)
      fan2:           0 RPM  (min =    0 RPM)
      fan3:        1048 RPM  (min =    0 RPM)
      temp1:        +48.0°C  (low  = +127.0°C, high = +127.0°C)  sensor = thermistor
      temp2:        -55.0°C  (low  = +127.0°C, high = +127.0°C)  sensor = thermistor
      temp3:        +45.0°C  (low  = +127.0°C, high = +127.0°C)  sensor = thermistor
      intrusion0:  ALARM
    
      iwlwifi-virtual-0
      Adapter: Virtual device
      temp1:        +46.0°C
    
      it8686-isa-0a40
      Adapter: ISA adapter
      in0:          +1.39 V  (min =  +0.00 V, max =  +3.06 V)
      in1:          +2.00 V  (min =  +0.00 V, max =  +3.06 V)
      in2:          +2.02 V  (min =  +0.00 V, max =  +3.06 V)
      in3:          +2.00 V  (min =  +0.00 V, max =  +3.06 V)
      in4:          +1.21 V  (min =  +0.00 V, max =  +3.06 V)
      in5:          +0.97 V  (min =  +0.00 V, max =  +3.06 V)
      in6:          +1.21 V  (min =  +0.00 V, max =  +3.06 V)
      3VSB:         +3.34 V  (min =  +0.00 V, max =  +6.12 V)
      Vbat:         +3.07 V
      fan1:        1430 RPM  (min =   10 RPM)
      fan2:           0 RPM  (min =    0 RPM)
      fan3:           0 RPM  (min =    0 RPM)
      fan4:           0 RPM  (min =    0 RPM)
      fan5:           0 RPM  (min =    0 RPM)
      temp1:        +48.0°C  (low  = +127.0°C, high = +127.0°C)  sensor = thermistor
      temp2:        +57.0°C  (low  = +127.0°C, high = +127.0°C)  sensor = thermistor
      temp3:        +37.0°C  (low  =  +0.0°C, high = +70.0°C)  sensor = AMD AMDSI
      temp4:        +47.0°C  (low  = +127.0°C, high = +127.0°C)  sensor = thermistor
      temp5:        +43.0°C  (low  = +127.0°C, high = +127.0°C)  sensor = thermistor
      temp6:        -55.0°C  (low  = +127.0°C, high = +127.0°C)  sensor = thermistor
      intrusion0:  ALARM
3 Likes