Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Apr 1997 10:41:36 -0500 (CDT)
From:      "Kent S. Gordon" <kgor@inetspace.com>
To:        hackers@FreeBSD.org
Subject:   What is the absolute minimum options for a kernel? (INET required)
Message-ID:  <199704251541.KAA01296@chess.inetspace.com>

next in thread | raw e-mail | index | archive | help
I am trying to create a minimal kernel for debugging a boot problem
after the recent code merges in -current.  I tried the following
kernel file but got a undefined symbol netisr_set from
i386/i386/machdep.c (I commented out the reference to build the
kernel).
What is the minimal set?  If I add INET, I get other undefined unless
some devices/pseudo-devices are defined.  I have attached the config
file that I created.  Why is INET a required option?

Kent S. Gordon
Senior Software Engineer
iNetSpace Co.
voice: (972)851-3494 fax:(972)702-0384 e-mail:kgor@inetspace.com



machine		"i386"
cpu		"I486_CPU"
ident		GGZOO
maxusers	10

#comment out line in i386/i386/machdep.c 
#  setup_netisrs(&netisr_set);
# to not have to include INET why is INET required?
#options        INET
options		FFS			#Berkeley Fast Filesystem
options		"COMPAT_43"		#Compatible with BSD 4.3 [KEEP THIS!]

options		BOUNCE_BUFFERS		#include support for DMA bounce buffers

options		DDB
options		DIAGNOSTIC
options		SCSIDEBUG
options		DEBUG
options		SCSI_REPORT_GEOMETRY


config		kernel	root on sd0

controller	isa0

controller	bt0	at isa? port "IO_BT0" bio irq ? vector bt_isa_intr

controller	scbus0

device		sd0


# Mandatory, don't remove
device		npx0	at isa? port "IO_NPX" irq 13 vector npxintr
pseudo-device	log





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199704251541.KAA01296>