From nobody Sun Aug 01 14:03:32 2021 X-Original-To: current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 58E2212B32F7 for ; Sun, 1 Aug 2021 14:03:48 +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 4Gd2tC4xNBz4VCV for ; Sun, 1 Aug 2021 14:03:47 +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 171E3WMu053882 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO) for ; Sun, 1 Aug 2021 17:03:35 +0300 (EEST) (envelope-from kostikbel@gmail.com) DKIM-Filter: OpenDKIM Filter v2.10.3 kib.kiev.ua 171E3WMu053882 Received: (from kostik@localhost) by tom.home (8.16.1/8.16.1/Submit) id 171E3WVj053881 for current@freebsd.org; Sun, 1 Aug 2021 17:03:32 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: tom.home: kostik set sender to kostikbel@gmail.com using -f Date: Sun, 1 Aug 2021 17:03:32 +0300 From: Konstantin Belousov To: current@freebsd.org Subject: Re: Panic with no keyboard after update to main-n248404-60fb9e10c74c Message-ID: References: List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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: 4Gd2tC4xNBz4VCV X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-ThisMailContainsUnwantedMimeParts: N On Sun, Aug 01, 2021 at 06:01:56AM -0700, David Wolfskill wrote: > Once I was able to complete the "make installworld" after updating > from main-n248391-f7f76c200a8c to main-n248404-60fb9e10c74c, the > subsequent reboot yielded a panic with the keyboard inoperable. > > I needed to power-cycle the laptop to get it to respond; once I did, I > tried requesting that the loader laod & boot kernel.old. It loaded it, > with the whinie "module 'kernel' exists but with wron version" and > didn't seem to pass control to it. > > Screen shots in http://www.catwhisker.org/~david/FreeBSD/head/n248404/ > -- named "panic.jpg" and "kernel.old.jpg" (respectively). > > > I'm heading out for a couple of hours, but should be able to respond > upon my return. It seems you block my home external ip address (or country?). Your issue with the kernel.old is that nvidia.ko was rebuilt against newer kernel, so it cannot be loaded together with older kernel. Anyway, please update past 1a55a3a729cd4424e17308d3 _and_ apply the following patch: diff --git a/sys/amd64/amd64/machdep.c b/sys/amd64/amd64/machdep.c index 8599dc2fa8f6..144b4a522bcc 100644 --- a/sys/amd64/amd64/machdep.c +++ b/sys/amd64/amd64/machdep.c @@ -1209,7 +1209,7 @@ getmemsize(caddr_t kmdp, u_int64_t first) * Tell the physical memory allocator about pages used to store * the kernel and preloaded data. See kmem_bootstrap_free(). */ - vm_phys_early_add_seg((vm_paddr_t)kernphys, trunc_page(first)); +// vm_phys_early_add_seg((vm_paddr_t)kernphys, trunc_page(first)); bzero(physmap, sizeof(physmap)); physmap_idx = 0;