Port-amd64 archive

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

Re: AMD Ryzen temp sensor



On 27 January 2018 at 20:12, Frank Kardel <kardel%kardel.name@localhost> wrote:
> 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.
>
I got this too.

The following fixed it for me:

Index: sys/arch/x86/pci/amdsmn.c
===================================================================
RCS file: /cvsroot/src/sys/arch/x86/pci/amdsmn.c,v
retrieving revision 1.2
diff -r1.2 amdsmn.c
104c104
<       amdsmn_rescan(self, "amdsmn", &flags);
---
>       amdsmn_rescan(self, "amdsmnbus", &flags);

then I was able to boot a live usb stick and envstat showed the CPU
temp as expected.

Cheers,

Ian


Home | Main Index | Thread Index | Old Index