Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Apr 2021 21:05:16 -0400
From:      Mehul Sanghvi <mehul.sanghvi@gmail.com>
To:        Mark Millard <marklmi@yahoo.com>
Cc:        =?utf-8?Q?Alfredo_Dal=27Ava_J=C3=BAnior?= <alfredo@freebsd.org>, FreeBSD PowerPC ML <freebsd-ppc@freebsd.org>
Subject:   Re: PowerMac G4 booting from memstick image
Message-ID:  <6F45C842-2520-46AF-8818-B1E18107C706@gmail.com>
In-Reply-To: <800807B2-83C1-40CB-B5D3-67B5A6AED2C7@yahoo.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>

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

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 <marklmi@yahoo.com> wrote:
>=20
>=20
>=20
> On 2021-Apr-19, at 16:34, Mehul Sanghvi <mehul.sanghvi at gmail.com> =
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 <alfredo at =
freebsd.org> 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 =
<mehul.sanghvi@gmail.com> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6F45C842-2520-46AF-8818-B1E18107C706>