Bug 239247

Summary: powerd(8) does not work with Celeron J1900
Product: Base System Reporter: Slawomir Wojciech Wojtczak <vermaden>
Component: binAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed Feedback Timeout    
Severity: Affects Only Me    
Priority: ---    
Version: 11.3-RELEASE   
Hardware: Any   
OS: Any   

Description Slawomir Wojciech Wojtczak 2019-07-16 11:25:21 UTC
Hi.

Its on newly updated 11.3-RELEASE system.

Recently I got (quite old from 2013) Mini ITX motherboard with Celeron J1900 CPU:
https://ark.intel.com/content/www/us/en/ark/products/78867/intel-celeron-processor-j1900-2m-cache-up-to-2-42-ghz.html

Here is what 'system' sees.

# cat /var/run/dmesg.boot|grep CPU:
CPU: Intel(R) Celeron(R) CPU  J1900  @ 1.99GHz (2000.05-MHz K8-class CPU)

# sysctl hw.model 
hw.model: Intel(R) Celeron(R) CPU  J1900  @ 1.99GHz

# lscpu
Architecture:            amd64
Byte Order:              Little Endian
Total CPU(s):            4
Thread(s) per core:      1
Core(s) per socket:      4
Socket(s):               1
Vendor:                  GenuineIntel
CPU family:              6
Model:                   55
Model name:              Intel(R) Celeron(R) CPU  J1900  @ 1.99GHz
Stepping:                8
L1d cache:               24K
L1i cache:               32K
L2 cache:                1024K
Flags:                   fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 cflsh ds acpi mmx fxsr sse sse2 ss htt tm pbe sse3 pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm sse4_1 sse4_2 movbe popcnt tsc_deadline rdrnd tsc_adjust smep erms fpcsds syscall nx rdtscp lm lahf_lm

The powerd(8) daemon is not able to scale frequency on it ...

# /etc/rc.d/powerd onestart
Starting powerd.
powerd: error reading supported CPU frequencies: No error: 0
/etc/rc.d/powerd: WARNING: failed to start powerd

The powermon(8) also is not able to attach to it ...

# powermon      
CPU is unsupported

... but I am able to set different frequencies by hand with sysctl(8) command:

# sysctl dev.cpu.0.freq=1200

What other information can I provide?

Regards.