Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Apr 2021 01:39:47 -0400
From:      Mehul Sanghvi <mehul.sanghvi@gmail.com>
To:        Brandon Bergren <bdragon@FreeBSD.org>
Cc:        FreeBSD PowerPC ML <freebsd-ppc@freebsd.org>
Subject:   Re: PowerMac G4 booting from memstick image
Message-ID:  <F272EC24-F8D1-442D-AADF-6DD9B58C6F65@gmail.com>
In-Reply-To: <36E07854-8A8B-4115-8968-C9FA4E33E9B4@gmail.com>
References:  <A0937215-7A85-4250-B387-4175E10591C8@gmail.com> <CAOpTx7Fe%2BYMy=W%2Bs2-qz9V0803xPeqk19qptyG4fwdE5GUY7SQ@mail.gmail.com> <0E36A05F-017F-4B81-80E9-BC27D10E64FD@gmail.com> <800807B2-83C1-40CB-B5D3-67B5A6AED2C7@yahoo.com> <6F45C842-2520-46AF-8818-B1E18107C706@gmail.com> <e8df0188-9cde-4c41-964e-af7d1e0fdc39@www.fastmail.com> <097E0875-0C62-4C8F-A9C3-8097E2B408C2@gmail.com> <ebee8f4d-1330-4fbf-9b62-26bcee8e97ac@www.fastmail.com> <36E07854-8A8B-4115-8968-C9FA4E33E9B4@gmail.com>

index | next in thread | previous in thread | raw e-mail


I was able to boot manually using 

    boot hd:2,\:tbxi 

At that point I changed the /boot/loader.conf removing the kern.smp.disabled statement and than
rebooting.  I was expecting it to drop to the OF prompt but it auto-booted just fine.

But now I have the same issues as when I was installing earlier.  So seems like I have to keep the SMP kernel disabled.

dmesg shows that it saw two CPUs, but when using top, only one is seen (with SMP kernel disabled)

I am going to reboot with SMP disabled, until it is safe to enable it.


Next steps will be getting packages installed from ports. 





cheers,

   mehul



> On Apr 20, 2021, at 01:12 , Mehul Sanghvi <mehul.sanghvi@gmail.com> wrote:
> 
> 
> I was able to get FBSD-13 installed !
> 
> I did two things so am not sure which one actually worked
> 
> 1.  I changed to using an older USB stick I had
> 
> 2.  I did the following at loader prompt
> 
>    OK  unload
>    OK  set kern.smp.disabled=“1”
>    OK  boot-conf
> 
> 
> Hopefully I did that correctly and that was the fix rather than changing the USB stick
> 
> 
> The problem I have now is that OpenFirmware is setup to boot NetBSD and I don’t know what I need
> to set for the boot-device and boot-file variables in order for auto-boot to work.  At the moment I am unable to boot manually either.
> 
> cheers,
> 
>   mehul
> 
> 
>> On Apr 19, 2021, at 22:44 , Brandon Bergren <bdragon@FreeBSD.org> wrote:
>> 
>> 
>> 
>> On Mon, Apr 19, 2021, at 9:16 PM, Mehul Sanghvi wrote:
>>> 
>>> 
>>>> On Apr 19, 2021, at 21:42 , Brandon Bergren <bdragon@FreeBSD.org> wrote:
>>>> 
>>>> This may be caused by a descynced timebase. At the loader prompt, do "boot kern.smp.disabled=1" (or set it in the loader environment) and see if that fixes it.
>>>> 
>>> 
>>> This would be after installing freebsd yes ? 
>> 
>> I meant while booting into the installer. You can hit a button during the countdown and boot with extra options.
>> 
>> Oh, and after some discussion in IRC, I realized that I was misremembering what I still needed on the G4 side, and it should theoretically work on *all* SMP G4s as-is.
>> 
>>> 
>>>>> 
>>>>> Having gotten to the point of selecting Install,  the keyboard wouldn’t 
>>>>> work.  An Apple keyboard, hooked up via KVM switch, which was working 
>>>>> just fine upto that moment.  
>>>> 
>>>> I've seen this for some reason on ADB. I can usually work around it by using a USB keyboard. But it could be due to screwed up timers (due to timebase desync)
>>>> 
>>> 
>>> The Apple keyboard is an USB keyboard but I worked around it by using a 
>>> spare USB keyboard I had.
>> 
>> OK.
>> 
>>> 
>>> 
>>> The ISO got past the mountroot issue, but too many messages of the form
>>> 
>>>   CAM status: CCB request completed with an error
>>> 
>>> 
>>> I may have to see if I have other USB flash dries around and try those. 
>>> It could very well be the USB flash.  I didn’t realize the G4s would 
>>> be picky about the stick that is used.
>> 
>> Well, generally the problem tends to be that the stick just plain doesn't show up as a disk@1 device in OF.
>> 
>> 
>> 
>>> 
>>> cheers,
>>> 
>>>   mehul
>>> 
>>> 
>>> 
>>> 
>> 
>> 
>> -- 
>> Brandon Bergren
>> bdragon@FreeBSD.org
> 



home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?F272EC24-F8D1-442D-AADF-6DD9B58C6F65>