Date: Sun, 1 Aug 2021 10:32:10 -0700 From: David Wolfskill <david@catwhisker.org> To: Konstantin Belousov <kostikbel@gmail.com> Cc: current@freebsd.org Subject: Re: Panic with no keyboard after update to main-n248404-60fb9e10c74c Message-ID: <YQbamtnqoRPuAQ0e@albert.catwhisker.org> In-Reply-To: <YQaptG0DvvzUMRTv@kib.kiev.ua> References: <YQabRMhd7RFpKMNU@albert.catwhisker.org> <YQaptG0DvvzUMRTv@kib.kiev.ua>
next in thread | previous in thread | raw e-mail | index | archive | help
--HJY+fMHXYWIWAbGI Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Aug 01, 2021 at 05:03:32PM +0300, Konstantin Belousov wrote: > 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. > > ...=20 >=20 > It seems you block my home external ip address (or country?). I apologize: I believe that's been remedied (recently). > Your issue with the kernel.old is that nvidia.ko was rebuilt against newer > kernel, so it cannot be loaded together with older kernel. OK; effectively copying the modules from /boot/modules.old to /boot/modules got past that. (Should loader be loding modules from /boot/modules (vs. /boot/modules.old) if it's booting kernel.old?) > Anyway, please update past 1a55a3a729cd4424e17308d3 _and_ apply the follo= wing > patch: >=20 > 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)); > =20 > bzero(physmap, sizeof(physmap)); > physmap_idx =3D 0; >=20 OK; did that; rebuilt. Subsequent reboot shows (copy/paste from serial console, as this is from my headless build machine): SMP: passed TSC synchronization test TSC timecounter discards lower 1 bit(s) Timecounter "TSC-low" frequency 1795879156 Hz quality 1000 KTLS: Initialized 8 threads panic: vm_phys_free_pages: page 0xfffffe00000f4fe8 has unexpected order 0 cpuid =3D 0 time =3D 1 KDB: stack backtrace: db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xffffffff82b2e= ad0 vpanic() at vpanic+0x187/frame 0xffffffff82b2eb30 panic() at panic+0x43/frame 0xffffffff82b2eb90 vm_phys_free_pages() at vm_phys_free_pages+0x27d/frame 0xffffffff82b2ebd0 kmem_bootstrap_free() at kmem_bootstrap_free+0xfe/frame 0xffffffff82b2ec20 preload_delete_name() at preload_delete_name+0x70/frame 0xffffffff82b2ec40 ucode_release() at ucode_release+0x8a/frame 0xffffffff82b2ec60 mi_startup() at mi_startup+0x1f0/frame 0xffffffff82b2ecb0 btext() at btext+0x22 KDB: enter: panic [ thread pid 0 tid 100000 ] Stopped at kdb_enter+0x37: movq $0,0x127af3e(%rip) db>=20 I can leave it as-is for a bit, and poke at it (given sufficient clues), if that might be helpful. Peace, david --=20 David H. Wolfskill david@catwhisker.org Life is not intended to be a zero-sum game. See https://www.catwhisker.org/~david/publickey.gpg for my public key. --HJY+fMHXYWIWAbGI Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGTBAEBCgB9FiEE4owz2QxMJyaxAefyQLJg+bY2PckFAmEG2ppfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEUy OEMzM0Q5MEM0QzI3MjZCMTAxRTdGMjQwQjI2MEY5QjYzNjNEQzkACgkQQLJg+bY2 Pclr1wgAy3o4e4Qa5mzZxgFSJMlyVj/HXjaetUsDLqny3hspwBJNsqkmwVtjCEQE ruKtPo1ASkziCYs+/bN0UkbcyrWM/EOfC57ls7vUUnf+RLLe80S8bADzmHgo0qZu uzvg/3ZfG8DxTGHe+gmDqcdHsRcgQra1O7qAA6lM1psDNsm1FYAGpmt/a6CfFklP rRXSkqFParKpltZqA+68QpHDoudC/lxBgKALCk3/gQSdQp77wQHdyPf56OOTh/6x Xj2FwlWX/XoXINVem5dScjEEfN5bEYbKJy0SDxyWChYr3hqZMSFKiKbl8HklypoV diUJauIYvC+SdUoghYaq8w/C+MW6jQ== =RuWL -----END PGP SIGNATURE----- --HJY+fMHXYWIWAbGI--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?YQbamtnqoRPuAQ0e>