Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Apr 2021 22:45:50 -0400
From:      Mehul Sanghvi <mehul.sanghvi@gmail.com>
To:        Nathan Whitehorn <nwhitehorn@freebsd.org>
Cc:        freebsd-ppc@freebsd.org
Subject:   Re: PowerMac G4 booting from memstick image
Message-ID:  <443A5E73-533D-44A1-B376-361F9DFAAA1B@gmail.com>
In-Reply-To: <0d1abd9f-7e42-b6fd-22ce-14396bafbfde@freebsd.org>
References:  <0d1abd9f-7e42-b6fd-22ce-14396bafbfde@freebsd.org>

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

Thanks, that explains the behaviour I was seeing.

I just left it as it was.  So if I do end up wanting to put on NetBSD the se=
ttings are in place to do that.=20




--
Sent from my "smart" phone


> On Apr 20, 2021, at 14:13, Nathan Whitehorn <nwhitehorn@freebsd.org> wrote=
:
>=20
> =EF=BB=BFFreeBSD boots like MacOS and will be auto-detected by firmware. T=
he lazy solution is to reset OF by holding command-option-P-R at bootup and t=
hen let auto-boot go. You can also use the graphical chooser to boot FreeBSD=
 (hold option at boot).
>=20
> If you want to do it the hard way, you can boot from "hd:,\\:tbxi".
> -Nathan
>=20
>> On 4/20/21 1:12 AM, Mehul Sanghvi wrote:
>> I was able to get FBSD-13 installed !
>>=20
>> I did two things so am not sure which one actually worked
>>=20
>> 1.  I changed to using an older USB stick I had
>>=20
>> 2.  I did the following at loader prompt
>>=20
>>     OK  unload
>>     OK  set kern.smp.disabled=3D=E2=80=9C1=E2=80=9D
>>     OK  boot-conf
>>=20
>>=20
>> Hopefully I did that correctly and that was the fix rather than changing t=
he USB stick
>>=20
>>=20
>> The problem I have now is that OpenFirmware is setup to boot NetBSD and I=
 don=E2=80=99t 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.
>>=20
>> cheers,
>>=20
>>    mehul
>>=20
>>=20
>>>> On Apr 19, 2021, at 22:44 , Brandon Bergren <bdragon@FreeBSD.org> wrote=
:
>>>=20
>>>=20
>>>=20
>>> On Mon, Apr 19, 2021, at 9:16 PM, Mehul Sanghvi wrote:
>>>>=20
>>>>> On Apr 19, 2021, at 21:42 , Brandon Bergren <bdragon@FreeBSD.org> wrot=
e:
>>>>>=20
>>>>> This may be caused by a descynced timebase. At the loader prompt, do "=
boot kern.smp.disabled=3D1" (or set it in the loader environment) and see if=
 that fixes it.
>>>>>=20
>>>> This would be after installing freebsd yes ?
>>> I meant while booting into the installer. You can hit a button during th=
e countdown and boot with extra options.
>>>=20
>>> Oh, and after some discussion in IRC, I realized that I was misrememberi=
ng what I still needed on the G4 side, and it should theoretically work on *=
all* SMP G4s as-is.
>>>=20
>>>>>> Having gotten to the point of selecting Install,  the keyboard wouldn=
=E2=80=99t
>>>>>> 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 time=
base desync)
>>>>>=20
>>>> The Apple keyboard is an USB keyboard but I worked around it by using a=

>>>> spare USB keyboard I had.
>>> OK.
>>>=20
>>>>=20
>>>> The ISO got past the mountroot issue, but too many messages of the form=

>>>>=20
>>>>    CAM status: CCB request completed with an error
>>>>=20
>>>>=20
>>>> 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=E2=80=99t realize the G4s w=
ould
>>>> 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.
>>>=20
>>>=20
>>>=20
>>>> cheers,
>>>>=20
>>>>    mehul
>>>>=20
>>>>=20
>>>>=20
>>>>=20
>>>=20
>>> --=20
>>>  Brandon Bergren
>>>  bdragon@FreeBSD.org
>> _______________________________________________
>> freebsd-ppc@freebsd.org mailing list
>> https://lists.freebsd.org/mailman/listinfo/freebsd-ppc
>> To unsubscribe, send any mail to "freebsd-ppc-unsubscribe@freebsd.org"
>>=20
>=20
> _______________________________________________
> freebsd-ppc@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-ppc
> To unsubscribe, send any mail to "freebsd-ppc-unsubscribe@freebsd.org"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?443A5E73-533D-44A1-B376-361F9DFAAA1B>