Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Nov 2018 22:18:21 +0100
From:      Michael Tuexen <Michael.Tuexen@macmic.franken.de>
To:        Mark Millard <marklmi@yahoo.com>
Cc:        Justin Hibbits <chmeeedalf@gmail.com>, freebsd-ppc@freebsd.org
Subject:   Re: after running the installer on a PowerMac G5 no root filesystem found
Message-ID:  <CA36C99F-DB87-4C2F-841D-764B6FEF25C9@macmic.franken.de>
In-Reply-To: <D631B613-508D-4E32-BB82-855B33E51926@yahoo.com>
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> <C5D0E698-26F7-476D-ABB4-51812C0553D8@macmic.franken.de> <D631B613-508D-4E32-BB82-855B33E51926@yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> On 14. Nov 2018, at 18:52, Mark Millard <marklmi@yahoo.com> wrote:
>=20
>=20
>=20
> On 2018-Nov-14, at 09:15, Michael Tuexen <Michael.Tuexen at =
macmic.franken.de> wrote:
>=20
>>> On 14. Nov 2018, at 18:02, Justin Hibbits <chmeeedalf at gmail.com> =
wrote:
>>>=20
>>> On Wed, 14 Nov 2018 11:52:45 -0500
>>> Dennis Clarke <dclarke@blastwave.org> wrote:
>>>=20
>>>> <snip>
>>>>>>>=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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA36C99F-DB87-4C2F-841D-764B6FEF25C9>