Bug 173502 - Patch inhibition of warnings that appear in the combination of AMD FX Series CPU and powerd
Summary: Patch inhibition of warnings that appear in the combination of AMD FX Series ...
Status: Open
Alias: None
Product: Base System
Classification: Unclassified
Component: amd64 (show other bugs)
Version: Unspecified
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-amd64 (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-11-09 15:10 UTC by nanami
Modified: 2017-12-31 22:29 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description nanami 2012-11-09 15:10:01 UTC
This patch is suppress the output warnings to the console
------------
hwpstate0: set freq failed, err 6
hwpstate0: set freq failed, err 6
------------
If displayed the message in environment
AMD FX or Opteron (Bulldozer, Piledriver)
AMD Fusion APU (Trinity)

When enabled, powerd the alert message is displayed on the console in
this environment, lowering the clock has been carried out without any
problems.

Has become virtually patch, just remove the sentence device_print, it
does not make sense except in the appropriate environment.

I think for that, should not be provided as the default kernel, also
considering performance considerations, only when a custom kernel, was
carried out the following notation, and should be enabled.

in kernel config file
options  AMDFX

However, perhaps there is more to a good solution.

This behavior is not a significant issue, such as system crash after
running system, that is what the first console is virtually impossible
to use one.

The reason for creating the patch are those with future updates of FreeBSD,
provides a method that can be easily updated as necessary not least for
those without problems.

by nanami (@nanakochi123456) nanami@daiba.cx

Fix: 

As of patch, by thinking of performance, to create a custom kernel, it
may be desirable features that can suppress the display, it is desirable
if the original, it automatically detects the CPU, is to not to display .

Just do not want to see this message, it is that the console away from
the first is always filled with this message

hwpstate0: set freq failed, err 6
How-To-Repeat: Install to FreeBSD on this env.
AMD FX or Opteron (Bulldozer, Piledriver)
AMD Fusion APU (Trinity) (Unconfirmed)

Enable AMD Cool'n'Quiet Technology
Enable FreeBSD powerd
Comment 1 Eitan Adler freebsd_committer freebsd_triage 2017-12-31 08:01:29 UTC
For bugs matching the following criteria:

Status: In Progress Changed: (is less than) 2014-06-01

Reset to default assignee and clear in-progress tags.

Mail being skipped