From owner-freebsd-current@freebsd.org Thu Jun 11 16:32:00 2020 Return-Path: Delivered-To: freebsd-current@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 7B71533914E for ; Thu, 11 Jun 2020 16:32:00 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 49jTsD278Bz41pN for ; Thu, 11 Jun 2020 16:32:00 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: by mailman.nyi.freebsd.org (Postfix) id 4899233914D; Thu, 11 Jun 2020 16:32:00 +0000 (UTC) Delivered-To: current@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 4864433909A for ; Thu, 11 Jun 2020 16:32:00 +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 49jTsC5qFGz41pM; Thu, 11 Jun 2020 16:31:59 +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 05BGVlnv040077 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Thu, 11 Jun 2020 19:31:50 +0300 (EEST) (envelope-from kostikbel@gmail.com) DKIM-Filter: OpenDKIM Filter v2.10.3 kib.kiev.ua 05BGVlnv040077 Received: (from kostik@localhost) by tom.home (8.15.2/8.15.2/Submit) id 05BGVl7F040076; Thu, 11 Jun 2020 19:31:47 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: tom.home: kostik set sender to kostikbel@gmail.com using -f Date: Thu, 11 Jun 2020 19:31:47 +0300 From: Konstantin Belousov To: Mark Johnston Cc: David Wolfskill , current@freebsd.org Subject: Re: Panic "vm_fault_lookup: fault on nofault entry" amd64 r362008 -> r362045 Message-ID: <20200611163147.GP48478@kib.kiev.ua> References: <20200611130500.GW1392@albert.catwhisker.org> <20200611132129.GL48478@kib.kiev.ua> <20200611132924.GX1392@albert.catwhisker.org> <20200611134658.GM48478@kib.kiev.ua> <20200611154456.GY1392@albert.catwhisker.org> <20200611155143.GN48478@kib.kiev.ua> <20200611161156.GB1392@albert.catwhisker.org> <20200611162417.GD32928@raichu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200611162417.GD32928@raichu> 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.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on tom.home X-Rspamd-Queue-Id: 49jTsC5qFGz41pM X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; ASN(0.00)[asn:6939, ipnet:2001:470::/32, country:US]; REPLY(-4.00)[] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.33 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, 11 Jun 2020 16:32:00 -0000 On Thu, Jun 11, 2020 at 12:24:17PM -0400, Mark Johnston wrote: > On Thu, Jun 11, 2020 at 09:11:56AM -0700, David Wolfskill wrote: > > On Thu, Jun 11, 2020 at 06:51:43PM +0300, Konstantin Belousov wrote: > > > ... > > > Can you boot into single-user, without loading linux/cuse/nvidia modules. > > > Even, do not load any module at all, and keeping root ro. > > > > > > If boot succeed, then try to load modules one by one and see which causes > > > panic. > > > > I commented out each of the "*_load" directives in /boot/loader.conf; > > rebooted; escaped to loader (from the boot menu); used "lsmod" to verify > > that nothing was loaded at that time, then issued "boot -s" -- which did > > succeed. > > > > Unfortunately, I ran out of time to do further experiments for now; I'll > > need to do some work-related things for a while, but thought that this > > might at least provide some useful information. > > > > Here is what I commented out: > > > > g1-55(12.1-S)[2] grep KIB boot/loader.conf > > # KIB coretemp_load="YES" > > # KIB iwn5000fw_load="YES" > > # KIB linux_load="YES" > > # KIB nvidia-modeset_load="YES" > > # KIB cuse_load="YES" > > # KIB geom_eli_load="YES" > > # KIB filemon_load="YES" > > Thanks. I'm able to reproduce a somewhat similar problem in bhyve: if I > preload iwn5000fw.ko, a r362045 kernel fails to boot very early with > > ---<>--- > ACPI: Failed to map RSDT > APIC: Could not find any APICs. > panic: running without device atpic requires a local APIC > > Reverting r362035 allows the kernel to boot again, but so does adding a > few printf() calls to the pmap and ACPI code. I have some private report that this is caused by r362031. Can you confirm that reverting it helps ? If yes, please show me the output of sysctl vm.pmap.