Date: Thu, 6 Jul 2023 17:08:06 -0700 From: Mark Millard <marklmi@yahoo.com> To: John F Carr <jfc@mit.edu> Cc: Current FreeBSD <freebsd-current@freebsd.org>, freebsd-arm <freebsd-arm@freebsd.org> Subject: Re: For snapshot builds: armv7 chroot on aarch64 has kyua test -k /usr/tests/Kyuafile sys/kern/kern_copyin hung up [in getpid?], unkillable, prevents reboot Message-ID: <1DA4804D-38FA-4844-9869-63563C473B7D@yahoo.com> In-Reply-To: <C0D78776-E8DF-4141-B636-658116E94DBC@mit.edu> References: <7A41DED4-876F-4270-A980-549A4832B39A.ref@yahoo.com> <7A41DED4-876F-4270-A980-549A4832B39A@yahoo.com> <C0D78776-E8DF-4141-B636-658116E94DBC@mit.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
On Jul 6, 2023, at 16:53, John F Carr <jfc@mit.edu> wrote: > On Jun 25, 2023, at 20:16, Mark Millard <marklmi@yahoo.com> wrote: >>=20 >> . . . >>=20 >=20 > The hang is caused by the sysctl call in tests/sys/kern/kern_copyin.c. = The function below hangs when called in a 32 bit ARM process running in = a chroot environment on a 64 bit ARM system. I will write up a bug = report. >=20 > static int > get_vm_layout(struct kinfo_vm_layout *kvm) > { > size_t len; > int mib[4]; >=20 > mib[0] =3D CTL_KERN; > mib[1] =3D KERN_PROC; > mib[2] =3D KERN_PROC_VM_LAYOUT; > mib[3] =3D getpid(); > len =3D sizeof(*kvm); >=20 > return (sysctl(mib, nitems(mib), kvm, &len, NULL, 0)); > } >=20 Thanks for the tiny-reproducer analysis! That should help make getting to a fix more actionable. =3D=3D=3D Mark Millard marklmi at yahoo.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1DA4804D-38FA-4844-9869-63563C473B7D>