From owner-freebsd-bugs Sun Jan 13 1:20: 8 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 7FCBC37B41C for ; Sun, 13 Jan 2002 01:20:00 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g0D9K0c62538; Sun, 13 Jan 2002 01:20:00 -0800 (PST) (envelope-from gnats) Received: from D00015.dialonly.kemerovo.su (www2.svzserv.kemerovo.su [213.184.65.86]) by hub.freebsd.org (Postfix) with ESMTP id 9EB3537B400 for ; Sun, 13 Jan 2002 01:09:58 -0800 (PST) Received: (from eugen@localhost) by D00015.dialonly.kemerovo.su (8.11.6/8.11.6) id g0D98u103264; Sun, 13 Jan 2002 16:08:56 +0700 (KRAT) (envelope-from eugen) Message-Id: <200201130908.g0D98u103264@D00015.dialonly.kemerovo.su> Date: Sun, 13 Jan 2002 16:08:56 +0700 (KRAT) From: Eugene Grosbein Reply-To: Eugene Grosbein To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: kern/33833: Correct kernel config for 4.4-RELEASE is incorrect for 4.5-RC1 Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 33833 >Category: kern >Synopsis: Correct kernel config for 4.4-RELEASE is incorrect for 4.5-RC1 >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Sun Jan 13 01:20:00 PST 2002 >Closed-Date: >Last-Modified: >Originator: Eugene Grosbein >Release: FreeBSD 4.5-RC i386 >Organization: Svyaz Service JSC >Environment: System: FreeBSD D00015.dialonly.kemerovo.su 4.5-RC FreeBSD 4.5-RC #1: Sun Jan 13 13:22:48 KRAT 2002 eu@D00015.dialonly.kemerovo.su:/usr/local/obj/mnt/old/usr/src/sys/DADV i386 >Description: MFC 1.24.2.11 of src/sys/netinet/ip_dummynet.c made ipfw/dummynet/bridge KLD'able and broke compilations of kernels containing DUMMYNET and not containing pseudo-device ether. >How-To-Repeat: Try to build this kernel. It's nearly real config for PPP-only networking. #start of file machine i386 cpu I486_CPU cpu I586_CPU cpu I686_CPU ident EP maxusers 4 options INET #InterNETworking options FFS #Berkeley Fast Filesystem options FFS_ROOT #FFS usable as root device [keep this!] options COMPAT_43 #Compatible with BSD 4.3 [KEEP THIS!] options USERCONFIG #boot -c editor options VISUAL_USERCONFIG #visual boot -c editor options IPFIREWALL options IPFIREWALL_FORWARD options IPDIVERT options DUMMYNET device isa0 device fdc0 at isa? port IO_FD1 irq 6 drq 2 device fd0 at fdc0 drive 0 #device fd1 at fdc0 drive 1 device ata0 at isa? port IO_WD1 irq 14 device ata device atadisk options ATA_STATIC_ID device atkbdc0 at isa? port IO_KBD flags 0x01 device atkbd0 at atkbdc? irq 1 device vga0 at isa? port ? options VGA_NO_MODE_CHANGE device sc0 at isa? options SC_NO_CUTPASTE options SC_NO_SYSMOUSE options MAXCONS=8 device npx0 at nexus? port IO_NPX irq 13 device sio0 at isa? port IO_COM1 flags 0x10 irq 4 device sio1 at isa? port IO_COM2 irq 3 device sio2 at isa? port IO_COM3 irq 7 device sio3 at isa? port IO_COM4 irq 5 pseudo-device loop pseudo-device ppp 3 pseudo-device pty pseudo-device bpf #required by PPP_FILTER pseudo-device snp 4 pseudo-device gif options PPP_DEFLATE options PPP_BSDCOMP options PPP_FILTER options TCP_DROP_SYNFIN options ICMP_BANDLIM options DUMMYNET options INCLUDE_CONFIG_FILE options HZ=1000 options P1003_1B options _KPOSIX_PRIORITY_SCHEDULING options _KPOSIX_VERSION=199309L options CLK_CALIBRATION_LOOP options CLK_USE_I8254_CALIBRATION options RANDOM_IP_ID #end if file There are last lines of make's output. cc -c -O -pipe -march=pentiumpro -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -ansi -nostdinc -I- -I. -I../.. -I../../../include -I../../contrib/ipfilter -D_KERNEL -include opt_global.h -elf -mpreferred-stack-boundary=2 setdef1.c touch hack.c cc -elf -shared -nostdlib hack.c -o hack.So rm -f hack.c sh ../../conf/newvers.sh EP cc -c -O -pipe -march=pentiumpro -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -ansi -nostdinc -I- -I. -I../.. -I../../../include -I../../contrib/ipfilter -D_KERNEL -include opt_global.h -elf -mpreferred-stack-boundary=2 vers.c linking kernel ip_dummynet.o: In function `transmit_event': ip_dummynet.o(.text+0x44e): undefined reference to `bdgtakeifaces_ptr' ip_dummynet.o(.text+0x4ae): undefined reference to `bdg_forward_ptr' *** Error code 1 >Fix: Workaround: add pseudo-device ether to kernel config even if you do not need this. Fix: unknown for me. If this won't be fixed before release, this should be documented in the src/UPDATING and dummynet(4) man page. pseudo-device ether adds currently 16Kb to kernel size. Eugene Grosbein >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message