From owner-freebsd-ppc@freebsd.org Wed Nov 14 21:18:27 2018 Return-Path: Delivered-To: freebsd-ppc@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8214611356DA for ; Wed, 14 Nov 2018 21:18:27 +0000 (UTC) (envelope-from Michael.Tuexen@macmic.franken.de) Received: from drew.franken.de (drew.ipv6.franken.de [IPv6:2001:638:a02:a001:20e:cff:fe4a:feaa]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.franken.de", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 97E746C9D9 for ; Wed, 14 Nov 2018 21:18:26 +0000 (UTC) (envelope-from Michael.Tuexen@macmic.franken.de) Received: from mb.fritz.box (pD9F971F2.dip0.t-ipconnect.de [217.249.113.242]) (Authenticated sender: macmic) by mail-n.franken.de (Postfix) with ESMTPSA id 9DC10721E2821; Wed, 14 Nov 2018 22:18:23 +0100 (CET) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 12.1 \(3445.101.1\)) Subject: Re: after running the installer on a PowerMac G5 no root filesystem found From: Michael Tuexen In-Reply-To: Date: Wed, 14 Nov 2018 22:18:21 +0100 Cc: Justin Hibbits , freebsd-ppc@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: References: <6f6d590b-02ef-ef9c-ed58-50121142e616@blastwave.org> <15F2B2EA-2129-46A8-BAAA-5AB8A9B6478B@macmic.franken.de> <806379E7-97EE-4977-B334-B3C53522F789@macmic.franken.de> <64612e49-7798-bf2a-44b6-56cfcd3b3e80@blastwave.org> <20181114110252.68fa2070@ralga.knownspace> To: Mark Millard X-Mailer: Apple Mail (2.3445.101.1) X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=disabled version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on mail-n.franken.de X-Rspamd-Queue-Id: 97E746C9D9 X-Spamd-Result: default: False [-1.09 / 200.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; MX_GOOD(-0.01)[cached: priscilla.franken.de]; NEURAL_HAM_SHORT(-0.54)[-0.538,0]; FREEMAIL_TO(0.00)[yahoo.com]; FROM_EQ_ENVFROM(0.00)[]; RECEIVED_SPAMHAUS_PBL(0.00)[242.113.249.217.zen.spamhaus.org : 127.0.0.10]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:680, ipnet:2001:638::/32, country:DE]; IP_SCORE(-0.00)[asn: 680(-0.01), country: DE(-0.01)]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_IN_DNSWL_LOW(-0.10)[a.a.e.f.a.4.e.f.f.f.c.0.e.0.2.0.1.0.0.a.2.0.a.0.8.3.6.0.1.0.0.2.list.dnswl.org : 127.0.5.1]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.92)[-0.923,0]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; NEURAL_HAM_LONG(-0.91)[-0.912,0]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[franken.de]; AUTH_NA(1.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; R_SPF_NA(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; FREEMAIL_CC(0.00)[gmail.com]; RCVD_TLS_ALL(0.00)[] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Nov 2018 21:18:27 -0000 > On 14. Nov 2018, at 18:52, Mark Millard wrote: >=20 >=20 >=20 > On 2018-Nov-14, at 09:15, Michael Tuexen wrote: >=20 >>> On 14. Nov 2018, at 18:02, Justin Hibbits = wrote: >>>=20 >>> On Wed, 14 Nov 2018 11:52:45 -0500 >>> Dennis Clarke wrote: >>>=20 >>>> >>>>>>>=20 >>>>>>> At first boot I get a load of text and then a strange prompt = that >>>>>>> seems to be asking where is the root filesystem? It also lists >>>>>>> all the various filesystems found. I tried to enter >>>>>>> ufs:/dev/adas2 and similar things but this gets me nothing but = an >>>>>>> unrecognized filesystem message. >>>>>>>=20 >>>>>>> So .. something obvious? =20 >>>>>> Can you try setting the variable kern.smp.disabled to 1 at the >>>>>> loader prompt? >>>>>> If that helps, you can add >>>>>> kern.smp.disabled=3D1 >>>>>> to /boot/leader.conf =20 >>>>> I meant /boot/loader.conf. =20 >>>>=20 >>>> To do that at all I would need to be able to get to the root >>>> filesystem. >>>=20 >>> You can do it at the loader. >>>=20 >>> set kern.smp.disabled=3D1 >>> boot >>>=20 >>>>=20 >>>>>> I had all sorts of problems until I disabled SMP on my G5 >>>>>> PowerMacs. Without SMP they are running very stable. =20 >>>>=20 >>>> So FreeBSD can not run on ye old IBM PPC970 units with multiple = cores >>>> or multiple sockets? That sounds like a critical bug. >>>=20 >>> It could until recently, due to my fault. I can revert the change = that >>> caused it, but haven't yet, because I don't understand why it's = causing >> I think I tried a kernel with you change reverted. It didn't fix the >> problem. I can try again, but at that time the problem was not only >> related to the one commit. >>=20 >=20 > I'm still running with smp based on head -r339076 ( between ALPHA8 and > ALPHA9) with smp on both G5 Quad Core (system total cores), 16 GiBytes > RAM and 12 GiBytes RAM, and on G5 Dual processor, 8GiBytes RAM. (Same > SSD moved between machines.) But I reverted the change Justin is > talking about in order have smp working. I did not have to change > anything else. >=20 > # svnlite diff /usr/src/sys/powerpc/include/vmparam.h > Index: /usr/src/sys/powerpc/include/vmparam.h > =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/sys/powerpc/include/vmparam.h (revision 339076) > +++ /usr/src/sys/powerpc/include/vmparam.h (working copy) > @@ -107,7 +107,7 @@ >=20 > #ifdef __powerpc64__ > #define VM_MIN_KERNEL_ADDRESS 0xe000000000000000UL > -#define VM_MAX_KERNEL_ADDRESS 0xe0000007ffffffffUL > +#define VM_MAX_KERNEL_ADDRESS 0xe0000001c7ffffffUL > #define VM_MAX_SAFE_KERNEL_ADDRESS VM_MAX_KERNEL_ADDRESS > #endif >=20 >=20 > That revert was to have the "before -r334498" content for that file. > Andreas Tobler reported confirming my findings in his context. >=20 > I note this mostly because Justin has reported no longer having such a > machine to test on. >=20 > [I am slowly working on updating to 13.0 FreeBSD all the FreeBSD = machines > that I have ready access to. The powerpc families will be last.] Let me retest... >=20 >>> the problem. And I'm pretty confident it's not causing the = mountroot >>> issue (though, I was pretty confident it wouldn't cause any problem >>> anyway, but that turned out to be false confidence). >=20 > FYI: I never saw such an issue for as far as I've gotten with the > powerpc's. I saw such things, too. Best regards Michael >=20 >=20 > =3D=3D=3D > Mark Millard > marklmi at yahoo.com > ( dsl-only.net went > away in early 2018-Mar) >=20