From owner-freebsd-hackers Fri Apr 25 08:43:05 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id IAA23299 for hackers-outgoing; Fri, 25 Apr 1997 08:43:05 -0700 (PDT) Received: from chess.inetspace.com ([206.50.163.14]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id IAA23292 for ; Fri, 25 Apr 1997 08:43:02 -0700 (PDT) Received: (from kgor@localhost) by chess.inetspace.com (8.8.5/8.7.3) id KAA01296; Fri, 25 Apr 1997 10:41:36 -0500 (CDT) Date: Fri, 25 Apr 1997 10:41:36 -0500 (CDT) Message-Id: <199704251541.KAA01296@chess.inetspace.com> From: "Kent S. Gordon" To: hackers@FreeBSD.org Subject: What is the absolute minimum options for a kernel? (INET required) Mime-Version: 1.0 (generated by tm-edit 7.105) Content-Type: text/plain; charset=US-ASCII Sender: owner-hackers@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk 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