From owner-dev-commits-src-main@freebsd.org Tue Sep 21 21:18:06 2021 Return-Path: Delivered-To: dev-commits-src-main@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id A002367B54A; Tue, 21 Sep 2021 21:18:06 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from kib.kiev.ua (kib.kiev.ua [IPv6:2001:470:d5e7:1::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4HDZ5n27jKz4bCG; Tue, 21 Sep 2021 21:18:05 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from tom.home (kib@localhost [127.0.0.1]) by kib.kiev.ua (8.16.1/8.16.1) with ESMTPS id 18LLHhaw086263 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Wed, 22 Sep 2021 00:17:46 +0300 (EEST) (envelope-from kostikbel@gmail.com) DKIM-Filter: OpenDKIM Filter v2.10.3 kib.kiev.ua 18LLHhaw086263 Received: (from kostik@localhost) by tom.home (8.16.1/8.16.1/Submit) id 18LLHhmv086261; Wed, 22 Sep 2021 00:17:43 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: tom.home: kostik set sender to kostikbel@gmail.com using -f Date: Wed, 22 Sep 2021 00:17:43 +0300 From: Konstantin Belousov To: Cy Schubert Cc: src-committers@freebsd.org, dev-commits-src-all@freebsd.org, dev-commits-src-main@freebsd.org Subject: Re: git: bd9e0f5df681 - main - amd64: eliminate td_md.md_fpu_scratch Message-ID: References: <202109211721.18LHLGn6028952@gitrepo.freebsd.org> <202109212053.18LKrErT005572@slippy.cwsent.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <202109212053.18LKrErT005572@slippy.cwsent.com> 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.5 X-Spam-Checker-Version: SpamAssassin 3.4.5 (2021-03-20) on tom.home X-Rspamd-Queue-Id: 4HDZ5n27jKz4bCG X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=fail reason="No valid SPF, No valid DKIM" header.from=gmail.com (policy=none); spf=softfail (mx1.freebsd.org: 2001:470:d5e7:1::1 is neither permitted nor denied by domain of kostikbel@gmail.com) smtp.mailfrom=kostikbel@gmail.com X-Spamd-Result: default: False [-3.00 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; DMARC_POLICY_SOFTFAIL(0.10)[gmail.com : No valid SPF, No valid DKIM,none]; RCVD_TLS_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; FREEMAIL_FROM(0.00)[gmail.com]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; HAS_XAW(0.00)[]; R_SPF_SOFTFAIL(0.00)[~all:c]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_HAM_SHORT(-1.00)[-1.000]; 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]; MIME_TRACE(0.00)[0:+]; MAILMAN_DEST(0.00)[dev-commits-src-all,dev-commits-src-main]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: dev-commits-src-main@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commit messages for the main branch of the src repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Sep 2021 21:18:06 -0000 On Tue, Sep 21, 2021 at 01:53:14PM -0700, Cy Schubert wrote: > In message <202109211721.18LHLGn6028952@gitrepo.freebsd.org>, Konstantin > Belous > ov writes: > > The branch main has been updated by kib: > > > > URL: https://cgit.FreeBSD.org/src/commit/?id=bd9e0f5df681da8b5ef05a587b4b5b07 > > 572d3fc2 > > > > commit bd9e0f5df681da8b5ef05a587b4b5b07572d3fc2 > > Author: Konstantin Belousov > > AuthorDate: 2021-09-15 18:37:47 +0000 > > Commit: Konstantin Belousov > > CommitDate: 2021-09-21 17:20:15 +0000 > > > > amd64: eliminate td_md.md_fpu_scratch > > This commit causes a panic running and i386 poudriere on an amd64. Notice > the ud2 machine instruction at line 107 in the disassemble portion of this > reply. > > Unread portion of the kernel message buffer: > interrupt enabled, resume, IOPL = 0 > current process = 5200 (cc) > trap number = 1 > panic: privileged instruction fault > cpuid = 3 > time = 1632253591 > KDB: stack backtrace: > db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame > 0xfffffe00e52377d0 > vpanic() at vpanic+0x187/frame 0xfffffe00e5237830 > panic() at panic+0x43/frame 0xfffffe00e5237890 > trap_fatal() at trap_fatal+0x387/frame 0xfffffe00e52378f0 > trap() at trap+0x8b/frame 0xfffffe00e5237a00 > calltrap() at calltrap+0x8/frame 0xfffffe00e5237a00 > --- trap 0x1, rip = 0xffffffff80a5fef1, rsp = 0xfffffe00e5237ad0, rbp = > 0xfffffe00e5237af0 --- > ia32_get_mcontext() at ia32_get_mcontext+0x181/frame 0xfffffe00e5237af0 > freebsd32_getcontext() at freebsd32_getcontext+0x52/frame 0xfffffe00e5237df0 > ia32_syscall() at ia32_syscall+0x126/frame 0xfffffe00e5237f30 > int0x80_syscall_common() at int0x80_syscall_common+0x9c/frame 0xffffca38 Should be fixed by c2ee4dfd0497. I converted get_fpcontext(), but forgot about same change for ia32_get_fpcontext(), sorry. Thank you for the report.