Subject: Classic II on NetBSD-1.2.1
To: None <port-mac68k@NetBSD.ORG>
From: Mike Eckhoff <meckhoff@zaphod.wayne.esu1.k12.ne.us>
List: port-mac68k
Date: 04/14/1997 07:06:40
Hello!

I have finaly managed to get my own kernel compiled with everythign
necesarily to get the Classic II running on NetBSD-1.2.1.  However, I am
now getting some errors that I did not have before, and am curious if
anyone can help me out with them.  My previous kernel was NetBSD-1.2
ADBTEST#160.

On Boot Errors:
sd1: mode sense (4) returned nonsense; using fictitious geometry
sd3: mode sense (4) returned nonsense; using fictitious geometry
...
can't find device 0/0

Program Errors:
dmesg: magic number incorrect

I have also seen UFS report an I/O error once or twice, but did not catch
it to jot it down - I just assumed it was from unclean disks.

The system does seem to boot up, however, in single user mode, I have had
it lockup under fsck after the mode sense error.

Any ideas?  My kernel configuration follows.  I am newish to MacBSD, so if
I have left something out that I should have for a Classic II, please let
me know (also if I can tkae something out to reduce kernel size).

The patches I have installed are:
	intvidtest.0.4.1
	adbpatch.164

--cut here--
#	$NetBSD: GENERIC,v 1.37 1996/05/19 22:29:04 scottr Exp $
#
# GENERIC

include	"std.mac68k"

maxusers	16

# obsolete timezone spec
options         MAXFDESCS=2048

# Standard system options
options		SWAPPAGER, VNODEPAGER, DEVPAGER	# paging

# Filesystem options
options		FIFO		# POSIX fifo support (in all filesystems)
options		DDB
options		FFS
options		KERNFS		# kernel data-structure filesystem
options		PROCFS		# Process filesystem

options		SCSI

# Networking options
options		INET
options		TCP_COMPAT_42	# compatibility with 4.2BSD TCP/IP
options		COMPAT_42
options		COMPAT_43
options		NS
options		MAPMEM
options		SYSVSHM,SYSVSEM,SYSVMSG
options		PPP_BSDCOMP,PPP_DEFLATE

# Mac-specific options
options		M68030
options		FPSP
options		FPU_EMULATE
options		COMPAT_NOMID
options		COMPAT_SUNOS
options		COMPAT_09
options		COMPAT_10
options		MACHINE_NONCONTIG

config		netbsd	swap generic
options		GENERIC

intvid0		at obio?	# Internal video hardware

# Attach grf semantics to all video hardware as it is found
grf*		at intvid?

ncrscsi0	at obio?		# SCSI NCR 5380

scsibus*	at scsi?
sd*	at scsibus? target ? lun ?

pseudo-device	pty		16
pseudo-device	bpfilter	12
pseudo-device	vnd		2
pseudo-device	ppp		2
pseudo-device	loop
pseudo-device	sl


 +'^'+.,.+'^'+.,.+'^'+.,.+'^'+.,.+'^'+.,.+'^'+.,.+'^'+.,.+'^'+.,.+'^'+.,.+

    Mike Eckhoff / Network Administrator / Wayne Public School District
       KB0TPT		 http://www.wayne.esu1.k12.ne.us/~meckhoff/ 

		"Everyday I relearn something different." -me

 '`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'`'