Subject: Current kernel makes init die with SIGBUS
To: None <current-users@NetBSD.ORG>
From: Ken Hornstein <kenh@cmf.nrl.navy.mil>
List: current-users
Date: 11/01/1995 14:49:47
------- =_aaaaaaaaaa0
Content-Type: text/plain; charset="us-ascii"
Content-ID: <615.815255266.1@cmf.nrl.navy.mil>

Hallo all,

I'm trying to upgrade an old 386 to 'current.  I've supped up to today, but
after booting on a freshly built kernel, init dies with a SIGBUS.

I'm totally stumped.  This happened before when building a -current kernel
from 1.0 toolchain; I figured there was a bug/incompatibility with the 1.0
toolchain and the -current tree (although I had built a new gas), so I booted
with the 1.0A GENERIC kernel on sup.netbsd.org and upgraded with the binaries
on munitions.wasabi.com.  Again, a new kernel makes init die with a SIGBUS.

Attached is the kernel config file I'm using.  Can anyone give me a clue as to
what I'm doing wrong?  (It's worth pointing out that I built a kernel with
the INSTADP config file, and init still died :-( ).

This is a 386/16, 8MB, IDE disk.

Thanks!

--Ken

------- =_aaaaaaaaaa0
Content-Type: text/plain; charset="us-ascii"
Content-ID: <615.815255266.2@cmf.nrl.navy.mil>
Content-Description: Kernel config file for MERLIN

#
# MERLIN - the beater 386
#

machine		i386		# architecture, used by config; REQUIRED

options		I386_CPU	# CPU classes; at least one is REQUIRED

options		DUMMY_NOPS	# speed hack; recommended
options		XSERVER,UCONSOLE
options		MACHINE_NONCONTIG

maxusers	32		# estimated number of users
options		TIMEZONE=5	# time zone to adjust RTC time by
options		DST=1		# daylight savings time used by RTC

options		SWAPPAGER	# paging; REQUIRED
options		VNODEPAGER	# mmap() of files
options		DEVPAGER	# mmap() of devices

#options		DDB		# in-kernel debugger
#makeoptions	DEBUG="-g"	# compile full symbol table
#options		DIAGNOSTIC	# internally consistency checks
options		KTRACE		# system call tracing, a la ktrace(1)

options		SYSVMSG		# System V-like message queues
options		SYSVSEM		# System V-like semaphores
options		SYSVSHM		# System V-like memory sharing
#options	SHMMAXPGS=1024	# 1024 pages is the default

options		COMPAT_NOMID	# compatibility with 386BSD, BSDI, NetBSD 0.8,
#options		COMPAT_09	# NetBSD 0.9,
options		COMPAT_10	# NetBSD 1.0,
options		COMPAT_43	# and 4.3BSD
options		TCP_COMPAT_42	# TCP bug compatibility with 4.2BSD

#options		COMPAT_SVR4	# binary compatibility with SVR4
#options		COMPAT_IBCS2	# binary compatibility with SCO and ISC
#options		COMPAT_LINUX	# binary compatibility with Linux
#options		COMPAT_FREEBSD	# binary compatibility with FreeBSD

options		LKM		# loadable kernel modules

options		FFS		# UFS

#options		NFSCLIENT	# Network File System client
#options		NFSSERVER	# Network File System server

#options		CD9660		# ISO 9660 + Rock Ridge file system
options		MSDOSFS		# MS-DOS file system
#options		FDESC		# /dev/fd
options		FIFO		# FIFOs; RECOMMENDED
options		KERNFS		# /kern
#options		NULLFS		# loopback file system
#options		PORTAL		# ?
#options		PROCFS		# /proc
#options		UMAPFS		# NULLFS + uid and gid remapping
#options		UNION		# union file system

#options	GATEWAY		# packet forwarding
options		INET		# IP + ICMP + TCP + UDP
#options		NS		# XNS
#options		ISO,TPIP	# OSI
#options		EON		# OSI tunneling over IP
#options		CCITT,LLC,HDLC	# X.25

config		netbsd	root on wd0 swap on wd0
#options		GENERIC

isa0	at root

npx0	at isa? port 0xf0 irq 13	# math coprocessor

pc0	at isa? port 0x60 irq 1		# generic PC console device
#vt0	at isa? port 0x60 irq 1

com0	at isa? port 0x3f8 irq 4	# standard PC serial ports
com1	at isa? port 0x2f8 irq 3
#com2	at isa? port 0x3e8 irq 5
#com3	at isa? port 0x2e8 irq 9
#ast0	at isa? port 0x1a0 irq 5	# AST 4-port serial cards
#com*	at ast? slave ? flags 1
#boca0	at isa? port 0x100 irq 5	# BOCA 8-port serial cards
#com*	at boca? slave ?
#rtfps0	at isa? port 0x1230 irq 10	# RT 4-port serial cards
#com*	at rtfps? slave ?

#cy0	at isa? ...

lpt0	at isa? port 0x378 irq 7	# standard PC parallel ports

fdc0	at isa? port 0x3f0 irq 6 drq 2	# standard PC floppy controllers
#fdc1	at isa? port 0x370 irq ? drq ?
fd*	at fdc? drive ?

wdc0	at isa? port 0x1f0 irq 14	# ST506, ESDI, and IDE controllers
#wdc1	at isa? port 0x170 irq ?
wd*	at wdc? drive ?

ep0	at isa? port ? irq ?			# 3C509 ethernet cards

pseudo-device	loop	1		# network loopback
pseudo-device	bpfilter 8		# packet filter
#pseudo-device	sl	2		# CSLIP
#pseudo-device	ppp	2		# PPP
#pseudo-device	tun	2		# network tunneling over tty

pseudo-device	pty	64		# pseudo-terminals
#pseudo-device	tb	1		# tablet line discipline
pseudo-device	vnd	4		# paging to files

------- =_aaaaaaaaaa0--