Re: generic HBA errors on Mac Classic II

Matthew Fleeger <[email protected]> Wed, 11 Mar 2026 13:28:08 -0400
Newsgroups gmane.os.netbsd.ports.mac68k
Message-ID <CAM2=KDmDz8dj7OLY7dekDUSvR+Lr6sfV5yhXUBsqkbP9SWBcXQ@mail.gmail.com>
--000000000000422bd2064cc2f6d4
Content-Type: text/plain; charset="UTF-8"

Regarding my qemu setup, I simply don't have a powerful enough NetBSD
machine to use the cross compiler effectively.  Just an old graphite Mac
running 9.3.

On Wed, Mar 11, 2026, 13:25 John Klos <[email protected]> wrote:

> Hi,
>
> > I'll resist the urge to pile on here and just note that when I used
> > build.sh, it did not produce a kernel that the Classic II could boot.
> > As I noted above, that kernel causes the machine to hang in Booter.
>
> > John Klos, would you mind sharing exactly how you invoked build.sh to
> > produce the kernel you sent above, along with host OS, compiler
> > version, etc?
>
> I'll include that, but I'll first mention that Booter can be finicky
> sometimes, both in booting the kernel from the NetBSD filesystem and from
> booting the kernel as a file in the native HFS(+).
>
> Booting seems to work most consistently when booting from the Mac OS
> filesystem as a gzipped file.
>
> My invocation is:
>
> ./build.sh -j `sysctl -n hw.ncpuonline` -D ../dest-mac68k -O ../obj-mac68k
> -T ../tools -R ../sets -m mac68k tools kernel=CLASSICII
>
> I've added FPU_EMULATE and dse* and made a new kernel from netbsd-11
> sources:
>
> https://www.klos.com/~john/netbsd_classicii_dayna.gz
>
> Here's the same from -current sources:
>
> https://www.klos.com/~john/netbsd_classicii_dayna_current.gz
>
> Let us know how it goes.
>
> John
>

--000000000000422bd2064cc2f6d4
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"auto">Regarding my qemu setup, I simply don&#39;t have a powerf=
ul enough NetBSD machine to use the cross compiler effectively.=C2=A0 Just =
an old graphite Mac running 9.3.</div><br><div class=3D"gmail_quote gmail_q=
uote_container"><div dir=3D"ltr" class=3D"gmail_attr">On Wed, Mar 11, 2026,=
 13:25 John Klos &lt;<a href=3D"mailto:[email protected]">[email protected]</a>&gt;=
 wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8=
ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
&gt; I&#39;ll resist the urge to pile on here and just note that when I use=
d<br>
&gt; build.sh, it did not produce a kernel that the Classic II could boot.<=
br>
&gt; As I noted above, that kernel causes the machine to hang in Booter.<br=
>
<br>
&gt; John Klos, would you mind sharing exactly how you invoked build.sh to<=
br>
&gt; produce the kernel you sent above, along with host OS, compiler<br>
&gt; version, etc?<br>
<br>
I&#39;ll include that, but I&#39;ll first mention that Booter can be finick=
y <br>
sometimes, both in booting the kernel from the NetBSD filesystem and from <=
br>
booting the kernel as a file in the native HFS(+).<br>
<br>
Booting seems to work most consistently when booting from the Mac OS <br>
filesystem as a gzipped file.<br>
<br>
My invocation is:<br>
<br>
./build.sh -j `sysctl -n hw.ncpuonline` -D ../dest-mac68k -O ../obj-mac68k =
-T ../tools -R ../sets -m mac68k tools kernel=3DCLASSICII<br>
<br>
I&#39;ve added FPU_EMULATE and dse* and made a new kernel from netbsd-11 <b=
r>
sources:<br>
<br>
<a href=3D"https://www.klos.com/~john/netbsd_classicii_dayna.gz" rel=3D"nor=
eferrer noreferrer" target=3D"_blank">https://www.klos.com/~john/netbsd_cla=
ssicii_dayna.gz</a><br>
<br>
Here&#39;s the same from -current sources:<br>
<br>
<a href=3D"https://www.klos.com/~john/netbsd_classicii_dayna_current.gz" re=
l=3D"noreferrer noreferrer" target=3D"_blank">https://www.klos.com/~john/ne=
tbsd_classicii_dayna_current.gz</a><br>
<br>
Let us know how it goes.<br>
<br>
John<br>
</blockquote></div>

--000000000000422bd2064cc2f6d4--