Re: generic HBA errors on Mac Classic II

Matthew Fleeger <[email protected]> Mon, 9 Mar 2026 18:19:38 -0400
Newsgroups gmane.os.netbsd.ports.mac68k
Message-ID <CAM2=KD=bd=Tto-XgyW-bfh_5M8wOo87UQ6=zXMeOe1R8ZPZEjQ@mail.gmail.com>
--0000000000000e6747064c9ecd52
Content-Type: text/plain; charset="UTF-8"

This describes my problem from several months exactly.  My setup is the
same except I have an FPU.  I have an internal BlueSCSI.

I tried the provided kernel with no change in behavior, but now I have a
qemu setup so I can compile kernels, so I'll keep at it.

On Mon, Mar 9, 2026, 15:03 John Klos <[email protected]> wrote:

> Hi,
>
> > I am trying to install NetBSD 10.1 on a Mac Classic II with 10MB of
> > RAM, a BlueSCSI, and no FPU.
> ...
> > then I get these messages repeated 6 times:
> > [...] sbc0: parity error!
>
> > Any ideas on what to try next?
>
> The Mac Classic II is quite similar to the LC II. I've played with NetBSD
> quite a bit on the LC II.
>
> I've run in to the parity issue. After putting things aside for a while,
> then coming back to it later, I decided to try -current (which is now 11),
> and the parity issue wasn't happening.
>
> If you want to try the kernel configuration that runs on my LC II, I think
> there're only two little things to change.
>
> First, there's an issue with LC-PDS, but since the Classic II doesn't have
> an LC-PDS slot, that doesn't concern you. You can remove the
> "NUBUS_MIN_SLOT", "nubus0 at mainbus?" and "ae* at nubus?" lines below.
>
> Second, since you don't have an FPU, you'll need to add "options
> FPU_EMULATE"
>
> If you'd like to try a pre-built kernel, I've made one from the kernel
> config below with the changes mentioned above. It's 2456032 bytes, 1133545
> gzipped:
>
> https://www.klos.com/~john/netbsd_classicii.gz
>
> It's quite frankly amazing that a modern OS can even run on a machine with
> just 10 megabytes of memory!
>
> John
>
>
>
>
> # Kernel configuration file for Mac LC II with 10 megs.
> #   Note Nubus slot change needed.
> #   Also note that LC machines require SBC SCSI.
>
> include         "arch/mac68k/conf/std.mac68k"
> makeoptions     COPTS="-O2 -m68030 -fno-reorder-blocks
> -fno-omit-frame-pointer -fno-inline-small-functions"
>
> options         DDB             # in-kernel debugger
> options         DDB_COMMANDONENTER="trace;show registers;ps"
>
> maxusers        6               # estimated number of users
> options         M68030
>
> options         NUBUS_MIN_SLOT="0xE"
>
> file-system     FFS             # UFS
> file-system     PTYFS           # /dev/pts/N support
>
> options         FFS_NO_SNAPSHOT # No FFS snapshot support
>
> options         INET            # IP + ICMP + TCP + UDP
> options         INET6           # IPV6
>
> options         WSEMUL_VT100            # VT100 / VT220 emulation
> options         WSDISPLAY_COMPAT_ITEFONT # use ite font (6x10)
>
> config          netbsd  root on ? type ?
>
> mainbus0 at root
> obio0 at mainbus?
> nubus0 at mainbus?
>
> adb0    at obio?
> aed*    at adb?                         # ADB event device
> akbd*   at adb?                         # ADB keyboard
> ams*    at adb?                         # ADB mouse
>
> intvid0 at obio?                        # Internal video hardware
> macfb*  at intvid?
>
> wsdisplay* at macfb? console ?
> wskbd*  at akbd? console ?
> wsmouse* at ams?
>
> zsc0    at obio?
> zstty*  at zsc? channel ?
>
> sbc0    at obio? addr 0 flags 0x1       # MI SCSI NCR 5380
> scsibus* at scsi?
> sd*     at scsibus? target ? lun ?      # SCSI disk drives
> st*     at scsibus? target ? lun ?      # SCSI tape drives
> cd*     at scsibus? target ? lun ?      # SCSI CD-ROM drives
> ch*     at scsibus? target ? lun ?      # SCSI autochangers
> se*     at scsibus? target ? lun ?      # SCSI ethernet
> ss*     at scsibus? target ? lun ?      # SCSI scanners
> uk*     at scsibus? target ? lun ?      # SCSI unknown
>
> ae*     at nubus?                       # DP8390-based
>
> asc0    at obio?                        # ASC/EASC audio
>
> pseudo-device   loop                    # network loopback
> pseudo-device   accf_data               # "dataready" accept filter
> pseudo-device   accf_http               # "httpready" accept filter
> pseudo-device   pty                     # pseudo-terminals
>

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

<div dir=3D"auto">This describes my problem from several months exactly.=C2=
=A0 My setup is the same except I have an FPU.=C2=A0 I have an internal Blu=
eSCSI.<div dir=3D"auto"><br></div><div dir=3D"auto">I tried the provided ke=
rnel with no change in behavior, but now I have a qemu setup so I can compi=
le kernels, so I&#39;ll keep at it.</div></div><br><div class=3D"gmail_quot=
e gmail_quote_container"><div dir=3D"ltr" class=3D"gmail_attr">On Mon, Mar =
9, 2026, 15:03 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 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
&gt; I am trying to install NetBSD 10.1 on a Mac Classic II with 10MB of<br=
>
&gt; RAM, a BlueSCSI, and no FPU.<br>
...<br>
&gt; then I get these messages repeated 6 times:<br>
&gt; [...] sbc0: parity error!<br>
<br>
&gt; Any ideas on what to try next?<br>
<br>
The Mac Classic II is quite similar to the LC II. I&#39;ve played with NetB=
SD <br>
quite a bit on the LC II.<br>
<br>
I&#39;ve run in to the parity issue. After putting things aside for a while=
, <br>
then coming back to it later, I decided to try -current (which is now 11), =
<br>
and the parity issue wasn&#39;t happening.<br>
<br>
If you want to try the kernel configuration that runs on my LC II, I think =
<br>
there&#39;re only two little things to change.<br>
<br>
First, there&#39;s an issue with LC-PDS, but since the Classic II doesn&#39=
;t have <br>
an LC-PDS slot, that doesn&#39;t concern you. You can remove the <br>
&quot;NUBUS_MIN_SLOT&quot;, &quot;nubus0 at mainbus?&quot; and &quot;ae* at=
 nubus?&quot; lines below.<br>
<br>
Second, since you don&#39;t have an FPU, you&#39;ll need to add &quot;optio=
ns FPU_EMULATE&quot;<br>
<br>
If you&#39;d like to try a pre-built kernel, I&#39;ve made one from the ker=
nel <br>
config below with the changes mentioned above. It&#39;s 2456032 bytes, 1133=
545 <br>
gzipped:<br>
<br>
<a href=3D"https://www.klos.com/~john/netbsd_classicii.gz" rel=3D"noreferre=
r noreferrer" target=3D"_blank">https://www.klos.com/~john/netbsd_classicii=
.gz</a><br>
<br>
It&#39;s quite frankly amazing that a modern OS can even run on a machine w=
ith <br>
just 10 megabytes of memory!<br>
<br>
John<br>
<br>
<br>
<br>
<br>
# Kernel configuration file for Mac LC II with 10 megs.<br>
#=C2=A0 =C2=A0Note Nubus slot change needed.<br>
#=C2=A0 =C2=A0Also note that LC machines require SBC SCSI.<br>
<br>
include=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0&quot;arch/mac68k/conf/std.mac68k&=
quot;<br>
makeoptions=C2=A0 =C2=A0 =C2=A0COPTS=3D&quot;-O2 -m68030 -fno-reorder-block=
s -fno-omit-frame-pointer -fno-inline-small-functions&quot;<br>
<br>
options=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0DDB=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0# in-kernel debugger<br>
options=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0DDB_COMMANDONENTER=3D&quot;trace;s=
how registers;ps&quot;<br>
<br>
maxusers=C2=A0 =C2=A0 =C2=A0 =C2=A0 6=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0# estimated number of users<br>
options=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0M68030<br>
<br>
options=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0NUBUS_MIN_SLOT=3D&quot;0xE&quot;<b=
r>
<br>
file-system=C2=A0 =C2=A0 =C2=A0FFS=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=
 =C2=A0# UFS<br>
file-system=C2=A0 =C2=A0 =C2=A0PTYFS=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0# /dev/pts/N support<br>
<br>
options=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0FFS_NO_SNAPSHOT # No FFS snapshot =
support<br>
<br>
options=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0INET=C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 # IP + ICMP + TCP + UDP<br>
options=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0INET6=C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0# IPV6<br>
<br>
options=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0WSEMUL_VT100=C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 # VT100 / VT220 emulation<br>
options=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0WSDISPLAY_COMPAT_ITEFONT # use ite=
 font (6x10)<br>
<br>
config=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 netbsd=C2=A0 root on ? type ?<br>
<br>
mainbus0 at root<br>
obio0 at mainbus?<br>
nubus0 at mainbus?<br>
<br>
adb0=C2=A0 =C2=A0 at obio?<br>
aed*=C2=A0 =C2=A0 at adb?=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0# ADB event device<br>
akbd*=C2=A0 =C2=A0at adb?=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0# ADB keyboard<br>
ams*=C2=A0 =C2=A0 at adb?=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0# ADB mouse<br>
<br>
intvid0 at obio?=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 # Internal video hardware<br>
macfb*=C2=A0 at intvid?<br>
<br>
wsdisplay* at macfb? console ?<br>
wskbd*=C2=A0 at akbd? console ?<br>
wsmouse* at ams?<br>
<br>
zsc0=C2=A0 =C2=A0 at obio?<br>
zstty*=C2=A0 at zsc? channel ?<br>
<br>
sbc0=C2=A0 =C2=A0 at obio? addr 0 flags 0x1=C2=A0 =C2=A0 =C2=A0 =C2=A0# MI =
SCSI NCR 5380<br>
scsibus* at scsi?<br>
sd*=C2=A0 =C2=A0 =C2=A0at scsibus? target ? lun ?=C2=A0 =C2=A0 =C2=A0 # SCS=
I disk drives<br>
st*=C2=A0 =C2=A0 =C2=A0at scsibus? target ? lun ?=C2=A0 =C2=A0 =C2=A0 # SCS=
I tape drives<br>
cd*=C2=A0 =C2=A0 =C2=A0at scsibus? target ? lun ?=C2=A0 =C2=A0 =C2=A0 # SCS=
I CD-ROM drives<br>
ch*=C2=A0 =C2=A0 =C2=A0at scsibus? target ? lun ?=C2=A0 =C2=A0 =C2=A0 # SCS=
I autochangers<br>
se*=C2=A0 =C2=A0 =C2=A0at scsibus? target ? lun ?=C2=A0 =C2=A0 =C2=A0 # SCS=
I ethernet<br>
ss*=C2=A0 =C2=A0 =C2=A0at scsibus? target ? lun ?=C2=A0 =C2=A0 =C2=A0 # SCS=
I scanners<br>
uk*=C2=A0 =C2=A0 =C2=A0at scsibus? target ? lun ?=C2=A0 =C2=A0 =C2=A0 # SCS=
I unknown<br>
<br>
ae*=C2=A0 =C2=A0 =C2=A0at nubus?=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0# DP8390-based<br>
<br>
asc0=C2=A0 =C2=A0 at obio?=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 # ASC/EASC audio<br>
<br>
pseudo-device=C2=A0 =C2=A0loop=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 # network loopback<br>
pseudo-device=C2=A0 =C2=A0accf_data=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0# &quot;dataready&quot; accept filter<br>
pseudo-device=C2=A0 =C2=A0accf_http=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0# &quot;httpready&quot; accept filter<br>
pseudo-device=C2=A0 =C2=A0pty=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0# pseudo-terminals<br>
</blockquote></div>

--0000000000000e6747064c9ecd52--