Port-mac68k archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: generic HBA errors on Mac Classic II



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


Home | Main Index | Thread Index | Old Index