From owner-freebsd-net@freebsd.org Wed May 5 18:38:24 2021 Return-Path: Delivered-To: freebsd-net@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 EB4095FF0D9 for ; Wed, 5 May 2021 18:38:24 +0000 (UTC) (envelope-from markjdb@gmail.com) Received: from mail-qt1-x835.google.com (mail-qt1-x835.google.com [IPv6:2607:f8b0:4864:20::835]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Fb57g6H2Kz4clB for ; Wed, 5 May 2021 18:38:23 +0000 (UTC) (envelope-from markjdb@gmail.com) Received: by mail-qt1-x835.google.com with SMTP id o1so2019497qta.1 for ; Wed, 05 May 2021 11:38:23 -0700 (PDT) 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; bh=lgwvK1otAsUlCLON7os8nAga9qMH/KHJKn15KEcskwQ=; b=Wfvx5Xt916yoR7LpMVUjE7zRTfpEmv6U3BlLmlZlAhbVXEIRc8XSS4tjz36I2YpbhD UhLC3/huPk5nwCfL6nI26KHIGdc0KX+jpMFheBt2H0cp7UAfp0AjsN2DamjK1r8rpa0k TR1mGoAIMvg8BdcpF7gGHaiQXYfXg4p1plqYBIibz1sRAzhtJX7+BslqTl5YDZa6jFXx cMG4mLhCH2VczNAjs76b+0LGyEL+KKqWvhnjzWdAujt5QzOR9iapWfYKDAaJH+wEsONw i3KLypIZqh4Us715UtnvUw4j1Qnh91l/4UAeU3baa20Qkl1V+1XsU0Eiy33HWAGj3wr8 sGag== 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; bh=lgwvK1otAsUlCLON7os8nAga9qMH/KHJKn15KEcskwQ=; b=IwQ0djJSKwkMIGQLR2TZwxznXVQynZMOUB33zO9k/zLzE55YlC27u+EqFfhrM9zBkD VfHNvXmNRco/7wzSIdFAPhQBjmX1HPRXJxoQo0PkiCNgol51Gi1HOEch44+/YcFPtsVX pZh6ZZnidPGebik7IFjx1fBCpKvXiYGP3RFRV9d95lsPc9rS5nc54yN1FSTldwhhm8ZZ DdQL+ftBVsQXONudEu5rmymjLfQwQV8JcHoRT1oWRQtPZgy7+pcnpr2T8dzivSxCQtux 65rk9f8PminT3i3N9xjM1IFIj6IAtFYJtEHrKzFO9oXVmAbnnI4rLFSliryk9CKC/Uqi 2K2Q== X-Gm-Message-State: AOAM5320jzTeHQtGpKPlsK4ginBtae9bO5OZ3XOmgigL6Wy/qtYNEXJx 4Auprtu4N7rnJaNyskS8seU= X-Google-Smtp-Source: ABdhPJx+2P8wM5Dumf5zZ6pszlGUrrBcVX4uot/H7+J7UAWqicI8CtzhsG/T97dVXocbsdNB62i+Pw== X-Received: by 2002:ac8:5b8f:: with SMTP id a15mr29531121qta.21.1620239902684; Wed, 05 May 2021 11:38:22 -0700 (PDT) Received: from nuc ([142.126.164.150]) by smtp.gmail.com with ESMTPSA id 7sm52527qtu.38.2021.05.05.11.38.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 05 May 2021 11:38:22 -0700 (PDT) Sender: Mark Johnston Date: Wed, 5 May 2021 14:38:23 -0400 From: Mark Johnston To: Michael Schmiedgen Cc: freebsd-net@freebsd.org Subject: Re: page fault while in kernel mode - after upgrade from 12.2 to 13.0 Message-ID: References: <51a3abc5-76b9-df09-acbe-895b62ec87b3@gmx.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <51a3abc5-76b9-df09-acbe-895b62ec87b3@gmx.net> X-Rspamd-Queue-Id: 4Fb57g6H2Kz4clB X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=Wfvx5Xt9; dmarc=none; spf=pass (mx1.freebsd.org: domain of markjdb@gmail.com designates 2607:f8b0:4864:20::835 as permitted sender) smtp.mailfrom=markjdb@gmail.com X-Spamd-Result: default: False [-2.70 / 15.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]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FREEMAIL_TO(0.00)[gmx.net]; FORGED_SENDER(0.30)[markj@freebsd.org,markjdb@gmail.com]; MIME_TRACE(0.00)[0:+]; RBL_DBL_DONT_QUERY_IPS(0.00)[2607:f8b0:4864:20::835:from]; 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)[-1.000]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-net@freebsd.org]; DMARC_NA(0.00)[freebsd.org]; SPAMHAUS_ZRD(0.00)[2607:f8b0:4864:20::835:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::835:from]; MID_RHS_NOT_FQDN(0.50)[]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-net] X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 May 2021 18:38:25 -0000 On Wed, May 05, 2021 at 06:35:32PM +0200, Michael Schmiedgen wrote: > On 04.05.2021 21:02, Mark Johnston wrote: > > This looks like fairly random kernel memory corruption. Are you able to > > build an INVARIANTS kernel and test that? Assuming you're using 13.0, > > you'd grab the 13.0 sources, add "options INVARIANT_SUPPORT" and > > "options INVARIANTS" to the GENERIC kernel configuration in > > sys/amd64/conf, and do a "make buildkernel installkernel". > > Below some info with an INVARIANTS kernel. Please let me know if I can provide > further information. Thank you! Thanks, this helped a lot. I believe https://reviews.freebsd.org/D30129 will fix the problem. That patch is against the main branch but applies cleanly to 13.0.