From owner-freebsd-ppc@freebsd.org Tue Apr 20 18:13:04 2021 Return-Path: Delivered-To: freebsd-ppc@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 166C45E2434 for ; Tue, 20 Apr 2021 18:13:04 +0000 (UTC) (envelope-from nwhitehorn@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FPsHN0B8mz3JlZ for ; Tue, 20 Apr 2021 18:13:04 +0000 (UTC) (envelope-from nwhitehorn@freebsd.org) Received: from comporellon.tachypleus.net (unknown [IPv6:2601:405:4a00:acd:55b7:39a7:218:8a13]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) (Authenticated sender: nwhitehorn/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id DCB89DFE2 for ; Tue, 20 Apr 2021 18:13:03 +0000 (UTC) (envelope-from nwhitehorn@freebsd.org) Subject: Re: PowerMac G4 booting from memstick image To: freebsd-ppc@freebsd.org References: <0E36A05F-017F-4B81-80E9-BC27D10E64FD@gmail.com> <800807B2-83C1-40CB-B5D3-67B5A6AED2C7@yahoo.com> <6F45C842-2520-46AF-8818-B1E18107C706@gmail.com> <097E0875-0C62-4C8F-A9C3-8097E2B408C2@gmail.com> <36E07854-8A8B-4115-8968-C9FA4E33E9B4@gmail.com> From: Nathan Whitehorn Message-ID: <0d1abd9f-7e42-b6fd-22ce-14396bafbfde@freebsd.org> Date: Tue, 20 Apr 2021 14:13:03 -0400 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:78.0) Gecko/20100101 Thunderbird/78.9.1 MIME-Version: 1.0 In-Reply-To: <36E07854-8A8B-4115-8968-C9FA4E33E9B4@gmail.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Apr 2021 18:13:04 -0000 FreeBSD boots like MacOS and will be auto-detected by firmware. The lazy solution is to reset OF by holding command-option-P-R at bootup and then let auto-boot go. You can also use the graphical chooser to boot FreeBSD (hold option at boot). If you want to do it the hard way, you can boot from "hd:,\\:tbxi". -Nathan On 4/20/21 1:12 AM, Mehul Sanghvi 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 wrote: >> >> >> >> On Mon, Apr 19, 2021, at 9:16 PM, Mehul Sanghvi wrote: >>> >>>> On Apr 19, 2021, at 21:42 , Brandon Bergren 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 > _______________________________________________ > 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" >