Date: Mon, 28 Jan 2019 18:16:16 -0800 From: Mark Millard <marklmi@yahoo.com> To: FreeBSD PowerPC ML <freebsd-ppc@freebsd.org> Subject: PowerMac G5 4-core (system total): head variant automatically booting smp fine (no VM_MAX_KERNEL_ADDRESS workaround); but shutdown issue Message-ID: <47F8D1D3-11BC-4EC9-89AE-65566A6F9087@yahoo.com>
next in thread | raw e-mail | index | archive | help
Based on my: # uname -apKU FreeBSD FBSDG5L 13.0-CURRENT FreeBSD 13.0-CURRENT #6 r341836M: Mon Jan = 28 14:42:29 PST 2019 = markmi@FBSDFSSD:/usr/obj/powerpc64vtsc_xtoolchain-gcc/powerpc.powerpc64/us= r/src/powerpc.powerpc64/sys/GENERIC64vtsc-NODBG powerpc powerpc64 = 1300005 1300005 with: # svnlite diff /usr/src/sys/powerpc/include/vmparam.h = = =20 # (So no VM_MAX_KERNEL_ADDRESS workaround.) And: # svnlite diff /usr/src/stand/common/metadata.c Index: /usr/src/stand/common/metadata.c =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- /usr/src/stand/common/metadata.c (revision 341836) +++ /usr/src/stand/common/metadata.c (working copy) @@ -322,15 +322,10 @@ #if defined(LOADER_FDT_SUPPORT) /* Copy out FDT */ fdtp =3D 0; -#if defined(__powerpc__) - if (getenv("usefdt") !=3D NULL) + size =3D fdt_copy(addr); + fdtp =3D addr; + addr =3D roundup(addr + size, PAGE_SIZE); #endif - { - size =3D fdt_copy(addr); - fdtp =3D addr; - addr =3D roundup(addr + size, PAGE_SIZE); - } -#endif =20 kernend =3D 0; kfp =3D file_findfile(NULL, kern64 ? "elf64 kernel" : "elf32 = kernel"); (So the previous usefdt=3D1 behavior is automatic.) Booting is then automatic, with smp working. So I expect that when -r341614 (that made set usefdt=3D1 work) is merged = to stable/12 that the same will be true for the additional updates there. I will note the following (adjusted from a previously reported experiment with manual usefdt=3D1 use): 1. After a while the fans get louder. 2. When shutting down the system once the fans are louder, Waiting (max 60 seconds) for system thread `bufdaemon' to stop... Waiting (max 60 seconds) for system thread `bufspacedaemon-1' to = stop... Waiting (max 60 seconds) for system thread `bufspacedaemon-0' to = stop... all time out. So there seems to be some type of a problem. =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?47F8D1D3-11BC-4EC9-89AE-65566A6F9087>