Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Nov 2018 21:13:57 +0100
From:      Andreas Tobler <andreast-list@fgznet.ch>
To:        Michael Tuexen <Michael.Tuexen@macmic.franken.de>, Justin Hibbits <chmeeedalf@gmail.com>
Cc:        freebsd-ppc@freebsd.org
Subject:   Re: after running the installer on a PowerMac G5 no root filesystem found
Message-ID:  <1635791e-6c4e-52f3-a5ad-739f1b143040@fgznet.ch>
In-Reply-To: <29EA3221-8788-4528-BEB2-AF38A9FF1D56@macmic.franken.de>
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> <29EA3221-8788-4528-BEB2-AF38A9FF1D56@macmic.franken.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On 15.11.18 21:05, Michael Tuexen wrote:
>> On 14. Nov 2018, at 18:02, Justin Hibbits <chmeeedalf@gmail.com> wrote:
>>
>> On Wed, 14 Nov 2018 11:52:45 -0500
>> Dennis Clarke <dclarke@blastwave.org> wrote:
>>
>>> <snip>
>>>>>>
>>>>>> 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.
>>>>>>
>>>>>> So .. something obvious?
>>>>> Can you try setting the variable kern.smp.disabled to 1 at the
>>>>> loader prompt?
>>>>> If that helps, you can add
>>>>> kern.smp.disabled=1
>>>>> to /boot/leader.conf
>>>> I meant /boot/loader.conf.
>>>
>>> To do that at all I would need to be able to get to the root
>>> filesystem.
>>
>> You can do it at the loader.
>>
>> set kern.smp.disabled=1
>> boot
>>
>>>
>>>>> I had all sorts of problems until I disabled SMP on my G5
>>>>> PowerMacs. Without SMP they are running very stable.
>>>
>>> So FreeBSD can not run on ye old IBM PPC970 units with multiple cores
>>> or multiple sockets?  That sounds like a critical bug.
>>
>> 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
>> 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).
> OK, I did some testing. Reverting r334498 and not disabling smp results
> in a usable, stable system. However, there are two things I observed that
> are not working as good as with disabling smp:
> 
> 1. After a while the fans get louder. Running sysctl -a dev.fcu.0
>     gets them down again. After a while they will start to get
>     louder again.
>     When SMP is disabled, this is not an issue.

pmac_therm gets stuck, we already had that, r329080 tried to fix this.
It worked a while but now things are back to worse.

> 2. When shutting down the system,
>     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...
>     times out.
>     This is also not an issue when SMP is disabled.
> 
> So there are some issue with SMP even when reverting r334498.

I second the two points above, iow I see the same on different SMP G5 
running 64-bit. For me both are related.

Gruss,
Andreas





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1635791e-6c4e-52f3-a5ad-739f1b143040>