From owner-freebsd-current@freebsd.org Sun Nov 11 10:10:18 2018 Return-Path: Delivered-To: freebsd-current@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 059001133555 for ; Sun, 11 Nov 2018 10:10:18 +0000 (UTC) (envelope-from mad@madpilot.net) Received: from mail.madpilot.net (vogon.madpilot.net [159.69.1.99]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 15CAC791DC for ; Sun, 11 Nov 2018 10:10:17 +0000 (UTC) (envelope-from mad@madpilot.net) Received: from mail (mail [192.168.254.3]) by mail.madpilot.net (Postfix) with ESMTP id 42t8lW2Cw0z6dP8; Sun, 11 Nov 2018 11:10:15 +0100 (CET) Received: from mail.madpilot.net ([192.168.254.3]) by mail (mail.madpilot.net [192.168.254.3]) (amavisd-new, port 10024) with ESMTP id NQY0SM07l2IM; Sun, 11 Nov 2018 11:10:13 +0100 (CET) Received: from tommy.madpilot.net (host109-128-dynamic.16-87-r.retail.telecomitalia.it [87.16.128.109]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.madpilot.net (Postfix) with ESMTPSA; Sun, 11 Nov 2018 11:10:13 +0100 (CET) Subject: Re: 13.0 failing to boot multiuser on one PC due to system utilities crashing during rc scipt To: Konstantin Belousov Cc: freebsd-current@freebsd.org References: <62bdb5ff-4d68-cf52-4dd5-f0a3cfa1c788@madpilot.net> <791e3488-b838-5cfd-8dca-8db8c74167a0@madpilot.net> <20181110230744.GN2378@kib.kiev.ua> From: Guido Falsi Openpgp: preference=signencrypt Autocrypt: addr=mad@madpilot.net; prefer-encrypt=mutual; keydata= xsBNBE+G+l0BCADi/WBQ0aRJfnE7LBPsM0G3m/m3Yx7OPu4iYFvS84xawmRHtCNjWIntsxuX fptk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aqvoKPPZ++2NpCZMHB2i6A /xifmQwEiIjEXtcueBRzkNUQkxhqZyS13SrhocL9ydtaVPBzZatAEjUDDEJmAMLVFs45qfyh MiNapHJo2n3MW/E5omqCvEkDdWX/en3P7CK2TemeaDghMsgkNKax/z0wNo5UZCkOPOz0xpNi UilOVbkuezZZNg65741qee2lfXhQIaZ66yT7hphc/N/z3PIAtLeze4u1VR2EXAuZ2sWAdlKC NTlJMsaU/x70BV11Wd/ypnVzM68dfdQIIAj1iMFAD/lXGlEUmKXg5Ov2VQDlTntQoanCYrAg +8CttPzjrydgLZFq3hrtQmfc0se5yv1WHS69+BsUOG09RvvawUDZxUjW19kyeN9THaNRgow3 kSuArUp6zSmJABEBAAHCwF8EGAEIAAkFAlMQe0ECGwwACgkQGuaGDlbL0pMN5wgA4bCkX/qw EVC06ToeR6C2putmSWQMgpDaqrv65Hubo+QGmg2P4ewTYQQ4g6oYWS03qHxqVVWhKz7FjfrV +dH8qbCLfSgIcvdBha7ayGZVrsiuMLKGbw36fcmkZPpSDOfHcP0XH8Z+u9CWj0xUkTxAlZ/7 i6gYSUpG2JWNtdmE/X8VVEyXusCLwy0K0BI60A/4dRTIX3C4QKrJ3ZbUXegz70ynjHf+lQMZ 9IZKASoRMuS5FozPQh6abvmwZEPdf5I9riUElzvHrqJ8Bx0t3Pujdoth+yNHpnBxrtO8LkQd rQ58P0SwcaIX33T2U9pG8bhu5YVR88FQ8OQ0cEsPBpDncg== Message-ID: <5176caee-126f-2709-d09a-0dcf5190e319@madpilot.net> Date: Sun, 11 Nov 2018 11:10:12 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.3.0 MIME-Version: 1.0 In-Reply-To: <20181110230744.GN2378@kib.kiev.ua> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 15CAC791DC X-Spamd-Result: default: False [-4.14 / 200.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[madpilot.net]; RCVD_COUNT_THREE(0.00)[4]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MX_GOOD(-0.01)[cached: eddie.gfratio.it]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_SHORT(-0.90)[-0.898,0]; IP_SCORE(-0.94)[ipnet: 159.69.0.0/16(-1.67), asn: 24940(-3.00), country: DE(-0.02)]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:24940, ipnet:159.69.0.0/16, country:DE]; MID_RHS_MATCH_FROM(0.00)[]; RECEIVED_SPAMHAUS_PBL(0.00)[109.128.16.87.zen.spamhaus.org : 127.0.0.10] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Nov 2018 10:10:18 -0000 On 11/11/18 00:07, Konstantin Belousov wrote: > On Sat, Nov 10, 2018 at 05:27:09PM +0100, Guido Falsi wrote: >> On 10/11/18 13:08, Guido Falsi wrote: >>> I'll to bisect things, but it will be a slow process. >> >> I narrowed it down to r339895. > I somehow doubt that this is the case. > I did not mean to accuse you. Instead thanks for this reply and the suggestions. Really appreciated. I simply found out that removing that commit from my sources gives me a stable system and reported such finding. I understand that the actual cause could be an interaction with other code and am ready to review my findings. > If you take post-r339895 kernel and start e.g. 11.2-RELEASE userspace > (untar the installation into jail to avoid reinstallation), does it > still demonstrate the behaviour ? > > Also try to run pre-r339895 with the 12.0 userspace from e.g. 12.0-BETA4 > builds. I'll perform such tests. Please allow me some time to report back what I get. > >> >> My impression is that the other conditions not moved inside the ifunc >> also play a role so such optimization is not possible on all systems. >> >>> >>> I have put dmesg and pciconf output here in case it could be useful: >>> >>> https://people.freebsd.org/~madpilot/boot_fail/ > This is haswell, right ? It is exactly the same micro-arch as the machine > where I tested this series of changes. According to Intel website and Wikipedia this is an Ivy Bridge: https://ark.intel.com/products/65509 I don't know if this makes any difference at all, though. -- Guido Falsi From owner-freebsd-current@freebsd.org Sun Nov 11 10:46:46 2018 Return-Path: Delivered-To: freebsd-current@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 4F7291134694; Sun, 11 Nov 2018 10:46:46 +0000 (UTC) (envelope-from se@freebsd.org) Received: from mailout05.t-online.de (mailout05.t-online.de [194.25.134.82]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mailout00.t-online.de", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 3C66B7A74A; Sun, 11 Nov 2018 10:46:45 +0000 (UTC) (envelope-from se@freebsd.org) Received: from fwd38.aul.t-online.de (fwd38.aul.t-online.de [172.20.26.138]) by mailout05.t-online.de (Postfix) with SMTP id 5EDB642330AB; Sun, 11 Nov 2018 11:46:36 +0100 (CET) Received: from Stefans-MBP-WLAN.fritz.box (E1pID6ZGZhzQ12dvDik9AYzxkt9mdm-zg12gPgHftz2zUaqCAq+KLap0jXfluMYgaE@[80.128.111.25]) by fwd38.t-online.de with (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384 encrypted) esmtp id 1gLnGD-0CA06S0; Sun, 11 Nov 2018 11:46:33 +0100 Subject: Re: ctm(1) deprecation in the FreeBSD base system? To: Warner Losh , "Rodney W. Grimes" Cc: "Julian H. Stacey" , "Montgomery-Smith, Stephen" , ctm-users@freebsd.org, Poul-Henning Kamp , FreeBSD Current , Ed Maste References: <201810231948.w9NJmYlC078288@fire.js.berklix.net> <201810232013.w9NKDOQC023342@pdx.rh.CN85.dnsmgr.net> From: Stefan Esser Openpgp: preference=signencrypt Autocrypt: addr=se@freebsd.org; prefer-encrypt=mutual; keydata= xsBNBFVxiRIBCADOLNOZBsqlplHUQ3tG782FNtVT33rQli9EjNt2fhFERHIo4NxHlWBpHLnU b0s4L/eItx7au0i7Gegv01A9LUMwOnAc9EFAm4EW3Wmoa6MYrcP7xDClohg/Y69f7SNpEs3x YATBy+L6NzWZbJjZXD4vqPgZSDuMcLU7BEdJf0f+6h1BJPnGuwHpsSdnnMrZeIM8xQ8PPUVQ L0GZkVojHgNUngJH6e21qDrud0BkdiBcij0M3TCP4GQrJ/YMdurfc8mhueLpwGR2U1W8TYB7 4UY+NLw0McThOCLCxXflIeF/Y7jSB0zxzvb/H3LWkodUTkV57yX9IbUAGA5RKRg9zsUtABEB AAHNKVN0ZWZhbiBFw59lciAoWWFob28hKSA8c3QuZXNzZXJAeWFob28uZGU+wsCWBBMBCgBA AhsDBwsJCAcDAgEGFQgCCQoLBBYCAwECHgECF4AWIQSjceplnAvsyCtxUxNH67XvWv31RAUC WvLvqwUJCyUBEwAKCRBH67XvWv31REySCACc6vqcSFQCRyBRc2CV5ZBjbbnTy7VBoXbUS3/c 4Hn8I0YQ39q7//2z8vYsgLeM1mMXL4PUIU/0f0dBAFBLpxV7bntGzyCJls6SeGS/qcQKhqaI 6I7NcWg8OkIJIhUL6q238cS1ql9pU65fyHe0PP8JS08m81PDpX2/4wTE6h2jgYUy55eXRzoF MEjr1S8SSnidsBem27o7iWu9ltJsUtE86071iZlLzbuHv2nvucrjAV9cK9tHrxYT/YiY8QhT L48iWj2xIjLjg1ebmgIFZ2k881we/KTIoUugqOOR1gDSc4qwM8CA388cN3frjtl98CwhAT5T UV8tIDqri+/Z1AKwzsBNBFVxiRIBCACxI/aglzGVbnI6XHd0MTP05VK/fJub4hHdc+LQpz1M kVnCAhFbY9oecTB/togdKtfiloavjbFrb0nJhJnx57K+3SdSuu+znaQ4SlWiZOtXnkbpRWNU eMm+gtTDMSvloGAfr76RtFHskdDOLgXsHD70bKuMhlBxUCrSwGzHaD00q8iQPhJZ5itb3WPq z3B4IjiDAWTO2obD1wtAvSuHuUj/XJRsiKDKW3x13cfavkad81bZW4cpNwUv8XHLv/vaZPSA ly+hkY7NrDZydMMXVNQ7AJQufWuTJ0q7sImRcEZ5EIa98esJPey4O7C0vY405wjeyxpVZkpq ThDMurqtQFn1ABEBAAHCwHwEGAEKACYCGwwWIQSjceplnAvsyCtxUxNH67XvWv31RAUCWvLv qwUJCyUBGQAKCRBH67XvWv31RLnrB/9gzcRlpx71sDMosoZULWn7wysBJ/8AIEfIByRaHQe3 pn/KwE57pB+zFbbQqB7YzeZb7/UUgR4zU2ZbOcEfwDZcHUbj0B3fGRsS3t0uiLlAd8w0sBZb SxrqzjdpDjIbOZkxssqUmvrsN67UG1AFWH9aD24keBS7YjPBS8hLxPeYV+Xz6vUL8fRZje/Z JgiBMIwyj6g2lH/zkdnxBdC0iG1xxJOLTaghMMeQyCdH6ef8+VMyAlAJsMckbOTvx63tY8z7 DFcrnTJfbe1EziRilVsEaK8tTzJzhcTfos+f3eBYWEilxe5HzIhYKJeC7lmsSUcGwa6+9VRg a0ctmi9Z8OgX Message-ID: Date: Sun, 11 Nov 2018 11:46:32 +0100 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:60.0) Gecko/20100101 Thunderbird/60.3.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252 Content-Language: en-US Content-Transfer-Encoding: 8bit X-ID: E1pID6ZGZhzQ12dvDik9AYzxkt9mdm-zg12gPgHftz2zUaqCAq+KLap0jXfluMYgaE X-TOI-MSGID: 367e937b-2d71-4c5f-91c5-66fb98b6dcd9 X-Rspamd-Queue-Id: 3C66B7A74A X-Spamd-Result: default: False [-102.92 / 200.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; ALLOW_DOMAIN_WHITELIST(-100.00)[freebsd.org]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; RWL_MAILSPIKE_GOOD(0.00)[82.134.25.194.rep.mailspike.net : 127.0.0.18]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; SUBJECT_ENDS_QUESTION(1.00)[]; DMARC_NA(0.00)[freebsd.org]; R_SPF_SOFTFAIL(0.00)[~all]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MX_GOOD(-0.01)[cached: mx66.freebsd.org]; NEURAL_HAM_SHORT(-0.99)[-0.990,0]; RCPT_COUNT_SEVEN(0.00)[8]; RCVD_IN_DNSWL_NONE(0.00)[82.134.25.194.list.dnswl.org : 127.0.5.0]; IP_SCORE(-0.82)[ipnet: 194.25.0.0/16(-3.65), asn: 3320(-0.43), country: DE(-0.02)]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:3320, ipnet:194.25.0.0/16, country:DE]; MID_RHS_MATCH_FROM(0.00)[] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Nov 2018 10:46:46 -0000 Am 23.10.18 um 22:21 schrieb Warner Losh: > On Tue, Oct 23, 2018 at 2:13 PM Rodney W. Grimes> At the most/least we should not go very far, > the only thing that needs done soon is a gonein(13) commited > to head and MFC'ed to stable/12 by thursday. > > All the other details should wait until a depreication policy > revision is completed that includes how to deal with this. > > There's no reason at all to wait. We can create the port. We can create the > github repo. We can move the history there. We won't  be removing it before we > have a chance to socialize the removal and give people a chance to cut over. > None of this requires a new policy. Everybody agrees we should do it. We > shouldn't let some perceived policy get in the way of just moving forward. I have created a review for the removal of CTM on phabricator: https://reviews.freebsd.org/D17935 The goal of this review is not to get approval for the removal within a few days, but to have all relevant changes documented and open for review. Since the removal affects ObsoleteFiles, there is some churn if another entry is added before approval, but it is easy enough to deal with it ... I'd still appreciate comments and a suggestion when to perform the removal. I could add a gonein(13) now, to give further attention to the depreciation of CTM, in the mean-time. Regards, STefan From owner-freebsd-current@freebsd.org Sun Nov 11 12:45:33 2018 Return-Path: Delivered-To: freebsd-current@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 DCA81110384D for ; Sun, 11 Nov 2018 12:45:33 +0000 (UTC) (envelope-from mueller6722@twc.com) Received: from dnvrco-cmomta02.email.rr.com (dnvrco-outbound-snat.email.rr.com [107.14.73.231]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "Client", Issuer "CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id B58807F489 for ; Sun, 11 Nov 2018 12:45:31 +0000 (UTC) (envelope-from mueller6722@twc.com) Received: from localhost ([96.28.161.151]) by cmsmtp with ESMTP id Lp7Bgeq58XEleLp7EgRU1z; Sun, 11 Nov 2018 12:45:24 +0000 Date: Sun, 11 Nov 2018 12:42:59 +0000 From: "Thomas Mueller" To: freebsd-current@freebsd.org Subject: Graphics open-source-friendliness, AMD Ryzen vs. Intel X-CMAE-Envelope: MS4wfCI3FrpUz/ULJubG2xBMhBZyzC2dQLnxyzsDpVLN0A02zFWZlUMpB7Ue7XXEEZBxXad0h0xp29x5Wu1DZ6G93Z+dPS4eiaVhu22Yi9g5sifXgTrwpCZy ULIlYEWckId6PdhTEiduJKe3aZX+e4jWaQX2sNcmIHxzpdU7WfrhAYqW X-Rspamd-Queue-Id: B58807F489 X-Spamd-Result: default: False [4.63 / 200.00]; ARC_NA(0.00)[]; SUBJECT_ENDS_SPACES(0.50)[]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:107.14.73.0/24]; FREEMAIL_FROM(0.00)[twc.com]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; DMARC_NA(0.00)[twc.com]; NEURAL_SPAM_MEDIUM(0.99)[0.994,0]; RCPT_COUNT_ONE(0.00)[1]; MISSING_MID(2.50)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MX_GOOD(-0.01)[dnvrco-cmedge02.email.rr.com,dnvrco-cmedge01.email.rr.com]; NEURAL_SPAM_LONG(0.99)[0.986,0]; RCVD_IN_DNSWL_NONE(0.00)[231.73.14.107.list.dnswl.org : 127.0.5.0]; NEURAL_HAM_SHORT(-0.02)[-0.017,0]; RCVD_TLS_LAST(0.00)[]; RECEIVED_SPAMHAUS_PBL(0.00)[151.161.28.96.zen.spamhaus.org : 127.0.0.10]; R_DKIM_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[twc.com]; ASN(0.00)[asn:7843, ipnet:107.14.73.0/24, country:US]; RCVD_COUNT_TWO(0.00)[2]; IP_SCORE(-0.02)[country: US(-0.09)]; FROM_EQ_ENVFROM(0.00)[] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Nov 2018 12:45:34 -0000 I may need to buy parts for a new computer because of malfunctions on current motherboard and CPU (Intel Sandy Bridge dating to May 2011). Question is whether I am better off, regarding open-source-friendliness of graphics chips for running Xorg, with AMD Ryzen or the newer Intel chipsets. I know to avoid NVIDIA. I am inclined to run FreeBSD-current and build Xorg from FreeBSD ports. When I boot into UEFI setup, I see the CPU temperature is or quickly goes to 97 C and stays there. I tried replacing the thermal paste and installing a new case fan to replace one that had quit, but CPU temperature still shows and stays at 97 C. Now I have a replacement Arctic Cooler heatsink and fan on order to replace the original Intel heatsink and fan whose connectors were damaged in taking out and struggling to get back in. Currently, I boot into UEFI Setup, but after a couple minutes, the computer powers off and then tries to power back on, then off again a few seconds later, until I end the loop by turning off the power supply switch. I can guess CPU overheating. I could transplant the current hard drive (Seagate NAS 4 TB) to get a quicker start software-wise. Tom From owner-freebsd-current@freebsd.org Sun Nov 11 17:55:22 2018 Return-Path: Delivered-To: freebsd-current@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 7B89A110CAF9 for ; Sun, 11 Nov 2018 17:55:22 +0000 (UTC) (envelope-from greg@unrelenting.technology) Received: from out.migadu.com (out.migadu.com [91.121.223.63]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.migadu.com", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 0BA318A90F for ; Sun, 11 Nov 2018 17:55:20 +0000 (UTC) (envelope-from greg@unrelenting.technology) Received: (Migadu outbound); Sun, 11 Nov 2018 17:54:07 +0000 Authentication-Results: out.migadu.com; auth=pass (plain) Received: from [192.168.1.141] ([62.122.208.146]) by out.migadu.com (Haraka/2.8.16) with ESMTPSA id 2E767161-9663-439A-8966-066D4D98CF9D.1 envelope-from (authenticated bits=0) (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 verify=FAIL); Sun, 11 Nov 2018 17:54:07 +0000 Date: Sun, 11 Nov 2018 20:54:07 +0300 From: Greg V Subject: Re: Graphics open-source-friendliness, AMD Ryzen vs. Intel To: Thomas Mueller Cc: freebsd-current@freebsd.org Message-Id: <1541958847.1699.1@smtp.migadu.com> In-Reply-To: <188F89D2-16A1-4483-AD38-CD346C1BBE0D.1@aspmx1.migadu.com> References: <188F89D2-16A1-4483-AD38-CD346C1BBE0D.1@aspmx1.migadu.com> X-Mailer: geary/0.12.4 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed DKIM-Signature: v=1; a=rsa-sha256; bh=z9uZAvfzmqcNPgXiGIilooOiwiTsT+rdSwIAUS8w0+E=; c=relaxed/simple; d=unrelenting.technology; h=from:subject:date:to; s=default; b=Xp5FLje/hInA+4Vv+7D1Qe8sFlzrHI3JLJq1e6v62HrNZUuaYK9lMc6LXiyI9HgGCL+j6R7u7lvEIhvRFQJybq6tRO5k1HT5wCKhBS0TdFfyC3oxV2PjSxF2qiNaKEEVwBBSRctW2AlUdIQoPHK9vxYAViJDl4kGWH805KodVAA= X-Rspamd-Queue-Id: 0BA318A90F X-Spamd-Result: default: False [-2.63 / 200.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[unrelenting.technology]; NEURAL_HAM_MEDIUM(-0.97)[-0.971,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:91.121.223.63]; NEURAL_HAM_LONG(-0.97)[-0.967,0]; MIME_GOOD(-0.10)[text/plain]; NEURAL_SPAM_SHORT(0.10)[0.103,0]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[unrelenting.technology:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[unrelenting.technology,none]; MX_GOOD(-0.01)[aspmx1.migadu.com,aspmx2.migadu.com]; FREEMAIL_TO(0.00)[twc.com]; FROM_EQ_ENVFROM(0.00)[]; IP_SCORE(0.21)[ipnet: 91.121.0.0/16(1.39), asn: 16276(-0.30), country: FR(-0.02)]; ASN(0.00)[asn:16276, ipnet:91.121.0.0/16, country:FR]; RCVD_TLS_ALL(0.00)[] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Nov 2018 17:55:22 -0000 On Sun, Nov 11, 2018 at 3:42 PM, Thomas Mueller wrote: > I may need to buy parts for a new computer because of malfunctions on > current motherboard and CPU (Intel Sandy Bridge dating to May 2011). > > Question is whether I am better off, regarding > open-source-friendliness of graphics chips for running Xorg, with AMD > Ryzen or the newer Intel chipsets. I know to avoid NVIDIA. Both are great for open source friendliness in general. Onboard Vega GPUs on the Ryzen APUs should work fine on FreeBSD with kms-drm 4.16. If you're looking for high performance though, don't get an APU, get an 8-core (R7 2700X/2700/1700X/1700) and a discrete GPU (Radeon RX 550/560/570/580 depending on how much you care about graphics performance). > I am inclined to run FreeBSD-current and build Xorg from FreeBSD > ports. > > When I boot into UEFI setup, I see the CPU temperature is or quickly > goes to 97 C and stays there. > > I tried replacing the thermal paste and installing a new case fan to > replace one that had quit, but CPU temperature still shows and stays > at 97 C. > > Now I have a replacement Arctic Cooler heatsink and fan on order to > replace the original Intel heatsink and fan whose connectors were > damaged in taking out and struggling to get back in. > > Currently, I boot into UEFI Setup, but after a couple minutes, the > computer powers off and then tries to power back on, then off again a > few seconds later, until I end the loop by turning off the power > supply switch. I can guess CPU overheating. Yeah, a new CPU cooler should help. > I could transplant the current hard drive (Seagate NAS 4 TB) to get a > quicker start software-wise. An SSD might provide a quicker start too ;) From owner-freebsd-current@freebsd.org Sun Nov 11 18:55:41 2018 Return-Path: Delivered-To: freebsd-current@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 5EBCA110F567 for ; Sun, 11 Nov 2018 18:55:41 +0000 (UTC) (envelope-from allanjude@freebsd.org) Received: from mx1.scaleengine.net (mx1.scaleengine.net [209.51.186.6]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id AE9138F69C for ; Sun, 11 Nov 2018 18:55:40 +0000 (UTC) (envelope-from allanjude@freebsd.org) Received: from [10.1.1.2] (Seawolf.HML3.ScaleEngine.net [209.51.186.28]) (Authenticated sender: allanjude.freebsd@scaleengine.com) by mx1.scaleengine.net (Postfix) with ESMTPSA id E735B19F5A for ; Sun, 11 Nov 2018 18:55:33 +0000 (UTC) Subject: Re: Graphics open-source-friendliness, AMD Ryzen vs. Intel To: freebsd-current@freebsd.org References: <188F89D2-16A1-4483-AD38-CD346C1BBE0D.1@aspmx1.migadu.com> <1541958847.1699.1@smtp.migadu.com> From: Allan Jude Openpgp: preference=signencrypt Autocrypt: addr=allanjude@freebsd.org; prefer-encrypt=mutual; keydata= xsFNBFVwZcYBEADwrZDH0xe0ZVjc9ORCc6PcBLwS/RTXA6NkvpD6ea02pZ8lPOVgteuuugFc D34LdDbiWr+479vfrKBh+Y38GL0oZ0/13j10tIlDMHSa5BU0y6ACtnhupFvVlQ57+XaJAb/q 7qkfSiuxVwQ3FY3PL3cl1RrIP5eGHLA9hu4eVbu+FOX/q/XVKz49HaeIaxzo2Q54572VzIo6 C28McX9m65UL5fXMUGJDDLCItLmehZlHsQQ+uBxvODLFpVV2lUgDR/0rDa0B9zHZX8jY8qQ7 ZdCSy7CwClXI054CkXZCaBzgxYh/CotdI8ezmaw7NLs5vWNTxaDEFXaFMQtMVhvqQBpHkfOD 7rjjOmFw00nJL4FuPE5Yut0CPyx8vLjVmNJSt/Y8WxxmhutsqJYFgYfWl/vaWkrFLur/Zcmz IklwLw35HLsCZytCN5A3rGKdRbQjD6QPXOTJu0JPrJF6t2xFkWAT7oxnSV0ELhl2g+JfMMz2 Z1PDmS3NRnyEdqEm7NoRGXJJ7bgxDbN+9SXTyOletqGNXj/bSrBvhvZ0RQrzdHAPwQUfVSU2 qBhQEi2apSZstgVNMan0GUPqCdbE2zpys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E/z7K12CCcs7WwOjfCYHK7VtE0Sr/PfybBdTbuDncOuAyAIeIKxdI2nmQHzl035hhvQX s4CSghsP319jAOQiIolCeSbTMD4QWMK8RL/Pe1FI1jC3Nw9s+jq8Dudtbcj2UwAP/STUEbJ9 5rznzuuhPjE0e++EU/RpWmcaIMK/z1zZDMN+ce2v1qzgV936ZhJ3iaVzyqbEE81gDxg3P+IM kiYh4ZtPB4Q= Message-ID: Date: Sun, 11 Nov 2018 13:55:26 -0500 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.3.0 MIME-Version: 1.0 In-Reply-To: <1541958847.1699.1@smtp.migadu.com> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="lZlid2X2YBkuocrawNsWYyaEkl07ha2n8" X-Rspamd-Queue-Id: AE9138F69C X-Spamd-Result: default: False [-108.89 / 200.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; ALLOW_DOMAIN_WHITELIST(-100.00)[freebsd.org]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; TO_MATCH_ENVRCPT_ALL(0.00)[]; HAS_ATTACHMENT(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; TO_DN_NONE(0.00)[]; R_SPF_SOFTFAIL(0.00)[~all]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.20)[multipart/signed,multipart/mixed,text/plain]; DMARC_NA(0.00)[freebsd.org]; MX_GOOD(-0.01)[cached: mx66.freebsd.org]; NEURAL_HAM_SHORT(-1.00)[-1.000,0]; SIGNED_PGP(-2.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; IP_SCORE(-3.68)[ip: (-9.85), ipnet: 209.51.160.0/19(-4.93), asn: 6939(-3.54), country: US(-0.09)]; ASN(0.00)[asn:6939, ipnet:209.51.160.0/19, country:US]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; TO_DOM_EQ_FROM_DOM(0.00)[] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Nov 2018 18:55:41 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --lZlid2X2YBkuocrawNsWYyaEkl07ha2n8 Content-Type: multipart/mixed; boundary="spw3jgHouFxB2agiLCchnKzeYILGS8RdR"; protected-headers="v1" From: Allan Jude To: freebsd-current@freebsd.org Message-ID: Subject: Re: Graphics open-source-friendliness, AMD Ryzen vs. Intel References: <188F89D2-16A1-4483-AD38-CD346C1BBE0D.1@aspmx1.migadu.com> <1541958847.1699.1@smtp.migadu.com> In-Reply-To: <1541958847.1699.1@smtp.migadu.com> --spw3jgHouFxB2agiLCchnKzeYILGS8RdR Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable On 2018-11-11 12:54, Greg V wrote: >=20 >=20 > On Sun, Nov 11, 2018 at 3:42 PM, Thomas Mueller > wrote: >> I may need to buy parts for a new computer because of malfunctions on >> current motherboard and CPU (Intel Sandy Bridge dating to May 2011). >> >> Question is whether I am better off, regarding >> open-source-friendliness of graphics chips for running Xorg, with AMD >> Ryzen or the newer Intel chipsets.=C2=A0 I know to avoid NVIDIA. >=20 My FreeBSD workstation use an nVidia Quadro K1200 and it works very well under FreeBSD with the nVidia kernel driver from ports. > Both are great for open source friendliness in general. >=20 > Onboard Vega GPUs on the Ryzen APUs should work fine on FreeBSD with > kms-drm 4.16. >=20 > If you're looking for high performance though, don't get an APU, get an= > 8-core (R7 2700X/2700/1700X/1700) and a discrete GPU (Radeon RX > 550/560/570/580 depending on how much you care about graphics performan= ce). >=20 >> I am inclined to run FreeBSD-current and build Xorg from FreeBSD ports= =2E >> >> When I boot into UEFI setup, I see the CPU temperature is or quickly >> goes to 97 C and stays there. >> >> I tried replacing the thermal paste and installing a new case fan to >> replace one that had quit, but CPU temperature still shows and stays >> at 97 C. >> >> Now I have a replacement Arctic Cooler heatsink and fan on order to >> replace the original Intel heatsink and fan whose connectors were >> damaged in taking out and struggling to get back in. >> >> Currently, I boot into UEFI Setup, but after a couple minutes, the >> computer powers off and then tries to power back on, then off again a >> few seconds later, until I end the loop by turning off the power >> supply switch.=C2=A0 I can guess CPU overheating. >=20 > Yeah, a new CPU cooler should help. >=20 >> I could transplant the current hard drive (Seagate NAS 4 TB) to get a >> quicker start software-wise. >=20 > An SSD might provide a quicker start too ;) >=20 > _______________________________________________ > freebsd-current@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.o= rg" --=20 Allan Jude --spw3jgHouFxB2agiLCchnKzeYILGS8RdR-- --lZlid2X2YBkuocrawNsWYyaEkl07ha2n8 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (MingW32) iQIcBAEBAgAGBQJb6HslAAoJEBmVNT4SmAt+RpwP/jMMw3UuXwbYm/OxaApmzRgH t5RFFYYZpGLPYprXCyS4ItrFo8LzvL7BUL3TCaer5jxgZdR8GOS5ts3agVBQW+IQ tVf/7b1nMUtLh3eOSqhrS/jQduBe4TIEvRTBRqHHgdy6hb22ZO8HMm9PJGEMs1Ol 4QMYDMW02d2MSa7CPmmgOvQhJnLG5SY2zfejM2z6r4X4WiiTPLAmu9IFwvMFmeDZ jHrakCAW2WRjg+NkeiFLTfa7VyEXp7Zh8QAOPCPh6QiQcd41AqEq4ZbW/E1sBuEL SV6rSCw4gV15eQm/0G//14zmQwPKHlhu16vfA7pYQDxcHztMFdnJeeOC2jzThMYc oWJMrn34Ju7cjYQjXppCmbh4Q/B5Ox9Xrcax1eUL99knEM80fW7l0wVVGWL1rRuy 8joevewkvX1JsnPUcC/7J/MSN05G74cXlEcrv5dEZ+4qbNsfgFRkL5rkA/yyXoWp e6JjxAwtrI5SxPB4Cu5iITI4+ODxSw8kR/G/NgfVEEtHHxaHmq76jF6WilXqEEOE 28MyRsvBMSaBsHKeDOaHNribaTAoKptYzPwYssaoVJc6Ul2MimqI2UYcascTEJbn ZAts0MA4ZoeJ8yimecyZR30NwjOZ+MBB5LOEFLi1u9/9QAQVpt3DBJbH9aNHqYxP 1RgIgs3thpJZU3BAT3Ca =iFze -----END PGP SIGNATURE----- --lZlid2X2YBkuocrawNsWYyaEkl07ha2n8-- From owner-freebsd-current@freebsd.org Sun Nov 11 19:44:40 2018 Return-Path: Delivered-To: freebsd-current@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 7EC571121F4C for ; Sun, 11 Nov 2018 19:44:40 +0000 (UTC) (envelope-from mad@madpilot.net) Received: from mail.madpilot.net (vogon.madpilot.net [159.69.1.99]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 88FD56ACE5 for ; Sun, 11 Nov 2018 19:44:33 +0000 (UTC) (envelope-from mad@madpilot.net) Received: from mail (mail [192.168.254.3]) by mail.madpilot.net (Postfix) with ESMTP id 42tPV21TNKz6dPN; Sun, 11 Nov 2018 20:44:26 +0100 (CET) Received: from mail.madpilot.net ([192.168.254.3]) by mail (mail.madpilot.net [192.168.254.3]) (amavisd-new, port 10024) with ESMTP id WQkspBGBoHfI; Sun, 11 Nov 2018 20:44:24 +0100 (CET) Received: from tommy.madpilot.net (host109-128-dynamic.16-87-r.retail.telecomitalia.it [87.16.128.109]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.madpilot.net (Postfix) with ESMTPSA; Sun, 11 Nov 2018 20:44:24 +0100 (CET) Subject: Re: 13.0 failing to boot multiuser on one PC due to system utilities crashing during rc scipt From: Guido Falsi To: Konstantin Belousov Cc: freebsd-current@freebsd.org References: <62bdb5ff-4d68-cf52-4dd5-f0a3cfa1c788@madpilot.net> <791e3488-b838-5cfd-8dca-8db8c74167a0@madpilot.net> <20181110230744.GN2378@kib.kiev.ua> <5176caee-126f-2709-d09a-0dcf5190e319@madpilot.net> Openpgp: preference=signencrypt Autocrypt: addr=mad@madpilot.net; prefer-encrypt=mutual; keydata= xsBNBE+G+l0BCADi/WBQ0aRJfnE7LBPsM0G3m/m3Yx7OPu4iYFvS84xawmRHtCNjWIntsxuX fptkmEo3Rsw816WUrek8dxoUAYdHd+EcpBcnnDzfDH5LW/TZ4gbrFezrHPdRp7wdxi23GN80 qPwHEwXuF0X4Wy5V0OO8B6VT/nA0ADYnBDhXS52HGIJ/GCUjgqJn+phDTdCFLvrSFdmgx4Wl c0W5Z1p5cmDF9l8L/hc959AeyNf7I9dXnjekGM9gVv7UDUYzCifR3U8T0fnfdMmS8NeI9NC+ wuREpRO4lKOkTnj9TtQJRiptlhcHQiAlG1cFqs7EQo57Tqq6cxD1FycZJLuC32bGbgalABEB AAHNHkd1aWRvIEZhbHNpIDxtYWRAbWFkcGlsb3QubmV0PsLAeQQTAQgAIwIbAwIeAQIXgAUL CQgHAwUVCgkICwQWAgMBBQJS79AgAhkBAAoJEBrmhg5Wy9KTc0kH/RO64ORBlTbTHaUaOj8F Je5O5NU2Pt9Cyt5ZWBRvxntr1zPTJGKRPS9ihlIfqT4ZvEngQGp57EUyFbCpI0UWasTerImM tt5WACnGmCzUTB39UXx8Oy4b1EgWeTJQ747e/F1mQLXTNa6ijRBE9fYlTb4gAkPN88/wVV9v 3PZozKLTg16ghBzHM/P7Lk8L7clPEZChX1FTa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wy0K0BI60A/4dRTIX3C4QKrJ3ZbUXegz70ynjHf+lQMZ 9IZKASoRMuS5FozPQh6abvmwZEPdf5I9riUElzvHrqJ8Bx0t3Pujdoth+yNHpnBxrtO8LkQd rQ58P0SwcaIX33T2U9pG8bhu5YVR88FQ8OQ0cEsPBpDncg== Message-ID: Date: Sun, 11 Nov 2018 20:44:24 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.3.0 MIME-Version: 1.0 In-Reply-To: <5176caee-126f-2709-d09a-0dcf5190e319@madpilot.net> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 88FD56ACE5 X-Spamd-Result: default: False [-6.18 / 200.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[madpilot.net]; RCVD_COUNT_THREE(0.00)[4]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MX_GOOD(-0.01)[eddie.gfratio.it,vogon.madpilot.net]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_SHORT(-0.98)[-0.983,0]; IP_SCORE(-2.89)[ip: (-9.53), ipnet: 159.69.0.0/16(-1.92), asn: 24940(-2.97), country: DE(-0.01)]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:24940, ipnet:159.69.0.0/16, country:DE]; MID_RHS_MATCH_FROM(0.00)[]; RECEIVED_SPAMHAUS_PBL(0.00)[109.128.16.87.zen.spamhaus.org : 127.0.0.10] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Nov 2018 19:44:40 -0000 On 11/11/18 11:10, Guido Falsi wrote: > On 11/11/18 00:07, Konstantin Belousov wrote: >> On Sat, Nov 10, 2018 at 05:27:09PM +0100, Guido Falsi wrote: >>> On 10/11/18 13:08, Guido Falsi wrote: >>>> I'll to bisect things, but it will be a slow process. >>> >>> I narrowed it down to r339895. >> I somehow doubt that this is the case. >> > > I did not mean to accuse you. Instead thanks for this reply and the > suggestions. Really appreciated. > > I simply found out that removing that commit from my sources gives me a > stable system and reported such finding. > > I understand that the actual cause could be an interaction with other > code and am ready to review my findings. > >> If you take post-r339895 kernel and start e.g. 11.2-RELEASE userspace >> (untar the installation into jail to avoid reinstallation), does it >> still demonstrate the behaviour ? >> >> Also try to run pre-r339895 with the 12.0 userspace from e.g. 12.0-BETA4 >> builds. > > I'll perform such tests. Please allow me some time to report back what I > get. I performed these tests. I downloaded the 12.0-BETA4 and 11.2 installation images and replaced the kernels in there. This was faster than working with jails on a crippled system. r339895 kernel on 11.2-RELEASE causes fsck (launched by rc) to dump core and this stops the boot procedure. r339894 kernel on 12.0-BETA4 works fine. -- Guido Falsi From owner-freebsd-current@freebsd.org Sun Nov 11 21:14:50 2018 Return-Path: Delivered-To: freebsd-current@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 AFE21112564B for ; Sun, 11 Nov 2018 21:14:50 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from kib.kiev.ua (kib.kiev.ua [IPv6:2001:470:d5e7:1::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C3F296EDDF for ; Sun, 11 Nov 2018 21:14:49 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from tom.home (kib@localhost [127.0.0.1]) by kib.kiev.ua (8.15.2/8.15.2) with ESMTPS id wABLEYLu024442 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Sun, 11 Nov 2018 23:14:37 +0200 (EET) (envelope-from kostikbel@gmail.com) DKIM-Filter: OpenDKIM Filter v2.10.3 kib.kiev.ua wABLEYLu024442 Received: (from kostik@localhost) by tom.home (8.15.2/8.15.2/Submit) id wABLEYW0024441; Sun, 11 Nov 2018 23:14:34 +0200 (EET) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: tom.home: kostik set sender to kostikbel@gmail.com using -f Date: Sun, 11 Nov 2018 23:14:34 +0200 From: Konstantin Belousov To: Guido Falsi Cc: freebsd-current@freebsd.org Subject: Re: 13.0 failing to boot multiuser on one PC due to system utilities crashing during rc scipt Message-ID: <20181111211434.GS2378@kib.kiev.ua> References: <62bdb5ff-4d68-cf52-4dd5-f0a3cfa1c788@madpilot.net> <791e3488-b838-5cfd-8dca-8db8c74167a0@madpilot.net> <20181110230744.GN2378@kib.kiev.ua> <5176caee-126f-2709-d09a-0dcf5190e319@madpilot.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,BAYES_00, DKIM_ADSP_CUSTOM_MED,FORGED_GMAIL_RCVD,FREEMAIL_FROM, NML_ADSP_CUSTOM_MED autolearn=no autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on tom.home X-Rspamd-Queue-Id: C3F296EDDF X-Spamd-Result: default: False [-4.91 / 200.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; HAS_XAW(0.00)[]; R_SPF_SOFTFAIL(0.00)[~all]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_SHORT(-0.98)[-0.976,0]; IP_SCORE(-1.92)[ip: (-1.50), ipnet: 2001:470::/32(-4.47), asn: 6939(-3.54), country: US(-0.09)]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:6939, ipnet:2001:470::/32, country:US]; RCVD_TLS_LAST(0.00)[]; DMARC_POLICY_SOFTFAIL(0.10)[gmail.com : No valid SPF, No valid DKIM,none] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Nov 2018 21:14:51 -0000 On Sun, Nov 11, 2018 at 08:44:24PM +0100, Guido Falsi wrote: > On 11/11/18 11:10, Guido Falsi wrote: > > On 11/11/18 00:07, Konstantin Belousov wrote: > >> On Sat, Nov 10, 2018 at 05:27:09PM +0100, Guido Falsi wrote: > >>> On 10/11/18 13:08, Guido Falsi wrote: > >>>> I'll to bisect things, but it will be a slow process. > >>> > >>> I narrowed it down to r339895. > >> I somehow doubt that this is the case. > >> > > > > I did not mean to accuse you. Instead thanks for this reply and the > > suggestions. Really appreciated. > > > > I simply found out that removing that commit from my sources gives me a > > stable system and reported such finding. > > > > I understand that the actual cause could be an interaction with other > > code and am ready to review my findings. > > > >> If you take post-r339895 kernel and start e.g. 11.2-RELEASE userspace > >> (untar the installation into jail to avoid reinstallation), does it > >> still demonstrate the behaviour ? > >> > >> Also try to run pre-r339895 with the 12.0 userspace from e.g. 12.0-BETA4 > >> builds. > > > > I'll perform such tests. Please allow me some time to report back what I > > get. > > I performed these tests. I downloaded the 12.0-BETA4 and 11.2 > installation images and replaced the kernels in there. This was faster > than working with jails on a crippled system. > > r339895 kernel on 11.2-RELEASE causes fsck (launched by rc) to dump core > and this stops the boot procedure. > > r339894 kernel on 12.0-BETA4 works fine. Ok, let try to find some reason. - When you build your kernels, you do not use any cpu-specific optimization flags, do you ? More, you follow the standard build procedure and your make.conf and src.conf are empty, right ? - Do you preload a microcode update from the loader ? - Show the output of sysctl vm.pmap. - Show verbose dmesg from the boot of the problematic kernel. You posted non-verbose dmesg for 12.0-BETA4. - Enter ddb, when booted the problematic kernel. Do db> x/x cpu_stdext_feature db> x/x cpu_stdext_feature+4 - From the same ddb session, disassemble e.g. cpu_set_user_tls(). You could paste me whole disassembling, but really I want to know the single line with the call to set_pcb_flagsXXXX, it should be either set_pcb_flags_raw or set_pcb_flags_fsgsbase. To disassemble in ddb, do db> x/i cpu_set_user_tls and then press more to get next and next instructions. (I want the disassembly from ddb and not from gdb/kgdb). - Try the following patch. diff --git a/sys/amd64/amd64/machdep.c b/sys/amd64/amd64/machdep.c index 6e36ae97523..8dafd4b4756 100644 --- a/sys/amd64/amd64/machdep.c +++ b/sys/amd64/amd64/machdep.c @@ -2627,8 +2627,8 @@ set_pcb_flags_raw(struct pcb *pcb, const u_int flags) * the PCB_FULL_IRET flag is set. We disable interrupts to sync with * context switches. */ -static void -set_pcb_flags_fsgsbase(struct pcb *pcb, const u_int flags) +void +set_pcb_flags(struct pcb *pcb, const u_int flags) { register_t r; @@ -2649,13 +2649,6 @@ set_pcb_flags_fsgsbase(struct pcb *pcb, const u_int flags) } } -DEFINE_IFUNC(, void, set_pcb_flags, (struct pcb *, const u_int), static) -{ - - return ((cpu_stdext_feature & CPUID_STDEXT_FSGSBASE) != 0 ? - set_pcb_flags_fsgsbase : set_pcb_flags_raw); -} - void clear_pcb_flags(struct pcb *pcb, const u_int flags) { From owner-freebsd-current@freebsd.org Sun Nov 11 22:46:19 2018 Return-Path: Delivered-To: freebsd-current@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 DBEC71127E6F for ; Sun, 11 Nov 2018 22:46:18 +0000 (UTC) (envelope-from johalun0@gmail.com) Received: from mail-wr1-x432.google.com (mail-wr1-x432.google.com [IPv6:2a00:1450:4864:20::432]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 22A5D7223B; Sun, 11 Nov 2018 22:46:18 +0000 (UTC) (envelope-from johalun0@gmail.com) Received: by mail-wr1-x432.google.com with SMTP id v18-v6so7318219wrt.8; Sun, 11 Nov 2018 14:46:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=H3UyyLjnGojSzTJ3i9DLMeMRhjwDhNJ1x3AHCPezRnU=; b=qxxK2poOULvYWsn5EL0kE+PIQ8WIMBz3rIW8qB930Rz74P0rVGzz/wTahMaPYSlJ0n ALb7O3HcQLikyqu575FQ2yuycz9XeMt7fvzJ2dfB+7ZCiBN/IO4YqnU7PlLuJZVBKkzH 7bASoKR4iNsB3m0etNGdVSI2BciyLJToD6tHlWV0fNalDR1NAEW+cnHEC1uTeRDPL4Az J/CfCr6WynredfRvkRW/B218p9MByVE51xXtkuUIB3E702DiCtNLlVB8h7PYPQqoQVxl 8KQkMq68lns9xshkw9ZpLXlekaXrRbb8hpY9fghrAQOWXHcx4M7C16I7anABCwEozD5p iM0w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=H3UyyLjnGojSzTJ3i9DLMeMRhjwDhNJ1x3AHCPezRnU=; b=DaZTFPbWTD5MKu3RI66bCDWAxsiFPMYaXd6CBy9bbJKB5CnrKDutO04j1OWUXiky8l iaUZKrVvMU/gTcQ/gE83laBT87fuzG0xwIHNeQiGcnla3z5FgbD5U69KuWqmDYw3YGd3 91jIhyHUAt2bXDlX0oM3netqkVSBFBER5OZDG+ek5U5pRutR6e/7cw1JB8UYaZtzm0xk 5Y95JkONLBDTOWelEyX6ThEG/o+NvKQmHk9xOz9aw3www9S7gkh7IXjmSN7ioR1k0k71 vtYJ2OaIunBmpCZ+n1wukxOVaAlA4g4CIXxpJnUlDUaU/K3LL/8ReWOGfrPVVPJMZ6ZO fGjA== X-Gm-Message-State: AGRZ1gJ+LEW17+DAas/w+E509B+R/w9r1+9eC+BKjuCuXDwIVrKVN7/x n8DrAkiWa+P99FIxov6KoMZOM1JGBNIct+C6zOy1aQ== X-Google-Smtp-Source: AJdET5eH3P+r53v9UGVEL2dtATKlr/UmVmesJDfYeXp9TQq0WWOQl7gBvgRP6Kqpk5n2bckAmV082NMcJk3XMGgS3Xo= X-Received: by 2002:adf:9bd6:: with SMTP id e22-v6mr14166341wrc.295.1541976376479; Sun, 11 Nov 2018 14:46:16 -0800 (PST) MIME-Version: 1.0 References: <188F89D2-16A1-4483-AD38-CD346C1BBE0D.1@aspmx1.migadu.com> <1541958847.1699.1@smtp.migadu.com> In-Reply-To: From: Johannes Lundberg Date: Sun, 11 Nov 2018 22:46:05 +0000 Message-ID: Subject: Re: Graphics open-source-friendliness, AMD Ryzen vs. Intel To: Allan Jude Cc: freebsd-current@freebsd.org X-Rspamd-Queue-Id: 22A5D7223B X-Spamd-Result: default: False [-4.80 / 200.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; R_DKIM_ALLOW(-0.20)[gmail.com]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-0.999,0]; IP_SCORE(-0.80)[ipnet: 2a00:1450::/32(-2.01), asn: 15169(-1.92), country: US(-0.09)]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; RCVD_IN_DNSWL_NONE(0.00)[2.3.4.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.5.4.1.0.0.a.2.list.dnswl.org : 127.0.5.0]; NEURAL_HAM_SHORT(-0.99)[-0.990,0]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; RCVD_COUNT_TWO(0.00)[2] X-Rspamd-Server: mx1.freebsd.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Nov 2018 22:46:19 -0000 I have an AMD Ryzen 3 2200G (with Vega graphics) and it panics all the time with references to various memory access errors (use after free among other). Ubuntu is also unstable on this machine but Windows 10 works well after a windows update (I had to reinstall the previous motherboard with older cpu to be able to run Windows update without crash...) >From my experience, stay away from this CPU. On Sun, Nov 11, 2018 at 18:57 Allan Jude wrote: > On 2018-11-11 12:54, Greg V wrote: > > > > > > On Sun, Nov 11, 2018 at 3:42 PM, Thomas Mueller > > wrote: > >> I may need to buy parts for a new computer because of malfunctions on > >> current motherboard and CPU (Intel Sandy Bridge dating to May 2011). > >> > >> Question is whether I am better off, regarding > >> open-source-friendliness of graphics chips for running Xorg, with AMD > >> Ryzen or the newer Intel chipsets. I know to avoid NVIDIA. > > > > My FreeBSD workstation use an nVidia Quadro K1200 and it works very well > under FreeBSD with the nVidia kernel driver from ports. > > > Both are great for open source friendliness in general. > > > > Onboard Vega GPUs on the Ryzen APUs should work fine on FreeBSD with > > kms-drm 4.16. > > > > If you're looking for high performance though, don't get an APU, get an > > 8-core (R7 2700X/2700/1700X/1700) and a discrete GPU (Radeon RX > > 550/560/570/580 depending on how much you care about graphics > performance). > > > >> I am inclined to run FreeBSD-current and build Xorg from FreeBSD ports. > >> > >> When I boot into UEFI setup, I see the CPU temperature is or quickly > >> goes to 97 C and stays there. > >> > >> I tried replacing the thermal paste and installing a new case fan to > >> replace one that had quit, but CPU temperature still shows and stays > >> at 97 C. > >> > >> Now I have a replacement Arctic Cooler heatsink and fan on order to > >> replace the original Intel heatsink and fan whose connectors were > >> damaged in taking out and struggling to get back in. > >> > >> Currently, I boot into UEFI Setup, but after a couple minutes, the > >> computer powers off and then tries to power back on, then off again a > >> few seconds later, until I end the loop by turning off the power > >> supply switch. I can guess CPU overheating. > > > > Yeah, a new CPU cooler should help. > > > >> I could transplant the current hard drive (Seagate NAS 4 TB) to get a > >> quicker start software-wise. > > > > An SSD might provide a quicker start too ;) > > > > _______________________________________________ > > freebsd-current@freebsd.org mailing list > > https://lists.freebsd.org/mailman/listinfo/freebsd-current > > To unsubscribe, send any mail to " > freebsd-current-unsubscribe@freebsd.org" > > > -- > Allan Jude > > From owner-freebsd-current@freebsd.org Mon Nov 12 02:04:13 2018 Return-Path: Delivered-To: freebsd-current@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 DD075112D26A for ; Mon, 12 Nov 2018 02:04:12 +0000 (UTC) (envelope-from dieterich.joh@gmail.com) Received: from mail-vs1-xe36.google.com (mail-vs1-xe36.google.com [IPv6:2607:f8b0:4864:20::e36]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id DE0F079170; Mon, 12 Nov 2018 02:04:10 +0000 (UTC) (envelope-from dieterich.joh@gmail.com) Received: by mail-vs1-xe36.google.com with SMTP id x64so4210348vsa.5; Sun, 11 Nov 2018 18:04:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=dI6ypm6bbZdoSamBSVmDHiEZVFgACvExb0mPhLgbocE=; b=un/ub7Mg4Io7/pSp/k9yQGe6spVF6ZuUNgznzRMTRPTrCyGy2DrSKFlSUgcnOlwNrB BrHUk4aixnkClQi7oWPvqub+5yUKXyI6DBu+EKwSlsPru2v9qpXVhVyFlG43PC8OgUMq XW7FZ4t/hoCKp/8cDc1EfZmfwsxNpWL3sFte1o01TaCXm7UT5l5mEtPPVN6hSanyGkc1 rgDGCOJrMPaHJB9TCexI7/GAOuDSmK1UH0PoZhSoLqNOKPT2rD/fzOiO1rWE2CUPRvaS OFQUcZPh9SaXEFVRQap24IsL17BI4YQJDnsiDTCm47Jleq6O1LXal3FXksIFBYxJ7qgm sijQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=dI6ypm6bbZdoSamBSVmDHiEZVFgACvExb0mPhLgbocE=; b=S+0TBtK1qUlDZfxnwXRDKbAD0aDFDF3Ew7XbqqKWRyndlYcbF8qm2H7q47BOUu31We O1hC+c+NfT9Ncz4Sgfu6ZOS/OM7p9YFNfUCQrR4qSSsBHEK+hex7HRhol+3GjpToIrfz kxbItEpIihK0eqI/vrCpjyr0EV7m3WzrD21sJLs/Fffs5QzFSSxld9zyfcrRKHAm0SQz PrflnOm1/d0A6bD9flLoE26WU7EAyQjuhrtOr+J03x70HYhdtxGmhbgmYo1nOCe33YG5 6W8iiSaSBM3bFTwwNUSgUN4/n9gmADKIPL6TrceS/qdqqJ0AdCksz808HOarNL7KDhca pVLQ== X-Gm-Message-State: AGRZ1gLxRTfqpU/yvuJKO3wijPJfdo7vWk+I1H+R4Dmc96OhxdcAHIk3 3AFCkF4ir5rqM5Fb/9dEdA414Mr6ovS0olDxplvj1A== X-Google-Smtp-Source: AJdET5dlCegPMiPzqrbXwcFeQs4Vx3UXoZ8VJwAp0AvQ+6a+3eBSyZrZn1m8nwEsChDUximl1/wMzTu+8OTR2p8hK80= X-Received: by 2002:a67:2584:: with SMTP id l126mr7511551vsl.153.1541988250391; Sun, 11 Nov 2018 18:04:10 -0800 (PST) MIME-Version: 1.0 References: <188F89D2-16A1-4483-AD38-CD346C1BBE0D.1@aspmx1.migadu.com> <1541958847.1699.1@smtp.migadu.com> In-Reply-To: From: Johannes Dieterich Date: Sun, 11 Nov 2018 20:03:54 -0600 Message-ID: Subject: Re: Graphics open-source-friendliness, AMD Ryzen vs. Intel To: johalun0@gmail.com Cc: Allan Jude , freebsd-current Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: DE0F079170 X-Spamd-Result: default: False [-4.85 / 200.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; R_DKIM_ALLOW(-0.20)[gmail.com]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; MIME_GOOD(-0.10)[text/plain]; IP_SCORE(-0.97)[ipnet: 2607:f8b0::/32(-2.82), asn: 15169(-1.92), country: US(-0.09)]; NEURAL_HAM_LONG(-1.00)[-0.999,0]; TO_DN_SOME(0.00)[]; NEURAL_HAM_SHORT(-0.87)[-0.871,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RCVD_IN_DNSWL_NONE(0.00)[6.3.e.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; TAGGED_FROM(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Nov 2018 02:04:13 -0000 On Sun, Nov 11, 2018 at 4:48 PM Johannes Lundberg wrote: > > I have an AMD Ryzen 3 2200G (with Vega graphics) and it panics all the time > with references to various memory access errors (use after free among > other). > > Ubuntu is also unstable on this machine but Windows 10 works well after a > windows update (I had to reinstall the previous motherboard with older cpu > to be able to run Windows update without crash...) > > From my experience, stay away from this CPU. To put this a little into perspective: the R3 2200G is part of the most recent AMD APU generation and contains the most recent Vega graphics IP ("Vega 8"). It was officially released only in February of this year. The most recent DRM in ports is 4.16, which itself was released only in April. Problems with the 2200G on "older" Linux releases are unfortunately well known. However, kernel 4.18 with latest firmwares and BIOSs is documented to be stable on this platform (see phoronix, Ubuntu 18.10 "benchmark"). Johannes > On Sun, Nov 11, 2018 at 18:57 Allan Jude wrote: > > > On 2018-11-11 12:54, Greg V wrote: > > > > > > > > > On Sun, Nov 11, 2018 at 3:42 PM, Thomas Mueller > > > wrote: > > >> I may need to buy parts for a new computer because of malfunctions on > > >> current motherboard and CPU (Intel Sandy Bridge dating to May 2011). > > >> > > >> Question is whether I am better off, regarding > > >> open-source-friendliness of graphics chips for running Xorg, with AMD > > >> Ryzen or the newer Intel chipsets. I know to avoid NVIDIA. > > > > > > > My FreeBSD workstation use an nVidia Quadro K1200 and it works very well > > under FreeBSD with the nVidia kernel driver from ports. > > > > > Both are great for open source friendliness in general. > > > > > > Onboard Vega GPUs on the Ryzen APUs should work fine on FreeBSD with > > > kms-drm 4.16. > > > > > > If you're looking for high performance though, don't get an APU, get an > > > 8-core (R7 2700X/2700/1700X/1700) and a discrete GPU (Radeon RX > > > 550/560/570/580 depending on how much you care about graphics > > performance). > > > > > >> I am inclined to run FreeBSD-current and build Xorg from FreeBSD ports. > > >> > > >> When I boot into UEFI setup, I see the CPU temperature is or quickly > > >> goes to 97 C and stays there. > > >> > > >> I tried replacing the thermal paste and installing a new case fan to > > >> replace one that had quit, but CPU temperature still shows and stays > > >> at 97 C. > > >> > > >> Now I have a replacement Arctic Cooler heatsink and fan on order to > > >> replace the original Intel heatsink and fan whose connectors were > > >> damaged in taking out and struggling to get back in. > > >> > > >> Currently, I boot into UEFI Setup, but after a couple minutes, the > > >> computer powers off and then tries to power back on, then off again a > > >> few seconds later, until I end the loop by turning off the power > > >> supply switch. I can guess CPU overheating. > > > > > > Yeah, a new CPU cooler should help. > > > > > >> I could transplant the current hard drive (Seagate NAS 4 TB) to get a > > >> quicker start software-wise. > > > > > > An SSD might provide a quicker start too ;) > > > > > > _______________________________________________ > > > freebsd-current@freebsd.org mailing list > > > https://lists.freebsd.org/mailman/listinfo/freebsd-current > > > To unsubscribe, send any mail to " > > freebsd-current-unsubscribe@freebsd.org" > > > > > > -- > > Allan Jude > > > > > _______________________________________________ > freebsd-current@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" From owner-freebsd-current@freebsd.org Mon Nov 12 02:50:57 2018 Return-Path: Delivered-To: freebsd-current@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 A7ED0112E349 for ; Mon, 12 Nov 2018 02:50:57 +0000 (UTC) (envelope-from deischen@freebsd.org) Received: from mail.netplex.net (mail.netplex.net [204.213.176.9]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.netplex.net", Issuer "RapidSSL RSA CA 2018" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 1D8467A480; Mon, 12 Nov 2018 02:50:57 +0000 (UTC) (envelope-from deischen@freebsd.org) Received: from [10.0.0.54] (ip-414b102e.ct.fixed.ntplx.com [65.75.16.46]) (authenticated bits=0) by mail.netplex.net (8.15.1/8.15.1/NETPLEX) with ESMTPSA id wAC2nhms038539 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sun, 11 Nov 2018 21:49:43 -0500 X-Virus-Scanned: by AMaViS and Clam AntiVirus (mail.netplex.net) X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.4.3 (mail.netplex.net [204.213.176.9]); Sun, 11 Nov 2018 21:49:43 -0500 (EST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (1.0) Subject: Re: Graphics open-source-friendliness, AMD Ryzen vs. Intel From: Daniel Eischen X-Mailer: iPhone Mail (16B92) In-Reply-To: Date: Sun, 11 Nov 2018 21:49:43 -0500 Cc: johalun0@gmail.com, Allan Jude , freebsd-current Content-Transfer-Encoding: quoted-printable Message-Id: References: <188F89D2-16A1-4483-AD38-CD346C1BBE0D.1@aspmx1.migadu.com> <1541958847.1699.1@smtp.migadu.com> To: Johannes Dieterich X-Rspamd-Queue-Id: 1D8467A480 X-Spamd-Result: default: False [-102.60 / 200.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; ALLOW_DOMAIN_WHITELIST(-100.00)[freebsd.org]; RCVD_TLS_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; MV_CASE(0.50)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; TAGGED_RCPT(0.00)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[freebsd.org]; R_SPF_SOFTFAIL(0.00)[~all]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MX_GOOD(-0.01)[cached: mx66.freebsd.org]; NEURAL_HAM_SHORT(-0.97)[-0.974,0]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; IP_SCORE(-0.02)[country: US(-0.09)]; ASN(0.00)[asn:6062, ipnet:204.213.176.0/20, country:US]; FREEMAIL_CC(0.00)[gmail.com]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Nov 2018 02:50:57 -0000 >> On Nov 11, 2018, at 9:03 PM, Johannes Dieterich = wrote: >>=20 >> On Sun, Nov 11, 2018 at 4:48 PM Johannes Lundberg wr= ote: >>=20 >> I have an AMD Ryzen 3 2200G (with Vega graphics) and it panics all the ti= me >> with references to various memory access errors (use after free among >> other). >>=20 >> Ubuntu is also unstable on this machine but Windows 10 works well after a= >> windows update (I had to reinstall the previous motherboard with older cp= u >> to be able to run Windows update without crash...) >>=20 >> =46rom my experience, stay away from this CPU. > To put this a little into perspective: the R3 2200G is part of the > most recent AMD APU generation and contains the most recent Vega > graphics IP ("Vega 8"). It was officially released only in February of > this year. The most recent DRM in ports is 4.16, which itself was > released only in April. Problems with the 2200G on "older" Linux > releases are unfortunately well known. However, kernel 4.18 with > latest firmwares and BIOSs is documented to be stable on this platform > (see phoronix, Ubuntu 18.10 "benchmark"). >=20 > Johannes Even the 2400G (Ryzen 5) released around the same time as the 2200G is extre= mely stable for me (13-current), except for DRM (for which I have to use the= VESA radeonkms driver as the amdgpu doesn't yet seem to support the 2400G g= raphics). I've done several buildworlds and more than a few poudriere runs b= uilding 1100+ ports, it never seems to break a sweat, the CPU and heat sink a= re still cool to the touch. -- DE= From owner-freebsd-current@freebsd.org Mon Nov 12 07:36:51 2018 Return-Path: Delivered-To: freebsd-current@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 0573C11332EA for ; Mon, 12 Nov 2018 07:36:51 +0000 (UTC) (envelope-from aliovx@gmail.com) Received: from mail-wm1-x331.google.com (mail-wm1-x331.google.com [IPv6:2a00:1450:4864:20::331]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 25C0B8254A for ; Mon, 12 Nov 2018 07:36:50 +0000 (UTC) (envelope-from aliovx@gmail.com) Received: by mail-wm1-x331.google.com with SMTP id t15-v6so7121243wmt.0 for ; Sun, 11 Nov 2018 23:36:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=wnN7vYB70Yh0Eim3QlcbioSFIBbJXHbMojcMUoTvpHk=; b=V6HgKvK+nN28y+qaKUJmtgjImwhUawLtHkHnjOK9qpomaHJWCKG11WjZHxDtIZEOju vDE9k7hXcUmbHoM4ljTYJ2B0iI2qSNbyQ4PJ6FQpb+sMbLiD6ra/iJj+xf61g0koo8DJ sZNhnRZ40Ma+/I9pwZDeqId88yAvlPlMJcaRuRRUvvsRIZbf/A8+YKUAyf92P5mJLRCW 3ovlrfreyZYinb7EcInR3iXU/CL2awVQR1gXa6atBPnhDU50nWcO+QBpDjS88hSNWoAl bx4zStQkdplRin9CQNet+pWANfprTT+yNWZZjh5nfpIJt+h/2GnFxxJFzV3PC5Wa4XC4 u+UQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=wnN7vYB70Yh0Eim3QlcbioSFIBbJXHbMojcMUoTvpHk=; b=q8NFUAaEMfYwhxDDKZV9TWqaHa6omvp+wdkCZ72mFa909/XrofMf1iGVBc+u1/Wo/n OQaNlYPCSCexbeCPsT1o6nfqeieEkgb6fdWsWBV1nvpTZiGU+QID67QF36vf0EmRc+8h VHghbbJJZ5fUEvm3zkOUp85LKhs82Kan5et8SRqWeX9lQFaMcIBNL4zXho71pe8TQVTg JXNsvOyk9BErNjMW0vD0qrdbsI/wPjO4s7uACkaZ9rV6ZW91/IU4BL4gQoqZ9wG8wuNZ R4VduVDAwKKV2dJwK6423zK1hXE1Aurikn/WSsO7tEvT3BxMkKlrpRuREsvSgjC1lFhf dJ3A== X-Gm-Message-State: AGRZ1gK+Y+8T46fQKqYaQ9AojuhtxF8xtSbrdu/LU/0d+Pz9C8ylWC4h I8AzGuqi5Zkwpc8MHIPWFy4zn60jaYsPldrOrM63Q13R X-Google-Smtp-Source: AJdET5dUhM3fMAtvwGd4+NNpDOpLDewFN5XpyRVPuWWjHZV7R6pv28UBq0XsqdREOmGaa2Hvk/WCsmxsMHprEU3PNH4= X-Received: by 2002:a1c:7ec9:: with SMTP id z192-v6mr7259086wmc.43.1542008208898; Sun, 11 Nov 2018 23:36:48 -0800 (PST) MIME-Version: 1.0 From: Ali Abdallah Date: Mon, 12 Nov 2018 08:36:37 +0100 Message-ID: Subject: No battery detected due to _STA method removal To: freebsd-current X-Rspamd-Queue-Id: 25C0B8254A X-Spamd-Result: default: False [-4.69 / 200.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; RCPT_COUNT_ONE(0.00)[1]; IP_SCORE(-0.81)[ipnet: 2a00:1450::/32(-2.01), asn: 15169(-1.97), country: US(-0.09)]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RCVD_IN_DNSWL_NONE(0.00)[1.3.3.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.5.4.1.0.0.a.2.list.dnswl.org : 127.0.5.0]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_SHORT(-0.87)[-0.867,0]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; RCVD_COUNT_TWO(0.00)[2] X-Rspamd-Server: mx1.freebsd.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Nov 2018 07:36:51 -0000 Hello, I hope the fix for the bug below will be committed before FreeBSD 12 is released. https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227191 Cheers, Ali From owner-freebsd-current@freebsd.org Mon Nov 12 08:22:33 2018 Return-Path: Delivered-To: freebsd-current@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 0E6C71133FF6 for ; Mon, 12 Nov 2018 08:22:33 +0000 (UTC) (envelope-from johalun0@gmail.com) Received: from mail-wr1-x430.google.com (mail-wr1-x430.google.com [IPv6:2a00:1450:4864:20::430]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 27F7D837EF; Mon, 12 Nov 2018 08:22:32 +0000 (UTC) (envelope-from johalun0@gmail.com) Received: by mail-wr1-x430.google.com with SMTP id j17-v6so8207673wrq.11; Mon, 12 Nov 2018 00:22:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=QEjbxMUV6RVuaVVAjNfWr++4oGwuC9QgeWPd1od8ilY=; b=eN9nq5aT5ur/Cm+0Efq8dHxt5FN05uW9oJZZ/I9v3jfFHohGfUoPum5HuxJElyuyb+ KPV+u2mHoO6junPxdqI3+MlHk1taTn2Vy76eBWURgevpgwvkKbWEZcy0G9vSx8+K1HI2 ol7GJr0vAB/6InbCgpC4QUcHqcNwhVr0FKFdXhTcl6BNoZrBMoyzMYSYIn830tdWsWBC FNcWU+n+7ZtL39ce6bB/WxQP4bmdivTmQQkvb76H8eYmkStcb2XlqzlELu/fTiDCdwv9 yUosrK9MefpzEfpGchmw1sx+GhiW/SVvcZrVpR6kwWuSvMYljLfeZvzkm6pX7akESKew hgQw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=QEjbxMUV6RVuaVVAjNfWr++4oGwuC9QgeWPd1od8ilY=; b=inYaauhRW0NT8KbVojCdK1hNHefhJr3PsbkOQ/ohhu0euln3DQIB9Qq1qW8APXsD4P +5ivfy5yJVtT3OAw3GfQt+L57Hsd4A1cAcq7GARQXm3tguxXFQPiLhmGoYYWLeYcArZt dwM0xaRwsS2NJv8uK44oL7qlXHS2/RfYq7Zjx2aQ5ILhYbElJq+eYBf6XAz8SuWvRoBh OwLFZ7jpHfn1aamNw4Xcmpa32Kp1nWhT/WC5W9tcuWYeSMVXmTuEWC7Q4vcEQkRHSF99 Iop41uVzj15OhXVlGiA+RiMDuXO1ccpzkFGXUkneRrNJlykR3t3Y7fYjq6ol8b59Ical Utzg== X-Gm-Message-State: AGRZ1gKc5MbW1VrQAVRZ0Of6v2kYba6rQaFLCsP6EN6lyiiYVp7krvK8 9XgpVs7ntaYKUeo8HRlhwps8Egq5TUZq7+e3uSU= X-Google-Smtp-Source: AJdET5cKzUm/EnuDuIrRCNnKn99QgdmQxPlb9SrS1khXldAh5qZSEgrDxZpFNcPKY8UKjiasT17SmRe5d+j1lYX01BU= X-Received: by 2002:a5d:6204:: with SMTP id y4-v6mr6010wru.105.1542010950812; Mon, 12 Nov 2018 00:22:30 -0800 (PST) MIME-Version: 1.0 References: <188F89D2-16A1-4483-AD38-CD346C1BBE0D.1@aspmx1.migadu.com> <1541958847.1699.1@smtp.migadu.com> In-Reply-To: From: Johannes Lundberg Date: Mon, 12 Nov 2018 08:21:53 +0000 Message-ID: Subject: Re: Graphics open-source-friendliness, AMD Ryzen vs. Intel To: dieterich.joh@gmail.com Cc: Allan Jude , freebsd-current X-Rspamd-Queue-Id: 27F7D837EF X-Spamd-Result: default: False [-4.78 / 200.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; TAGGED_RCPT(0.00)[]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; NEURAL_HAM_LONG(-1.00)[-0.999,0]; TO_DN_SOME(0.00)[]; NEURAL_HAM_SHORT(-0.96)[-0.961,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RCVD_IN_DNSWL_NONE(0.00)[0.3.4.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.5.4.1.0.0.a.2.list.dnswl.org : 127.0.5.0]; IP_SCORE(-0.81)[ipnet: 2a00:1450::/32(-2.02), asn: 15169(-1.96), country: US(-0.09)]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; RCVD_COUNT_TWO(0.00)[2] X-Rspamd-Server: mx1.freebsd.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Nov 2018 08:22:33 -0000 On Mon, Nov 12, 2018 at 2:04 AM Johannes Dieterich wrote: > On Sun, Nov 11, 2018 at 4:48 PM Johannes Lundberg > wrote: > > > > I have an AMD Ryzen 3 2200G (with Vega graphics) and it panics all the > time > > with references to various memory access errors (use after free among > > other). > > > > Ubuntu is also unstable on this machine but Windows 10 works well after a > > windows update (I had to reinstall the previous motherboard with older > cpu > > to be able to run Windows update without crash...) > > > > From my experience, stay away from this CPU. > To put this a little into perspective: the R3 2200G is part of the > most recent AMD APU generation and contains the most recent Vega > graphics IP ("Vega 8"). It was officially released only in February of > this year. The most recent DRM in ports is 4.16, which itself was > released only in April. Problems with the 2200G on "older" Linux > releases are unfortunately well known. However, kernel 4.18 with > latest firmwares and BIOSs is documented to be stable on this platform > (see phoronix, Ubuntu 18.10 "benchmark"). > This is not related to graphics. It's just generally very unstable. I could reproduce zfs uma related panics by scp'ing files to this machine. Often I get panics in very early boot as well. I have all the latest HEAD, ports and microcode updates... Either it's just too soon to run FreeBSD on this CPU (which is why I don't recommend it yet) or, I have a bad CPU and/or memory (but given that Windows 10 runs fine this seems unlikely)... Configuration: ASRock A320M-HDV QUMOX 4GB DDR4 2133 2133MHz PC4-17000 PC-17000 (288 PIN) DIMM MEMORY 4GB AMD YD2200C5FBBOX Ryzen 3 2200G CPU with Wraith Stealth Cooler and RX Vega Graphics > Johannes > > > On Sun, Nov 11, 2018 at 18:57 Allan Jude wrote: > > > > > On 2018-11-11 12:54, Greg V wrote: > > > > > > > > > > > > On Sun, Nov 11, 2018 at 3:42 PM, Thomas Mueller > > > > > wrote: > > > >> I may need to buy parts for a new computer because of malfunctions > on > > > >> current motherboard and CPU (Intel Sandy Bridge dating to May 2011). > > > >> > > > >> Question is whether I am better off, regarding > > > >> open-source-friendliness of graphics chips for running Xorg, with > AMD > > > >> Ryzen or the newer Intel chipsets. I know to avoid NVIDIA. > > > > > > > > > > My FreeBSD workstation use an nVidia Quadro K1200 and it works very > well > > > under FreeBSD with the nVidia kernel driver from ports. > > > > > > > Both are great for open source friendliness in general. > > > > > > > > Onboard Vega GPUs on the Ryzen APUs should work fine on FreeBSD with > > > > kms-drm 4.16. > > > > > > > > If you're looking for high performance though, don't get an APU, get > an > > > > 8-core (R7 2700X/2700/1700X/1700) and a discrete GPU (Radeon RX > > > > 550/560/570/580 depending on how much you care about graphics > > > performance). > > > > > > > >> I am inclined to run FreeBSD-current and build Xorg from FreeBSD > ports. > > > >> > > > >> When I boot into UEFI setup, I see the CPU temperature is or quickly > > > >> goes to 97 C and stays there. > > > >> > > > >> I tried replacing the thermal paste and installing a new case fan to > > > >> replace one that had quit, but CPU temperature still shows and stays > > > >> at 97 C. > > > >> > > > >> Now I have a replacement Arctic Cooler heatsink and fan on order to > > > >> replace the original Intel heatsink and fan whose connectors were > > > >> damaged in taking out and struggling to get back in. > > > >> > > > >> Currently, I boot into UEFI Setup, but after a couple minutes, the > > > >> computer powers off and then tries to power back on, then off again > a > > > >> few seconds later, until I end the loop by turning off the power > > > >> supply switch. I can guess CPU overheating. > > > > > > > > Yeah, a new CPU cooler should help. > > > > > > > >> I could transplant the current hard drive (Seagate NAS 4 TB) to get > a > > > >> quicker start software-wise. > > > > > > > > An SSD might provide a quicker start too ;) > > > > > > > > _______________________________________________ > > > > freebsd-current@freebsd.org mailing list > > > > https://lists.freebsd.org/mailman/listinfo/freebsd-current > > > > To unsubscribe, send any mail to " > > > freebsd-current-unsubscribe@freebsd.org" > > > > > > > > > -- > > > Allan Jude > > > > > > > > _______________________________________________ > > freebsd-current@freebsd.org mailing list > > https://lists.freebsd.org/mailman/listinfo/freebsd-current > > To unsubscribe, send any mail to " > freebsd-current-unsubscribe@freebsd.org" > From owner-freebsd-current@freebsd.org Mon Nov 12 10:52:30 2018 Return-Path: Delivered-To: freebsd-current@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 232BB1102764 for ; Mon, 12 Nov 2018 10:52:30 +0000 (UTC) (envelope-from mad@madpilot.net) Received: from mail.madpilot.net (vogon.madpilot.net [159.69.1.99]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 39BFD6A67A for ; Mon, 12 Nov 2018 10:52:29 +0000 (UTC) (envelope-from mad@madpilot.net) Received: from mail (mail [192.168.254.3]) by mail.madpilot.net (Postfix) with ESMTP id 42tndl5vMDz6dPN; Mon, 12 Nov 2018 11:52:27 +0100 (CET) Received: from mail.madpilot.net ([192.168.254.3]) by mail (mail.madpilot.net [192.168.254.3]) (amavisd-new, port 10024) with ESMTP id iieaC1rHejat; Mon, 12 Nov 2018 11:52:25 +0100 (CET) Received: from marvin.madpilot.net (host109-128-dynamic.16-87-r.retail.telecomitalia.it [87.16.128.109]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.madpilot.net (Postfix) with ESMTPSA; Mon, 12 Nov 2018 11:52:25 +0100 (CET) Subject: Re: 13.0 failing to boot multiuser on one PC due to system utilities crashing during rc scipt To: Konstantin Belousov Cc: freebsd-current@freebsd.org References: <62bdb5ff-4d68-cf52-4dd5-f0a3cfa1c788@madpilot.net> <791e3488-b838-5cfd-8dca-8db8c74167a0@madpilot.net> <20181110230744.GN2378@kib.kiev.ua> <5176caee-126f-2709-d09a-0dcf5190e319@madpilot.net> <20181111211434.GS2378@kib.kiev.ua> From: Guido Falsi Openpgp: preference=signencrypt Autocrypt: addr=mad@madpilot.net; prefer-encrypt=mutual; keydata= xsBNBE+G+l0BCADi/WBQ0aRJfnE7LBPsM0G3m/m3Yx7OPu4iYFvS84xawmRHtCNjWIntsxuX fptkmEo3Rsw816WUrek8dxoUAYdHd+EcpBcnnDzfDH5LW/TZ4gbrFezrHPdRp7wdxi23GN80 qPwHEwXuF0X4Wy5V0OO8B6VT/nA0ADYnBDhXS52HGIJ/GCUjgqJn+phDTdCFLvrSFdmgx4Wl c0W5Z1p5cmDF9l8L/hc959AeyNf7I9dXnjekGM9gVv7UDUYzCifR3U8T0fnfdMmS8NeI9NC+ wuREpRO4lKOkTnj9TtQJRiptlhcHQiAlG1cFqs7EQo57Tqq6c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FAD/lXGlEUmKXg5Ov2VQDlTntQoanCYrAg +8CttPzjrydgLZFq3hrtQmfc0se5yv1WHS69+BsUOG09RvvawUDZxUjW19kyeN9THaNRgow3 kSuArUp6zSmJABEBAAHCwF8EGAEIAAkFAlMQe0ECGwwACgkQGuaGDlbL0pMN5wgA4bCkX/qw EVC06ToeR6C2putmSWQMgpDaqrv65Hubo+QGmg2P4ewTYQQ4g6oYWS03qHxqVVWhKz7FjfrV +dH8qbCLfSgIcvdBha7ayGZVrsiuMLKGbw36fcmkZPpSDOfHcP0XH8Z+u9CWj0xUkTxAlZ/7 i6gYSUpG2JWNtdmE/X8VVEyXusCLwy0K0BI60A/4dRTIX3C4QKrJ3ZbUXegz70ynjHf+lQMZ 9IZKASoRMuS5FozPQh6abvmwZEPdf5I9riUElzvHrqJ8Bx0t3Pujdoth+yNHpnBxrtO8LkQd rQ58P0SwcaIX33T2U9pG8bhu5YVR88FQ8OQ0cEsPBpDncg== Message-ID: Date: Mon, 12 Nov 2018 11:52:25 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.3.0 MIME-Version: 1.0 In-Reply-To: <20181111211434.GS2378@kib.kiev.ua> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 39BFD6A67A X-Spamd-Result: default: False [-6.16 / 200.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[madpilot.net]; RCVD_COUNT_THREE(0.00)[4]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MX_GOOD(-0.01)[cached: eddie.gfratio.it]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_SHORT(-0.92)[-0.924,0]; IP_SCORE(-2.92)[ip: (-9.53), ipnet: 159.69.0.0/16(-2.15), asn: 24940(-2.92), country: DE(-0.01)]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:24940, ipnet:159.69.0.0/16, country:DE]; MID_RHS_MATCH_FROM(0.00)[]; RECEIVED_SPAMHAUS_PBL(0.00)[109.128.16.87.zen.spamhaus.org : 127.0.0.10] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Nov 2018 10:52:30 -0000 On 11/11/18 22:14, Konstantin Belousov wrote: > On Sun, Nov 11, 2018 at 08:44:24PM +0100, Guido Falsi wrote: >> On 11/11/18 11:10, Guido Falsi wrote: >>> On 11/11/18 00:07, Konstantin Belousov wrote: >> I performed these tests. I downloaded the 12.0-BETA4 and 11.2 >> installation images and replaced the kernels in there. This was faster >> than working with jails on a crippled system. >> >> r339895 kernel on 11.2-RELEASE causes fsck (launched by rc) to dump core >> and this stops the boot procedure. >> >> r339894 kernel on 12.0-BETA4 works fine. > > Ok, let try to find some reason. The requested files are accessible here: https://www.madpilot.net/cloud/s/Q9DAGrntnneomSs > > - When you build your kernels, you do not use any cpu-specific optimization > flags, do you ? More, you follow the standard build procedure and your > make.conf and src.conf are empty, right ? At the start I did have some optimizations, but I disabled them all. I'm building with 'make -j buildkernel'. I usually enable META_MODE, but I also disabled that and even wiped out the contents of /usr/obj multiple times to make sure I was getting a clean build. > - Do you preload a microcode update from the loader ? At present no, I load it later via rc scripts. This is something I want to test though, I'll report later if it changes anything. > - Show the output of sysctl vm.pmap. > - Show verbose dmesg from the boot of the problematic kernel. > You posted non-verbose dmesg for 12.0-BETA4. Posted at the link above. > - Enter ddb, when booted the problematic kernel. Do > db> x/x cpu_stdext_feature cpu_stdext_feature: 281 > db> x/x cpu_stdext_feature+4 cpu_stdext_feature2: 0 > - From the same ddb session, disassemble e.g. cpu_set_user_tls(). > You could paste me whole disassembling, but really I want to know > the single line with the call to set_pcb_flagsXXXX, it should be > either set_pcb_flags_raw or set_pcb_flags_fsgsbase. To disassemble > in ddb, do > db> x/i cpu_set_user_tls > and then press more to get next and next instructions. > (I want the disassembly from ddb and not from gdb/kgdb). cpu_set_user_tls+0x2d: call set_pcb_flags_raw The full ddb session capture is posted at the link above. > - Try the following patch. > The patch does produce a working kernel. In fact I'm running that kernel now. I've also added the broken kernel with it's kernel.debug file as a txz archive in the URL posted above. Hope this helps. Thanks for your time and effort! -- Guido Falsi From owner-freebsd-current@freebsd.org Mon Nov 12 14:34:05 2018 Return-Path: Delivered-To: freebsd-current@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 DF1461107710 for ; Mon, 12 Nov 2018 14:34:05 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from kib.kiev.ua (kib.kiev.ua [IPv6:2001:470:d5e7:1::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 1F74C70EE5 for ; Mon, 12 Nov 2018 14:34:05 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from tom.home (kib@localhost [127.0.0.1]) by kib.kiev.ua (8.15.2/8.15.2) with ESMTPS id wACEXs1N062757 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Mon, 12 Nov 2018 16:33:57 +0200 (EET) (envelope-from kostikbel@gmail.com) DKIM-Filter: OpenDKIM Filter v2.10.3 kib.kiev.ua wACEXs1N062757 Received: (from kostik@localhost) by tom.home (8.15.2/8.15.2/Submit) id wACEXsr5062756; Mon, 12 Nov 2018 16:33:54 +0200 (EET) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: tom.home: kostik set sender to kostikbel@gmail.com using -f Date: Mon, 12 Nov 2018 16:33:53 +0200 From: Konstantin Belousov To: Guido Falsi Cc: freebsd-current@freebsd.org Subject: Re: 13.0 failing to boot multiuser on one PC due to system utilities crashing during rc scipt Message-ID: <20181112143353.GX2378@kib.kiev.ua> References: <62bdb5ff-4d68-cf52-4dd5-f0a3cfa1c788@madpilot.net> <791e3488-b838-5cfd-8dca-8db8c74167a0@madpilot.net> <20181110230744.GN2378@kib.kiev.ua> <5176caee-126f-2709-d09a-0dcf5190e319@madpilot.net> <20181111211434.GS2378@kib.kiev.ua> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,BAYES_00, DKIM_ADSP_CUSTOM_MED,FORGED_GMAIL_RCVD,FREEMAIL_FROM, NML_ADSP_CUSTOM_MED autolearn=no autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on tom.home X-Rspamd-Queue-Id: 1F74C70EE5 X-Spamd-Result: default: False [-4.91 / 200.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; HAS_XAW(0.00)[]; R_SPF_SOFTFAIL(0.00)[~all]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_SHORT(-0.99)[-0.995,0]; IP_SCORE(-1.91)[ip: (-1.44), ipnet: 2001:470::/32(-4.47), asn: 6939(-3.55), country: US(-0.09)]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:6939, ipnet:2001:470::/32, country:US]; RCVD_TLS_LAST(0.00)[]; DMARC_POLICY_SOFTFAIL(0.10)[gmail.com : No valid SPF, No valid DKIM,none] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Nov 2018 14:34:06 -0000 On Mon, Nov 12, 2018 at 11:52:25AM +0100, Guido Falsi wrote: > cpu_stdext_feature: 281 ... > cpu_set_user_tls+0x2d: call set_pcb_flags_raw ... > > The patch does produce a working kernel. In fact I'm running that kernel > now. Do you have a bios option called like 'limit max cpuid value' set ? If yes, try to disable it and see how it works out. From owner-freebsd-current@freebsd.org Mon Nov 12 16:55:47 2018 Return-Path: Delivered-To: freebsd-current@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 A2D7D110B13F; Mon, 12 Nov 2018 16:55:47 +0000 (UTC) (envelope-from brooks@spindle.one-eyed-alien.net) Received: from spindle.one-eyed-alien.net (spindle.one-eyed-alien.net [199.48.129.229]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 2D934770A6; Mon, 12 Nov 2018 16:55:47 +0000 (UTC) (envelope-from brooks@spindle.one-eyed-alien.net) Received: by spindle.one-eyed-alien.net (Postfix, from userid 3001) id 607233C475F; Mon, 12 Nov 2018 16:55:46 +0000 (UTC) Date: Mon, 12 Nov 2018 16:55:46 +0000 From: Brooks Davis To: Mark Millard Cc: FreeBSD Toolchain , FreeBSD Current Subject: Re: head -r340287 's /usr/src/Makefile.libcompat still lists various LIB32CPUFLAGS= -target *-unknown-freebsd12.0 (not 13.0) Message-ID: <20181112165546.GD66623@spindle.one-eyed-alien.net> References: <3741DD5D-422E-44BD-AE44-4EBA5B2F5965@yahoo.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="4bRzO86E/ozDv8r1" Content-Disposition: inline In-Reply-To: <3741DD5D-422E-44BD-AE44-4EBA5B2F5965@yahoo.com> User-Agent: Mutt/1.9.4 (2018-02-28) X-Rspamd-Queue-Id: 2D934770A6 X-Spamd-Result: default: False [-4.63 / 200.00]; ARC_NA(0.00)[]; FREEMAIL_TO(0.00)[yahoo.com]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; DMARC_NA(0.00)[freebsd.org]; AUTH_NA(1.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; MX_GOOD(-0.01)[cached: spindle.one-eyed-alien.net]; NEURAL_HAM_SHORT(-0.93)[-0.929,0]; R_SPF_NA(0.00)[]; SIGNED_PGP(-2.00)[]; FORGED_SENDER(0.30)[brooks@freebsd.org,brooks@spindle.one-eyed-alien.net]; R_DKIM_NA(0.00)[]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:36236, ipnet:199.48.128.0/22, country:US]; FROM_NEQ_ENVFROM(0.00)[brooks@freebsd.org,brooks@spindle.one-eyed-alien.net]; IP_SCORE(-0.80)[asn: 36236(-3.88), country: US(-0.09)]; RCVD_COUNT_TWO(0.00)[2] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Nov 2018 16:55:47 -0000 --4bRzO86E/ozDv8r1 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Fixed in r340371. Thanks, Brooks On Fri, Nov 09, 2018 at 08:27:44PM -0800, Mark Millard via freebsd-toolchai= n wrote: > (Leading whitespace might not be preserved.) >=20 > # svnlite diff /usr/src/Makefile.libcompat > Index: /usr/src/Makefile.libcompat > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > --- /usr/src/Makefile.libcompat (revision 340287) > +++ /usr/src/Makefile.libcompat (working copy) > @@ -17,7 +17,7 @@ > .if ${WANT_COMPILER_TYPE} =3D=3D gcc || \ > (defined(X_COMPILER_TYPE) && ${X_COMPILER_TYPE} =3D=3D gcc) > .else > -LIB32CPUFLAGS+=3D -target x86_64-unknown-freebsd12.0 > +LIB32CPUFLAGS+=3D -target x86_64-unknown-freebsd13.0 > .endif > LIB32CPUFLAGS+=3D -m32 > LIB32WMAKEENV=3D MACHINE=3Di386 MACHINE_ARCH=3Di386 \ > @@ -49,9 +49,9 @@ > .endif > .else > .if ${TARGET_ARCH:Mmips64el*} !=3D "" > -LIB32CPUFLAGS=3D -target mipsel-unknown-freebsd12.0 > +LIB32CPUFLAGS=3D -target mipsel-unknown-freebsd13.0 > .else > -LIB32CPUFLAGS=3D -target mips-unknown-freebsd12.0 > +LIB32CPUFLAGS=3D -target mips-unknown-freebsd13.0 > .endif > .endif > LIB32CPUFLAGS+=3D -mabi=3D32 >=20 >=20 > =3D=3D=3D > Mark Millard > marklmi at yahoo.com > ( dsl-only.net went > away in early 2018-Mar) >=20 > _______________________________________________ > freebsd-toolchain@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-toolchain > To unsubscribe, send any mail to "freebsd-toolchain-unsubscribe@freebsd.o= rg" >=20 --4bRzO86E/ozDv8r1 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEcBAEBAgAGBQJb6bCRAAoJEKzQXbSebgfAZnQH/RoAl0CG4/9sV/8UkPoh48WW rkpPjQcivz5NoBaDEENrxhnMA56PNCzDD2RDj6SNKZJVU513/DOOjsDbDctn3oPf 30jNNWt77iKZvFDO18AxGoWu2nlUemoenEg93heYekwcOMSgIPFH7Jw0bgxGe/gv KkeDLTte4OeYW3rz5ozLINJnYRF/iHVOSFEGfJnN5PVOo2u6kb+FVtrv4DZwIriy 5PQT2mkZpr3EErkngsC80rRqcUxAffiijhmsbd+aLB7DsAZ9wjPdS+jYDdRTkBvV L5CnpHb4rYVUBf9m1if4qDZQA5ascY6/NAVGLsx2RJR7KMHClbTs4gj4ncRFqpM= =LjlE -----END PGP SIGNATURE----- --4bRzO86E/ozDv8r1-- From owner-freebsd-current@freebsd.org Mon Nov 12 17:08:16 2018 Return-Path: Delivered-To: freebsd-current@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 58096110B77A for ; Mon, 12 Nov 2018 17:08:16 +0000 (UTC) (envelope-from mad@madpilot.net) Received: from mail.madpilot.net (vogon.madpilot.net [159.69.1.99]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 79F3977AAE for ; Mon, 12 Nov 2018 17:08:15 +0000 (UTC) (envelope-from mad@madpilot.net) Received: from mail (mail [192.168.254.3]) by mail.madpilot.net (Postfix) with ESMTP id 42txzL0nxhz6dP8; Mon, 12 Nov 2018 18:08:14 +0100 (CET) Received: from mail.madpilot.net ([192.168.254.3]) by mail (mail.madpilot.net [192.168.254.3]) (amavisd-new, port 10024) with ESMTP id M76MlBE92bE6; Mon, 12 Nov 2018 18:08:12 +0100 (CET) Received: from tommy.madpilot.net (host109-128-dynamic.16-87-r.retail.telecomitalia.it [87.16.128.109]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.madpilot.net (Postfix) with ESMTPSA; Mon, 12 Nov 2018 18:08:12 +0100 (CET) Subject: Re: 13.0 failing to boot multiuser on one PC due to system utilities crashing during rc scipt To: Konstantin Belousov Cc: freebsd-current@freebsd.org References: <62bdb5ff-4d68-cf52-4dd5-f0a3cfa1c788@madpilot.net> <791e3488-b838-5cfd-8dca-8db8c74167a0@madpilot.net> <20181110230744.GN2378@kib.kiev.ua> <5176caee-126f-2709-d09a-0dcf5190e319@madpilot.net> <20181111211434.GS2378@kib.kiev.ua> <20181112143353.GX2378@kib.kiev.ua> From: Guido Falsi Openpgp: preference=signencrypt Autocrypt: addr=mad@madpilot.net; prefer-encrypt=mutual; keydata= xsBNBE+G+l0BCADi/WBQ0aRJfnE7LBPsM0G3m/m3Yx7OPu4iYFvS84xawmRHtCNjWIntsxuX fptkmEo3Rsw816WUrek8dxoUAYdHd+EcpBcnnDzfDH5LW/TZ4gbrFezrHPdRp7wdxi23GN80 qPwHEwXuF0X4Wy5V0OO8B6VT/nA0ADYnBDhXS52HGIJ/GCUjgqJn+phDTdCFLvrSFdmgx4Wl c0W5Z1p5cmDF9l8L/hc959AeyNf7I9dXnjekGM9gVv7UDUYzCifR3U8T0fnfdMmS8NeI9NC+ wuREpRO4lKOkTnj9TtQJRiptlhcHQiAlG1cFqs7EQo57Tqq6cxD1FycZJLuC32bGbgalABEB AAHNHkd1aWRvIEZhbHNpIDxtYWRAbWFkcGlsb3QubmV0PsLAeQQTAQgAIwIbAwIeAQI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yeN9THaNRgow3 kSuArUp6zSmJABEBAAHCwF8EGAEIAAkFAlMQe0ECGwwACgkQGuaGDlbL0pMN5wgA4bCkX/qw EVC06ToeR6C2putmSWQMgpDaqrv65Hubo+QGmg2P4ewTYQQ4g6oYWS03qHxqVVWhKz7FjfrV +dH8qbCLfSgIcvdBha7ayGZVrsiuMLKGbw36fcmkZPpSDOfHcP0XH8Z+u9CWj0xUkTxAlZ/7 i6gYSUpG2JWNtdmE/X8VVEyXusCLwy0K0BI60A/4dRTIX3C4QKrJ3ZbUXegz70ynjHf+lQMZ 9IZKASoRMuS5FozPQh6abvmwZEPdf5I9riUElzvHrqJ8Bx0t3Pujdoth+yNHpnBxrtO8LkQd rQ58P0SwcaIX33T2U9pG8bhu5YVR88FQ8OQ0cEsPBpDncg== Message-ID: <9100b044-0d94-4933-f43c-a8aebd42cfd9@madpilot.net> Date: Mon, 12 Nov 2018 18:08:11 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.3.0 MIME-Version: 1.0 In-Reply-To: <20181112143353.GX2378@kib.kiev.ua> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 79F3977AAE X-Spamd-Result: default: False [-6.25 / 200.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; RCVD_COUNT_THREE(0.00)[4]; MX_GOOD(-0.01)[cached: eddie.gfratio.it]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_SHORT(-0.98)[-0.978,0]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:24940, ipnet:159.69.0.0/16, country:DE]; MID_RHS_MATCH_FROM(0.00)[]; RECEIVED_SPAMHAUS_PBL(0.00)[109.128.16.87.zen.spamhaus.org : 127.0.0.10]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[madpilot.net]; TO_MATCH_ENVRCPT_SOME(0.00)[]; IP_SCORE(-2.97)[ip: (-9.53), ipnet: 159.69.0.0/16(-2.35), asn: 24940(-2.93), country: DE(-0.01)] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Nov 2018 17:08:16 -0000 On 12/11/18 15:33, Konstantin Belousov wrote: > On Mon, Nov 12, 2018 at 11:52:25AM +0100, Guido Falsi wrote: >> cpu_stdext_feature: 281 > ... >> cpu_set_user_tls+0x2d: call set_pcb_flags_raw > ... >> >> The patch does produce a working kernel. In fact I'm running that kernel >> now. > > Do you have a bios option called like 'limit max cpuid value' set ? > If yes, try to disable it and see how it works out. > Yes it does and switching it from "enabled" to "disabled" actually made the problem disappear. I don't know why I had that enabled. It looks like the default is disabled. Maybe I enabled it sometime in the past while trying to diagnose something else and left it enabled since. So, to fix it for me disabling that option is ok, and thanks for helping me finding out! But maybe some safety is still required to avoid other stumbling in the same problem. Or at least a notice in the docs. My BIOS presents the disabled option as a compatibility thing for Windows 95, which could encourage people tom enable it. -- Guido Falsi From owner-freebsd-current@freebsd.org Mon Nov 12 17:12:44 2018 Return-Path: Delivered-To: freebsd-current@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 CE0C8110BB86 for ; Mon, 12 Nov 2018 17:12:44 +0000 (UTC) (envelope-from mad@madpilot.net) Received: from mail.madpilot.net (vogon.madpilot.net [159.69.1.99]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4483B7829F for ; Mon, 12 Nov 2018 17:12:44 +0000 (UTC) (envelope-from mad@madpilot.net) Received: from mail (mail [192.168.254.3]) by mail.madpilot.net (Postfix) with ESMTP id 42ty4W1DhXz6dP8; Mon, 12 Nov 2018 18:12:43 +0100 (CET) Received: from mail.madpilot.net ([192.168.254.3]) by mail (mail.madpilot.net [192.168.254.3]) (amavisd-new, port 10024) with ESMTP id SFZJUyWVEbtt; Mon, 12 Nov 2018 18:12:41 +0100 (CET) Received: from tommy.madpilot.net (host109-128-dynamic.16-87-r.retail.telecomitalia.it [87.16.128.109]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.madpilot.net (Postfix) with ESMTPSA; Mon, 12 Nov 2018 18:12:41 +0100 (CET) Subject: Re: 13.0 failing to boot multiuser on one PC due to system utilities crashing during rc scipt From: Guido Falsi To: Konstantin Belousov Cc: freebsd-current@freebsd.org References: <62bdb5ff-4d68-cf52-4dd5-f0a3cfa1c788@madpilot.net> <791e3488-b838-5cfd-8dca-8db8c74167a0@madpilot.net> <20181110230744.GN2378@kib.kiev.ua> <5176caee-126f-2709-d09a-0dcf5190e319@madpilot.net> <20181111211434.GS2378@kib.kiev.ua> <20181112143353.GX2378@kib.kiev.ua> <9100b044-0d94-4933-f43c-a8aebd42cfd9@madpilot.net> Openpgp: preference=signencrypt Autocrypt: addr=mad@madpilot.net; prefer-encrypt=mutual; keydata= xsBNBE+G+l0BCADi/WBQ0aRJfnE7LBPsM0G3m/m3Yx7OPu4iYFvS84xawmRHtCNjWIntsxuX fptkmEo3Rsw816WUrek8dxoUAYdHd+EcpBcnnDzfDH5LW/TZ4gbrFezrHPdRp7wdxi23GN80 qPwHEwXuF0X4Wy5V0OO8B6VT/nA0ADYnBDhXS52HGIJ/GCUjgqJn+phDTdC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aDghMsgkNKax/z0wNo5UZCkOPOz0xpNi UilOVbkuezZZNg65741qee2lfXhQIaZ66yT7hphc/N/z3PIAtLeze4u1VR2EXAuZ2sWAdlKC NTlJMsaU/x70BV11Wd/ypnVzM68dfdQIIAj1iMFAD/lXGlEUmKXg5Ov2VQDlTntQoanCYrAg +8CttPzjrydgLZFq3hrtQmfc0se5yv1WHS69+BsUOG09RvvawUDZxUjW19kyeN9THaNRgow3 kSuArUp6zSmJABEBAAHCwF8EGAEIAAkFAlMQe0ECGwwACgkQGuaGDlbL0pMN5wgA4bCkX/qw EVC06ToeR6C2putmSWQMgpDaqrv65Hubo+QGmg2P4ewTYQQ4g6oYWS03qHxqVVWhKz7FjfrV +dH8qbCLfSgIcvdBha7ayGZVrsiuMLKGbw36fcmkZPpSDOfHcP0XH8Z+u9CWj0xUkTxAlZ/7 i6gYSUpG2JWNtdmE/X8VVEyXusCLwy0K0BI60A/4dRTIX3C4QKrJ3ZbUXegz70ynjHf+lQMZ 9IZKASoRMuS5FozPQh6abvmwZEPdf5I9riUElzvHrqJ8Bx0t3Pujdoth+yNHpnBxrtO8LkQd rQ58P0SwcaIX33T2U9pG8bhu5YVR88FQ8OQ0cEsPBpDncg== Message-ID: Date: Mon, 12 Nov 2018 18:12:41 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.3.0 MIME-Version: 1.0 In-Reply-To: <9100b044-0d94-4933-f43c-a8aebd42cfd9@madpilot.net> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4483B7829F X-Spamd-Result: default: False [-6.29 / 200.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[madpilot.net]; RCVD_COUNT_THREE(0.00)[4]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MX_GOOD(-0.01)[cached: eddie.gfratio.it]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_SHORT(-0.98)[-0.979,0]; IP_SCORE(-3.00)[ip: (-9.53), ipnet: 159.69.0.0/16(-2.53), asn: 24940(-2.94), country: DE(-0.01)]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:24940, ipnet:159.69.0.0/16, country:DE]; MID_RHS_MATCH_FROM(0.00)[]; RECEIVED_SPAMHAUS_PBL(0.00)[109.128.16.87.zen.spamhaus.org : 127.0.0.10] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Nov 2018 17:12:45 -0000 On 12/11/18 18:08, Guido Falsi wrote: > > My BIOS presents the disabled option as a compatibility thing for > Windows 95, which could encourage people tom enable it. Correction, it cites Windows XP in the description. -- Guido Falsi From owner-freebsd-current@freebsd.org Mon Nov 12 18:09:20 2018 Return-Path: Delivered-To: freebsd-current@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 788AB110D27D for ; Mon, 12 Nov 2018 18:09:20 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from kib.kiev.ua (kib.kiev.ua [IPv6:2001:470:d5e7:1::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id B90C97B6E8 for ; Mon, 12 Nov 2018 18:09:19 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from tom.home (kib@localhost [127.0.0.1]) by kib.kiev.ua (8.15.2/8.15.2) with ESMTPS id wACI93q7013497 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Mon, 12 Nov 2018 20:09:06 +0200 (EET) (envelope-from kostikbel@gmail.com) DKIM-Filter: OpenDKIM Filter v2.10.3 kib.kiev.ua wACI93q7013497 Received: (from kostik@localhost) by tom.home (8.15.2/8.15.2/Submit) id wACI93ME013496; Mon, 12 Nov 2018 20:09:03 +0200 (EET) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: tom.home: kostik set sender to kostikbel@gmail.com using -f Date: Mon, 12 Nov 2018 20:09:03 +0200 From: Konstantin Belousov To: Guido Falsi Cc: freebsd-current@freebsd.org Subject: Re: 13.0 failing to boot multiuser on one PC due to system utilities crashing during rc scipt Message-ID: <20181112180903.GC2378@kib.kiev.ua> References: <62bdb5ff-4d68-cf52-4dd5-f0a3cfa1c788@madpilot.net> <791e3488-b838-5cfd-8dca-8db8c74167a0@madpilot.net> <20181110230744.GN2378@kib.kiev.ua> <5176caee-126f-2709-d09a-0dcf5190e319@madpilot.net> <20181111211434.GS2378@kib.kiev.ua> <20181112143353.GX2378@kib.kiev.ua> <9100b044-0d94-4933-f43c-a8aebd42cfd9@madpilot.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <9100b044-0d94-4933-f43c-a8aebd42cfd9@madpilot.net> User-Agent: Mutt/1.10.1 (2018-07-13) X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,BAYES_00, DKIM_ADSP_CUSTOM_MED,FORGED_GMAIL_RCVD,FREEMAIL_FROM, NML_ADSP_CUSTOM_MED autolearn=no autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on tom.home X-Rspamd-Queue-Id: B90C97B6E8 X-Spamd-Result: default: False [-5.00 / 200.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; HAS_XAW(0.00)[]; R_SPF_SOFTFAIL(0.00)[~all]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_SHORT(-0.97)[-0.972,0]; IP_SCORE(-2.02)[ip: (-1.97), ipnet: 2001:470::/32(-4.48), asn: 6939(-3.55), country: US(-0.09)]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:6939, ipnet:2001:470::/32, country:US]; RCVD_TLS_LAST(0.00)[]; DMARC_POLICY_SOFTFAIL(0.10)[gmail.com : No valid SPF, No valid DKIM,none] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Nov 2018 18:09:20 -0000 On Mon, Nov 12, 2018 at 06:08:11PM +0100, Guido Falsi wrote: > On 12/11/18 15:33, Konstantin Belousov wrote: > > On Mon, Nov 12, 2018 at 11:52:25AM +0100, Guido Falsi wrote: > >> cpu_stdext_feature: 281 > > ... > >> cpu_set_user_tls+0x2d: call set_pcb_flags_raw > > ... > >> > >> The patch does produce a working kernel. In fact I'm running that kernel > >> now. > > > > Do you have a bios option called like 'limit max cpuid value' set ? > > If yes, try to disable it and see how it works out. > > > > Yes it does and switching it from "enabled" to "disabled" actually made > the problem disappear. > > I don't know why I had that enabled. It looks like the default is disabled. > > Maybe I enabled it sometime in the past while trying to diagnose > something else and left it enabled since. > > So, to fix it for me disabling that option is ok, and thanks for helping > me finding out! > > But maybe some safety is still required to avoid other stumbling in the > same problem. Or at least a notice in the docs. > > My BIOS presents the disabled option as a compatibility thing for > Windows 95, which could encourage people tom enable it. > Try this patch, with the option enabled. diff --git a/sys/amd64/amd64/machdep.c b/sys/amd64/amd64/machdep.c index 6e36ae97523..55db65ffc63 100644 --- a/sys/amd64/amd64/machdep.c +++ b/sys/amd64/amd64/machdep.c @@ -1581,6 +1581,7 @@ hammer_time(u_int64_t modulep, u_int64_t physfree) identify_cpu1(); identify_hypervisor(); + identify_cpu_fixup_bsp(); identify_cpu2(); initializecpucache(); diff --git a/sys/x86/include/x86_var.h b/sys/x86/include/x86_var.h index 286c01261f0..8f53b41fd19 100644 --- a/sys/x86/include/x86_var.h +++ b/sys/x86/include/x86_var.h @@ -129,6 +129,7 @@ void dump_drop_page(vm_paddr_t); void finishidentcpu(void); void identify_cpu1(void); void identify_cpu2(void); +void identify_cpu_fixup_bsp(void); void identify_hypervisor(void); void initializecpu(void); void initializecpucache(void); diff --git a/sys/x86/x86/identcpu.c b/sys/x86/x86/identcpu.c index 8e406f053ba..56186b2f3ba 100644 --- a/sys/x86/x86/identcpu.c +++ b/sys/x86/x86/identcpu.c @@ -1467,6 +1467,19 @@ identify_cpu2(void) } } +void +identify_cpu_fixup_bsp(void) +{ + u_int regs[4]; + + cpu_vendor_id = find_cpu_vendor_id(); + + if (fix_cpuid()) { + do_cpuid(0, regs); + cpu_high = regs[0]; + } +} + /* * Final stage of CPU identification. */ @@ -1478,12 +1491,7 @@ finishidentcpu(void) u_char ccr3; #endif - cpu_vendor_id = find_cpu_vendor_id(); - - if (fix_cpuid()) { - do_cpuid(0, regs); - cpu_high = regs[0]; - } + identify_cpu_fixup_bsp(); if (cpu_high >= 5 && (cpu_feature2 & CPUID2_MON) != 0) { do_cpuid(5, regs); From owner-freebsd-current@freebsd.org Mon Nov 12 18:55:51 2018 Return-Path: Delivered-To: freebsd-current@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 D9E5B110E7E9 for ; Mon, 12 Nov 2018 18:55:50 +0000 (UTC) (envelope-from mad@madpilot.net) Received: from mail.madpilot.net (vogon.madpilot.net [159.69.1.99]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 1B22E7DAED for ; Mon, 12 Nov 2018 18:55:50 +0000 (UTC) (envelope-from mad@madpilot.net) Received: from mail (mail [192.168.254.3]) by mail.madpilot.net (Postfix) with ESMTP id 42v0MS5zlRz6dP8; Mon, 12 Nov 2018 19:55:48 +0100 (CET) Received: from mail.madpilot.net ([192.168.254.3]) by mail (mail.madpilot.net [192.168.254.3]) (amavisd-new, port 10024) with ESMTP id mKQzCFqVTwIL; Mon, 12 Nov 2018 19:55:47 +0100 (CET) Received: from tommy.madpilot.net (host109-128-dynamic.16-87-r.retail.telecomitalia.it [87.16.128.109]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.madpilot.net (Postfix) with ESMTPSA; Mon, 12 Nov 2018 19:55:46 +0100 (CET) Subject: Re: 13.0 failing to boot multiuser on one PC due to system utilities crashing during rc scipt To: Konstantin Belousov Cc: freebsd-current@freebsd.org References: <62bdb5ff-4d68-cf52-4dd5-f0a3cfa1c788@madpilot.net> <791e3488-b838-5cfd-8dca-8db8c74167a0@madpilot.net> <20181110230744.GN2378@kib.kiev.ua> <5176caee-126f-2709-d09a-0dcf5190e319@madpilot.net> <20181111211434.GS2378@kib.kiev.ua> <20181112143353.GX2378@kib.kiev.ua> <9100b044-0d94-4933-f43c-a8aebd42cfd9@madpilot.net> <20181112180903.GC2378@kib.kiev.ua> From: Guido Falsi Open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xw QO+PklcCrvOPj2ZPcAxGNS2xVU/LzONqCrJqLMJSIcCdsbiSP4G5PnDFHtMokaTY6OEr8OEQ fOAerhcHUa/z7Uu8YtmaqKH+QGkE/WEgaRqSiTnv0JOTD+DxehaqvoKPPZ++2NpCZMHB2i6A /xifmQwEiIjEXtcueBRzkNUQkxhqZyS13SrhocL9ydtaVPBzZatAEjUDDEJmAMLVFs45qfyh MiNapHJo2n3MW/E5omqCvEkDdWX/en3P7CK2TemeaDghMsgkNKax/z0wNo5UZCkOPOz0xpNi UilOVbkuezZZNg65741qee2lfXhQIaZ66yT7hphc/N/z3PIAtLeze4u1VR2EXAuZ2sWAdlKC NTlJMsaU/x70BV11Wd/ypnVzM68dfdQIIAj1iMFAD/lXGlEUmKXg5Ov2VQDlTntQoanCYrAg +8CttPzjrydgLZFq3hrtQmfc0se5yv1WHS69+BsUOG09RvvawUDZxUjW19kyeN9THaNRgow3 kSuArUp6zSmJABEBAAHCwF8EGAEIAAkFAlMQe0ECGwwACgkQGuaGDlbL0pMN5wgA4bCkX/qw EVC06ToeR6C2putmSWQMgpDaqrv65Hubo+QGmg2P4ewTYQQ4g6oYWS03qHxqVVWhKz7FjfrV +dH8qbCLfSgIcvdBha7ayGZVrsiuMLKGbw36fcmkZPpSDOfHcP0XH8Z+u9CWj0xUkTxAlZ/7 i6gYSUpG2JWNtdmE/X8VVEyXusCLwy0K0BI60A/4dRTIX3C4QKrJ3ZbUXegz70ynjHf+lQMZ 9IZKASoRMuS5FozPQh6abvmwZEPdf5I9riUElzvHrqJ8Bx0t3Pujdoth+yNHpnBxrtO8LkQd rQ58P0SwcaIX33T2U9pG8bhu5YVR88FQ8OQ0cEsPBpDncg== Message-ID: Date: Mon, 12 Nov 2018 19:55:46 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.3.0 MIME-Version: 1.0 In-Reply-To: <20181112180903.GC2378@kib.kiev.ua> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 1B22E7DAED X-Spamd-Result: default: False [-6.31 / 200.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[madpilot.net]; RCVD_COUNT_THREE(0.00)[4]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MX_GOOD(-0.01)[cached: eddie.gfratio.it]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_SHORT(-0.97)[-0.970,0]; IP_SCORE(-3.03)[ip: (-9.53), ipnet: 159.69.0.0/16(-2.69), asn: 24940(-2.93), country: DE(-0.01)]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:24940, ipnet:159.69.0.0/16, country:DE]; MID_RHS_MATCH_FROM(0.00)[]; RECEIVED_SPAMHAUS_PBL(0.00)[109.128.16.87.zen.spamhaus.org : 127.0.0.10] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Nov 2018 18:55:51 -0000 On 12/11/18 19:09, Konstantin Belousov wrote: > On Mon, Nov 12, 2018 at 06:08:11PM +0100, Guido Falsi wrote: >> But maybe some safety is still required to avoid other stumbling in the >> same problem. Or at least a notice in the docs. >> >> My BIOS presents the disabled option as a compatibility thing for >> Windows 95, which could encourage people tom enable it. >> > Try this patch, with the option enabled. I confirm the patch makes the BIOS option irrelevant, and the system boots correctly whatever the setting. Thanks! -- Guido Falsi From owner-freebsd-current@freebsd.org Mon Nov 12 21:15:08 2018 Return-Path: Delivered-To: freebsd-current@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 61ED7112304F for ; Mon, 12 Nov 2018 21:15:08 +0000 (UTC) (envelope-from alex.mckeever@sbcglobal.net) Received: from sonic303-25.consmr.mail.ne1.yahoo.com (sonic303-25.consmr.mail.ne1.yahoo.com [66.163.188.151]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 65FD083B41 for ; Mon, 12 Nov 2018 21:15:06 +0000 (UTC) (envelope-from alex.mckeever@sbcglobal.net) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sbcglobal.net; s=s2048; t=1542057305; bh=dLUJTMYHopVTFvb7sPTTdfb+hiCOeC7AglcLR+SI39M=; h=To:From:Subject:Date:From:Subject; b=swWaITBA2TSCdxIp9RtOQFEmZ+fA8jNhV6jLQpQIfXqzm1P5OdHAWTcGSgkcombQuXEkgt6sLFHZqA9SoBMo2b097MSrrsBgwwQE3izBUeG3bhmB4RLpfKUeSbzAPpLEN3Xbl6P7fdEH0A4f7unr4J7DrM9BaeJqjjDx/hh/FcwA4jUt/Awye4r1Q89G+cdiNgv+xMiY2rxQr+/kcEgkRbCSpwrm8rUkjHCpEUs7uJPhzxxlELb7G9j5LOsIPK87wZs2wf19Jhoayh8UJxCF2kDfbxWQ29PVZDxLjnFf18zXYW1Hefy9V8yNFbvozMOO878tZrgTlZI4oo+Glw6tmg== X-YMail-OSG: 7RJS0ZMVM1m7_dTcepVhYVbMNEK8I.nr5yBQnHGE2.SZ6vNSr3T4Y_y9L7_nLMI Kl0rukIcoAwZ4HhBSO05HSO3TMuCel2MJtk_9ZmZeHwq8m1QEo7A_hAvNkrB62rfJunmyp3RQ5pI d13fOP6Scygl6USC4jad3sxgKijFcP_1KvqvTd.gNOiMTGP_AchQOtAQlN.Gtr2ZRlBEfKWmFG4K T1d8KDxMdqFKH3k46UeA36DtixIJpE0kNxBODvkheFLAMu14lAu7OPRGE5WkiceLqL9vj8vHW.IY lNCzPd_uJXYBdTS20L2Ptn2bo5IekgeVp7ZvEC8Po8FXXoiaJ51juXAd0DNv4Potaj39XBBWPinn Rt.Ob4.3QnWPs8E5EQ22GVhBUgk.78h3AUcPyOIYh4obJpudYKWSRQUc7l1_GTdl9rrYFb3V5l5Z Vgl68I9rmS0yrZZEArZbo1hDi4iqgkfTYTpXPfdYfAQqkr1svS.DWTK4gZkinUanhqUkkUiLZa8Y 5g4NEnEjLqhn.fhRiZvuOVulO0Ag48mfSKKYXhpYU7CwX8m2s.xdfT3rh3AqxtB3rAtDPjiGmBH9 iDQC23sK.oshjtT4OHfTEeDH_TcQUnJUa4qR4qFV1T0kn3ubedITw4JPuu040IVVugYHUGPSVmJh FYw95bOc4147dr1oaoMjftS6ddiQ75PTQzJ0n73YRD1mEKiwElvTr.SByNpjqWnzfHJOrcFLouwq q.xn9Fzz3t9ONQgdk66OtiukAFgd4U8OhFVQNWvR7plUswVuOwynmfz2arQyO7ca5cWDGXsZWI5i ZJeR309U9iwK3_ixy7VyGCbcDgLzn72Byy27ljMPZGhZSE.HVtBNHZH3RjME.byUtfE0E_u8cgc2 TSrRAM.HH3i1yjNag_hG.OgTqvI0OfrKsdK8WX4Gz.9lNcDBm8Q9B.c2IYYS4wcUJihB5q_CD636 QVxPQ6GsHy5O1zG34H9cy9PfWpkHGgsOT7sCsILiC5b7fDPI2zMQGG1HyPRR3PemHA4ztmammRVH Gl187y0WjqPZSSBzgx15tTfuXKbJFW7KmXOyE3Bg11Lr8E6t2x9ifYHjEJW350MQ- Received: from sonic.gate.mail.ne1.yahoo.com by sonic303.consmr.mail.ne1.yahoo.com with HTTP; Mon, 12 Nov 2018 21:15:05 +0000 Received: from 76-243-42-188.lightspeed.cntmoh.sbcglobal.net (EHLO [IPv6:::ffff:192.168.1.117]) ([76.243.42.188]) by smtp422.mail.ne1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID 751a55c2879a829b6f0bb0212a8c17aa; Mon, 12 Nov 2018 20:54:51 +0000 (UTC) MIME-Version: 1.0 To: "freebsd-stable@freebsd.org" , FreeBSD Current From: Alex McKeever Subject: emac g4 1.25 GHz retail model won't boot FreeBSD 12 at all. Date: Mon, 12 Nov 2018 15:54:51 -0500 Importance: normal X-Priority: 3 X-Rspamd-Queue-Id: 65FD083B41 X-Spamd-Result: default: False [6.60 / 200.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; FREEMAIL_FROM(0.00)[sbcglobal.net]; URI_COUNT_ODD(1.00)[1]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[sbcglobal.net:+]; RCPT_COUNT_TWO(0.00)[2]; HAS_X_PRIO_THREE(0.00)[3]; MX_GOOD(-0.01)[ff-ip4-mx-vip2.prodigy.net,al-ip4-mx-vip2.prodigy.net,ff-ip4-mx-vip1.prodigy.net,al-ip4-mx-vip1.prodigy.net]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; FREEMAIL_ENVFROM(0.00)[sbcglobal.net]; ASN(0.00)[asn:36646, ipnet:66.163.184.0/21, country:US]; IP_SCORE(0.71)[ipnet: 66.163.184.0/21(2.03), asn: 36646(1.62), country: US(-0.09)]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[sbcglobal.net]; FROM_HAS_DN(0.00)[]; NEURAL_SPAM_SHORT(0.70)[0.703,0]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; DMARC_NA(0.00)[sbcglobal.net]; NEURAL_SPAM_MEDIUM(1.00)[0.999,0]; MISSING_MID(2.50)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_LONG(0.99)[0.994,0]; RCVD_IN_DNSWL_NONE(0.00)[151.188.163.66.list.dnswl.org : 127.0.5.0]; R_SPF_NA(0.00)[] X-Rspamd-Server: mx1.freebsd.org X-Spam: Yes X-Mailman-Approved-At: Mon, 12 Nov 2018 21:54:53 +0000 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Nov 2018 21:15:08 -0000 The CD or DVD show up fine in the device selection screen, but it won=E2=80= =99t even boot the disc. What changed from 11.2 to 12.0 in regards to Power= PC Macs that are 32 bit? A much needed answer would be appreciated. Sent from Mail for Windows 10 From owner-freebsd-current@freebsd.org Tue Nov 13 03:28:34 2018 Return-Path: Delivered-To: freebsd-current@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 3A8981101EA9; Tue, 13 Nov 2018 03:28:34 +0000 (UTC) (envelope-from jmd@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A5DF3703A8; Tue, 13 Nov 2018 03:28:33 +0000 (UTC) (envelope-from jmd@freebsd.org) Received: from manray.ogolem.org (072-179-013-114.res.spectrum.com [72.179.13.114]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) (Authenticated sender: jmd/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 22C561E18C; Tue, 13 Nov 2018 03:28:33 +0000 (UTC) (envelope-from jmd@freebsd.org) Date: Mon, 12 Nov 2018 21:28:29 -0600 From: Johannes M Dieterich To: freebsd-current@freebsd.org, freebsd-x11@freebsd.org Subject: Alpha release of i386 support for graphics/drm-devel-kmod Message-ID: <20181112212829.25839d56@manray.ogolem.org> X-Mailer: Claws Mail 3.16.0 (GTK+ 2.24.32; amd64-portbld-freebsd13.0) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: A5DF3703A8 X-Spamd-Result: default: False [-106.82 / 200.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; ALLOW_DOMAIN_WHITELIST(-100.00)[freebsd.org]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; DMARC_NA(0.00)[freebsd.org]; R_SPF_SOFTFAIL(0.00)[~all]; MX_GOOD(-0.01)[cached: mx66.freebsd.org]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_SHORT(-1.00)[-1.000,0]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; IP_SCORE(-3.71)[ip: (-9.73), ipnet: 96.47.64.0/20(-4.83), asn: 11403(-3.91), country: US(-0.09)]; ASN(0.00)[asn:11403, ipnet:96.47.64.0/20, country:US]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; RECEIVED_SPAMHAUS_PBL(0.00)[114.13.179.72.zen.spamhaus.org : 127.0.0.10] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Nov 2018 03:28:34 -0000 Crossposting to x11 and current. Dear all, As of r484855, the LinuxKPI-based graphics/drm-devel-kmod port compiles on recent CURRENT i386. The DRM modules available are i915, radeonkms, and vmwgfx. amdgpu is *not* enabled currently. This i386 support is of alpha quality. It provides a potential future avenue for users currently relying on drm-legacy for i386 graphics. The port is not well tested on i386 yet! Radeon has some testing, i915 none. The graphics team does not have hardware or resources to test this enablement properly. We do welcome tests and pull requests against the kms-drm github[1] from people relying on i386 graphics. On behalf of the graphics team, Johannes [1] https://github.com/FreeBSDDesktop/kms-drm/ From owner-freebsd-current@freebsd.org Tue Nov 13 18:00:06 2018 Return-Path: Delivered-To: freebsd-current@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 34E6F112C258 for ; Tue, 13 Nov 2018 18:00:06 +0000 (UTC) (envelope-from deischen@freebsd.org) Received: from mail.netplex.net (mail.netplex.net [204.213.176.9]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.netplex.net", Issuer "RapidSSL RSA CA 2018" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A1C28701A3 for ; Tue, 13 Nov 2018 18:00:05 +0000 (UTC) (envelope-from deischen@freebsd.org) Received: from sea.ntplx.net (sea.ntplx.net [204.213.176.11]) by mail.netplex.net (8.15.1/8.15.1/NETPLEX) with ESMTP id wADHxxma041870 for ; Tue, 13 Nov 2018 12:59:59 -0500 X-Virus-Scanned: by AMaViS and Clam AntiVirus (mail.netplex.net) X-Greylist: Message whitelisted by DRAC access database, not delayed by milter-greylist-4.4.3 (mail.netplex.net [204.213.176.9]); Tue, 13 Nov 2018 12:59:59 -0500 (EST) Date: Tue, 13 Nov 2018 12:59:59 -0500 (EST) From: Daniel Eischen X-X-Sender: eischen@sea.ntplx.net Reply-To: Daniel Eischen To: freebsd-current@freebsd.org Subject: No amdtemp sysctls, acpi errors, AMD Ryzen 5 2400G Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Rspamd-Queue-Id: A1C28701A3 X-Spamd-Result: default: False [-103.02 / 200.00]; ARC_NA(0.00)[]; HAS_REPLYTO(0.00)[deischen@freebsd.org]; ALLOW_DOMAIN_WHITELIST(-100.00)[freebsd.org]; REPLYTO_EQ_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; TO_DN_NONE(0.00)[]; R_SPF_SOFTFAIL(0.00)[~all]; RCPT_COUNT_ONE(0.00)[1]; DMARC_NA(0.00)[freebsd.org]; MX_GOOD(-0.01)[cached: mx66.freebsd.org]; NEURAL_HAM_SHORT(-0.89)[-0.887,0]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; IP_SCORE(-0.02)[country: US(-0.09)]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:6062, ipnet:204.213.176.0/20, country:US]; RCVD_COUNT_TWO(0.00)[2]; TO_DOM_EQ_FROM_DOM(0.00)[] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Nov 2018 18:00:06 -0000 Greetings, 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. These are the ACPI-related warnings and errors during boot. Firmware Warning (ACPI): Optional FADT field Pm2ControlBlock has valid Length but zero Address: 0x0000000000000000/0x1 (20181031/tbfadt-796) acpi0: on motherboard Firmware Error (ACPI): Failure creating [\134_SB.SMIC], AE_ALREADY_EXISTS (20181031/dswload2-477) ACPI Error: AE_ALREADY_EXISTS, During name lookup/catalog (20181031/psobject-372) Firmware Error (ACPI): Failure creating [\134_SB.SMIB], AE_ALREADY_EXISTS (20181031/dsfield-803) The amdtemp module loads fine (including the dependent amdsmn), but doesn't report any temperature related sysctls. $ sysctl -a | grep temp cd0: Attempt to query device size failed: NOT READY, Medium not present - tray closed cd0: Attempt to query device size failed: NOT READY, Medium not present- tray closed net.inet6.ip6.use_tempaddr: 0 net.inet6.ip6.temppltime: 86400 net.inet6.ip6.tempvltime: 604800 net.inet6.ip6.prefer_tempaddr: 0 hw.usb.template: -1 kstat.zfs.misc.arcstats.arc_tempreserve: 0 kstat.zfs.misc.zcompstats.attempts: 135280 Here's the relevent CPU line from dmesg. CPU: AMD Ryzen 5 2400G with Radeon Vega Graphics (3593.34-MHz K8-class CPU) Origin="AuthenticAMD" Id=0x810f10 Family=0x17 Model=0x11 Stepping=0 Features=0x178bfbff Features2=0x7ed8320b AMD Features=0x2e500800 AMD Features2=0x35c233ff Structured Extended Features=0x209c01a9 XSAVE Features=0xf AMD Extended Feature Extensions ID EBX=0x1007 SVM: (disabled in BIOS) NP,NRIP,VClean,AFlush,DAssist,NAsids=32768 TSC: P-state invariant, performance statistics The full dmesg, /usr/sbin/acpidump -dt, and apcica-tools acpudumps (with and without -s) are here: https://people.freebsd.org/~deischen/2400g/dmesg.txt https://people.freebsd.org/~deischen/2400g/acpidump.txt https://people.freebsd.org/~deischen/2400g/acpica.acpidump.txt Thanks -- DE From owner-freebsd-current@freebsd.org Tue Nov 13 19:07:08 2018 Return-Path: Delivered-To: freebsd-current@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 40745112E2E1 for ; Tue, 13 Nov 2018 19:07:08 +0000 (UTC) (envelope-from rozhuk.im@gmail.com) Received: from mail-ed1-x52e.google.com (mail-ed1-x52e.google.com [IPv6:2a00:1450:4864:20::52e]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 29B04733C9; Tue, 13 Nov 2018 19:07:07 +0000 (UTC) (envelope-from rozhuk.im@gmail.com) Received: by mail-ed1-x52e.google.com with SMTP id h15so6684642edb.4; Tue, 13 Nov 2018 11:07:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:date:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=1587Fm5gvRYnMtL/rEd2RlDYSqYWYRivi6jp6itMk7M=; b=cMUc6LX5Wtz9lFEzIpm/kiEpxfLqw0GScARuqqs2GDUNwXTsBSV3TFw6GsVW7Fdf7P HqY5s8x3mTDDwFGeGsencUzdmxtA5LzX79pt0gh7IlCqF6ST4yxZBuO0/LZ4vHJwLjjb 427Yi+535F8n7j5R9BOXxhBohRRUfTG5tNI85tWUzSyDOrxondPA+2H9S5HIRn9x22LI N0lPGvLC6/qSbGeBGIHRukzB7VsquApeQg1Pga8qSzH82LjSoY45hGlha390R+T35h65 niKtoep7jUV9Xo0OfvDLucsFLCSaiMZzSs881uD12a4PpjdtbqB2h13j76Hd2AV9DJu5 0iDQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:date:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=1587Fm5gvRYnMtL/rEd2RlDYSqYWYRivi6jp6itMk7M=; b=YFTX0EYsXATf9mqyBaOakB/NDVHqmedTDnNN2hOJBES3Y1v45YqPpoKP4jBKAnsruG 2vWy2G7w2VVrdA/D4uyDi64g11ZJ9otrQbsLcEgjD+2PHh8NDjQxfh/HV5J7rp52io7r yPqOrZ+qHR6eOp5bIE5IT0l4H/Lj80TfzBYbYNe7mkA8M/+ZQ7PK+vG45/gahi2fSamh Ds8v+mSafdOVAqV1vdlOy+mNdHHGNKigM7u6wr3k6wusI8MBE8CEQSxTaGGM8/QudzcK 5O8cGqdzxw+Ts9tDhxGY41U1D/XRATzdR3CHSj8RZcCZeDVX75Gub9+UrxzjfRC7vWSA Lzig== X-Gm-Message-State: AGRZ1gIApQfBRMX0QMBpC7Ch5NrnIEbfPhttAXEwC4cW3Q3/3cMvGQ2w vnS08Sk92SiU8ztud2JofW46GHUE X-Google-Smtp-Source: AJdET5f2JmdVT7eUxqRAFxH1IEsy3cA0CIsIzkl1SCF2X7JJxuDhJ398VmA1YbO9FnG6nRalu2LiXw== X-Received: by 2002:a50:c219:: with SMTP id n25-v6mr16601805edf.89.1542136025798; Tue, 13 Nov 2018 11:07:05 -0800 (PST) Received: from localhost ([2001:470:1f15:3d8:7285:c2ff:fe37:5722]) by smtp.gmail.com with ESMTPSA id c41-v6sm5499573ede.51.2018.11.13.11.07.02 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 13 Nov 2018 11:07:02 -0800 (PST) From: Rozhuk Ivan X-Google-Original-From: Rozhuk Ivan Date: Tue, 13 Nov 2018 22:06:58 +0300 To: Daniel Eischen Cc: freebsd-current@freebsd.org Subject: Re: No amdtemp sysctls, acpi errors, AMD Ryzen 5 2400G Message-ID: <20181113220658.77cec7c3@gmail.com> In-Reply-To: References: X-Mailer: Claws Mail 3.16.0 (GTK+ 2.24.32; amd64-portbld-freebsd11.2) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 29B04733C9 X-Spamd-Result: default: False [-6.41 / 200.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[gmail.com]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; MIME_GOOD(-0.10)[text/plain]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.94)[-0.939,0]; RCVD_COUNT_THREE(0.00)[3]; IP_SCORE(-2.46)[ip: (-8.27), ipnet: 2a00:1450::/32(-2.00), asn: 15169(-1.94), country: US(-0.09)]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RCVD_IN_DNSWL_NONE(0.00)[e.2.5.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.5.4.1.0.0.a.2.list.dnswl.org : 127.0.5.0]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; TAGGED_FROM(0.00)[]; MID_RHS_MATCH_FROM(0.00)[] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Nov 2018 19:07:08 -0000 On Tue, 13 Nov 2018 12:59:59 -0500 (EST) Daniel Eischen 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. On newer BIOS it swap CurTmpTjSel and CurTmp, and CurTmp show >90C. I dont know why, @cem may know. dev.amdtemp.0.htc.PslApicLoEn: 1 dev.amdtemp.0.htc.PslApicHiEn: 1 dev.amdtemp.0.htc.HtcActSts: 1 dev.amdtemp.0.htc.HtcAct: 1 dev.amdtemp.0.htc.HtcPstateLimit: 7 dev.amdtemp.0.htc.HtcSlewSel: 1 dev.amdtemp.0.htc.HtcLock: 1 dev.amdtemp.0.htc.HtcEn: 1 dev.amdtemp.0.htc.HtcHystLmt: 7.6C dev.amdtemp.0.htc.HtcTmpLmt: 115.6C dev.amdtemp.0.tts.core1.sensor1_offset: 0 dev.amdtemp.0.tts.core1.sensor0_offset: 0 dev.amdtemp.0.tts.core1.sensor1: -0.9C dev.amdtemp.0.tts.core1.sensor0: -0.9C dev.amdtemp.0.tts.core0.sensor1_offset: 0 dev.amdtemp.0.tts.core0.sensor0_offset: 0 dev.amdtemp.0.tts.core0.sensor1: -0.9C dev.amdtemp.0.tts.core0.sensor0: -0.9C dev.amdtemp.0.tts.thermtrip: 0 dev.amdtemp.0.tts.sense: 1 dev.amdtemp.0.tts.enable: 0 dev.amdtemp.0.tts.DiodeOffset: 13 dev.amdtemp.0.tts.TjOffset: 0 dev.amdtemp.0.rtc.sensor_offset: 0 dev.amdtemp.0.rtc.PerStepTimeUp: 15 dev.amdtemp.0.rtc.PerStepTimeDn: 15 dev.amdtemp.0.rtc.TmpMaxDiffUp: 3 dev.amdtemp.0.rtc.TmpSlewDnEn: 1 dev.amdtemp.0.rtc.CurTmpTjSel: 1.6C dev.amdtemp.0.rtc.CurTmp: 50.6C dev.amdtemp.0.%parent: hostb10 dev.amdtemp.0.%pnpinfo: dev.amdtemp.0.%location: dev.amdtemp.0.%driver: amdtemp dev.amdtemp.0.%desc: AMD CPU On-Die Thermal Sensors dev.amdtemp.%parent: From owner-freebsd-current@freebsd.org Tue Nov 13 19:50:39 2018 Return-Path: Delivered-To: freebsd-current@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 9A92B112FA24 for ; Tue, 13 Nov 2018 19:50:39 +0000 (UTC) (envelope-from greg@unrelenting.technology) Received: from out.migadu.com (out.migadu.com [91.121.223.63]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.migadu.com", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 473BE74E6F for ; Tue, 13 Nov 2018 19:50:37 +0000 (UTC) (envelope-from greg@unrelenting.technology) Received: (Migadu outbound); Tue, 13 Nov 2018 19:50:30 +0000 Authentication-Results: out.migadu.com; auth=pass (plain) Received: from [192.168.1.141] ([62.122.208.146]) by out.migadu.com (Haraka/2.8.16) with ESMTPSA id 6ECD6215-5AEB-4B96-A0C4-F35B98CFFA3D.1 envelope-from (authenticated bits=0) (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 verify=FAIL); Tue, 13 Nov 2018 19:50:30 +0000 Date: Tue, 13 Nov 2018 22:50:31 +0300 From: Greg V Subject: Re: No amdtemp sysctls, acpi errors, AMD Ryzen 5 2400G To: Daniel Eischen Cc: freebsd-current@freebsd.org Message-Id: <1542138631.2638.0@smtp.migadu.com> In-Reply-To: References: X-Mailer: geary/0.12.4 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed DKIM-Signature: v=1; a=rsa-sha256; bh=BmHTee0UgK0QhxdMUcH6HUuBLuHWZb9sEotOBNyL8l8=; c=relaxed/simple; d=unrelenting.technology; h=from:subject:date:to; s=default; b=BBY9C1HPvXqABMqBhnulq+JugMnMefFqauz1yn61l1nt7S9i5Jjm115yqW4jCPHoHiBISHBYQ33tWtDKImU7c7aa95wYT/Q3KX5pLKYUejpCohWoZ6MofZLZOXtx/Hmsp+3Jxp0igegann1DlLlSSgKU/DINLWTQOy3lGSOCO6Q= X-Rspamd-Queue-Id: 473BE74E6F X-Spamd-Result: default: False [-4.09 / 200.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[unrelenting.technology]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:91.121.223.63]; NEURAL_HAM_LONG(-1.00)[-0.999,0]; MIME_GOOD(-0.10)[text/plain]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[unrelenting.technology:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[unrelenting.technology,none]; MX_GOOD(-0.01)[aspmx1.migadu.com,aspmx2.migadu.com]; NEURAL_HAM_SHORT(-0.78)[-0.775,0]; FROM_EQ_ENVFROM(0.00)[]; IP_SCORE(-0.30)[ipnet: 91.121.0.0/16(-0.70), asn: 16276(-0.80), country: FR(-0.03)]; ASN(0.00)[asn:16276, ipnet:91.121.0.0/16, country:FR]; RCVD_TLS_ALL(0.00)[] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Nov 2018 19:50:39 -0000 On Tue, Nov 13, 2018 at 8:59 PM, Daniel Eischen wrote: > Greetings, > > 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. > > These are the ACPI-related warnings and errors during boot. > > Firmware Warning (ACPI): Optional FADT field Pm2ControlBlock has > valid Length but zero Address: 0x0000000000000000/0x1 > (20181031/tbfadt-796) I see this one on my R7 1700 / X370 system, seems harmless. > acpi0: on motherboard > Firmware Error (ACPI): Failure creating [\134_SB.SMIC], > AE_ALREADY_EXISTS (20181031/dswload2-477) > ACPI Error: AE_ALREADY_EXISTS, During name lookup/catalog > (20181031/psobject-372) > Firmware Error (ACPI): Failure creating [\134_SB.SMIB], > AE_ALREADY_EXISTS (20181031/dsfield-803) Looks like people see these on Linux: https://forum.manjaro.org/t/unstable-behaviour-not-always-completely-booting/55823/5 Are you on the latest firmware ("BIOS") revision for your board? From owner-freebsd-current@freebsd.org Tue Nov 13 19:59:02 2018 Return-Path: Delivered-To: freebsd-current@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 6D783112FF18 for ; Tue, 13 Nov 2018 19:59:02 +0000 (UTC) (envelope-from deischen@freebsd.org) Received: from mail.netplex.net (mail.netplex.net [204.213.176.9]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.netplex.net", Issuer "RapidSSL RSA CA 2018" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D2058756E2 for ; Tue, 13 Nov 2018 19:59:01 +0000 (UTC) (envelope-from deischen@freebsd.org) Received: from sea.ntplx.net (sea.ntplx.net [204.213.176.11]) by mail.netplex.net (8.15.1/8.15.1/NETPLEX) with ESMTP id wADJx0pP033476; Tue, 13 Nov 2018 14:59:00 -0500 X-Virus-Scanned: by AMaViS and Clam AntiVirus (mail.netplex.net) X-Greylist: Message whitelisted by DRAC access database, not delayed by milter-greylist-4.4.3 (mail.netplex.net [204.213.176.9]); Tue, 13 Nov 2018 14:59:00 -0500 (EST) Date: Tue, 13 Nov 2018 14:59:00 -0500 (EST) From: Daniel Eischen X-X-Sender: eischen@sea.ntplx.net Reply-To: Daniel Eischen To: Greg V cc: freebsd-current@freebsd.org Subject: Re: No amdtemp sysctls, acpi errors, AMD Ryzen 5 2400G In-Reply-To: <1542138631.2638.0@smtp.migadu.com> Message-ID: References: <1542138631.2638.0@smtp.migadu.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Rspamd-Queue-Id: D2058756E2 X-Spamd-Result: default: False [-103.12 / 200.00]; ARC_NA(0.00)[]; HAS_REPLYTO(0.00)[deischen@freebsd.org]; ALLOW_DOMAIN_WHITELIST(-100.00)[freebsd.org]; REPLYTO_EQ_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[freebsd.org]; R_SPF_SOFTFAIL(0.00)[~all]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MX_GOOD(-0.01)[cached: mx66.freebsd.org]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_SHORT(-0.99)[-0.989,0]; IP_SCORE(-0.02)[country: US(-0.09)]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:6062, ipnet:204.213.176.0/20, country:US]; RCVD_COUNT_TWO(0.00)[2] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Nov 2018 19:59:02 -0000 On Tue, 13 Nov 2018, Greg V wrote: > > > On Tue, Nov 13, 2018 at 8:59 PM, Daniel Eischen wrote: >> Greetings, >> >> 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. >> >> These are the ACPI-related warnings and errors during boot. >> >> Firmware Warning (ACPI): Optional FADT field Pm2ControlBlock has valid >> Length but zero Address: 0x0000000000000000/0x1 (20181031/tbfadt-796) > > I see this one on my R7 1700 / X370 system, seems harmless. > >> acpi0: on motherboard >> Firmware Error (ACPI): Failure creating [\134_SB.SMIC], >> AE_ALREADY_EXISTS (20181031/dswload2-477) >> ACPI Error: AE_ALREADY_EXISTS, During name lookup/catalog >> (20181031/psobject-372) >> Firmware Error (ACPI): Failure creating [\134_SB.SMIB], >> AE_ALREADY_EXISTS (20181031/dsfield-803) > > Looks like people see these on Linux: > > https://forum.manjaro.org/t/unstable-behaviour-not-always-completely-booting/55823/5 > > Are you on the latest firmware ("BIOS") revision for your board? Yes, it's an ASUS Prime X-470 PRO, and I'm running with the latest BIOS from 2018 September 21, version 4024. https://www.asus.com/us/Motherboards/PRIME-X470-PRO/HelpDesk_BIOS/ -- DE From owner-freebsd-current@freebsd.org Tue Nov 13 20:07:50 2018 Return-Path: Delivered-To: freebsd-current@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 73922113021D for ; Tue, 13 Nov 2018 20:07:50 +0000 (UTC) (envelope-from greg@unrelenting.technology) Received: from out.migadu.com (out.migadu.com [91.121.223.63]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.migadu.com", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 682E475BDF for ; Tue, 13 Nov 2018 20:07:49 +0000 (UTC) (envelope-from greg@unrelenting.technology) Received: (Migadu outbound); Tue, 13 Nov 2018 20:07:47 +0000 Authentication-Results: out.migadu.com; auth=pass (plain) Received: from [192.168.1.141] ([62.122.208.146]) by out.migadu.com (Haraka/2.8.16) with ESMTPSA id 4E8FD065-FD37-4780-96A4-C56886F3C9EC.1 envelope-from (authenticated bits=0) (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 verify=FAIL); Tue, 13 Nov 2018 20:07:47 +0000 Date: Tue, 13 Nov 2018 23:07:49 +0300 From: Greg V Subject: Re: emac g4 1.25 GHz retail model won't boot FreeBSD 12 at all. To: Alex McKeever Cc: "freebsd-stable@freebsd.org" , FreeBSD Current Message-Id: <1542139669.2638.1@smtp.migadu.com> In-Reply-To: <389DD305-97BB-4096-86F8-CFF1BA73A330.1@aspmx1.migadu.com> References: <389DD305-97BB-4096-86F8-CFF1BA73A330.1@aspmx1.migadu.com> X-Mailer: geary/0.12.4 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-13; format=flowed Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; bh=0ANoCPiG2/341J0+a/Ifxb725lPkDxN4xywzqle3cmQ=; c=relaxed/simple; d=unrelenting.technology; h=from:subject:date:to; s=default; b=fvczyiqJa5IHQmPF7d7ttUa84wAIsvB8RdFKk+ppdDO33EgsrgB4HmIm1kq0SUyY2pX2uObw+VJzkqSnIhMaJ29KLkUjTFFgQ65w2NR9kwbKtOGdjJDknKRpn3pBe9KMZ6LAi79PusNVk8t4ZSYh0LsFGeTtkghE9WHV3VGm9Uc= X-Rspamd-Queue-Id: 682E475BDF X-Spamd-Result: default: False [-4.25 / 200.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:91.121.223.63]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[unrelenting.technology:+]; MX_GOOD(-0.01)[cached: aspmx1.migadu.com]; DMARC_POLICY_ALLOW(-0.50)[unrelenting.technology,none]; NEURAL_HAM_SHORT(-0.77)[-0.769,0]; FREEMAIL_TO(0.00)[sbcglobal.net]; FROM_EQ_ENVFROM(0.00)[]; IP_SCORE(-0.47)[ipnet: 91.121.0.0/16(-1.51), asn: 16276(-0.81), country: FR(-0.03)]; ASN(0.00)[asn:16276, ipnet:91.121.0.0/16, country:FR]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[unrelenting.technology]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_TLS_ALL(0.00)[] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Nov 2018 20:07:50 -0000 On Mon, Nov 12, 2018 at 11:54 PM, Alex McKeever=20 wrote: > The CD or DVD show up fine in the device selection screen, but it=20 > won=FFt even boot the disc. What changed from 11.2 to 12.0 in regards=20 > to PowerPC Macs that are 32 bit? I've been able to boot various 12-CURRENT builds on my iBook G4 just=20 fine. What exactly do you mean by "won't even boot"? Do you see the loader=20 prompt when selecting the disc? = From owner-freebsd-current@freebsd.org Tue Nov 13 21:02:33 2018 Return-Path: Delivered-To: freebsd-current@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 476EC1131CCF for ; Tue, 13 Nov 2018 21:02:33 +0000 (UTC) (envelope-from shoesoft@gmx.net) Received: from mout.gmx.net (mout.gmx.net [212.227.17.20]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "mout.gmx.net", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 41B2577C28; Tue, 13 Nov 2018 21:02:32 +0000 (UTC) (envelope-from shoesoft@gmx.net) Received: from walrus.pepperland ([81.217.71.61]) by mail.gmx.com (mrgmx102 [212.227.17.168]) with ESMTPSA (Nemesis) id 0MJFBe-1gJufU0kQ6-002rsT; Tue, 13 Nov 2018 22:02:22 +0100 Subject: Re: No amdtemp sysctls, acpi errors, AMD Ryzen 5 2400G To: Daniel Eischen Cc: freebsd-current@freebsd.org References: <1542138631.2638.0@smtp.migadu.com> From: Stefan Ehmann Openpgp: preference=signencrypt Autocrypt: addr=shoesoft@gmx.net; prefer-enc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auwjk2TzQ44eP5ivS3pDiGMR qVImui+6wwlF9ZyVj8MZa9ejGOSrQ37JvE/Mx+S01LoX0037rlBxyFqYEpw8MJOImwARAQAB wsFlBBgBAgAPBQJTUTcyAhsMBQkJZgGAAAoJECL7xb7kT8VbA8IP/iJgD5Hvyebc8UHD2Jzk rAO2nhvik9fWeJM0eYF9X/w0MQdg5GanDfy79Z25l/HpvdTpXxfNBbrWkX4WWr0XMDM/qBpk EkyCZfTggmi0y7TMtq5tKSNOo8CJ99hTorE9mM1AY2G+hVTwIie9l+WIuHwZkUiue+5UlJCI AcJd7piJiqQ7dHFMITv+1TbJ2tzx3T+slPS7crCZi2P+3YBrD6hTcHODhCfo/llcLHSYVXYP C+IQIMFDdXBfqDCH6V0UAQ57gBhUv9dGp3IzxZCDplt3hIu6QhUk0j8q5e06YV08CEKC2JIw VFBfIQ1Ey+Ugo8ZCqxr/2jOIrtu0bUoxXyCh86zCigX4+HByRDA5YOCXhFqjJKqqVp76+Y+R 80SHYG1dmnGJ3Viy7Q4/ZyjEWrIsLspVMf5ASWvkFgsVYUAwsaCf+Ka5q7en/Stu8Vw4D+UJ xBEcc17fq1GlkBKfJ5p7GlZb21VKMkzRdJiaYkYkzYm38H7lo9dog4OIzA1SMNpAjwDbL7yR cR9KFkzegy71xH89NvfF1O0sKLrZd4YqD3dziQTB5pM2h9JNh7zwksT9jNxJ8L/bv9hvEJcF L0hw+1p9oarb20dowgIFEBqgmoDqRfcByssG4Uy8Yael4rsr04fsuGKUnUsxfZQ6GbnY474u MoQmdBQjEl36fxrH Message-ID: Date: Tue, 13 Nov 2018 22:02:20 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.3.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K1:Fclm6wJkV8oqDkLe11MNns2xYHQAGrz17G7dZfRhHFma9EYqQ+/ q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5JJoTjAdwEGuguN9khH5WekabrXwXcludMgtibvN8L+ GPSD79G145DaOgect+9Ugz/R169kAn+UeAbLTR1mkwWjiQqS2aG7CqxaXoSRGW X-Rspamd-Queue-Id: 41B2577C28 X-Spamd-Result: default: False [-2.06 / 200.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:212.227.17.0/27]; FREEMAIL_FROM(0.00)[gmx.net]; MIME_GOOD(-0.10)[text/plain]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DMARC_NA(0.00)[gmx.net]; NEURAL_SPAM_SHORT(0.23)[0.235,0]; NEURAL_HAM_LONG(-0.99)[-0.993,0]; IP_SCORE(0.08)[ipnet: 212.227.0.0/16(-0.11), asn: 8560(0.55), country: DE(-0.01)]; MX_GOOD(-0.01)[mx00.emig.gmx.net,mx01.emig.gmx.net]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_MEDIUM(-0.98)[-0.977,0]; RCVD_IN_DNSWL_LOW(-0.10)[20.17.227.212.list.dnswl.org : 127.0.3.1]; R_DKIM_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmx.net]; ASN(0.00)[asn:8560, ipnet:212.227.0.0/16, country:DE]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RECEIVED_SPAMHAUS_PBL(0.00)[61.71.217.81.zen.spamhaus.org : 127.0.0.11] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Nov 2018 21:02:33 -0000 On 11/13/18 8:59 PM, Daniel Eischen wrote: > On Tue, 13 Nov 2018, Greg V wrote: > >> >> >> On Tue, Nov 13, 2018 at 8:59 PM, Daniel Eischen >> wrote: >>> Greetings, >>> >>> 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. >>> >>> These are the ACPI-related warnings and errors during boot. >>> >>>    Firmware Warning (ACPI): Optional FADT field Pm2ControlBlock has >>> valid Length but zero Address: 0x0000000000000000/0x1 >>> (20181031/tbfadt-796) >> >> I see this one on my R7 1700 / X370 system, seems harmless. I also see this warning on the X470-pro with Ryzen 7 2700 on 12.0-BETA. But I don't get the Firmware errors below. >>>    acpi0: on motherboard >>>    Firmware Error (ACPI): Failure creating [\134_SB.SMIC], >>> AE_ALREADY_EXISTS (20181031/dswload2-477) >>>    ACPI Error: AE_ALREADY_EXISTS, During name lookup/catalog >>> (20181031/psobject-372) >>>    Firmware Error (ACPI): Failure creating [\134_SB.SMIB], >>> AE_ALREADY_EXISTS (20181031/dsfield-803) >> >> Looks like people see these on Linux: >> >> https://forum.manjaro.org/t/unstable-behaviour-not-always-completely-booting/55823/5 >> >> >> Are you on the latest firmware ("BIOS") revision for your board? > > Yes, it's an ASUS Prime X-470 PRO, and I'm running with the latest > BIOS from 2018 September 21, version 4024. > >   https://www.asus.com/us/Motherboards/PRIME-X470-PRO/HelpDesk_BIOS/ > After kldload amdtemp I see the following sysctls: dev.cpu.0.temperature: 77.1C dev.amdtemp.0.core0.sensor0: 77.1C The temperature I see in BIOS is much lower (maybe around 40.0C). Don't know if just the offset is wrong or the numbers are completely bogus. Numbers from sysutils/xmbmon look saner but not sure if they are correct. From owner-freebsd-current@freebsd.org Tue Nov 13 21:23:11 2018 Return-Path: Delivered-To: freebsd-current@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 2784011327CD for ; Tue, 13 Nov 2018 21:23:11 +0000 (UTC) (envelope-from cse.cem@gmail.com) Received: from mail-io1-f53.google.com (mail-io1-f53.google.com [209.85.166.53]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 76EA978E94; Tue, 13 Nov 2018 21:23:10 +0000 (UTC) (envelope-from cse.cem@gmail.com) Received: by mail-io1-f53.google.com with SMTP id r200so4571238iod.11; Tue, 13 Nov 2018 13:23:10 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:reply-to :from:date:message-id:subject:to:cc; bh=x102v5BNnWqDYu3igDMft0DjI9zbYPIp+J/LaRQnSGs=; b=V2IQkVbriwj8N9gtnUuPdLkt5UYuFP90vVzpNoo2aTgz9QQdfPdsZ6aBv8gBOIexp0 dUs21anb/q+tpwcoMDUpPLIiBM97sKHUEcQ+cGznJrpXTcwqTsQi2ZfMOlaxC6XVOASb mIdnwg89jaacFjTaNaxPyo2s4479z8n02cu3XUO+ZnoBzuEbPwxoviLJcXStObmtcZDT EZlQF3bAy6sbC+M5+l4F3ngluZetxYk6wQQxNRRrtTdYsW3Ocre0lIn0hRVbjFIn13gU 9OCgC/Jeiw1C9lcmnMwCBDsMsc0LBPP/SrrLy6FKdu7RZnfHNRejl6d/tjGbe04bvONU mIOw== X-Gm-Message-State: AGRZ1gLu2NPH2zpIT2suYzTA98uDCPLxdQ7VIL/wc1LnE6MUx2rRNTWm nTn7Oju29eB2ckcA2yRMhOObI/rD X-Google-Smtp-Source: AJdET5cJMYCwjLrdQKpB9lSs78vymryvCLgtJiAlHT8fxJ7oLHq9+HOY62WKAw2uhvyn9OPb51HIVA== X-Received: by 2002:a6b:c945:: with SMTP id z66mr2687792iof.254.1542143698703; Tue, 13 Nov 2018 13:14:58 -0800 (PST) Received: from mail-io1-f49.google.com (mail-io1-f49.google.com. [209.85.166.49]) by smtp.gmail.com with ESMTPSA id y190-v6sm6012084itg.19.2018.11.13.13.14.58 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 13 Nov 2018 13:14:58 -0800 (PST) Received: by mail-io1-f49.google.com with SMTP id a3so3367375ioc.4; Tue, 13 Nov 2018 13:14:58 -0800 (PST) X-Received: by 2002:a6b:b5d5:: with SMTP id e204-v6mr5167893iof.233.1542143697955; Tue, 13 Nov 2018 13:14:57 -0800 (PST) MIME-Version: 1.0 References: <1542138631.2638.0@smtp.migadu.com> In-Reply-To: Reply-To: cem@freebsd.org From: Conrad Meyer Date: Tue, 13 Nov 2018 13:14:46 -0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: No amdtemp sysctls, acpi errors, AMD Ryzen 5 2400G To: shoesoft@gmx.net Cc: Daniel Eischen , freebsd-current Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 76EA978E94 X-Spamd-Result: default: False [-4.05 / 200.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; HAS_REPLYTO(0.00)[cem@freebsd.org]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17]; REPLYTO_ADDR_EQ_FROM(0.00)[]; RCVD_COUNT_THREE(0.00)[4]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; NEURAL_HAM_SHORT(-0.93)[-0.931,0]; FORGED_SENDER(0.30)[cem@freebsd.org,csecem@gmail.com]; FREEMAIL_TO(0.00)[gmx.net]; RCVD_TLS_LAST(0.00)[]; R_DKIM_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; TAGGED_FROM(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_NEQ_ENVFROM(0.00)[cem@freebsd.org,csecem@gmail.com]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[freebsd.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[53.166.85.209.list.dnswl.org : 127.0.5.0]; IP_SCORE(-1.11)[ipnet: 209.85.128.0/17(-3.52), asn: 15169(-1.92), country: US(-0.09)] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Nov 2018 21:23:11 -0000 On Tue, Nov 13, 2018 at 1:04 PM Stefan Ehmann wrote: > After kldload amdtemp I see the following sysctls: > dev.cpu.0.temperature: 77.1C > dev.amdtemp.0.core0.sensor0: 77.1C > > The temperature I see in BIOS is much lower (maybe around 40.0C). Don't > know if just the offset is wrong or the numbers are completely bogus. > > Numbers from sysutils/xmbmon look saner but not sure if they are correct. You can adjust dev.amdtemp.N.sensor_offset as needed. By default, the amdtemp sysctl gives you the unadjusted value. On different Ryzen models the raw value is wrong by different amounts. E.g. on my 1950X, I have sensor_offset set to "-27" to show correct temperature readings. See this link for a table of offset values for various Ryzen models: https://www.guru3d.com/articles-pages/amd-ryzen-7-2700-review,7.html Take care, Conrad From owner-freebsd-current@freebsd.org Tue Nov 13 21:40:48 2018 Return-Path: Delivered-To: freebsd-current@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 EB61B1133288 for ; Tue, 13 Nov 2018 21:40:47 +0000 (UTC) (envelope-from deischen@freebsd.org) Received: from mail.netplex.net (mail.netplex.net [204.213.176.9]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.netplex.net", Issuer "RapidSSL RSA CA 2018" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 1995B79BCF for ; Tue, 13 Nov 2018 21:40:47 +0000 (UTC) (envelope-from deischen@freebsd.org) Received: from [10.187.228.234] (mobile-107-107-58-48.mycingular.net [107.107.58.48]) (authenticated bits=0) by mail.netplex.net (8.15.1/8.15.1/NETPLEX) with ESMTPSA id wADLei2g009789 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 13 Nov 2018 16:40:45 -0500 X-Virus-Scanned: by AMaViS and Clam AntiVirus (mail.netplex.net) X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.4.3 (mail.netplex.net [204.213.176.9]); Tue, 13 Nov 2018 16:40:46 -0500 (EST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (1.0) Subject: Re: No amdtemp sysctls, acpi errors, AMD Ryzen 5 2400G From: Daniel Eischen X-Mailer: iPhone Mail (16B92) In-Reply-To: Date: Tue, 13 Nov 2018 16:40:43 -0500 Cc: freebsd-current@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <03F26DF4-DF21-4AD4-A324-C7F3923C50FE@freebsd.org> References: <1542138631.2638.0@smtp.migadu.com> To: Stefan Ehmann X-Rspamd-Queue-Id: 1995B79BCF X-Spamd-Result: default: False [-102.59 / 200.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; ALLOW_DOMAIN_WHITELIST(-100.00)[freebsd.org]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[freebsd.org]; R_SPF_SOFTFAIL(0.00)[~all]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MX_GOOD(-0.01)[cached: mx66.freebsd.org]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_SHORT(-0.96)[-0.957,0]; FREEMAIL_TO(0.00)[gmx.net]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; IP_SCORE(-0.02)[country: US(-0.09)]; ASN(0.00)[asn:6062, ipnet:204.213.176.0/20, country:US]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Nov 2018 21:40:48 -0000 > On Nov 13, 2018, at 4:02 PM, Stefan Ehmann wrote: >=20 >> On 11/13/18 8:59 PM, Daniel Eischen wrote: >>> On Tue, 13 Nov 2018, Greg V wrote: >>>=20 >>>=20 >>>=20 >>> On Tue, Nov 13, 2018 at 8:59 PM, Daniel Eischen >>> wrote: >>>> Greetings, >>>>=20 >>>> 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. >>>>=20 >>>> These are the ACPI-related warnings and errors during boot. >>>>=20 >>>> Firmware Warning (ACPI): Optional FADT field Pm2ControlBlock has >>>> valid Length but zero Address: 0x0000000000000000/0x1 >>>> (20181031/tbfadt-796) >>>=20 >>> I see this one on my R7 1700 / X370 system, seems harmless. >=20 > I also see this warning on the X470-pro with Ryzen 7 2700 on 12.0-BETA. > But I don't get the Firmware errors below. What BIOS version are you using? I'm running 13-current built from just a f= ew days ago. Never had any temp sysctls since initial install (beginning of= October). >>>> acpi0: on motherboard >>>> Firmware Error (ACPI): Failure creating [\134_SB.SMIC], >>>> AE_ALREADY_EXISTS (20181031/dswload2-477) >>>> ACPI Error: AE_ALREADY_EXISTS, During name lookup/catalog >>>> (20181031/psobject-372) >>>> Firmware Error (ACPI): Failure creating [\134_SB.SMIB], >>>> AE_ALREADY_EXISTS (20181031/dsfield-803) >>>=20 >>> Looks like people see these on Linux: >>>=20 >>> https://forum.manjaro.org/t/unstable-behaviour-not-always-completely-boo= ting/55823/5 >>>=20 >>>=20 >>> Are you on the latest firmware ("BIOS") revision for your board? >>=20 >> Yes, it's an ASUS Prime X-470 PRO, and I'm running with the latest >> BIOS from 2018 September 21, version 4024. >>=20 >> https://www.asus.com/us/Motherboards/PRIME-X470-PRO/HelpDesk_BIOS/ >>=20 >=20 > After kldload amdtemp I see the following sysctls: > dev.cpu.0.temperature: 77.1C > dev.amdtemp.0.core0.sensor0: 77.1C >=20 > The temperature I see in BIOS is much lower (maybe around 40.0C). Don't > know if just the offset is wrong or the numbers are completely bogus. >=20 > Numbers from sysutils/xmbmon look saner but not sure if they are correct. Yeah, I don't have any sensors detected, but my BIOS reports around 39C, rig= ht around the same as yours. There are both motherboard and CPU temps in BI= OS, reporting just a couple of degrees difference. Overall, this system is very stable, haven't had any crashes or hangs. -- DE= From owner-freebsd-current@freebsd.org Tue Nov 13 22:09:46 2018 Return-Path: Delivered-To: freebsd-current@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 D9790113409E; Tue, 13 Nov 2018 22:09:45 +0000 (UTC) (envelope-from asomers@gmail.com) Received: from mail-lf1-f51.google.com (mail-lf1-f51.google.com [209.85.167.51]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 44ECE7ACF2; Tue, 13 Nov 2018 22:09:45 +0000 (UTC) (envelope-from asomers@gmail.com) Received: by mail-lf1-f51.google.com with SMTP id h192so10055903lfg.3; Tue, 13 Nov 2018 14:09:45 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=eVSb/6yWf5kfSUFGYd4VOZ0Zm6v+RP8IQB1hOBn/UUs=; b=dTqeIfyeDFK70ix6c3VncTBNCbV+D2YboKyaCWCfiCRmUdGNmwrGtduo8qqeH5zH36 K/09DtRDKFywHiM3EHNJsTwqnbR8FnyNQ883ry9AcQmnPzssktB10u7nCUzgabyGoMqd vhuAcEPrbZklMEW6ub+/Mm7WltNI0c4XPMK6u00r1evFF3Zy92VFzZ8chPpqNJuuLug6 7CMFMtAh5EByLtmZ+mio2SrgVuXr9NV7InvXYGgDuMt5j1B2LYXP5Q5XIkR+xhlLgsd5 QqFcfGpXXMi/C8jGx6cakMoKvKNme+OQ/89+SViYG97XrUVtghlEDU5Wr23VUIX+uwAy 9vog== X-Gm-Message-State: AGRZ1gJLpkKF8yHNTDZB5bMnt629704YbBktY6NzRxeYa+n3ZA8CsNsS V2rOs3BRejzBxlqxIcAJF/+d4fFWL4913HjHX+PYPw== X-Google-Smtp-Source: AJdET5c4NMBOKlpRUaMW5suYzwf7VLZr7ATJp7y6adlIpOLqhpcLEVNuUejTc+FTiXmCy+z5WenAM3ZkhQS7zDWnVX4= X-Received: by 2002:a19:d8ea:: with SMTP id r103mr4262631lfi.146.1542146977324; Tue, 13 Nov 2018 14:09:37 -0800 (PST) MIME-Version: 1.0 From: Alan Somers Date: Tue, 13 Nov 2018 15:09:24 -0700 Message-ID: Subject: Hole-punching, TRIM, etc To: freebsd-arch@freebsd.org, freebsd-fs , FreeBSD CURRENT X-Rspamd-Queue-Id: 44ECE7ACF2 X-Spamd-Result: default: False [-4.06 / 200.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; RCVD_TLS_LAST(0.00)[]; DMARC_NA(0.00)[freebsd.org]; TO_DN_SOME(0.00)[]; NEURAL_HAM_LONG(-1.00)[-0.999,0]; IP_SCORE(-1.10)[ipnet: 209.85.128.0/17(-3.50), asn: 15169(-1.91), country: US(-0.09)]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; NEURAL_HAM_SHORT(-0.95)[-0.946,0]; RCVD_IN_DNSWL_NONE(0.00)[51.167.85.209.list.dnswl.org : 127.0.5.0]; FORGED_SENDER(0.30)[asomers@freebsd.org,asomers@gmail.com]; R_DKIM_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; FROM_NEQ_ENVFROM(0.00)[asomers@freebsd.org,asomers@gmail.com]; RCVD_COUNT_TWO(0.00)[2] X-Rspamd-Server: mx1.freebsd.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Nov 2018 22:09:46 -0000 Hole-punching has been discussed on these lists before[1]. It basically means to turn a dense file into a sparse file by deallocating storage for some of the blocks in the middle. There's no standard API for it. Linux uses fallocate(2); Solaris and OSX add a new opcode to fcntl(2). A related concept is telling a block device that some blocks are no longer used. SATA calls this "TRIM", SCSI calls it "UNMAP", NVMe calls it "Deallocate", ZBC and ZAC call it "Reset Write Pointer". They all do basically the same thing, and it's analogous to hole-punching for regular files. They are also all inaccessible from FreeBSD's userland except by using pass(4), which is inconvenient and protocol-specific. Linux has a BLKDISCARD ioctl for issuing TRIM-like commands from userland, but it's totally undocumented and doesn't work on regular files. I propose adding support for all of these things using the fcntl(2) API. Using the same syntax that Solaris defined, you would be able to punch a hole in a regular file or TRIM blocks from an SSD. ZFS already supports it (though FreeBSD's port never did, and the code was deleted in r303763). Here's what I would do: 1) Add the F_FREESP command to fcntl(2). 2) Add a .fo_space field for struct fileops 3) Add a devfs_space method that implements .fo_space 4) Add a .d_space field to struct cdevsw 5) Add a g_dev_space method for GEOM that implements .d_space using BIO_DELETE. 6) Add a VOP_SPACE vop 7) Implement VOP_SPACE for tmpfs 8) Add aio_freesp(2), an asynchronous version of fcntl(F_FREESP). The greatest beneficiaries of this work would be type 2 hypervisors like QEMU and VirtualBox with guests that use TRIM, and userland filesystems such as fusefs-ext2 and fusefs-exfat. High-performance storage systems using SPDK would also benefit. The last item, aio_freesp(2), may seem unnecessary but it would really benefit my application. Questions, objections, flames? -Alan [1] https://lists.freebsd.org/pipermail/freebsd-fs/2011-March/010881.html From owner-freebsd-current@freebsd.org Tue Nov 13 22:50:49 2018 Return-Path: Delivered-To: freebsd-current@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 C7ABE1135318 for ; Tue, 13 Nov 2018 22:50:48 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-it1-x12b.google.com (mail-it1-x12b.google.com [IPv6:2607:f8b0:4864:20::12b]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B7C4C7C779 for ; Tue, 13 Nov 2018 22:50:47 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-it1-x12b.google.com with SMTP id r12-v6so21006686ita.3 for ; Tue, 13 Nov 2018 14:50:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Ws4zhpBlCIfAr0x3JvA2o1yRCxRrylKMoR6MwFPBvaE=; b=1R+KTNqoF1Z4nStNPyYG7CucyA2U+za7fsnNc3kheEpPciZIPQdOeFLzaS6+n//J60 HkBg+Or22y8O0VpoxKN0JbTrpyBMyPPQiubvrx0xSnI+7goCblXqzzt93fxn8JhcOm13 gelIb4gGLhpdy3XNBXKi/tR2SxFIk/l8DG/fOJ9p+kpEwIGRth5tCEVikXTYrhHLmIJW FdpISED3upbDFP9SB6SQSpQ1nfKd2bVLqRuHVcVDibd2JihJpLY2PcTucMYdMi0Mdkpz hHOq/ntYFjrRW9BjKWYBrA01guXDnXENkLsZ30dUoYxsQlo1vVXAa6ks0aQ6Vq+tsUxL jI2g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Ws4zhpBlCIfAr0x3JvA2o1yRCxRrylKMoR6MwFPBvaE=; b=bsrJapMBnPY4BVgr94qYN1byxcXYtUrKZDkGP3y992nnP1Kp9t3+bHwCkQM072PRfE mup4JRWvc01ND1h4qPliELaQN4GJKW736qENCT4WK9ftKVseVKW7gqNB3zjWPzsVrpjU L+JiLTnEhSVg8KrrSuJmi/p1ce+N8P7vmvirPPFcR/Ohu190T92+cwklVMT+0i+AKlz+ tyDmPbFjohwe9NpdK8MZ0E4WPgeXQhZ54nPVvyctrU8Yl2MByyF9uxC+aPWsl0vwIIRl pgChu2dbQlkpCuc/AZ54rQbCW71hCRHn6N9xOuROLpjjkK+ruPJK9/5GhlwhwczYbSfJ nA0w== X-Gm-Message-State: AGRZ1gJvg+HLV9mOT+2NFCYIUiXMU7yYbtWfC5rCspqCTqEKwmJWgfwS MhV686V9cBxXpZ2IWQ+dXWBDo7EnUtxvIc1lziNS0/Xy X-Google-Smtp-Source: AJdET5cadNmAB1aQwTMDeQsVM8FPmwqWdweg09TChImN/MG1LLTwFQJbtIaUDzfr2Dbiof3Aak0RpVrTeJjhBuiB3VQ= X-Received: by 2002:a24:eb0b:: with SMTP id h11-v6mr5341529itj.47.1542149446783; Tue, 13 Nov 2018 14:50:46 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Warner Losh Date: Tue, 13 Nov 2018 15:50:35 -0700 Message-ID: Subject: Re: Hole-punching, TRIM, etc To: Alan Somers Cc: "freebsd-arch@freebsd.org" , FreeBSD FS , FreeBSD Current X-Rspamd-Queue-Id: B7C4C7C779 X-Spamd-Result: default: False [-5.36 / 200.00]; ARC_NA(0.00)[]; TO_DN_EQ_ADDR_SOME(0.00)[]; R_DKIM_ALLOW(-0.20)[bsdimp-com.20150623.gappssmtp.com]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; TO_DN_SOME(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; DMARC_NA(0.00)[bsdimp.com]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[bsdimp-com.20150623.gappssmtp.com:+]; MX_GOOD(-0.01)[cached: ALT1.aspmx.l.google.com]; RCVD_IN_DNSWL_NONE(0.00)[b.2.1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; NEURAL_HAM_SHORT(-0.98)[-0.977,0]; R_SPF_NA(0.00)[]; FORGED_SENDER(0.30)[imp@bsdimp.com,wlosh@bsdimp.com]; RCVD_TLS_LAST(0.00)[]; IP_SCORE(-2.37)[ip: (-6.94), ipnet: 2607:f8b0::/32(-2.89), asn: 15169(-1.92), country: US(-0.09)]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; FROM_NEQ_ENVFROM(0.00)[imp@bsdimp.com,wlosh@bsdimp.com]; RCVD_COUNT_TWO(0.00)[2] X-Rspamd-Server: mx1.freebsd.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Nov 2018 22:50:49 -0000 On Tue, Nov 13, 2018 at 3:10 PM Alan Somers wrote: > Hole-punching has been discussed on these lists before[1]. It basically > means to turn a dense file into a sparse file by deallocating storage for > some of the blocks in the middle. There's no standard API for it. Linux > uses fallocate(2); Solaris and OSX add a new opcode to fcntl(2). > > A related concept is telling a block device that some blocks are no longer > used. SATA calls this "TRIM", SCSI calls it "UNMAP", NVMe calls it > "Deallocate", ZBC and ZAC call it "Reset Write Pointer". They all do > basically the same thing, and it's analogous to hole-punching for regular > files. They are also all inaccessible from FreeBSD's userland except by > using pass(4), which is inconvenient and protocol-specific. > > Linux has a BLKDISCARD ioctl for issuing TRIM-like commands from userland, > but it's totally undocumented and doesn't work on regular files. > > I propose adding support for all of these things using the fcntl(2) API. > Using the same syntax that Solaris defined, you would be able to punch a > hole in a regular file or TRIM blocks from an SSD. ZFS already supports it > (though FreeBSD's port never did, and the code was deleted in r303763). > Here's what I would do: > > 1) Add the F_FREESP command to fcntl(2). > 2) Add a .fo_space field for struct fileops > 3) Add a devfs_space method that implements .fo_space > 4) Add a .d_space field to struct cdevsw > 5) Add a g_dev_space method for GEOM that implements .d_space using > BIO_DELETE. > 6) Add a VOP_SPACE vop > 7) Implement VOP_SPACE for tmpfs > 8) Add aio_freesp(2), an asynchronous version of fcntl(F_FREESP). > > The greatest beneficiaries of this work would be type 2 hypervisors like > QEMU and VirtualBox with guests that use TRIM, and userland filesystems > such as fusefs-ext2 and fusefs-exfat. High-performance storage systems > using SPDK would also benefit. The last item, aio_freesp(2), may seem > unnecessary but it would really benefit my application. > > Questions, objections, flames? > So the fcntl would deallocate blocks from a filesystem only. The filesystem may issue BIO_DELETE as a result, but that's up to the filesystem, correct? On a raw device it would be translated into a BIO_DELETE command directly, correct? Warner From owner-freebsd-current@freebsd.org Tue Nov 13 22:51:55 2018 Return-Path: Delivered-To: freebsd-current@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 03D1011355BA; Tue, 13 Nov 2018 22:51:55 +0000 (UTC) (envelope-from cse.cem@gmail.com) Received: from mail-io1-f65.google.com (mail-io1-f65.google.com [209.85.166.65]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 6A01B7CA60; Tue, 13 Nov 2018 22:51:54 +0000 (UTC) (envelope-from cse.cem@gmail.com) Received: by mail-io1-f65.google.com with SMTP id r6-v6so7501029ioj.8; Tue, 13 Nov 2018 14:51:54 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:reply-to :from:date:message-id:subject:to:cc; bh=+PmeIs7zhpfoqy5mSMDcleez4OCZmHr4/DaKgEJgtmM=; b=czHGGn2GlZ9q0aVDLcW9FOk+mzVHdGEtauyTMcelEurB8qhIZVFw//mSOXbor7gDM5 P/11f3rnhB9g8iaPOAEUImZQe9t4Jyqs8Yf34lNLlAbJEzy2c7Cm5bv3N0H1ZdvFE2tF 4tH1rntE8D25UHeKDt97qmVLxj5xp7SaM/y0N9H37mW2GHlhx3pzIhZ3iAfZ45e8yKXs 2Fg31k/OmpOksQUkiP6Ruq3Hc1+muNlUi+g4iFelMRLfSN/BpeHsqThA2M446+qMBHUb CihbSe0WkUStwRPYB/N/AHz6WfpILe43Z10v1XdBD+T5ufbrmbu1+WdwizscLYAKtVbo /Dhw== X-Gm-Message-State: AGRZ1gKdF1/EF8ZPGrORpgcMbduIlJW//IewPWl2e0knDLh5Edsvdzyw CrTuEoK5Nz7SFvqkPX0b8fGXYSCG X-Google-Smtp-Source: AJdET5cR3tEbbKbErDV+4Ic0TxiSnOqcjbzm3WV1ETlka1uV8ZmW3Tk8Vsrygn5sFLNDCTTQn7bMfQ== X-Received: by 2002:a6b:bc86:: with SMTP id m128-v6mr4453692iof.212.1542149508211; Tue, 13 Nov 2018 14:51:48 -0800 (PST) Received: from mail-io1-f54.google.com (mail-io1-f54.google.com. [209.85.166.54]) by smtp.gmail.com with ESMTPSA id u68-v6sm5805177itd.1.2018.11.13.14.51.48 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 13 Nov 2018 14:51:48 -0800 (PST) Received: by mail-io1-f54.google.com with SMTP id w7so2584505iom.12; Tue, 13 Nov 2018 14:51:48 -0800 (PST) X-Received: by 2002:a6b:6119:: with SMTP id v25mr6119881iob.107.1542149507555; Tue, 13 Nov 2018 14:51:47 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: Reply-To: cem@freebsd.org From: Conrad Meyer Date: Tue, 13 Nov 2018 14:51:36 -0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: Hole-punching, TRIM, etc To: Alan Somers Cc: "freebsd-arch@freebsd.org" , freebsd-fs , freebsd-current Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 6A01B7CA60 X-Spamd-Result: default: False [-4.03 / 200.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; HAS_REPLYTO(0.00)[cem@freebsd.org]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17]; REPLYTO_ADDR_EQ_FROM(0.00)[]; RCVD_COUNT_THREE(0.00)[4]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; NEURAL_HAM_SHORT(-0.93)[-0.926,0]; FORGED_SENDER(0.30)[cem@freebsd.org,csecem@gmail.com]; RCVD_TLS_LAST(0.00)[]; R_DKIM_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; TAGGED_FROM(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_NEQ_ENVFROM(0.00)[cem@freebsd.org,csecem@gmail.com]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[freebsd.org]; IP_SCORE(-1.10)[ipnet: 209.85.128.0/17(-3.47), asn: 15169(-1.92), country: US(-0.09)]; RCVD_IN_DNSWL_NONE(0.00)[65.166.85.209.list.dnswl.org : 127.0.5.0]; RWL_MAILSPIKE_POSSIBLE(0.00)[65.166.85.209.rep.mailspike.net : 127.0.0.17] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Nov 2018 22:51:55 -0000 Hi Alan, On Tue, Nov 13, 2018 at 2:10 PM Alan Somers wrote: > > Hole-punching has been discussed on these lists before[1]. It basically > means to turn a dense file into a sparse file by deallocating storage for > some of the blocks in the middle. There's no standard API for it. Linux > uses fallocate(2); Solaris and OSX add a new opcode to fcntl(2). > > A related concept is telling a block device that some blocks are no longer > used. SATA calls this "TRIM", SCSI calls it "UNMAP", NVMe calls it > "Deallocate", ZBC and ZAC call it "Reset Write Pointer". They all do > basically the same thing, and it's analogous to hole-punching for regular > files. They are also all inaccessible from FreeBSD's userland except by > using pass(4), which is inconvenient and protocol-specific. Geom devices have the DIOCGDELETE ioctl, which translates into BIO_DELETE (which is TRIM, as I understand it). It's available in libgeom as g_delete() and used by hastd, newfs_nandfs, and nandtool. > Linux has a BLKDISCARD ioctl for issuing TRIM-like commands from userland, > but it's totally undocumented and doesn't work on regular files. > > I propose adding support for all of these things using the fcntl(2) API. > Using the same syntax that Solaris defined, you would be able to punch a > hole in a regular file or TRIM blocks from an SSD. ZFS already supports it > (though FreeBSD's port never did, and the code was deleted in r303763). > Here's what I would do: > > 1) Add the F_FREESP command to fcntl(2). > 2) Add a .fo_space field for struct fileops > 3) Add a devfs_space method that implements .fo_space > 4) Add a .d_space field to struct cdevsw > 5) Add a g_dev_space method for GEOM that implements .d_space using > BIO_DELETE. > 6) Add a VOP_SPACE vop > 7) Implement VOP_SPACE for tmpfs > 8) Add aio_freesp(2), an asynchronous version of fcntl(F_FREESP). Why not just add DIOCGDELETE support to various VOP_IOCTL implementations? The file objects forward correctly through vn_ioctl to VOP_IOCTL for both regular files and devfs VCHR nodes. We can emulate the Linux API if we want to be compatible there, but I wouldn't bother with Solaris. Best, Conrad From owner-freebsd-current@freebsd.org Tue Nov 13 22:52:59 2018 Return-Path: Delivered-To: freebsd-current@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 0817511357C3; Tue, 13 Nov 2018 22:52:58 +0000 (UTC) (envelope-from asomers@gmail.com) Received: from mail-lf1-f53.google.com (mail-lf1-f53.google.com [209.85.167.53]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2E8F17CD2D; Tue, 13 Nov 2018 22:52:58 +0000 (UTC) (envelope-from asomers@gmail.com) Received: by mail-lf1-f53.google.com with SMTP id b20so10083877lfa.12; Tue, 13 Nov 2018 14:52:58 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=ZK85MHLf8ksY8etL0PhkjbuwjI1pJ5lY+lQWrLz3F8M=; b=IQWi+OaheTkmYBao5MT7LwxvaVtSC6hXIyPnyu4/f/4AfWL3eoM9zPb0ryUXyVWFBj S0zvASIyUKu3WQVxYG+K2Rurkt1iaRScO3v7OME3RKqWSGjBP3hhgdZOdZ9YEqwwkDXv foGQcWQA+R9Vpi3SZPgsNyCi3WNw0IeAAvgv0kuNe2ItIQQl+PXeEDSk+Su/UGRoUOta ISWUcKjW8hXuEr7sUGgmcGR+nk8MNLYiZlEeSU3Y512EHuSrdgBXoD0gXzNF/4U/POXY GWkKXCnM1svCIRuqvhTLjrZ+zpZ24kvBb1iLmx057E6y5LE7noqeCTMI+B89JI9MLxcT 7aWQ== X-Gm-Message-State: AGRZ1gK3dfRiCHovLdPNCzKKYOlLjCxpoGB7HnWJCf/0G6nISTPmIiS1 fuMl9M5WxdltoosAFbGp93fcKKRS3kdyYRcXMT0= X-Google-Smtp-Source: AJdET5czx7NQnrqgZ9pOOzjLTTy4T92jKwtFHN/kNWaz2KeGw2ig9H0BqS7XSp/6UI5ZThwxo86DHbZJay1egIuGSgA= X-Received: by 2002:a19:c396:: with SMTP id t144mr3855397lff.110.1542149571269; Tue, 13 Nov 2018 14:52:51 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Alan Somers Date: Tue, 13 Nov 2018 15:52:39 -0700 Message-ID: Subject: Re: Hole-punching, TRIM, etc To: Warner Losh Cc: freebsd-arch@freebsd.org, freebsd-fs , FreeBSD CURRENT X-Rspamd-Queue-Id: 2E8F17CD2D X-Spamd-Result: default: False [-4.07 / 200.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; RCVD_TLS_LAST(0.00)[]; DMARC_NA(0.00)[freebsd.org]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; NEURAL_HAM_SHORT(-0.97)[-0.968,0]; RCVD_IN_DNSWL_NONE(0.00)[53.167.85.209.list.dnswl.org : 127.0.5.0]; IP_SCORE(-1.10)[ipnet: 209.85.128.0/17(-3.47), asn: 15169(-1.91), country: US(-0.09)]; FORGED_SENDER(0.30)[asomers@freebsd.org,asomers@gmail.com]; RWL_MAILSPIKE_POSSIBLE(0.00)[53.167.85.209.rep.mailspike.net : 127.0.0.17]; R_DKIM_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; FROM_NEQ_ENVFROM(0.00)[asomers@freebsd.org,asomers@gmail.com]; RCVD_COUNT_TWO(0.00)[2] X-Rspamd-Server: mx1.freebsd.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Nov 2018 22:52:59 -0000 On Tue, Nov 13, 2018 at 3:51 PM Warner Losh wrote: > > > On Tue, Nov 13, 2018 at 3:10 PM Alan Somers wrote: > >> Hole-punching has been discussed on these lists before[1]. It basically >> means to turn a dense file into a sparse file by deallocating storage for >> some of the blocks in the middle. There's no standard API for it. Linux >> uses fallocate(2); Solaris and OSX add a new opcode to fcntl(2). >> >> A related concept is telling a block device that some blocks are no longer >> used. SATA calls this "TRIM", SCSI calls it "UNMAP", NVMe calls it >> "Deallocate", ZBC and ZAC call it "Reset Write Pointer". They all do >> basically the same thing, and it's analogous to hole-punching for regular >> files. They are also all inaccessible from FreeBSD's userland except by >> using pass(4), which is inconvenient and protocol-specific. >> >> Linux has a BLKDISCARD ioctl for issuing TRIM-like commands from userland, >> but it's totally undocumented and doesn't work on regular files. >> >> I propose adding support for all of these things using the fcntl(2) API. >> Using the same syntax that Solaris defined, you would be able to punch a >> hole in a regular file or TRIM blocks from an SSD. ZFS already supports >> it >> (though FreeBSD's port never did, and the code was deleted in r303763). >> Here's what I would do: >> >> 1) Add the F_FREESP command to fcntl(2). >> 2) Add a .fo_space field for struct fileops >> 3) Add a devfs_space method that implements .fo_space >> 4) Add a .d_space field to struct cdevsw >> 5) Add a g_dev_space method for GEOM that implements .d_space using >> BIO_DELETE. >> 6) Add a VOP_SPACE vop >> 7) Implement VOP_SPACE for tmpfs >> 8) Add aio_freesp(2), an asynchronous version of fcntl(F_FREESP). >> >> The greatest beneficiaries of this work would be type 2 hypervisors like >> QEMU and VirtualBox with guests that use TRIM, and userland filesystems >> such as fusefs-ext2 and fusefs-exfat. High-performance storage systems >> using SPDK would also benefit. The last item, aio_freesp(2), may seem >> unnecessary but it would really benefit my application. >> >> Questions, objections, flames? >> > > So the fcntl would deallocate blocks from a filesystem only. The > filesystem may issue BIO_DELETE as a result, but that's up to the > filesystem, correct? > Correct. > > On a raw device it would be translated into a BIO_DELETE command directly, > correct? > Correct, modulo edge cases. > > Warner > From owner-freebsd-current@freebsd.org Tue Nov 13 22:56:38 2018 Return-Path: Delivered-To: freebsd-current@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 9744B1135AE1 for ; Tue, 13 Nov 2018 22:56:38 +0000 (UTC) (envelope-from rozhuk.im@gmail.com) Received: from mail-lf1-x132.google.com (mail-lf1-x132.google.com [IPv6:2a00:1450:4864:20::132]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id BC9E17D158; Tue, 13 Nov 2018 22:56:37 +0000 (UTC) (envelope-from rozhuk.im@gmail.com) Received: by mail-lf1-x132.google.com with SMTP id l10so6509010lfh.9; Tue, 13 Nov 2018 14:56:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:date:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=bLT+Tksam965Rqhp6c0cawUy0TpdnGm64+q+KNyjuxo=; b=oOZrRkoIxVd84GAXlJhtg9Coq5c4q7/g3V44PeWyZGP7utgGmFaVrzjhZhFJ7wT7zL 9p4Jzv8Hb5oH/J+6ZfC/UgfJS/CFRETYISPScb6neO9BBU+NQDn6Fty4WqhvI8hZTZNM P4eox6QPPvx+xqbEiK3W249H6bFogSFIBL2Q9Bk9eY6b4SnVSGdp9jtyqtZlAfoSf7YR 6Pe/jRfuAHhcjzjz1j70TeyktpE6lxVDna+EGRGNj+JZKBLJLT8SonYiy7XPCdgubbUt zJFqwjAFIQx/Qfy8/vW+13449BV/5QpAzM6pxddkWZVV3U4/nHT3bfHYuX+Mi7V4kSsT R/kQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:date:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=bLT+Tksam965Rqhp6c0cawUy0TpdnGm64+q+KNyjuxo=; b=a1DKPaLqdEb7l3hdqXYJjfPNenNHwVxIDpGpj8LU973JFJ3mWJEzDC92HTopJG3CHz BCmxkw6BaiMxtC+UZJqj6xLpX3ztzVIhKuUeVV9Ut4fjXX0RPhK3vhom9d/3J/WMEQA2 xAq8r5vfiCCLm9PuNQeEE7jbpUgjYm3QRLuQ2zwubaD7rmc/bpXBZ0eRumbTUL3nb0BZ NBMhCXqGEX3A7Sw74c8lo2tmLtg6Xtzbj2NIpuSnOP2EK5nnBrGjwqFWl876gfX0ctQa 34LSQLCbOhXl/DcOc9SMsobWLR9rLLqO1f0ccWXlBsvIHERsYO/+WEo15+IrOvXak4xe 1J1A== X-Gm-Message-State: AGRZ1gKwUjLb+0SrjSCQD2gYRGFY+2pcvknelTLotTJJ453q8tCH5Dh/ cU6R17uZYc/w5qXfFPXYqSU7HnCoGSo= X-Google-Smtp-Source: AJdET5cGxjGPF1YHdGPWY1mqoLRHk2h/sf9jnT6sgo/VWUS8NZF7aRYmeMYEFKPkPbhm4xg/wII1lg== X-Received: by 2002:a19:5a84:: with SMTP id y4mr4119506lfk.156.1542149795929; Tue, 13 Nov 2018 14:56:35 -0800 (PST) Received: from localhost ([2001:470:1f15:3d8:7285:c2ff:fe37:5722]) by smtp.gmail.com with ESMTPSA id 10sm3507462lff.62.2018.11.13.14.56.34 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 13 Nov 2018 14:56:35 -0800 (PST) From: Rozhuk Ivan X-Google-Original-From: Rozhuk Ivan Date: Wed, 14 Nov 2018 01:56:29 +0300 To: Conrad Meyer Cc: shoesoft@gmx.net, Daniel Eischen , freebsd-current Subject: Re: No amdtemp sysctls, acpi errors, AMD Ryzen 5 2400G Message-ID: <20181114015629.7086d55c@gmail.com> In-Reply-To: References: <1542138631.2638.0@smtp.migadu.com> X-Mailer: Claws Mail 3.16.0 (GTK+ 2.24.32; amd64-portbld-freebsd11.2) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: BC9E17D158 X-Spamd-Result: default: False [-4.72 / 200.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[gmail.com:+]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; NEURAL_HAM_SHORT(-0.92)[-0.920,0]; FROM_EQ_ENVFROM(0.00)[]; IP_SCORE(-0.79)[ipnet: 2a00:1450::/32(-1.95), asn: 15169(-1.91), country: US(-0.09)]; RCVD_TLS_LAST(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; TAGGED_FROM(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2.3.1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.5.4.1.0.0.a.2.list.dnswl.org : 127.0.5.0]; FREEMAIL_CC(0.00)[gmx.net] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Nov 2018 22:56:38 -0000 On Tue, 13 Nov 2018 13:14:46 -0800 Conrad Meyer wrote: > You can adjust dev.amdtemp.N.sensor_offset as needed. By default, the > amdtemp sysctl gives you the unadjusted value. On different Ryzen > models the raw value is wrong by different amounts. E.g. on my 1950X, > I have sensor_offset set to "-27" to show correct temperature > readings. > Looks like new AGESA/BIOS change something, my fork of amdtemp now show (read) same value as on onboard led in "CurTmpTjSel" ... dev.amdtemp.0.rtc.CurTmpTjSel: 47.7C dev.amdtemp.0.rtc.CurTmp: 96.7C ... 49C diff, this was some sort of offset for older AMD CPU, used to calc CurTmpTjSel then it set to 3. From owner-freebsd-current@freebsd.org Tue Nov 13 22:58:48 2018 Return-Path: Delivered-To: freebsd-current@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 E293F1135C0B; Tue, 13 Nov 2018 22:58:47 +0000 (UTC) (envelope-from asomers@gmail.com) Received: from mail-lj1-f176.google.com (mail-lj1-f176.google.com [209.85.208.176]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2FEB47D331; Tue, 13 Nov 2018 22:58:47 +0000 (UTC) (envelope-from asomers@gmail.com) Received: by mail-lj1-f176.google.com with SMTP id z80-v6so12393409ljb.8; Tue, 13 Nov 2018 14:58:47 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=DPf/CmtPspLOBYHDGh2sS9n6Y0SVtBnwrdowwYhItZM=; b=BpBJK9R1xttSJT/keHXAH8MEM2cltEiVaoTZ21iId+iWx8/1SztvUmjsjoANzr/tHK 4oTtSJ18IwmwESH5ZyyCgKyP1cWuhtIL188XHwnpcEf65VM1KU01nwXkItDwpPuqdIXO +NTnS1W75n4yjwtDvh5veus8G4GA74VdUrjUlFXHpSq13qpDSyyogx0WZaP5mt9EpD1f GErts28fxym3DeBeX1wKgzCNhUJ74cK1EsjDjB90uLV6nHLFbUHBqm7Oq5ayDz59RnIh o08gUUZacAblqEiNOWmfhyVWkDPNi2Z2MWeSNCdKQ/vYNuEgNBOD4rH9Pbnrf6g+FF0w A97Q== X-Gm-Message-State: AGRZ1gIpIHEGXcwUYG+ZXLBzDkKYDlMORvZEeJcMyZv/28WLeDFe94vr AY5rW4HWyxJuFtMeM26bk1xd9ZM7dRFhEhlzL1iZqQ== X-Google-Smtp-Source: AJdET5fuShSOKx89sTzrkUQgE/J5ru2Muf3WOGoXRSpQmEVHfwxp8uRnFpK0hX+D9WBeHYMK1CQipXkC/E07ZH1uPzM= X-Received: by 2002:a2e:9356:: with SMTP id m22-v6mr4156127ljh.135.1542149918206; Tue, 13 Nov 2018 14:58:38 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Alan Somers Date: Tue, 13 Nov 2018 15:58:26 -0700 Message-ID: Subject: Re: Hole-punching, TRIM, etc To: "Conrad E. Meyer" Cc: freebsd-arch@freebsd.org, freebsd-fs , FreeBSD CURRENT X-Rspamd-Queue-Id: 2FEB47D331 X-Spamd-Result: default: False [-4.07 / 200.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; RCVD_TLS_LAST(0.00)[]; DMARC_NA(0.00)[freebsd.org]; TO_DN_SOME(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; IP_SCORE(-1.09)[ipnet: 209.85.128.0/17(-3.46), asn: 15169(-1.91), country: US(-0.09)]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; NEURAL_HAM_SHORT(-0.97)[-0.968,0]; RCVD_IN_DNSWL_NONE(0.00)[176.208.85.209.list.dnswl.org : 127.0.5.0]; FORGED_SENDER(0.30)[asomers@freebsd.org,asomers@gmail.com]; R_DKIM_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; FROM_NEQ_ENVFROM(0.00)[asomers@freebsd.org,asomers@gmail.com]; RCVD_COUNT_TWO(0.00)[2] X-Rspamd-Server: mx1.freebsd.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Nov 2018 22:58:48 -0000 On Tue, Nov 13, 2018 at 3:51 PM Conrad Meyer wrote: > Hi Alan, > > On Tue, Nov 13, 2018 at 2:10 PM Alan Somers wrote: > > > > Hole-punching has been discussed on these lists before[1]. It basically > > means to turn a dense file into a sparse file by deallocating storage for > > some of the blocks in the middle. There's no standard API for it. Linux > > uses fallocate(2); Solaris and OSX add a new opcode to fcntl(2). > > > > A related concept is telling a block device that some blocks are no > longer > > used. SATA calls this "TRIM", SCSI calls it "UNMAP", NVMe calls it > > "Deallocate", ZBC and ZAC call it "Reset Write Pointer". They all do > > basically the same thing, and it's analogous to hole-punching for regular > > files. They are also all inaccessible from FreeBSD's userland except by > > using pass(4), which is inconvenient and protocol-specific. > > Geom devices have the DIOCGDELETE ioctl, which translates into > BIO_DELETE (which is TRIM, as I understand it). It's available in > libgeom as g_delete() and used by hastd, newfs_nandfs, and nandtool. > Ahh, I thought there must be such a thing, but I couldn't find it. > > > Linux has a BLKDISCARD ioctl for issuing TRIM-like commands from > userland, > > but it's totally undocumented and doesn't work on regular files. > > > > I propose adding support for all of these things using the fcntl(2) API. > > Using the same syntax that Solaris defined, you would be able to punch a > > hole in a regular file or TRIM blocks from an SSD. ZFS already supports > it > > (though FreeBSD's port never did, and the code was deleted in r303763). > > Here's what I would do: > > > > 1) Add the F_FREESP command to fcntl(2). > > 2) Add a .fo_space field for struct fileops > > 3) Add a devfs_space method that implements .fo_space > > 4) Add a .d_space field to struct cdevsw > > 5) Add a g_dev_space method for GEOM that implements .d_space using > > BIO_DELETE. > > 6) Add a VOP_SPACE vop > > 7) Implement VOP_SPACE for tmpfs > > 8) Add aio_freesp(2), an asynchronous version of fcntl(F_FREESP). > > Why not just add DIOCGDELETE support to various VOP_IOCTL > implementations? The file objects forward correctly through vn_ioctl > to VOP_IOCTL for both regular files and devfs VCHR nodes. > > We can emulate the Linux API if we want to be compatible there, but I > wouldn't bother with Solaris. > The only reason that I prefer the Solaris API is because it doesn't require adding another syscall, and because Linux's fallocate(2) does a whole bunch of other things besides hole-punching. What about an asynchronous version? ioctl(2) is still synchronous. Do you see any better way to hole-punch/TRIM asynchronously than with aio? > > Best, > Conrad > From owner-freebsd-current@freebsd.org Tue Nov 13 22:58:58 2018 Return-Path: Delivered-To: freebsd-current@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 C27931135C8E for ; Tue, 13 Nov 2018 22:58:57 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-io1-xd32.google.com (mail-io1-xd32.google.com [IPv6:2607:f8b0:4864:20::d32]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D07257D3EE for ; Tue, 13 Nov 2018 22:58:56 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-io1-xd32.google.com with SMTP id t81-v6so10260448iod.10 for ; Tue, 13 Nov 2018 14:58:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=CqMUpo493atzjgSsixYS/AHpw8MT4SJMAwHthPoo5oI=; b=eQOOhp1HL/CWvF3DBRFGqOp99pDToSgvqqzefes/wNDYPLo1yxHxnvQiXh1a1wUBXM IYnhDxwMzUvvaDW6Rvk6zw1MfDChRam6SNTXQO3cET1gwIJWN1m7fi2kVgUYF5f7b39c h8X4nW4mwgxJ3EBsKGQgzCsHPav8MlCyASO0tbONpW5Dh/bJs6HYfkD4XjHYPtT0VecU 2GlZKhm2ckgl2zZlnT1FYTWOT4/c4zIrOVBH39+NR/5pQIPrRYzCUvcsiIMrlHlcbRpB eUkjro2DfkHiAMxIyIguJGDWPBVZadXsMss5XIJkiiy8b7fLBwQtd5Aj9XjgmNcAt4EZ GR/g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=CqMUpo493atzjgSsixYS/AHpw8MT4SJMAwHthPoo5oI=; b=K2lRpHJEe8GIiseD7SO+JH47vphIO8mJ5OZk8ohaGRk9hZ/zhAkBuRnXoB52y7GmFo 7/ey8qWjQCGj1NANnmInbQutOJWetpXuNiRu+9lrx68+hLh1DuMTABYFJRDXmJNGrEnu 09XCcctnjo7RMZvCT9A8X21jMQz5jKvdcm3tmjUFHAIS1K7bLX4fazw0oMlm7kaKme5z VP+LEJq+jeBqov+NgBC3/Gb58pCTsW2UoFpTjYa2okkuc8HFkQQSPonp5MXvTPG0RIL2 aCCrfjv91xkMYB8AVi3noydR2v4k6TDO4533mmn/9qn9hanORk29MCcebc5nKDvzHBmr Q5aw== X-Gm-Message-State: AGRZ1gIKbfEB07YL5iJZCSdmmyf3ONIm1YHiS3Yv2EmyiUAV3xXpWEUz fBhW3aGBFSWNqshafV9KzsuH8vt6kkxbYC3feY3TUQ== X-Google-Smtp-Source: AJdET5eu+7U4suaKglvNO4F0FtxTdgyrK2kOm2p4KnXNUA3T2fuVwgL45Duoe4g7HSmZz15N79zKm6ZMBEoaEuMgxkE= X-Received: by 2002:a6b:7809:: with SMTP id j9-v6mr5562930iom.299.1542149936083; Tue, 13 Nov 2018 14:58:56 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Warner Losh Date: Tue, 13 Nov 2018 15:58:45 -0700 Message-ID: Subject: Re: Hole-punching, TRIM, etc To: "Conrad E. Meyer" Cc: Alan Somers , FreeBSD FS , FreeBSD Current , "freebsd-arch@freebsd.org" X-Rspamd-Queue-Id: D07257D3EE X-Spamd-Result: default: False [-3.94 / 200.00]; ARC_NA(0.00)[]; TO_DN_EQ_ADDR_SOME(0.00)[]; R_DKIM_ALLOW(-0.20)[bsdimp-com.20150623.gappssmtp.com]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; DMARC_NA(0.00)[bsdimp.com]; RCPT_COUNT_FIVE(0.00)[5]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[bsdimp-com.20150623.gappssmtp.com:+]; MX_GOOD(-0.01)[cached: ALT1.aspmx.l.google.com]; RCVD_IN_DNSWL_NONE(0.00)[2.3.d.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; NEURAL_HAM_SHORT(-0.95)[-0.950,0]; R_SPF_NA(0.00)[]; FORGED_SENDER(0.30)[imp@bsdimp.com,wlosh@bsdimp.com]; RCVD_TLS_LAST(0.00)[]; IP_SCORE(-0.98)[ipnet: 2607:f8b0::/32(-2.88), asn: 15169(-1.91), country: US(-0.09)]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; FROM_NEQ_ENVFROM(0.00)[imp@bsdimp.com,wlosh@bsdimp.com]; RCVD_COUNT_TWO(0.00)[2] X-Rspamd-Server: mx1.freebsd.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Nov 2018 22:58:58 -0000 On Tue, Nov 13, 2018 at 3:52 PM Conrad Meyer wrote: > Geom devices have the DIOCGDELETE ioctl, which translates into > BIO_DELETE (which is TRIM, as I understand it). > Correct. TRIM is both the catch-all term people use, as well as the name of a specific DSM (data set management) command in the ATA command set. All FLASH technologies have it (thought what it means under the covers varies a bit). Thin provisioned resources like in VMs also have it. Warner From owner-freebsd-current@freebsd.org Tue Nov 13 22:59:46 2018 Return-Path: Delivered-To: freebsd-current@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 49EA81135D55; Tue, 13 Nov 2018 22:59:46 +0000 (UTC) (envelope-from phk@critter.freebsd.dk) Received: from phk.freebsd.dk (phk.freebsd.dk [130.225.244.222]) by mx1.freebsd.org (Postfix) with ESMTP id B331F7D581; Tue, 13 Nov 2018 22:59:45 +0000 (UTC) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (unknown [192.168.55.3]) by phk.freebsd.dk (Postfix) with ESMTP id 11E4A14860; Tue, 13 Nov 2018 22:59:45 +0000 (UTC) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.15.2/8.15.2) with ESMTPS id wADMxirQ004237 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Tue, 13 Nov 2018 22:59:44 GMT (envelope-from phk@critter.freebsd.dk) Received: (from phk@localhost) by critter.freebsd.dk (8.15.2/8.15.2/Submit) id wADMxieR004236; Tue, 13 Nov 2018 22:59:44 GMT (envelope-from phk) To: Warner Losh cc: Alan Somers , FreeBSD FS , FreeBSD Current , "freebsd-arch@freebsd.org" Subject: Re: Hole-punching, TRIM, etc In-reply-to: From: "Poul-Henning Kamp" References: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <4234.1542149984.1@critter.freebsd.dk> Content-Transfer-Encoding: quoted-printable Date: Tue, 13 Nov 2018 22:59:44 +0000 Message-ID: <4235.1542149984@critter.freebsd.dk> X-Rspamd-Queue-Id: B331F7D581 X-Spamd-Result: default: False [0.71 / 200.00]; ARC_NA(0.00)[]; TO_DN_EQ_ADDR_SOME(0.00)[]; NEURAL_HAM_MEDIUM(-0.17)[-0.173,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; NEURAL_SPAM_SHORT(0.08)[0.076,0]; NEURAL_HAM_LONG(-0.48)[-0.481,0]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[freebsd.dk]; AUTH_NA(1.00)[]; RCPT_COUNT_FIVE(0.00)[5]; RCVD_COUNT_THREE(0.00)[4]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MX_GOOD(-0.01)[cached: phk.freebsd.dk]; R_SPF_NA(0.00)[]; FORGED_SENDER(0.30)[phk@phk.freebsd.dk,phk@critter.freebsd.dk]; RCVD_NO_TLS_LAST(0.10)[]; R_DKIM_NA(0.00)[]; IP_SCORE(-0.00)[country: EU(-0.00)]; ASN(0.00)[asn:1835, ipnet:130.225.0.0/16, country:EU]; FROM_NEQ_ENVFROM(0.00)[phk@phk.freebsd.dk,phk@critter.freebsd.dk] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Nov 2018 22:59:46 -0000 -------- In message , Warner Losh writes: >On a raw device it would be translated into a BIO_DELETE command directly= , >correct? We already have ioctl(DIOCGDELETE) for that. newfs(8) uses it. -- = Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe = Never attribute to malice what can adequately be explained by incompetence= . From owner-freebsd-current@freebsd.org Tue Nov 13 23:09:05 2018 Return-Path: Delivered-To: freebsd-current@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 5F99E113658B; Tue, 13 Nov 2018 23:09:05 +0000 (UTC) (envelope-from cse.cem@gmail.com) Received: from mail-it1-f179.google.com (mail-it1-f179.google.com [209.85.166.179]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9D92B7E388; Tue, 13 Nov 2018 23:09:04 +0000 (UTC) (envelope-from cse.cem@gmail.com) Received: by mail-it1-f179.google.com with SMTP id v11so21183381itj.0; Tue, 13 Nov 2018 15:09:04 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:reply-to :from:date:message-id:subject:to:cc:content-transfer-encoding; bh=9stKphtTKlpfIWzZb+DMF+rZL4fj6TT/NCpcLOJ/7BA=; b=HrGqAB+OdmOXMmjltowy9196FACbdzsUom2W9Vj9Z1pPn6oa27yTzetGIfDPfQCEvj qeT1AO4yWAbwjJ1jBDoYADUW7jdKwt3b/jiUazfqwOx77FJrUQUTlxzJvz8PIk3aojNo E+om/W9QiscLWt/9paG5sqrqm0MCD+HG3DXc10SVTPT3VbSxgYRjIFQ7STvxFCZuiNCB dq5OmKLa6pqSOKqHRyIiIRV3yivw5Z2fPny9gbsleVlwjCSqlreIcWHAwd9slcDd0UjB 0vAq+toyX0g5Cenbm1cS57LFr7ffhtVSLL3AGVuF/TlE0YVsn/EoVWcrPKw37fPHgHY3 wCPA== X-Gm-Message-State: AGRZ1gIMhUVt7RTFkc6Vk18ExU/mLxh/f/hpvKXXqYC09hYuURh+3s5E q2uCwHymAFIf27rO7SKhCIWLTIqb X-Google-Smtp-Source: AJdET5eFJzKMYLTriBR2sKkjueOV5D2rIGNuIXTNiNCkHl+xPT2zC6mWTIDsilVkfm3+rekJqFvvxA== X-Received: by 2002:a02:12c5:: with SMTP id 66mr6091541jap.54.1542150543558; Tue, 13 Nov 2018 15:09:03 -0800 (PST) Received: from mail-io1-f41.google.com (mail-io1-f41.google.com. [209.85.166.41]) by smtp.gmail.com with ESMTPSA id n24-v6sm2786499ioc.65.2018.11.13.15.09.03 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 13 Nov 2018 15:09:03 -0800 (PST) Received: by mail-io1-f41.google.com with SMTP id h4so6178227iom.5; Tue, 13 Nov 2018 15:09:03 -0800 (PST) X-Received: by 2002:a6b:6119:: with SMTP id v25mr6169014iob.107.1542150542921; Tue, 13 Nov 2018 15:09:02 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: Reply-To: cem@freebsd.org From: Conrad Meyer Date: Tue, 13 Nov 2018 15:08:51 -0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: Hole-punching, TRIM, etc To: Alan Somers Cc: "freebsd-arch@freebsd.org" , freebsd-fs , freebsd-current Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 9D92B7E388 X-Spamd-Result: default: False [-4.05 / 200.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; HAS_REPLYTO(0.00)[cem@freebsd.org]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17]; REPLYTO_ADDR_EQ_FROM(0.00)[]; RCVD_COUNT_THREE(0.00)[4]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; NEURAL_HAM_SHORT(-0.95)[-0.949,0]; FORGED_SENDER(0.30)[cem@freebsd.org,csecem@gmail.com]; RCVD_TLS_LAST(0.00)[]; R_DKIM_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; TAGGED_FROM(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_NEQ_ENVFROM(0.00)[cem@freebsd.org,csecem@gmail.com]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[freebsd.org]; IP_SCORE(-1.09)[ipnet: 209.85.128.0/17(-3.45), asn: 15169(-1.90), country: US(-0.09)]; RCVD_IN_DNSWL_NONE(0.00)[179.166.85.209.list.dnswl.org : 127.0.5.0] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Nov 2018 23:09:05 -0000 On Tue, Nov 13, 2018 at 2:59 PM Alan Somers wrote: > > On Tue, Nov 13, 2018 at 3:51 PM Conrad Meyer wrote: >> >> On Tue, Nov 13, 2018 at 2:10 PM Alan Somers wrote: >> > ... >> > 8) Add aio_freesp(2), an asynchronous version of fcntl(F_FREESP). >> >> Why not just add DIOCGDELETE support to various VOP_IOCTL >> implementations? The file objects forward correctly through vn_ioctl >> to VOP_IOCTL for both regular files and devfs VCHR nodes. >> >> We can emulate the Linux API if we want to be compatible there, but I >> wouldn't bother with Solaris. > > The only reason that I prefer the Solaris API is because it doesn't requi= re adding another syscall, and because Linux's fallocate(2) does a whole bu= nch of other things besides hole-punching. I am imagining that if we went this route, we would implement Linux fallocate as a library shim around the native FreeBSD ioctl (or whatever) rather than an independent system call. This would be for API compatibility, not ABI compatibility. But Linux compat can be set aside for now, I think =E2=80=94 it's a secondary concern. > What about an asynchronous version? ioctl(2) is still synchronous. Do y= ou see any better way to hole-punch/TRIM asynchronously than with aio? Yeah, this is a good consideration. No, I don't have any better suggestion for an asynchronous API. In general our VOPs tend to be synchronous. Aio does seem like the logical home for a new asynchronous API. Best regards, Conrad From owner-freebsd-current@freebsd.org Tue Nov 13 23:15:00 2018 Return-Path: Delivered-To: freebsd-current@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 4FDEE1136B42; Tue, 13 Nov 2018 23:15:00 +0000 (UTC) (envelope-from subbsd@gmail.com) Received: from mail-lj1-x243.google.com (mail-lj1-x243.google.com [IPv6:2a00:1450:4864:20::243]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 83B2F7F129; Tue, 13 Nov 2018 23:14:59 +0000 (UTC) (envelope-from subbsd@gmail.com) Received: by mail-lj1-x243.google.com with SMTP id q186-v6so12427116ljb.5; Tue, 13 Nov 2018 15:14:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=5Ij3QzOhIGfDgdM0/QOF/uaIBeYIyE/Z4nHXnqylsUc=; b=UWNDIK512qCQh+OCUc9y6HS1+CKgtX71wqeAYDca6TMQ//NqVq7oHk9gFVq2cedXny 9QM3cyzmmyfg3poJnmHxdYEEMhjbBGiQCjVELPs7eATUXlqLJeJ/1P9+75aWH0ZAWsaB 0X44LtSXQQd34r7hw+30dsmFtfZVnL6QW5gMYyG74PNww+0b+7Ct2RJtA+8Oqu0RH/7w 83ndQucDDvVCGn/eUWdyt9qA+nemgSfgN6Hpu2YF6rJST9Z4ayi6uAUvmgrQTuGH9opX HkS2QyZVncwyfNnLO8Us4gHLvQ3mBmGlj3nKuX8gTjmmplQZWkXB6DOE/iamcz95xrqh WS9Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=5Ij3QzOhIGfDgdM0/QOF/uaIBeYIyE/Z4nHXnqylsUc=; b=UQYgciaeWB7OZJqDPmTFLQnydSAMcGVJ7cgLiQrJd79Ri1U3jV+EJDbew0Sw96bwRC EJP9Ui5R678ykiyYCrOwMojsRJTDBiulmBMOia4sdzfQOp0tHrft9LX3Yp/wqZpps2sw IHH9uQLeTupTOFPRecP9t3SilDVUu8+/oCR/IZCdHlyYK5TdEG9jAFdksctFGwHmgfEk Mic85srtHXgkQ6lKGMafFuavFy73I95Qhe9ldutatJ/sFBXrI8skuZNVnr4uIUq8Rb1A TE1N4N0MAGElmR+QkaR8C0MCiiMYzny4ebTQlYAG5GW1Ev2XemnE7XRmJMAAo7yurr/Z wPNA== X-Gm-Message-State: AGRZ1gIjjVO/Qan34a5LsTS2RlvKqepu0vJsH1rHIn4tFWJyzkDNsQdP XrGVFcKfXMFb4JSHmbBRVqwGcWRv7ItRTYCHsek+rbGHJNs= X-Google-Smtp-Source: AJdET5cvQxB7mV+G9MgLvAK6EKQb+UyCFt4hDSMq3G+EDoONgGSJR2Aejr5IY02h+KQGDcqhnif7TPjongoZEc7rxig= X-Received: by 2002:a2e:6503:: with SMTP id z3-v6mr4064670ljb.153.1542150897405; Tue, 13 Nov 2018 15:14:57 -0800 (PST) MIME-Version: 1.0 References: <201811131622.wADGMF96031642@pdx.rh.CN85.dnsmgr.net> In-Reply-To: <201811131622.wADGMF96031642@pdx.rh.CN85.dnsmgr.net> From: Subbsd Date: Wed, 14 Nov 2018 02:14:46 +0300 Message-ID: Subject: Re: UEFI GOP: screen goes blank during boot after loader is finished To: freebsd-rwg@pdx.rh.cn85.dnsmgr.net, freebsd-current Current Cc: rebecca@bluestop.org, freebsd-virtualization@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 83B2F7F129 X-Spamd-Result: default: False [-4.25 / 200.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; R_DKIM_ALLOW(-0.20)[gmail.com]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; MIME_GOOD(-0.10)[text/plain]; IP_SCORE(-0.26)[ip: (2.63), ipnet: 2a00:1450::/32(-1.93), asn: 15169(-1.89), country: US(-0.09)]; NEURAL_HAM_LONG(-1.00)[-0.998,0]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RCVD_IN_DNSWL_NONE(0.00)[3.4.2.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.5.4.1.0.0.a.2.list.dnswl.org : 127.0.5.0]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; NEURAL_HAM_SHORT(-0.98)[-0.982,0]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; RCVD_COUNT_TWO(0.00)[2] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Nov 2018 23:15:00 -0000 Hi, On Tue, Nov 13, 2018 at 7:22 PM Rodney W. Grimes wrote: > > Uh oh, ok, thats not what I was thinking of then. I do not have any > bhyve capable hardware running on 12BETA at this time to test with. > > I wonder if we have a bad interaction between the loader and > bhyve again, we have had a few of those. > it's broken before 12-ALPHA1, my post from 14-Sep to current@ https://lists.freebsd.org/pipermail/freebsd-current/2018-September/071206.html probably the lua loader doesn't understand efifb/term very well From owner-freebsd-current@freebsd.org Tue Nov 13 23:17:21 2018 Return-Path: Delivered-To: freebsd-current@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 521D41136CF6 for ; Tue, 13 Nov 2018 23:17:21 +0000 (UTC) (envelope-from shoesoft@gmx.net) Received: from mout.gmx.net (mout.gmx.net [212.227.17.22]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "mout.gmx.net", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4F1BC7F3ED; Tue, 13 Nov 2018 23:17:20 +0000 (UTC) (envelope-from shoesoft@gmx.net) Received: from walrus.pepperland ([81.217.71.61]) by mail.gmx.com (mrgmx103 [212.227.17.168]) with ESMTPSA (Nemesis) id 0MFu0Y-1gIsQl2P3e-00Ew3P; Wed, 14 Nov 2018 00:17:09 +0100 Subject: Re: No amdtemp sysctls, acpi errors, AMD Ryzen 5 2400G To: Daniel Eischen Cc: freebsd-current@freebsd.org References: <1542138631.2638.0@smtp.migadu.com> <03F26DF4-DF21-4AD4-A324-C7F3923C50FE@freebsd.org> From: Stefan Ehmann Openpgp: preference=signencrypt Autocrypt: addr=shoesoft@gmx.net; prefer-encrypt=mutual; keydata= xsFNBFNRNzIBEADwWLAIn6EMLsbclDmzGQXSRu2dZYaLwW/dPVOmjm3aBOiiOlSi9ece0Pb5 rxTmPKXq0QeNtFPEAYPCNnHbFA95O1IsGuVVMGON7d1p2XIx68KBEngSCPopHB9EDDKo2NX3 rEkd/JQ7aAfogVeJIu2S3CoHq3Qwndb1b2rVhoBJSbr1wb3ip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/HpvdTpXxfNBbrWkX4WWr0XMDM/qBpk EkyCZfTggmi0y7TMtq5tKSNOo8CJ99hTorE9mM1AY2G+hVTwIie9l+WIuHwZkUiue+5UlJCI AcJd7piJiqQ7dHFMITv+1TbJ2tzx3T+slPS7crCZi2P+3YBrD6hTcHODhCfo/llcLHSYVXYP C+IQIMFDdXBfqDCH6V0UAQ57gBhUv9dGp3IzxZCDplt3hIu6QhUk0j8q5e06YV08CEKC2JIw VFBfIQ1Ey+Ugo8ZCqxr/2jOIrtu0bUoxXyCh86zCigX4+HByRDA5YOCXhFqjJKqqVp76+Y+R 80SHYG1dmnGJ3Viy7Q4/ZyjEWrIsLspVMf5ASWvkFgsVYUAwsaCf+Ka5q7en/Stu8Vw4D+UJ xBEcc17fq1GlkBKfJ5p7GlZb21VKMkzRdJiaYkYkzYm38H7lo9dog4OIzA1SMNpAjwDbL7yR cR9KFkzegy71xH89NvfF1O0sKLrZd4YqD3dziQTB5pM2h9JNh7zwksT9jNxJ8L/bv9hvEJcF L0hw+1p9oarb20dowgIFEBqgmoDqRfcByssG4Uy8Yael4rsr04fsuGKUnUsxfZQ6GbnY474u MoQmdBQjEl36fxrH Message-ID: Date: Wed, 14 Nov 2018 00:17:08 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.3.0 MIME-Version: 1.0 In-Reply-To: <03F26DF4-DF21-4AD4-A324-C7F3923C50FE@freebsd.org> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K1:X3N+AWwlMsQ4DB2xmmReaUfHQ2jr4SFf6MjwimQy/qUvMo58WS7 SyWa/HQAO3ej+jNSBrG1yBdse45e8ua64VcserTZN/QYYqWUowTWe7Y1/maijjjYaqDIFPi BZPcK7WWVRmlx43+qOrN4ue9w9CsEhGKN2Q6X5gU1tmKS8pYJJtCd5Lh0ed4h4Egfyn6nVL GkmDWQmIhZqWZ7vGEzpWg== X-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amd-Result: default: False [-2.43 / 200.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:212.227.17.0/27]; FREEMAIL_FROM(0.00)[gmx.net]; MIME_GOOD(-0.10)[text/plain]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DMARC_NA(0.00)[gmx.net]; NEURAL_HAM_LONG(-1.00)[-0.997,0]; IP_SCORE(0.05)[ipnet: 212.227.0.0/16(-0.30), asn: 8560(0.56), country: DE(-0.01)]; MX_GOOD(-0.01)[cached: mx00.emig.gmx.net]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_SHORT(-0.08)[-0.083,0]; NEURAL_HAM_MEDIUM(-0.99)[-0.987,0]; RCVD_IN_DNSWL_LOW(-0.10)[22.17.227.212.list.dnswl.org : 127.0.3.1]; R_DKIM_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmx.net]; ASN(0.00)[asn:8560, ipnet:212.227.0.0/16, country:DE]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RECEIVED_SPAMHAUS_PBL(0.00)[61.71.217.81.zen.spamhaus.org : 127.0.0.11] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Nov 2018 23:17:21 -0000 On 11/13/18 10:40 PM, Daniel Eischen wrote: > >> On Nov 13, 2018, at 4:02 PM, Stefan Ehmann wrote: >> >>> On 11/13/18 8:59 PM, Daniel Eischen wrote: >>>> On Tue, 13 Nov 2018, Greg V wrote: >>>> >>>> >>>> >>>> On Tue, Nov 13, 2018 at 8:59 PM, Daniel Eischen >>>> wrote: >>>>> Greetings, >>>>> >>>>> 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. >>>>> >>>>> These are the ACPI-related warnings and errors during boot. >>>>> >>>>> Firmware Warning (ACPI): Optional FADT field Pm2ControlBlock has >>>>> valid Length but zero Address: 0x0000000000000000/0x1 >>>>> (20181031/tbfadt-796) >>>> >>>> I see this one on my R7 1700 / X370 system, seems harmless. >> >> I also see this warning on the X470-pro with Ryzen 7 2700 on 12.0-BETA. >> But I don't get the Firmware errors below. > > What BIOS version are you using? I'm running 13-current built from just a few days ago. Never had any temp sysctls since initial install (beginning of October). Latest Version (4024), but I think I've tried it before with an older version. Didn't notice any differences though. But I guess amdtemp is more dependent on the CPU than on the main board. From owner-freebsd-current@freebsd.org Tue Nov 13 23:20:26 2018 Return-Path: Delivered-To: freebsd-current@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 DD27F1136F10 for ; Tue, 13 Nov 2018 23:20:25 +0000 (UTC) (envelope-from shoesoft@gmx.net) Received: from mout.gmx.net (mout.gmx.net [212.227.17.22]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "mout.gmx.net", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id F3C3E7F62A; Tue, 13 Nov 2018 23:20:24 +0000 (UTC) (envelope-from shoesoft@gmx.net) Received: from walrus.pepperland ([81.217.71.61]) by mail.gmx.com (mrgmx102 [212.227.17.168]) with ESMTPSA (Nemesis) id 0Lxu7U-1fSh6J2TAa-015FbH; Wed, 14 Nov 2018 00:20:23 +0100 Subject: Re: No amdtemp sysctls, acpi errors, AMD Ryzen 5 2400G To: cem@freebsd.org Cc: Daniel Eischen , freebsd-current References: <1542138631.2638.0@smtp.migadu.com> From: Stefan Ehmann Openpgp: preference=signencrypt Autocrypt: addr=shoesoft@gmx.net; prefer-encrypt=mutual; keydata= xsFNBFNRNzIBEADwWLAIn6EMLsbclDmzGQXSRu2dZYaLwW/dPVOmjm3aBOiiOlSi9ece0Pb5 rxTmPKXq0QeNtFPEAYPCNnHbFA95O1IsGuVVMGON7d1p2XIx68KBEngSCPopHB9EDDKo2NX3 rEkd/JQ7aAfogVeJIu2S3CoHq3Qwndb1b2rVhoBJSbr1wb3ipRrw9S3mW0l6libghi6j04iY idKi65RCI6T21IuPNL8b1cq9TQTD5Pcu5jC0yFrTaEjAqW2YOr+A/QsfLSA697Nhnq/l0JUv QUX70q6m39rFKRWWvSgGAnud9yppUa/sTNCYSuf9XdFtY09fsfFvx8LPiT0xP7+d7HOmzVvf 2J60U7CEkQVPh76LHIVVODY1NBmbpGtrow/DV3wtOPKJ1swp4IJ7xinduVMSnFpCxqyBbww6 6BpNQ8W5wHXRLQkG7gRWa10T9EMSchNM5DcxslU3TFjOINuaaEYAoq3i43hPKcWIT1mNg6M9 BzqOagRC0WThKgv4WyuZ7gQkA370Fl7SgG08LbgNavY1KO2U0CDONvK+Mz9YlY6dfg4qdQ+F 1cRseAWzKefQb72peUmO1h9TjT1LaQgl2XJCV4fh2je/tYb70Eb0ea3foBaUTbNThN9uIevN EANnrakwmzsGhB+OXOql1Occ4DyplS0IsVKPHE8+K/VoJUk7GQARAQABzSdTdGVmYW4gRWht YW5uIDxzdGVmYW4uZWhtYW5uQGdtYWlsLmNvbT7CwX4EEwECACgFAlNRNzICGwMFCQlmAYAG CwkIBwMCBhUIAgkKCwQWAgMBAh4BAheAAAoJECL7xb7kT8Vbim4QALDHbVEayN66yoQa2O2S lcS6ikNQPn/ixQazQKjXozxoTUC7RbzlwadJeOQc2h/xHytjMFV1NwZSR5GGyBvGWdWUiDlw +Oniz34n6eQn10JR/RWlFv7f23QhGCVwobqjySBRbGLTQnpGKi94TzmO/2uoSqgzxfj9nFEN KyRK+5uouWFLC7lPkmAgpuvQZTJ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TCs7XxOx5Ess10d+hpGN/FRrobi2Gg3Wo0b/Auwjk2TzQ44eP5ivS3pDiGMR qVImui+6wwlF9ZyVj8MZa9ejGOSrQ37JvE/Mx+S01LoX0037rlBxyFqYEpw8MJOImwARAQAB wsFlBBgBAgAPBQJTUTcyAhsMBQkJZgGAAAoJECL7xb7kT8VbA8IP/iJgD5Hvyebc8UHD2Jzk rAO2nhvik9fWeJM0eYF9X/w0MQdg5GanDfy79Z25l/HpvdTpXxfNBbrWkX4WWr0XMDM/qBpk EkyCZfTggmi0y7TMtq5tKSNOo8CJ99hTorE9mM1AY2G+hVTwIie9l+WIuHwZkUiue+5UlJCI AcJd7piJiqQ7dHFMITv+1TbJ2tzx3T+slPS7crCZi2P+3YBrD6hTcHODhCfo/llcLHSYVXYP C+IQIMFDdXBfqDCH6V0UAQ57gBhUv9dGp3IzxZCDplt3hIu6QhUk0j8q5e06YV08CEKC2JIw VFBfIQ1Ey+Ugo8ZCqxr/2jOIrtu0bUoxXyCh86zCigX4+HByRDA5YOCXhFqjJKqqVp76+Y+R 80SHYG1dmnGJ3Viy7Q4/ZyjEWrIsLspVMf5ASWvkFgsVYUAwsaCf+Ka5q7en/Stu8Vw4D+UJ xBEcc17fq1GlkBKfJ5p7GlZb21VKMkzRdJiaYkYkzYm38H7lo9dog4OIzA1SMNpAjwDbL7yR cR9KFkzegy71xH89NvfF1O0sKLrZd4YqD3dziQTB5pM2h9JNh7zwksT9jNxJ8L/bv9hvEJcF L0hw+1p9oarb20dowgIFEBqgmoDqRfcByssG4Uy8Yael4rsr04fsuGKUnUsxfZQ6GbnY474u MoQmdBQjEl36fxrH Message-ID: <6df81264-5e82-2eef-abc0-53d27d5cfee0@gmx.net> Date: Wed, 14 Nov 2018 00:20:22 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.3.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Enco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g6y8+PrbANhqW1PUbMGJqa3vR1jU6l0A8cFpqK3GdHoNtVNAXe9 SP40Vkv87hw/0aCX7h6ydOb1L1P47P7XExZLprGeeXYx6BDiWLr3newi2LWMz7vpNoy76IvQp YkgjvYjTOJoBxw3sUan9+yWN1HOfUaIiAch9JVSAa60ceygigzwdP2nFYi4ZjN X-Rspamd-Queue-Id: F3C3E7F62A X-Spamd-Result: default: False [-3.30 / 200.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_IN_DNSWL_LOW(-0.10)[22.17.227.212.list.dnswl.org : 127.0.3.1]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; R_SPF_ALLOW(-0.20)[+ip4:212.227.17.0/27]; FREEMAIL_FROM(0.00)[gmx.net]; MIME_GOOD(-0.10)[text/plain]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DMARC_NA(0.00)[gmx.net]; TO_DN_SOME(0.00)[]; NEURAL_HAM_LONG(-0.99)[-0.994,0]; RECEIVED_SPAMHAUS_PBL(0.00)[61.71.217.81.zen.spamhaus.org : 127.0.0.11]; IP_SCORE(-0.00)[ipnet: 212.227.0.0/16(-0.48), asn: 8560(0.46), country: DE(-0.01)]; MX_GOOD(-0.01)[cached: mx00.emig.gmx.net]; NEURAL_HAM_SHORT(-0.90)[-0.904,0]; NEURAL_HAM_MEDIUM(-0.98)[-0.984,0]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmx.net]; ASN(0.00)[asn:8560, ipnet:212.227.0.0/16, country:DE]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Nov 2018 23:20:26 -0000 On 11/13/18 10:14 PM, Conrad Meyer wrote: > On Tue, Nov 13, 2018 at 1:04 PM Stefan Ehmann wrote: >> After kldload amdtemp I see the following sysctls: >> dev.cpu.0.temperature: 77.1C >> dev.amdtemp.0.core0.sensor0: 77.1C >> >> The temperature I see in BIOS is much lower (maybe around 40.0C). Don't >> know if just the offset is wrong or the numbers are completely bogus. >> >> Numbers from sysutils/xmbmon look saner but not sure if they are correct. > > You can adjust dev.amdtemp.N.sensor_offset as needed. By default, the > amdtemp sysctl gives you the unadjusted value. On different Ryzen > models the raw value is wrong by different amounts. E.g. on my 1950X, > I have sensor_offset set to "-27" to show correct temperature > readings. > > See this link for a table of offset values for various Ryzen models: > https://www.guru3d.com/articles-pages/amd-ryzen-7-2700-review,7.html Thanks for the link. The 2700 has an offset of 0 though (2700X has 10). And I'm seeing a difference of more than 30 degrees. I guess something else must be happening here. From owner-freebsd-current@freebsd.org Wed Nov 14 00:41:50 2018 Return-Path: Delivered-To: freebsd-current@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 7EFBD1102795 for ; Wed, 14 Nov 2018 00:41:50 +0000 (UTC) (envelope-from deischen@freebsd.org) Received: from mail.netplex.net (mail.netplex.net [204.213.176.9]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.netplex.net", Issuer "RapidSSL RSA CA 2018" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C297783B03 for ; Wed, 14 Nov 2018 00:41:49 +0000 (UTC) (envelope-from deischen@freebsd.org) Received: from [10.109.25.212] (mobile-166-172-62-91.mycingular.net [166.172.62.91]) (authenticated bits=0) by mail.netplex.net (8.15.1/8.15.1/NETPLEX) with ESMTPSA id wAE0flYm004011 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 13 Nov 2018 19:41:48 -0500 X-Virus-Scanned: by AMaViS and Clam AntiVirus (mail.netplex.net) X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.4.3 (mail.netplex.net [204.213.176.9]); Tue, 13 Nov 2018 19:41:49 -0500 (EST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (1.0) Subject: Re: No amdtemp sysctls, acpi errors, AMD Ryzen 5 2400G From: Daniel Eischen X-Mailer: iPhone Mail (16B92) In-Reply-To: <20181113220658.77cec7c3@gmail.com> Date: Tue, 13 Nov 2018 19:41:47 -0500 Cc: freebsd-current@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <4DC7A95A-3DB3-4971-9DAB-10021E5BB7E8@freebsd.org> References: <20181113220658.77cec7c3@gmail.com> To: Rozhuk Ivan X-Rspamd-Queue-Id: C297783B03 X-Spamd-Result: default: False [-102.59 / 200.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; ALLOW_DOMAIN_WHITELIST(-100.00)[freebsd.org]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; TAGGED_RCPT(0.00)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[freebsd.org]; R_SPF_SOFTFAIL(0.00)[~all]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MX_GOOD(-0.01)[cached: mx66.freebsd.org]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_SHORT(-0.96)[-0.959,0]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; IP_SCORE(-0.02)[country: US(-0.09)]; ASN(0.00)[asn:6062, ipnet:204.213.176.0/20, country:US]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Nov 2018 00:41:50 -0000 > On Nov 13, 2018, at 2:06 PM, Rozhuk Ivan wrote: >=20 > On Tue, 13 Nov 2018 12:59:59 -0500 (EST) > Daniel Eischen wrote: >=20 >> 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. >=20 > 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 a= nd -stable or whatever you're testing it on. -- DE= From owner-freebsd-current@freebsd.org Wed Nov 14 01:06:40 2018 Return-Path: Delivered-To: freebsd-current@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 40C72110327E for ; Wed, 14 Nov 2018 01:06:40 +0000 (UTC) (envelope-from cse.cem@gmail.com) Received: from mail-it1-f180.google.com (mail-it1-f180.google.com [209.85.166.180]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9761784DCE; Wed, 14 Nov 2018 01:06:39 +0000 (UTC) (envelope-from cse.cem@gmail.com) Received: by mail-it1-f180.google.com with SMTP id r12-v6so21429331ita.3; Tue, 13 Nov 2018 17:06:39 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:reply-to :from:date:message-id:subject:to:cc; bh=GUCGHi3bZ/HgjS08JrH8GleCPOgiz37+dheU/h64oYo=; b=r17W7hPCc1oLUc9D0Z469uIab2YzUqRB0rMnOrZ9HBU+cri7EHUamC7yAi3PHI8j5D UcK18P/N7fvfu255krDyLyOZOkY1AzMJjyijbCvnyN9TBSWFD+IRBXftRBfT+h2wjuJS 7IoQC5HhY/ZtA1CSIEU1Sk3qmU1ITqtghK/dNCM615VMsTP6v73RuDgwEcGbKDPd6x6d hvsSmbF27REoITfIwnRvI6JrdsHI08zpzym29gkKv7NZS6WTQGbUrFuHut/2UbZLBB5Y f15/QY2ADdUDIZhCGkaZYqGyKK+QQIAq5E/1NWIC5Ang8YOTL3JcmIzcTsGQpqwGsELp DT+g== X-Gm-Message-State: AGRZ1gKWOPqeGubLPIXAcSrZUFrmC9SLcaJz51J/D7a9XkXpps/YMlJ8 RHt8j4GjYx5sj2vtbWWXOnghP2pQ X-Google-Smtp-Source: AJdET5ecC/Es6saib67319Hmz0CPuUnbj7jJ8ZiU7ZR/Gihh1R3u7Cr1GUJ7osk7l/8RLTyyjtvT/g== X-Received: by 2002:a02:a98e:: with SMTP id q14-v6mr6663932jam.109.1542157592474; Tue, 13 Nov 2018 17:06:32 -0800 (PST) Received: from mail-io1-f51.google.com (mail-io1-f51.google.com. [209.85.166.51]) by smtp.gmail.com with ESMTPSA id p9-v6sm4502933itp.41.2018.11.13.17.06.32 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 13 Nov 2018 17:06:32 -0800 (PST) Received: by mail-io1-f51.google.com with SMTP id w7so2793382iom.12; Tue, 13 Nov 2018 17:06:32 -0800 (PST) X-Received: by 2002:a6b:6119:: with SMTP id v25mr6465294iob.107.1542157591690; Tue, 13 Nov 2018 17:06:31 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: Reply-To: cem@freebsd.org From: Conrad Meyer Date: Tue, 13 Nov 2018 17:06:20 -0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: No amdtemp sysctls, acpi errors, AMD Ryzen 5 2400G To: Daniel Eischen Cc: freebsd-current Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 9761784DCE X-Spamd-Result: default: False [-4.03 / 200.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; HAS_REPLYTO(0.00)[cem@freebsd.org]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; DMARC_NA(0.00)[freebsd.org]; REPLYTO_ADDR_EQ_FROM(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; RCVD_COUNT_THREE(0.00)[4]; IP_SCORE(-1.08)[ipnet: 209.85.128.0/17(-3.43), asn: 15169(-1.85), country: US(-0.09)]; TO_DN_ALL(0.00)[]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[180.166.85.209.list.dnswl.org : 127.0.5.0]; NEURAL_HAM_SHORT(-0.94)[-0.941,0]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FORGED_SENDER(0.30)[cem@freebsd.org,csecem@gmail.com]; R_DKIM_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; TAGGED_FROM(0.00)[]; FROM_NEQ_ENVFROM(0.00)[cem@freebsd.org,csecem@gmail.com] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Nov 2018 01:06:40 -0000 Hi Daniel, On Tue, Nov 13, 2018 at 10:01 AM Daniel Eischen wrote: > > Greetings, > > 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. Maybe not. If they do not attach, it suggests that maybe the Ryzen 2 has a different hostbridge PCI devid. > ... > The amdtemp module loads fine (including the dependent amdsmn), but > doesn't report any temperature related sysctls. Can you run 'devinfo -v' and send or paste the output? Thank you. All the best, Conrad From owner-freebsd-current@freebsd.org Wed Nov 14 01:14:43 2018 Return-Path: Delivered-To: freebsd-current@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 D70AA1103817 for ; Wed, 14 Nov 2018 01:14:42 +0000 (UTC) (envelope-from rozhuk.im@gmail.com) Received: from mail-lf1-x129.google.com (mail-lf1-x129.google.com [IPv6:2a00:1450:4864:20::129]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 02910852EA; Wed, 14 Nov 2018 01:14:42 +0000 (UTC) (envelope-from rozhuk.im@gmail.com) Received: by mail-lf1-x129.google.com with SMTP id u18so10288136lff.10; Tue, 13 Nov 2018 17:14:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:date:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=p3axs6Bbz2be63eP6bvwCF/VyBR4/bngjFGYpiSrVXQ=; b=fHRsVEXEyLrd5tk1WyA2ix0flsRY+lfrASlS4OrvBU23aHWMoFMFW7nmaShFJwX3Cw lo0g9xgmYxbAq4JZzkxyorlvy0thhRfQlorC/9KIYZYJ1tIfDdXh5FqQS9N9AV9wf68a 2UNwIvw31mbontjzww4Pz0mWV3Cexw5pb7WQ7n3DDsk1p28SfySEaBcBSaqZgu/EFjRm QIWF0d3nSf5Nrs5eHXUiNBfi3DZYXlgV2amG2de2dleeMnCRkgsr/4dX9mTc49is+RMM 8X+YbN6ysIuy3sNo9HBAFxDM448yMaSPMzJ6nF099X804rWLUaP5avgANkDr+3Ojz0Ak uBZQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:date:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=p3axs6Bbz2be63eP6bvwCF/VyBR4/bngjFGYpiSrVXQ=; b=YjGjEKIthNVYgs5qCK8I2chfjGLrT5qU4wNR7yXyESAH8BtrkKE4Fqx0HDAGF9d7r1 Ua/VX78A+nB06XIIdVW0ZX0jnoK0G0CHLCyNw+5fChvSQlmR3FvDyqhxlTN/V+4Urelk JAsY5gheSHA6u6hrexQG81ue6oyAo7QF0VvgKNiyqrPv3U8r0dVVbMPjSizY8UM9jbTU NJ8GZSTf7ATKwSrhm0Pw/tXcYGVIi2P4o5j9DPNmxnbpe+dKsAj6UfpxZjECMQo/8eup DqhRsFjIaaid3uqwpCD9ZHmrpl6uP5iG66qpxnE1pugvzIxb9Km02cB8NZ6ahKV10poS Wpbw== X-Gm-Message-State: AGRZ1gKu07eTk3x3ZomYWFp1hifC8MJLLlzbQHGmIqw71lx2gUsLALlc PLOnBq4xnpgotWaKzv0cCSLozUWO X-Google-Smtp-Source: AJdET5cNrSdyuw3obvk5Xi1WgjnOCxP1WV+idYdNcunpf7QuAqRU1KkRjv/Rem0UT4VB4IO+ULoe4w== X-Received: by 2002:a19:c801:: with SMTP id y1mr3970371lff.53.1542158080169; Tue, 13 Nov 2018 17:14:40 -0800 (PST) Received: from localhost ([2001:470:1f15:3d8:7285:c2ff:fe37:5722]) by smtp.gmail.com with ESMTPSA id j126sm3704142lfe.10.2018.11.13.17.14.39 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 13 Nov 2018 17:14:39 -0800 (PST) From: Rozhuk Ivan X-Google-Original-From: Rozhuk Ivan Date: Wed, 14 Nov 2018 04:14:37 +0300 To: Daniel Eischen Cc: freebsd-current@freebsd.org Subject: Re: No amdtemp sysctls, acpi errors, AMD Ryzen 5 2400G Message-ID: <20181114041437.4dbe2a83@gmail.com> In-Reply-To: <4DC7A95A-3DB3-4971-9DAB-10021E5BB7E8@freebsd.org> References: <20181113220658.77cec7c3@gmail.com> <4DC7A95A-3DB3-4971-9DAB-10021E5BB7E8@freebsd.org> X-Mailer: Claws Mail 3.16.0 (GTK+ 2.24.32; amd64-portbld-freebsd11.2) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 02910852EA X-Spamd-Result: default: False [-4.72 / 200.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[gmail.com]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; MIME_GOOD(-0.10)[text/plain]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; RCVD_COUNT_THREE(0.00)[3]; IP_SCORE(-0.77)[ipnet: 2a00:1450::/32(-1.90), asn: 15169(-1.85), country: US(-0.09)]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; RCVD_IN_DNSWL_NONE(0.00)[9.2.1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.5.4.1.0.0.a.2.list.dnswl.org : 127.0.5.0]; NEURAL_HAM_SHORT(-0.94)[-0.942,0]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; TAGGED_FROM(0.00)[]; MID_RHS_MATCH_FROM(0.00)[] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Nov 2018 01:14:43 -0000 On Tue, 13 Nov 2018 19:41:47 -0500 Daniel Eischen 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. From owner-freebsd-current@freebsd.org Wed Nov 14 01:37:01 2018 Return-Path: Delivered-To: freebsd-current@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 87C871103FDA for ; Wed, 14 Nov 2018 01:37:01 +0000 (UTC) (envelope-from cse.cem@gmail.com) Received: from mail-it1-f169.google.com (mail-it1-f169.google.com [209.85.166.169]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C188785E10; Wed, 14 Nov 2018 01:37:00 +0000 (UTC) (envelope-from cse.cem@gmail.com) Received: by mail-it1-f169.google.com with SMTP id k206-v6so21519307ite.0; Tue, 13 Nov 2018 17:37:00 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:reply-to :from:date:message-id:subject:to:cc; bh=NEP2vHevbYLmkLSmETvfsiToI2yfjLMIo8F71yXrn40=; b=omwy0EOK2n0g+2/yGThfkXO8ugy5hd5kAvbnnOs7cgFPYrlFyITwSR7PPiXpIuCXsO /6cR9+DDvLRGpKWUKHO+CHMGB37vDFoP23HUL/m4CRCu9iVWiX4iLIpdhvfgQ1IIw2n2 aOISAYbMvMhtVcUa68+6xSnyLjxhRxYJsvZ1ejimO2vLo1PT14vlN8o0RJdGzCFHrYR7 OLsn90X7vBMgKdXgPl9Loc5vUIF1KEAEpdGYjmvo12BiKy+60oOxGV3x+KVQT833lyCu hJNyJbWn5SvuI4Ev6uNE1RA7VNu701T4aHrThWI1zoIqFu0nrvE+W8Wg1kegJOlSFlPf 6NuQ== X-Gm-Message-State: AGRZ1gJCfTAwl4GiTXV3JfNLnqfzXVACS9B0+st83X0OtMSTcNMDMlmo HRWuRlpmZrhBh2HP8P27w3a9OTmA X-Google-Smtp-Source: AJdET5cJVAXKgyPuQ7rm3mbVCRyb7A9GRp+OXP8ISjDXDVoWd9C2IiV2eF+uUU7CEFsf6IJNGONZ4Q== X-Received: by 2002:a02:9dd:: with SMTP id 90mr3453127jam.57.1542159419131; Tue, 13 Nov 2018 17:36:59 -0800 (PST) Received: from mail-io1-f48.google.com (mail-io1-f48.google.com. [209.85.166.48]) by smtp.gmail.com with ESMTPSA id r65-v6sm4138695ita.8.2018.11.13.17.36.58 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 13 Nov 2018 17:36:58 -0800 (PST) Received: by mail-io1-f48.google.com with SMTP id y22-v6so10482515ioj.13; Tue, 13 Nov 2018 17:36:58 -0800 (PST) X-Received: by 2002:a6b:6119:: with SMTP id v25mr6543375iob.107.1542159417776; Tue, 13 Nov 2018 17:36:57 -0800 (PST) MIME-Version: 1.0 References: <20181113220658.77cec7c3@gmail.com> <4DC7A95A-3DB3-4971-9DAB-10021E5BB7E8@freebsd.org> <20181114041437.4dbe2a83@gmail.com> In-Reply-To: <20181114041437.4dbe2a83@gmail.com> Reply-To: cem@freebsd.org From: Conrad Meyer Date: Tue, 13 Nov 2018 17:36:46 -0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: No amdtemp sysctls, acpi errors, AMD Ryzen 5 2400G To: rozhuk.im@gmail.com Cc: Daniel Eischen , freebsd-current Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: C188785E10 X-Spamd-Result: default: False [-6.02 / 200.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; HAS_REPLYTO(0.00)[cem@freebsd.org]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17]; REPLYTO_ADDR_EQ_FROM(0.00)[]; RCVD_COUNT_THREE(0.00)[4]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; NEURAL_HAM_SHORT(-0.99)[-0.987,0]; FORGED_SENDER(0.30)[cem@freebsd.org,csecem@gmail.com]; FREEMAIL_TO(0.00)[gmail.com]; IP_SCORE(-3.02)[ip: (-9.72), ipnet: 209.85.128.0/17(-3.43), asn: 15169(-1.85), country: US(-0.09)]; R_DKIM_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; TAGGED_FROM(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_NEQ_ENVFROM(0.00)[cem@freebsd.org,csecem@gmail.com]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; TAGGED_RCPT(0.00)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[freebsd.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[169.166.85.209.list.dnswl.org : 127.0.5.0]; RCVD_TLS_LAST(0.00)[]; RWL_MAILSPIKE_POSSIBLE(0.00)[169.166.85.209.rep.mailspike.net : 127.0.0.17] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Nov 2018 01:37:01 -0000 On Tue, Nov 13, 2018 at 5:15 PM Rozhuk Ivan wrote: > > On Tue, 13 Nov 2018 19:41:47 -0500 > Daniel Eischen 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. From owner-freebsd-current@freebsd.org Wed Nov 14 01:57:39 2018 Return-Path: Delivered-To: freebsd-current@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 493EF11049C6; Wed, 14 Nov 2018 01:57:39 +0000 (UTC) (envelope-from kevans@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A3EBA8692B; Wed, 14 Nov 2018 01:57:38 +0000 (UTC) (envelope-from kevans@freebsd.org) Received: from mail-lj1-f181.google.com (mail-lj1-f181.google.com [209.85.208.181]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) (Authenticated sender: kevans) by smtp.freebsd.org (Postfix) with ESMTPSA id 449AE26962; Wed, 14 Nov 2018 01:57:38 +0000 (UTC) (envelope-from kevans@freebsd.org) Received: by mail-lj1-f181.google.com with SMTP id k19-v6so12648348lji.11; Tue, 13 Nov 2018 17:57:38 -0800 (PST) X-Gm-Message-State: AGRZ1gIWa5w/qf83jdhafO+sEcpxiQQF9ZiVaPmokdcOYH6fmoPs1Xg/ s+ePAVgCJjB6scPVVNNYfVJEo+CJFpg+J/EaUtE= X-Google-Smtp-Source: AJdET5dUPHejzydHhCpazf0EEb8eL9rqvFZ/wHD8VZr186xwbQ368F4BaPrcy7Wl6bCPmp5DbxL8hu7eCXDCB4DLdXo= X-Received: by 2002:a2e:9181:: with SMTP id f1-v6mr4302245ljg.64.1542160656834; Tue, 13 Nov 2018 17:57:36 -0800 (PST) MIME-Version: 1.0 References: <201811131622.wADGMF96031642@pdx.rh.CN85.dnsmgr.net> In-Reply-To: From: Kyle Evans Date: Tue, 13 Nov 2018 19:57:25 -0600 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: UEFI GOP: screen goes blank during boot after loader is finished To: subbsd@gmail.com Cc: "Rodney W. Grimes" , FreeBSD Current , freebsd-virtualization@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: A3EBA8692B X-Spamd-Result: default: False [-103.10 / 200.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; ALLOW_DOMAIN_WHITELIST(-100.00)[freebsd.org]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; TO_DN_SOME(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[freebsd.org]; R_SPF_SOFTFAIL(0.00)[~all]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MX_GOOD(-0.01)[cached: mx66.freebsd.org]; NEURAL_HAM_SHORT(-0.99)[-0.995,0]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; RCVD_TLS_LAST(0.00)[] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Nov 2018 01:57:39 -0000 On Tue, Nov 13, 2018 at 5:15 PM Subbsd wrote: > > Hi, > > > > On Tue, Nov 13, 2018 at 7:22 PM Rodney W. Grimes > wrote: > > > > Uh oh, ok, thats not what I was thinking of then. I do not have any > > bhyve capable hardware running on 12BETA at this time to test with. > > > > I wonder if we have a bad interaction between the loader and > > bhyve again, we have had a few of those. > > > > it's broken before 12-ALPHA1, my post from 14-Sep to current@ > > https://lists.freebsd.org/pipermail/freebsd-current/2018-September/071206.html > > probably the lua loader doesn't understand efifb/term very well These things are basically completely unrelated- the interpreter included in loader(8) doesn't have to know anything about graphics and this stuff is handled before and after the interpreter is invoked. However, because loader-land is funny in a not-ha-ha kind of way, can you try replacing loader.efi on your guest VM with the Forth-flavored version to rule that out or narrow it down, please? Thanks, Kyle Evans From owner-freebsd-current@freebsd.org Wed Nov 14 02:26:36 2018 Return-Path: Delivered-To: freebsd-current@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 695841105594 for ; Wed, 14 Nov 2018 02:26:36 +0000 (UTC) (envelope-from deischen@freebsd.org) Received: from mail.netplex.net (mail.netplex.net [204.213.176.9]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.netplex.net", Issuer "RapidSSL RSA CA 2018" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C8C2C875A4; Wed, 14 Nov 2018 02:26:35 +0000 (UTC) (envelope-from deischen@freebsd.org) Received: from sea.ntplx.net (sea.ntplx.net [204.213.176.11]) by mail.netplex.net (8.15.1/8.15.1/NETPLEX) with ESMTP id wAE2QYDP029480; Tue, 13 Nov 2018 21:26:34 -0500 X-Virus-Scanned: by AMaViS and Clam AntiVirus (mail.netplex.net) X-Greylist: Message whitelisted by DRAC access database, not delayed by milter-greylist-4.4.3 (mail.netplex.net [204.213.176.9]); Tue, 13 Nov 2018 21:26:34 -0500 (EST) Date: Tue, 13 Nov 2018 21:26:34 -0500 (EST) From: Daniel Eischen X-X-Sender: eischen@sea.ntplx.net Reply-To: Daniel Eischen To: Conrad Meyer cc: freebsd-current Subject: Re: No amdtemp sysctls, acpi errors, AMD Ryzen 5 2400G In-Reply-To: Message-ID: References: MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="-559023410-851401618-1542162394=:29021" X-Rspamd-Queue-Id: C8C2C875A4 X-Spamd-Result: default: False [-102.02 / 200.00]; ARC_NA(0.00)[]; HAS_REPLYTO(0.00)[deischen@freebsd.org]; ALLOW_DOMAIN_WHITELIST(-100.00)[freebsd.org]; REPLYTO_EQ_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; HAS_ATTACHMENT(0.00)[]; MIME_GOOD(-0.10)[multipart/mixed,text/plain]; DMARC_NA(0.00)[freebsd.org]; R_SPF_SOFTFAIL(0.00)[~all]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; IP_SCORE(-0.02)[country: US(-0.09)]; TO_DN_ALL(0.00)[]; MX_GOOD(-0.01)[cached: mx66.freebsd.org]; CTYPE_MIXED_BOGUS(1.00)[]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_SHORT(-0.99)[-0.995,0]; MIME_BASE64_TEXT(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:6062, ipnet:204.213.176.0/20, country:US]; RCVD_COUNT_TWO(0.00)[2] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Nov 2018 02:26:36 -0000 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. ---559023410-851401618-1542162394=:29021 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed On Tue, 13 Nov 2018, Conrad Meyer wrote: > Hi Daniel, > > On Tue, Nov 13, 2018 at 10:01 AM Daniel Eischen wrote: >> >> Greetings, >> >> 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. > > Maybe not. If they do not attach, it suggests that maybe the Ryzen 2 > has a different hostbridge PCI devid. > >> ... >> The amdtemp module loads fine (including the dependent amdsmn), but >> doesn't report any temperature related sysctls. > > Can you run 'devinfo -v' and send or paste the output? Thank you. I've attached it. If it gets filtered by the mail list, I'll make it http accessible. -- DE ---559023410-851401618-1542162394=:29021 Content-Type: TEXT/PLAIN; charset=US-ASCII; name=devinfo.txt Content-Transfer-Encoding: BASE64 Content-ID: Content-Description: Content-Disposition: attachment; filename=devinfo.txt bmV4dXMwDQogIGNyeXB0b3NvZnQwDQogIHZ0dmdhMA0KICBhcGljMA0KICBy YW0wDQogIGFjcGkwD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Y2UxMSBw bnBpbmZvIF9ISUQ9UE5QMEMwMiBfVUlEPTEzMyBhdCBoYW5kbGU9XF9TQl8u QVdSMC5BQlI1DQogICAgYWNwaV9zeXNyZXNvdXJjZTEyIHBucGluZm8gX0hJ RD1QTlAwQzAyIF9VSUQ9MTM0IGF0IGhhbmRsZT1cX1NCXy5BV1IwLkFCUjYN CiAgICBocGV0MCBwbnBpbmZvIF9ISUQ9UE5QMDEwMyBfVUlEPTAgYXQgaGFu ZGxlPVxIUEVUDQogICAgdW5rbm93biBwbnBpbmZvIF9ISUQ9UE5QMEMxNCBf VUlEPTAgYXQgaGFuZGxlPVxBTVcwDQogICAgdW5rbm93biBwbnBpbmZvIF9I SUQ9UE5QMEMxNCBfVUlEPTAgYXQgaGFuZGxlPVxBT0RfDQogICAgYWNwaV90 aW1lcjAgcG5waW5mbyB1bmtub3duIGF0IHVua25vd24NCg== ---559023410-851401618-1542162394=:29021-- From owner-freebsd-current@freebsd.org Wed Nov 14 02:42:07 2018 Return-Path: Delivered-To: freebsd-current@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 1CB3D1105B7E for ; Wed, 14 Nov 2018 02:42:07 +0000 (UTC) (envelope-from cse.cem@gmail.com) Received: from mail-it1-f196.google.com (mail-it1-f196.google.com [209.85.166.196]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 85EB4886AA; Wed, 14 Nov 2018 02:42:06 +0000 (UTC) (envelope-from cse.cem@gmail.com) Received: by mail-it1-f196.google.com with SMTP id o19so12498172itg.5; Tue, 13 Nov 2018 18:42:06 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:reply-to :from:date:message-id:subject:to:cc; bh=yEMa7DzaNWJ1F0ndGfjBlTK54EGcGTuZbsmqWfOTdJY=; b=p8TJk7SigLQgFdq5ACtCM2l8KTc34dGPxt/DT2PVOw4wyT2qYORl//GwXdH2R2BFQF FxLFJcJFRVNZq1GJ8yDKMO8udpLJVoXN8EjnMCo/QlMjYsTyYdhtVP/7eerp1k9h63Op NvKzUpVrTnRH8GXZY33PiumlAvPi09s/o2KqHqYs9SjQvBu+o3i+8l1FuvuJ6n4ZQrA8 IAKNjtbwfcSx20klA7vIs1hNfbbYtTErbirFGcijO7Taers85pk9dBHKEZBse2VSxrHS jdkn0mszoY8vLgozZceJKOwBpH5iSPSvvWsRM8pbb+iXgV3tl7CtnH12oiRTLCA3WCX1 oDTA== X-Gm-Message-State: AGRZ1gJIsIIPi/9RFYrUdWQujY8aUyEVCvZXXOuw4+4wm9t9rmu6t5qr c5SNqjem6AAj/PgSq4+GsZv5PXcK X-Google-Smtp-Source: AJdET5eArnRfsO28Ju+0fzGV0W4JQN8FZ9ucYkRDj+94ABvEONZ+NTtcj9ExwE31uyogmI8zgqmZYw== X-Received: by 2002:a02:5e04:: with SMTP id h4-v6mr64821jab.99.1542163319798; Tue, 13 Nov 2018 18:41:59 -0800 (PST) Received: from mail-io1-f54.google.com (mail-io1-f54.google.com. [209.85.166.54]) by smtp.gmail.com with ESMTPSA id p10-v6sm6956148ioh.20.2018.11.13.18.41.59 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 13 Nov 2018 18:41:59 -0800 (PST) Received: by mail-io1-f54.google.com with SMTP id m19so4936333ioh.3; Tue, 13 Nov 2018 18:41:59 -0800 (PST) X-Received: by 2002:a6b:3ad5:: with SMTP id h204-v6mr85795ioa.124.1542163318844; Tue, 13 Nov 2018 18:41:58 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: Reply-To: cem@freebsd.org From: Conrad Meyer Date: Tue, 13 Nov 2018 18:41:47 -0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: No amdtemp sysctls, acpi errors, AMD Ryzen 5 2400G To: Daniel Eischen Cc: freebsd-current Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 85EB4886AA X-Spamd-Result: default: False [-4.06 / 200.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; HAS_REPLYTO(0.00)[cem@freebsd.org]; R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17]; REPLYTO_ADDR_EQ_FROM(0.00)[]; RCVD_COUNT_THREE(0.00)[4]; TO_DN_ALL(0.00)[]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_SHORT(-0.98)[-0.981,0]; FORGED_SENDER(0.30)[cem@freebsd.org,csecem@gmail.com]; RCVD_TLS_LAST(0.00)[]; R_DKIM_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; TAGGED_FROM(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_NEQ_ENVFROM(0.00)[cem@freebsd.org,csecem@gmail.com]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[freebsd.org]; IP_SCORE(-1.07)[ipnet: 209.85.128.0/17(-3.41), asn: 15169(-1.85), country: US(-0.09)]; RCVD_IN_DNSWL_NONE(0.00)[196.166.85.209.list.dnswl.org : 127.0.5.0]; RWL_MAILSPIKE_POSSIBLE(0.00)[196.166.85.209.rep.mailspike.net : 127.0.0.17] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Nov 2018 02:42:07 -0000 On Tue, Nov 13, 2018 at 6:26 PM Daniel Eischen wrote: > I've attached it. If it gets filtered by the mail list, I'll > make it http accessible. Thanks Daniel. It looks like your hostbridge zero device has a different device id than in my first generation Ryzen system. Would you please try the following patch and see if it attaches on your system? I don't actually have documentation for Ryzen 2, unfortunately, so I'm not totally sure if the SMN is accessed in the same way for the new hostbridge device id. The change below should at least attempt attaching to hostb0 on your system. diff --git a/sys/dev/amdsmn/amdsmn.c b/sys/dev/amdsmn/amdsmn.c index 17792dd922cd..6fe36b4cc4da 100644 --- a/sys/dev/amdsmn/amdsmn.c +++ b/sys/dev/amdsmn/amdsmn.c @@ -60,7 +60,8 @@ struct amdsmn_softc { static struct pciid { uint32_t device_id; } amdsmn_ids[] = { - { 0x14501022 }, + { 0x14501022 }, /* Ryzen */ + { 0x15d01022 }, /* Ryzen 2 */ }; /* diff --git a/sys/dev/amdtemp/amdtemp.c b/sys/dev/amdtemp/amdtemp.c index 2463212c25f5..765e660a8461 100644 --- a/sys/dev/amdtemp/amdtemp.c +++ b/sys/dev/amdtemp/amdtemp.c @@ -102,6 +102,7 @@ static struct amdtemp_product { { VENDORID_AMD, DEVICEID_AMD_MISC16_M30H }, { VENDORID_AMD, DEVICEID_AMD_MISC17 }, { VENDORID_AMD, DEVICEID_AMD_HOSTB17H }, + { VENDORID_AMD, 0x15d0 }, }; /* Thanks, Conrad From owner-freebsd-current@freebsd.org Wed Nov 14 02:56:21 2018 Return-Path: Delivered-To: freebsd-current@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 AAA7B110615A for ; Wed, 14 Nov 2018 02:56:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 11A7D88CE2 for ; Wed, 14 Nov 2018 02:56:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id C76FE1106154; Wed, 14 Nov 2018 02:56:20 +0000 (UTC) Delivered-To: current@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 8D13A1106151 for ; Wed, 14 Nov 2018 02:56:20 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 1014588CDC for ; Wed, 14 Nov 2018 02:56:20 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id F2761A032 for ; Wed, 14 Nov 2018 02:56:18 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id wAE2uI12014173 for ; Wed, 14 Nov 2018 02:56:18 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id wAE2uI5W014172 for current@FreeBSD.org; Wed, 14 Nov 2018 02:56:18 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: current@FreeBSD.org Subject: [Bug 227191] Cannot check battery status after upgrading to 12-CURRENT after r330957 (ACPI _STA method removed) Date: Wed, 14 Nov 2018 02:56:18 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: misc X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: needs-qa, patch, regression X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: koobs@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: acpi@FreeBSD.org X-Bugzilla-Flags: mfc-stable12? X-Bugzilla-Changed-Fields: short_desc cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-Rspamd-Queue-Id: 11A7D88CE2 X-Spamd-Result: default: False [-105.90 / 200.00]; FORGED_RECIPIENTS_FORWARDING(0.00)[]; ALLOW_DOMAIN_WHITELIST(-100.00)[freebsd.org]; FORWARDED(0.00)[current@mailman.ysv.freebsd.org]; SPF_FAIL_FORWARDING(0.00)[]; TO_DN_NONE(0.00)[]; HAS_XAW(0.00)[]; R_SPF_SOFTFAIL(0.00)[~all]; XAW_SERVICE_ACCT(1.00)[]; RCVD_IN_DNSWL_MED(-0.20)[5.0.0.0.0.5.0.0.0.0.0.0.0.0.0.0.a.6.0.2.4.5.2.2.0.0.9.1.1.0.0.2.list.dnswl.org : 127.0.9.2]; MX_GOOD(-0.01)[cached: mx66.freebsd.org]; NEURAL_HAM_SHORT(-0.99)[-0.993,0]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; IP_SCORE(-3.70)[ip: (-9.86), ipnet: 2001:1900:2254::/48(-4.80), asn: 10310(-3.73), country: US(-0.09)]; ASN(0.00)[asn:10310, ipnet:2001:1900:2254::/48, country:US]; FORGED_RECIPIENTS(0.00)[current@FreeBSD.org,freebsd-current@freebsd.org]; TO_DOM_EQ_FROM_DOM(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; FROM_NO_DN(0.00)[]; RCVD_COUNT_SEVEN(0.00)[7] X-Rspamd-Server: mx1.freebsd.org X-Mailman-Approved-At: Wed, 14 Nov 2018 03:07:43 +0000 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Nov 2018 02:56:21 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D227191 Kubilay Kocak changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Cannot check battery status |Cannot check battery status |after upgrading to |after upgrading to |12-CURRENT after r330957 |12-CURRENT after r330957 |(ACPI problems) |(ACPI _STA method removed) CC| |current@FreeBSD.org --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-current@freebsd.org Wed Nov 14 03:10:10 2018 Return-Path: Delivered-To: freebsd-current@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 5C6051106732 for ; Wed, 14 Nov 2018 03:10:10 +0000 (UTC) (envelope-from cse.cem@gmail.com) Received: from mail-it1-f195.google.com (mail-it1-f195.google.com [209.85.166.195]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id BA0738964C; Wed, 14 Nov 2018 03:10:09 +0000 (UTC) (envelope-from cse.cem@gmail.com) Received: by mail-it1-f195.google.com with SMTP id a205-v6so16196092itd.4; Tue, 13 Nov 2018 19:10:09 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:reply-to :from:date:message-id:subject:to:cc; bh=uPhIRXW2M3REQpcxehgiTsakeALaoisuymhdkuUnNNA=; b=rQwDit1Mg4EpiKjhVr6KCN52NxSItZ5rnaS5wB//NJg6EwOEYqYrEyR/v4ZMrybmM8 F7l8OWMpekZUN8J87UAbe1cob1MZ0ZE14XT28oibMLsHov0ruZV87gCn20RFixPdDUcZ ciZSlGie8f2rWMURgxJ1PG724N5PARCIp3vBCwzhUc8A+EvpAvOMIB63imuDZIGI46Zi dVip6zmK/iNzvDLmZS2/CobqHJFbT8K95pJ8heEfWKmPwGvHw+EUuar9wTwCb/n2YEgK xJGG9zxa22qcSZyYRabNY1tERRrbNHAF0HhhdQmxOIbBnE+KEuqLCahj6HhCDao04ik8 Ru3g== X-Gm-Message-State: AA+aEWYL/xIAnvMioC07JZEv9GLiXSjH+fXRV8E/N/3ONtOcgnCYxywl RcK1fo+B64qGlEPKlkhI3EqEEY8I X-Google-Smtp-Source: AJdET5fEZVZ2dBIEzwNTIi4JMowHaIS3KXfCxZxBiuU0+YL+GhFUkKaAXLx77N/TZ+omHivxcru5Dg== X-Received: by 2002:a24:1642:: with SMTP id a63mr449703ita.40.1542163431746; Tue, 13 Nov 2018 18:43:51 -0800 (PST) Received: from mail-it1-f179.google.com (mail-it1-f179.google.com. [209.85.166.179]) by smtp.gmail.com with ESMTPSA id j4-v6sm6705080iop.42.2018.11.13.18.43.51 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 13 Nov 2018 18:43:51 -0800 (PST) Received: by mail-it1-f179.google.com with SMTP id j79-v6so21759426itb.2; Tue, 13 Nov 2018 18:43:51 -0800 (PST) X-Received: by 2002:a02:9951:: with SMTP id d17-v6mr92452jak.78.1542163430932; Tue, 13 Nov 2018 18:43:50 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: Reply-To: cem@freebsd.org From: Conrad Meyer Date: Tue, 13 Nov 2018 18:43:39 -0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: No amdtemp sysctls, acpi errors, AMD Ryzen 5 2400G To: Daniel Eischen Cc: freebsd-current , Johannes Lundberg Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: BA0738964C X-Spamd-Result: default: False [-4.05 / 200.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; HAS_REPLYTO(0.00)[cem@freebsd.org]; R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17]; REPLYTO_ADDR_EQ_FROM(0.00)[]; RCVD_COUNT_THREE(0.00)[4]; TO_DN_ALL(0.00)[]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; NEURAL_HAM_SHORT(-0.95)[-0.945,0]; FORGED_SENDER(0.30)[cem@freebsd.org,csecem@gmail.com]; RCVD_TLS_LAST(0.00)[]; R_DKIM_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; TAGGED_FROM(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_NEQ_ENVFROM(0.00)[cem@freebsd.org,csecem@gmail.com]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[freebsd.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[195.166.85.209.list.dnswl.org : 127.0.5.0]; IP_SCORE(-1.10)[ipnet: 209.85.128.0/17(-3.53), asn: 15169(-1.85), country: US(-0.09)]; RWL_MAILSPIKE_POSSIBLE(0.00)[195.166.85.209.rep.mailspike.net : 127.0.0.17] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Nov 2018 03:10:10 -0000 Of course, Johannes has already thought of this! See https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=228480 and https://reviews.freebsd.org/D15567 . On Tue, Nov 13, 2018 at 6:41 PM Conrad Meyer wrote: > > On Tue, Nov 13, 2018 at 6:26 PM Daniel Eischen wrote: > > I've attached it. If it gets filtered by the mail list, I'll > > make it http accessible. > > Thanks Daniel. > > It looks like your hostbridge zero device has a different device id > than in my first generation Ryzen system. Would you please try the > following patch and see if it attaches on your system? I don't > actually have documentation for Ryzen 2, unfortunately, so I'm not > totally sure if the SMN is accessed in the same way for the new > hostbridge device id. The change below should at least attempt > attaching to hostb0 on your system. > > diff --git a/sys/dev/amdsmn/amdsmn.c b/sys/dev/amdsmn/amdsmn.c > index 17792dd922cd..6fe36b4cc4da 100644 > --- a/sys/dev/amdsmn/amdsmn.c > +++ b/sys/dev/amdsmn/amdsmn.c > @@ -60,7 +60,8 @@ struct amdsmn_softc { > static struct pciid { > uint32_t device_id; > } amdsmn_ids[] = { > - { 0x14501022 }, > + { 0x14501022 }, /* Ryzen */ > + { 0x15d01022 }, /* Ryzen 2 */ > }; > > /* > diff --git a/sys/dev/amdtemp/amdtemp.c b/sys/dev/amdtemp/amdtemp.c > index 2463212c25f5..765e660a8461 100644 > --- a/sys/dev/amdtemp/amdtemp.c > +++ b/sys/dev/amdtemp/amdtemp.c > @@ -102,6 +102,7 @@ static struct amdtemp_product { > { VENDORID_AMD, DEVICEID_AMD_MISC16_M30H }, > { VENDORID_AMD, DEVICEID_AMD_MISC17 }, > { VENDORID_AMD, DEVICEID_AMD_HOSTB17H }, > + { VENDORID_AMD, 0x15d0 }, > }; > > /* > > > Thanks, > Conrad From owner-freebsd-current@freebsd.org Wed Nov 14 03:16:44 2018 Return-Path: Delivered-To: freebsd-current@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 7A30B1106BC0 for ; Wed, 14 Nov 2018 03:16:44 +0000 (UTC) (envelope-from deischen@freebsd.org) Received: from mail.netplex.net (mail.netplex.net [204.213.176.9]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.netplex.net", Issuer "RapidSSL RSA CA 2018" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E78E189C3E; Wed, 14 Nov 2018 03:16:43 +0000 (UTC) (envelope-from deischen@freebsd.org) Received: from sea.ntplx.net (sea.ntplx.net [204.213.176.11]) by mail.netplex.net (8.15.1/8.15.1/NETPLEX) with ESMTP id wAE3GhCw039829; Tue, 13 Nov 2018 22:16:43 -0500 X-Virus-Scanned: by AMaViS and Clam AntiVirus (mail.netplex.net) X-Greylist: Message whitelisted by DRAC access database, not delayed by milter-greylist-4.4.3 (mail.netplex.net [204.213.176.9]); Tue, 13 Nov 2018 22:16:43 -0500 (EST) Date: Tue, 13 Nov 2018 22:16:43 -0500 (EST) From: Daniel Eischen X-X-Sender: eischen@sea.ntplx.net Reply-To: Daniel Eischen To: Conrad Meyer cc: freebsd-current Subject: Re: No amdtemp sysctls, acpi errors, AMD Ryzen 5 2400G In-Reply-To: Message-ID: References: MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="-559023410-1804928587-1542165403=:29217" X-Rspamd-Queue-Id: E78E189C3E X-Spamd-Result: default: False [-102.01 / 200.00]; ARC_NA(0.00)[]; HAS_REPLYTO(0.00)[deischen@freebsd.org]; ALLOW_DOMAIN_WHITELIST(-100.00)[freebsd.org]; REPLYTO_EQ_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; HAS_ATTACHMENT(0.00)[]; MIME_GOOD(-0.10)[multipart/mixed,text/plain]; DMARC_NA(0.00)[freebsd.org]; R_SPF_SOFTFAIL(0.00)[~all]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; IP_SCORE(-0.02)[country: US(-0.09)]; TO_DN_ALL(0.00)[]; MX_GOOD(-0.01)[cached: mx66.freebsd.org]; CTYPE_MIXED_BOGUS(1.00)[]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_SHORT(-0.98)[-0.984,0]; MIME_BASE64_TEXT(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:6062, ipnet:204.213.176.0/20, country:US]; RCVD_COUNT_TWO(0.00)[2] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Nov 2018 03:16:44 -0000 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. ---559023410-1804928587-1542165403=:29217 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed On Tue, 13 Nov 2018, Conrad Meyer wrote: > On Tue, Nov 13, 2018 at 6:26 PM Daniel Eischen wrote: >> I've attached it. If it gets filtered by the mail list, I'll >> make it http accessible. > > Thanks Daniel. > > It looks like your hostbridge zero device has a different device id > than in my first generation Ryzen system. Would you please try the > following patch and see if it attaches on your system? I don't > actually have documentation for Ryzen 2, unfortunately, so I'm not > totally sure if the SMN is accessed in the same way for the new > hostbridge device id. The change below should at least attempt > attaching to hostb0 on your system. That seems to have done the trick, thanks! Output attached. -- DE ---559023410-1804928587-1542165403=:29217 Content-Type: TEXT/PLAIN; charset=US-ASCII; name=sysctl.temp.txt Content-Transfer-Encoding: BASE64 Content-ID: Content-Description: Content-Disposition: attachment; filename=sysctl.temp.txt bmV0LmluZXQ2LmlwNi51c2VfdGVtcGFkZHI6IDANCm5ldC5pbmV0Ni5pcDYu dGVtcHBsdGltZTogODY0MDANCm5ldC5pbmV0Ni5pcDYudGVtcHZsdGltZTog NjA0ODAwDQpuZXQuaW5ldDYuaXA2LnByZWZlcl90ZW1wYWRkcjogMA0KaHcu dXNiLnRlbXBsYXRlOiAtMQ0Ka3N0YXQuemZzLm1pc2MuYXJjc3RhdHMuYXJj X3RlbXByZXNlcnZlOiAwDQprc3RhdC56ZnMubWlzYy56Y29tcHN0YXRzLmF0 dGVtcHRzOiAxODQzOA0KZGV2LmFtZHRlbXAuMC5jb3JlMC5zZW5zb3IwOiAy OC4xQw0KZGV2LmFtZHRlbXAuMC5zZW5zb3Jfb2Zmc2V0OiAwDQpkZXYuYW1k dGVtcC4wLiVwYXJlbnQ6IGhvc3RiMA0KZGV2LmFtZHRlbXAuMC4lcG5waW5m bzogDQpkZXYuYW1kdGVtcC4wLiVsb2NhdGlvbjogDQpkZXYuYW1kdGVtcC4w LiVkcml2ZXI6IGFtZHRlbXANCmRldi5hbWR0ZW1wLjAuJWRlc2M6IEFNRCBD UFUgT24tRGllIFRoZXJtYWwgU2Vuc29ycw0KZGV2LmFtZHRlbXAuJXBhcmVu dDogDQpkZXYuY3B1LjcudGVtcGVyYXR1cmU6IDI4LjFDDQpkZXYuY3B1LjYu dGVtcGVyYXR1cmU6IDI4LjFDDQpkZXYuY3B1LjUudGVtcGVyYXR1cmU6IDI4 LjFDDQpkZXYuY3B1LjQudGVtcGVyYXR1cmU6IDI4LjFDDQpkZXYuY3B1LjMu dGVtcGVyYXR1cmU6IDI4LjFDDQpkZXYuY3B1LjIudGVtcGVyYXR1cmU6IDI4 LjFDDQpkZXYuY3B1LjEudGVtcGVyYXR1cmU6IDI4LjFDDQpkZXYuY3B1LjAu dGVtcGVyYXR1cmU6IDI4LjFDDQo= ---559023410-1804928587-1542165403=:29217-- From owner-freebsd-current@freebsd.org Wed Nov 14 03:53:26 2018 Return-Path: Delivered-To: freebsd-current@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 28B7F11077D3; Wed, 14 Nov 2018 03:53:26 +0000 (UTC) (envelope-from rebecca@bluestop.org) Received: from muon.bluestop.org (muon.bluestop.org [96.73.9.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 639E48ACDE; Wed, 14 Nov 2018 03:53:25 +0000 (UTC) (envelope-from rebecca@bluestop.org) Received: from muon.bluestop.org (localhost [127.0.0.1]) by muon.bluestop.org (Postfix) with ESMTP id A6EDDCDEC8; Tue, 13 Nov 2018 20:54:05 -0700 (MST) Received: from muon.bluestop.org ([127.0.0.1]) by muon.bluestop.org (muon.bluestop.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id UT0GM-L-2oUP; Tue, 13 Nov 2018 20:54:05 -0700 (MST) Received: from photon.int.bluestop.org (gw.bluestop.org [96.73.9.3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by muon.bluestop.org (Postfix) with ESMTPSA; Tue, 13 Nov 2018 20:54:05 -0700 (MST) From: Rebecca Cran To: freebsd-virtualization@freebsd.org Cc: Kyle Evans , subbsd@gmail.com, FreeBSD Current , "Rodney W. Grimes" Subject: Re: UEFI GOP: screen goes blank during boot after loader is finished Date: Tue, 13 Nov 2018 20:53:21 -0700 Message-ID: <16238656.sFgvYJuXru@photon.int.bluestop.org> In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Rspamd-Queue-Id: 639E48ACDE X-Spamd-Result: default: False [-6.56 / 200.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[bluestop.org]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; RCPT_COUNT_FIVE(0.00)[5]; RCVD_COUNT_THREE(0.00)[4]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[bluestop.org:+]; MX_GOOD(-0.01)[cached: mail.bluestop.org]; DMARC_POLICY_ALLOW(-0.50)[bluestop.org,quarantine]; NEURAL_HAM_SHORT(-0.99)[-0.988,0]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; CTE_CASE(0.50)[]; ASN(0.00)[asn:7922, ipnet:96.64.0.0/11, country:US]; IP_SCORE(-3.07)[ip: (-9.76), ipnet: 96.64.0.0/11(-4.84), asn: 7922(-0.63), country: US(-0.10)] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Nov 2018 03:53:26 -0000 On Tuesday, 13 November 2018 18:57:25 MST Kyle Evans wrote: > However, because loader-land is funny in a not-ha-ha kind of way, can > you try replacing loader.efi on your guest VM with the Forth-flavored > version to rule that out or narrow it down, please? That didn't help. As probably expected, the last output before the screen goes blank is framebuffer information: /boot/kernel/kernel text=0x16776f0 data=0x1cd288+0x768b40 syms=[0x8+0x174ca8+0x8+0x192218] Booting... Start @ 0xffffffff80341000 ... EFI framebuffer information: addr, size 0xc1000000, 0x1000000 dimensions 800 x 600 stride 800 masks 0x00ff0000, 0x0000ff00, 0x000000ff, 0xff000000 -- Rebecca From owner-freebsd-current@freebsd.org Wed Nov 14 04:05:36 2018 Return-Path: Delivered-To: freebsd-current@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 10BD21107DCF for ; Wed, 14 Nov 2018 04:05:36 +0000 (UTC) (envelope-from rebecca@bluestop.org) Received: from muon.bluestop.org (muon.bluestop.org [96.73.9.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 0F0788B48D; Wed, 14 Nov 2018 04:05:35 +0000 (UTC) (envelope-from rebecca@bluestop.org) Received: from muon.bluestop.org (localhost [127.0.0.1]) by muon.bluestop.org (Postfix) with ESMTP id 2D104CDF06; Tue, 13 Nov 2018 21:06:15 -0700 (MST) Received: from muon.bluestop.org ([127.0.0.1]) by muon.bluestop.org (muon.bluestop.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Cn820Qi4M5IU; Tue, 13 Nov 2018 21:06:15 -0700 (MST) Received: from photon.int.bluestop.org (gw.bluestop.org [96.73.9.3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by muon.bluestop.org (Postfix) with ESMTPSA; Tue, 13 Nov 2018 21:06:15 -0700 (MST) From: Rebecca Cran To: freebsd-current@freebsd.org Cc: Stefan Ehmann , cem@freebsd.org, Daniel Eischen Subject: Re: No amdtemp sysctls, acpi errors, AMD Ryzen 5 2400G Date: Tue, 13 Nov 2018 21:05:31 -0700 Message-ID: <2898686.bT80LyP3VS@photon.int.bluestop.org> In-Reply-To: <6df81264-5e82-2eef-abc0-53d27d5cfee0@gmx.net> References: <6df81264-5e82-2eef-abc0-53d27d5cfee0@gmx.net> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Rspamd-Queue-Id: 0F0788B48D X-Spamd-Result: default: False [-6.57 / 200.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[bluestop.org]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; R_SPF_ALLOW(-0.20)[+mx]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; IP_SCORE(-3.08)[ip: (-9.76), ipnet: 96.64.0.0/11(-4.85), asn: 7922(-0.70), country: US(-0.10)]; TO_DN_SOME(0.00)[]; RCVD_COUNT_THREE(0.00)[4]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[bluestop.org:+]; DMARC_POLICY_ALLOW(-0.50)[bluestop.org,quarantine]; MX_GOOD(-0.01)[cached: mail.bluestop.org]; NEURAL_HAM_SHORT(-0.98)[-0.979,0]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; CTE_CASE(0.50)[]; ASN(0.00)[asn:7922, ipnet:96.64.0.0/11, country:US]; FREEMAIL_CC(0.00)[gmx.net] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Nov 2018 04:05:36 -0000 On Tuesday, 13 November 2018 16:20:22 MST Stefan Ehmann wrote: > The 2700 has an offset of 0 though (2700X has 10). > And I'm seeing a difference of more than 30 degrees. I guess something > else must be happening here. I had thought 54 was the right offset for my 2990WX system, but now it's under load building ports the temperature reported via dev.amdtemp is 183C! Meanwhile the readout on the motherboard says "CPU Temp 53 C". -- Rebecca From owner-freebsd-current@freebsd.org Wed Nov 14 04:13:56 2018 Return-Path: Delivered-To: freebsd-current@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 2D42F1108393 for ; Wed, 14 Nov 2018 04:13:56 +0000 (UTC) (envelope-from cse.cem@gmail.com) Received: from mail-it1-f175.google.com (mail-it1-f175.google.com [209.85.166.175]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 5DA668BB01; Wed, 14 Nov 2018 04:13:55 +0000 (UTC) (envelope-from cse.cem@gmail.com) Received: by mail-it1-f175.google.com with SMTP id o19so12732168itg.5; Tue, 13 Nov 2018 20:13:55 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:reply-to :from:date:message-id:subject:to:cc; bh=YnGEc9ulGBw2CCuEmc0YevjoXpaFM3bUSkpphoDqa6Y=; b=ocHvxwZbwZFZis9wAdVQ3h67vRTkDomyeDf1R6fnNoopJjbNRIC218RTt44T/6F+SP rqhuSaGGllNxFgB9K4/3wtvH1BEj80xhy2Fw75H0nk7KN9uA9SlFUAr1AvNcURs+9nhu wgHfwgQ5LJ84pimrqWVQwn/f8tYcAL8KuXpUYFcvZzXlYTlQgHaEPPRNCcFLKM00uyj5 eSogoVifz85uXBaAF6mp+5Dmojv6H3bwFMJCuUiJQ85nuDuL/6rgCYqj6C50qkrWtuIH +o5SBk4nClCoj4mQt7CFw3+9Qo0itlyuWJ3IE/w8eDJ9hp7zm9UINPFfN1ff86/eEaMG heYw== X-Gm-Message-State: AGRZ1gJ2isAqK1rGqX0XkYTWADFTrGPIdwxyVvh8228t/OEv2FixL1VV p5i3by96hliQ/+0bSEi1OyLSIDQo X-Google-Smtp-Source: AJdET5egerqb00fmfogSsZrCY+480VPZKHntOXtOgQEOMCn3Z6AUGVHTMAjfg0lA0Z+Qz6IRcheuNg== X-Received: by 2002:a02:ba01:: with SMTP id z1mr288696jan.100.1542168828503; Tue, 13 Nov 2018 20:13:48 -0800 (PST) Received: from mail-it1-f179.google.com (mail-it1-f179.google.com. [209.85.166.179]) by smtp.gmail.com with ESMTPSA id 201-v6sm8081213itm.2.2018.11.13.20.13.48 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 13 Nov 2018 20:13:48 -0800 (PST) Received: by mail-it1-f179.google.com with SMTP id a205-v6so16357179itd.4; Tue, 13 Nov 2018 20:13:48 -0800 (PST) X-Received: by 2002:a02:9951:: with SMTP id d17-v6mr262862jak.78.1542168827753; Tue, 13 Nov 2018 20:13:47 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: Reply-To: cem@freebsd.org From: Conrad Meyer Date: Tue, 13 Nov 2018 20:13:36 -0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: No amdtemp sysctls, acpi errors, AMD Ryzen 5 2400G To: Daniel Eischen Cc: freebsd-current Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 5DA668BB01 X-Spamd-Result: default: False [-4.06 / 200.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; HAS_REPLYTO(0.00)[cem@freebsd.org]; R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17]; REPLYTO_ADDR_EQ_FROM(0.00)[]; RCVD_COUNT_THREE(0.00)[4]; TO_DN_ALL(0.00)[]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_SHORT(-0.96)[-0.956,0]; FORGED_SENDER(0.30)[cem@freebsd.org,csecem@gmail.com]; RCVD_TLS_LAST(0.00)[]; R_DKIM_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; TAGGED_FROM(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_NEQ_ENVFROM(0.00)[cem@freebsd.org,csecem@gmail.com]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[freebsd.org]; IP_SCORE(-1.09)[ipnet: 209.85.128.0/17(-3.52), asn: 15169(-1.84), country: US(-0.10)]; RCVD_IN_DNSWL_NONE(0.00)[175.166.85.209.list.dnswl.org : 127.0.5.0]; RWL_MAILSPIKE_POSSIBLE(0.00)[175.166.85.209.rep.mailspike.net : 127.0.0.17] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Nov 2018 04:13:56 -0000 On Tue, Nov 13, 2018 at 7:16 PM Daniel Eischen wrote: > > On Tue, 13 Nov 2018, Conrad Meyer wrote: > > > On Tue, Nov 13, 2018 at 6:26 PM Daniel Eischen wrote: > >> I've attached it. If it gets filtered by the mail list, I'll > >> make it http accessible. > > > > Thanks Daniel. > > > > It looks like your hostbridge zero device has a different device id > > than in my first generation Ryzen system. Would you please try the > > following patch and see if it attaches on your system? I don't > > actually have documentation for Ryzen 2, unfortunately, so I'm not > > totally sure if the SMN is accessed in the same way for the new > > hostbridge device id. The change below should at least attempt > > attaching to hostb0 on your system. > > That seems to have done the trick, thanks! Output > attached. Thanks for the quick test! I've committed Johannes' substantially similar patch as r340425. Cheers, Conrad From owner-freebsd-current@freebsd.org Wed Nov 14 04:18:18 2018 Return-Path: Delivered-To: freebsd-current@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 E9288110867D for ; Wed, 14 Nov 2018 04:18:17 +0000 (UTC) (envelope-from cse.cem@gmail.com) Received: from mail-it1-f172.google.com (mail-it1-f172.google.com [209.85.166.172]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 52F228BD91 for ; Wed, 14 Nov 2018 04:18:17 +0000 (UTC) (envelope-from cse.cem@gmail.com) Received: by mail-it1-f172.google.com with SMTP id k141-v6so21976791itk.3 for ; Tue, 13 Nov 2018 20:18:17 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:reply-to :from:date:message-id:subject:to:cc:content-transfer-encoding; bh=KQm4AkYnV4sVTwEgFeTP++XzVgxktrUjavwO4zhwWBo=; b=e2VyzYAwpu0LbP6VO+IaVQJLfiVFEB50ykmIdEecnzWFeUIWTSSEz2Eqw3bT3fccdU zCJXdSNTSbXUJdjsu6RZJhdZnNCqhvZVqtKM6HosJJPaPts6gFKpCsPxrMtnq9xOZ7Bf 6Y8Vq9hzyiN601cL1OKWKuBAbbKrW0I20v7Ou2xFEb1n5q+vAjAjMa8psoHUiVXpMhkM XAQVERkh7JCR9VAsybvq9K8qv1AK3QMYst6wE1c0yGV7bnci24CONVz1Qh/97T0rg2o4 R0HA7IAqjLumJtydLzNcf5OboiOkW2MVGZ7PsqFLkZuTIOLFrINU5fqvKpQfqK/K9AVO u7qA== X-Gm-Message-State: AGRZ1gLyX3K90NyvU1YPJyAYzaTiMkFIwHDMlHgD49UQetOu82esVZkW vOsSNt3FqXV4tZrvu3KnS2E0xGPz X-Google-Smtp-Source: AJdET5ePqa3Fa1IpSEJHLf9WzF0EJ9C28rcvb90xTNSlEnPqfBr5xZ0y1/kzaxk8q4YklD4U0khKFA== X-Received: by 2002:a05:660c:811:: with SMTP id j17mr661841itk.144.1542169091328; Tue, 13 Nov 2018 20:18:11 -0800 (PST) Received: from mail-it1-f181.google.com (mail-it1-f181.google.com. [209.85.166.181]) by smtp.gmail.com with ESMTPSA id d75-v6sm7808794itc.41.2018.11.13.20.18.11 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 13 Nov 2018 20:18:11 -0800 (PST) Received: by mail-it1-f181.google.com with SMTP id m15so21959850itl.4 for ; Tue, 13 Nov 2018 20:18:11 -0800 (PST) X-Received: by 2002:a24:e4ca:: with SMTP id o193mr636909ith.149.1542169090742; Tue, 13 Nov 2018 20:18:10 -0800 (PST) MIME-Version: 1.0 References: <6df81264-5e82-2eef-abc0-53d27d5cfee0@gmx.net> <2898686.bT80LyP3VS@photon.int.bluestop.org> In-Reply-To: <2898686.bT80LyP3VS@photon.int.bluestop.org> Reply-To: cem@freebsd.org From: Conrad Meyer Date: Tue, 13 Nov 2018 20:17:59 -0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: No amdtemp sysctls, acpi errors, AMD Ryzen 5 2400G To: Rebecca Cran Cc: freebsd-current Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 52F228BD91 X-Spamd-Result: default: False [-4.04 / 200.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; HAS_REPLYTO(0.00)[cem@freebsd.org]; R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17]; REPLYTO_ADDR_EQ_FROM(0.00)[]; RCVD_COUNT_THREE(0.00)[4]; TO_DN_ALL(0.00)[]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_SHORT(-0.94)[-0.941,0]; FORGED_SENDER(0.30)[cem@freebsd.org,csecem@gmail.com]; IP_SCORE(-1.09)[ipnet: 209.85.128.0/17(-3.51), asn: 15169(-1.84), country: US(-0.10)]; R_DKIM_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; TAGGED_FROM(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_NEQ_ENVFROM(0.00)[cem@freebsd.org,csecem@gmail.com]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; DMARC_NA(0.00)[freebsd.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[172.166.85.209.list.dnswl.org : 127.0.5.0]; RCVD_TLS_LAST(0.00)[] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Nov 2018 04:18:18 -0000 On Tue, Nov 13, 2018 at 8:05 PM Rebecca Cran wrote: > > On Tuesday, 13 November 2018 16:20:22 MST Stefan Ehmann wrote: > > > The 2700 has an offset of 0 though (2700X has 10). > > And I'm seeing a difference of more than 30 degrees. I guess something > > else must be happening here. > > I had thought 54 was the right offset for my 2990WX system, but now it's = under > load building ports the temperature reported via dev.amdtemp is 183C! > Meanwhile the readout on the motherboard says "CPU Temp 53 C". Maybe it should be -54 instead of +54? 183-(54*2) is the somewhat plausible 75=C2=B0C (still pretty warm even for load). How good is your cooling solution? (The references I can find with a quick search suggest TR 29xx should also be -27=C2=B0 rather than -54=C2=B0C, but they may be mistaken. 183-54= -27 is still 102=C2=B0C =E2=80=94 extremely hot!) Best, Conrad From owner-freebsd-current@freebsd.org Wed Nov 14 04:29:43 2018 Return-Path: Delivered-To: freebsd-current@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 8B00F1108C70 for ; Wed, 14 Nov 2018 04:29:43 +0000 (UTC) (envelope-from rebecca@bluestop.org) Received: from muon.bluestop.org (muon.bluestop.org [96.73.9.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D019B8C3DC; Wed, 14 Nov 2018 04:29:42 +0000 (UTC) (envelope-from rebecca@bluestop.org) Received: from muon.bluestop.org (localhost [127.0.0.1]) by muon.bluestop.org (Postfix) with ESMTP id 7F9CFCDF95; Tue, 13 Nov 2018 21:30:22 -0700 (MST) Received: from muon.bluestop.org ([127.0.0.1]) by muon.bluestop.org (muon.bluestop.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id fK2PmX9nUqIE; Tue, 13 Nov 2018 21:30:22 -0700 (MST) Received: from photon.int.bluestop.org (gw.bluestop.org [96.73.9.3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by muon.bluestop.org (Postfix) with ESMTPSA; Tue, 13 Nov 2018 21:30:22 -0700 (MST) From: Rebecca Cran To: cem@freebsd.org Cc: freebsd-current Subject: Re: No amdtemp sysctls, acpi errors, AMD Ryzen 5 2400G Date: Tue, 13 Nov 2018 21:29:38 -0700 Message-ID: <2418724.ffieBuXMo3@photon.int.bluestop.org> In-Reply-To: References: <2898686.bT80LyP3VS@photon.int.bluestop.org> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Rspamd-Queue-Id: D019B8C3DC X-Spamd-Result: default: False [-6.54 / 200.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[bluestop.org]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; RCVD_COUNT_THREE(0.00)[4]; DKIM_TRACE(0.00)[bluestop.org:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[bluestop.org,quarantine]; MX_GOOD(-0.01)[cached: mail.bluestop.org]; NEURAL_HAM_SHORT(-0.93)[-0.931,0]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; CTE_CASE(0.50)[]; ASN(0.00)[asn:7922, ipnet:96.64.0.0/11, country:US]; IP_SCORE(-3.10)[ip: (-9.77), ipnet: 96.64.0.0/11(-4.86), asn: 7922(-0.76), country: US(-0.10)] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Nov 2018 04:29:43 -0000 On Tuesday, 13 November 2018 21:17:59 MST Conrad Meyer wrote: > Maybe it should be -54 instead of +54? 183-(54*2) is the somewhat > plausible 75?C (still pretty warm even for load). How good is your > cooling solution? D'oh, of course it's -54 instead of +54 (For some reason I presumed a positive offset would be *subtracted*)! I have an all-in-one liquid thermaltake cooler installed, and under Windows it reports reaching 67C when running flat out, which doesn't seem bad. > (The references I can find with a quick search suggest TR 29xx should > also be -27? rather than -54?C, but they may be mistaken. 183-54-27 > is still 102?C ? extremely hot!) That's why I thought 54 was more likely! My 2990WX has 4 units for 32 cores instead of 2 units and 16 cores for other models, so I guessed that perhaps I should double the 27 value other people had said should be used. -- Rebecca From owner-freebsd-current@freebsd.org Wed Nov 14 04:38:14 2018 Return-Path: Delivered-To: freebsd-current@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 38D891108FE7 for ; Wed, 14 Nov 2018 04:38:14 +0000 (UTC) (envelope-from cse.cem@gmail.com) Received: from mail-io1-f52.google.com (mail-io1-f52.google.com [209.85.166.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 6D48B8CA00 for ; Wed, 14 Nov 2018 04:38:13 +0000 (UTC) (envelope-from cse.cem@gmail.com) Received: by mail-io1-f52.google.com with SMTP id h19-v6so10728018iog.9 for ; Tue, 13 Nov 2018 20:38:13 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:reply-to :from:date:message-id:subject:to:cc; bh=mlpIPwrTI31RJtPeyHGNJjMHtnH1njjXC3M1UKdpurg=; b=AQgSvaGspdznekHJu3UVLOkMu0hi/trhnXYvjuem90+GCIYxT+P2A0h7o2lvJmvr4U bRfbzzJkBoCGW0aVHzr7DxGBncIEx9oc5L9urQZkw5YYaA8PnvqvcaeXmOqmP2Yh8hOh GmC+6Lp7TIa28IA3/6KSxxlAGu8i2ksuMOdJNsxjS5Qq2VTsasK6lRd5QXkvEu5jGwRd HOf8G/noODNF9lTf4ier649kHPfO/XtSd6UzgI/LKSmO20kSVLX89qX4WUtuVvw07UKY WVMeK1BJtjL7+TNFAhppiFaH1448LL8cRc08A9X2361m09G5dgZYzIqCm7MvHovVGOwe 4TUw== X-Gm-Message-State: AGRZ1gJc98HnD0n7h6FQ/kSLf+e9gDrlA31Xks6TX2GZCmuF0XVObcPW Kiy1fyqZGTW9/eJMmhRmPAo9yHJS X-Google-Smtp-Source: AJdET5drZZjUBFQa0B/jYZDjSQMA4xteo/T3klqAD/ercCzqhWrGB754Uq7zlXf+GxpsBCZvJplJfg== X-Received: by 2002:a6b:b3c2:: with SMTP id c185-v6mr270260iof.169.1542170292287; Tue, 13 Nov 2018 20:38:12 -0800 (PST) Received: from mail-io1-f41.google.com (mail-io1-f41.google.com. [209.85.166.41]) by smtp.gmail.com with ESMTPSA id g18-v6sm7117138itg.7.2018.11.13.20.38.12 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 13 Nov 2018 20:38:12 -0800 (PST) Received: by mail-io1-f41.google.com with SMTP id m19so5084143ioh.3 for ; Tue, 13 Nov 2018 20:38:12 -0800 (PST) X-Received: by 2002:a6b:3ad5:: with SMTP id h204-v6mr288741ioa.124.1542170291506; Tue, 13 Nov 2018 20:38:11 -0800 (PST) MIME-Version: 1.0 References: <2898686.bT80LyP3VS@photon.int.bluestop.org> <2418724.ffieBuXMo3@photon.int.bluestop.org> In-Reply-To: <2418724.ffieBuXMo3@photon.int.bluestop.org> Reply-To: cem@freebsd.org From: Conrad Meyer Date: Tue, 13 Nov 2018 20:38:00 -0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: No amdtemp sysctls, acpi errors, AMD Ryzen 5 2400G To: Rebecca Cran Cc: freebsd-current Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 6D48B8CA00 X-Spamd-Result: default: False [-3.99 / 200.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; HAS_REPLYTO(0.00)[cem@freebsd.org]; R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17]; REPLYTO_ADDR_EQ_FROM(0.00)[]; RCVD_COUNT_THREE(0.00)[4]; TO_DN_ALL(0.00)[]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_SHORT(-0.89)[-0.892,0]; FORGED_SENDER(0.30)[cem@freebsd.org,csecem@gmail.com]; IP_SCORE(-1.09)[ipnet: 209.85.128.0/17(-3.50), asn: 15169(-1.84), country: US(-0.10)]; R_DKIM_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; TAGGED_FROM(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_NEQ_ENVFROM(0.00)[cem@freebsd.org,csecem@gmail.com]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; DMARC_NA(0.00)[freebsd.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[52.166.85.209.list.dnswl.org : 127.0.5.0]; RCVD_TLS_LAST(0.00)[] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Nov 2018 04:38:14 -0000 On Tue, Nov 13, 2018 at 8:29 PM Rebecca Cran wrote: > > On Tuesday, 13 November 2018 21:17:59 MST Conrad Meyer wrote: > > > Maybe it should be -54 instead of +54? 183-(54*2) is the somewhat > > plausible 75?C (still pretty warm even for load). How good is your > > cooling solution? > > D'oh, of course it's -54 instead of +54 (For some reason I presumed a positive > offset would be *subtracted*)! I have an all-in-one liquid thermaltake > cooler installed, and under Windows it reports reaching 67C when running flat > out, which doesn't seem bad. Yeah, 67C seems totally great at load. > > (The references I can find with a quick search suggest TR 29xx should > > also be -27? rather than -54?C, but they may be mistaken. 183-54-27 > > is still 102?C ? extremely hot!) > > That's why I thought 54 was more likely! My 2990WX has 4 units for 32 cores > instead of 2 units and 16 cores for other models, so I guessed that perhaps I > should double the 27 value other people had said should be used. Hm, the Linux folks still use -27 for the 2990WX as well as all of the other threadripper models. I'm not sure what's right. I wish I had access to the Ryzen 2 register docs, but I don't. Best, Conrad From owner-freebsd-current@freebsd.org Wed Nov 14 04:42:12 2018 Return-Path: Delivered-To: freebsd-current@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 ECCFB1109192 for ; Wed, 14 Nov 2018 04:42:11 +0000 (UTC) (envelope-from cse.cem@gmail.com) Received: from mail-it1-f178.google.com (mail-it1-f178.google.com [209.85.166.178]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 52A7F8CD87 for ; Wed, 14 Nov 2018 04:42:11 +0000 (UTC) (envelope-from cse.cem@gmail.com) Received: by mail-it1-f178.google.com with SMTP id e11so22011835itl.5 for ; Tue, 13 Nov 2018 20:42:11 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:reply-to :from:date:message-id:subject:to:cc:content-transfer-encoding; bh=zSxDPg5JCDhZ1E9L21ik9q2oIbYNKr5c0+gtQ3AQ6/k=; b=LbPJEjWii0CJbX1jPcIW3HiagU7thRSxMwew56SOpPNTHjx3OhweiNi4H/7cQMU1aC gm0Ao07ngrClujazthcEKgaCyeP+mdBXUXxSh4vk/GnTFNA93CN9kfA+oHTrLQakZa8I zo8nLsmNbVL+LkrgIPxYO2bND4Te1ZuymvNtVNce3gGfa2Bf/eFy2xjDKmXKW3fZ9n4M ZVUNQHXHmGM95bDa3G4GRCbQMkLa9tyEwy6SOSGI17B0WUwMod3EqzDb84FdAvb0sPHA rr5VJX04QFJ+X0QCwulNlv4GRP3mDBmu3StNPFAEIfUns2y64G3jf6eFqnVC6hoJgKHy tJqA== X-Gm-Message-State: AGRZ1gJaeLMy9jAhz0u2h2evntKJGDQCPS0atV1iiHwd6bo8w82DsHfE jWkEQ5sQrfGSNU42ZFfTpg8xGNAs X-Google-Smtp-Source: AJdET5deAOZOyKY52y0OLwDe6XkqjxVVjjlCYB+ziFORDs9leWUWjwipI/V2+QfpnnmW7VQ6hBGaOg== X-Received: by 2002:a02:1a44:: with SMTP id 65-v6mr331113jai.50.1542170530361; Tue, 13 Nov 2018 20:42:10 -0800 (PST) Received: from mail-it1-f182.google.com (mail-it1-f182.google.com. [209.85.166.182]) by smtp.gmail.com with ESMTPSA id i145-v6sm6445452ita.26.2018.11.13.20.42.10 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 13 Nov 2018 20:42:10 -0800 (PST) Received: by mail-it1-f182.google.com with SMTP id r12-v6so21997998ita.3 for ; Tue, 13 Nov 2018 20:42:10 -0800 (PST) X-Received: by 2002:a24:e4ca:: with SMTP id o193mr677561ith.149.1542170529736; Tue, 13 Nov 2018 20:42:09 -0800 (PST) MIME-Version: 1.0 References: <2898686.bT80LyP3VS@photon.int.bluestop.org> <2418724.ffieBuXMo3@photon.int.bluestop.org> In-Reply-To: Reply-To: cem@freebsd.org From: Conrad Meyer Date: Tue, 13 Nov 2018 20:41:58 -0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: No amdtemp sysctls, acpi errors, AMD Ryzen 5 2400G To: Rebecca Cran Cc: freebsd-current Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 52A7F8CD87 X-Spamd-Result: default: False [-4.06 / 200.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; HAS_REPLYTO(0.00)[cem@freebsd.org]; R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17]; REPLYTO_ADDR_EQ_FROM(0.00)[]; RCVD_COUNT_THREE(0.00)[4]; TO_DN_ALL(0.00)[]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_SHORT(-0.96)[-0.960,0]; FORGED_SENDER(0.30)[cem@freebsd.org,csecem@gmail.com]; IP_SCORE(-1.09)[ipnet: 209.85.128.0/17(-3.50), asn: 15169(-1.84), country: US(-0.10)]; R_DKIM_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; TAGGED_FROM(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_NEQ_ENVFROM(0.00)[cem@freebsd.org,csecem@gmail.com]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; DMARC_NA(0.00)[freebsd.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[178.166.85.209.list.dnswl.org : 127.0.5.0]; RCVD_TLS_LAST(0.00)[] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Nov 2018 04:42:12 -0000 You know what, I wonder if you're running into the CUR_TEMP_RANGE_SEL? I.e., sometimes the CPU chooses to report on a range from 0-225C and sometimes -49C-206C. I think someone else's 2990WX did the same thing. I guess that patch never landed? 102=C2=B0C - 49=C2=B0C is the ver= y reasonable 53=C2=B0C. Yeah, sigh, it never landed: https://reviews.freebsd.org/D16855 Ok I'll go ahead and commit that too. Thanks, Conrad On Tue, Nov 13, 2018 at 8:38 PM Conrad Meyer wrote: > > On Tue, Nov 13, 2018 at 8:29 PM Rebecca Cran wrote= : > > > > On Tuesday, 13 November 2018 21:17:59 MST Conrad Meyer wrote: > > > > > Maybe it should be -54 instead of +54? 183-(54*2) is the somewhat > > > plausible 75?C (still pretty warm even for load). How good is your > > > cooling solution? > > > > D'oh, of course it's -54 instead of +54 (For some reason I presumed a p= ositive > > offset would be *subtracted*)! I have an all-in-one liquid thermaltak= e > > cooler installed, and under Windows it reports reaching 67C when runnin= g flat > > out, which doesn't seem bad. > > Yeah, 67C seems totally great at load. > > > > (The references I can find with a quick search suggest TR 29xx should > > > also be -27? rather than -54?C, but they may be mistaken. 183-54-27 > > > is still 102?C ? extremely hot!) > > > > That's why I thought 54 was more likely! My 2990WX has 4 units for 32 c= ores > > instead of 2 units and 16 cores for other models, so I guessed that per= haps I > > should double the 27 value other people had said should be used. > > Hm, the Linux folks still use -27 for the 2990WX as well as all of the > other threadripper models. I'm not sure what's right. I wish I had > access to the Ryzen 2 register docs, but I don't. > > Best, > Conrad From owner-freebsd-current@freebsd.org Wed Nov 14 04:51:11 2018 Return-Path: Delivered-To: freebsd-current@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 EE04A110955D for ; Wed, 14 Nov 2018 04:51:10 +0000 (UTC) (envelope-from cse.cem@gmail.com) Received: from mail-io1-f50.google.com (mail-io1-f50.google.com [209.85.166.50]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 572A88D2F3 for ; Wed, 14 Nov 2018 04:51:10 +0000 (UTC) (envelope-from cse.cem@gmail.com) Received: by mail-io1-f50.google.com with SMTP id r200so5251469iod.11 for ; Tue, 13 Nov 2018 20:51:10 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:reply-to :from:date:message-id:subject:to:cc:content-transfer-encoding; bh=BSri4LHC9TukdBkvtASFbCpsXvb7HeCTI/DZg0V+0dU=; b=MiAa4JXJI7ybHdPy8fsQXa8XHDFQJvMR94jCXC8E708y0EPYAUSPGUDohP8FosqZFb h0zdPjhWW/sTXfEtfDSv4qAdTZAzZVsXsAI5MucxEh70BO1NLPL4JIZPSQbZvPCLhL8l ppi4+71NJiqYf7uVGtyypNFOtrO7P1Yy+/IPLtj6qE6kJCdZgpU80hDuU9D2b3Mv9rKX y0mdl+hJm9PIggpHkD8oDPwjwoEpyN07QLTs7UGe4gDr8ixpAC4NcG43/a+Gl6EzdrqO AvQxa4yOvUkicNnuoPT/yrnuKWR/ikalb5LJGDNta1EZe8u/ONaHTYVPE65K6tw2KUq5 MleQ== X-Gm-Message-State: AA+aEWZuWaaUJgsF/di5fd+V5i3HRLTLr0t7wsS/iJYbeZSr591LTtp3 RBSIi8mgmwIlFk9hsNCAHUl5R1DF X-Google-Smtp-Source: AFSGD/X4CV2U4TgB8Qn5u//vFHWo8By0YxYyhvzo1Jcwopx93/fZ/VLR0C6GC/JMJZYFLL823hzUIg== X-Received: by 2002:a6b:9141:: with SMTP id t62-v6mr302708iod.156.1542171063462; Tue, 13 Nov 2018 20:51:03 -0800 (PST) Received: from mail-it1-f173.google.com (mail-it1-f173.google.com. [209.85.166.173]) by smtp.gmail.com with ESMTPSA id u2-v6sm7218838iof.45.2018.11.13.20.51.03 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 13 Nov 2018 20:51:03 -0800 (PST) Received: by mail-it1-f173.google.com with SMTP id w7-v6so22064475itd.1 for ; Tue, 13 Nov 2018 20:51:03 -0800 (PST) X-Received: by 2002:a24:c846:: with SMTP id w67-v6mr705259itf.32.1542171062840; Tue, 13 Nov 2018 20:51:02 -0800 (PST) MIME-Version: 1.0 References: <2898686.bT80LyP3VS@photon.int.bluestop.org> <2418724.ffieBuXMo3@photon.int.bluestop.org> In-Reply-To: Reply-To: cem@freebsd.org From: Conrad Meyer Date: Tue, 13 Nov 2018 20:50:51 -0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: No amdtemp sysctls, acpi errors, AMD Ryzen 5 2400G To: Rebecca Cran Cc: freebsd-current Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 572A88D2F3 X-Spamd-Result: default: False [-4.05 / 200.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; HAS_REPLYTO(0.00)[cem@freebsd.org]; R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17]; REPLYTO_ADDR_EQ_FROM(0.00)[]; RCVD_COUNT_THREE(0.00)[4]; TO_DN_ALL(0.00)[]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_SHORT(-0.95)[-0.952,0]; FORGED_SENDER(0.30)[cem@freebsd.org,csecem@gmail.com]; IP_SCORE(-1.08)[ipnet: 209.85.128.0/17(-3.49), asn: 15169(-1.83), country: US(-0.10)]; R_DKIM_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; TAGGED_FROM(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_NEQ_ENVFROM(0.00)[cem@freebsd.org,csecem@gmail.com]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; DMARC_NA(0.00)[freebsd.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[50.166.85.209.list.dnswl.org : 127.0.5.0]; RCVD_TLS_LAST(0.00)[] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Nov 2018 04:51:11 -0000 Please try r340426 :-). On Tue, Nov 13, 2018 at 8:41 PM Conrad Meyer wrote: > > You know what, I wonder if you're running into the CUR_TEMP_RANGE_SEL? > I.e., sometimes the CPU chooses to report on a range from 0-225C and > sometimes -49C-206C. I think someone else's 2990WX did the same > thing. I guess that patch never landed? 102=C2=B0C - 49=C2=B0C is the v= ery > reasonable 53=C2=B0C. > > Yeah, sigh, it never landed: https://reviews.freebsd.org/D16855 > > Ok I'll go ahead and commit that too. > > Thanks, > Conrad > On Tue, Nov 13, 2018 at 8:38 PM Conrad Meyer wrote: > > > > On Tue, Nov 13, 2018 at 8:29 PM Rebecca Cran wro= te: > > > > > > On Tuesday, 13 November 2018 21:17:59 MST Conrad Meyer wrote: > > > > > > > Maybe it should be -54 instead of +54? 183-(54*2) is the somewhat > > > > plausible 75?C (still pretty warm even for load). How good is your > > > > cooling solution? > > > > > > D'oh, of course it's -54 instead of +54 (For some reason I presumed a= positive > > > offset would be *subtracted*)! I have an all-in-one liquid thermalt= ake > > > cooler installed, and under Windows it reports reaching 67C when runn= ing flat > > > out, which doesn't seem bad. > > > > Yeah, 67C seems totally great at load. > > > > > > (The references I can find with a quick search suggest TR 29xx shou= ld > > > > also be -27? rather than -54?C, but they may be mistaken. 183-54-2= 7 > > > > is still 102?C ? extremely hot!) > > > > > > That's why I thought 54 was more likely! My 2990WX has 4 units for 32= cores > > > instead of 2 units and 16 cores for other models, so I guessed that p= erhaps I > > > should double the 27 value other people had said should be used. > > > > Hm, the Linux folks still use -27 for the 2990WX as well as all of the > > other threadripper models. I'm not sure what's right. I wish I had > > access to the Ryzen 2 register docs, but I don't. > > > > Best, > > Conrad From owner-freebsd-current@freebsd.org Wed Nov 14 04:55:27 2018 Return-Path: Delivered-To: freebsd-current@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 B0E5B110991A for ; Wed, 14 Nov 2018 04:55:27 +0000 (UTC) (envelope-from rebecca@bluestop.org) Received: from muon.bluestop.org (muon.bluestop.org [96.73.9.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 139C58D615; Wed, 14 Nov 2018 04:55:27 +0000 (UTC) (envelope-from rebecca@bluestop.org) Received: from muon.bluestop.org (localhost [127.0.0.1]) by muon.bluestop.org (Postfix) with ESMTP id D2081CE05C; Tue, 13 Nov 2018 21:56:07 -0700 (MST) Received: from muon.bluestop.org ([127.0.0.1]) by muon.bluestop.org (muon.bluestop.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id eMVN0VC8-Oyo; Tue, 13 Nov 2018 21:56:07 -0700 (MST) Received: from photon.int.bluestop.org (gw.bluestop.org [96.73.9.3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by muon.bluestop.org (Postfix) with ESMTPSA; Tue, 13 Nov 2018 21:56:07 -0700 (MST) From: Rebecca Cran To: cem@freebsd.org Cc: freebsd-current Subject: Re: No amdtemp sysctls, acpi errors, AMD Ryzen 5 2400G Date: Tue, 13 Nov 2018 21:55:24 -0700 Message-ID: <1759774.EnoYUHA41c@photon.int.bluestop.org> In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="iso-8859-1" X-Rspamd-Queue-Id: 139C58D615 X-Spamd-Result: default: False [-7.07 / 200.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[bluestop.org]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; RCVD_COUNT_THREE(0.00)[4]; DKIM_TRACE(0.00)[bluestop.org:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[bluestop.org,quarantine]; MX_GOOD(-0.01)[cached: mail.bluestop.org]; NEURAL_HAM_SHORT(-0.94)[-0.943,0]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; IP_SCORE(-3.12)[ip: (-9.78), ipnet: 96.64.0.0/11(-4.87), asn: 7922(-0.83), country: US(-0.10)]; ASN(0.00)[asn:7922, ipnet:96.64.0.0/11, country:US] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Nov 2018 04:55:27 -0000 On Tuesday, 13 November 2018 21:41:58 MST Conrad Meyer wrote: > You know what, I wonder if you're running into the CUR_TEMP_RANGE_SEL? > I.e., sometimes the CPU chooses to report on a range from 0-225C and > sometimes -49C-206C. I think someone else's 2990WX did the same > thing. I guess that patch never landed? 102=B0C - 49=B0C is the very > reasonable 53=B0C. >=20 > Yeah, sigh, it never landed: https://reviews.freebsd.org/D16855 Thanks, that's it: setting the sensor_offset sysctls to -76 results in Free= BSD=20 reporting 51.1C while the readout on the motherboard shows 51C :) I'll fetch and build r340426 tomorrow. =2D-=20 Rebecca From owner-freebsd-current@freebsd.org Wed Nov 14 04:59:05 2018 Return-Path: Delivered-To: freebsd-current@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 336BC1109A9F for ; Wed, 14 Nov 2018 04:59:05 +0000 (UTC) (envelope-from cse.cem@gmail.com) Received: from mail-it1-f169.google.com (mail-it1-f169.google.com [209.85.166.169]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 97F3E8D7CF for ; Wed, 14 Nov 2018 04:59:04 +0000 (UTC) (envelope-from cse.cem@gmail.com) Received: by mail-it1-f169.google.com with SMTP id m15so22046421itl.4 for ; Tue, 13 Nov 2018 20:59:04 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:reply-to :from:date:message-id:subject:to:cc:content-transfer-encoding; bh=BbRlK3Lube+URdtbeOZbNyCQVrg3fg6Da5y57wRm8jI=; b=SyWM1AwFSPRjB9ZBcwdsp04/R1MuYG95ER6ROflfhUQE5l0i/lz0Ilv0fuAb/8CH0L SDPLourP+IkYaBxAP0tcmKMQ+GVWGMZTUPdyZ/6foaqrBfouXfYHLgnreBB+pGayX0TB 33Sv2tdwut5BSORRUvt2X3NTWrjLhWt4c8t4XiUJtJEU9XXPYFbeE9j+hiCNkmfKT96s Q712MW3fFMDY+WDkA9wETZFJiuC4aORb9GWTC0bOaF3BQEbGmq58XVcOQ90wJ9aCVgab SusAjwZx0H1kMrQvqiblSuGFyFWrMMHq9p5q+sHNRwXe9zQ1cWFPWQKM8fXd4jzyNBqF 5jNQ== X-Gm-Message-State: AA+aEWYe5X6ymZeMJaN/e5egriKQKE9WS+PSrWnXnF2q4gDTioKptcSk 7fHtFcmU3+cUx3RMQ/lLqbVNOVDb X-Google-Smtp-Source: AJdET5e3qshqrRrRFAPOgrb+MCNsxd+MKy8PTjEcDJY61bcdaDw7597EVHhcBxu+Ub3YLPrDASpiew== X-Received: by 2002:a24:b884:: with SMTP id m126-v6mr749756ite.150.1542171543571; Tue, 13 Nov 2018 20:59:03 -0800 (PST) Received: from mail-it1-f182.google.com (mail-it1-f182.google.com. [209.85.166.182]) by smtp.gmail.com with ESMTPSA id b2-v6sm7055239ioq.78.2018.11.13.20.59.03 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 13 Nov 2018 20:59:03 -0800 (PST) Received: by mail-it1-f182.google.com with SMTP id a205-v6so16463164itd.4 for ; Tue, 13 Nov 2018 20:59:03 -0800 (PST) X-Received: by 2002:a24:7296:: with SMTP id x144-v6mr677504itc.166.1542171542891; Tue, 13 Nov 2018 20:59:02 -0800 (PST) MIME-Version: 1.0 References: <1759774.EnoYUHA41c@photon.int.bluestop.org> In-Reply-To: <1759774.EnoYUHA41c@photon.int.bluestop.org> Reply-To: cem@freebsd.org From: Conrad Meyer Date: Tue, 13 Nov 2018 20:58:51 -0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: No amdtemp sysctls, acpi errors, AMD Ryzen 5 2400G To: Rebecca Cran Cc: freebsd-current Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 97F3E8D7CF X-Spamd-Result: default: False [-5.98 / 200.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; HAS_REPLYTO(0.00)[cem@freebsd.org]; R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17]; REPLYTO_ADDR_EQ_FROM(0.00)[]; RCVD_COUNT_THREE(0.00)[4]; TO_DN_ALL(0.00)[]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_SHORT(-0.96)[-0.959,0]; FORGED_SENDER(0.30)[cem@freebsd.org,csecem@gmail.com]; IP_SCORE(-3.02)[ip: (-9.67), ipnet: 209.85.128.0/17(-3.49), asn: 15169(-1.83), country: US(-0.10)]; R_DKIM_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; TAGGED_FROM(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_NEQ_ENVFROM(0.00)[cem@freebsd.org,csecem@gmail.com]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; DMARC_NA(0.00)[freebsd.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[169.166.85.209.list.dnswl.org : 127.0.5.0]; RCVD_TLS_LAST(0.00)[]; RWL_MAILSPIKE_POSSIBLE(0.00)[169.166.85.209.rep.mailspike.net : 127.0.0.17] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Nov 2018 04:59:05 -0000 Perfect! Sounds like we are on the right track, at least. Best, Conrad On Tue, Nov 13, 2018 at 8:55 PM Rebecca Cran wrote: > > On Tuesday, 13 November 2018 21:41:58 MST Conrad Meyer wrote: > > You know what, I wonder if you're running into the CUR_TEMP_RANGE_SEL? > > I.e., sometimes the CPU chooses to report on a range from 0-225C and > > sometimes -49C-206C. I think someone else's 2990WX did the same > > thing. I guess that patch never landed? 102=C2=B0C - 49=C2=B0C is the= very > > reasonable 53=C2=B0C. > > > > Yeah, sigh, it never landed: https://reviews.freebsd.org/D16855 > > Thanks, that's it: setting the sensor_offset sysctls to -76 results in Fr= eeBSD > reporting 51.1C while the readout on the motherboard shows 51C :) > > I'll fetch and build r340426 tomorrow. > > -- > Rebecca > > From owner-freebsd-current@freebsd.org Wed Nov 14 07:05:26 2018 Return-Path: Delivered-To: freebsd-current@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 D907B110C7A5 for ; Wed, 14 Nov 2018 07:05:25 +0000 (UTC) (envelope-from truckman@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 5B1536A8A4 for ; Wed, 14 Nov 2018 07:05:25 +0000 (UTC) (envelope-from truckman@FreeBSD.org) Received: from mousie.catspoiler.org (unknown [76.212.85.177]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) (Authenticated sender: truckman) by smtp.freebsd.org (Postfix) with ESMTPSA id BBA39288BE for ; Wed, 14 Nov 2018 07:05:24 +0000 (UTC) (envelope-from truckman@FreeBSD.org) Date: Tue, 13 Nov 2018 23:05:23 -0800 (PST) From: Don Lewis Subject: recent 13.0-CURRENT double panic near start of poudriere run To: freebsd-current@FreeBSD.org Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; CHARSET=us-ascii Content-Disposition: INLINE X-Rspamd-Queue-Id: 5B1536A8A4 X-Spamd-Result: default: False [-106.83 / 200.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; ALLOW_DOMAIN_WHITELIST(-100.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; TO_DN_NONE(0.00)[]; R_SPF_SOFTFAIL(0.00)[~all]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; DMARC_NA(0.00)[FreeBSD.org]; MX_GOOD(-0.01)[cached: mx1.FreeBSD.org]; NEURAL_HAM_SHORT(-1.00)[-1.000,0]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; IP_SCORE(-3.72)[ip: (-9.76), ipnet: 96.47.64.0/20(-4.83), asn: 11403(-3.91), country: US(-0.10)]; ASN(0.00)[asn:11403, ipnet:96.47.64.0/20, country:US]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; TO_DOM_EQ_FROM_DOM(0.00)[] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Nov 2018 07:05:26 -0000 I've been doing a bunch of packing building today on my Ryzen box and just got this kernel panic near the start of a poudriere run: 13.0-CURRENT FreeBSD 13.0-CURRENT r340358 GENERIC amd64 [00:00:08] Processing PRIORITY_BOOST [00:00:08] Balancing pool [00:00:08] Recording filesystem state for prepkg... done [00:00:09] Building 315 packages using 16 builders [00:00:09] Starting/Cloning builders [ system paniced and dropped into ddb ] # /usr/local/bin/kgdb /boot/kernel/kernel /var/crash/vmcore.3 GNU gdb (GDB) 8.2 [GDB v8.2 for FreeBSD] Copyright (C) 2018 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-portbld-freebsd13.0". Type "show configuration" for configuration details. For bug reporting instructions, please see: . Find the GDB manual and other documentation resources online at: . For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from /boot/kernel/kernel...Reading symbols from /usr/lib/debug//boot/kernel/kernel.debug...done. done. Unread portion of the kernel message buffer: timeout stopping cpus panic: mutex sched lock 2 recursed at /usr/src/sys/kern/kern_synch.c:390 cpuid = 2 time = 1542176879 KDB: stack backtrace: db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe00779645f0 vpanic() at vpanic+0x1a3/frame 0xfffffe0077964650 panic() at panic+0x43/frame 0xfffffe00779646b0 __mtx_assert() at __mtx_assert+0x69/frame 0xfffffe00779646c0 mi_switch() at mi_switch+0x42/frame 0xfffffe00779646f0 critical_exit_preempt() at critical_exit_preempt+0x66/frame 0xfffffe0077964710 lapic_handle_timer() at lapic_handle_timer+0xe4/frame 0xfffffe0077964750 Xtimerint() at Xtimerint+0xae/frame 0xfffffe0077964750 --- interrupt, rip = 0xffffffff80bf7860, rsp = 0xfffffe0077964820, rbp = 0xfffffe0077964840 --- generic_stop_cpus() at generic_stop_cpus+0x170/frame 0xfffffe0077964840 stop_cpus_hard() at stop_cpus_hard+0x22/frame 0xfffffe0077964870 vpanic() at vpanic+0xb0/frame 0xfffffe00779648f0 panic() at panic+0x43/frame 0xfffffe0077964950 mi_switch() at mi_switch+0x1ff/frame 0xfffffe0077964980 critical_exit_preempt() at critical_exit_preempt+0x66/frame 0xfffffe00779649a0 sched_idletd() at sched_idletd+0x517/frame 0xfffffe0077964a70 fork_exit() at fork_exit+0x84/frame 0xfffffe0077964ab0 fork_trampoline() at fork_trampoline+0xe/frame 0xfffffe0077964ab0 --- trap 0, rip = 0, rsp = 0, rbp = 0 --- KDB: enter: panic __curthread () at ./machine/pcpu.h:230 230 __asm("movq %%gs:%P1,%0" : "=r" (td) : "n" (OFFSETOF_CURTHREAD)); (kgdb) bt #0 __curthread () at ./machine/pcpu.h:230 #1 doadump (textdump=-2118704160) at /usr/src/sys/kern/kern_shutdown.c:371 #2 0xffffffff804659bc in db_fncall_generic (addr=, rv=, nargs=, args=) at /usr/src/sys/ddb/db_command.c:609 #3 db_fncall (dummy1=, dummy2=, dummy3=, dummy4=) at /usr/src/sys/ddb/db_command.c:657 #4 0xffffffff804654f9 in db_command (last_cmdp=, cmd_table=, dopager=) at /usr/src/sys/ddb/db_command.c:481 #5 0xffffffff80465274 in db_command_loop () at /usr/src/sys/ddb/db_command.c:534 #6 0xffffffff8046848f in db_trap (type=, code=) at /usr/src/sys/ddb/db_main.c:252 #7 0xffffffff80be7925 in kdb_trap (type=3, code=0, tf=) at /usr/src/sys/kern/subr_kdb.c:692 #8 0xffffffff81074946 in trap (frame=0xfffffe0077964520) at /usr/src/sys/amd64/amd64/trap.c:619 #9 #10 kdb_enter (why=0xffffffff813065f5 "panic", msg=) at /usr/src/sys/kern/subr_kdb.c:479 #11 0xffffffff80b9f1f0 in vpanic (fmt=, ap=0xfffffe0077964690) --Type for more, q to quit, c to continue without paging--c at /usr/src/sys/kern/kern_shutdown.c:866 #12 0xffffffff80b9ef93 in panic (fmt=0xffffffff81e951d8 "\304\271,\201\377\377\377\377") at /usr/src/sys/kern/kern_shutdown.c:804 #13 0xffffffff80b7ea79 in __mtx_assert (c=, what=, file=0xfffffe00779644e0 "", line=128) at /usr/src/sys/kern/kern_mutex.c:1064 #14 0xffffffff80baa6d2 in mi_switch (flags=1544, newtd=0x0) at /usr/src/sys/kern/kern_synch.c:390 #15 0xffffffff80ba7726 in critical_exit_preempt () at /usr/src/sys/kern/kern_switch.c:243 #16 0xffffffff811ea434 in critical_exit () at /usr/src/sys/sys/systm.h:266 #17 lapic_handle_timer (frame=0xfffffe0077964760) at /usr/src/sys/x86/x86/local_apic.c:1335 #18 #19 ia32_pause () at ./machine/cpufunc.h:348 #20 generic_stop_cpus (map=..., type=255) at /usr/src/sys/kern/subr_smp.c:280 #21 0xffffffff80bf78f2 in stop_cpus_hard (map=...) at /usr/src/sys/kern/subr_smp.c:308 #22 0xffffffff80b9f0e0 in vpanic (fmt=0xffffffff81210702 "mi_switch: switch in a critical section", ap=0xfffffe0077964930) at /usr/src/sys/kern/kern_shutdown.c:828 #23 0xffffffff80b9ef93 in panic (fmt=0x4400 ) at /usr/src/sys/kern/kern_shutdown.c:804 #24 0xffffffff80baa88f in mi_switch (flags=1544, newtd=0x0) at /usr/src/sys/kern/kern_synch.c:396 #25 0xffffffff80ba7726 in critical_exit_preempt () at /usr/src/sys/kern/kern_switch.c:243 #26 0xffffffff80bcf2a7 in sched_idletd (dummy=) at /usr/src/sys/kern/sched_ule.c:2829 #27 0xffffffff80b5f064 in fork_exit (callout=0xffffffff80bced90 , arg=0x0, frame=0xfffffe0077964ac0) at /usr/src/sys/kern/kern_fork.c:1057 #28 It actually appears to be a double panic, with the original panic being: mi_switch: switch in a critical section From owner-freebsd-current@freebsd.org Wed Nov 14 12:49:17 2018 Return-Path: Delivered-To: freebsd-current@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 7E0E71126C87; Wed, 14 Nov 2018 12:49:17 +0000 (UTC) (envelope-from kevans@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E282F751B6; Wed, 14 Nov 2018 12:49:16 +0000 (UTC) (envelope-from kevans@freebsd.org) Received: from mail-lf1-f41.google.com (mail-lf1-f41.google.com [209.85.167.41]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) (Authenticated sender: kevans) by smtp.freebsd.org (Postfix) with ESMTPSA id 7D6B52AB44; Wed, 14 Nov 2018 12:49:16 +0000 (UTC) (envelope-from kevans@freebsd.org) Received: by mail-lf1-f41.google.com with SMTP id p6so11419654lfc.1; Wed, 14 Nov 2018 04:49:16 -0800 (PST) X-Gm-Message-State: AGRZ1gJ9HmqFT6yOaWalKOIrL6w/EP9HKhifbInmatdYNWHMUA+DGgOt wf+ZXvbFWo35oqLn2mJx05xqzoGak7JmmZhL5wk= X-Google-Smtp-Source: AJdET5eKkyV3pX5GEsNUtAEpgyLlFmFF7qBRCn8Hu1AkHg+ow/EAcLIOIcPFvvXfQmiSt1dscU2gfmu4Yf4OhYvxqcU= X-Received: by 2002:a19:cd50:: with SMTP id d77mr951598lfg.125.1542199754869; Wed, 14 Nov 2018 04:49:14 -0800 (PST) MIME-Version: 1.0 References: <16238656.sFgvYJuXru@photon.int.bluestop.org> In-Reply-To: <16238656.sFgvYJuXru@photon.int.bluestop.org> From: Kyle Evans Date: Wed, 14 Nov 2018 06:49:03 -0600 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: UEFI GOP: screen goes blank during boot after loader is finished To: rebecca@bluestop.org Cc: freebsd-virtualization@freebsd.org, Mr Dandy , FreeBSD Current , "Rodney W. Grimes" Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: E282F751B6 X-Spamd-Result: default: False [-103.08 / 200.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; ALLOW_DOMAIN_WHITELIST(-100.00)[freebsd.org]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[freebsd.org]; R_SPF_SOFTFAIL(0.00)[~all]; RCPT_COUNT_FIVE(0.00)[5]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MX_GOOD(-0.01)[cached: mx66.freebsd.org]; NEURAL_HAM_SHORT(-0.97)[-0.969,0]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; RCVD_TLS_LAST(0.00)[] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Nov 2018 12:49:17 -0000 On Tue, Nov 13, 2018 at 9:53 PM Rebecca Cran wrote: > > On Tuesday, 13 November 2018 18:57:25 MST Kyle Evans wrote: > > > However, because loader-land is funny in a not-ha-ha kind of way, can > > you try replacing loader.efi on your guest VM with the Forth-flavored > > version to rule that out or narrow it down, please? > > That didn't help. > As probably expected, the last output before the screen goes blank is > framebuffer information: > > /boot/kernel/kernel text=0x16776f0 data=0x1cd288+0x768b40 > syms=[0x8+0x174ca8+0x8+0x192218] > Booting... > Start @ 0xffffffff80341000 ... > EFI framebuffer information: > addr, size 0xc1000000, 0x1000000 > dimensions 800 x 600 > stride 800 > masks 0x00ff0000, 0x0000ff00, 0x000000ff, 0xff000000 > Good, good, so the loader <-> kernel transition would appear to be intact and information appears good at first blush. If you don't have time to dig into this, I'll try poking at it this weekend, but it looks to be either kernel problem or VNC server. Thanks, Kyle Evans From owner-freebsd-current@freebsd.org Wed Nov 14 15:33:53 2018 Return-Path: Delivered-To: freebsd-current@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 5AFCF112B781; Wed, 14 Nov 2018 15:33:53 +0000 (UTC) (envelope-from subbsd@gmail.com) Received: from mail-lj1-x242.google.com (mail-lj1-x242.google.com [IPv6:2a00:1450:4864:20::242]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9050C7BD2E; Wed, 14 Nov 2018 15:33:52 +0000 (UTC) (envelope-from subbsd@gmail.com) Received: by mail-lj1-x242.google.com with SMTP id k19-v6so14456994lji.11; Wed, 14 Nov 2018 07:33:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=3nPEac4yUuH1tDZNjO8X4rzuGePCEbzU9vr6eV+dOck=; b=XoXZK4eYoxYhW3wRAXxfmaIAerlUcf2XGWziSJZpqiqWtobuG2EiRg0XBnRZysxAj6 YAt3I/+kXGbwiIDVzbI2FREczjeEZtwZOq+TnbNay/EqszyW03xvQy77d7y1oMYqD3// dSrokIQBw3R7qX44LHXCU9LDNJtjjCnTGUjgGWOl+As82Wp8A/W6xnDtOdp1wCpi2+I+ deUA+3CqNp2KAfZ1PELH6D2VNZPNIQat25WM39xpHI2IhKYDLR/i8BxeSFLksOXqQ5YT e7Y8l412A4qc0SBhKzfxsd8pDwajD/mfw7Lx28jeEj+AvwRe//LkQUSreZ8A+JHt2Y/p Sv/Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=3nPEac4yUuH1tDZNjO8X4rzuGePCEbzU9vr6eV+dOck=; b=jdve6mcldEa7y64WJrHBW9au8Pbkjn/hE8JiGlitAugPHmwSXDk9jnQmMiW6YlwEqT Oll5BIJZGdbqjC7fuc610U+QnEOUY6FFZwJGbYOw7zet41IUXn5tdmvRjL36w1jCfLi1 SLYwAacZk3LdaPS9H9GHGU8SlVse8V9fKatnfr1YCR2oqwatL19goRDd+NHRMQHxQZpw ccYcotAZSPEf9oplTlCGyD9FT43k5VzoCJP3H09/lyepboa5FfjxmhHhFV9fxxGUHUon vO5OdWbx1iamOoLoUiwVmWJFr6OL4ZGhYdwWR7+ojc0uJmBMWy5v81M0nlqPO41EBIXK MM7Q== X-Gm-Message-State: AGRZ1gID89cdV5pGBGO9LIFtZM6YoweOI//utWdJnYJ5wBKRcHF7oq4A Mxorcq1TQQesUCZQ4gRXSeK/vssAsKG+L4aDq34lvcYwlP0= X-Google-Smtp-Source: AJdET5fItzDs4OmiRishH4qOVRtVaLmfghVg13atSwEtS5LxSojGlm3FTtnvAM1BLZ+KevN4cH0g/BJFxB0Zl6ub7XY= X-Received: by 2002:a2e:914b:: with SMTP id q11-v6mr1362496ljg.164.1542209631082; Wed, 14 Nov 2018 07:33:51 -0800 (PST) MIME-Version: 1.0 References: <16238656.sFgvYJuXru@photon.int.bluestop.org> In-Reply-To: From: Subbsd Date: Wed, 14 Nov 2018 18:33:39 +0300 Message-ID: Subject: Re: UEFI GOP: screen goes blank during boot after loader is finished To: kevans@freebsd.org Cc: rebecca@bluestop.org, freebsd-virtualization@freebsd.org, freebsd-current Current , freebsd-rwg@pdx.rh.cn85.dnsmgr.net Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 9050C7BD2E X-Spamd-Result: default: False [-4.40 / 200.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; MIME_GOOD(-0.10)[text/plain]; IP_SCORE(-0.48)[ip: (1.38), ipnet: 2a00:1450::/32(-1.86), asn: 15169(-1.80), country: US(-0.10)]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; RCPT_COUNT_FIVE(0.00)[5]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RCVD_IN_DNSWL_NONE(0.00)[2.4.2.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.5.4.1.0.0.a.2.list.dnswl.org : 127.0.5.0]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; NEURAL_HAM_SHORT(-0.92)[-0.917,0]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; RCVD_COUNT_TWO(0.00)[2] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Nov 2018 15:33:53 -0000 On Wed, Nov 14, 2018 at 3:49 PM Kyle Evans wrote: > Good, good, so the loader <-> kernel transition would appear to be > intact and information appears good at first blush. If you don't have > time to dig into this, I'll try poking at it this weekend, but it > looks to be either kernel problem or VNC server. FreeBSD 11.{1,2} and various Linux distros boot fine with UEFI GOP in the same time, the problem is only with FreeBSD 12-ALPHA+. Therefore it does not look like VNC server issue. From owner-freebsd-current@freebsd.org Wed Nov 14 15:51:03 2018 Return-Path: Delivered-To: freebsd-current@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 6197A112C10B; Wed, 14 Nov 2018 15:51:03 +0000 (UTC) (envelope-from freebsd-rwg@pdx.rh.CN85.dnsmgr.net) Received: from pdx.rh.CN85.dnsmgr.net (br1.CN84in.dnsmgr.net [69.59.192.140]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 740DC7C880; Wed, 14 Nov 2018 15:50:59 +0000 (UTC) (envelope-from freebsd-rwg@pdx.rh.CN85.dnsmgr.net) Received: from pdx.rh.CN85.dnsmgr.net (localhost [127.0.0.1]) by pdx.rh.CN85.dnsmgr.net (8.13.3/8.13.3) with ESMTP id wAEFiRGT036457; Wed, 14 Nov 2018 07:44:27 -0800 (PST) (envelope-from freebsd-rwg@pdx.rh.CN85.dnsmgr.net) Received: (from freebsd-rwg@localhost) by pdx.rh.CN85.dnsmgr.net (8.13.3/8.13.3/Submit) id wAEFiRrW036456; Wed, 14 Nov 2018 07:44:27 -0800 (PST) (envelope-from freebsd-rwg) From: "Rodney W. Grimes" Message-Id: <201811141544.wAEFiRrW036456@pdx.rh.CN85.dnsmgr.net> Subject: Re: UEFI GOP: screen goes blank during boot after loader is finished In-Reply-To: To: Kyle Evans Date: Wed, 14 Nov 2018 07:44:27 -0800 (PST) CC: subbsd@gmail.com, FreeBSD Current , freebsd-virtualization@freebsd.org X-Mailer: ELM [version 2.4ME+ PL121h (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Rspamd-Queue-Id: 740DC7C880 X-Spamd-Result: default: False [0.46 / 200.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.01)[-0.008,0]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; TO_DN_SOME(0.00)[]; IP_SCORE(-0.02)[country: US(-0.10)]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[dnsmgr.net]; AUTH_NA(1.00)[]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MX_GOOD(-0.01)[cached: pdx.rh.CN85.dnsmgr.net]; NEURAL_SPAM_LONG(0.04)[0.037,0]; NEURAL_HAM_SHORT(-0.44)[-0.436,0]; R_SPF_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:13868, ipnet:69.59.192.0/19, country:US]; FREEMAIL_CC(0.00)[gmail.com]; MID_RHS_MATCH_FROM(0.00)[] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Nov 2018 15:51:03 -0000 > On Tue, Nov 13, 2018 at 5:15 PM Subbsd wrote: > > > > Hi, > > > > > > > > On Tue, Nov 13, 2018 at 7:22 PM Rodney W. Grimes > > wrote: > > > > > > Uh oh, ok, thats not what I was thinking of then. I do not have any > > > bhyve capable hardware running on 12BETA at this time to test with. > > > > > > I wonder if we have a bad interaction between the loader and > > > bhyve again, we have had a few of those. > > > > > > > it's broken before 12-ALPHA1, my post from 14-Sep to current@ > > > > https://lists.freebsd.org/pipermail/freebsd-current/2018-September/071206.html > > > > probably the lua loader doesn't understand efifb/term very well > > These things are basically completely unrelated- the interpreter > included in loader(8) doesn't have to know anything about graphics and > this stuff is handled before and after the interpreter is invoked. > > However, because loader-land is funny in a not-ha-ha kind of way, can > you try replacing loader.efi on your guest VM with the Forth-flavored > version to rule that out or narrow it down, please? > > Thanks, Am I miss remebering or didn't we solve a similiar problem earlier in the release cycle? Perhaps that was with non GOP console only. Either way, we need to make sure this is resolved. Sad state is I do not have any access until after the holiday most likely to any hardware that I can use to work on this problem. Please keep me in the loop though, I am reading emails each morning, and as times allow during the day. Thanks, -- Rod Grimes rgrimes@freebsd.org From owner-freebsd-current@freebsd.org Wed Nov 14 15:52:15 2018 Return-Path: Delivered-To: freebsd-current@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 B57DB112C24A; Wed, 14 Nov 2018 15:52:15 +0000 (UTC) (envelope-from freebsd-rwg@pdx.rh.CN85.dnsmgr.net) Received: from pdx.rh.CN85.dnsmgr.net (br1.CN84in.dnsmgr.net [69.59.192.140]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 1BCDC7CB61; Wed, 14 Nov 2018 15:52:14 +0000 (UTC) (envelope-from freebsd-rwg@pdx.rh.CN85.dnsmgr.net) Received: from pdx.rh.CN85.dnsmgr.net (localhost [127.0.0.1]) by pdx.rh.CN85.dnsmgr.net (8.13.3/8.13.3) with ESMTP id wAEFqBPl036480; Wed, 14 Nov 2018 07:52:11 -0800 (PST) (envelope-from freebsd-rwg@pdx.rh.CN85.dnsmgr.net) Received: (from freebsd-rwg@localhost) by pdx.rh.CN85.dnsmgr.net (8.13.3/8.13.3/Submit) id wAEFqB0Z036479; Wed, 14 Nov 2018 07:52:11 -0800 (PST) (envelope-from freebsd-rwg) From: "Rodney W. Grimes" Message-Id: <201811141552.wAEFqB0Z036479@pdx.rh.CN85.dnsmgr.net> Subject: Re: UEFI GOP: screen goes blank during boot after loader is finished In-Reply-To: To: Subbsd Date: Wed, 14 Nov 2018 07:52:11 -0800 (PST) CC: kevans@freebsd.org, rebecca@bluestop.org, freebsd-virtualization@freebsd.org, freebsd-current Current X-Mailer: ELM [version 2.4ME+ PL121h (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Rspamd-Queue-Id: 1BCDC7CB61 X-Spamd-Result: default: False [-0.48 / 200.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.57)[-0.574,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; NEURAL_HAM_LONG(-0.54)[-0.538,0]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[dnsmgr.net]; AUTH_NA(1.00)[]; RCPT_COUNT_FIVE(0.00)[5]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MX_GOOD(-0.01)[cached: pdx.rh.CN85.dnsmgr.net]; NEURAL_HAM_SHORT(-0.24)[-0.237,0]; R_SPF_NA(0.00)[]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:13868, ipnet:69.59.192.0/19, country:US]; MID_RHS_MATCH_FROM(0.00)[]; IP_SCORE(-0.02)[country: US(-0.10)] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Nov 2018 15:52:15 -0000 > On Wed, Nov 14, 2018 at 3:49 PM Kyle Evans wrote: > > > Good, good, so the loader <-> kernel transition would appear to be > > intact and information appears good at first blush. If you don't have > > time to dig into this, I'll try poking at it this weekend, but it > > looks to be either kernel problem or VNC server. > > FreeBSD 11.{1,2} and various Linux distros boot fine with UEFI GOP in > the same time, the problem is only with FreeBSD 12-ALPHA+. > Therefore it does not look like VNC server issue. Lets make sure this is not the invalid instruction trap (CLFLUSH) that has already been fixed by BETA3. Is everyone infact using BETA3 or later as a guest? We know of and have fixed this other bug and I want to make sure we are not chassing a red hearing. Thanks, -- Rod Grimes rgrimes@freebsd.org From owner-freebsd-current@freebsd.org Wed Nov 14 19:42:04 2018 Return-Path: Delivered-To: freebsd-current@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 E87581132E84 for ; Wed, 14 Nov 2018 19:42:03 +0000 (UTC) (envelope-from shoesoft@gmx.net) Received: from mout.gmx.net (mout.gmx.net [212.227.17.21]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "mout.gmx.net", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 06FA787118; Wed, 14 Nov 2018 19:42:02 +0000 (UTC) (envelope-from shoesoft@gmx.net) Received: from walrus.pepperland ([81.217.71.61]) by mail.gmx.com (mrgmx103 [212.227.17.168]) with ESMTPSA (Nemesis) id 0LgI0W-1fiPNl4BAy-00njZo; Wed, 14 Nov 2018 20:41:54 +0100 Subject: Re: No amdtemp sysctls, acpi errors, AMD Ryzen 5 2400G To: cem@freebsd.org Cc: freebsd-current References: <2898686.bT80LyP3VS@photon.int.bluestop.org> <2418724.ffieBuXMo3@photon.int.bluestop.org> From: Stefan Ehmann Openpgp: preference=signencrypt Autocrypt: addr=shoesoft@gmx.net; prefer-encrypt=mutual; keydata= xsFNBFNRNzIBEADwWLAIn6EMLsbclDmzGQXSRu2dZYaL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vE/Mx+S01LoX0037rlBxyFqYEpw8MJOImwARAQAB wsFlBBgBAgAPBQJTUTcyAhsMBQkJZgGAAAoJECL7xb7kT8VbA8IP/iJgD5Hvyebc8UHD2Jzk rAO2nhvik9fWeJM0eYF9X/w0MQdg5GanDfy79Z25l/HpvdTpXxfNBbrWkX4WWr0XMDM/qBpk EkyCZfTggmi0y7TMtq5tKSNOo8CJ99hTorE9mM1AY2G+hVTwIie9l+WIuHwZkUiue+5UlJCI AcJd7piJiqQ7dHFMITv+1TbJ2tzx3T+slPS7crCZi2P+3YBrD6hTcHODhCfo/llcLHSYVXYP C+IQIMFDdXBfqDCH6V0UAQ57gBhUv9dGp3IzxZCDplt3hIu6QhUk0j8q5e06YV08CEKC2JIw VFBfIQ1Ey+Ugo8ZCqxr/2jOIrtu0bUoxXyCh86zCigX4+HByRDA5YOCXhFqjJKqqVp76+Y+R 80SHYG1dmnGJ3Viy7Q4/ZyjEWrIsLspVMf5ASWvkFgsVYUAwsaCf+Ka5q7en/Stu8Vw4D+UJ xBEcc17fq1GlkBKfJ5p7GlZb21VKMkzRdJiaYkYkzYm38H7lo9dog4OIzA1SMNpAjwDbL7yR cR9KFkzegy71xH89NvfF1O0sKLrZd4YqD3dziQTB5pM2h9JNh7zwksT9jNxJ8L/bv9hvEJcF L0hw+1p9oarb20dowgIFEBqgmoDqRfcByssG4Uy8Yael4rsr04fsuGKUnUsxfZQ6GbnY474u MoQmdBQjEl36fxrH Message-ID: Date: Wed, 14 Nov 2018 20:41:53 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.3.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K1:HlG/mttNOa353+OstHWacs9g0IA97lzjPXkYY9nfXwIrubX9Cux IqFHhxDimyjCLlhwC2DbjSe5cFnKs/idZ0yQdvjU7u5Aio7xqXXdzhi5AUgcw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7kb5MIBJQ2wyYli3u3KigwsMZbTuN/g3Qi6XyZsFrh1/i5N X-Rspamd-Queue-Id: 06FA787118 X-Spamd-Result: default: False [-3.36 / 200.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:212.227.17.0/27]; FREEMAIL_FROM(0.00)[gmx.net]; MIME_GOOD(-0.10)[text/plain]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DMARC_NA(0.00)[gmx.net]; NEURAL_HAM_LONG(-0.99)[-0.986,0]; IP_SCORE(-0.01)[ipnet: 212.227.0.0/16(-0.51), asn: 8560(0.48), country: DE(-0.01)]; MX_GOOD(-0.01)[cached: mx00.emig.gmx.net]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_SHORT(-0.96)[-0.964,0]; NEURAL_HAM_MEDIUM(-0.99)[-0.990,0]; RCVD_IN_DNSWL_LOW(-0.10)[21.17.227.212.list.dnswl.org : 127.0.3.1]; R_DKIM_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmx.net]; ASN(0.00)[asn:8560, ipnet:212.227.0.0/16, country:DE]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RECEIVED_SPAMHAUS_PBL(0.00)[61.71.217.81.zen.spamhaus.org : 127.0.0.11] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Nov 2018 19:42:04 -0000 On 11/14/18 5:41 AM, Conrad Meyer wrote: > You know what, I wonder if you're running into the CUR_TEMP_RANGE_SEL? > I.e., sometimes the CPU chooses to report on a range from 0-225C and > sometimes -49C-206C. I think someone else's 2990WX did the same > thing. I guess that patch never landed? 102°C - 49°C is the very > reasonable 53°C. > > Yeah, sigh, it never landed: https://reviews.freebsd.org/D16855 > > Ok I'll go ahead and commit that too. Applied to 12.0-BETA, Ryzen 7 2700 values are now in the 30-55C range. Looks reasonable. Thanks! From owner-freebsd-current@freebsd.org Wed Nov 14 21:18:18 2018 Return-Path: Delivered-To: freebsd-current@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 1B05011356A5; Wed, 14 Nov 2018 21:18:18 +0000 (UTC) (envelope-from subbsd@gmail.com) Received: from mail-lj1-x242.google.com (mail-lj1-x242.google.com [IPv6:2a00:1450:4864:20::242]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4B9E46C9BB; Wed, 14 Nov 2018 21:18:17 +0000 (UTC) (envelope-from subbsd@gmail.com) Received: by mail-lj1-x242.google.com with SMTP id x85-v6so15437102ljb.2; Wed, 14 Nov 2018 13:18:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=CaP1dJ4ZGNgHkLA0B9uAn1rDWo5o5GtcTknmWKZZ+sk=; b=gUN8q9zzLEmb9FKk5U0gAHQVxnKRh1kNdNbDn7yB6kHxaAWwv++WsoGyYvs0u1WKVA gLh4EejYJk8BO5Jt0d0YGffnsIiqP1DJlhLsdBlf2ZL4b5DhSW+RPvwdaE/SI3KxptTU ABFc7Rcwk0kPrUQVSP1XlsVWSYZjp2aM2JFe+fw32BCoro7f6EHvApNNaJiR+w3jMmqV kmFwcqOSEZZ3W4tWj+fZctPJZprDemMnbjJPNeLyt/pMdipko2buwCAaMTmQwWe8oevl MMOArR+25awyT1x7eho/zppIk8wsk+ReDilN4IXlcqbluI6W9CwVwu/qbqsmroiN4omw HZpA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=CaP1dJ4ZGNgHkLA0B9uAn1rDWo5o5GtcTknmWKZZ+sk=; b=q5xchm7r4ypeTYDSLV2DXqI3+Yolw2uusAlsVEEK5CJrfOq1jVfo6DI8sardEuLQ/R Bb9clNWluBGbTfFefkxXKTzGSmqHMYIubISvyH4iKntzJK0BAFB4M3O42RVCn9lgN0/J Is6N3nBnrJDYcflsuPN1dIyOlNzTd/88aBnNQ0MjO1g11hfmKtVVgR9nVRGType8BgJP kI0WuwCJ2Zbza0+bbrwLbanM/Mg/A0uqKWP+unxTKUG/dErJI1hx87GpNsX80ogFFsmZ 1VqKYhIPq0e4NtGqJ66Q8FDEvI0eNYZRIeBuPheYtImALBbs3q0eEqxnjeY6t0lyCNrs W8Jw== X-Gm-Message-State: AGRZ1gIiqtRJtCNETHgFFZv12wabK6X8JtkbOhBXo3kbA+If3x2qM9ss AkYsbFVs3h6O9SezDYn7BkYLOGN7V6UYkarDDNn+9Ylx6TA= X-Google-Smtp-Source: AJdET5dyKl9oyIpBQAD8GPhsKc2EdLJMQXkwWqQ2ls8PX4qYtziCM7PcATMBPi5Zvv6ZowMV7EY1mJrDRGyw4USw8GU= X-Received: by 2002:a2e:6503:: with SMTP id z3-v6mr1998133ljb.153.1542230295912; Wed, 14 Nov 2018 13:18:15 -0800 (PST) MIME-Version: 1.0 References: <201811141552.wAEFqB0Z036479@pdx.rh.CN85.dnsmgr.net> In-Reply-To: <201811141552.wAEFqB0Z036479@pdx.rh.CN85.dnsmgr.net> From: Subbsd Date: Thu, 15 Nov 2018 00:18:04 +0300 Message-ID: Subject: Re: UEFI GOP: screen goes blank during boot after loader is finished To: freebsd-rwg@pdx.rh.cn85.dnsmgr.net Cc: kevans@freebsd.org, rebecca@bluestop.org, freebsd-virtualization@freebsd.org, freebsd-current Current Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 4B9E46C9BB X-Spamd-Result: default: False [-4.53 / 200.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; MIME_GOOD(-0.10)[text/plain]; IP_SCORE(-0.61)[ip: (0.68), ipnet: 2a00:1450::/32(-1.84), asn: 15169(-1.79), country: US(-0.10)]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; RCPT_COUNT_FIVE(0.00)[5]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RCVD_IN_DNSWL_NONE(0.00)[2.4.2.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.5.4.1.0.0.a.2.list.dnswl.org : 127.0.5.0]; NEURAL_HAM_SHORT(-0.91)[-0.912,0]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; RCVD_COUNT_TWO(0.00)[2] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Nov 2018 21:18:18 -0000 On Wed, Nov 14, 2018 at 6:52 PM Rodney W. Grimes wrote: > > > On Wed, Nov 14, 2018 at 3:49 PM Kyle Evans wrote: > > > > > Good, good, so the loader <-> kernel transition would appear to be > > > intact and information appears good at first blush. If you don't have > > > time to dig into this, I'll try poking at it this weekend, but it > > > looks to be either kernel problem or VNC server. > > > > FreeBSD 11.{1,2} and various Linux distros boot fine with UEFI GOP in > > the same time, the problem is only with FreeBSD 12-ALPHA+. > > Therefore it does not look like VNC server issue. > > Lets make sure this is not the invalid instruction trap (CLFLUSH) > that has already been fixed by BETA3. Is everyone infact using > BETA3 or later as a guest? We know of and have fixed this other > bug and I want to make sure we are not chassing a red hearing. My current host: FreeBSD 13.0-CURRENT r340319 and the problem is still present. As I recall, I first encountered this problem when FreeBSD-CURRENT (12) moved to the ALPHA-1 state. At least a month before the ALPHA-1, everything worked fine. At this time, the bootloader was changed to work with lua (and the distinguishing feature is that during this transition the boot menu lost color in the UEFI GOP mode). So, the first thing I thought was that it was related to the lua based menu. Now we know that it is not. However, the root of the problem lies at this time. From owner-freebsd-current@freebsd.org Wed Nov 14 21:21:33 2018 Return-Path: Delivered-To: freebsd-current@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 25A4D11359E4; Wed, 14 Nov 2018 21:21:33 +0000 (UTC) (envelope-from rebecca@bluestop.org) Received: from muon.bluestop.org (muon.bluestop.org [96.73.9.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 082AB6CD94; Wed, 14 Nov 2018 21:21:32 +0000 (UTC) (envelope-from rebecca@bluestop.org) Received: from muon.bluestop.org (localhost [127.0.0.1]) by muon.bluestop.org (Postfix) with ESMTP id C3793CEF71; Wed, 14 Nov 2018 14:22:08 -0700 (MST) Received: from muon.bluestop.org ([127.0.0.1]) by muon.bluestop.org (muon.bluestop.org [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id P0TNxMcPh5dp; Wed, 14 Nov 2018 14:22:08 -0700 (MST) Received: from Rebeccas-iPhone.mail (gw.bluestop.org [96.73.9.3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by muon.bluestop.org (Postfix) with ESMTPSA; Wed, 14 Nov 2018 14:22:08 -0700 (MST) Date: Wed, 14 Nov 2018 14:19:37 -0700 From: Rebecca Cran To: Subbsd , freebsd-rwg@pdx.rh.cn85.dnsmgr.net Cc: freebsd-virtualization@freebsd.org, freebsd-current Current , kevans@freebsd.org Message-ID: In-Reply-To: References: Subject: Re: UEFI GOP: screen goes blank during boot after loader is finished X-Mailer: Airmail iOS (375) MIME-Version: 1.0 X-Rspamd-Queue-Id: 082AB6CD94 X-Spamd-Result: default: False [-7.15 / 200.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[bluestop.org]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; RCPT_COUNT_FIVE(0.00)[5]; NEURAL_HAM_SHORT(-0.99)[-0.992,0]; RCVD_COUNT_THREE(0.00)[4]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[bluestop.org:+]; DMARC_POLICY_ALLOW(-0.50)[bluestop.org,quarantine]; MX_GOOD(-0.01)[mail.bluestop.org]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; IP_SCORE(-3.15)[ip: (-9.80), ipnet: 96.64.0.0/11(-4.88), asn: 7922(-0.96), country: US(-0.10)]; ASN(0.00)[asn:7922, ipnet:96.64.0.0/11, country:US]; MID_RHS_MATCH_FROM(0.00)[] X-Rspamd-Server: mx1.freebsd.org Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Nov 2018 21:21:33 -0000 On November 14, 2018 at 2:18:04 PM, Subbsd (subbsd@gmail.com(mailto:subbsd@gmail.com)) wrote: > > My current host: FreeBSD 13.0-CURRENT r340319 and the problem is > still present. Rod was asking about the guest OS version, not the host though. From owner-freebsd-current@freebsd.org Wed Nov 14 22:05:57 2018 Return-Path: Delivered-To: freebsd-current@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 9B4EE1101599; Wed, 14 Nov 2018 22:05:57 +0000 (UTC) (envelope-from subbsd@gmail.com) Received: from mail-lj1-x22c.google.com (mail-lj1-x22c.google.com [IPv6:2a00:1450:4864:20::22c]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id CCFBA6FC49; Wed, 14 Nov 2018 22:05:56 +0000 (UTC) (envelope-from subbsd@gmail.com) Received: by mail-lj1-x22c.google.com with SMTP id t9-v6so15519170ljh.6; Wed, 14 Nov 2018 14:05:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Ie7ZZe8VXXaOVRPRDJPfkoZz8hbYaOOvOyrcFXHBsug=; b=aL3kKQvBiXl19I/0qtCwWQN+nrvVwVZIvrQs6J7MiH8UvsH0gmNRvDFMh+em//qDdo vNye5qYmovewr7MyfEiDbyBit5Wwd4frGOcuFUbPyp2tTr5Vvu0cVbrdSfzt4BBUoTsu 9D8y6arbmIMwSdO1GAId9uIUqvcQQJ/pz1cQ4+8XlOO0NdxvD1m8KedgQzDJ50Jw8kii BlvOK7gxzEa5/o/k7dNVaJHrYoWOOjym2wO4DjbGWmMc9VrVBqkwYUej5kA3wHLxLZEg Imp2/7w0LLUg/nRzP+jWZZrzwtf1RFJmzXp5s1jA8CQWwqmDzx/kJsE8Jf/erepVTyAI fJSQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Ie7ZZe8VXXaOVRPRDJPfkoZz8hbYaOOvOyrcFXHBsug=; b=t9EtpOiUXIY6q6vZ9Gm+OmWUASg3tDyscnJBsd/IKH3UThftoiRRzjxAfMWTsXEMTQ GEU8DDFHaOmSOMEJXuOkFFrOQ9QhnAcvZ6rJHJrBW7ZupXcATCWFIyfPgz9hYzF/lrnP aHQE4oe1iRnMUGPmTjaFVaLiI/VsD2Hn3XrnCz4Ue1oWCN8SCygINk3AoTEOWFzz8H3D J0aEmpN7cr+mT+EXF2QrD5ugObKokyjkNf6hZymu7H/cYK8fNqHdjSgIOElBVba8iuep GgCQRCHKDBFF1hnFLUFQoAV1QmBR+AoICr7P9wSA0RqZ4NZzDfT2VyPiEXNfvtIjnpXr 3DaA== X-Gm-Message-State: AGRZ1gJzixuqDgENBpkhCKY2MNZGQlqXq/9PB3CHzGuSYNSSeNZYkCBh Hd0+5bAVTuCGo16WWTL+BS5/e5/FidfedNiR2Hor0DAEcP8= X-Google-Smtp-Source: AJdET5e5cgLxZa2qMVyFOsiEB6ND5SsUyrnVKXARiJ7nn3Y85o7HuuyILAqb6xpQuQtJWPP6Sa758xE/f0kCmCP9gCk= X-Received: by 2002:a2e:2b11:: with SMTP id q17-v6mr2122657lje.25.1542233153587; Wed, 14 Nov 2018 14:05:53 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Subbsd Date: Thu, 15 Nov 2018 01:05:42 +0300 Message-ID: Subject: Re: UEFI GOP: screen goes blank during boot after loader is finished To: rebecca@bluestop.org Cc: freebsd-rwg@pdx.rh.cn85.dnsmgr.net, freebsd-virtualization@freebsd.org, freebsd-current Current , kevans@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: CCFBA6FC49 X-Spamd-Result: default: False [-4.70 / 200.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; MIME_GOOD(-0.10)[text/plain]; IP_SCORE(-0.75)[ipnet: 2a00:1450::/32(-1.83), asn: 15169(-1.81), country: US(-0.10)]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; RCPT_COUNT_FIVE(0.00)[5]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RCVD_IN_DNSWL_NONE(0.00)[c.2.2.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.5.4.1.0.0.a.2.list.dnswl.org : 127.0.5.0]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; NEURAL_HAM_SHORT(-0.94)[-0.943,0]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; RCVD_COUNT_TWO(0.00)[2] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Nov 2018 22:05:57 -0000 On Thu, Nov 15, 2018 at 12:21 AM Rebecca Cran wrote: > > On November 14, 2018 at 2:18:04 PM, Subbsd (subbsd@gmail.com) wrote: >> >> >> My current host: FreeBSD 13.0-CURRENT r340319 and the problem is >> still present. > > Rod was asking about the guest OS version, not the host though. > > I apologize, it seemed to me that I wrote earlier) Guest version: https://download.freebsd.org/ftp/snapshots/amd64/amd64/ISO-IMAGES/13.0/FreeBSD-13.0-CURRENT-amd64-20181101-r339979-disc1.iso.xz From owner-freebsd-current@freebsd.org Wed Nov 14 22:23:17 2018 Return-Path: Delivered-To: freebsd-current@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 788CE1101D3A; Wed, 14 Nov 2018 22:23:17 +0000 (UTC) (envelope-from subbsd@gmail.com) Received: from mail-lf1-x144.google.com (mail-lf1-x144.google.com [IPv6:2a00:1450:4864:20::144]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A5E3870657; Wed, 14 Nov 2018 22:23:16 +0000 (UTC) (envelope-from subbsd@gmail.com) Received: by mail-lf1-x144.google.com with SMTP id u18so12705253lff.10; Wed, 14 Nov 2018 14:23:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=AQY1KV9xJSDsrUuj7cnkJUlBa+WiA6DYSo6UEC15KKg=; b=EowNAMIsIhk1dNVljwirEyZabuyTG4Y8YwqHTRbjQU1xwFLFUdVT8T0SgwzH4QQWLs ixsXr56/EZM6hf419soxd/rmEmk/MdnvBXRMMYs7SordmLkY2YhKtZCYjaRRf6pw+iYH iBQZ6awE07Reuv/kPNfQ6w5EHOYMBRVIv82VyEWnDUGGJi/vhDXsz+vNHgsCWmj+fhMo I16HxgBVBLygwCsimHZgw/hiRptZdx2U1w/g3b7MG7rnsqho/A7Lh9o2/bCl9nU60cyC ZWPGr3Uwcb67UlIOOPDLYNZValBoKam1CLd50YowlwR0pOF3/CizmKrp6JBbITjO6Xhc l2Yw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=AQY1KV9xJSDsrUuj7cnkJUlBa+WiA6DYSo6UEC15KKg=; b=I3hOxCqtH3G8+P5z2NgCnEEL/NNzn91OeDGQnzw5i0+Xyh2bNrzbQ3z3qX/3aIlZZA SApwJatYV8zRwTTTFyB/KUj689zBZBtfVNZ/9lKIWAxs1WYgyMVmwVRlEw7EbGY56v+R Ty2k0KvZmEahDF2W2hmM1nn0UcKCK0/vKOGJuKgdTuB+fUvUUL74VwjeDWmC93pv76Qr wPAVFJWGU5oFh2QzgUnfZOezXjnpZsw5mGvfW+gf4/Z/36DgOAJFNkmJm/QPE7rP1+L5 +WOVqNEnNh8RkeTyj4+64hcNZXNd7090DeJj1VoZs1A5WKT7z4aUIH3eY01AwBnB11FW AYlw== X-Gm-Message-State: AGRZ1gJPZgVu+T4o4geVgMjYUBHk5q9x6ZzAUnsrRbNNoNIYfJgw1rXz +lB5MpvfG94+Dhnc+iB8VBip34Sj3ckgcBWMqYUxpb8XcB8= X-Google-Smtp-Source: AJdET5eFYlFBWV8e+xVyefubzIFf9RRG0Ym1SasmE5lzAJ3AwOg5J7v4n2MsdeHCwvZVrkJK3XmYK3HPUPeSv8CJCQs= X-Received: by 2002:a19:c7c2:: with SMTP id x185mr2152052lff.123.1542234192687; Wed, 14 Nov 2018 14:23:12 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Subbsd Date: Thu, 15 Nov 2018 01:23:01 +0300 Message-ID: Subject: Re: UEFI GOP: screen goes blank during boot after loader is finished To: rebecca@bluestop.org Cc: freebsd-rwg@pdx.rh.cn85.dnsmgr.net, freebsd-virtualization@freebsd.org, freebsd-current Current , kevans@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: A5E3870657 X-Spamd-Result: default: False [-4.04 / 200.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; R_DKIM_ALLOW(-0.20)[gmail.com]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; MIME_GOOD(-0.10)[text/plain]; IP_SCORE(-0.25)[ip: (2.46), ipnet: 2a00:1450::/32(-1.83), asn: 15169(-1.81), country: US(-0.10)]; NEURAL_HAM_LONG(-1.00)[-0.998,0]; RCPT_COUNT_FIVE(0.00)[5]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RCVD_IN_DNSWL_NONE(0.00)[4.4.1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.5.4.1.0.0.a.2.list.dnswl.org : 127.0.5.0]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; NEURAL_HAM_SHORT(-0.78)[-0.783,0]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; RCVD_COUNT_TWO(0.00)[2] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Nov 2018 22:23:17 -0000 On Thu, Nov 15, 2018 at 1:05 AM Subbsd wrote: > > On Thu, Nov 15, 2018 at 12:21 AM Rebecca Cran wrote: > > > > On November 14, 2018 at 2:18:04 PM, Subbsd (subbsd@gmail.com) wrote: > >> > >> > >> My current host: FreeBSD 13.0-CURRENT r340319 and the problem is > >> still present. > > > > Rod was asking about the guest OS version, not the host though. > > > > > > I apologize, it seemed to me that I wrote earlier) Guest version: > https://download.freebsd.org/ftp/snapshots/amd64/amd64/ISO-IMAGES/13.0/FreeBSD-13.0-CURRENT-amd64-20181101-r339979-disc1.iso.xz Hm, it seems the problem is 'boot_serial' which is sets to YES by default in gop set boot_serial=NO boot solve this issue From owner-freebsd-current@freebsd.org Wed Nov 14 22:31:02 2018 Return-Path: Delivered-To: freebsd-current@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 9357E1102148; Wed, 14 Nov 2018 22:31:02 +0000 (UTC) (envelope-from kevans@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E89C470BA1; Wed, 14 Nov 2018 22:31:01 +0000 (UTC) (envelope-from kevans@freebsd.org) Received: from mail-lj1-f177.google.com (mail-lj1-f177.google.com [209.85.208.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) (Authenticated sender: kevans) by smtp.freebsd.org (Postfix) with ESMTPSA id 89EF92E606; Wed, 14 Nov 2018 22:31:01 +0000 (UTC) (envelope-from kevans@freebsd.org) Received: by mail-lj1-f177.google.com with SMTP id g11-v6so2933299ljk.3; Wed, 14 Nov 2018 14:31:01 -0800 (PST) X-Gm-Message-State: AGRZ1gLMsgjJVsrQwJiZaNnGVOV3b2NTdwlC/KkYi6Mrzk/clIlFzd+N qam+zdMT8uaLyJGt9d0HQYeuoEMccBQ2pnLf9CA= X-Google-Smtp-Source: AJdET5cZfOzBI4YrcJCWiRqBKSel0DCCz/yayfuVgtUCRvBx6P6KYX7hNY26A/17FPax0nCOyZgEANKa5M2lFoMr4iU= X-Received: by 2002:a2e:58b:: with SMTP id 133-v6mr2398255ljf.127.1542234659993; Wed, 14 Nov 2018 14:30:59 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Kyle Evans Date: Wed, 14 Nov 2018 16:30:47 -0600 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: UEFI GOP: screen goes blank during boot after loader is finished To: Mr Dandy Cc: rebecca@bluestop.org, "Rodney W. Grimes" , freebsd-virtualization@freebsd.org, FreeBSD Current Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: E89C470BA1 X-Spamd-Result: default: False [-103.09 / 200.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; ALLOW_DOMAIN_WHITELIST(-100.00)[freebsd.org]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[freebsd.org]; R_SPF_SOFTFAIL(0.00)[~all]; RCPT_COUNT_FIVE(0.00)[5]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MX_GOOD(-0.01)[cached: mx66.freebsd.org]; NEURAL_HAM_SHORT(-0.98)[-0.982,0]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; RCVD_TLS_LAST(0.00)[] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Nov 2018 22:31:02 -0000 On Wed, Nov 14, 2018 at 4:23 PM Subbsd wrote: > > On Thu, Nov 15, 2018 at 1:05 AM Subbsd wrote: > > > > On Thu, Nov 15, 2018 at 12:21 AM Rebecca Cran wrote: > > > > > > On November 14, 2018 at 2:18:04 PM, Subbsd (subbsd@gmail.com) wrote: > > >> > > >> > > >> My current host: FreeBSD 13.0-CURRENT r340319 and the problem is > > >> still present. > > > > > > Rod was asking about the guest OS version, not the host though. > > > > > > > > > > I apologize, it seemed to me that I wrote earlier) Guest version: > > https://download.freebsd.org/ftp/snapshots/amd64/amd64/ISO-IMAGES/13.0/FreeBSD-13.0-CURRENT-amd64-20181101-r339979-disc1.iso.xz > > Hm, it seems the problem is 'boot_serial' which is sets to YES by default in gop > > set boot_serial=NO > boot > > solve this issue Huh? This is perhaps going to be a stupid question, but where is boot_serial=YES getting set? Loader will not set it by itself and UEFI doesn't respect /boot.config, so this must be explicitly set in /boot/loader.conf or /boot/defaults/loader.conf, but it's not clear to me what's putting it there. From owner-freebsd-current@freebsd.org Wed Nov 14 22:33:45 2018 Return-Path: Delivered-To: freebsd-current@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 4E900110243A for ; Wed, 14 Nov 2018 22:33:45 +0000 (UTC) (envelope-from kevans@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9739C70FB1 for ; Wed, 14 Nov 2018 22:33:44 +0000 (UTC) (envelope-from kevans@freebsd.org) Received: from mail-lf1-f44.google.com (mail-lf1-f44.google.com [209.85.167.44]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) (Authenticated sender: kevans) by smtp.freebsd.org (Postfix) with ESMTPSA id 3F2F92E708 for ; Wed, 14 Nov 2018 22:33:44 +0000 (UTC) (envelope-from kevans@freebsd.org) Received: by mail-lf1-f44.google.com with SMTP id l10so9119715lfh.9 for ; Wed, 14 Nov 2018 14:33:44 -0800 (PST) X-Gm-Message-State: AGRZ1gIikqNKIJ/q+kF4OJb7epmAHzC5D112VIoTWh+KaoI2+54u+S7/ O3dwUPIdNMjemxnO0EiwQzlsvXaVBs3VleoF8sg= X-Received: by 2002:a19:6719:: with SMTP id b25mt2173229lfc.38.1542234822693; Wed, 14 Nov 2018 14:33:42 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Kyle Evans Date: Wed, 14 Nov 2018 16:33:30 -0600 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: UEFI GOP: screen goes blank during boot after loader is finished Cc: Mr Dandy , rebecca@bluestop.org, "Rodney W. Grimes" , freebsd-virtualization@freebsd.org, FreeBSD Current Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 9739C70FB1 X-Spamd-Result: default: False [-104.83 / 200.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; ALLOW_DOMAIN_WHITELIST(-100.00)[freebsd.org]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; DMARC_NA(0.00)[freebsd.org]; R_SPF_SOFTFAIL(0.00)[~all]; RCPT_COUNT_FIVE(0.00)[5]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MX_GOOD(-0.01)[cached: mx66.freebsd.org]; NEURAL_HAM_SHORT(-1.00)[-0.998,0]; MISSING_TO(2.00)[]; IP_SCORE(-3.72)[ip: (-9.78), ipnet: 96.47.64.0/20(-4.83), asn: 11403(-3.91), country: US(-0.10)]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:11403, ipnet:96.47.64.0/20, country:US]; FREEMAIL_CC(0.00)[gmail.com] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Nov 2018 22:33:45 -0000 On Wed, Nov 14, 2018 at 4:30 PM Kyle Evans wrote: > > On Wed, Nov 14, 2018 at 4:23 PM Subbsd wrote: > > > > On Thu, Nov 15, 2018 at 1:05 AM Subbsd wrote: > > > > > > On Thu, Nov 15, 2018 at 12:21 AM Rebecca Cran wrote: > > > > > > > > On November 14, 2018 at 2:18:04 PM, Subbsd (subbsd@gmail.com) wrote: > > > >> > > > >> > > > >> My current host: FreeBSD 13.0-CURRENT r340319 and the problem is > > > >> still present. > > > > > > > > Rod was asking about the guest OS version, not the host though. > > > > > > > > > > > > > > I apologize, it seemed to me that I wrote earlier) Guest version: > > > https://download.freebsd.org/ftp/snapshots/amd64/amd64/ISO-IMAGES/13.0/FreeBSD-13.0-CURRENT-amd64-20181101-r339979-disc1.iso.xz > > > > Hm, it seems the problem is 'boot_serial' which is sets to YES by default in gop > > > > set boot_serial=NO > > boot > > > > solve this issue > > Huh? This is perhaps going to be a stupid question, but where is > boot_serial=YES getting set? Loader will not set it by itself and UEFI > doesn't respect /boot.config, so this must be explicitly set in > /boot/loader.conf or /boot/defaults/loader.conf, but it's not clear to > me what's putting it there. http://src.illumos.org/source/xref/freebsd-head/usr.sbin/bhyveload/bhyveload.c#832 is the only place I can see immediately that this might be happening, but do UEFI boots go through bhyveload? I'm ignorant here. From owner-freebsd-current@freebsd.org Wed Nov 14 22:55:30 2018 Return-Path: Delivered-To: freebsd-current@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 9737D110336A; Wed, 14 Nov 2018 22:55:30 +0000 (UTC) (envelope-from subbsd@gmail.com) Received: from mail-lj1-x235.google.com (mail-lj1-x235.google.com [IPv6:2a00:1450:4864:20::235]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A8249720E2; Wed, 14 Nov 2018 22:55:29 +0000 (UTC) (envelope-from subbsd@gmail.com) Received: by mail-lj1-x235.google.com with SMTP id e5-v6so15628598lja.4; Wed, 14 Nov 2018 14:55:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Bw+ZAZZHBDZpjqO/S/3COb5rOaQyDKmw7PpBtJkKDzI=; b=hdcA8t0+A1dyevCMul952/8R4VSZKulnj0/ddjIQgcxCuvn82QWUWhx6daterAcOC6 ESK6cf9Zz8nURnZB+QWjk+sOBUqo8kHNsiTztumGJeCEbmmo8F63lG72kd2ps43nvr88 aKsSTy+Rwbw4sWE5+iofKsErN2SNMH6zKf0p8fNnxdteXdgvUrq7BDs8vDBZCCq3lB3Q qGez//sy5oMZ6ytpU9pylb/VB+DcZd4eXgmejQuZ31xG6dVu6Tf7fTldUjAYYNTM9Hrp FqeAHIwEOK6Go4OFUjiVa/hzNIzwrI6GLXfKCuXs9lsxGNjdjVxfxZCDqqbeDYb9oqxr pKpA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Bw+ZAZZHBDZpjqO/S/3COb5rOaQyDKmw7PpBtJkKDzI=; b=EDiRU8eYtdH6ic9tMCRVMlgKUY346R8B79eov0ynarFUWJOQUxyNCPVOTNdEnegiYK G9Z2ivGlKg0QllUc06mNvLpyy7PeFCJZdU+iUD/JIfj+ZIUPXu+bG0o8mWNKYwko28Ia GK3swpnPF9xPNLv43fZrzA9rH/17/pjThwqjUewngLaPbskJi/J6dXmy5BItP0GRCaxo AlvRGCD5ppYCj4gg5LPfB9aRAy+4Ub0fQKdcP3TEnK/OxSxvVS0K1nLQ2Jv8X/sooD1J lgVAiPU/pzPjMLre2RY7d7orHSp8x/rPCu3tVYVXADOrHIl0G+j2y6aKCTVDolXlnlZv nO2Q== X-Gm-Message-State: AGRZ1gLIfq1EXi6QDtRgljcJ4Zc/a83S6Be7ruBri3Xg21y9Hhk/3epd 3B3YjqN1cMhPbHbHDTTgLuO6kOJnd+qMTRKjgqi6LfjU7m4= X-Google-Smtp-Source: AJdET5c7oKx8zuKAcnoXFCXkp49IjQtmzsdwOZiOZxdmQWwL5tQ0FqcTjM/h0TF2Mi6cwL5bjsszMVWRZSNZ7xpKn2M= X-Received: by 2002:a2e:2b11:: with SMTP id q17-v6mr2191324lje.25.1542236128018; Wed, 14 Nov 2018 14:55:28 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Subbsd Date: Thu, 15 Nov 2018 01:55:16 +0300 Message-ID: Subject: Re: UEFI GOP: screen goes blank during boot after loader is finished To: kevans@freebsd.org Cc: rebecca@bluestop.org, freebsd-rwg@pdx.rh.cn85.dnsmgr.net, freebsd-virtualization@freebsd.org, freebsd-current Current Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: A8249720E2 X-Spamd-Result: default: False [-4.75 / 200.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; MIME_GOOD(-0.10)[text/plain]; IP_SCORE(-0.75)[ipnet: 2a00:1450::/32(-1.83), asn: 15169(-1.81), country: US(-0.10)]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; RCPT_COUNT_FIVE(0.00)[5]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RCVD_IN_DNSWL_NONE(0.00)[5.3.2.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.5.4.1.0.0.a.2.list.dnswl.org : 127.0.5.0]; NEURAL_HAM_SHORT(-0.99)[-0.994,0]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; RCVD_COUNT_TWO(0.00)[2] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Nov 2018 22:55:30 -0000 On Thu, Nov 15, 2018 at 1:33 AM Kyle Evans wrote: > > On Wed, Nov 14, 2018 at 4:30 PM Kyle Evans wrote: > > > > On Wed, Nov 14, 2018 at 4:23 PM Subbsd wrote: > > > > > > On Thu, Nov 15, 2018 at 1:05 AM Subbsd wrote: > > > > > > > > On Thu, Nov 15, 2018 at 12:21 AM Rebecca Cran wrote: > > > > > > > > > > On November 14, 2018 at 2:18:04 PM, Subbsd (subbsd@gmail.com) wrote: > > > > >> > > > > >> > > > > >> My current host: FreeBSD 13.0-CURRENT r340319 and the problem is > > > > >> still present. > > > > > > > > > > Rod was asking about the guest OS version, not the host though. > > > > > > > > > > > > > > > > > > I apologize, it seemed to me that I wrote earlier) Guest version: > > > > https://download.freebsd.org/ftp/snapshots/amd64/amd64/ISO-IMAGES/13.0/FreeBSD-13.0-CURRENT-amd64-20181101-r339979-disc1.iso.xz > > > > > > Hm, it seems the problem is 'boot_serial' which is sets to YES by default in gop > > > > > > set boot_serial=NO > > > boot > > > > > > solve this issue > > > > Huh? This is perhaps going to be a stupid question, but where is > > boot_serial=YES getting set? Loader will not set it by itself and UEFI > > doesn't respect /boot.config, so this must be explicitly set in > > /boot/loader.conf or /boot/defaults/loader.conf, but it's not clear to > > me what's putting it there. > > http://src.illumos.org/source/xref/freebsd-head/usr.sbin/bhyveload/bhyveload.c#832 > is the only place I can see immediately that this might be happening, > but do UEFI boots go through bhyveload? I'm ignorant here. This is UEFI GOP methodvia bootrom/uefi-firmware, no bhyveload: bhyve -AHP -s 0:0,hostbridge -s 31:0,lpc -s 4:0,ahci-cd,/tmp/FreeBSD-13.0-CURRENT-amd64-20181101-r339979-disc1.iso -c 1 -m 1024M -s 29,fbuf,tcp=0.0.0.0:5900,w=1024,h=768,wait -l bootrom,/usr/local/share/uefi-firmware/BHYVE_UEFI.fd freebsd1 https://snag.gy/0MH7zU.jpg https://snag.gy/kF5cxZ.jpg https://snag.gy/htHMG0.jpg https://snag.gy/vK1ALN.jpg https://snag.gy/qKNPGU.jpg From owner-freebsd-current@freebsd.org Wed Nov 14 22:58:34 2018 Return-Path: Delivered-To: freebsd-current@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 40A2511035A5; Wed, 14 Nov 2018 22:58:34 +0000 (UTC) (envelope-from kevans@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C3EDB72317; Wed, 14 Nov 2018 22:58:33 +0000 (UTC) (envelope-from kevans@freebsd.org) Received: from mail-lf1-f44.google.com (mail-lf1-f44.google.com [209.85.167.44]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) (Authenticated sender: kevans) by smtp.freebsd.org (Postfix) with ESMTPSA id 646BA2E903; Wed, 14 Nov 2018 22:58:33 +0000 (UTC) (envelope-from kevans@freebsd.org) Received: by mail-lf1-f44.google.com with SMTP id p6so12771650lfc.1; Wed, 14 Nov 2018 14:58:33 -0800 (PST) X-Gm-Message-State: AGRZ1gJVoowRmJp4Gyho3ZEJOGYZncZa3pNHWTPQW33CLnuzqG6U3O/W vsv7LHlpqhxizZR87yAHxrON/DBmoophrGa7PKY= X-Google-Smtp-Source: AJdET5eV+mhhv+RSlcTlNTc3HrpIV78SfMTdwaEoenMFjlH1a6VHjCvrsknq8Id2ZVWV6z5M8MLnE4fxCmR9b8PTjfw= X-Received: by 2002:a19:a84e:: with SMTP id r75mr2165438lfe.45.1542236311924; Wed, 14 Nov 2018 14:58:31 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Kyle Evans Date: Wed, 14 Nov 2018 16:58:19 -0600 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: UEFI GOP: screen goes blank during boot after loader is finished To: Mr Dandy Cc: rebecca@bluestop.org, "Rodney W. Grimes" , freebsd-virtualization@freebsd.org, FreeBSD Current Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: C3EDB72317 X-Spamd-Result: default: False [-106.88 / 200.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; ALLOW_DOMAIN_WHITELIST(-100.00)[freebsd.org]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[freebsd.org]; R_SPF_SOFTFAIL(0.00)[~all]; RCPT_COUNT_FIVE(0.00)[5]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MX_GOOD(-0.01)[cached: mx66.freebsd.org]; NEURAL_HAM_SHORT(-1.00)[-0.999,0]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US]; IP_SCORE(-3.77)[ip: (-9.91), ipnet: 2610:1c1:1::/48(-4.93), asn: 11403(-3.91), country: US(-0.10)] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Nov 2018 22:58:34 -0000 On Wed, Nov 14, 2018 at 4:55 PM Subbsd wrote: > > On Thu, Nov 15, 2018 at 1:33 AM Kyle Evans wrote: > > > > On Wed, Nov 14, 2018 at 4:30 PM Kyle Evans wrote: > > > > > > On Wed, Nov 14, 2018 at 4:23 PM Subbsd wrote: > > > > > > > > On Thu, Nov 15, 2018 at 1:05 AM Subbsd wrote: > > > > > > > > > > On Thu, Nov 15, 2018 at 12:21 AM Rebecca Cran wrote: > > > > > > > > > > > > On November 14, 2018 at 2:18:04 PM, Subbsd (subbsd@gmail.com) wrote: > > > > > >> > > > > > >> > > > > > >> My current host: FreeBSD 13.0-CURRENT r340319 and the problem is > > > > > >> still present. > > > > > > > > > > > > Rod was asking about the guest OS version, not the host though. > > > > > > > > > > > > > > > > > > > > > > I apologize, it seemed to me that I wrote earlier) Guest version: > > > > > https://download.freebsd.org/ftp/snapshots/amd64/amd64/ISO-IMAGES/13.0/FreeBSD-13.0-CURRENT-amd64-20181101-r339979-disc1.iso.xz > > > > > > > > Hm, it seems the problem is 'boot_serial' which is sets to YES by default in gop > > > > > > > > set boot_serial=NO > > > > boot > > > > > > > > solve this issue > > > > > > Huh? This is perhaps going to be a stupid question, but where is > > > boot_serial=YES getting set? Loader will not set it by itself and UEFI > > > doesn't respect /boot.config, so this must be explicitly set in > > > /boot/loader.conf or /boot/defaults/loader.conf, but it's not clear to > > > me what's putting it there. > > > > http://src.illumos.org/source/xref/freebsd-head/usr.sbin/bhyveload/bhyveload.c#832 > > is the only place I can see immediately that this might be happening, > > but do UEFI boots go through bhyveload? I'm ignorant here. > > This is UEFI GOP methodvia bootrom/uefi-firmware, no bhyveload: > > bhyve -AHP -s 0:0,hostbridge -s 31:0,lpc -s > 4:0,ahci-cd,/tmp/FreeBSD-13.0-CURRENT-amd64-20181101-r339979-disc1.iso > -c 1 -m 1024M -s 29,fbuf,tcp=0.0.0.0:5900,w=1024,h=768,wait -l > bootrom,/usr/local/share/uefi-firmware/BHYVE_UEFI.fd freebsd1 > > https://snag.gy/0MH7zU.jpg > https://snag.gy/kF5cxZ.jpg > https://snag.gy/htHMG0.jpg > https://snag.gy/vK1ALN.jpg > https://snag.gy/qKNPGU.jpg What does your /boot/loader.conf look like? From owner-freebsd-current@freebsd.org Thu Nov 15 02:57:11 2018 Return-Path: Delivered-To: freebsd-current@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 EA55A110D218 for ; Thu, 15 Nov 2018 02:57:10 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-it1-x142.google.com (mail-it1-x142.google.com [IPv6:2607:f8b0:4864:20::142]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id DF51E7C5BA for ; Thu, 15 Nov 2018 02:57:09 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-it1-x142.google.com with SMTP id k141-v6so27160289itk.3 for ; Wed, 14 Nov 2018 18:57:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=JRxIxTggLNqsypREUwMOv2CgAwqP23ojyZ1+eFFvHGQ=; b=cSKDP2x6VIEKM16DivT4vosAWXUIOVTpsiWPwOA1XgpaXHzvE0xvv2xG0l5kS870AV zN8H+fMbCYBLFRtcFg3DK73V7dd8akA4qHSl/FouTzjjn+HPyVGvoAQ4+0XjOE0iMerc t/wEOnokbcctkeNDEwAJfKtrpYH4A22ut+8vNt4GvkkVgwts6oemm3fb2iwYPiI0E8Tc lFO7yeaTHt96lEukkJOBVPqSa04Hl2epeWtX8jkDOavttizdBin3+PHwOOnTgsc18Y8I i3vC6j8VCNrHOPWoR0jUUHgvnzXmGDnwcxTbxpVAn/OQoorclH9a91mkbCBM1SLPfk8R gG+A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=JRxIxTggLNqsypREUwMOv2CgAwqP23ojyZ1+eFFvHGQ=; b=sglh24Bl6ef1BKogj3dCiuG5hSlQhCLExjmuBcv6lXzc7mY0GgugA9hn7VZ7p7wXaW bO8q5Un0mePKDU1PhiPdWQXMEsC8YcuYlYOHUMhKuFMbqAgJowJ9lD4XVbOj1htIXjrh UfU7+z9sZh+tRqrn4r6lOSDZ39RdyPJ3ubv17LCUFm99kwA8ExNZWDTWB4xeEHOr3tan Y8IWaYa8Mg/trgQMmxqLpIYBH4/Floocp5KMfjmxy4P2yp03fgfR0YIV1ZCi/qkcT39w posCQd4aGfqHLcZGwe/yqvdirDBOhMW3i39V0LlPHCQ5p+u34qwR5J5sYdEZrH/jg2TQ 6mOQ== X-Gm-Message-State: AGRZ1gKCiE50tUniMXcEyr9yeVUoubZySAPTDzccPvgPeoXMxFZCQNw1 glR68yWOFqES5VLNae6oV5lya1HeGG3mJ/ezkmGNyg== X-Google-Smtp-Source: AJdET5dPg0bxAkI344FGC1N5otMZAmSOwUuOKilOGniBXVtbDI9v+AbSr2jrYkZni07A3JqLq0CZTYaibWmRi0l7XEg= X-Received: by 2002:a02:9951:: with SMTP id d17-v6mr3901080jak.78.1542250628906; Wed, 14 Nov 2018 18:57:08 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Warner Losh Date: Wed, 14 Nov 2018 19:56:56 -0700 Message-ID: Subject: Re: UEFI GOP: screen goes blank during boot after loader is finished To: Kyle Evans Cc: subbsd@gmail.com, Rebecca Cran , "Rodney W. Grimes" , freebsd-virtualization@freebsd.org, FreeBSD Current X-Rspamd-Queue-Id: DF51E7C5BA X-Spamd-Result: default: False [-0.95 / 200.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.94)[-0.941,0]; R_DKIM_ALLOW(-0.20)[bsdimp-com.20150623.gappssmtp.com]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; NEURAL_HAM_LONG(-0.98)[-0.984,0]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; DMARC_NA(0.00)[bsdimp.com]; URI_COUNT_ODD(1.00)[15]; RCPT_COUNT_FIVE(0.00)[6]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[bsdimp-com.20150623.gappssmtp.com:+]; MX_GOOD(-0.01)[cached: ALT1.aspmx.l.google.com]; RCVD_IN_DNSWL_NONE(0.00)[2.4.1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; HTTP_TO_IP(1.00)[]; NEURAL_HAM_SHORT(-0.64)[-0.637,0]; R_SPF_NA(0.00)[]; FORGED_SENDER(0.30)[imp@bsdimp.com,wlosh@bsdimp.com]; RCVD_TLS_LAST(0.00)[]; IP_SCORE(-0.38)[ip: (2.74), ipnet: 2607:f8b0::/32(-2.74), asn: 15169(-1.81), country: US(-0.10)]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; FROM_NEQ_ENVFROM(0.00)[imp@bsdimp.com,wlosh@bsdimp.com]; FREEMAIL_CC(0.00)[gmail.com] X-Rspamd-Server: mx1.freebsd.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Nov 2018 02:57:11 -0000 On Wed, Nov 14, 2018 at 4:00 PM Kyle Evans wrote: > On Wed, Nov 14, 2018 at 4:55 PM Subbsd wrote: > > > > On Thu, Nov 15, 2018 at 1:33 AM Kyle Evans wrote: > > > > > > On Wed, Nov 14, 2018 at 4:30 PM Kyle Evans wrote: > > > > > > > > On Wed, Nov 14, 2018 at 4:23 PM Subbsd wrote: > > > > > > > > > > On Thu, Nov 15, 2018 at 1:05 AM Subbsd wrote: > > > > > > > > > > > > On Thu, Nov 15, 2018 at 12:21 AM Rebecca Cran < > rebecca@bluestop.org> wrote: > > > > > > > > > > > > > > On November 14, 2018 at 2:18:04 PM, Subbsd (subbsd@gmail.com) > wrote: > > > > > > >> > > > > > > >> > > > > > > >> My current host: FreeBSD 13.0-CURRENT r340319 and the problem > is > > > > > > >> still present. > > > > > > > > > > > > > > Rod was asking about the guest OS version, not the host though. > > > > > > > > > > > > > > > > > > > > > > > > > > I apologize, it seemed to me that I wrote earlier) Guest version: > > > > > > > https://download.freebsd.org/ftp/snapshots/amd64/amd64/ISO-IMAGES/13.0/FreeBSD-13.0-CURRENT-amd64-20181101-r339979-disc1.iso.xz > > > > > > > > > > Hm, it seems the problem is 'boot_serial' which is sets to YES by > default in gop > > > > > > > > > > set boot_serial=NO > > > > > boot > > > > > > > > > > solve this issue > > > > > > > > Huh? This is perhaps going to be a stupid question, but where is > > > > boot_serial=YES getting set? Loader will not set it by itself and > UEFI > > > > doesn't respect /boot.config, so this must be explicitly set in > > > > /boot/loader.conf or /boot/defaults/loader.conf, but it's not clear > to > > > > me what's putting it there. > > > > > > > http://src.illumos.org/source/xref/freebsd-head/usr.sbin/bhyveload/bhyveload.c#832 > > > is the only place I can see immediately that this might be happening, > > > but do UEFI boots go through bhyveload? I'm ignorant here. > > > > This is UEFI GOP methodvia bootrom/uefi-firmware, no bhyveload: > > > > bhyve -AHP -s 0:0,hostbridge -s 31:0,lpc -s > > 4:0,ahci-cd,/tmp/FreeBSD-13.0-CURRENT-amd64-20181101-r339979-disc1.iso > > -c 1 -m 1024M -s 29,fbuf,tcp=0.0.0.0:5900,w=1024,h=768,wait -l > > bootrom,/usr/local/share/uefi-firmware/BHYVE_UEFI.fd freebsd1 > > > > https://snag.gy/0MH7zU.jpg > > https://snag.gy/kF5cxZ.jpg > > https://snag.gy/htHMG0.jpg > > https://snag.gy/vK1ALN.jpg > > https://snag.gy/qKNPGU.jpg > > What does your /boot/loader.conf look like? > What is the ConOut evifar look like? We set serial when the UEFI env says to do so. Warner From owner-freebsd-current@freebsd.org Thu Nov 15 09:23:16 2018 Return-Path: Delivered-To: freebsd-current@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 0899D112FB3F; Thu, 15 Nov 2018 09:23:16 +0000 (UTC) (envelope-from matt.churchyard@userve.net) Received: from smtp-a.userve.net (smtp-outbound.userve.net [217.196.1.22]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.userve.net", Issuer "Thawte RSA CA 2018" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id DC0538C0B2; Thu, 15 Nov 2018 09:23:14 +0000 (UTC) (envelope-from matt.churchyard@userve.net) Received: from owa.usd-group.com (owa.usd-group.com [217.196.1.2]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp-a.userve.net (Postfix) with ESMTPS id 06E1B3C5; Thu, 15 Nov 2018 09:23:06 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=userve.net; s=201508; t=1542273786; bh=NaXaaOQ5mnO4caVA9EZmzve7s6nZghcAaswJLwS6bbM=; h=From:To:CC:Subject:Date:References:In-Reply-To; b=jFpESlwyQuAOToqIlamFm6bcHXRntgntPgbkS/1yyV3qZHA+Ms2Ruy+VlEE4UmaRu Sew5yvdeem3WQrBhAlkF5s427nUpLJHa3yK3ASLt9r6gLT25xSr/2fHeLXHM/s1j3e EqLUGALYQvFVWFT4jF43GgKA0pQeZpyEK8ZNT0Ew= Received: from SERVER.ad.usd-group.com (192.168.0.1) by SERVER.ad.usd-group.com (192.168.0.1) with Microsoft SMTP Server (TLS) id 15.0.847.32; Thu, 15 Nov 2018 09:23:05 +0000 Received: from SERVER.ad.usd-group.com ([fe80::b19d:892a:6fc7:1c9]) by SERVER.ad.usd-group.com ([fe80::b19d:892a:6fc7:1c9%12]) with mapi id 15.00.0847.030; Thu, 15 Nov 2018 09:23:05 +0000 From: Matt Churchyard To: Warner Losh , Kyle Evans CC: FreeBSD Current , "Rodney W. Grimes" , "freebsd-virtualization@freebsd.org" Subject: RE: UEFI GOP: screen goes blank during boot after loader is finished Thread-Topic: UEFI GOP: screen goes blank during boot after loader is finished Thread-Index: AQHUexgNTIRUUtU5ZEW3drb1EFLC0aVN1uiAgAAFPoCAAAe9gIAAc0IAgAAtcoCAACBkgIAAlayAgAAt/YCAAAUugIAAWw0AgAAAb4CAAAzgAIAABNaAgAACLICAAADCAIAABhUAgAAA2oCAAEKrAIAAaRfg Date: Thu, 15 Nov 2018 09:23:04 +0000 Message-ID: References: In-Reply-To: Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [192.168.0.10] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Rspamd-Queue-Id: DC0538C0B2 X-Spamd-Result: default: False [-2.51 / 200.00]; ARC_NA(0.00)[]; TO_DN_EQ_ADDR_SOME(0.00)[]; R_DKIM_ALLOW(-0.20)[userve.net]; HAS_XOIP(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; NEURAL_HAM_MEDIUM(-0.97)[-0.973,0]; NEURAL_HAM_LONG(-0.99)[-0.990,0]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[userve.net]; RCPT_COUNT_FIVE(0.00)[5]; RCVD_COUNT_THREE(0.00)[4]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[userve.net:+]; MX_GOOD(-0.01)[av-smtp-in2.userve.net,av-smtp-in1.userve.net]; RCVD_IN_DNSWL_NONE(0.00)[22.1.196.217.list.dnswl.org : 127.0.10.0]; NEURAL_HAM_SHORT(-0.22)[-0.222,0]; R_SPF_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; IP_SCORE(-0.02)[country: GB(-0.10)]; ASN(0.00)[asn:20652, ipnet:217.196.0.0/20, country:GB] X-Rspamd-Server: mx1.freebsd.org X-Mailman-Approved-At: Thu, 15 Nov 2018 11:24:13 +0000 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Nov 2018 09:23:16 -0000 -----Original Message----- From: owner-freebsd-virtualization@freebsd.org On Behalf Of Warner Losh Sent: 15 November 2018 02:57 To: Kyle Evans Cc: FreeBSD Current ; Rodney W. Grimes ; freebsd-virtualization@freebsd.org Subject: Re: UEFI GOP: screen goes blank during boot after loader is finish= ed On Wed, Nov 14, 2018 at 4:00 PM Kyle Evans wrote: > On Wed, Nov 14, 2018 at 4:55 PM Subbsd wrote: > > > > On Thu, Nov 15, 2018 at 1:33 AM Kyle Evans wrote: > > > > > > On Wed, Nov 14, 2018 at 4:30 PM Kyle Evans wrote= : > > > > > > > > On Wed, Nov 14, 2018 at 4:23 PM Subbsd wrote: > > > > > > > > > > On Thu, Nov 15, 2018 at 1:05 AM Subbsd wrote: > > > > > > > > > > > > On Thu, Nov 15, 2018 at 12:21 AM Rebecca Cran < > rebecca@bluestop.org> wrote: > > > > > > > > > > > > > > On November 14, 2018 at 2:18:04 PM, Subbsd=20 > > > > > > > (subbsd@gmail.com) > wrote: > > > > > > >> > > > > > > >> > > > > > > >> My current host: FreeBSD 13.0-CURRENT r340319 and the=20 > > > > > > >> problem > is > > > > > > >> still present. > > > > > > > > > > > > > > Rod was asking about the guest OS version, not the host thoug= h. > > > > > > > > > > > > > > > > > > > > > > > > > > I apologize, it seemed to me that I wrote earlier) Guest versio= n: > > > > > > > https://download.freebsd.org/ftp/snapshots/amd64/amd64/ISO-IMAGES/13.0 > /FreeBSD-13.0-CURRENT-amd64-20181101-r339979-disc1.iso.xz > > > > > > > > > > Hm, it seems the problem is 'boot_serial' which is sets to YES=20 > > > > > by > default in gop > > > > > > > > > > set boot_serial=3DNO > > > > > boot > > > > > > > > > > solve this issue > > > > > > > > Huh? This is perhaps going to be a stupid question, but where is=20 > > > > boot_serial=3DYES getting set? Loader will not set it by itself=20 > > > > and > UEFI > > > > doesn't respect /boot.config, so this must be explicitly set in=20 > > > > /boot/loader.conf or /boot/defaults/loader.conf, but it's not=20 > > > > clear > to > > > > me what's putting it there. > > > > > > > http://src.illumos.org/source/xref/freebsd-head/usr.sbin/bhyveload/bhy > veload.c#832 > > > is the only place I can see immediately that this might be=20 > > > happening, but do UEFI boots go through bhyveload? I'm ignorant here. > > > > This is UEFI GOP methodvia bootrom/uefi-firmware, no bhyveload: > > > > bhyve -AHP -s 0:0,hostbridge -s 31:0,lpc -s=20 > > 4:0,ahci-cd,/tmp/FreeBSD-13.0-CURRENT-amd64-20181101-r339979-disc1.i > > so -c 1 -m 1024M -s 29,fbuf,tcp=3D0.0.0.0:5900,w=3D1024,h=3D768,wait -l= =20 > > bootrom,/usr/local/share/uefi-firmware/BHYVE_UEFI.fd freebsd1 > > > > https://snag.gy/0MH7zU.jpg > > https://snag.gy/kF5cxZ.jpg > > https://snag.gy/htHMG0.jpg > > https://snag.gy/vK1ALN.jpg > > https://snag.gy/qKNPGU.jpg > > What does your /boot/loader.conf look like? > >What is the ConOut evifar look like? We set serial when the UEFI env says = to do so. >Warner I can confirm that 11.2-REL boots fine but 12.0-BETA4 goes blank just after= the loader, using the exact same bhyve configuration. (This is on an 11.2 = host) A few lines are output just before going blank but I can't catch what they = say. I'm using the official ISO files with no other configuration so it does see= m that 12.0 will currently not boot under UEFI-GOP bhyve. I can check the efivars if someone lets me know how. Matt _______________________________________________ freebsd-virtualization@freebsd.org mailing list https://lists.freebsd.org/m= ailman/listinfo/freebsd-virtualization To unsubscribe, send any mail to "freebsd-virtualization-unsubscribe@freebs= d.org" From owner-freebsd-current@freebsd.org Thu Nov 15 19:10:10 2018 Return-Path: Delivered-To: freebsd-current@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 0E06A1106DA9; Thu, 15 Nov 2018 19:10:10 +0000 (UTC) (envelope-from rebecca@bluestop.org) Received: from muon.bluestop.org (muon.bluestop.org [96.73.9.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 6C5617A6AD; Thu, 15 Nov 2018 19:10:09 +0000 (UTC) (envelope-from rebecca@bluestop.org) Received: from muon.bluestop.org (localhost [127.0.0.1]) by muon.bluestop.org (Postfix) with ESMTP id 7F65CD0038; Thu, 15 Nov 2018 12:10:51 -0700 (MST) Received: from muon.bluestop.org ([127.0.0.1]) by muon.bluestop.org (muon.bluestop.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id SHuJl721hHQZ; Thu, 15 Nov 2018 12:10:51 -0700 (MST) Received: from photon.int.bluestop.org (gw.bluestop.org [96.73.9.3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by muon.bluestop.org (Postfix) with ESMTPSA; Thu, 15 Nov 2018 12:10:51 -0700 (MST) From: Rebecca Cran To: freebsd-current@freebsd.org Cc: Warner Losh , Kyle Evans , subbsd@gmail.com, "Rodney W. Grimes" , freebsd-virtualization@freebsd.org Subject: Re: UEFI GOP: screen goes blank during boot after loader is finished Date: Thu, 15 Nov 2018 12:10:07 -0700 Message-ID: <1564776.xRuIxZukmv@photon.int.bluestop.org> In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Rspamd-Queue-Id: 6C5617A6AD X-Spamd-Result: default: False [-6.63 / 200.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[bluestop.org]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; RCPT_COUNT_FIVE(0.00)[6]; RCVD_COUNT_THREE(0.00)[4]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[bluestop.org:+]; MX_GOOD(-0.01)[cached: mail.bluestop.org]; DMARC_POLICY_ALLOW(-0.50)[bluestop.org,quarantine]; NEURAL_HAM_SHORT(-0.98)[-0.985,0]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; CTE_CASE(0.50)[]; ASN(0.00)[asn:7922, ipnet:96.64.0.0/11, country:US]; IP_SCORE(-3.13)[ip: (-9.80), ipnet: 96.64.0.0/11(-4.88), asn: 7922(-0.89), country: US(-0.10)] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Nov 2018 19:10:10 -0000 On Wednesday, 14 November 2018 19:56:56 MST Warner Losh wrote: > What is the ConOut evifar look like? We set serial when the UEFI env says > to do so. Booting with: sudo bhyve -A -P -c 2 -H -m 4G -s 0:0,hostbridge -s 31:0,lpc -s 2,ahci- cd,FreeBSD-12.0-BETA4-amd64-disc1.iso -s 29,fbuf,tcp=0.0.0.0:5900,w=800,h=600,wait -l bootrom,/usr/local/share/uefi- firmware/BHYVE_UEFI.fd -u vm5 dh in the shell shows: 7D: ConsoleOut SimpleTextOut GraphicsOutput(GraphicsOutput) PCIIO DevicePath(PciRoot (0x0)/Pci(0x1D,0x0)) 84: StdErr ConsoleOut ConsoleIn SimpleTextOut SimpleTextInEx SimpleTextIn DevicePath(t(115200,8,N,1)/VenVt100Plus()) 89: SimpleTextOut SimpleTextInEx SimpleTextIn DevicePath(Uart(115200,8,N,1)/ VenPcAnsi()) -- Rebecca From owner-freebsd-current@freebsd.org Thu Nov 15 20:08:31 2018 Return-Path: Delivered-To: freebsd-current@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 C3D521108195 for ; Thu, 15 Nov 2018 20:08:31 +0000 (UTC) (envelope-from jbeich@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 537D17BE77 for ; Thu, 15 Nov 2018 20:08:31 +0000 (UTC) (envelope-from jbeich@freebsd.org) Received: by freefall.freebsd.org (Postfix, from userid 1354) id 44BB8D78E; Thu, 15 Nov 2018 20:08:31 +0000 (UTC) From: Jan Beich To: freebsd-current@freebsd.org Subject: Re: [regression] drm-stable-kmod doesn't work in i386 jail on amd64 host References: Date: Thu, 15 Nov 2018 21:08:27 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-Rspamd-Queue-Id: 537D17BE77 X-Spamd-Result: default: False [-106.84 / 200.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; ALLOW_DOMAIN_WHITELIST(-100.00)[freebsd.org]; FROM_HAS_DN(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; DMARC_NA(0.00)[FreeBSD.org]; R_SPF_SOFTFAIL(0.00)[~all]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; IP_SCORE(-3.74)[ip: (-9.75), ipnet: 2610:1c1:1::/48(-4.93), asn: 11403(-3.91), country: US(-0.10)]; MX_GOOD(-0.01)[cached: mx66.freebsd.org]; NEURAL_HAM_SHORT(-1.00)[-0.998,0]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US]; MID_RHS_MATCH_FROM(0.00)[]; TO_DOM_EQ_FROM_DOM(0.00)[] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Nov 2018 20:08:32 -0000 Jan Beich writes: > I often test Firefox on 10.4 i386 and sometimes play games via Wine. > Both require working OpenGL for COMPAT_FREEBSD32. My GPU is Skylake > which worked fine a few weegs ago i.e., before r338990. > > Any clue? I've opened https://github.com/FreeBSDDesktop/kms-drm/issues/99 but so far no response. Would a sample would help? $ cc -o test test.c $ cc -m32 -o test32 test.c $ pciconf -l | fgrep 0:0:2:0 vgapci1@pci0:0:2:0: class=0x030000 card=0x79681462 chip=0x19128086 rev=0x06 hdr=0x00 $ /poudriere/jails/112i386/usr/sbin/pciconf -l pciconf: ioctl(PCIOCGETCONF): Operation not permitted $ ./test 0 0 2 0 vendor=0x8086, device=0x1912, subvendor=0x1462, subdevice=0x7968, revid=0x6 $ ./test32 0 0 2 0 test32: PCIOCGETCONF failed: Operation not permitted $ sudo ./test32 0 0 2 0 test32: PCIOCGETCONF failed: Operation not permitted $ cat test.c #include #include #include #include #include #include #include #include int main(int argc, char **argv) { /* Based on drmParsePciDeviceInfo() from graphics/libdrm/files/patch-xf86drm.c */ struct pci_conf_io pc; struct pci_match_conf patterns[1]; struct pci_conf results[1]; if (argc < 5) { printf("usage: %s \n", argv[0]); return 1; } int fd = open("/dev/pci", O_RDONLY, 0); if (fd < 0) err(1, "open(/dev/pci) failed"); bzero(&patterns, sizeof(patterns)); patterns[0].pc_sel.pc_domain = atoi(argv[1]); patterns[0].pc_sel.pc_bus = atoi(argv[2]); patterns[0].pc_sel.pc_dev = atoi(argv[3]); patterns[0].pc_sel.pc_func = atoi(argv[4]); patterns[0].flags = PCI_GETCONF_MATCH_DOMAIN | PCI_GETCONF_MATCH_BUS | PCI_GETCONF_MATCH_DEV | PCI_GETCONF_MATCH_FUNC; bzero(&pc, sizeof(struct pci_conf_io)); pc.num_patterns = 1; pc.pat_buf_len = sizeof(patterns); pc.patterns = patterns; pc.match_buf_len = sizeof(results); pc.matches = results; if (ioctl(fd, PCIOCGETCONF, &pc) || pc.status == PCI_GETCONF_ERROR) { close(fd); err(1, "PCIOCGETCONF failed"); } close(fd); printf("vendor=%#x, device=%#x, subvendor=%#x, subdevice=%#x, revid=%#x\n", results[0].pc_vendor, results[0].pc_device, results[0].pc_subvendor, results[0].pc_subdevice, results[0].pc_revid); return 0; } From owner-freebsd-current@freebsd.org Thu Nov 15 22:10:26 2018 Return-Path: Delivered-To: freebsd-current@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 02A80110BD38 for ; Thu, 15 Nov 2018 22:10:26 +0000 (UTC) (envelope-from markjdb@gmail.com) Received: from mail-it1-x143.google.com (mail-it1-x143.google.com [IPv6:2607:f8b0:4864:20::143]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 40C598248B for ; Thu, 15 Nov 2018 22:10:25 +0000 (UTC) (envelope-from markjdb@gmail.com) Received: by mail-it1-x143.google.com with SMTP id x124so4060027itd.1 for ; Thu, 15 Nov 2018 14:10:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=66EdJhhtIjRZICL7Mf2/Fr3RSyAD5cl+MnsyVPJmOms=; b=JegnkfqzB4dvHzFkO8aeviCbPm33jfl1guWlWq6UQp82YzWbAkz4V/YThBiYShmhX9 gASz3NNTlMV9vZxfMqRkBRsK2x+np7v8XRIWqAh+pBeDqsjQREtDTGHIBDFUfBwO1/v0 nQD2PgQ57YvzstNd0nPbB7sc2qt0wi4vbg0zQnxlFex+hfNDGxvfRn/1jpYhOUHGpHb3 O5DbOI14sPWSsioeEgw74mDrLvgp6ltUky242phndpqstSP03sCPjHbtum4oFz636pl7 t7BcNtayyU2e+yyfQH2dOZ3oVNucmsp+v//arqyDJXFQ46BWvWEN9e/LAJM3hawGkEhP GSKQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition:in-reply-to:user-agent; bh=66EdJhhtIjRZICL7Mf2/Fr3RSyAD5cl+MnsyVPJmOms=; b=N6B50TD16f4D59EXZukdhX9aP76Cdy1BEZKk4F1mYvaBz9uH1q/q/8Y0aO9eoC+Cb4 SSQOZL+LtRHj33DnUHxrDvhQGdwSAzjKQeCISbuIhArDJvWKs//bE0Uw8y80bX3rJiOk Sh2yk7gdVrcfRULbDfQa8rM/9TGTRpTqwV5Dmdi3Xz6X8mkVsYB6F3A7KVPk+xf/nHcI MjNskRngIWcNJqIZQfINbATpCX+u62q+BNdBYJvtSiJfkAwmLW1ddIa71lm3tx74wa8i mL4V9eIYaNO+r8kQ9SN7hpHlI5WGUZodu5PDN2zDMPJLNESWhHCm9pkyX7QBDBubrSCm 1tmA== X-Gm-Message-State: AGRZ1gLHeBajT46P3xa3DCu5PajPzm4E/8mnxat+p8hnqGkkdh1D+RDe KUhJUj4UusDfQLHL2LE5PsN5F2td X-Google-Smtp-Source: AJdET5dLVyfqH3rN8iybcrpExEfkv9GYkhVaV8sECnl0IopiZ1Gmr9MpmpU+xUfi+Co5Vy60BNohWA== X-Received: by 2002:a05:660c:984:: with SMTP id z4mr7594715itj.77.1542319824511; Thu, 15 Nov 2018 14:10:24 -0800 (PST) Received: from raichu (toroon0560w-lp130-07-64-229-95-98.dsl.bell.ca. [64.229.95.98]) by smtp.gmail.com with ESMTPSA id z11-v6sm11813153itz.26.2018.11.15.14.10.23 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 15 Nov 2018 14:10:23 -0800 (PST) Sender: Mark Johnston Date: Thu, 15 Nov 2018 17:10:19 -0500 From: Mark Johnston To: Sylvain GALLIANO Cc: freebsd-current@freebsd.org Subject: Re: Panic on kern_event.c Message-ID: <20181115221019.GA2514@raichu> References: <20181107043503.GB30861@raichu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) X-Rspamd-Queue-Id: 40C598248B X-Spamd-Result: default: False [-3.03 / 40.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; FORGED_SENDER(0.30)[markj@freebsd.org,markjdb@gmail.com]; RCVD_TLS_LAST(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; FROM_NEQ_ENVFROM(0.00)[markj@freebsd.org,markjdb@gmail.com]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.997,0]; R_DKIM_ALLOW(-0.20)[gmail.com]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_SHORT(-0.75)[-0.750,0]; NEURAL_HAM_LONG(-1.00)[-0.999,0]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; DMARC_NA(0.00)[freebsd.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[3.4.1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; IP_SCORE(-0.58)[ip: (1.69), ipnet: 2607:f8b0::/32(-2.67), asn: 15169(-1.81), country: US(-0.10)]; MID_RHS_NOT_FQDN(0.50)[] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Nov 2018 22:10:26 -0000 On Thu, Nov 08, 2018 at 05:05:03PM +0100, Sylvain GALLIANO wrote: > Hi, > > I replaced > << printf("XXX knote %p already in tailq status:%x kq_count:%d [%p %p] > %u\n",kn,kn->kn_status,kq->kq_count,kn->kn_tqe.tqe_next,kn->kn_tqe.tqe_prev,__LINE__); > by > >> panic("XXX knote %p already in tailq status:%x kq_count:%d [%p %p] > %u\n",kn,kn->kn_status,kq->kq_count,kn->kn_tqe.tqe_next,kn->kn_tqe.tqe_prev,__LINE__); > > Here is the stack during panic: > panic: XXX knote 0xfffff801e1c6ddc0 already in tailq status:1 kq_count:2 > [0 0xfffff8000957a978] 2671 > > cpuid = 0 > time = 1541688832 > KDB: stack backtrace: > db_trace_self_wrapper() at db_trace_self_wrapper+0x2c/frame > 0xfffffe0412258fd0 > kdb_backtrace() at kdb_backtrace+0x53/frame 0xfffffe04122590a0 > vpanic() at vpanic+0x277/frame 0xfffffe0412259170 > doadump() at doadump/frame 0xfffffe04122591d0 > knote_enqueue() at knote_enqueue+0xf2/frame 0xfffffe0412259210 > kqueue_register() at kqueue_register+0xaed/frame 0xfffffe0412259340 > kqueue_kevent() at kqueue_kevent+0x13c/frame 0xfffffe04122595b0 > kern_kevent_fp() at kern_kevent_fp+0x66/frame 0xfffffe0412259610 > kern_kevent() at kern_kevent+0x17f/frame 0xfffffe0412259700 > kern_kevent_generic() at kern_kevent_generic+0xfe/frame 0xfffffe0412259780 > sys_kevent() at sys_kevent+0xaa/frame 0xfffffe0412259810 > syscallenter() at syscallenter+0x4e3/frame 0xfffffe04122598f0 > amd64_syscall() at amd64_syscall+0x1b/frame 0xfffffe04122599b0 > fast_syscall_common() at fast_syscall_common+0x101/frame 0xfffffe04122599b0 > --- syscall (560, FreeBSD ELF64, sys_kevent), rip = 0x406e3bfa, rsp = > 0x7fffdf7e9db8, rbp = 0x7fffdf7e9e00 --- > KDB: enter: panic > > > you can get kernel.debug + vmcore at: > https://drive.google.com/drive/folders/1MbqJQm12-KOYDbb4-9uNRTnAdsNqLaIP?usp=sharing Could you please give the following patch a try? If possible, could you also ktrace one of the active syslog-ng processes for some time, perhaps 15 seconds, and share the kdump? I have been trying to reproduce the problem without any luck. diff --git a/sys/kern/kern_event.c b/sys/kern/kern_event.c index d9c670e29d60..9ef7c53361bf 100644 --- a/sys/kern/kern_event.c +++ b/sys/kern/kern_event.c @@ -224,6 +224,7 @@ SYSCTL_UINT(_kern, OID_AUTO, kq_calloutmax, CTLFLAG_RW, #define KQ_LOCK(kq) do { \ mtx_lock(&(kq)->kq_lock); \ } while (0) +#define KQ_LOCKPTR(kq) (&(kq)->kq_lock) #define KQ_FLUX_WAKEUP(kq) do { \ if (((kq)->kq_state & KQ_FLUXWAIT) == KQ_FLUXWAIT) { \ (kq)->kq_state &= ~KQ_FLUXWAIT; \ @@ -687,8 +688,11 @@ filt_timerexpire(void *knx) struct kq_timer_cb_data *kc; kn = knx; + KQ_OWNED(kn->kn_kq); kn->kn_data++; - KNOTE_ACTIVATE(kn, 0); /* XXX - handle locking */ + + if (!kn_in_flux(kn) || (kn->kn_status & KN_SCAN) != 0) + KNOTE_ACTIVATE(kn, 1); if ((kn->kn_flags & EV_ONESHOT) != 0) return; @@ -753,7 +757,7 @@ filt_timerattach(struct knote *kn) kn->kn_flags |= EV_CLEAR; /* automatically set */ kn->kn_status &= ~KN_DETACHED; /* knlist_add clears it */ kn->kn_ptr.p_v = kc = malloc(sizeof(*kc), M_KQUEUE, M_WAITOK); - callout_init(&kc->c, 1); + callout_init_mtx(&kc->c, KQ_LOCKPTR(kn->kn_kq), 0); filt_timerstart(kn, to); return (0); @@ -772,8 +776,10 @@ filt_timerstart(struct knote *kn, sbintime_t to) kc->next = to + sbinuptime(); kc->to = to; } + KQ_LOCK(kn->kn_kq); callout_reset_sbt_on(&kc->c, kc->next, 0, filt_timerexpire, kn, PCPU_GET(cpuid), C_ABSOLUTE); + KQ_UNLOCK(kn->kn_kq); } static void @@ -826,7 +832,6 @@ filt_timertouch(struct knote *kn, struct kevent *kev, u_long type) KQ_LOCK(kq); if (kn->kn_status & KN_QUEUED) knote_dequeue(kn); - kn->kn_status &= ~KN_ACTIVE; kn->kn_data = 0; KQ_UNLOCK(kq); @@ -1843,6 +1848,7 @@ kqueue_scan(struct kqueue *kq, int maxevents, struct kevent_copyops *k_ops, } TAILQ_INSERT_TAIL(&kq->kq_head, marker, kn_tqe); + marker->kn_status |= KN_QUEUED; influx = 0; while (count) { KQ_OWNED(kq); @@ -1861,8 +1867,10 @@ kqueue_scan(struct kqueue *kq, int maxevents, struct kevent_copyops *k_ops, } TAILQ_REMOVE(&kq->kq_head, kn, kn_tqe); + KASSERT((kn->kn_status & KN_QUEUED) != 0, + ("knote %p not queued", kn)); + kn->kn_status &= ~KN_QUEUED; if ((kn->kn_status & KN_DISABLED) == KN_DISABLED) { - kn->kn_status &= ~KN_QUEUED; kq->kq_count--; continue; } @@ -1876,7 +1884,6 @@ kqueue_scan(struct kqueue *kq, int maxevents, struct kevent_copyops *k_ops, ("knote %p is unexpectedly in flux", kn)); if ((kn->kn_flags & EV_DROP) == EV_DROP) { - kn->kn_status &= ~KN_QUEUED; kn_enter_flux(kn); kq->kq_count--; KQ_UNLOCK(kq); @@ -1888,7 +1895,6 @@ kqueue_scan(struct kqueue *kq, int maxevents, struct kevent_copyops *k_ops, KQ_LOCK(kq); continue; } else if ((kn->kn_flags & EV_ONESHOT) == EV_ONESHOT) { - kn->kn_status &= ~KN_QUEUED; kn_enter_flux(kn); kq->kq_count--; KQ_UNLOCK(kq); @@ -1910,8 +1916,8 @@ kqueue_scan(struct kqueue *kq, int maxevents, struct kevent_copyops *k_ops, if (kn->kn_fop->f_event(kn, 0) == 0) { KQ_LOCK(kq); KQ_GLOBAL_UNLOCK(&kq_global, haskqglobal); - kn->kn_status &= ~(KN_QUEUED | KN_ACTIVE | - KN_SCAN); + /* XXXMJ races with EVFILT_TIMER activation. */ + kn->kn_status &= ~(KN_ACTIVE | KN_SCAN); kn_leave_flux(kn); kq->kq_count--; kn_list_unlock(knl); @@ -1937,11 +1943,13 @@ kqueue_scan(struct kqueue *kq, int maxevents, struct kevent_copyops *k_ops, } if (kn->kn_flags & EV_DISPATCH) kn->kn_status |= KN_DISABLED; - kn->kn_status &= ~(KN_QUEUED | KN_ACTIVE); + kn->kn_status &= ~KN_ACTIVE; kq->kq_count--; - } else + } else if ((kn->kn_status & KN_QUEUED) == 0) { + kn->kn_status |= KN_QUEUED; TAILQ_INSERT_TAIL(&kq->kq_head, kn, kn_tqe); - + } + kn->kn_status &= ~KN_SCAN; kn_leave_flux(kn); kn_list_unlock(knl); From owner-freebsd-current@freebsd.org Fri Nov 16 04:57:44 2018 Return-Path: Delivered-To: freebsd-current@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 1ECA1112648B; Fri, 16 Nov 2018 04:57:44 +0000 (UTC) (envelope-from araujobsdport@gmail.com) Received: from mail-lf1-x143.google.com (mail-lf1-x143.google.com [IPv6:2a00:1450:4864:20::143]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 0847170B29; Fri, 16 Nov 2018 04:57:43 +0000 (UTC) (envelope-from araujobsdport@gmail.com) Received: by mail-lf1-x143.google.com with SMTP id b20so15696799lfa.12; Thu, 15 Nov 2018 20:57:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:reply-to:from:date:message-id :subject:to:cc; bh=IQ/QAVjEbg3I3iT6bFLTy59zkAbgw+3XhD/tRo4X64Q=; b=DvPBHKLoywwtKZUMMkbznC9ke6O+ApmInMKQnvIsSu/gDnZ6xzTHb3m9AvjBvxBrMM 9NoUL6Fd8cfoldR7pxpLI41ZYPILploPgyoD8OJx7glJ4XvZu/cBixVgiaD1+ioFoPkZ f5gTbw97YJaS3f6AST8B3ZtjUhTLOO+lV173siWTpO8dWcK4VOlP5fmAa5LxS1Kx+yC+ l9OhqeR3WD9fYkpLo6LjkmQi+Up52Ezerh4184JoRBDJ7/PLAX0zdUnVup4pdFr4sa1q NeABjfcIwoWVpxPr20993p7GiZQ20VJFi9sO8DphJTwPjea3nu0Oo9A3kPhUIc+NgMC2 DlYA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:reply-to :from:date:message-id:subject:to:cc; bh=IQ/QAVjEbg3I3iT6bFLTy59zkAbgw+3XhD/tRo4X64Q=; b=HUrJbrxVdEJPmdcvtYAGcZNC8SwmkPRP22fl9KE4EwpZ6p3qprnmpaIwhJnoaJnuts ciCS0oJTr8MedWvxZGni9M0s4PIvzuwLDtL1xrmgkLvkaom8BQBeiYvtf1Atkh4apGu/ V5DDikbB1PrdMFm2mHZl5mjxoIHhzF3CQYo9PZZ1k8963Aosw4StIw+ccGdozOcUacDg AKpVxsh2Mjbu/9f05bXaJJRp2tJF66wnLkxVxKIU/CO44p2kVgdVnQtZJeVutOWoyewm Y31CdWAzQDBPqLohNfuhlw0dbDpu3kTR48ByNwDgqM2M5a9sdjW9IWRE+CAuz06O6oA4 23fw== X-Gm-Message-State: AGRZ1gIJ1YjVL8iuxs2MligvrIvUGDdnh9hf2sQTMx83ivGdO4nl43AC S6zHk54fbzzVev3hFM4hwfVVDsclQw3ApEhpdYU= X-Google-Smtp-Source: AJdET5cS88lGEGUGFDSCWHJPWHMf6O5S9wbuq77AzcAYDVKl9v6Oe+Ev6Ud8j3yUQVI2IKyQrWjW6u8QGzGjNLZlKGY= X-Received: by 2002:a19:2106:: with SMTP id h6mr4727256lfh.29.1542344260696; Thu, 15 Nov 2018 20:57:40 -0800 (PST) MIME-Version: 1.0 References: <1564776.xRuIxZukmv@photon.int.bluestop.org> In-Reply-To: <1564776.xRuIxZukmv@photon.int.bluestop.org> Reply-To: araujo@freebsd.org From: Marcelo Araujo Date: Fri, 16 Nov 2018 12:57:27 +0800 Message-ID: Subject: Re: UEFI GOP: screen goes blank during boot after loader is finished To: rebecca@bluestop.org Cc: freebsd-current , Kyle Evans , freebsd-virtualization@freebsd.org, "Rodney W. Grimes" , Warner Losh X-Rspamd-Queue-Id: 0847170B29 X-Spamd-Result: default: False [-2.79 / 40.00]; ARC_NA(0.00)[]; HAS_REPLYTO(0.00)[araujo@freebsd.org]; R_DKIM_ALLOW(-0.20)[gmail.com]; NEURAL_HAM_MEDIUM(-0.99)[-0.995,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; REPLYTO_DOM_NEQ_FROM_DOM(0.00)[]; NEURAL_HAM_LONG(-1.00)[-0.998,0]; RCPT_COUNT_FIVE(0.00)[6]; NEURAL_HAM_SHORT(-0.62)[-0.623,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RCVD_IN_DNSWL_NONE(0.00)[3.4.1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.5.4.1.0.0.a.2.list.dnswl.org : 127.0.5.0]; HTTP_TO_IP(1.00)[]; IP_SCORE(-0.16)[ip: (2.97), ipnet: 2a00:1450::/32(-1.87), asn: 15169(-1.82), country: US(-0.10)]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; RCVD_COUNT_TWO(0.00)[2] X-Rspamd-Server: mx1.freebsd.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Nov 2018 04:57:44 -0000 Hi, I have the same issue on FreeBSD-HEAD as host and with FreeBSD-HEAD as guest. Em sex, 16 de nov de 2018 =C3=A0s 03:10, Rebecca Cran via freebsd-virtualiz= ation escreveu: > On Wednesday, 14 November 2018 19:56:56 MST Warner Losh wrote: > > > What is the ConOut evifar look like? We set serial when the UEFI env sa= ys > > to do so. > > Booting with: > > sudo bhyve -A -P -c 2 -H -m 4G -s 0:0,hostbridge -s 31:0,lpc -s 2,ahci- > cd,FreeBSD-12.0-BETA4-amd64-disc1.iso -s > 29,fbuf,tcp=3D0.0.0.0:5900,w=3D800,h=3D600,wait -l > bootrom,/usr/local/share/uefi- > firmware/BHYVE_UEFI.fd -u vm5 > > dh in the shell shows: > > 7D: ConsoleOut SimpleTextOut GraphicsOutput(GraphicsOutput) > PCIIO DevicePath(PciRoot (0x0)/Pci(0x1D,0x0)) > > 84: StdErr ConsoleOut ConsoleIn SimpleTextOut SimpleTextInEx SimpleTextIn > DevicePath(t(115200,8,N,1)/VenVt100Plus()) > > 89: SimpleTextOut SimpleTextInEx SimpleTextIn > DevicePath(Uart(115200,8,N,1)/ > VenPcAnsi()) > > -- > Rebecca > > > _______________________________________________ > freebsd-virtualization@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization > To unsubscribe, send any mail to " > freebsd-virtualization-unsubscribe@freebsd.org" > --=20 --=20 Marcelo Araujo (__)araujo@FreeBSD.org \\\'',)http://www.FreeBSD.org \/ \ ^ Power To Server. .\. /_) From owner-freebsd-current@freebsd.org Fri Nov 16 05:01:44 2018 Return-Path: Delivered-To: freebsd-current@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 BD08111269BE for ; Fri, 16 Nov 2018 05:01:44 +0000 (UTC) (envelope-from rebecca@bluestop.org) Received: from muon.bluestop.org (muon.bluestop.org [96.73.9.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E7E2570E34; Fri, 16 Nov 2018 05:01:43 +0000 (UTC) (envelope-from rebecca@bluestop.org) Received: from muon.bluestop.org (localhost [127.0.0.1]) by muon.bluestop.org (Postfix) with ESMTP id 0B494D0785; Thu, 15 Nov 2018 22:02:21 -0700 (MST) Received: from muon.bluestop.org ([127.0.0.1]) by muon.bluestop.org (muon.bluestop.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id WxabTSCEacLS; Thu, 15 Nov 2018 22:02:20 -0700 (MST) Received: from photon.int.bluestop.org (gw.bluestop.org [96.73.9.3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by muon.bluestop.org (Postfix) with ESMTPSA; Thu, 15 Nov 2018 22:02:20 -0700 (MST) From: Rebecca Cran To: freebsd-current@freebsd.org Cc: Stefan Ehmann , cem@freebsd.org Subject: Re: No amdtemp sysctls, acpi errors, AMD Ryzen 5 2400G Date: Thu, 15 Nov 2018 22:01:36 -0700 Message-ID: <39547767.F463k0L8Pm@photon.int.bluestop.org> In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Rspamd-Queue-Id: E7E2570E34 X-Spamd-Result: default: False [-6.63 / 40.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[bluestop.org]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; R_SPF_ALLOW(-0.20)[+mx]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; IP_SCORE(-3.14)[ip: (-9.80), ipnet: 96.64.0.0/11(-4.88), asn: 7922(-0.94), country: US(-0.10)]; TO_DN_SOME(0.00)[]; RCVD_COUNT_THREE(0.00)[4]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[bluestop.org:+]; DMARC_POLICY_ALLOW(-0.50)[bluestop.org,quarantine]; MX_GOOD(-0.01)[mail.bluestop.org]; NEURAL_HAM_SHORT(-0.98)[-0.977,0]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; CTE_CASE(0.50)[]; ASN(0.00)[asn:7922, ipnet:96.64.0.0/11, country:US]; FREEMAIL_CC(0.00)[gmx.net] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Nov 2018 05:01:44 -0000 On Wednesday, 14 November 2018 12:41:53 MST Stefan Ehmann wrote: > On 11/14/18 5:41 AM, Conrad Meyer wrote: > > Ok I'll go ahead and commit that too. > > Applied to 12.0-BETA, Ryzen 7 2700 values are now in the 30-55C range. > Looks reasonable. Much better here, too: dev.amdtemp.3.core0.sensor0: 38.1C dev.amdtemp.3.sensor_offset: -27 dev.amdtemp.2.core0.sensor0: 39.0C dev.amdtemp.2.sensor_offset: -27 dev.amdtemp.1.core0.sensor0: 37.5C dev.amdtemp.1.sensor_offset: -27 dev.amdtemp.0.core0.sensor0: 40.1C dev.amdtemp.0.sensor_offset: -27 Thanks! Rebecca From owner-freebsd-current@freebsd.org Fri Nov 16 05:03:56 2018 Return-Path: Delivered-To: freebsd-current@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 E7BC51126B3B for ; Fri, 16 Nov 2018 05:03:55 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-it1-x143.google.com (mail-it1-x143.google.com [IPv6:2607:f8b0:4864:20::143]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 38BA071136 for ; Fri, 16 Nov 2018 05:03:55 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-it1-x143.google.com with SMTP id v11so32709787itj.0 for ; Thu, 15 Nov 2018 21:03:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=009dxPBWQSzPAjlNMltckJvTLPTd5q/3JSkSuLiJrJM=; b=ybPpDjIeWS4GQctEyVvqkTxK9Hx/n7JpQv86AVLkSBI8rSCvuu3P0fRBPURcvAtipv D2ONhxBMiKDdJsw+S85+y3K06TnmpgbIRon/1/TY8MRq20IngpdjVJwY+e21xBRi0HRY Q45KglOfoiIBvBuX53NfgmNSlkmNKlFSNz11vCGNUechc8dSv/CAfdAWxRM7TGpfvVqd dy+ypLw2w336fehKXcN3teR27KUz24sCZTyF6p82wB8C6LCWd3dSeLlS6fZJ+DRGHNBW SjlhIVA+2uvytZ3ZQ2MpG6M31BK9TN01Ayug2TyH85r+GrvOnNWkkrboQb2GNWQQ/xxq Bawg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=009dxPBWQSzPAjlNMltckJvTLPTd5q/3JSkSuLiJrJM=; b=QEy1L6h3RJ/geUdI5QJyx6tEScVFM3nnDxBcrSTYP9S5Cc1ccZFV6SkBppPkV65rip k7/ygD8y+VPx+nHMIg356VSoU8UjJkSkgMwF4jODtol5OlqaHtIR0C9E0fGsrUafd9id uInz1wSvEy4Cs0b9/lfeU+3ozn0+dyANEPOySEGdOdfa5ttFBaOfNjqm2uPzkGRU9RL0 mYHxlyGrcDfcjLFCn2ZpPQPb3Z/VboqglZk8N7Um5OQt9CSIBDg/dIsNViDxZX9DPW3A FE2RAqDpWPnRsfMO0icyP2T5LnN4xy/nGR21FuX4rgmjzm/lwdVmdXScayPqtMU2LqPl p/kQ== X-Gm-Message-State: AGRZ1gJ2UMyAtPeeOAyh34EapVjPPMFIu1G7wj2BU8sSZWL/yl5d/iFl 4iBwg3Nkf+vBcCc7qYVS03zDEuSfW/i+opNf9ijgJw== X-Google-Smtp-Source: AJdET5fV7tDmI5/p7XpJbAshi5Xp5hxba0MCoj7dg1uTj79VLkvBvPVtGKeEyWIXft/gY59ubcEVpvZ5d6EoNMWrqWM= X-Received: by 2002:a24:5f94:: with SMTP id r142-v6mr8904888itb.171.1542344634330; Thu, 15 Nov 2018 21:03:54 -0800 (PST) MIME-Version: 1.0 References: <1564776.xRuIxZukmv@photon.int.bluestop.org> In-Reply-To: <1564776.xRuIxZukmv@photon.int.bluestop.org> From: Warner Losh Date: Thu, 15 Nov 2018 22:03:42 -0700 Message-ID: Subject: Re: UEFI GOP: screen goes blank during boot after loader is finished To: Rebecca Cran Cc: FreeBSD Current , Kyle Evans , Mr Dandy , "Rodney W. Grimes" , freebsd-virtualization@freebsd.org X-Rspamd-Queue-Id: 38BA071136 X-Spamd-Result: default: False [-1.44 / 40.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.98)[-0.982,0]; R_DKIM_ALLOW(-0.20)[bsdimp-com.20150623.gappssmtp.com]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; NEURAL_HAM_SHORT(-0.87)[-0.872,0]; NEURAL_HAM_LONG(-0.98)[-0.985,0]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; DMARC_NA(0.00)[bsdimp.com]; URI_COUNT_ODD(1.00)[1]; RCPT_COUNT_FIVE(0.00)[6]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[bsdimp-com.20150623.gappssmtp.com:+]; MX_GOOD(-0.01)[cached: ALT1.aspmx.l.google.com]; RCVD_IN_DNSWL_NONE(0.00)[3.4.1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; HTTP_TO_IP(1.00)[]; R_SPF_NA(0.00)[]; FORGED_SENDER(0.30)[imp@bsdimp.com,wlosh@bsdimp.com]; RCVD_TLS_LAST(0.00)[]; IP_SCORE(-0.59)[ip: (1.66), ipnet: 2607:f8b0::/32(-2.68), asn: 15169(-1.82), country: US(-0.10)]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; FROM_NEQ_ENVFROM(0.00)[imp@bsdimp.com,wlosh@bsdimp.com]; RCVD_COUNT_TWO(0.00)[2] X-Rspamd-Server: mx1.freebsd.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Nov 2018 05:03:56 -0000 On Thu, Nov 15, 2018 at 12:10 PM Rebecca Cran wrote: > On Wednesday, 14 November 2018 19:56:56 MST Warner Losh wrote: > > > What is the ConOut evifar look like? We set serial when the UEFI env says > > to do so. > > Booting with: > > sudo bhyve -A -P -c 2 -H -m 4G -s 0:0,hostbridge -s 31:0,lpc -s 2,ahci- > cd,FreeBSD-12.0-BETA4-amd64-disc1.iso -s > 29,fbuf,tcp=0.0.0.0:5900,w=800,h=600,wait -l > bootrom,/usr/local/share/uefi- > firmware/BHYVE_UEFI.fd -u vm5 > > dh in the shell shows: > > 7D: ConsoleOut SimpleTextOut GraphicsOutput(GraphicsOutput) > PCIIO DevicePath(PciRoot (0x0)/Pci(0x1D,0x0)) > > 84: StdErr ConsoleOut ConsoleIn SimpleTextOut SimpleTextInEx SimpleTextIn > DevicePath(t(115200,8,N,1)/VenVt100Plus()) > > 89: SimpleTextOut SimpleTextInEx SimpleTextIn > DevicePath(Uart(115200,8,N,1)/ > VenPcAnsi()) > If I read that right, then the ConOut variable first has the video device listed, then the serial port (this wasn't the form I expected to see it in, so I'm not sure thats the case). In either event, we should get console output on both the serial and the video at least until the /etc/rc script starts... Warner From owner-freebsd-current@freebsd.org Fri Nov 16 08:52:11 2018 Return-Path: Delivered-To: freebsd-current@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 EEDDC112BD94 for ; Fri, 16 Nov 2018 08:52:10 +0000 (UTC) (envelope-from johalun0@gmail.com) Received: from mail-wm1-x336.google.com (mail-wm1-x336.google.com [IPv6:2a00:1450:4864:20::336]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 682A176D9D; Fri, 16 Nov 2018 08:52:09 +0000 (UTC) (envelope-from johalun0@gmail.com) Received: by mail-wm1-x336.google.com with SMTP id f10-v6so21197817wme.3; Fri, 16 Nov 2018 00:52:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to:cc; bh=R2UKmJNV5UFVYVdy0lKiGox/XoGOoeeuVUbXWIQ7iQc=; b=tg0ApKCGVjuNs+SH9We6UzLSp9Ftu3/Tjpc5VZ86YVwSYyR2QULUrULAmveHNpaOKD Iic7l73F1gSlrWOndrMxEaca5jG+TaJqbtKofwxVuxvxivMlbfqf0tehEMStx2xas/T2 +NVeapIY0R/MRL1/XurnF67GSM1d34CSivxLcetxNEzQ9G8le9YSdiPRhMSNczsancG2 c+MeSsly3BBxkAA3vLSD7TXd8EJGo7GzKNQvzisHR2J+tRH1FYBArOk5dnlDevSYWU6Y wKTsTsl8kx2wcI25Qz2iPs0JbdEHkGEUJdo0cwg0wz482cQLHM/Y2r0hRV6s4M98y2MY dzRg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; bh=R2UKmJNV5UFVYVdy0lKiGox/XoGOoeeuVUbXWIQ7iQc=; b=Dg421bbVGklqKYDNFSrauHFDrhtogOiWuxNJMOpqzCOBjjJkfu3jYae8Eik3KHZtli j4lKUJW3leceEyo2GE6HVYOrdRUo/1slLN1J/Nc48xv+d7b3avtMprT6GF9tizYcO0ue tFArlP5OXxG9hNpXEuZm0iIGP5jfPkoJolwHnZiBJxS+SlgTzhkAEOq9E/Pd1/huhuhm SwispfmqBRdJ7RFL0TqgzW3ixBD7KMgLM19mVcAh9qpNTmLEqxvB74cC3zQmJgg1DFDO Ft7mLvU1NL1jdIamWLZFYsSFfcAMMfXrxmU/n18F0Y4hd5hRFz2Ahh5r1ISWgugOqWaT LPXA== X-Gm-Message-State: AGRZ1gJMAIEgstaNnuiIs7/R9rjZNnXkrj3U2CMHkgxqoihPj8QcR+/J JuGo1iWs9/u3ctj+x01l+qWkI4zYDReKdOVhQhe4O9/T X-Google-Smtp-Source: AJdET5fY9WM3TFW9hc+BNMcwZhfKNaSukjXSRtEXIHlVDQNruI65bqeIE31YiLu6EeP2eT0TNQ5/UI8o33tnILY9WSM= X-Received: by 2002:a1c:c40e:: with SMTP id u14-v6mr1835981wmf.150.1542358327393; Fri, 16 Nov 2018 00:52:07 -0800 (PST) MIME-Version: 1.0 From: Johannes Lundberg Date: Fri, 16 Nov 2018 08:51:31 +0000 Message-ID: Subject: axp288 on Intel HW To: freebsd-current Cc: manu@freebsd.org X-Rspamd-Queue-Id: 682A176D9D X-Spamd-Result: default: False [-4.37 / 40.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; IP_SCORE(-0.75)[ipnet: 2a00:1450::/32(-1.87), asn: 15169(-1.81), country: US(-0.10)]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[6.3.3.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.5.4.1.0.0.a.2.list.dnswl.org : 127.0.5.0]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; NEURAL_HAM_SHORT(-0.61)[-0.609,0]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; RCVD_COUNT_TWO(0.00)[2] X-Rspamd-Server: mx1.freebsd.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Nov 2018 08:52:11 -0000 Hi I have a Lenovo Ideapad Miix 310 that has a Intel CherryTrail CPU and it runs FreeBSD quite nicely (with accelerated graphics). What I'm missing is battery life status.. I can get this information using smb (for some reason i2c just returns error sending start condition) smbmsg -f /dev/smb6 -s 0x68 -c 0xB9 -i 1 -F %d In emergency this works but it would be nice to have a kernel driver for it. I found the axp2xx driver for Allwinner in the tree. Would it be possible to share this with amd64 with not too much effort? If not, all I'm really interested in is battery status so I might just hack together a simple driver for that report values to hw.acpi.battery (because I don't think there is a sysctl for battery info that aggregates different sources?) Datasheet for the pmic can be found here http://download.bbs.ickey.cn/201707/cfe88ee7ef01eed7a4586ce340165da0.pdf Cheers From owner-freebsd-current@freebsd.org Fri Nov 16 14:47:55 2018 Return-Path: Delivered-To: freebsd-current@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 F21881134A61 for ; Fri, 16 Nov 2018 14:47:54 +0000 (UTC) (envelope-from sg@efficientip.com) Received: from mail-ed1-x544.google.com (mail-ed1-x544.google.com [IPv6:2a00:1450:4864:20::544]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C892D81B7E for ; Fri, 16 Nov 2018 14:47:53 +0000 (UTC) (envelope-from sg@efficientip.com) Received: by mail-ed1-x544.google.com with SMTP id d3so19291750edx.7 for ; Fri, 16 Nov 2018 06:47:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=efficientip.com; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Py80QWIm8DRpH4q0Fyy8ySd/fDXap63wnITcRabBi3M=; b=kUvME7fJQqaNjbqHIAAwdyojzGfeOaAL/49LwFecSPy3DMNxtATw+ZziQ0mVgDk5K5 ne2UGuLyEHTI511QCrbmRiyKYo8P+9SEhxwt2U66aA8yOQ0mULzKNdEZzw18uG9e8Z+f IYOPXDysk+q/EtkL1BGtCc1YCgBk2UuQShQq8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Py80QWIm8DRpH4q0Fyy8ySd/fDXap63wnITcRabBi3M=; b=TdmJ0S//yL4dWURzrJQMgTe81xA+87F5aPSnttaECTdDitK4lDXfUh9tbpHN9tdzVr BHt1nDf/fQTZ4vjflkknfNmWzV7DxqyM4Ar9BebY19FbbwgpGZubISELC106VF3eCIjs Njg22YjN6vJbGrMKszE3ylPL5cAFq29WIbNG93dTgExc8mucEyjE7r1oa6yILoDftn2m c1+aovEkFHgrvVPbmbFOWeJCaXX5LHS5KvoVkWEXHhgOObN2JEsA+ftGLP3ODooBQ4Ga NqLW8q951dkc5W9Z/et0ytlmVCOD036cpc6vSaaI7lc4n6f6y30bJgd/r/zoUi4gT17q iExQ== X-Gm-Message-State: AGRZ1gJfrOWOmzaC3/0bHCHuxv1uAGTqc3FhUIX9QaMeuChZY60S7g1e 2YxBrcLzK8IBffy+6PxDF4LTeN3K32UjB0Hb2HK/vg== X-Google-Smtp-Source: AJdET5eonWfzRpUgnuZiXTOtSdl5nEYZXO73N4e1jJWDnvWkI4WrOSckFKnNT1+xn9knyiMuygVmkGOasVTvoysosZ8= X-Received: by 2002:a17:906:64cb:: with SMTP id p11-v6mr9007842ejn.181.1542379672571; Fri, 16 Nov 2018 06:47:52 -0800 (PST) MIME-Version: 1.0 References: <20181107043503.GB30861@raichu> <20181115221019.GA2514@raichu> In-Reply-To: <20181115221019.GA2514@raichu> From: Sylvain GALLIANO Date: Fri, 16 Nov 2018 15:47:39 +0100 Message-ID: Subject: Re: Panic on kern_event.c To: markj@freebsd.org Cc: freebsd-current@freebsd.org X-Rspamd-Queue-Id: C892D81B7E X-Spamd-Result: default: False [-3.87 / 40.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.998,0]; R_DKIM_ALLOW(-0.20)[efficientip.com]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_SHORT(-0.92)[-0.924,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; TO_DN_NONE(0.00)[]; DMARC_NA(0.00)[efficientip.com]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[efficientip.com:+]; RCPT_COUNT_TWO(0.00)[2]; MIME_BASE64_TEXT(0.10)[]; RCVD_IN_DNSWL_NONE(0.00)[4.4.5.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.5.4.1.0.0.a.2.list.dnswl.org : 127.0.5.0]; R_SPF_NA(0.00)[]; MX_GOOD(-0.01)[alt1.aspmx.l.google.com,aspmx.l.google.com,aspmx5.googlemail.com,aspmx4.googlemail.com,aspmx3.googlemail.com,alt2.aspmx.l.google.com,aspmx2.googlemail.com]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; IP_SCORE(-0.74)[ip: (0.09), ipnet: 2a00:1450::/32(-1.90), asn: 15169(-1.81), country: US(-0.10)]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; RCVD_COUNT_TWO(0.00)[2] X-Rspamd-Server: mx1.freebsd.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Nov 2018 14:47:55 -0000 Le jeu. 15 nov. 2018 =C3=A0 23:10, Mark Johnston a =C3= =A9crit : > On Thu, Nov 08, 2018 at 05:05:03PM +0100, Sylvain GALLIANO wrote: > > Hi, > > > > I replaced > > << printf("XXX knote %p already in tailq status:%x kq_count:%d [%p %p= ] > > > %u\n",kn,kn->kn_status,kq->kq_count,kn->kn_tqe.tqe_next,kn->kn_tqe.tqe_pr= ev,__LINE__); > > by > > >> panic("XXX knote %p already in tailq status:%x kq_count:%d [%p %p] > > > %u\n",kn,kn->kn_status,kq->kq_count,kn->kn_tqe.tqe_next,kn->kn_tqe.tqe_pr= ev,__LINE__); > > > > Here is the stack during panic: > > panic: XXX knote 0xfffff801e1c6ddc0 already in tailq status:1 kq_count= :2 > > [0 0xfffff8000957a978] 2671 > > > > cpuid =3D 0 > > time =3D 1541688832 > > KDB: stack backtrace: > > db_trace_self_wrapper() at db_trace_self_wrapper+0x2c/frame > > 0xfffffe0412258fd0 > > kdb_backtrace() at kdb_backtrace+0x53/frame 0xfffffe04122590a0 > > vpanic() at vpanic+0x277/frame 0xfffffe0412259170 > > doadump() at doadump/frame 0xfffffe04122591d0 > > knote_enqueue() at knote_enqueue+0xf2/frame 0xfffffe0412259210 > > kqueue_register() at kqueue_register+0xaed/frame 0xfffffe0412259340 > > kqueue_kevent() at kqueue_kevent+0x13c/frame 0xfffffe04122595b0 > > kern_kevent_fp() at kern_kevent_fp+0x66/frame 0xfffffe0412259610 > > kern_kevent() at kern_kevent+0x17f/frame 0xfffffe0412259700 > > kern_kevent_generic() at kern_kevent_generic+0xfe/frame > 0xfffffe0412259780 > > sys_kevent() at sys_kevent+0xaa/frame 0xfffffe0412259810 > > syscallenter() at syscallenter+0x4e3/frame 0xfffffe04122598f0 > > amd64_syscall() at amd64_syscall+0x1b/frame 0xfffffe04122599b0 > > fast_syscall_common() at fast_syscall_common+0x101/frame > 0xfffffe04122599b0 > > --- syscall (560, FreeBSD ELF64, sys_kevent), rip =3D 0x406e3bfa, rsp = =3D > > 0x7fffdf7e9db8, rbp =3D 0x7fffdf7e9e00 --- > > KDB: enter: panic > > > > > > you can get kernel.debug + vmcore at: > > > https://drive.google.com/drive/folders/1MbqJQm12-KOYDbb4-9uNRTnAdsNqLaIP?= usp=3Dsharing > > Could you please give the following patch a try? > > If possible, could you also ktrace one of the active syslog-ng processes > for some time, perhaps 15 seconds, and share the kdump? I have been > trying to reproduce the problem without any luck. > > diff --git a/sys/kern/kern_event.c b/sys/kern/kern_event.c > index d9c670e29d60..9ef7c53361bf 100644 > --- a/sys/kern/kern_event.c > +++ b/sys/kern/kern_event.c > @@ -224,6 +224,7 @@ SYSCTL_UINT(_kern, OID_AUTO, kq_calloutmax, CTLFLAG_R= W, > #define KQ_LOCK(kq) do { \ > mtx_lock(&(kq)->kq_lock); \ > } while (0) > +#define KQ_LOCKPTR(kq) (&(kq)->kq_lock) > #define KQ_FLUX_WAKEUP(kq) do { > \ > if (((kq)->kq_state & KQ_FLUXWAIT) =3D=3D KQ_FLUXWAIT) { = \ > (kq)->kq_state &=3D ~KQ_FLUXWAIT; = \ > @@ -687,8 +688,11 @@ filt_timerexpire(void *knx) > struct kq_timer_cb_data *kc; > > kn =3D knx; > + KQ_OWNED(kn->kn_kq); > kn->kn_data++; > - KNOTE_ACTIVATE(kn, 0); /* XXX - handle locking */ > + > + if (!kn_in_flux(kn) || (kn->kn_status & KN_SCAN) !=3D 0) > + KNOTE_ACTIVATE(kn, 1); > > if ((kn->kn_flags & EV_ONESHOT) !=3D 0) > return; > @@ -753,7 +757,7 @@ filt_timerattach(struct knote *kn) > kn->kn_flags |=3D EV_CLEAR; /* automatically set */ > kn->kn_status &=3D ~KN_DETACHED; /* knlist_add clears it= */ > kn->kn_ptr.p_v =3D kc =3D malloc(sizeof(*kc), M_KQUEUE, M_WAITOK)= ; > - callout_init(&kc->c, 1); > + callout_init_mtx(&kc->c, KQ_LOCKPTR(kn->kn_kq), 0); > filt_timerstart(kn, to); > > return (0); > @@ -772,8 +776,10 @@ filt_timerstart(struct knote *kn, sbintime_t to) > kc->next =3D to + sbinuptime(); > kc->to =3D to; > } > + KQ_LOCK(kn->kn_kq); > callout_reset_sbt_on(&kc->c, kc->next, 0, filt_timerexpire, kn, > PCPU_GET(cpuid), C_ABSOLUTE); > + KQ_UNLOCK(kn->kn_kq); > } > > static void > @@ -826,7 +832,6 @@ filt_timertouch(struct knote *kn, struct kevent *kev, > u_long type) > KQ_LOCK(kq); > if (kn->kn_status & KN_QUEUED) > knote_dequeue(kn); > - > kn->kn_status &=3D ~KN_ACTIVE; > kn->kn_data =3D 0; > KQ_UNLOCK(kq); > @@ -1843,6 +1848,7 @@ kqueue_scan(struct kqueue *kq, int maxevents, struc= t > kevent_copyops *k_ops, > } > > TAILQ_INSERT_TAIL(&kq->kq_head, marker, kn_tqe); > + marker->kn_status |=3D KN_QUEUED; > influx =3D 0; > while (count) { > KQ_OWNED(kq); > @@ -1861,8 +1867,10 @@ kqueue_scan(struct kqueue *kq, int maxevents, > struct kevent_copyops *k_ops, > } > > TAILQ_REMOVE(&kq->kq_head, kn, kn_tqe); > + KASSERT((kn->kn_status & KN_QUEUED) !=3D 0, > + ("knote %p not queued", kn)); > + kn->kn_status &=3D ~KN_QUEUED; > if ((kn->kn_status & KN_DISABLED) =3D=3D KN_DISABLED) { > - kn->kn_status &=3D ~KN_QUEUED; > kq->kq_count--; > continue; > } > @@ -1876,7 +1884,6 @@ kqueue_scan(struct kqueue *kq, int maxevents, struc= t > kevent_copyops *k_ops, > ("knote %p is unexpectedly in flux", kn)); > > if ((kn->kn_flags & EV_DROP) =3D=3D EV_DROP) { > - kn->kn_status &=3D ~KN_QUEUED; > kn_enter_flux(kn); > kq->kq_count--; > KQ_UNLOCK(kq); > @@ -1888,7 +1895,6 @@ kqueue_scan(struct kqueue *kq, int maxevents, struc= t > kevent_copyops *k_ops, > KQ_LOCK(kq); > continue; > } else if ((kn->kn_flags & EV_ONESHOT) =3D=3D EV_ONESHOT)= { > - kn->kn_status &=3D ~KN_QUEUED; > kn_enter_flux(kn); > kq->kq_count--; > KQ_UNLOCK(kq); > @@ -1910,8 +1916,8 @@ kqueue_scan(struct kqueue *kq, int maxevents, struc= t > kevent_copyops *k_ops, > if (kn->kn_fop->f_event(kn, 0) =3D=3D 0) { > KQ_LOCK(kq); > KQ_GLOBAL_UNLOCK(&kq_global, haskqglobal)= ; > - kn->kn_status &=3D ~(KN_QUEUED | KN_ACTIV= E | > - KN_SCAN); > + /* XXXMJ races with EVFILT_TIMER > activation. */ > + kn->kn_status &=3D ~(KN_ACTIVE | KN_SCAN)= ; > kn_leave_flux(kn); > kq->kq_count--; > kn_list_unlock(knl); > @@ -1937,11 +1943,13 @@ kqueue_scan(struct kqueue *kq, int maxevents, > struct kevent_copyops *k_ops, > } > if (kn->kn_flags & EV_DISPATCH) > kn->kn_status |=3D KN_DISABLED; > - kn->kn_status &=3D ~(KN_QUEUED | KN_ACTIV= E); > + kn->kn_status &=3D ~KN_ACTIVE; > kq->kq_count--; > - } else > + } else if ((kn->kn_status & KN_QUEUED) =3D=3D 0) = { > + kn->kn_status |=3D KN_QUEUED; > TAILQ_INSERT_TAIL(&kq->kq_head, kn, > kn_tqe); > - > + } > + > kn->kn_status &=3D ~KN_SCAN; > kn_leave_flux(kn); > kn_list_unlock(knl); > Unfortunately patched kernel is not stable: - some processes run at 100% CPU (STOP state) and cannot be killed - sometime the system completely freeze (need a hard reboot) I cannot reproduce the issue as soon as syslog-ng is under ktrace (even after 10GB of ktrace file) When I stop ktrace, issue come back after few minutes. From owner-freebsd-current@freebsd.org Fri Nov 16 15:42:15 2018 Return-Path: Delivered-To: freebsd-current@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 BB7241135BB7 for ; Fri, 16 Nov 2018 15:42:14 +0000 (UTC) (envelope-from markjdb@gmail.com) Received: from mail-io1-xd43.google.com (mail-io1-xd43.google.com [IPv6:2607:f8b0:4864:20::d43]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 0598183E87 for ; Fri, 16 Nov 2018 15:42:14 +0000 (UTC) (envelope-from markjdb@gmail.com) Received: by mail-io1-xd43.google.com with SMTP id f12-v6so17397658iog.0 for ; Fri, 16 Nov 2018 07:42:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=tJr6AJ82cNWEoDXdb50TBjkmu9z3xoD8wAO+Xurci1k=; b=Tnoxiou7stCI9weAVLdxpbugj7esPBCN0jDAnrOcoQVp8yGX2gi1rz4cHFV9KiAJpC MAfl1keXQAtNhvIQ50oUQKlIhgUYFrRAhxFPABE9RZii08SBlbh9O9ptlI9RYXsu5aPZ S05Q8B5YLFit7aeYjCVTlcjmtQRXrQYLU0wo7Shx8Kk/Sh1FBDnziLkQ+u7fNVZDAYdT W3cfKKhSEBopKZQCE37pcuTHTSOwggEQ6WldJtTRHef9QFMrx7T3G6XOaLRTEZBtNQYF 1Xx5OicfHcGr3bFAH5lm/l87slwFmzRLAZx/y24v5SMS+KNXUR6wm4seLb9oiBKAQizH r/gw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=tJr6AJ82cNWEoDXdb50TBjkmu9z3xoD8wAO+Xurci1k=; b=BJN1MfJdXkbFQHJ6Ib/W5jA+VDSil8jIlSMwrbHwRfUSqw/+w5AoiRBZ/QY7sWkMth 4A0sFtcjibapeIVP15r5SNNZhLsfWRNW5eRGDT+joBS8UMPVwnoxaglLxQWs5LKq+1La Yrhg3zfdUfgpQtf+13WayxABEYCWRwZZATuo2fXin6GrSkj/yc4StJThJp+XlN6KdqVf wPax8IarYxMGlnaXSi2pvNnWedsw+S2n4bKDuH5dHwl5Y/4LYQ0GRg7My9qG4ECUoPHW QV6eEJW3JpFCbAGz8PeJzDiC1P1gPKRAviHH752Bsr2iZCX1mK8NfgVmTYBVvPHjCpbb m5QQ== X-Gm-Message-State: AGRZ1gKxHy2WKUNeFa1lHqhm9PcePwoP6REBqEM3QTJvxl81AiIGK00a Cof2jAle1UgCjx4vyJ3kroS2VPWX X-Google-Smtp-Source: AJdET5dPi2sC4iLv/H1b35xb4tMKF1qPpauHIwyA5b3+8DnXcqYc5xE2c3NrogaF2+7ugeHLirFOuw== X-Received: by 2002:a6b:c410:: with SMTP id y16-v6mr9657756ioa.77.1542382933140; Fri, 16 Nov 2018 07:42:13 -0800 (PST) Received: from raichu (toroon0560w-lp130-07-64-229-95-98.dsl.bell.ca. [64.229.95.98]) by smtp.gmail.com with ESMTPSA id s13sm192877ioj.71.2018.11.16.07.42.12 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 16 Nov 2018 07:42:12 -0800 (PST) Sender: Mark Johnston Date: Fri, 16 Nov 2018 10:42:10 -0500 From: Mark Johnston To: Sylvain GALLIANO Cc: freebsd-current@freebsd.org Subject: Re: Panic on kern_event.c Message-ID: <20181116154210.GB17379@raichu> References: <20181107043503.GB30861@raichu> <20181115221019.GA2514@raichu> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) X-Rspamd-Queue-Id: 0598183E87 X-Spamd-Result: default: False [-3.30 / 40.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[gmail.com]; NEURAL_HAM_MEDIUM(-1.00)[-0.998,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; DMARC_NA(0.00)[freebsd.org]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; RCVD_IN_DNSWL_NONE(0.00)[3.4.d.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; NEURAL_HAM_SHORT(-0.85)[-0.846,0]; RCPT_COUNT_TWO(0.00)[2]; RCVD_TLS_LAST(0.00)[]; FORGED_SENDER(0.30)[markj@freebsd.org,markjdb@gmail.com]; MID_RHS_NOT_FQDN(0.50)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; FROM_NEQ_ENVFROM(0.00)[markj@freebsd.org,markjdb@gmail.com]; IP_SCORE(-0.75)[ip: (0.79), ipnet: 2607:f8b0::/32(-2.63), asn: 15169(-1.81), country: US(-0.10)] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Nov 2018 15:42:15 -0000 On Fri, Nov 16, 2018 at 03:47:39PM +0100, Sylvain GALLIANO wrote: > Le jeu. 15 nov. 2018 à 23:10, Mark Johnston a écrit : > > > On Thu, Nov 08, 2018 at 05:05:03PM +0100, Sylvain GALLIANO wrote: > > > Hi, > > > > > > I replaced > > > << printf("XXX knote %p already in tailq status:%x kq_count:%d [%p %p] > > > > > %u\n",kn,kn->kn_status,kq->kq_count,kn->kn_tqe.tqe_next,kn->kn_tqe.tqe_prev,__LINE__); > > > by > > > >> panic("XXX knote %p already in tailq status:%x kq_count:%d [%p %p] > > > > > %u\n",kn,kn->kn_status,kq->kq_count,kn->kn_tqe.tqe_next,kn->kn_tqe.tqe_prev,__LINE__); > > > > > > Here is the stack during panic: > > > panic: XXX knote 0xfffff801e1c6ddc0 already in tailq status:1 kq_count:2 > > > [0 0xfffff8000957a978] 2671 > > > > > Could you please give the following patch a try? > > > > If possible, could you also ktrace one of the active syslog-ng processes > > for some time, perhaps 15 seconds, and share the kdump? I have been > > trying to reproduce the problem without any luck. > > > Unfortunately patched kernel is not stable: > - some processes run at 100% CPU (STOP state) and cannot be killed > - sometime the system completely freeze (need a hard reboot) > > I cannot reproduce the issue as soon as syslog-ng is under ktrace (even > after 10GB of ktrace file) > When I stop ktrace, issue come back after few minutes. That's ok, I'd like to see part of the ktrace even if the problem doesn't occur; this bug appears to be a race condition, so it's not surprising that ktrace might hide it. From owner-freebsd-current@freebsd.org Fri Nov 16 16:57:09 2018 Return-Path: Delivered-To: freebsd-current@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 141C41136FF4 for ; Fri, 16 Nov 2018 16:57:09 +0000 (UTC) (envelope-from sg@efficientip.com) Received: from mail-ed1-x536.google.com (mail-ed1-x536.google.com [IPv6:2a00:1450:4864:20::536]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 342908632E for ; Fri, 16 Nov 2018 16:57:08 +0000 (UTC) (envelope-from sg@efficientip.com) Received: by mail-ed1-x536.google.com with SMTP id b34-v6so20187613ede.13 for ; Fri, 16 Nov 2018 08:57:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=efficientip.com; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=VleH+XgyZKQEOnwFbAkXn+qQt+jFH665v8jwnDEDKLs=; b=JwbBYWePBtWVc5De0qjZ6X9TbO7VGKJRau35agR8GqIOwDUdljwCUAQ9UuhL8Itgkr IlI/bfAI2Uu3YJq1Z/ZgKgPG4Z0Z7wLuQ1H1fvE8KSTROXpTX1n5zbN/ght7qwli6DU6 z5jh11OkZV5DbS5Te/jdnsu9zE6Jbb3eg0gew= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=VleH+XgyZKQEOnwFbAkXn+qQt+jFH665v8jwnDEDKLs=; b=CDDoxTAKzMVgP7cb9VTuqVX9KUUS+yBpy9Uqe2kV6teNiBGHsAJH7+foq0us9tK1jS 9bOUAR11/INAsj17lpLL0yxsjl8ywDgUw+Q99A4Ejz/yOmyzSTNV58Gn8wTxEAKFj61S r2HWKQcbH9D+h2+1NL3GiiZUZ35MnQ6cJTWjURhd/FQI23n1hyhNg16z5eBZd/07I/aH daayWzHeP7gN0pyMFZMx/a5gFekpYC2/9oPOqq68v311OvGGF4z4OWJpqEQVGVohl5BX k/FV1h0fClHvU/d5RLPy/HCj4ghSh9Fh1f0RWvR08pleitNoxyZDbyCh1vfOugWU7t0S toJA== X-Gm-Message-State: AGRZ1gL7Te1863WMBdUuWQqpR6kldTDGCX7bHZH7mimExmZqOZbaPoXP fSrFipIuwT/R3XwLgByROeOA2vqNahsprrFzbV/pLwcdYmQ= X-Google-Smtp-Source: AJdET5f+Sm8bSJrQz/bSbE6f/ZjGigmMqM+/gwP1DlGffONtJ440OO2olAwsd+uQ2sQybo48vCsoCtqBbAgdkclp15w= X-Received: by 2002:a17:906:3193:: with SMTP id 19-v6mr9371859ejy.134.1542387427021; Fri, 16 Nov 2018 08:57:07 -0800 (PST) MIME-Version: 1.0 References: <20181107043503.GB30861@raichu> <20181115221019.GA2514@raichu> <20181116154210.GB17379@raichu> In-Reply-To: <20181116154210.GB17379@raichu> From: Sylvain GALLIANO Date: Fri, 16 Nov 2018 17:56:54 +0100 Message-ID: Subject: Re: Panic on kern_event.c To: markj@freebsd.org Cc: freebsd-current@freebsd.org X-Rspamd-Queue-Id: 342908632E X-Spamd-Result: default: False [-5.65 / 40.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[efficientip.com]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; TO_DN_NONE(0.00)[]; DMARC_NA(0.00)[efficientip.com]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MX_GOOD(-0.01)[cached: alt1.aspmx.l.google.com]; DKIM_TRACE(0.00)[efficientip.com:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[6.3.5.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.5.4.1.0.0.a.2.list.dnswl.org : 127.0.5.0]; R_SPF_NA(0.00)[]; NEURAL_HAM_SHORT(-0.96)[-0.960,0]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; IP_SCORE(-2.38)[ip: (-8.07), ipnet: 2a00:1450::/32(-1.90), asn: 15169(-1.82), country: US(-0.10)]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; RCVD_COUNT_TWO(0.00)[2] X-Rspamd-Server: mx1.freebsd.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Nov 2018 16:57:09 -0000 Le ven. 16 nov. 2018 =C3=A0 16:42, Mark Johnston a =C3= =A9crit : > On Fri, Nov 16, 2018 at 03:47:39PM +0100, Sylvain GALLIANO wrote: > > Le jeu. 15 nov. 2018 =C3=A0 23:10, Mark Johnston a = =C3=A9crit > : > > > > > On Thu, Nov 08, 2018 at 05:05:03PM +0100, Sylvain GALLIANO wrote: > > > > Hi, > > > > > > > > I replaced > > > > << printf("XXX knote %p already in tailq status:%x kq_count:%d [%= p > %p] > > > > > > > > %u\n",kn,kn->kn_status,kq->kq_count,kn->kn_tqe.tqe_next,kn->kn_tqe.tqe_pr= ev,__LINE__); > > > > by > > > > >> panic("XXX knote %p already in tailq status:%x kq_count:%d [%p > %p] > > > > > > > > %u\n",kn,kn->kn_status,kq->kq_count,kn->kn_tqe.tqe_next,kn->kn_tqe.tqe_pr= ev,__LINE__); > > > > > > > > Here is the stack during panic: > > > > panic: XXX knote 0xfffff801e1c6ddc0 already in tailq status:1 > kq_count:2 > > > > [0 0xfffff8000957a978] 2671 > > > > > > > Could you please give the following patch a try? > > > > > > If possible, could you also ktrace one of the active syslog-ng > processes > > > for some time, perhaps 15 seconds, and share the kdump? I have been > > > trying to reproduce the problem without any luck. > > > > > Unfortunately patched kernel is not stable: > > - some processes run at 100% CPU (STOP state) and cannot be killed > > - sometime the system completely freeze (need a hard reboot) > > > > I cannot reproduce the issue as soon as syslog-ng is under ktrace (even > > after 10GB of ktrace file) > > When I stop ktrace, issue come back after few minutes. > > That's ok, I'd like to see part of the ktrace even if the problem > doesn't occur; this bug appears to be a race condition, so it's not > surprising that ktrace might hide it. > Lucky ktrace this time, issue occured 2 times: Nov 16 16:13:29 solid kernel: XXX knote 0xfffff8003282fb40 already in tailq status:1 kq_count:1 [0 0xfffff80032883138] 2671 Nov 16 16:14:39 solid kernel: XXX knote 0xfffff8003282f3c0 already in tailq status:1 kq_count:1 [0 0xfffff80032883138] 2671 ktrace.out.xz located in: https://drive.google.com/drive/folders/1MbqJQm12-KOYDbb4-9uNRTnAdsNqLaIP?us= p=3Dsharing From owner-freebsd-current@freebsd.org Fri Nov 16 17:00:01 2018 Return-Path: Delivered-To: freebsd-current@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 BE77411370E3; Fri, 16 Nov 2018 17:00:00 +0000 (UTC) (envelope-from yasu@utahime.org) Received: from gate.utahime.jp (ipq210.utahime.jp [183.180.29.210]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 5BFDA864AB; Fri, 16 Nov 2018 16:59:57 +0000 (UTC) (envelope-from yasu@utahime.org) Received: from eastasia.home.utahime.org (eastasia.home.utahime.org [192.168.174.1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by gate.utahime.jp (Postfix) with ESMTPS id 3C8DB17937; Sat, 17 Nov 2018 01:59:46 +0900 (JST) Received: from eastasia.home.utahime.org (localhost [127.0.0.1]) by localhost-backdoor.home.utahime.org (Postfix) with ESMTP id CBAAB3C10E; Sat, 17 Nov 2018 01:59:45 +0900 (JST) Received: from localhost (rolling.home.utahime.org [192.168.174.11]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by eastasia.home.utahime.org (Postfix) with ESMTPSA id CDD9D3C10D; Sat, 17 Nov 2018 01:59:41 +0900 (JST) Date: Sat, 17 Nov 2018 01:57:58 +0900 (JST) Message-Id: <20181117.015758.2197010425334790981.yasu@utahime.org> To: freebsd-current@freebsd.org, freebsd-stable@freebsd.org Subject: Getting value of MAKEOBJDIRPREFIX with 'make -V MAKEOBJDIRPREFIX' From: Yasuhiro KIMURA X-Mailer: Mew version 6.8 on Emacs 26.1 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV using ClamSMTP X-Rspamd-Queue-Id: 5BFDA864AB X-Spamd-Result: default: False [1.16 / 40.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+a:spf-authorized.utahime.org]; MV_CASE(0.50)[]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; DMARC_NA(0.00)[utahime.org]; NEURAL_SPAM_MEDIUM(0.56)[0.558,0]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-0.88)[-0.881,0]; RCVD_COUNT_THREE(0.00)[4]; NEURAL_SPAM_SHORT(0.07)[0.066,0]; MX_GOOD(-0.01)[mx1.utahime.org,mx2.utahime.org]; RCPT_COUNT_TWO(0.00)[2]; MID_CONTAINS_FROM(1.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:2519, ipnet:183.180.0.0/16, country:JP]; IP_SCORE(0.22)[asn: 2519(1.22), country: JP(-0.10)] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Nov 2018 17:00:01 -0000 Hello, I'm writing shell script to build and install base system from source and -V option of make(1) is used in it to get value of MAKEOBJDIRPREFIX. By default it works fine with all of head, releng/11.2, releng/12.0, stable/11 and stable/12. yasu@eastasia[2389]% svn info /usr0/freebsd/base/head Path: /usr0/freebsd/base/head Working Copy Root Path: /usr0/freebsd/base/head URL: https://svn.freebsd.org/base/head Relative URL: ^/head Repository Root: https://svn.freebsd.org/base Repository UUID: ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f Revision: 340474 Node Kind: directory Schedule: normal Last Changed Author: karels Last Changed Rev: 340474 Last Changed Date: 2018-11-16 12:42:29 +0900 (Fri, 16 Nov 2018) yasu@eastasia[2390]% make -V MAKEOBJDIRPREFIX -C /usr0/freebsd/base/head /usr/obj yasu@eastasia[2391]% svn info /usr0/freebsd/base/releng/11.2 Path: /usr0/freebsd/base/releng/11.2 Working Copy Root Path: /usr0/freebsd/base/releng/11.2 URL: https://svn.freebsd.org/base/releng/11.2 Relative URL: ^/releng/11.2 Repository Root: https://svn.freebsd.org/base Repository UUID: ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f Revision: 338990 Node Kind: directory Schedule: normal Last Changed Author: gordon Last Changed Rev: 338981 Last Changed Date: 2018-09-28 03:36:30 +0900 (Fri, 28 Sep 2018) yasu@eastasia[2392]% make -V MAKEOBJDIRPREFIX -C /usr0/freebsd/base/releng/11.2 /usr/obj yasu@eastasia[2393]% svn info /usr0/freebsd/base/releng/12.0 Path: /usr0/freebsd/base/releng/12.0 Working Copy Root Path: /usr0/freebsd/base/releng/12.0 URL: https://svn.freebsd.org/base/releng/12.0 Relative URL: ^/releng/12.0 Repository Root: https://svn.freebsd.org/base Repository UUID: ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f Revision: 340471 Node Kind: directory Schedule: normal Last Changed Author: gjb Last Changed Rev: 340470 Last Changed Date: 2018-11-16 09:00:59 +0900 (Fri, 16 Nov 2018) yasu@eastasia[2394]% make -C /usr0/freebsd/base/releng/12.0 -V MAKEOBJDIRPREFIX /usr/obj yasu@eastasia[2395]% svn info /usr0/freebsd/base/stable/11 Path: /usr0/freebsd/base/stable/11 Working Copy Root Path: /usr0/freebsd/base/stable/11 URL: https://svn.freebsd.org/base/stable/11 Relative URL: ^/stable/11 Repository Root: https://svn.freebsd.org/base Repository UUID: ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f Revision: 340473 Node Kind: directory Schedule: normal Last Changed Author: ygy Last Changed Rev: 340449 Last Changed Date: 2018-11-15 17:43:17 +0900 (Thu, 15 Nov 2018) yasu@eastasia[2396]% make -V MAKEOBJDIRPREFIX -C /usr0/freebsd/base/stable/11 /usr/obj yasu@eastasia[2397]% svn info /usr0/freebsd/base/stable/12 Path: /usr0/freebsd/base/stable/12 Working Copy Root Path: /usr0/freebsd/base/stable/12 URL: https://svn.freebsd.org/base/stable/12 Relative URL: ^/stable/12 Repository Root: https://svn.freebsd.org/base Repository UUID: ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f Revision: 340474 Node Kind: directory Schedule: normal Last Changed Author: gjb Last Changed Rev: 340471 Last Changed Date: 2018-11-16 09:03:31 +0900 (Fri, 16 Nov 2018) yasu@eastasia[2398]% make -V MAKEOBJDIRPREFIX -C /usr0/freebsd/base/stable/12 /usr/obj But if I customize value of MAKEOBJDIRPREFIX then it still works with releng/11.2 and stable/11 but doesn't with head, releng/12.0 and stable/12. yasu@eastasia[2399]% env MAKEOBJDIRPREFIX=/usr0/freebsd/base/ogj make -V MAKEOBJDIRPREFIX -C /usr0/freebsd/base/head yasu@eastasia[2400]% env MAKEOBJDIRPREFIX=/usr0/freebsd/base/ogj make -V MAKEOBJDIRPREFIX -C /usr0/freebsd/base/releng/11.2 /usr0/freebsd/base/ogj yasu@eastasia[2401]% env MAKEOBJDIRPREFIX=/usr0/freebsd/base/ogj make -V MAKEOBJDIRPREFIX -C /usr0/freebsd/base/releng/12.0 yasu@eastasia[2402]% env MAKEOBJDIRPREFIX=/usr0/freebsd/base/ogj make -V MAKEOBJDIRPREFIX -C /usr0/freebsd/base/stable/11 /usr0/freebsd/base/ogj yasu@eastasia[2403]% env MAKEOBJDIRPREFIX=/usr0/freebsd/base/ogj make -V MAKEOBJDIRPREFIX -C /usr0/freebsd/base/stable/12 yasu@eastasia[2404]% I used env(1) to customize but I got same results when I use src-env.conf. Then is this just bug? Or are there any reason that behavior is changed from 11.x to 12.x and later? Best Regards. --- Yasuhiro KIMURA From owner-freebsd-current@freebsd.org Fri Nov 16 17:11:13 2018 Return-Path: Delivered-To: freebsd-current@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 7F9F61137AC2 for ; Fri, 16 Nov 2018 17:11:13 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from mail.baldwin.cx (bigwig.baldwin.cx [IPv6:2001:470:1f11:75::1]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 1B565871D0; Fri, 16 Nov 2018 17:11:12 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from John-Baldwins-MacBook-Pro-2.local (ralph.baldwin.cx [66.234.199.215]) by mail.baldwin.cx (Postfix) with ESMTPSA id 36EB110AFD2; Fri, 16 Nov 2018 12:11:10 -0500 (EST) Subject: Re: axp288 on Intel HW To: Johannes Lundberg , freebsd-current References: Cc: manu@freebsd.org From: John Baldwin Openpgp: preference=signencrypt Autocrypt: addr=jhb@FreeBSD.org; keydata= xsDiBETQ+XcRBADMFybiq69u+fJRy/0wzqTNS8jFfWaBTs5/OfcV7wWezVmf9sgwn8TW0Dk0 c9MBl0pz+H01dA2ZSGZ5fXlmFIsee1WEzqeJzpiwd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M22TZnk3GNG45nQd4OwYK0RZVrikalmJY5Q6m 7Z164yrZgIXFdKj2t8F+x613/SJW1lIr9/bDp4U9tw0V1g3l2dFtD3p3ZrQ3hpoDtoK70ioI AjjHaIXIAcm3FGZFXy503DOA0KaTWwvOVdYCFLm3zWuSOmrX/GsEc7ovasOWwjPn878qVjbU KWwxQ4QkF4OhUV9zPtf9tDSAZ3x7QSwoKbCoRCZ/xbyTUPyQ1VvNy/mYrBcYlzHodsaqUDjH uW/CSQQYEQIACQUCRND5ggIbDAAKCRBy3lIGd+N/BCO8AJ9j1dWVQWxw/YdTbEyrRKOY8YZN wwCfafMAg8QvmOWnHx3wl8WslCaXaE8= Message-ID: <7b4b26b3-8e2a-daa3-82f4-eac83c71ade5@FreeBSD.org> Date: Fri, 16 Nov 2018 09:11:08 -0800 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.4.3 (mail.baldwin.cx); Fri, 16 Nov 2018 12:11:10 -0500 (EST) X-Virus-Scanned: clamav-milter 0.99.2 at mail.baldwin.cx X-Virus-Status: Clean X-Rspamd-Queue-Id: 1B565871D0 X-Spamd-Result: default: False [-106.74 / 40.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; ALLOW_DOMAIN_WHITELIST(-100.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; TO_DN_SOME(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[FreeBSD.org]; R_SPF_SOFTFAIL(0.00)[~all]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MX_GOOD(-0.01)[cached: mx1.FreeBSD.org]; NEURAL_HAM_SHORT(-1.00)[-0.999,0]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; IP_SCORE(-3.63)[ip: (-9.91), ipnet: 2001:470::/32(-4.54), asn: 6939(-3.58), country: US(-0.10)]; ASN(0.00)[asn:6939, ipnet:2001:470::/32, country:US]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Nov 2018 17:11:13 -0000 On 11/16/18 12:51 AM, Johannes Lundberg wrote: > Hi > > I have a Lenovo Ideapad Miix 310 that has a Intel CherryTrail CPU and it > runs FreeBSD quite nicely (with accelerated graphics). What I'm missing is > battery life status.. > > I can get this information using smb (for some reason i2c just returns > error sending start condition) > smbmsg -f /dev/smb6 -s 0x68 -c 0xB9 -i 1 -F %d > > In emergency this works but it would be nice to have a kernel driver for > it. > > I found the axp2xx driver for Allwinner in the tree. Would it be possible > to share this with amd64 with not too much effort? > > If not, all I'm really interested in is battery status so I might just hack > together a simple driver for that report values to hw.acpi.battery (because > I don't think there is a sysctl for battery info that aggregates different > sources?) > > Datasheet for the pmic can be found here > http://download.bbs.ickey.cn/201707/cfe88ee7ef01eed7a4586ce340165da0.pdf Have you looked to see why ACPI isn't reporting battery status? Maybe we need to be invoking some specific method like DSM or OSC before your battery devices work? Maybe your battery devices don't have a _STA method and you need the change in https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227191? -- John Baldwin                                                                              From owner-freebsd-current@freebsd.org Fri Nov 16 22:29:46 2018 Return-Path: Delivered-To: freebsd-current@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 22AF711065C5 for ; Fri, 16 Nov 2018 22:29:46 +0000 (UTC) (envelope-from johalun0@gmail.com) Received: from mail-wr1-x434.google.com (mail-wr1-x434.google.com [IPv6:2a00:1450:4864:20::434]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 42DC56C3A2; Fri, 16 Nov 2018 22:29:44 +0000 (UTC) (envelope-from johalun0@gmail.com) Received: by mail-wr1-x434.google.com with SMTP id e3-v6so26380171wrs.5; Fri, 16 Nov 2018 14:29:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=ZQcFWSYlE+1D9BWVyAXbxw+pwVnr57sgCu5ZkyvbByc=; b=SUOcXNC+XNtKb675eH5btVPMn8dPVFkKEg6b71S+aNOn7xnnFnUXdBARYKBGhqp4TA R8tPcSbASuaNlgX3DK2eC7XbcIUr+mz+0CP2av5HDNlWDh6hxuG16SkBvxhAP6nj4Ce6 ZO9uZIU3IRVIgCVKGjyP9zWuoz3pGG4yiU8GhN5b4Zx+ZiX7uNiav0/NGPpaLob/By1d MwyJf+vwsQkd//zP4kzF3iLCn78eKeVJOHXokGSIiii5wqxaCbb3p06XQBwakBgbLY0W PFwvyd7Xspys26PWRmfdcAgzIrUHfnE/H9sdPj28kIgnuEZCFXMo8mQlM5IW0n3HlmVp 3Peg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=ZQcFWSYlE+1D9BWVyAXbxw+pwVnr57sgCu5ZkyvbByc=; b=baqa0mn7eGZSwFU5iqxeSOyLevxuL8GHnqrUtMbOVCR5lNY8juJcQg1/nB+rf4NDEn iKt76sHwvaXnf9Lq542feoNcUUzvMdQCDhXVVo16b0zgxMAUD4Cfq+0rpXU7ElJ9MJZS ok49zLRPasdrND20Mm/d6ZU+um81GjYWgk2QSDwFMkp+7S62rDtm+PIt8zfCxK2IZVXn +5CigKVOQqBXD4EUkrgMbqyb9BRjs+D5PqZznswbj8RJBqxRekmoHmlSZCQn0c69Cndq lOEWXU+M+qEF+LjB/krTioUVX4OGwqlXtzaNfkJ8VfMmAWkmC64O2Cjc5zQ8lV+EXkx8 J6fA== X-Gm-Message-State: AGRZ1gKRcOf2XIvKsrpEakkce6aXEFe/tS7VfTg9CnlYOoU/qJufOt6j 5pihQyG8wqyFk9hlAfCXQDCt1SU4ezNKCgm64uoe96Zk X-Google-Smtp-Source: AJdET5fpPH+N9hVpJQ/fOnH6DaVcUJ51tYviMs4Xub6erRQbJ34hBp2YWLz4ObpfCJQi4lIBvCvzzozlQ6X3vl62Chw= X-Received: by 2002:adf:e84e:: with SMTP id d14-v6mr10967801wrn.51.1542407382078; Fri, 16 Nov 2018 14:29:42 -0800 (PST) MIME-Version: 1.0 References: <7b4b26b3-8e2a-daa3-82f4-eac83c71ade5@FreeBSD.org> In-Reply-To: <7b4b26b3-8e2a-daa3-82f4-eac83c71ade5@FreeBSD.org> From: Johannes Lundberg Date: Fri, 16 Nov 2018 22:29:05 +0000 Message-ID: Subject: Re: axp288 on Intel HW To: jhb@freebsd.org Cc: freebsd-current , manu@freebsd.org X-Rspamd-Queue-Id: 42DC56C3A2 X-Spamd-Result: default: False [-3.61 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; R_DKIM_ALLOW(-0.20)[gmail.com]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; TO_DN_SOME(0.00)[]; URI_COUNT_ODD(1.00)[7]; IP_SCORE(-0.77)[ipnet: 2a00:1450::/32(-1.91), asn: 15169(-1.82), country: US(-0.10)]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RCVD_IN_DNSWL_NONE(0.00)[4.3.4.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.5.4.1.0.0.a.2.list.dnswl.org : 127.0.5.0]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; NEURAL_HAM_SHORT(-0.83)[-0.832,0]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; RCVD_COUNT_TWO(0.00)[2] X-Rspamd-Server: mx1.freebsd.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Nov 2018 22:29:46 -0000 On Fri, Nov 16, 2018 at 5:11 PM John Baldwin wrote: > On 11/16/18 12:51 AM, Johannes Lundberg wrote: > > Hi > > > > I have a Lenovo Ideapad Miix 310 that has a Intel CherryTrail CPU and it > > runs FreeBSD quite nicely (with accelerated graphics). What I'm missing > is > > battery life status.. > > > > I can get this information using smb (for some reason i2c just returns > > error sending start condition) > > smbmsg -f /dev/smb6 -s 0x68 -c 0xB9 -i 1 -F %d > > > > In emergency this works but it would be nice to have a kernel driver for > > it. > > > > I found the axp2xx driver for Allwinner in the tree. Would it be possible > > to share this with amd64 with not too much effort? > > > > If not, all I'm really interested in is battery status so I might just > hack > > together a simple driver for that report values to hw.acpi.battery > (because > > I don't think there is a sysctl for battery info that aggregates > different > > sources?) > > > > Datasheet for the pmic can be found here > > http://download.bbs.ickey.cn/201707/cfe88ee7ef01eed7a4586ce340165da0.pdf > > Have you looked to see why ACPI isn't reporting battery status? Maybe we > need to be invoking some specific method like DSM or OSC before your > battery > devices work? Maybe your battery devices don't have a _STA method and you > need the change in > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227191? > On Linux the axp288 driver is needed to make this happen so I haven't considered any other options. https://www.normalesup.org/~george/comp/linux_lenovo_miix3/#s_7_9 > -- > John Baldwin > > > > From owner-freebsd-current@freebsd.org Sat Nov 17 00:20:34 2018 Return-Path: Delivered-To: freebsd-current@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 1306911090C0; Sat, 17 Nov 2018 00:20:34 +0000 (UTC) (envelope-from yasu@utahime.org) Received: from gate.utahime.jp (ipq210.utahime.jp [183.180.29.210]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D0FBA70759; Sat, 17 Nov 2018 00:20:32 +0000 (UTC) (envelope-from yasu@utahime.org) Received: from eastasia.home.utahime.org (eastasia.home.utahime.org [192.168.174.1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by gate.utahime.jp (Postfix) with ESMTPS id 7C08117A18; Sat, 17 Nov 2018 09:20:27 +0900 (JST) Received: from eastasia.home.utahime.org (localhost [127.0.0.1]) by localhost-backdoor.home.utahime.org (Postfix) with ESMTP id C100B3CED5; Sat, 17 Nov 2018 09:20:18 +0900 (JST) Received: from localhost (rolling.home.utahime.org [192.168.174.11]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by eastasia.home.utahime.org (Postfix) with ESMTPSA id 56D353CED3; Sat, 17 Nov 2018 09:20:17 +0900 (JST) Date: Sat, 17 Nov 2018 09:18:53 +0900 (JST) Message-Id: <20181117.091853.1710197130224516404.yasu@utahime.org> To: freebsd-current@freebsd.org, freebsd-stable@freebsd.org Subject: Re: Getting value of MAKEOBJDIRPREFIX with 'make -V MAKEOBJDIRPREFIX' From: Yasuhiro KIMURA In-Reply-To: <20181117.015758.2197010425334790981.yasu@utahime.org> References: <20181117.015758.2197010425334790981.yasu@utahime.org> X-Mailer: Mew version 6.8 on Emacs 26.1 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV using ClamSMTP X-Rspamd-Queue-Id: D0FBA70759 X-Spamd-Result: default: False [1.40 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+a:spf-authorized.utahime.org]; MV_CASE(0.50)[]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; DMARC_NA(0.00)[utahime.org]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_COUNT_THREE(0.00)[4]; MX_GOOD(-0.01)[cached: mx1.utahime.org]; RCPT_COUNT_TWO(0.00)[2]; MID_CONTAINS_FROM(1.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:2519, ipnet:183.180.0.0/16, country:JP]; IP_SCORE(0.21)[asn: 2519(1.13), country: JP(-0.10)] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Nov 2018 00:20:34 -0000 From: Yasuhiro KIMURA Subject: Getting value of MAKEOBJDIRPREFIX with 'make -V MAKEOBJDIRPREFIX' Date: Sat, 17 Nov 2018 01:57:58 +0900 (JST) > Then is this just bug? Or are there any reason that behavior is > changed from 11.x to 12.x and later? To find when behavior changed I bisected head from r302408 (revision that stable/11 is cleated) to r340439 and got following result. Order Revision Does 'make -V MAKEOBJDIRPREFIX` work? ---------------------------------------------------------------------- 1 302408 Yes 2 340439 No 3 323176 Yes 4 332305 No 5 327441 No 6 325415 No 7 324362 Yes 8 324940 Yes 9 325181 Yes 10 325295 No 11 325248 Yes 12 325271 Yes 13 325285 Yes 14 325290 No 15 325288 No 16 325287 Yes That is, behavior changed at r325288. And commit message says as following. ---------------------------------------------------------------------- Add option UNIFIED_OBJDIR, on by default, which moves the default build OBJDIR. This changes the build OBJDIR from the older style of /usr/obj/ for native builds, and /usr/obj/./ for cross builds to a new simpler format of /usr/obj//.. This new format is used regardless of cross or native build. It allows easier management of multiple source tree object directories. The UNIFIED_OBJDIR option will be removed and its feature made permanent for the 12.0 release. ---------------------------------------------------------------------- As far as I read this, behavior change of 'make -V MAKEOBJDIRPREFIX` doesn't seem intentional. So I'll submit bug report. --- Yasuhiro KIMURA From owner-freebsd-current@freebsd.org Sat Nov 17 00:47:09 2018 Return-Path: Delivered-To: freebsd-current@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 95C0A1109E51; Sat, 17 Nov 2018 00:47:09 +0000 (UTC) (envelope-from yasu@utahime.org) Received: from gate.utahime.jp (ipq210.utahime.jp [183.180.29.210]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 5E03F715AC; Sat, 17 Nov 2018 00:47:08 +0000 (UTC) (envelope-from yasu@utahime.org) Received: from eastasia.home.utahime.org (eastasia.home.utahime.org [192.168.174.1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by gate.utahime.jp (Postfix) with ESMTPS id 5D78517A20; Sat, 17 Nov 2018 09:47:05 +0900 (JST) Received: from eastasia.home.utahime.org (localhost [127.0.0.1]) by localhost-backdoor.home.utahime.org (Postfix) with ESMTP id 988B33D379; Sat, 17 Nov 2018 09:46:58 +0900 (JST) Received: from localhost (rolling.home.utahime.org [192.168.174.11]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by eastasia.home.utahime.org (Postfix) with ESMTPSA id CA5C03D378; Sat, 17 Nov 2018 09:46:54 +0900 (JST) Date: Sat, 17 Nov 2018 09:46:43 +0900 (JST) Message-Id: <20181117.094643.2003993111526638136.yasu@utahime.org> To: freebsd-current@freebsd.org, freebsd-stable@freebsd.org Subject: Re: Getting value of MAKEOBJDIRPREFIX with 'make -V MAKEOBJDIRPREFIX' From: Yasuhiro KIMURA In-Reply-To: <20181117.091853.1710197130224516404.yasu@utahime.org> References: <20181117.015758.2197010425334790981.yasu@utahime.org> <20181117.091853.1710197130224516404.yasu@utahime.org> X-Mailer: Mew version 6.8 on Emacs 26.1 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV using ClamSMTP X-Rspamd-Queue-Id: 5E03F715AC X-Spamd-Result: default: False [1.38 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+a:spf-authorized.utahime.org]; MV_CASE(0.50)[]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; DMARC_NA(0.00)[utahime.org]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_COUNT_THREE(0.00)[4]; MX_GOOD(-0.01)[cached: mx1.utahime.org]; RCPT_COUNT_TWO(0.00)[2]; MID_CONTAINS_FROM(1.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:2519, ipnet:183.180.0.0/16, country:JP]; IP_SCORE(0.19)[asn: 2519(1.06), country: JP(-0.10)] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Nov 2018 00:47:09 -0000 From: Yasuhiro KIMURA Subject: Re: Getting value of MAKEOBJDIRPREFIX with 'make -V MAKEOBJDIRPREFIX' Date: Sat, 17 Nov 2018 09:18:53 +0900 (JST) > As far as I read this, behavior change of 'make -V MAKEOBJDIRPREFIX` > doesn't seem intentional. So I'll submit bug report. Submitted. https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=233265 --- Yasuhiro KIMURA From owner-freebsd-current@freebsd.org Sat Nov 17 16:29:47 2018 Return-Path: Delivered-To: freebsd-current@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 A4A4911377A5; Sat, 17 Nov 2018 16:29:47 +0000 (UTC) (envelope-from subbsd@gmail.com) Received: from mail-lj1-x241.google.com (mail-lj1-x241.google.com [IPv6:2a00:1450:4864:20::241]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 7096A70DDA; Sat, 17 Nov 2018 16:29:46 +0000 (UTC) (envelope-from subbsd@gmail.com) Received: by mail-lj1-x241.google.com with SMTP id g11-v6so10244894ljk.3; Sat, 17 Nov 2018 08:29:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=nty4VOTVeC9/EcYeC6/OrQV/GYmSzrOlezMFZzdTa2M=; b=rMMRnQSASjq9zs/kGu1dElknm2ggYg9KChQJmXt59pvfHKj2p42sIesGNpZOEX3JI6 jAFgjJoqBCkuheibnZW7j0XHVx6fEjYqoLF/SZHZH9agCe0TiCM6675x0OA7muV9DNZ5 Fwf2wQ7MlXD4hVLUMWNFVR3NN9EXjQOJUhF7YWkAv5x+/Yxx7GnebmC51E5HOSUIPK+/ gXSDHaOpzyX5gq7Wsy0ICnzxwYrAKy53rbXTeDh919ezc5dxRpPQZG8Ew7KA+KW+5Udo GzV+gr2q0dAiwXk3kE0sQNJHY7N7aHtfF9NFKGsTvSc3L6vS81Rsn/I78UKrQRC4BHMV P1Kw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=nty4VOTVeC9/EcYeC6/OrQV/GYmSzrOlezMFZzdTa2M=; b=DdxZviNlsskUCUNOM2fqYq4MJhzXjeWMltuyGrDw5UBrT4td0Gl/nIhdg9M/9G0a1m g4lIgO78z9R1BJbeahOlZ3dNuwvPsGtNAjiTHpPIs77WB6rBp6kOGo4G4z9OsgUnLD3q Zsqon1dQc0CwguLAceYaicoQIvNGZVqZ/Lk0cXzjMv2ieCNk4DjQLm2JGYGfDjBK0b/y cEuc7hMH6KhVcR9qzBKUz+o3j3rh5Fr7omXr7ots1RlI4aJon7P6lVd/nxtx0WyascGR MA3kfzbwHvfMOvUYRdJEcFxojJdx4VvCAvzGBdezBSAcopVbcW2CnUtNC5XXnWI5p4l9 IDkg== X-Gm-Message-State: AGRZ1gJ1zxLe3g66/AgrzTTlVfpTQmMYaaRTOdJyo8dNuhS6anNQ7tT0 oPqNPSIDfbqeSMRhVNKZKN0C8GwzpFD1RiqoUMl+OicP X-Google-Smtp-Source: AJdET5fHKJzKMj7381XWJRCC9h+Ktr2a+5gZMequI2yfj8G8IRVyb3hAFtAoTud1luRsMgabVnMuTdodFGxLNUSonQs= X-Received: by 2002:a2e:851a:: with SMTP id j26-v6mr8253063lji.163.1542472185023; Sat, 17 Nov 2018 08:29:45 -0800 (PST) MIME-Version: 1.0 References: <1564776.xRuIxZukmv@photon.int.bluestop.org> In-Reply-To: From: Subbsd Date: Sat, 17 Nov 2018 19:29:34 +0300 Message-ID: Subject: Re: UEFI GOP: screen goes blank during boot after loader is finished To: imp@bsdimp.com Cc: rebecca@bluestop.org, freebsd-current Current , kevans@freebsd.org, freebsd-rwg@pdx.rh.cn85.dnsmgr.net, freebsd-virtualization@freebsd.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 7096A70DDA X-Spamd-Result: default: False [-2.21 / 15.00]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[gmail.com]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; MIME_GOOD(-0.10)[text/plain]; IP_SCORE(-0.36)[ip: (2.00), ipnet: 2a00:1450::/32(-1.89), asn: 15169(-1.81), country: US(-0.10)]; RCPT_COUNT_FIVE(0.00)[6]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RCVD_IN_DNSWL_NONE(0.00)[1.4.2.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.5.4.1.0.0.a.2.list.dnswl.org : 127.0.5.0]; NEURAL_HAM_SHORT(-0.84)[-0.840,0]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; RCVD_COUNT_TWO(0.00)[2] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Nov 2018 16:29:48 -0000 On Fri, Nov 16, 2018 at 8:03 AM Warner Losh wrote: > > > > On Thu, Nov 15, 2018 at 12:10 PM Rebecca Cran wrot= e: >> >> On Wednesday, 14 November 2018 19:56:56 MST Warner Losh wrote: >> >> > What is the ConOut evifar look like? We set serial when the UEFI env s= ays >> > to do so. >> >> Booting with: >> >> sudo bhyve -A -P -c 2 -H -m 4G -s 0:0,hostbridge -s 31:0,lpc -s 2,ahci- >> cd,FreeBSD-12.0-BETA4-amd64-disc1.iso -s >> 29,fbuf,tcp=3D0.0.0.0:5900,w=3D800,h=3D600,wait -l bootrom,/usr/local/sh= are/uefi- >> firmware/BHYVE_UEFI.fd -u vm5 >> >> dh in the shell shows: >> >> 7D: ConsoleOut SimpleTextOut GraphicsOutput(GraphicsOutput) >> PCIIO DevicePath(PciRoot (0x0)/Pci(0x1D,0x0)) >> >> 84: StdErr ConsoleOut ConsoleIn SimpleTextOut SimpleTextInEx SimpleTextI= n >> DevicePath(t(115200,8,N,1)/VenVt100Plus()) >> >> 89: SimpleTextOut SimpleTextInEx SimpleTextIn DevicePath(Uart(115200,8,N= ,1)/ >> VenPcAnsi()) > > > If I read that right, then the ConOut variable first has the video device= listed, then the serial port (this wasn't the form I expected to see it in= , so I'm not sure thats the case). In either event, we should get console o= utput on both the serial and the video at least until the /etc/rc script st= arts... > > Warner Perhaps this is not a special case of FreeBSD guest, since the latest versions of FreeBSD are loaded normally in other UEFI systems (e.g Virtualbox, KVM). For example someone from CBSD Telegram chat reported a similar problem for OpenIndiana 2018 ( which uses FreeBSD loader however) in bhyve. Thus, perhaps the root of this problem should be sought in uefi-edk2-bhyve the package. Latest CBSD release (12.0.1) fixed this problem by disabling serial console. However, CBSD uses an alternative boot method for bhyve ( uefi-edk2-bhyve + reFIND ) From owner-freebsd-current@freebsd.org Sat Nov 17 17:55:26 2018 Return-Path: Delivered-To: freebsd-current@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 4BF541139D95; Sat, 17 Nov 2018 17:55:26 +0000 (UTC) (envelope-from tsoome@me.com) Received: from st11p06im-asmtp001.me.com (st11p06im-asmtp001.me.com [17.172.125.149]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 9E06875A99; Sat, 17 Nov 2018 17:55:25 +0000 (UTC) (envelope-from tsoome@me.com) Received: from process-dkim-sign-daemon.st11p06im-asmtp001.me.com by st11p06im-asmtp001.me.com (Oracle Communications Messaging Server 8.0.2.2.20180531 64bit (built May 31 2018)) id <0PIC00Q00K8GDI00@st11p06im-asmtp001.me.com>; Sat, 17 Nov 2018 16:55:19 +0000 (GMT) Received: from icloud.com ([127.0.0.1]) by st11p06im-asmtp001.me.com (Oracle Communications Messaging Server 8.0.2.2.20180531 64bit (built May 31 2018)) with ESMTPSA id <0PIC00W8FKC2MK30@st11p06im-asmtp001.me.com>; Sat, 17 Nov 2018 16:55:18 +0000 (GMT) X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=2 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 mlxscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1807170000 definitions=main-1811170160 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2018-11-17_07:,, signatures=0 From: Toomas Soome Message-id: <58727F10-3CAE-49EE-B9E7-E4D26EDCB845@me.com> MIME-version: 1.0 (Mac OS X Mail 12.1 \(3445.101.1\)) Subject: Re: UEFI GOP: screen goes blank during boot after loader is finished Date: Sat, 17 Nov 2018 18:55:13 +0200 In-reply-to: Cc: Warner Losh , Rebecca Cran , freebsd-current Current , kevans@freebsd.org, freebsd-rwg@pdx.rh.cn85.dnsmgr.net, freebsd-virtualization@freebsd.org To: Subbsd References: <1564776.xRuIxZukmv@photon.int.bluestop.org> X-Mailer: Apple Mail (2.3445.101.1) X-Rspamd-Queue-Id: 9E06875A99 X-Spamd-Result: default: False [-2.60 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[me.com]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:17.172.0.0/16]; FREEMAIL_FROM(0.00)[me.com]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; RCVD_TLS_LAST(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MX_GOOD(-0.01)[cached: mx1.mail.icloud.com]; DKIM_TRACE(0.00)[me.com:+]; RCPT_COUNT_SEVEN(0.00)[7]; NEURAL_HAM_SHORT(-0.98)[-0.978,0]; DMARC_POLICY_ALLOW(-0.50)[me.com,quarantine]; IP_SCORE(-0.51)[ipnet: 17.168.0.0/13(-1.49), asn: 714(-0.97), country: US(-0.10)]; FREEMAIL_TO(0.00)[gmail.com]; RCVD_IN_DNSWL_LOW(-0.10)[149.125.172.17.list.dnswl.org : 127.0.5.1]; FROM_EQ_ENVFROM(0.00)[]; FREEMAIL_ENVFROM(0.00)[me.com]; ASN(0.00)[asn:714, ipnet:17.168.0.0/13, country:US]; MID_RHS_MATCH_FROM(0.00)[] X-Rspamd-Server: mx1.freebsd.org Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Nov 2018 17:55:26 -0000 > On 17 Nov 2018, at 18:29, Subbsd wrote: >=20 > On Fri, Nov 16, 2018 at 8:03 AM Warner Losh > wrote: >>=20 >>=20 >>=20 >> On Thu, Nov 15, 2018 at 12:10 PM Rebecca Cran = wrote: >>>=20 >>> On Wednesday, 14 November 2018 19:56:56 MST Warner Losh wrote: >>>=20 >>>> What is the ConOut evifar look like? We set serial when the UEFI = env says >>>> to do so. >>>=20 >>> Booting with: >>>=20 >>> sudo bhyve -A -P -c 2 -H -m 4G -s 0:0,hostbridge -s 31:0,lpc -s = 2,ahci- >>> cd,FreeBSD-12.0-BETA4-amd64-disc1.iso -s >>> 29,fbuf,tcp=3D0.0.0.0:5900,w=3D800,h=3D600,wait -l = bootrom,/usr/local/share/uefi- >>> firmware/BHYVE_UEFI.fd -u vm5 >>>=20 >>> dh in the shell shows: >>>=20 >>> 7D: ConsoleOut SimpleTextOut GraphicsOutput(GraphicsOutput) >>> PCIIO DevicePath(PciRoot (0x0)/Pci(0x1D,0x0)) >>>=20 >>> 84: StdErr ConsoleOut ConsoleIn SimpleTextOut SimpleTextInEx = SimpleTextIn >>> DevicePath(t(115200,8,N,1)/VenVt100Plus()) >>>=20 >>> 89: SimpleTextOut SimpleTextInEx SimpleTextIn = DevicePath(Uart(115200,8,N,1)/ >>> VenPcAnsi()) >>=20 >>=20 >> If I read that right, then the ConOut variable first has the video = device listed, then the serial port (this wasn't the form I expected to = see it in, so I'm not sure thats the case). In either event, we should = get console output on both the serial and the video at least until the = /etc/rc script starts... >>=20 >> Warner >=20 > Perhaps this is not a special case of FreeBSD guest, since the latest > versions of FreeBSD are loaded normally in other UEFI systems (e.g > Virtualbox, KVM). For example someone from CBSD Telegram chat reported > a similar problem for OpenIndiana 2018 ( which uses FreeBSD loader > however) in bhyve. > Thus, perhaps the root of this problem should be sought in > uefi-edk2-bhyve the package. Latest CBSD release (12.0.1) fixed this > problem by disabling serial console. However, CBSD uses an alternative > boot method for bhyve ( uefi-edk2-bhyve + reFIND ) > _______________________________________________ You can not yet bring in OpenIndiana into the game because it does not = have FB console support - it *only* can use serial console with UEFI.=20 rgds, toomas From owner-freebsd-current@freebsd.org Sat Nov 17 18:23:19 2018 Return-Path: Delivered-To: freebsd-current@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 3F04E1100EE3; Sat, 17 Nov 2018 18:23:19 +0000 (UTC) (envelope-from gjb@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [96.47.72.132]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id EA30F7743B; Sat, 17 Nov 2018 18:23:18 +0000 (UTC) (envelope-from gjb@freebsd.org) Received: from FreeBSD.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by freefall.freebsd.org (Postfix) with ESMTPS id 76B9D1314A; Sat, 17 Nov 2018 18:23:18 +0000 (UTC) (envelope-from gjb@freebsd.org) Date: Sat, 17 Nov 2018 18:23:16 +0000 From: Glen Barber To: freebsd-current@freebsd.org, freebsd-stable@freebsd.org Cc: FreeBSD Release Engineering Team Subject: FreeBSD 12.0-RC1 Now Available Message-ID: <20181117182316.GW81143@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; x-action=pgp-signed User-Agent: Mutt/1.10.1 (2018-07-13) X-Rspamd-Queue-Id: EA30F7743B X-Spamd-Result: default: False [-0.42 / 15.00]; local_wl_from(0.00)[freebsd.org]; NEURAL_HAM_SHORT(-0.42)[-0.422,0]; ASN(0.00)[asn:11403, ipnet:96.47.64.0/20, country:US] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Nov 2018 18:23:19 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 The first RC build of the 12.0-RELEASE release cycle is now available. Installation images are available for: o 12.0-RC1 amd64 GENERIC o 12.0-RC1 i386 GENERIC o 12.0-RC1 powerpc GENERIC o 12.0-RC1 powerpc64 GENERIC64 o 12.0-RC1 powerpcspe MPC85XXSPE o 12.0-RC1 sparc64 GENERIC o 12.0-RC1 armv6 RPI-B o 12.0-RC1 armv7 BANANAPI o 12.0-RC1 armv7 BEAGLEBONE o 12.0-RC1 armv7 CUBIEBOARD o 12.0-RC1 armv7 CUBIEBOARD2 o 12.0-RC1 armv7 CUBOX-HUMMINGBOARD o 12.0-RC1 armv7 RPI2 o 12.0-RC1 armv7 PANDABOARD o 12.0-RC1 armv7 WANDBOARD o 12.0-RC1 armv7 GENERICSD o 12.0-RC1 aarch64 GENERIC o 12.0-RC1 aarch64 RPI3 o 12.0-RC1 aarch64 PINE64 o 12.0-RC1 aarch64 PINE64-LTS Note regarding arm SD card images: For convenience for those without console access to the system, a freebsd user with a password of freebsd is available by default for ssh(1) access. Additionally, the root user password is set to root. It is strongly recommended to change the password for both users after gaining access to the system. Installer images and memory stick images are available here: https://download.freebsd.org/ftp/releases/ISO-IMAGES/12.0/ The image checksums follow at the end of this e-mail. If you notice problems you can report them through the Bugzilla PR system or on the -stable mailing list. If you would like to use SVN to do a source based update of an existing system, use the "releng/12.0" branch. A summary of changes since BETA4 includes: o NFSv4 ACL inheritance flags are no longer set on non-directories. o New keywords, enable, disable, and delete, were added to rc(8). o Fix freebsd32 mknod(at). o Fix some problems that manifest when NUMA domain 0 is empty. o The ctm(1) utility has been marked as deprecated. o The amdsmn(4) and amdtemp(4) drivers has been updated to attach to Ryzen 2 hostbridges. o The amdtemp(4) driver temperature reporting on AMD 2990WX has been fixed. o Printing of 64-bit counters on 32-bit powerpc platforms has been fixed. o Fixes to netmap(4) support with vtnet(4). o Handling of allow.mount.fusefs in jailparam_init() has been fixed. o Miscellaneous IPv6 fixes. o Various other miscellaneous fixes. A list of changes since 11.2-RELEASE is available in the releng/12.0 release notes: https://www.freebsd.org/releases/12.0R/relnotes.html Please note, the release notes page is not yet complete, and will be updated on an ongoing basis as the 12.0-RELEASE cycle progresses. === Virtual Machine Disk Images === VM disk images are available for the amd64 and i386 architectures. Disk images may be downloaded from the following URL (or any of the FreeBSD FTP mirrors): https://download.freebsd.org/ftp/releases/VM-IMAGES/12.0-RC1/ The partition layout is: ~ 16 kB - freebsd-boot GPT partition type (bootfs GPT label) ~ 1 GB - freebsd-swap GPT partition type (swapfs GPT label) ~ 20 GB - freebsd-ufs GPT partition type (rootfs GPT label) The disk images are available in QCOW2, VHD, VMDK, and raw disk image formats. The image download size is approximately 135 MB and 165 MB respectively (amd64/i386), decompressing to a 21 GB sparse image. Note regarding arm64/aarch64 virtual machine images: a modified QEMU EFI loader file is needed for qemu-system-aarch64 to be able to boot the virtual machine images. See this page for more information: https://wiki.freebsd.org/arm64/QEMU To boot the VM image, run: % qemu-system-aarch64 -m 4096M -cpu cortex-a57 -M virt \ -bios QEMU_EFI.fd -serial telnet::4444,server -nographic \ -drive if=none,file=VMDISK,id=hd0 \ -device virtio-blk-device,drive=hd0 \ -device virtio-net-device,netdev=net0 \ -netdev user,id=net0 Be sure to replace "VMDISK" with the path to the virtual machine image. === Amazon EC2 AMI Images === FreeBSD/amd64 EC2 AMIs are available in the following regions: ap-south-1 region: ami-0009ec1b988c2657f eu-west-3 region: ami-0220d1fd6dc99db71 eu-west-2 region: ami-088bdaf01c661952e eu-west-1 region: ami-06a0e5576d706a2ad ap-northeast-2 region: ami-09dcfc30418bde4b2 ap-northeast-1 region: ami-012574bebe5e1799a sa-east-1 region: ami-01a0b3a553d85f724 ca-central-1 region: ami-017f765c40a67c070 ap-southeast-1 region: ami-02a8a45d346c1351d ap-southeast-2 region: ami-07735c9da46fd98f6 eu-central-1 region: ami-04ee0ead1dac8c5f0 us-east-1 region: ami-093d779260d50390c us-east-2 region: ami-0a4da8cd0079787e3 us-west-1 region: ami-0845a0982e72e45e6 us-west-2 region: ami-0c4c74a8db444920b === Vagrant Images === FreeBSD/amd64 images are available on the Hashicorp Atlas site, and can be installed by running: % vagrant init freebsd/FreeBSD-12.0-RC1 % vagrant up === Upgrading === The freebsd-update(8) utility supports binary upgrades of amd64 and i386 systems running earlier FreeBSD releases. Systems running earlier FreeBSD releases can upgrade as follows: # freebsd-update upgrade -r 12.0-RC1 During this process, freebsd-update(8) may ask the user to help by merging some configuration files or by confirming that the automatically performed merging was done correctly. # freebsd-update install The system must be rebooted with the newly installed kernel before continuing. # shutdown -r now After rebooting, freebsd-update needs to be run again to install the new userland components: # freebsd-update install It is recommended to rebuild and install all applications if possible, especially if upgrading from an earlier FreeBSD release, for example, FreeBSD 11.x. Alternatively, the user can install misc/compat11x and other compatibility libraries, afterwards the system must be rebooted into the new userland: # shutdown -r now Finally, after rebooting, freebsd-update needs to be run again to remove stale files: # freebsd-update install == ISO CHECKSUMS == o 12.0-RC1 amd64 GENERIC: SHA512 (FreeBSD-12.0-RC1-amd64-bootonly.iso) = c4d4ea62799048b8ce687447d41b6e3744ff903758db2c9845cdb4351c8358ea3e05d03cbf6e765ed24a6876ac0ea2da416e87087dc37701b70d85ef6d1fb48c SHA512 (FreeBSD-12.0-RC1-amd64-bootonly.iso.xz) = 746c80f9bd228496f5130508137a6337758ce7e5da3f6b06e8dbbd136c60d859aecafdfb70d1a3b8075dada8dadf7ec642591ce5d8cce8a8884cc1c55ca8740a SHA512 (FreeBSD-12.0-RC1-amd64-disc1.iso) = 04b349051448a08af825f3ba8f01b39eb0422ec3942d043571a699feeabed28ecbe3423998ec5270b1f9c2ae8267cb29261a00c56db673a876f54a013c06f67c SHA512 (FreeBSD-12.0-RC1-amd64-disc1.iso.xz) = 40b91b43385872bb42664540e313dcda01445888a7012a0857444f3ca36f7f8bf3ef8f73ae470992b643fb99997b728cd9baf9eef92612210a3804367e737c27 SHA512 (FreeBSD-12.0-RC1-amd64-dvd1.iso) = 780193d72232e5614ec9ac9adbe7335c43667416aae67849f9d4bc9d5a809c86e48fad11687d0c915464d0a751ee1ac598647cc9173b07ca6238af00c083d3d0 SHA512 (FreeBSD-12.0-RC1-amd64-dvd1.iso.xz) = 172459a7e95bf7575cad74374befb15240dc5cb879fcc1c9b4b3fbf1765ef9710d51305819dc2271dd0b3c713de3600632af31f1f64351047345c5f17421e717 SHA512 (FreeBSD-12.0-RC1-amd64-memstick.img) = b1fc70d431104a60d8859becbcb07cd802a8125c051568bfb8f73a3784e1cf6e2f9fdc91b757ab2a3a87f5e5fb4ec02a5505070b825f05fac51cc0ea455c9074 SHA512 (FreeBSD-12.0-RC1-amd64-memstick.img.xz) = 60122d059bf3a2c0dcb312773130c7f0b0ad17f0b50b7eaddd5fd25795c88c8fc2524379bb6d4a0d4e2c97a93726759a4c834ed361400ae4732bf3f3b61f2dc9 SHA512 (FreeBSD-12.0-RC1-amd64-mini-memstick.img) = da265679594c6adb29b6affe71bb906143376d0290680c1e85e7b852a97382d685c87ffb0cc83eda875b0aa9ad5ff9e6a54070b4dad9601cfd99414d2d5eab05 SHA512 (FreeBSD-12.0-RC1-amd64-mini-memstick.img.xz) = cc56c8e2524b48ae2c453a75dadd88719396733ea683bfa27c2081e9669608dd515b6f9f71bf267da2b97939fe67bb9d9fe163632f3a985670de4b579f3b0bfe SHA256 (FreeBSD-12.0-RC1-amd64-bootonly.iso) = 703fc5071238a76254822da39a0fc1b275453c694298aec21360dcccf1f25840 SHA256 (FreeBSD-12.0-RC1-amd64-bootonly.iso.xz) = 294566accfa4bdaf35b902df2dc768dff70d5748cc0e4b477ec463c8cc73be98 SHA256 (FreeBSD-12.0-RC1-amd64-disc1.iso) = 6723a414f59e4981fd74b2241684e3f0bfcf4d65bdfa5b6bceaec540cf809bb5 SHA256 (FreeBSD-12.0-RC1-amd64-disc1.iso.xz) = 865a956840358125ed2a19b13f74e619fcefdb14cdf38a82b639a2b4a670d722 SHA256 (FreeBSD-12.0-RC1-amd64-dvd1.iso) = fbb1f1e1c74a5dc0d10134ad36577309490ae62856fc2430d124baec33df6ebb SHA256 (FreeBSD-12.0-RC1-amd64-dvd1.iso.xz) = 3db26b0dc29b20d71a3b15828eb6e092446ca7e2a62ad4abdaefd0f19f32c359 SHA256 (FreeBSD-12.0-RC1-amd64-memstick.img) = f95693d3752d90d39b7a799b5e9d18a5ae846266ef2667ec91b9d962649ad7bf SHA256 (FreeBSD-12.0-RC1-amd64-memstick.img.xz) = 4ef3e4cd3dcaeed41fbe595e19e6bf4b47bdb8df2905e952bd50383602b8b670 SHA256 (FreeBSD-12.0-RC1-amd64-mini-memstick.img) = a54e6e9836b6524071ea69b85f957390b98b401a85f7d18fe528ac64f0fb76d4 SHA256 (FreeBSD-12.0-RC1-amd64-mini-memstick.img.xz) = a688b3857a94a66cdb8806a209ee2cbe8174f0ba7ebaa2cd031dda4a645d6d2a o 12.0-RC1 i386 GENERIC: SHA512 (FreeBSD-12.0-RC1-i386-bootonly.iso) = 194ee975f07cd4ffcf34ab12fa38cd30d53e737d8ca3bcac3250816e7771b2b9a797f6ab0f06e8466e2bcf89fb72dcdd22529f121f11efddc2ad78b3d1771fb1 SHA512 (FreeBSD-12.0-RC1-i386-bootonly.iso.xz) = 2691f909a15c04d8525a59eaae85061736acce7bebe0a9fb975bdcef0a36658fdea93414cbaf6e4f17c115ed169d744e6e96717de59e45b48b6507ecd4334988 SHA512 (FreeBSD-12.0-RC1-i386-disc1.iso) = a04d13c18a1acf135d62e0c5f0e7684d240851f052f97e1735d28f79c737d23d7c9bc253cb636f1c7ffb6bb16f93f2efaa623f60bf148b1295fc0030873afa47 SHA512 (FreeBSD-12.0-RC1-i386-disc1.iso.xz) = 2569ecd3c4566b80363579284122fd45289d75fde02607b2bd6bdac9fcf387e1e6a534fee9d97d30f687ebfab67c984881fd1deae4938dcaf1946fec2b890ebd SHA512 (FreeBSD-12.0-RC1-i386-dvd1.iso) = d0764b0916b0fc6789314f4efa15274afec7bf315fbcaceba4bed714026f9271b19f5d6dfa18efe3671cc262ddd1d5d54af4dc928694c7babd7725d3322885c2 SHA512 (FreeBSD-12.0-RC1-i386-dvd1.iso.xz) = c9d181622f6bbc3f2cacd52a01b58730f643fd355f30ff71038f0098edaa852b2b57493f314eb5bd37b355e4983f074b702738f8a15ee5880b2655ea11ff65cd SHA512 (FreeBSD-12.0-RC1-i386-memstick.img) = 1d848bebf451bdf2160d6fee62e9c3b289c30b83559bd220fb62448a1318729caa49cf404361667361a062d5f854176abbeca67c96102f75cea0e142b869c2fd SHA512 (FreeBSD-12.0-RC1-i386-memstick.img.xz) = 2f1ae341dae8b67dd2c1d10642255fe6f5025cc509cb51a81c579c67cdc3284d660dc8d3b76312da255b7cda58c1347d396af5d4ce1679463616d6d343c57545 SHA512 (FreeBSD-12.0-RC1-i386-mini-memstick.img) = c68ad6e39bc02b02f4f32e1d571b72f80a139edccbbaa1be09980ed00f532488207edf7c9a39d8ced0d91bcdc3ef4c436fd7d30c335da4236664f8d62e5af5ea SHA512 (FreeBSD-12.0-RC1-i386-mini-memstick.img.xz) = 671485aeea22e7e50a7f315c09ba5c611712e638583650eee5e256494f65857e21992790da707e764b958c5028627b58cf0284c277279fda73b736bc93fdaa5c SHA256 (FreeBSD-12.0-RC1-i386-bootonly.iso) = 30df8c366f44bf630a665a5d5519732ff889936a4606c39eddff838fd656071c SHA256 (FreeBSD-12.0-RC1-i386-bootonly.iso.xz) = 60c5e1aa219841bc033e83175f7d95e8aa17b50dcf0a494770fdd7527157c023 SHA256 (FreeBSD-12.0-RC1-i386-disc1.iso) = 99ac395c642726a913484db8a881861a3cb86d4cfb6ee76488f22991d1d1582e SHA256 (FreeBSD-12.0-RC1-i386-disc1.iso.xz) = c4c20932c5aab95d85c9eee90cb26179b24ac84df7f74380b5b71e3d132b4609 SHA256 (FreeBSD-12.0-RC1-i386-dvd1.iso) = 98ee2b7534992db49d6bf6768509f4fbd11a90d1003e67738c8285f4f8add3c0 SHA256 (FreeBSD-12.0-RC1-i386-dvd1.iso.xz) = b7645e50bee38ffc277e16b15ff932a562e7d413163c9c12f78d32a915d1c510 SHA256 (FreeBSD-12.0-RC1-i386-memstick.img) = a71fc8ec3dcaa8b64b1052cc3378647363c7ff0517ae8b564740e26554dec72c SHA256 (FreeBSD-12.0-RC1-i386-memstick.img.xz) = bd4bcf712ff4432f5e1fdcaa755c7f5a743246bec23bd5c7f973953d390af6b6 SHA256 (FreeBSD-12.0-RC1-i386-mini-memstick.img) = 1926a7cf646396bee8a86e8ad5811a398655d32d7a8101e6b9f4f7666c94eb62 SHA256 (FreeBSD-12.0-RC1-i386-mini-memstick.img.xz) = 56cccceb4694a7913ff5e1067c9a06e193563d6586bb573bb28f8cc8a1fcc152 o 12.0-RC1 powerpc GENERIC: SHA512 (FreeBSD-12.0-RC1-powerpc-bootonly.iso) = 1d111e161b299588abc67ce6260303c449ae81a4beb833ae49ac0be535d24431484071b14e6d59619eeb2fa8649d052320c01a798180c02a92fe75da6d9ac770 SHA512 (FreeBSD-12.0-RC1-powerpc-bootonly.iso.xz) = afefd400cd981574fd679b923fc3626994cb27017bb09329304edad3c283eca5dc76a692a285ff20d7bc6d195cbe0a35df063edfbf9887a365a0b287c29a5ff2 SHA512 (FreeBSD-12.0-RC1-powerpc-disc1.iso) = 2b216bd771aeca00e569455acdfd4674307380e53953fc76e65b1b2e32212ecf3e48d83c0a5977cd2f580426886c72f20152766e9dbc1110ec11f317ae5cb430 SHA512 (FreeBSD-12.0-RC1-powerpc-disc1.iso.xz) = 9e3df95479587c3ebbfa0dc6ad4f381c3bfbb49773d456be28a93449d3115ba8ece05f5041e4c2730021791623827a4403b786d4e2a3029de3a7dd0f5a300bc9 SHA512 (FreeBSD-12.0-RC1-powerpc-dvd1.iso) = 07fcc13ba10b00fd4f93f81c4f40783595bf05971b8cff7e40a5b51a935d40a953817361ad21d645958c70bd2ae1808a0e52091164bbdec4d9a461f1cc95ab52 SHA512 (FreeBSD-12.0-RC1-powerpc-dvd1.iso.xz) = 817f8768849486ef22926023e7ba9437c0f7345c1975c62fff31da9eaafb7b736e2c49499e8367f804fb408323d99aae986aa18d58720348287b9b72955999e6 SHA512 (FreeBSD-12.0-RC1-powerpc-memstick.img) = 95bfd89198d1785f64ca1e6e4f643fe7a412d0fdb91d33aa63456c748c11726edd27e398fe070a0df027a136696fac0fdadb2d66910880790239389fd82e1792 SHA512 (FreeBSD-12.0-RC1-powerpc-memstick.img.xz) = ba07fd12d9771faf6183c890df567b7d948fe51055af3a9771d0affb01f3ee8e9ac3ffeee9bad3a4ed8e23d97309846892586cc78254da176a2664e07ce3cf1b SHA512 (FreeBSD-12.0-RC1-powerpc-mini-memstick.img) = 169ff2878d5012cb8f87171a8fc00af833e943f77c7333b8b8da73c8d1d3c197f5a65f762b40370822f8c3181d0193dda0f1cb0c3d6321b9bd3fdb1734f1ac29 SHA512 (FreeBSD-12.0-RC1-powerpc-mini-memstick.img.xz) = f8ac24d8640dec699bb537c0384ce8385f94df4d9c1903b367483f6a120b7976dbc72d60ae4bbe4aedbd071df8becbe7a0301907a39bde207cddf1b48b85cda6 SHA256 (FreeBSD-12.0-RC1-powerpc-bootonly.iso) = 9aefb8c648315e4307d27f4011171cf20498e8f2b30911f44b79a439c528d066 SHA256 (FreeBSD-12.0-RC1-powerpc-bootonly.iso.xz) = c61069ae831d738b79f5cab0b6d88c5b8834e0e9ae0fdc73d6d5a5502158c1ce SHA256 (FreeBSD-12.0-RC1-powerpc-disc1.iso) = 2b170347b0fdcda4822dd7d58a63f5f62f7e64817acf5d9f36d5c5235201aabc SHA256 (FreeBSD-12.0-RC1-powerpc-disc1.iso.xz) = f3d2cb7a9e00dc2bf45758d2f61541462cce1ab2301a4ec19ca0b667355b0146 SHA256 (FreeBSD-12.0-RC1-powerpc-dvd1.iso) = 7c273f69d503593df44376a8aa0d8ca1dc9544af545e566806a812463cd7866c SHA256 (FreeBSD-12.0-RC1-powerpc-dvd1.iso.xz) = 846f0e2c5016fc56a3835cc9a5592196012627bb75b987483b02207d87087651 SHA256 (FreeBSD-12.0-RC1-powerpc-memstick.img) = ad03c182f5365c49b4621d2176f2f99e50fcb41a16821255d9d06f253c3373af SHA256 (FreeBSD-12.0-RC1-powerpc-memstick.img.xz) = 7034d9e3405cd30e020f6e82dba18b2c9dc96c21bdf3dcfee819eb04d0842b6a SHA256 (FreeBSD-12.0-RC1-powerpc-mini-memstick.img) = f1ab72a2aa3756760a86683be9c18436df78c146e4dee5c2d74ef5f75b1a8576 SHA256 (FreeBSD-12.0-RC1-powerpc-mini-memstick.img.xz) = 6806c3f592ae760f870a7d85389a1b30968f23a226758588fc687708d8a64185 o 12.0-RC1 powerpc64 GENERIC64: SHA512 (FreeBSD-12.0-RC1-powerpc-powerpc64-bootonly.iso) = 8d40b92b025069f058b44c35087686b6383df091d56fdee9d4cceccb4bf0ba7cfa439af00d508557577981a6f1b386ba0e1b03e7eb2ffc2befaba51130df9bed SHA512 (FreeBSD-12.0-RC1-powerpc-powerpc64-bootonly.iso.xz) = 3194f2bcc5ffb09a9fb6c29299acf603eb12b33ef181977f679906905176ad821a2c5d47da3471ee7ed2a56bcba6758574ac2b25a2b1185f6af7aad820f73ecf SHA512 (FreeBSD-12.0-RC1-powerpc-powerpc64-disc1.iso) = 1917759b2760323b29ea6c2b3e0d7ccd7bb9321f3343cdc90b71b54d744427d161684670010ad25a65e68469dc4ae2bbb0677422e1427611ad99f1ca89029e87 SHA512 (FreeBSD-12.0-RC1-powerpc-powerpc64-disc1.iso.xz) = 3217ba9270259f7f3fcc96f598f81805da169ba4c97e4ccdeb75d22f8b173021168caa30fe5cc16323e8b2e521a7be88e21efdc7f7ff989fa65dad368cee01b2 SHA512 (FreeBSD-12.0-RC1-powerpc-powerpc64-dvd1.iso) = f01d3e265122b8ef0e8129f28f7f6888b6e8bab63dcaf86b17b842f41dcda506d061c5d13f4f3986a06ccfc59a3eacfc99fe488244deb304bab7dfafe1764523 SHA512 (FreeBSD-12.0-RC1-powerpc-powerpc64-dvd1.iso.xz) = a1f3c482647a929568353224fa348aded2724a49046fbac6d87c40820e654c55153ca31cdc0a22c7647f547f4e269ccd7d17cf8b0b1f8a5c6737b5bcb45b7af2 SHA512 (FreeBSD-12.0-RC1-powerpc-powerpc64-memstick.img) = 5181ad50eb8a09ec589cfa2ee3fee4ec3e645e1049c5024d09afbcb6a2b481cb19ba13f90e4ce970b6019f8e7b970e8a55faef5b2179798da770ef2214c8126f SHA512 (FreeBSD-12.0-RC1-powerpc-powerpc64-memstick.img.xz) = 50cd7823156ab9b20ce1062a33ee136fd911b42254aec45ed96644873ef595f7977cf12ca215a47e91f008e17a7fefb619775fa6b159adfc336129a1ce2b1380 SHA512 (FreeBSD-12.0-RC1-powerpc-powerpc64-mini-memstick.img) = 57cbacfcb6570c9bd4bdb4492db9626175b127a598d98717acdc47529b9c8b4518de16b92f5b2887e5225ec0dd3a5aa6a95b9f5e9d8534b6910da3c6673256d2 SHA512 (FreeBSD-12.0-RC1-powerpc-powerpc64-mini-memstick.img.xz) = e2bfc63d68d310aa16bab36d5635a8a6ae7ae63810811641b7083080fbf3fcb0d281496d1af2fdd4f55c5720e2f3d1f343ecc2ecd8b222910ea3f339a8a088c2 SHA256 (FreeBSD-12.0-RC1-powerpc-powerpc64-bootonly.iso) = 794e7ea0bf26f21315579e1908c5d34078d83c56015a9a9bb2beb960063ea67d SHA256 (FreeBSD-12.0-RC1-powerpc-powerpc64-bootonly.iso.xz) = 362c54a4a10ce66006e55949b989ce39d4c3c2a316f3b55fac8a1664bfd28565 SHA256 (FreeBSD-12.0-RC1-powerpc-powerpc64-disc1.iso) = aa8f40453fccdf42ebc2cac8bca7e6c3ff79756bace5b01e2fc336cc1906667c SHA256 (FreeBSD-12.0-RC1-powerpc-powerpc64-disc1.iso.xz) = af850993867a4dfd751805f91c2dee7469eb6a17b6c35ca719bfc3e1628ee9d4 SHA256 (FreeBSD-12.0-RC1-powerpc-powerpc64-dvd1.iso) = 795dac8bdd52d92ee9232e8bf89f34d1375075c707e324e5157ca7150d52b4e9 SHA256 (FreeBSD-12.0-RC1-powerpc-powerpc64-dvd1.iso.xz) = 4fbcdca8d55544c3363e923272ba05097bd6a81bdb13d998c0a8d6730527cc6b SHA256 (FreeBSD-12.0-RC1-powerpc-powerpc64-memstick.img) = 267d5d5ae4ce87b0976249bf0de89d551dab378fe7f80a8fbf7c0ab962085348 SHA256 (FreeBSD-12.0-RC1-powerpc-powerpc64-memstick.img.xz) = d2f6fa07b02dc2bf017230babeb63e05960760e8df81ac8e7dfc88c24f594b37 SHA256 (FreeBSD-12.0-RC1-powerpc-powerpc64-mini-memstick.img) = 5166080e3be2817692f7cc46552921023a5210436c5c245a2de1194f78c28201 SHA256 (FreeBSD-12.0-RC1-powerpc-powerpc64-mini-memstick.img.xz) = 237ea78bd2a80b3fae6b28387aa13cddc96dfb6b7b390ba149a7b8b80e5eb1b8 o 12.0-RC1 powerpcspe MPC85XXSPE: SHA512 (FreeBSD-12.0-RC1-powerpc-powerpcspe-bootonly.iso) = e5e8885be2e2164019e0721363401215ed2b14289180a4b5d400f27320400e8f3aaddaa452d6d4e411e10f026e82c3eaa139d86cbc6f329a6d07f3812bcdd473 SHA512 (FreeBSD-12.0-RC1-powerpc-powerpcspe-bootonly.iso.xz) = 12cf606ebd1600a389bf1a3a35c7b1513a7f4a5a73b80694cd92fe247c29b2749a13acf3b06d07f785d969997c94b61ef07eb0370da1cc8261f57307fdea53fd SHA512 (FreeBSD-12.0-RC1-powerpc-powerpcspe-disc1.iso) = f01d8fa24acae8ba953e2969df6bacff4e5972d9ba1001425b4f7465bd784ab04728d33062008c68dd710f8341c1c47887d91e869796bef471698f4002a38bc4 SHA512 (FreeBSD-12.0-RC1-powerpc-powerpcspe-disc1.iso.xz) = 9fc76d0b6cf9cedd43985939c7cffae58c80a0811c3c5f834547ffeb1cae242eb07ca7dd93fd5b47ef82a515316e1d51acdb6ad32042f07f5cf0263fd8c189f4 SHA512 (FreeBSD-12.0-RC1-powerpc-powerpcspe-dvd1.iso) = 4072b976178135cfdbdec15bae87fcd4d8177d02c3a69583b843d2612e6d4978b3dd904824bc809e5690ea4ad86ff01b620b1121b74a7698c74219b7c4e73a52 SHA512 (FreeBSD-12.0-RC1-powerpc-powerpcspe-dvd1.iso.xz) = 6d5e2f0ac6f16bccf72ed6efce1f8e325af6759811fd8210bb6218b2874597b3559dd9507faa0350a0678b43ee17d302d16f3a7b9c0d9938489778383b228a02 SHA512 (FreeBSD-12.0-RC1-powerpc-powerpcspe-memstick.img) = 76503fff35acf546e6c2bff7061252b66f2e31c6f1f75dcb8b9ef22556842481c50aa099ad294477c86af6bef0cb71474de019e8f9bb5e85a5de1ac95fe5993f SHA512 (FreeBSD-12.0-RC1-powerpc-powerpcspe-memstick.img.xz) = 6f22dead66f2183c709026bb52291fe6598cd4d726bd07d1f75fbefc42aadb9fdbb4be52d013dacd175bc67b6e6ca4848040062640724d1e7536b351459c909e SHA512 (FreeBSD-12.0-RC1-powerpc-powerpcspe-mini-memstick.img) = d466f0d22aa1293a39e701827f5d9f7b3d22b3f427e6c6d6b23de7f84acd4913e2f8b78d30a49448a4b838b5033f4d8f905f67ec2a13e24df44da67c4cc80916 SHA512 (FreeBSD-12.0-RC1-powerpc-powerpcspe-mini-memstick.img.xz) = 9465bb87d8680093d01ec1bd324ae473d1c4bb0e9cec834a30cb15f91e5a419c9f7035f244036e54830bde18ebec141ed125ad15b0a93d991ae97a099049e610 SHA256 (FreeBSD-12.0-RC1-powerpc-powerpcspe-bootonly.iso) = 6cd83fb842ddcddc4988207d5c6195a509142b12b7da0c87724772e37a77aa85 SHA256 (FreeBSD-12.0-RC1-powerpc-powerpcspe-bootonly.iso.xz) = f3cddf902f34aa22a701d32ab2df1b2280f3b212854f32454e8de0c749504cb8 SHA256 (FreeBSD-12.0-RC1-powerpc-powerpcspe-disc1.iso) = 239f6bf264ee29992c4826204b6d0227c38df01d37def9e4d4003e8e85acbf20 SHA256 (FreeBSD-12.0-RC1-powerpc-powerpcspe-disc1.iso.xz) = 8fa1019d59ccc08f03839e6a1d7d920a002b92508682218bdf653365c5516fff SHA256 (FreeBSD-12.0-RC1-powerpc-powerpcspe-dvd1.iso) = fc7a01ba265f85b6f9800b5af657009a22480dea406e5c05c3716cb4f6b4ffe0 SHA256 (FreeBSD-12.0-RC1-powerpc-powerpcspe-dvd1.iso.xz) = 4074ba237a22241f4ab0c605532156f95cc8667d62a92cb188c7ebae3c1767d2 SHA256 (FreeBSD-12.0-RC1-powerpc-powerpcspe-memstick.img) = 8b8a92d49900d7964db51fbd26875f7659471fbfe3b85dbddf7c9057f8028baa SHA256 (FreeBSD-12.0-RC1-powerpc-powerpcspe-memstick.img.xz) = d662d1564b42cad8554ea8776125943c0f96516b7c19bb548b7c39366c1aefed SHA256 (FreeBSD-12.0-RC1-powerpc-powerpcspe-mini-memstick.img) = cb0a65391db8f98ab08001301baae9ff8fea81d0aa2e3e32ab5e7b476dc6ce5e SHA256 (FreeBSD-12.0-RC1-powerpc-powerpcspe-mini-memstick.img.xz) = 9d9a6a7f82ad9ccbf5ee4797f404931ccded293ae983b5ff7b129b41dca97b24 o 12.0-RC1 sparc64 GENERIC: SHA512 (FreeBSD-12.0-RC1-sparc64-bootonly.iso) = c3ae0ca22dbfbf11173962678416ce51cbadda10b58d1a76730a6ac8b62f6901285e2dc8638dd9b2503d93d095a1a5d65f4de226d6b18dfe01959a5b6b52c869 SHA512 (FreeBSD-12.0-RC1-sparc64-bootonly.iso.xz) = c2791d662c8bfc75ad2e461f240c54bb2515b4c04769e3c0c9688dc5716e9d479104bc78ff2a4e119187f5486ec6b255ab1864a4320c697123eb3c786033f9e8 SHA512 (FreeBSD-12.0-RC1-sparc64-disc1.iso) = 166d72f1cb23ef0eb39413517580fee54c556c649747f1570d3946c593e39e9e1b3dddb09bc310b5da2e1c224473b4bb7333761af2c1c830975f10b150d279a1 SHA512 (FreeBSD-12.0-RC1-sparc64-disc1.iso.xz) = 621b80faf1c3970501f8928467112996bc107edd0226e0a9dbc2a7a9e8021fd9bae6e6ac81bcae50b9d1740c7326dbe1e38049565cf4a20a4e1cc8eeaf88924b SHA512 (FreeBSD-12.0-RC1-sparc64-dvd1.iso) = 66271227a0916d4678e97f388da136ba0eba77dcc8c689b4bc443103904543a9ead9a18fdfc2790123c5a433fca86bb3e79766052611b761c4ffd25dd566e630 SHA512 (FreeBSD-12.0-RC1-sparc64-dvd1.iso.xz) = 7e2403a2813f2a7c0f94d96716398464acb432e61272fad64f5d9905791d690b8a434072e97644654a6a21e2464c5e03156b713ca5643fa1247180bff31ef8e1 SHA256 (FreeBSD-12.0-RC1-sparc64-bootonly.iso) = 9deac6c6355768436872e35ebbf3b76dda2914e3ac0c2be93601a31fb5280d4d SHA256 (FreeBSD-12.0-RC1-sparc64-bootonly.iso.xz) = fc96fd48381be58fe9733178125639bd0eb5f8d5c821d3b2553f3ce8cba95dd2 SHA256 (FreeBSD-12.0-RC1-sparc64-disc1.iso) = b6535755762136385a44b89c912dcc763c05cb780646970459e7736fa934d3d7 SHA256 (FreeBSD-12.0-RC1-sparc64-disc1.iso.xz) = 540ee96c895070aaee5c00098c463480d0dfaae70b9a2a1731f67b8d7300bf73 SHA256 (FreeBSD-12.0-RC1-sparc64-dvd1.iso) = 40b9ac02eadc2987d32d5a8067ef61d8479174d7d935318d8e6e2c0f168acaea SHA256 (FreeBSD-12.0-RC1-sparc64-dvd1.iso.xz) = fd88a0b79ab953ab988e858a04c1e6cadbb51660d6653b29558068cbcad629ca o 12.0-RC1 armv6 RPI-B: SHA512 (FreeBSD-12.0-RC1-arm-armv6-RPI-B.img.xz) = a143d93d6a170a6ed8a9edc5a2aa464d474438545eb9c4842f7b3dee97de784258a359e704335fbf15b04a680e527400d2665c5b5c1fa2cac010a18a4b7f1bef SHA256 (FreeBSD-12.0-RC1-arm-armv6-RPI-B.img.xz) = 28c709e1d90007fe0a60ea5c29e7a6643876c4d59b9aff88f290660503c6f29e o 12.0-RC1 armv7 BANANAPI: SHA512 (FreeBSD-12.0-RC1-arm-armv7-BANANAPI.img.xz) = 04bc59505414dcfadaa6e02069f8884a449668b81aaa0ac0abd90840afd4cf352dde16fe6b8a5bc0f805796588f5ab9e173fc8b80b7e77bc513cc3c3849375ce SHA256 (FreeBSD-12.0-RC1-arm-armv7-BANANAPI.img.xz) = a14ffcaa0dcc37bc0faca8688f9bd6df8a97adea8b39a8cdce9637ec809a02a4 o 12.0-RC1 armv7 BEAGLEBONE: SHA512 (FreeBSD-12.0-RC1-arm-armv7-BEAGLEBONE.img.xz) = 1b8dc493a72d3cce73cb57329b87ab1595e8495f54bc7899abc32f64c49fe45aa66d44b16ffb06e58cf1fa31c7d3d060b52440a8c1ac7b5f4465ef23cde268d3 SHA256 (FreeBSD-12.0-RC1-arm-armv7-BEAGLEBONE.img.xz) = 3d5f9772f22053829a6918bbdf01d8151a00a229a7a0afe4be715178947f3792 o 12.0-RC1 armv7 CUBIEBOARD: SHA512 (FreeBSD-12.0-RC1-arm-armv7-CUBIEBOARD.img.xz) = 05a1cce7384135c10c1c3b0147e91eb07ade78698102c398b0ec8077f081f034ee3ddf3f158d4acb5724efc967e8766689d52efdd3eb54fea32837702399482d SHA256 (FreeBSD-12.0-RC1-arm-armv7-CUBIEBOARD.img.xz) = 0df904f10183209285abdede02a0a716ed74eece6290d05eaa012e9b8dd5f6f4 o 12.0-RC1 armv7 CUBIEBOARD2: SHA512 (FreeBSD-12.0-RC1-arm-armv7-CUBIEBOARD2.img.xz) = 089af9e771740753d7af2a6eefb41a407ccfa4031524da572a2717df03733d0817c9308d6fb4dbf015c67622bb247f0f7378dee68b6442a68b9e21c89d0876f3 SHA256 (FreeBSD-12.0-RC1-arm-armv7-CUBIEBOARD2.img.xz) = 5a488dc90cf3f6850e86698ce011d6f12d127a2c75ff86c70e36dab7831733a6 o 12.0-RC1 armv7 CUBOX-HUMMINGBOARD: SHA512 (FreeBSD-12.0-RC1-arm-armv7-CUBOX-HUMMINGBOARD.img.xz) = 00ccd17de0bb3ea679ed75659d1e8d1ecf74debef6300ca4b3a3768ea62e108ae4c122c76a8188c1b38f663a7c25c3e828d0598023b9464b8ae965a3d67f6950 SHA256 (FreeBSD-12.0-RC1-arm-armv7-CUBOX-HUMMINGBOARD.img.xz) = aff094181c244abc8cf84a3273150c32b56f22a8f1780fa287f618c6f99a3f25 o 12.0-RC1 armv7 RPI2: SHA512 (FreeBSD-12.0-RC1-arm-armv7-RPI2.img.xz) = 7e1d2b36aeb54a9ba8a315278c993ae44c193fd94c726a3f343fdc03e8240e41151c60b5a98bcc3f5888d1bc99c3ad29740fd266ef9d9e4d97fb0ab27e243d3c SHA256 (FreeBSD-12.0-RC1-arm-armv7-RPI2.img.xz) = a130af0070dc3d9f6ea0fe14469750db27760a8eb9b4cce8f19ef96e5e3d3b24 o 12.0-RC1 armv7 PANDABOARD: SHA512 (FreeBSD-12.0-RC1-arm-armv7-PANDABOARD.img.xz) = 267241d70f004b1a5331ddecad4fbeab5384809332b595520046a2de3b8102d7cd93a3d68312318b5e73440d1faec7bcee6474a36b43e40dc1a113ab806e794a SHA256 (FreeBSD-12.0-RC1-arm-armv7-PANDABOARD.img.xz) = 2452f2743244b76f1f8e8ac1b005ca5833e8c404634e6199b47d2f2e4b30f835 o 12.0-RC1 armv7 WANDBOARD: SHA512 (FreeBSD-12.0-RC1-arm-armv7-WANDBOARD.img.xz) = 46a9cc06a75498be00243f86cc5ab0abfaf6dc916792b629f67a4fef73d272a008e489dcba639876b2d21cef7f6c7d48fb17e1524dce785279cac26b5109843c SHA256 (FreeBSD-12.0-RC1-arm-armv7-WANDBOARD.img.xz) = fec49cd58d5ff848fe7b7d23f5545f4bdcb51ddeefac1a6695985a1f18272736 o 12.0-RC1 armv7 GENERICSD: SHA512 (FreeBSD-12.0-RC1-arm-armv7-GENERICSD.img.xz) = 18b4dd425ac0c86d2a924aacfdd195861fd1bc7013633dcdd1244061eeaf47f5cd73daf356fd8855e3caa7668d58b54f40f09950d21be36e2bca375fe30a24ab SHA256 (FreeBSD-12.0-RC1-arm-armv7-GENERICSD.img.xz) = ed6fdae9361e9c72660d6f7f91b9f3375b0b6ba6dade618cd37dd1e837261eaa o 12.0-RC1 aarch64 GENERIC: SHA512 (FreeBSD-12.0-RC1-arm64-aarch64-memstick.img) = f9957bfbb5e98396592689450dbad48312e337753335753b24723bd66c280d002f5b62f63b18a5efc098faaa7623b6a4113e781ca063d4e41e649aa4d733ee2e SHA512 (FreeBSD-12.0-RC1-arm64-aarch64-memstick.img.xz) = 490bc2ae1dc9d91067c38c09850b71a93c17c5b03a6bb104c621c59d730dec15a46f775124a2e3b76249e1868aa546a80f9aeb0c3647d0945b5c8ac69974e439 SHA512 (FreeBSD-12.0-RC1-arm64-aarch64-mini-memstick.img) = 3ee1f7bfab6e801e29b60924e7ba61d2036b81b0bd37ee8223438fd65abd8459bb77f8ae4445d976227fc4b5df2615b41a27c0c4357843e5522607914d0f59fc SHA512 (FreeBSD-12.0-RC1-arm64-aarch64-mini-memstick.img.xz) = 066f4ffb4bc7b0a4f99687936d08ce80f8f80a7d7a8254a2cfaee41c5669ecf90e2fe3945b1d88dad45f8442ca8127e989467e206c32935383105e2c107a91aa SHA256 (FreeBSD-12.0-RC1-arm64-aarch64-memstick.img) = e0861b1efc0290a15318620e309666928f4fbc77fecc75e96e3be161ce4b0262 SHA256 (FreeBSD-12.0-RC1-arm64-aarch64-memstick.img.xz) = da95e2138e93e94f41df48ffaa9196d3ff89169538f933e3dba988bc36e852c4 SHA256 (FreeBSD-12.0-RC1-arm64-aarch64-mini-memstick.img) = 9ae1f1fcf35620498e03adf10f671d1e82799567517f940e095b6a376ed08ca7 SHA256 (FreeBSD-12.0-RC1-arm64-aarch64-mini-memstick.img.xz) = 2882709ad2d1cba09cebe477f03dd1bb651b150f63c8dad4032178a9716f2e24 o 12.0-RC1 aarch64 RPI3: SHA512 (FreeBSD-12.0-RC1-arm64-aarch64-RPI3.img.xz) = da95b076abd8cd8bce3319638745a7bfedf78d07381c2d002e772a0bc3b51109343dde16faa31ed2a62829563f3989f1807b88c8c17cdad229b2e2a631e41ecc SHA256 (FreeBSD-12.0-RC1-arm64-aarch64-RPI3.img.xz) = 6855718274ec8856c84d13b6b137796b842c6dbfb362d1ec813246100deb4942 o 12.0-RC1 aarch64 PINE64: SHA512 (FreeBSD-12.0-RC1-arm64-aarch64-PINE64.img.xz) = 64a710ffd475769e96c32238450705d4d11a958d509b8e454778938f866da283dd26331ff8f54a21a82d4062438fc5981fb3a314022e45ba4d164c90f7cf6c52 SHA256 (FreeBSD-12.0-RC1-arm64-aarch64-PINE64.img.xz) = 9124dafd6f5bd063e1e9b63432dbce05d2dea2da28e415218570a1a791b420fb o 12.0-RC1 aarch64 PINE64-LTS: SHA512 (FreeBSD-12.0-RC1-arm64-aarch64-PINE64-LTS.img.xz) = 30eb10d9684900e3caf6d6efd9c70855e92c809cbe49cabc61de496c5720949c42d82dbe29c82b9629a1dae5cb81f2285be01e2e536a2754899b7a89345693c2 SHA256 (FreeBSD-12.0-RC1-arm64-aarch64-PINE64-LTS.img.xz) = eac36d4cfe3dbcdc73371066590a275b40690d7b25b44a299694c51dfaf83ba5 == VM IMAGE CHECKSUMS == o 12.0-RC1 amd64: SHA512 (FreeBSD-12.0-RC1-amd64.qcow2.xz) = e01199ad7f22cac01056871ac76e2c2e773b6ba385d90ee209350da0b0a9bd4ba8d15c2e80c89ce9db47cb86e5789a4d999e50eef0663f221ff942b484bb69f5 SHA512 (FreeBSD-12.0-RC1-amd64.raw.xz) = 91f80b757404b541aaeb5b9ceff95400ecd54835a788572556630e96a8ad52632b8779f31661718b8e3957744c93fb5682bfeda7fd93ee1b84c27695f90ae418 SHA512 (FreeBSD-12.0-RC1-amd64.vhd.xz) = 5c47e37d15de07edd1a8cb884123cc50228f8f6d60cbbdf5b7ebcba825253a4534412007d6494d44e6bc14aa72f01b6e3817dc0e3b17cd64cdb9ed99ab679fd1 SHA512 (FreeBSD-12.0-RC1-amd64.vmdk.xz) = dcba8582bfdb3dce0bd7b229f3eb77dc79a18a98021bcaf58bc673540651a15bc1d3e5efb17e037d53670ecfba8e112e82d9b3e5bbd10f1eeabe6a13c2050170 SHA256 (FreeBSD-12.0-RC1-amd64.qcow2.xz) = 9a2ba9d0c8d8cb41a577e1183ccbe6c790c4a98ec3f66fd4614893126f522f7b SHA256 (FreeBSD-12.0-RC1-amd64.raw.xz) = dff7b8423d86b9353ea954c3650c1813e516697226634888b89dd81eb763dd36 SHA256 (FreeBSD-12.0-RC1-amd64.vhd.xz) = 49a8281c0f319fcdfec11c1451956eeab492bdee32635a961b9b5b17810ef4cf SHA256 (FreeBSD-12.0-RC1-amd64.vmdk.xz) = 03409d7921235df1b7105e63770b60be544a3137b1a0a13a4c596a2684f9cbcc o 12.0-RC1 i386: SHA512 (FreeBSD-12.0-RC1-i386.qcow2.xz) = 8496e0fa9b68952f5b94420b292724512528c95511de93d129565e292864bcbe71d6ef85516293a1841659447e3f89c8e541f61943c0b818ef584322a0df27d2 SHA512 (FreeBSD-12.0-RC1-i386.raw.xz) = b2e3b38594f44bcf611f7608fdec7474847e937e3af9f9e4c8ed769b8360f0773192f8b5599eb4c9e8f5bcea34472b16bb5b00710e88f1b941aaed14065fd15e SHA512 (FreeBSD-12.0-RC1-i386.vhd.xz) = c12e3c0f856b2f0bea2ed3e34dad6ee4a595290fbaa90ded5dcdd218a5a2d9e27cdc940ae7580087ff1f849c9cb782dc7cc29c1847a447c6261d5f859a90da03 SHA512 (FreeBSD-12.0-RC1-i386.vmdk.xz) = 6e41938a9179f93392b9d23c007ec8ab1ccbfb4edbc2bda8a3879d805dc9f3f49615cd49149002c01c0070fe32edc113043837c5c99870accc7f98943b3abae2 SHA256 (FreeBSD-12.0-RC1-i386.qcow2.xz) = 7b14f9b76cf455d30cbb2cdca5606a10ec599225320ef01a8983a94644a69d1e SHA256 (FreeBSD-12.0-RC1-i386.raw.xz) = ec1ad4040a94acc67b512324339976c511cdfba2ba654b2dfbe2e05079c81264 SHA256 (FreeBSD-12.0-RC1-i386.vhd.xz) = 32fad28cb64a08783ae7e666d475bda5d89c5d9371d56adb1f0f7889ad899a74 SHA256 (FreeBSD-12.0-RC1-i386.vmdk.xz) = 847ee78396c67e48a4d4f2538e53942c39f8a1ac22797e6d6b0cc4ffd1edc2ec o 12.0-RC1 aarch64: SHA512 (FreeBSD-12.0-RC1-arm64-aarch64.qcow2.xz) = 43ac321c8ef28fa85fc93b5ee33ced552cf070105154cd0317ee1610bfbce601ad57457828f66eca3b086e6bc19d89d499f0c647501a19b569bf40d72d998d4a SHA512 (FreeBSD-12.0-RC1-arm64-aarch64.raw.xz) = 0167744d9321baf897d09fd2c9e8e3a3bd6b0b349529de9e21b31bf8063b0ac0e8ed0912508ab20ef4647892092a2c4fe2532434810feddff13a890c6b367ef2 SHA512 (FreeBSD-12.0-RC1-arm64-aarch64.vhd.xz) = 9d513ef28792ac4ec526fd12a680cd2dfb8bf12adde02e16eddf85d0c2cffb97ba8cc9109efe84346b9ab2699015b8aa89c3dade283f8f5d8cfa3bf4c359eece SHA512 (FreeBSD-12.0-RC1-arm64-aarch64.vmdk.xz) = fe548a75eea54ff401ea76eac1052c165f993fda5c00be8c403dad1c045a8a0c39e6a5fce6b6ad87276b1ce5347dc352a1db7ae988e97e8049417dab383701dc SHA256 (FreeBSD-12.0-RC1-arm64-aarch64.qcow2.xz) = 80b267038d6c4bc3b1a640f0a568aab82191dcb96649341a341b5094f90b2ce3 SHA256 (FreeBSD-12.0-RC1-arm64-aarch64.raw.xz) = b671736c86b98d5a724299d5f99ef9ab10b7f184989dc8fda44c64016b03d9be SHA256 (FreeBSD-12.0-RC1-arm64-aarch64.vhd.xz) = 5a2b278d4d4b024567f3e7ddab3e54fa3e49f8d2da4b5481a2de59c48af29ee6 SHA256 (FreeBSD-12.0-RC1-arm64-aarch64.vmdk.xz) = e02aa714a98cd30852f45388dc95be486d0fded8827115e09307594efe56563d Regards, Glen Love FreeBSD? Support this and future releases with a donation to the FreeBSD Foundation! https://www.freebsdfoundation.org/donate/ -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEjRJAPC5sqwhs9k2jAxRYpUeP4pMFAlvwXJQACgkQAxRYpUeP 4pO0RRAAhL4OrYRhlUw9sqmD2d5paNygpSRoYXRJSbX+eHD3smXWRZxaQjLDnawc lw3AnAMgul5m+DNSEIl9akAaUf9+3+KZt/AzH5zyQEc569ZhEX7vyhT0h/nVejme cZCWgqzcWk/UuFroUIUSBt/XB8XVAFSronyxcobQGqOuniYbL+FhLq69imOwzJWG JnaPOB7FkpAAAnNI+Hn4N1RmI11IuhFl0WRwum6b1VHbwA3iO08UaCHfUy+PDVCS 388djSMy/Lvi/FNCbZG+jHZE567vrvB23tAX3ShWkCZ5ld1nBZfY713nH+hzoRL4 CsGtoM6eZxkPjwWef4ps4QY6YVFsQrcMFHFMrllEgkCkitp+L21p7LzvW97VG2Ne p/BcT6dif6g+sjVbuFZzP//BnDBIpH9n1JNBfqtWTrCHGYOiZXgPnV7g5j/qZCY7 +p22IHippuPodpjrY0Sz09aB7hTcs2ymWNdcuvxOeAjvw5cV9s2gBHoxvZyEoTsb B44Eb9P4AuemP0Fy5t93H3LuvZ+otXhow7g8wRK8oPwnxfQqecz33pMdJuxhMXHE /qxkMvRv1PLpmU22ed75qda20p1v0RjjGYvanoxyjF2qSn/Mz8vD4MF9QKvntoi6 Orcc9HOUiA0hiusDH7dhkkpl7v2iK3hRyqxhjIl/0A+eIgHtpAQ= =jxYW -----END PGP SIGNATURE----- From owner-freebsd-current@freebsd.org Sat Nov 17 20:54:25 2018 Return-Path: Delivered-To: freebsd-current@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 958721105435 for ; Sat, 17 Nov 2018 20:54:25 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic311-22.consmr.mail.ne1.yahoo.com (sonic311-22.consmr.mail.ne1.yahoo.com [66.163.188.203]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C2D447E87F for ; Sat, 17 Nov 2018 20:54:24 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-YMail-OSG: Ow4UN7wVM1klLgX5Xh6fzl9r_3mNY4Wi8FVEh0H07DMOc7wAyEyr6vLVMtfKLYg mV9mu5MZ4IvrhpPLVdM6JpCbOWsYlYHO3o79h10LybxKnx5JViMH0HBJwjlH.dI3PEWDpT.O3fkA IHDuftYHaejR0qaC1CoOKZFKNzCkgHSPOt.xvFgytfqF_YJhd7RsTsFOhwXbQJ_SEuAFRtOJLNGB SRVsB8j2Ml3n3xeEB7PSTKUsI3pRfQvq1yYwqWyAOsQVDCjdN678LliOuOShl_qdirh9hDyZLY4e 0VGuQMMS75W6DCff1sPQ8lxdf5IqsCNSvNbOkEVpGOJBAJh4.1WofkqVI6Ok7ykkGgyFpjcerRjh uppkLRYlOh3yBkiAhZA7r199qdIa2STw67pCUL96T7DWyux2xyftybfgf12qnssBqszOZgYJjz4e Um5IHPS8THc0bPsdgRczFyeocfTKOrTuvOMPSC1ZIRiNY73D2LaSYsPbtkWZIE28MJohViuKyPFy vPSoNuI6YxWawEUARue2iEJ1X1pj4BzraKSz0YCAWjPPTj_mOwsrgVezyLCj7nmhPn4MP10eBe4u 4GqsvvzkpTEd31OuepHpc87t4BhyqMNKHvjgqWrBkP90ncfyBlhPwIloIoYokDYkPml57p7aMbSN pnlFo9u6jaL4IkTK70jhmzTj1ZCpx7vNx9o7995Vi1vYAoWp._ST7Xht4hKg9HyIsHrbxLOWS0VC K2YcNF51u041aTcfpLfaGVw0os8dyNnGO9wpKlN6.SB0ud1tpmr2V2RxlB_DjgIUN7OYyOIkXzu1 gh5S2EbxjK5.EYzoJONInKWuHak17aOiELj3d6FkrQCzNI_yt9hiYjkc14MsTNu7tNjxOB.h74qt xK3NJ2UZUdXy1_8selw2gTDEEXCmDw5uav6mXJhH9Fl5SnWiZdH_wWFkjAno1TqdS41k3raO.ZAO .mQnBMfdJubjLNk70VxUj.xom0VdyoAC1j0vA7Kqch8OP8093X11KKXkVwcgo4qe6Q_jKwPRic1r YkLgCLsUnLJOHctwzt_m_6vpqsOwe73iaW8n291AxoRZZXwVkALzORlk- Received: from sonic.gate.mail.ne1.yahoo.com by sonic311.consmr.mail.ne1.yahoo.com with HTTP; Sat, 17 Nov 2018 20:54:18 +0000 Received: from c-76-115-7-162.hsd1.or.comcast.net (EHLO [192.168.1.25]) ([76.115.7.162]) by smtp432.mail.ne1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID 731e46a7bfa50211595b568c5289d8db; Sat, 17 Nov 2018 20:54:14 +0000 (UTC) From: Mark Millard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Mac OS X Mail 12.1 \(3445.101.1\)) Subject: Ryzen Threadripper 1950X based on head -r340287: sysctl dev.cpu: 0-30 but no 31? (top shows all 31 "CPU"s) Message-Id: <0454B3C7-39E2-44CD-8028-B68A272FA7AA@yahoo.com> Date: Sat, 17 Nov 2018 12:54:13 -0800 To: FreeBSD Current , freebsd-amd64@freebsd.org X-Mailer: Apple Mail (2.3445.101.1) X-Rspamd-Queue-Id: C2D447E87F X-Spamd-Result: default: False [1.99 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[yahoo.com]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; MV_CASE(0.50)[]; MIME_GOOD(-0.10)[text/plain]; FREEMAIL_FROM(0.00)[yahoo.com]; NEURAL_SPAM_SHORT(0.94)[0.937,0]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[yahoo.com:+]; MX_GOOD(-0.01)[cached: mta6.am0.yahoodns.net]; RCVD_IN_DNSWL_NONE(0.00)[203.188.163.66.list.dnswl.org : 127.0.5.0]; RCPT_COUNT_TWO(0.00)[2]; IP_SCORE(1.56)[ip: (4.39), ipnet: 66.163.184.0/21(1.95), asn: 36646(1.56), country: US(-0.10)]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; ASN(0.00)[asn:36646, ipnet:66.163.184.0/21, country:US]; MID_RHS_MATCH_FROM(0.00)[]; SUBJECT_HAS_QUESTION(0.00)[] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Nov 2018 20:54:25 -0000 For some reason there is no .dev.cpu.31 listed for the 1950X that I use. This is a native boot, not use under Hyper-V. For illustration I list: # sysctl dev.cpu | grep "desc" dev.cpu.30.%desc: ACPI CPU dev.cpu.29.%desc: ACPI CPU dev.cpu.28.%desc: ACPI CPU dev.cpu.27.%desc: ACPI CPU dev.cpu.26.%desc: ACPI CPU dev.cpu.25.%desc: ACPI CPU dev.cpu.24.%desc: ACPI CPU dev.cpu.23.%desc: ACPI CPU dev.cpu.22.%desc: ACPI CPU dev.cpu.21.%desc: ACPI CPU dev.cpu.20.%desc: ACPI CPU dev.cpu.19.%desc: ACPI CPU dev.cpu.18.%desc: ACPI CPU dev.cpu.17.%desc: ACPI CPU dev.cpu.16.%desc: ACPI CPU dev.cpu.15.%desc: ACPI CPU dev.cpu.14.%desc: ACPI CPU dev.cpu.13.%desc: ACPI CPU dev.cpu.12.%desc: ACPI CPU dev.cpu.11.%desc: ACPI CPU dev.cpu.10.%desc: ACPI CPU dev.cpu.9.%desc: ACPI CPU dev.cpu.8.%desc: ACPI CPU dev.cpu.7.%desc: ACPI CPU dev.cpu.6.%desc: ACPI CPU dev.cpu.5.%desc: ACPI CPU dev.cpu.4.%desc: ACPI CPU dev.cpu.3.%desc: ACPI CPU dev.cpu.2.%desc: ACPI CPU dev.cpu.1.%desc: ACPI CPU dev.cpu.0.%desc: ACPI CPU # sysctl dev.cpu.0 dev.cpu.0.temperature: 57.1C dev.cpu.0.cx_method: C1/hlt C2/io dev.cpu.0.cx_usage_counters: 0 0 dev.cpu.0.cx_usage: 0.00% 0.00% last 1000000us dev.cpu.0.cx_lowest: C1 dev.cpu.0.cx_supported: C1/1/0 C2/2/100 dev.cpu.0.freq_levels: 3400/-1 2800/-1 2200/-1 dev.cpu.0.freq: 3400 dev.cpu.0.%parent: acpi0 dev.cpu.0.%pnpinfo: _HID=none _UID=0 dev.cpu.0.%location: handle=\_PR_.C001 dev.cpu.0.%driver: cpu dev.cpu.0.%desc: ACPI CPU # sysctl dev.cpu.31 sysctl: unknown oid 'dev.cpu.31' By contrast I show from top's output all 0-31 CPU's: CPU 0: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 100% idle CPU 1: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 100% idle CPU 2: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 100% idle CPU 3: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 100% idle CPU 4: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 100% idle CPU 5: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 100% idle CPU 6: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 100% idle CPU 7: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 100% idle CPU 8: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 100% idle CPU 9: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 100% idle CPU 10: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 100% idle CPU 11: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 100% idle CPU 12: 0.0% user, 0.0% nice, 0.0% system, 1.1% interrupt, 98.9% idle CPU 13: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 100% idle CPU 14: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 100% idle CPU 15: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 100% idle CPU 16: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 100% idle CPU 17: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 100% idle CPU 18: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 100% idle CPU 19: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 100% idle CPU 20: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 100% idle CPU 21: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 100% idle CPU 22: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 100% idle CPU 23: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 100% idle CPU 24: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 100% idle CPU 25: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 100% idle CPU 26: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 100% idle CPU 27: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 100% idle CPU 28: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 100% idle CPU 29: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 100% idle CPU 30: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 100% idle CPU 31: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 100% idle === Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar) From owner-freebsd-current@freebsd.org Sat Nov 17 20:56:55 2018 Return-Path: Delivered-To: freebsd-current@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 7C3011105631 for ; Sat, 17 Nov 2018 20:56:55 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic315-21.consmr.mail.ne1.yahoo.com (sonic315-21.consmr.mail.ne1.yahoo.com [66.163.190.147]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E9FA87F15F for ; Sat, 17 Nov 2018 20:56:54 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-YMail-OSG: mnjFqEAVM1klkAOHNFHvp8aSmQOj00LnPk9oHcKk9D7gjEvInucFkt8HqxrG4sn yfdttr6MSwTOUFJ4tO8yRWaqKr1rMRXFy_pEi5vHEjMkK7oAnyxzwmnUiR6Dthao4tGeDpXyAASA 7wS.O1anfY.puAAbO7QHyTQ3bypp484RzYDG6R6oIYTqrfJ9rWQkI_.ZWA5_UqrBCef3HjAnvuNw KdO6uTdua38sUa1meJabHFXkR4ZdH5eCAZNlvJUj6NH7mi_wO6cMx0dUwtDRr.8aZfAu.NKxux.V 1ZCQYorLJiNHsRMDc3rENtme_20CN4JKt74aaH0pQ2gyHhv9qxV78FawPLaAr6mBUeptOvMq1JCS dt1iA8U1kfVIbm9byrk_gmTW.CIMZkrY6VOgNtAkCUxALRYSQsyW2HSQYTvbIPp9NY3YvbOvSW_R L0zVJmed3_MfGHlwOmWqTU1gtHrNvXqhBOkFdGx0qBbgwEmIS_0cl.ScFY7uWHkylyhyYTp.lSHW yP31Qr13eC0zp_NIZ9QQbTErlYe4AeIKX4ya3h.tSPYNl2qd9i_zqrVKlgHTh38zJjcNYUsQVwEY jzpYw41x4fMt3slrEO.30QGC_Pv7__ZcZCm5HoIbKnEEY4d2Rf2s3RTX6ZkbZVDpXK6YzJT.zAUd tFO87FgoiYPooGWLfLwoHMgxCFzQV_oZawaCcGWax3enGJizUuTomkkA3weyD0atOGd7c_pa8oj. RVGlYe9CNn3xic36cJw1CM9D3jdjAEJ86tLGDxuldU2R5ZXQGOkOoJ4mOjPq6_LXNln_N6tT0crf .HfffMLoHq.NPozEthk36byGlLckgQa3ipEtB36iqQEgf3fIEL65gv6lf2oo7AxxNbCB9KRjor7. L8wuP6DzJ02mr.raUMDrQrs5eB85VDCxEcunzgnK_IW2kkbSYBmOz762C9anmZKvecUFdia7LbJh KfrLnh_uz.Bw0GrK6.NbCK2X5ty3sqbZoj2MSJXTHDB885tf1VzzanFgMsqRguv8TuHyqcxpWtm2 XyMx9CfHZwR5RnPRkJnTRxK9Go9zxtERg4BmS10BZB7KhfNoRPhm09t5Zxhk- Received: from sonic.gate.mail.ne1.yahoo.com by sonic315.consmr.mail.ne1.yahoo.com with HTTP; Sat, 17 Nov 2018 20:56:54 +0000 Received: from c-76-115-7-162.hsd1.or.comcast.net (EHLO [192.168.1.25]) ([76.115.7.162]) by smtp409.mail.ne1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID f7f3f9dc0c4e6728595cb0d9327249c3; Sat, 17 Nov 2018 20:56:49 +0000 (UTC) From: Mark Millard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Mac OS X Mail 12.1 \(3445.101.1\)) Subject: Re: Ryzen Threadripper 1950X based on head -r340287: sysctl dev.cpu: 0-30 but no 31? (top shows all 0-31 "CPU"s) [subject corrected] Date: Sat, 17 Nov 2018 12:56:48 -0800 References: <0454B3C7-39E2-44CD-8028-B68A272FA7AA@yahoo.com> To: FreeBSD Current , freebsd-amd64@freebsd.org In-Reply-To: <0454B3C7-39E2-44CD-8028-B68A272FA7AA@yahoo.com> Message-Id: X-Mailer: Apple Mail (2.3445.101.1) X-Rspamd-Queue-Id: E9FA87F15F X-Spamd-Result: default: False [2.08 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[yahoo.com]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; FREEMAIL_FROM(0.00)[yahoo.com]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; MIME_GOOD(-0.10)[text/plain]; MV_CASE(0.50)[]; NEURAL_SPAM_SHORT(0.94)[0.942,0]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[yahoo.com:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[147.190.163.66.list.dnswl.org : 127.0.5.0]; MX_GOOD(-0.01)[cached: mta6.am0.yahoodns.net]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; IP_SCORE(1.64)[ip: (4.83), ipnet: 66.163.184.0/21(1.94), asn: 36646(1.55), country: US(-0.10)]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; ASN(0.00)[asn:36646, ipnet:66.163.184.0/21, country:US]; MID_RHS_MATCH_FROM(0.00)[]; SUBJECT_HAS_QUESTION(0.00)[] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Nov 2018 20:56:55 -0000 [Fixing dumb, confusing subject typo. No change below.] On 2018-Nov-17, at 12:54, Mark Millard wrote: > For some reason there is no .dev.cpu.31 listed for the 1950X that > I use. This is a native boot, not use under Hyper-V. For > illustration I list: > > # sysctl dev.cpu | grep "desc" > dev.cpu.30.%desc: ACPI CPU > dev.cpu.29.%desc: ACPI CPU > dev.cpu.28.%desc: ACPI CPU > dev.cpu.27.%desc: ACPI CPU > dev.cpu.26.%desc: ACPI CPU > dev.cpu.25.%desc: ACPI CPU > dev.cpu.24.%desc: ACPI CPU > dev.cpu.23.%desc: ACPI CPU > dev.cpu.22.%desc: ACPI CPU > dev.cpu.21.%desc: ACPI CPU > dev.cpu.20.%desc: ACPI CPU > dev.cpu.19.%desc: ACPI CPU > dev.cpu.18.%desc: ACPI CPU > dev.cpu.17.%desc: ACPI CPU > dev.cpu.16.%desc: ACPI CPU > dev.cpu.15.%desc: ACPI CPU > dev.cpu.14.%desc: ACPI CPU > dev.cpu.13.%desc: ACPI CPU > dev.cpu.12.%desc: ACPI CPU > dev.cpu.11.%desc: ACPI CPU > dev.cpu.10.%desc: ACPI CPU > dev.cpu.9.%desc: ACPI CPU > dev.cpu.8.%desc: ACPI CPU > dev.cpu.7.%desc: ACPI CPU > dev.cpu.6.%desc: ACPI CPU > dev.cpu.5.%desc: ACPI CPU > dev.cpu.4.%desc: ACPI CPU > dev.cpu.3.%desc: ACPI CPU > dev.cpu.2.%desc: ACPI CPU > dev.cpu.1.%desc: ACPI CPU > dev.cpu.0.%desc: ACPI CPU > > # sysctl dev.cpu.0 > dev.cpu.0.temperature: 57.1C > dev.cpu.0.cx_method: C1/hlt C2/io > dev.cpu.0.cx_usage_counters: 0 0 > dev.cpu.0.cx_usage: 0.00% 0.00% last 1000000us > dev.cpu.0.cx_lowest: C1 > dev.cpu.0.cx_supported: C1/1/0 C2/2/100 > dev.cpu.0.freq_levels: 3400/-1 2800/-1 2200/-1 > dev.cpu.0.freq: 3400 > dev.cpu.0.%parent: acpi0 > dev.cpu.0.%pnpinfo: _HID=none _UID=0 > dev.cpu.0.%location: handle=\_PR_.C001 > dev.cpu.0.%driver: cpu > dev.cpu.0.%desc: ACPI CPU > > # sysctl dev.cpu.31 > sysctl: unknown oid 'dev.cpu.31' > > By contrast I show from top's output all 0-31 CPU's: > > CPU 0: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 100% idle > CPU 1: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 100% idle > CPU 2: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 100% idle > CPU 3: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 100% idle > CPU 4: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 100% idle > CPU 5: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 100% idle > CPU 6: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 100% idle > CPU 7: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 100% idle > CPU 8: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 100% idle > CPU 9: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 100% idle > CPU 10: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 100% idle > CPU 11: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 100% idle > CPU 12: 0.0% user, 0.0% nice, 0.0% system, 1.1% interrupt, 98.9% idle > CPU 13: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 100% idle > CPU 14: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 100% idle > CPU 15: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 100% idle > CPU 16: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 100% idle > CPU 17: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 100% idle > CPU 18: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 100% idle > CPU 19: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 100% idle > CPU 20: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 100% idle > CPU 21: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 100% idle > CPU 22: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 100% idle > CPU 23: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 100% idle > CPU 24: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 100% idle > CPU 25: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 100% idle > CPU 26: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 100% idle > CPU 27: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 100% idle > CPU 28: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 100% idle > CPU 29: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 100% idle > CPU 30: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 100% idle > CPU 31: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 100% idle === Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar) From owner-freebsd-current@freebsd.org Sat Nov 17 22:26:11 2018 Return-Path: Delivered-To: freebsd-current@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 E016711085DE; Sat, 17 Nov 2018 22:26:11 +0000 (UTC) (envelope-from rebecca@bluestop.org) Received: from muon.bluestop.org (muon.bluestop.org [96.73.9.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 54B7883605; Sat, 17 Nov 2018 22:26:11 +0000 (UTC) (envelope-from rebecca@bluestop.org) Received: from muon.bluestop.org (localhost [127.0.0.1]) by muon.bluestop.org (Postfix) with ESMTP id 1D544D2225; Sat, 17 Nov 2018 15:26:54 -0700 (MST) Received: from muon.bluestop.org ([127.0.0.1]) by muon.bluestop.org (muon.bluestop.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id tCSzO78MDVlf; Sat, 17 Nov 2018 15:26:53 -0700 (MST) Received: from photon.int.bluestop.org (gw.bluestop.org [96.73.9.3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by muon.bluestop.org (Postfix) with ESMTPSA; Sat, 17 Nov 2018 15:26:53 -0700 (MST) From: Rebecca Cran To: freebsd-current@freebsd.org Cc: Subbsd , imp@bsdimp.com, kevans@freebsd.org, freebsd-rwg@pdx.rh.cn85.dnsmgr.net, freebsd-virtualization@freebsd.org Subject: Re: UEFI GOP: screen goes blank during boot after loader is finished Date: Sat, 17 Nov 2018 15:26:09 -0700 Message-ID: <2766389.yzQzn1nXtE@photon.int.bluestop.org> In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Rspamd-Queue-Id: 54B7883605 X-Spamd-Result: default: False [-4.70 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[bluestop.org]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; MIME_GOOD(-0.10)[text/plain]; IP_SCORE(-3.21)[ip: (-9.81), ipnet: 96.64.0.0/11(-4.89), asn: 7922(-1.26), country: US(-0.10)]; RCPT_COUNT_FIVE(0.00)[6]; RCVD_COUNT_THREE(0.00)[4]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[bluestop.org:+]; DMARC_POLICY_ALLOW(-0.50)[bluestop.org,quarantine]; MX_GOOD(-0.01)[cached: mail.bluestop.org]; NEURAL_HAM_SHORT(-0.98)[-0.979,0]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; CTE_CASE(0.50)[]; ASN(0.00)[asn:7922, ipnet:96.64.0.0/11, country:US]; FREEMAIL_CC(0.00)[gmail.com] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Nov 2018 22:26:12 -0000 On Saturday, 17 November 2018 09:29:34 MST Subbsd wrote: > Thus, perhaps the root of this problem should be sought in > uefi-edk2-bhyve the package. Latest CBSD release (12.0.1) fixed this > problem by disabling serial console. However, CBSD uses an alternative > boot method for bhyve ( uefi-edk2-bhyve + reFIND ) Another data point is that OVMF (UEFI version 2.70) running under Qemu the problem doesn't occur. -- Rebecca From owner-freebsd-current@freebsd.org Sat Nov 17 22:35:57 2018 Return-Path: Delivered-To: freebsd-current@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 B4CC41108C39 for ; Sat, 17 Nov 2018 22:35:57 +0000 (UTC) (envelope-from imb@protected-networks.net) Received: from mail.protected-networks.net (mail.protected-networks.net [IPv6:2001:470:8d59:1::8]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (Client CN "mail.protected-networks.net", Issuer "Protected Networks CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id CBE9C83C4E for ; Sat, 17 Nov 2018 22:35:55 +0000 (UTC) (envelope-from imb@protected-networks.net) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d= protected-networks.net; h=content-transfer-encoding :content-language:content-type:content-type:mime-version :user-agent:date:date:message-id:subject:subject:from:from; s= 201508; t=1542494152; bh=O6+f06+QoW+qzjGVP6XLumB1XB/qA+UJRd1GhdF +3vc=; b=UnEQxjQs/KaPmt+zDZifohhwbez/Q+KAQvcKNYu7FQmHrsXEKkpqy/C F/ntGH4m2J242xxjhrgclKYEjlAQGEyKVCtPOmIGlc4FwEGu2J6i5hN68bgmnqLK 7614RugqcoKzM/f99FokwQARBOsrYEsTK5axsMgfiyJSyh8rOVEU= Received: from toshi.auburn.protected-networks.net (toshi.auburn.protected-networks.net [192.168.1.10]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (Client did not present a certificate) (Authenticated sender: imb@mail.protected-networks.net) by mail.protected-networks.net (Postfix) with ESMTPSA id BE72A1BBC3 for ; Sat, 17 Nov 2018 17:35:52 -0500 (EST) To: freebsd-current From: Michael Butler Subject: building release images broken? Openpgp: preference=signencrypt Message-ID: <0d00d29f-5ff5-8507-d8ae-fe8b32ef3513@protected-networks.net> Date: Sat, 17 Nov 2018 17:35:52 -0500 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.3.1 MIME-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: CBE9C83C4E X-Spamd-Result: default: False [-2.11 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[protected-networks.net]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; DMARC_NA(0.00)[protected-networks.net]; RCPT_COUNT_ONE(0.00)[1]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[protected-networks.net:+]; MX_GOOD(-0.01)[sarah.protected-networks.net,mail.protected-networks.net,sarah.protected-networks.net,mail.protected-networks.net]; NEURAL_HAM_SHORT(-0.95)[-0.952,0]; FROM_EQ_ENVFROM(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; IP_SCORE(-1.65)[ipnet: 2001:470::/32(-4.55), asn: 6939(-3.59), country: US(-0.10)]; ASN(0.00)[asn:6939, ipnet:2001:470::/32, country:US]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Nov 2018 22:35:57 -0000 Any clues as to what's broken here? I'm trying to build a CD and/or DVD image. My tree is at SVN r340525. -------------------------------------------------------------- >>> Kernel build for GENERIC completed on Sat Nov 17 22:19:48 UTC 2018 -------------------------------------------------------------- make -C /usr/src/release obj make -C /usr/src/release ftp cdrom dvdrom memstick.img mini-memstick.img `ftp' is up to date. sh /usr/src/release/amd64/mkisoimages.sh -b 13_0_CURRENT_amd64_CD disc1.iso disc1 200+0 records in 200+0 records out 819200 bytes transferred in 0.003692 secs (221856674 bytes/sec) newfs_msdos: cannot get number of sectors per track: Operation not supported newfs_msdos: cannot get number of heads: Operation not supported /dev/md0: 1557 sectors in 1557 FAT12 clusters (512 bytes/cluster) BytesPerSec=512 SecPerClust=1 ResSectors=1 FATs=2 RootDirEnts=512 Sectors=1600 Media=0xf8 FATsecs=5 SecPerTrack=63 Heads=1 HiddenSecs=0 mkdir: efi: File exists *** Error code 1 Stop. make[1]: stopped in /usr/src/release *** Error code 1 Stop. make: stopped in /usr/src/release