Hello list, I'm using 10.3-BETA3 #0 r296148 compiled today on on AMD Quad-Core A8-4555M. I have the following in /etc/rc.d: powerd_enable="YES" I have cpufreq in the kernel config, unmodified GENERIC apart from adding a line for amdtemp. # CPU frequency control device cpufreq Why is it that on boot I get the following warning: powerd: no cpufreq(4) support -- aborting: No such file or directory Does powerd not work with AMD ? Some debugging info: root at onion:~ # sysctl -a | egrep -i 'hw.machine|hw.model|hw.ncpu' hw.machine: amd64 hw.model: AMD A8-4555M APU with Radeon(tm) HD Graphics hw.ncpu: 4 hw.machine_arch: amd64 root at onion:~ # sysctl debug.hwpstate_verbose="1" debug.hwpstate_verbose: 0 -> 1 root at onion:~ # powerd -v powerd: no cpufreq(4) support -- aborting: No such file or directory thanks, -- John
Hello list, I've been able to get some more info. cc'd to freebsd-performance@ which on 2nd thoughts might have been the better place to ask... [ powerd: no cpufreq(4) support -- aborting: No such file or directory ] Right, I've found that what this chip has is AMD Turbo Core. So really my question is, can powerd make use of Turbo Core? Here's some sysctl output: # sysctl -a | grep dev.cpu dev.cpu.3.cx_usage: 100.00% 0.00% last 79194us dev.cpu.3.cx_lowest: C1 dev.cpu.3.cx_supported: C1/1/0 C2/2/100 dev.cpu.3.temperature: 47.6C dev.cpu.3.%parent: acpi0 dev.cpu.3.%pnpinfo: _HID=none _UID=0 dev.cpu.3.%location: handle=\_PR_.C003 dev.cpu.3.%driver: cpu dev.cpu.3.%desc: ACPI CPU dev.cpu.2.cx_usage: 100.00% 0.00% last 45553us dev.cpu.2.cx_lowest: C1 dev.cpu.2.cx_supported: C1/1/0 C2/2/100 dev.cpu.2.temperature: 47.6C dev.cpu.2.%parent: acpi0 dev.cpu.2.%pnpinfo: _HID=none _UID=0 dev.cpu.2.%location: handle=\_PR_.C002 dev.cpu.2.%driver: cpu dev.cpu.2.%desc: ACPI CPU dev.cpu.1.cx_usage: 100.00% 0.00% last 40us dev.cpu.1.cx_lowest: C1 dev.cpu.1.cx_supported: C1/1/0 C2/2/100 dev.cpu.1.temperature: 47.6C dev.cpu.1.%parent: acpi0 dev.cpu.1.%pnpinfo: _HID=none _UID=0 dev.cpu.1.%location: handle=\_PR_.C001 dev.cpu.1.%driver: cpu dev.cpu.1.%desc: ACPI CPU dev.cpu.0.cx_usage: 100.00% 0.00% last 17478us dev.cpu.0.cx_lowest: C1 dev.cpu.0.cx_supported: C1/1/0 C2/2/100 dev.cpu.0.temperature: 47.6C dev.cpu.0.%parent: acpi0 dev.cpu.0.%pnpinfo: _HID=none _UID=0 dev.cpu.0.%location: handle=\_PR_.C000 dev.cpu.0.%driver: cpu dev.cpu.0.%desc: ACPI CPU dev.cpu.%parent: thanks, -- John
Dewayne Geraghty
2016-Feb-28 21:29 UTC
problems with powerd and cpufreq on AMD Quad-Core A8-4555M
Thanks John, I have cpufreq added via the boot/loader.conf which always works. However, over the weekend, I was testing some boot changes and tried to add cpufreq AFTER the kernel - unsuccessfully. This was amd64 10.3Beta1 and 10.3Beta3. A workaround (for you) might be to remove it from the kernel and load cpufreq via loader.conf? I have some other problems (with usb nic's axge,axe) but I'll pursue if I get time for enough info for a PR Regards. On 29 February 2016 at 02:18, John <freebsd-lists at potato.growveg.org> wrote:> Hello list, > > I'm using 10.3-BETA3 #0 r296148 compiled today on on AMD Quad-Core > A8-4555M. I have the following in /etc/rc.d: > > powerd_enable="YES" > > I have cpufreq in the kernel config, unmodified GENERIC apart from adding a > line for amdtemp. > > # CPU frequency control > device cpufreq > > Why is it that on boot I get the following warning: > > powerd: no cpufreq(4) support -- aborting: No such file or directory > > Does powerd not work with AMD ? Some debugging info: > > root at onion:~ # sysctl -a | egrep -i 'hw.machine|hw.model|hw.ncpu' > hw.machine: amd64 > hw.model: AMD A8-4555M APU with Radeon(tm) HD Graphics hw.ncpu: 4 > hw.machine_arch: amd64 > > root at onion:~ # sysctl debug.hwpstate_verbose="1" > debug.hwpstate_verbose: 0 -> 1 > root at onion:~ # powerd -v > powerd: no cpufreq(4) support -- aborting: No such file or directory > > thanks, > -- > John _______________________________________________ > freebsd-stable at freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe at freebsd.org" >