Subject: non-continues memory support broken on current?
To: None <port-amiga@NetBSD.ORG>
From: Thorsten Frueauf <frueauf@ira.uka.de>
List: port-amiga
Date: 04/14/1998 17:39:59
Hello!

The following happens on an Amiga 3000 with Cyberstorm MKII, 2MB chip,
16 MB fast (zips) and 32 MB fast (on the MKII).

Normaly I see:
Apr 14 15:31:19 di-frueauf /netbsd: Amiga 3000 (68060 rev.1 CPU/MMU/FPU)
Apr 14 15:31:19 di-frueauf /netbsd: real  mem = 50331648 (6144 pages)
Apr 14 15:31:19 di-frueauf /netbsd: avail mem = 45776896 (5588 pages)
Apr 14 15:31:19 di-frueauf /netbsd: using 320 buffers containing 2621440 bytes of memory
Apr 14 15:31:19 di-frueauf /netbsd: memory segment 0 at 8000000 size 2000000
Apr 14 15:31:19 di-frueauf /netbsd: memory segment 1 at 7000000 size 1000000
Apr 14 15:31:19 di-frueauf /netbsd: memory segment 2 at 0 size 200000

This was with a kernel based on current source from 13.3.1998.

With current source from 13.4.1998 I see the following:
Apr 14 17:13:03 di-frueauf /netbsd: Amiga 3000 (68060 rev.1 CPU/MMU/FPU)
Apr 14 17:13:03 di-frueauf /netbsd: real  mem = 33554432 (4096 pages)
Apr 14 17:13:03 di-frueauf /netbsd: avail mem = 30056448 (3669 pages)
Apr 14 17:13:03 di-frueauf /netbsd: using 217 buffers containing 1777664 bytes of memory
Apr 14 17:13:03 di-frueauf /netbsd: memory segment 0 at 8000000 size 2000000
Apr 14 17:13:03 di-frueauf /netbsd: memory segment 1 at 7000000 size 1000000
Apr 14 17:13:03 di-frueauf /netbsd: memory segment 2 at 0 size 200000

Both kernels are derived from the same config file and booted via
bootblock with option "netbsd -Z -n2 -I7F -a".

Did I miss something (e.g. some option in the kernel conf)?

Thanx for any help in advance!

Greets
      Thorsten

PS: Here is the kernel conf that I currently use:

--- snip ---
include "arch/amiga/conf/std.amiga"

maxusers	32
options 	RTC_OFFSET=0

options 	BB060STUPIDROM	# You need this, if you have a non-DraCo
				# 68060 with an OS ROM up to (at least) 
				# V40 (OS3.1) and want to boot with the
				# bootblock.
				# You don't need this if you have a DraCo,
				# have no 68060 or NEVER use the bootblock
options 	M68060		# support for 060
options 	M060SP		# MC68060 software support (Required for 060)
options 	M68030		# support for 030

options 	INET		# IP networking support (Required)
options 	GATEWAY		# Packet forwarding
options 	MROUTING	# Multicast routing
options 	PFIL_HOOKS	# pfil(9) packet filter hooks
options 	IPFILTER_LOG	# ipmon(8) log support

file-system 	FFS		# Berkeley fast file system
file-system 	MFS		# Memory based filesystem
file-system 	NFS		# Network File System client side code
file-system 	ADOSFS		# AmigaDOS file system
file-system 	CD9660		# ISO 9660 + Rock Ridge filesystem
file-system 	MSDOSFS		# MS-DOS filesystem
file-system 	FDESC		# user file descriptor filesystem
file-system 	KERNFS		# kernel data-structure filesystem
file-system 	NULLFS		# loopback filesystem
file-system 	PROCFS		# /proc filesystem
file-system 	UMAPFS		# NULLFS + uid and gid remapping
file-system 	UNION		# union filesystem

options 	NFSSERVER	# Network File System server side code
options 	FIFO		# FIFOs; RECOMMENDED

options 	TCP_COMPAT_42	# compatibility with 4.2BSD TCP/IP
options 	COMPAT_43	# compatibility with 4.3BSD interfaces
options 	COMPAT_09	# compatibility with NetBSD 0.9
options 	COMPAT_10	# compatibility with NetBSD 1.0
options 	COMPAT_12	# compatibility with NetBSD 1.2
options 	COMPAT_13	# compatibility with NetBSD 1.3
options 	COMPAT_SUNOS	# Support to run Sun (m68k) executables
options 	COMPAT_NOMID	# allow nonvalid machine id executables

options 	SYSVSHM		# System V-like shared memory
options 	SYSVMSG		# System V-like messages
options 	SYSVSEM		# System V-like semaphores

options 	KTRACE		# system call tracing support
options 	LKM		# Loadable kernel modules
options 	NKMEMCLUSTERS=1024	# Size of kernel malloc area
options		NMBCLUSTERS=1024	# Size of kernel malloc area
options 	UCONSOLE	# anyone can redirect a virtual console
				# loading in multi-user mode.
options 	SCSIVERBOSE	# Verbose SCSI errors

options 	CL5426CONSOLE	# Cirrus console
grfcl*		at zbus0		# Picasso II/Piccalo/Spectrum
grf3		at grfcl?
ite3		at grf3			# terminal emulators for grf's

ser0		at mainbus0		# Amiga onboard serial
par0		at mainbus0		# Amiga onboard parallel
ms*		at mainbus0		# Amiga mice
fdc0		at mainbus0		# Amiga FDC
fd*		at fdc0 unit ?		# floppy disks on the later
a34kbbc0	at mainbus0		# A3000/A4000 battery backed clock
aucc*		at mainbus0		# Amiga CC audio
audio*		at aucc?

le*		at zbus0		# A2065, Ameristar, Ariadne
bah*		at zbus0		# C=/Ameristar A2060 / 560

ahsc0		at mainbus0		# A3000 scsi
scsibus*	at ahsc0

sd*	at scsibus? target ? lun ?	# scsi disks
st*	at scsibus? target ? lun ?	# scsi tapes
cd*	at scsibus? target ? lun ?	# scsi cd's
ss*	at scsibus? target ? lun ?	# scsi scanner
ch*	at scsibus? target ? lun ?	# scsi autochangers
uk*	at scsibus? target ? lun ?	# scsi unknown

pseudo-device	loop			# loopback network interface
pseudo-device	sl		1	# SLIP network interfaces
pseudo-device	ppp		1	# PPP network interfaces
pseudo-device	tun		1	# network tunnel line discipline
pseudo-device	bpfilter	16	# Berkeley packet filter
pseudo-device	ipfilter		# IP Filter package

pseudo-device	view		10	# views
pseudo-device	pty		16	# pseudo ptys

pseudo-device	vnd		4	# vnode pseudo-disks

config	netbsd root on ? type ?
---snip---