Port-amd64 archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: AMD Ryzen temp sensor



I tested it and got a panic:
(Copied from screen photo)
...
amdsmn0 at pci0 dev 0 function 0: AMD Family 17h System Management Network
panic: kernel diagnostic assertion!ifattr || cfdriver_get_iattr(parent->dv_cfddriver, ifattr)" failed: file subr_autoconf.c, line 1002

Lokks like a configuration error.

Sorry no stack - USB only machine and as USB is not set up at that time no keyboard input is possible.

Frank

On 01/25/18 02:26, Christos Zoulas wrote:
In article <CAJVtfJQczv7BKn45+4OfYdizmSDKE8Oyoz7M3kvS+FD+fCwgBg%mail.gmail.com@localhost>,
Ian Clark  <mrrooster%gmail.com@localhost> wrote:
Hi All,

Due to what can only be described as incompetence on my part I'm
currently running an AMD Ryzen with inadequate cooling. Due to this
it'd be really useful to be able to get the CPU temp so I know when
I'm going to need new hardware. ;)

To that end I've ported the driver recently added to FreeBSD, and
thought I'd share it here if it's any use to anyone. Configure with:

amdsmn* at pci?
amdzentemp* at amdsmn?

src changes for 8_BETA are here:

http://tsunami.ohmyno.co.uk/~ian/ryzen_temp_changes.tbz

As I've never done anything like this before I've absolutely no idea
how to submit it, but am happy to do so if someone points me in the
right direction? I did have a gander round the site but probably
missed the correct page. Do I need to submit a feature request pr?

The driver is a port of the amd sys management network driver from
freebsd, and the changes to amdtemp. I've split these into a new
device to avoid a hard dependency on amdsmn within amdtemp.

Committed in current, thanks! Please test.

christos



Home | Main Index | Thread Index | Old Index