From owner-freebsd-ppc@freebsd.org Wed Apr 21 02:45:52 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 D3F4F5F1FF3 for ; Wed, 21 Apr 2021 02:45:52 +0000 (UTC) (envelope-from mehul.sanghvi@gmail.com) Received: from mail-qv1-xf31.google.com (mail-qv1-xf31.google.com [IPv6:2607:f8b0:4864:20::f31]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FQ4g457Q1z4Vdl; Wed, 21 Apr 2021 02:45:52 +0000 (UTC) (envelope-from mehul.sanghvi@gmail.com) Received: by mail-qv1-xf31.google.com with SMTP id gv2so10433846qvb.8; Tue, 20 Apr 2021 19:45:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=content-transfer-encoding:from:mime-version:subject:date:message-id :references:cc:in-reply-to:to; bh=EPWO+Xo//fYXy+jl3Zfpr46igVXVjgjWy78Z+n9o4EU=; b=uS3WofKZQhB7xBMQNWZGfKcJRdOEcuZBQZ5GkaeU4uuqsNmvg9Zz3J9EXRQxb1RVX6 TruDwPB2twk5qoHVeOx+ulyl5qtqhNKgHeL1jDvyS5vjAjl1zdDqQwu84Q6cGbgAccQT Z5rje5U++YRCfco7kGJmjtFWcB/952uulOWXGTnK89ej+4qqDDyRwmBBy5knhpyQsmlh xhDSGPZRMAnqqYK+OXXY9nKJVJvp9cWpoPvyPcviNX8wxmWHApXU+HABwV9s+/H85ikX GcZjLXSQ/KOfew3cb0XCc95J6evDS7JYBfjMSUMOmX1CK4lSa1BE+ErZ13JsXIV4YsR2 +f0A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:content-transfer-encoding:from:mime-version :subject:date:message-id:references:cc:in-reply-to:to; bh=EPWO+Xo//fYXy+jl3Zfpr46igVXVjgjWy78Z+n9o4EU=; b=Keih9iZMt2XBv0Ry7jBd86QN59Jc2a7BeglVTDG1/0dflQZ14aN3OiasVJ2qohtLcH llJBGyWEUZ09blZW9EJk6nu/RCmbjw3bNYBTqzXQNQ35TsvvgPqSyIFNnEhzKm+F6wNi sB1+jDto9oyZE/kbR2SxYoLyqOeEQPfHmOVxEueFiYFb9HoCBr1T1vp42bi1vl/zcmg+ qRd1Nx9FoqXIw7g1oG8uIg9mINJzSw7Y8MR+DoIsE9F8VUv/xt+CUQgIOZwg7Sbqnsso pRiq+BF75ljXV9JWhvXv6rae7/bBQVLXlvDEngBsqNb9CtBUDDtrjsdTd3irHdYaYunE PN6g== X-Gm-Message-State: AOAM533pErJq+cPKfqM4lnEk3Brmj88CysGz/p6LuLsrr9zco1x4SuP6 b+26F2d2bMB/HwHmB51NOq0s/KahSek= X-Google-Smtp-Source: ABdhPJz27dNJdj/BqJjvvwp9luh/0081kfw4DtoLmpfiA4MHdNfsQWH8oEFEJcufdcUZ8SAfpG9eug== X-Received: by 2002:ad4:444f:: with SMTP id l15mr31006997qvt.0.1618973151528; Tue, 20 Apr 2021 19:45:51 -0700 (PDT) Received: from ?IPv6:2603:3005:650a:6b00:e5b2:491a:9935:55dd? ([2603:3005:650a:6b00:e5b2:491a:9935:55dd]) by smtp.gmail.com with ESMTPSA id x204sm966209qkb.97.2021.04.20.19.45.50 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 20 Apr 2021 19:45:51 -0700 (PDT) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable From: Mehul Sanghvi Mime-Version: 1.0 (1.0) Subject: Re: PowerMac G4 booting from memstick image Date: Tue, 20 Apr 2021 22:45:50 -0400 Message-Id: <443A5E73-533D-44A1-B376-361F9DFAAA1B@gmail.com> References: <0d1abd9f-7e42-b6fd-22ce-14396bafbfde@freebsd.org> Cc: freebsd-ppc@freebsd.org In-Reply-To: <0d1abd9f-7e42-b6fd-22ce-14396bafbfde@freebsd.org> To: Nathan Whitehorn X-Mailer: iPhone Mail (18D70) X-Rspamd-Queue-Id: 4FQ4g457Q1z4Vdl X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; TAGGED_FROM(0.00)[] 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: Wed, 21 Apr 2021 02:45:52 -0000 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 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 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 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"