From owner-freebsd-hackers@freebsd.org Wed Feb 20 22:50:12 2019 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7ECE914DFA09 for ; Wed, 20 Feb 2019 22:50:12 +0000 (UTC) (envelope-from bwidawsk@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 1AA8C7311B; Wed, 20 Feb 2019 22:50:12 +0000 (UTC) (envelope-from bwidawsk@freebsd.org) Received: from smtp.freebsd.org (c-73-25-164-31.hsd1.or.comcast.net [73.25.164.31]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) (Authenticated sender: bwidawsk) by smtp.freebsd.org (Postfix) with ESMTPSA id 7F9D84B19; Wed, 20 Feb 2019 22:50:11 +0000 (UTC) (envelope-from bwidawsk@freebsd.org) Date: Wed, 20 Feb 2019 14:50:09 -0800 From: Ben Widawsky To: Milan Obuch Cc: freebsd-hackers@freebsd.org Subject: Re: est on newer CPU Message-ID: <20190220225009.4xz7bilvyyhvhpeg@smtp.freebsd.org> Mail-Followup-To: Milan Obuch , freebsd-hackers@freebsd.org References: <20190218180119.137afd06@zeta.dino.sk> <20190219204457.4lliz3d4ycat7jgx@smtp.freebsd.org> <20190220122347.64ee649c@wind.dino.sk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190220122347.64ee649c@wind.dino.sk> User-Agent: NeoMutt/20180716 X-Rspamd-Queue-Id: 1AA8C7311B X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.96 / 15.00]; local_wl_from(0.00)[freebsd.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.997,0]; NEURAL_HAM_SHORT(-0.96)[-0.960,0]; ASN(0.00)[asn:11403, ipnet:96.47.64.0/20, country:US]; NEURAL_HAM_LONG(-1.00)[-0.999,0] X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Feb 2019 22:50:12 -0000 On 19-02-20 12:23:47, Milan Obuch wrote: > On Tue, 19 Feb 2019 12:44:57 -0800 > Ben Widawsky wrote: > > > On 19-02-18 18:01:19, Milan Obuch wrote: > > > Hi, > > > > > > I have currently installed FreeBSD on HP gen10 server. With an > > > exception of HP RAID controller, needs to be switched to SATA mode, > > > everything went well (OK, I did some errors so it was a bit of > > > trials-errors but basically no problem). > > > > > > Now I found there is not working powerd - in dmesg > > > > > > est: CPU supports Enhanced Speedstep, but is not recognized. > > > est: cpu_vendor GenuineIntel, msr 20b600002500 > > > device_attach: est0 attach returned 6 > > > > > > CPU is > > > > > > CPU: Intel(R) Pentium(R) Gold G5400 CPU @ 3.70GHz (3696.18-MHz > > > K8-class CPU) > > > > > > Actual system version is > > > > > > 12.0-STABLE FreeBSD 12.0-STABLE r344230 > > > > > > Is there something I can do to get est recognize this CPU and get > > > working powerd? > > > > > > Regards, > > > Milan > > > > To start with, can you try > > hw.est.msr_info=1 > > > > Well, I tried and put this line into /boot/loader.conf, but the result > was endless boot loop. No idea what is wrong... it just quickly loops, > most probably inserted line is causing system reset. > > > Also, is acpi_perf being loaded? > > > > No, there is no such file in /boot/kernel at all. > It wouldn't be in /boot/kernel, if you're not explicitly disabling it, it should be there. I have a feeling your ACPI tables have some weirdness to them. Might be worth looking for a BIOS upgrade if you haven't already. I can't look right away, but you could put a dump of your acpi tables for later debug. > Also, I tried 13-CURRENT last snapshot, it boot OK, but the net result > is the same - est could not attach, because CPU is not recognized. > > On another system, with different Intel CPU, it works. > > Milan > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"