Date: Tue, 13 Nov 2018 17:36:46 -0800 From: Conrad Meyer <cem@freebsd.org> To: rozhuk.im@gmail.com Cc: Daniel Eischen <deischen@freebsd.org>, freebsd-current <freebsd-current@freebsd.org> Subject: Re: No amdtemp sysctls, acpi errors, AMD Ryzen 5 2400G Message-ID: <CAG6CVpU=GgjC_YvQvm74rN6gw%2BtPPuqFYkH7K1DmP-=W%2B00feA@mail.gmail.com> In-Reply-To: <20181114041437.4dbe2a83@gmail.com> References: <Pine.GSO.4.64.1811131259350.27287@sea.ntplx.net> <20181113220658.77cec7c3@gmail.com> <4DC7A95A-3DB3-4971-9DAB-10021E5BB7E8@freebsd.org> <20181114041437.4dbe2a83@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Nov 13, 2018 at 5:15 PM Rozhuk Ivan <rozhuk.im@gmail.com> wrote: > > On Tue, 13 Nov 2018 19:41:47 -0500 > Daniel Eischen <deischen@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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAG6CVpU=GgjC_YvQvm74rN6gw%2BtPPuqFYkH7K1DmP-=W%2B00feA>