Port-amd64 archive

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

Re: AMD Ryzen temp sensor



On Sat, 27 Jan 2018, Ian Clark wrote:

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.

Yes, I've had this discussison off-line with christos@ and will be updating the driver shortly.


+------------------+--------------------------+----------------------------+
| Paul Goyette     | PGP Key fingerprint:     | E-mail addresses:          |
| (Retired)        | FA29 0E3B 35AF E8AE 6651 | paul at whooppee dot com   |
| Kernel Developer | 0786 F758 55DE 53BA 7731 | pgoyette at netbsd dot org |
+------------------+--------------------------+----------------------------+


Home | Main Index | Thread Index | Old Index