coretemp module on newer i12/i13/i14 Intel silicon

Shingy shingy_shabooya at yahoo.com
Sat Sep 28 09:49:38 PDT 2024


Hello list:

I am unable to get the coretemp module to execute the identify, probe, 
attach, detach module routines on Intel i5-12500H, i7-13700H and 
i9-14900HX silicon. Can someone suggest where to go from here please?

1) Commented out amdtemp and coretemp in the kernel config file. Rebuilt 
the kernel.

2) Built and loaded amdtemp and coretemp modules with kprintfs in the 
identify, probe, attach, detach routines.

3) Both (non-kprintf) modules load/unload normally (silent).

4) With kprintfs amdtemp runs identify, prints and fails at the if stmt 
in identify - expected.

5) With kprintfs coretemp apparently does not execute identify, probe, 
attach, detach.

6) In amdtemp (line 279) DRIVER_MODULE is called on the "hostb" bus.

7) The corresponding line in coretemp (line 163) DRIVER_MODULE is called 
on "cpu" bus.

8) Tried "hostb" in the coretemp DRIVER_MODULE (line 163): identify and 
probe executed their kprintfs. Things failed in attach after line 334, 
device_printf for the junction temperature (TjMax). When the module is 
unloaded the kprintfs in detach are printed. Two (2) cpus apparently 
were detected - not 16 as other OS's.

9) From reading the code it appears "hostb" is only for AMD silicon so 
coretemp was not expected to execute correctly.

10) Freebsd 14.1 and Netbsd10 run normally on the same i5-12500H and 
i7-13700H machines and print their coretemps. The kernel version is 
753.gc4e27 from Monday, 23rd. However, it looks like other Intel 
specific modules do not execute (tried some kprintfs). Older kernels 
(March 1) same issue.

At a loss how to proceed here. Advice from those knowledgeable would be 
much appreciated.

Here's a link to pastebin (hope it works) for boot -v and sysctl -a for 
the i5-12500H machine.

https://pastebin.com/8yEYSqMD

---------

Thanks, Shingy



More information about the Users mailing list