No amdtemp sysctls, acpi errors, AMD Ryzen 5 2400G

Conrad Meyer cem at freebsd.org
Wed Nov 14 01:37:01 UTC 2018


On Tue, Nov 13, 2018 at 5:15 PM Rozhuk Ivan <rozhuk.im at gmail.com> wrote:
>
> On Tue, 13 Nov 2018 19:41:47 -0500
> Daniel Eischen <deischen at freebsd.org> wrote:
>
> > >> I'm trying to track down a couple of things.  amdtemp doesn't
> > >> report any temperature sensors, and acpi seems to have some
> > >> errors.  Not sure if they are related.
> > >
> > > It s a bit legacy )
> > > Try mine: http://www.netlab.linkpc.net/download/tmp/amdtemp.c
> > > does not use amdsmn.
> >
> > Thanks, I think?!  I tried it and it panic'd as soon as it was
> > kldload'd.  I don't have the trace back handy, but it was in a mtx
> > lock after a pci_write.  I'm running 13-current, so it could be
> > something different between that and -stable or whatever you're
> > testing it on.
>
>
> I do not test it on 13.
> Make sure that you have not amdtemp and amdsmn built in kernel and that they not loaded.

Your amdtemp_rtc_temp_sysctl has a lock recursion bug and any
INVARIANTS kernel will panic running it.


More information about the freebsd-current mailing list