From owner-freebsd-ppc@freebsd.org Tue Apr 20 01:05:20 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 460D45DDE91 for ; Tue, 20 Apr 2021 01:05:20 +0000 (UTC) (envelope-from mehul.sanghvi@gmail.com) Received: from mail-qk1-x734.google.com (mail-qk1-x734.google.com [IPv6:2607:f8b0:4864:20::734]) (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 4FPQTW3rvBz3Ktn; Tue, 20 Apr 2021 01:05:19 +0000 (UTC) (envelope-from mehul.sanghvi@gmail.com) Received: by mail-qk1-x734.google.com with SMTP id h13so19179809qka.2; Mon, 19 Apr 2021 18:05:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=9ctRoDlY889JkzhqTxW1ilxoh98C0oCBoVNp7oyr36c=; b=O9kVvMIfn638UhgxXSQv77SvSvNLj9rduv3dji3B9H4kI4TdN+nZwffLUcQHqd+XUH V1A/qRywuVpsl4YIQRP9mZvimvwHNyfSeGsdNaYipnzX65+q0Dz55jFswnJd6/l9ca2n 4fOqLhvpi99Cnt8P7JB0COfa/c6rMJtbWGKrv6jE5XkVI7vDF+qWXWUw2jfcnJ8UicO5 Agn6uoHbgLzNgarhK6IdyeWl+/sCzcAGhPiUHiVluMNyFLanZ8xJ+i/AkxC0Yw3GUsnF hK9RpUE6bVRcSJk4Llf2b0ypyVqDPaGmJsUUiVck1F4XpCdWOjk/6KlJAtiq4j98cOZq fWGg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=9ctRoDlY889JkzhqTxW1ilxoh98C0oCBoVNp7oyr36c=; b=stPuZmZoQvlHt6BXHw0wn9k+vOeehTGxMMwgl7Awcul1fKKY1gbeGy0Hrla88WXjcv S+B4k6AWR5xQ5eRimXx0bVk3QV7hiv4EsGRBLeW8rIofAkJGpEDeoLD0vSy1sixksObx 6Bw/h0DMsG/ILl3ZhaBxpkR0chYKd4eV4iHCw2zWIh/hhe+S/fcbQPjzt0wC3YgSVz9T U/tw4iX99HLsZT7DF7zys4D9ZIhqU6stYx2GwR3/jbKaeHJNHpRWfhFGpZlXHbUJs1mO KHU/gCPGCUaFwgvNTQONitlehod+Z+6XEomhpR3yIq0j1RpS/qjU551oCEE9/WgY6+19 ZvAg== X-Gm-Message-State: AOAM532niqUOVysWkiDud8vi7x2HEq/kzfGYqdngaN3qzIzG4+sMaQBL BJ5ugtoBEms0/Pg/u867wdc= X-Google-Smtp-Source: ABdhPJwqaLW4oBOCMKXmMJ18Rk0e7a9oqI7p243Uw6bbHSDa2jsBTChndbOyEWDKEfF8J3/FDyN0pw== X-Received: by 2002:a37:b206:: with SMTP id b6mr14995099qkf.275.1618880718436; Mon, 19 Apr 2021 18:05:18 -0700 (PDT) Received: from ?IPv6:2603:3005:650a:6b00:c1ad:c400:fee:1e8c? ([2603:3005:650a:6b00:c1ad:c400:fee:1e8c]) by smtp.gmail.com with ESMTPSA id q67sm11077683qkb.89.2021.04.19.18.05.17 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 19 Apr 2021 18:05:18 -0700 (PDT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.4\)) Subject: Re: PowerMac G4 booting from memstick image From: Mehul Sanghvi In-Reply-To: <800807B2-83C1-40CB-B5D3-67B5A6AED2C7@yahoo.com> Date: Mon, 19 Apr 2021 21:05:16 -0400 Cc: =?utf-8?Q?Alfredo_Dal=27Ava_J=C3=BAnior?= , FreeBSD PowerPC ML Content-Transfer-Encoding: quoted-printable Message-Id: <6F45C842-2520-46AF-8818-B1E18107C706@gmail.com> References: <0E36A05F-017F-4B81-80E9-BC27D10E64FD@gmail.com> <800807B2-83C1-40CB-B5D3-67B5A6AED2C7@yahoo.com> To: Mark Millard X-Mailer: Apple Mail (2.3608.120.23.2.4) X-Rspamd-Queue-Id: 4FPQTW3rvBz3Ktn X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=O9kVvMIf; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of mehulsanghvi@gmail.com designates 2607:f8b0:4864:20::734 as permitted sender) smtp.mailfrom=mehulsanghvi@gmail.com X-Spamd-Result: default: False [-3.49 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; RBL_SENDERSCORE_FAIL(0.00)[2607:f8b0:4864:20::734:server fail]; FREEMAIL_FROM(0.00)[gmail.com]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; RCVD_COUNT_THREE(0.00)[3]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; NEURAL_HAM_SHORT(-0.99)[-0.995]; FREEMAIL_TO(0.00)[yahoo.com]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; MID_RHS_MATCH_FROM(0.00)[]; TAGGED_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ARC_NA(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[2607:f8b0:4864:20::734:from]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; SPAMHAUS_ZRD(0.00)[2607:f8b0:4864:20::734:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::734:from]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-ppc] 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 01:05:20 -0000 Thank you for the explanation. I had seen something regarding SMP on = the mailing list back in March and so thought that it might be part of the 13.0 release. I have made USB flash drive using the 13.0 memstick image, but am unable = to boot from there consistently. The first time, I got to the dialog box asking to choose Live CD, Shell = or Install. I had waited A while to get to that stage, having gone through several minutes of: Root mount waiting for: CAM and also aprobe1:ata1:0:1:0 CAM status: Command timeout=20 type of messages scrolling by on the screen. =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. =20 I attached the keyboard directly and tried again and now I=E2=80=99ve = got the mountroot>=20 prompt as it couldn=E2=80=99t mount /dev/da0s3 the second time around. Making a third attempt now, so lets see what happens. I might look at = what Alfredo suggested and write the ISO to the USB stick and see if = that works rather than the memstick.img Otherwise will just keep running NetBSD till 13.1 comes out. cheers, mehul > On Apr 19, 2021, at 20:46 , Mark Millard wrote: >=20 >=20 >=20 > On 2021-Apr-19, at 16:34, Mehul Sanghvi = wrote: >=20 >> . . . >>=20 >> I=E2=80=99ll go ahead and create an image with 13.0 and see if that = works. >=20 > 13.0-RELEASE was a major change, in that 32-bit PowrePC is finally = using > modern llvm/clang-based toochain instead of a gcc 4.2.1 based = toolchain. > Effectively, pre-13.0 is not as well unsupported at this point, if I > understand right. >=20 > In other words, it is unlikely that you would want to use a 12.x > version at all unless you have reasons to be using the old toolchain. >=20 >> As I understand it 13.0 handles SMP on the G4 better, and since I = have a G$ with 2 CPUs, that would be better anyway. >=20 > 13.0-RELEASE does not contain code changes to deal with FreeBSD's > PowerPC problems in that area as far as I know. There is work > going on in/for main in the area but some of it has not been > checked into main yet, if I understand right. The range of 32-bit > PowerMacs covered and if your hardware is (would be) I do not know. >=20 > There are other issues as well. For example: >=20 > Unfortunately, the FreeBSD 32-bit kernel that covers PowerMacs (G3/G4) > slowly zeros out pages of user processes that it should not touch. > This ends up causing some processes to crash and probably other, less > obvious, issues. It is not a reliable environment. To my knowledge, > this area is not under active development currently but the basic > issue of what type of thing is missing was identified some time back. > (The 64-bit kernel that covers G5s does not have this problem.) >=20 > There is more, but the above two are fairly major items out of the > overall list. >=20 > These issues are not unique to 13.0+ as far as I know. Using 12.x > likely would not avoid them. >=20 >=20 >=20 >>> On Apr 19, 2021, at 19:10 , Alfredo Dal'Ava J=C3=BAnior wrote: >>>=20 >>> Hi Mehul, >>>=20 >>> It's in the FreeBSD loader but it looks like something is wrong with = the kernel, it should be loading it at this point.=20 >>>=20 >>> Did you try release 13.0? Please write the USB stick with disc1.iso = instead, that's how I booted/installed on by G4 last time.=20 >>>=20 >>> []'s >>> Alfredo >>>=20 >>> Em seg., 19 de abr. de 2021 19:56, Mehul Sanghvi = escreveu: >>>=20 >>> Hi, >>>=20 >>> I am trying to boot FreeBSD 12.2-RELEASE from a USB stick which had = the memstick image on it. >>>=20 >>> I can get to the OF boot prompt, but how do I boot from there ? =20 >>>=20 >>> The USB stick is located at the devalias usb0 as far as I can tell. >>>=20 >>> What would the boot command be ? Looking at = https://i.redd.it/0ypv6vmi63231.jpg it seems I need some arguments, but = I don=E2=80=99t know where or how to find them. >>>=20 >>> The Handbook has instructions on how to create a memstick.img but = nothing that I could find regarding how to boot from it. >>>=20 >>>=20 >=20 >=20 > =3D=3D=3D > Mark Millard > marklmi at yahoo.com > ( dsl-only.net went > away in early 2018-Mar) >=20