Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Jul 2000 13:37:42 -0700
From:      Lars Eggert <larse@ISI.EDU>
To:        freebsd-stable@freebsd.org
Subject:   buildkernel failure: netinet6/esp_core.c
Message-ID:  <39736E96.1AC0917B@isi.edu>

next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.
--------------CECF4A39C54D39BBB253D1BE
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Building a kernel (config file attached) on a freshly updated -stable
system fails with:

cc -c -O3 -pipe -funroll-loops -fomit-frame-pointer -fno-builtin -Wall
-Wredundant-decls -Wnested-externs -Wstrict-prototypes 
-Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual 
-fformat-extensions -ansi -g -nostdinc -I- -I. -I../.. -I../../../include
-DXBONEHACK -DMAX_GIF_NEST=2147483647 -D_KERNEL -include opt_global.h -elf 
-mpreferred-stack-boundary=2  ../../netinet6/esp_core.c
../../netinet6/esp_core.c: In function `esp_descbc_decrypt':
../../netinet6/esp_core.c:319: void value not ignored as it ought to be
../../netinet6/esp_core.c:238: warning: `error' might be used uninitialized
in this function
../../netinet6/esp_core.c: In function `esp_descbc_encrypt':
../../netinet6/esp_core.c:440: void value not ignored as it ought to be
../../netinet6/esp_core.c:345: warning: `error' might be used uninitialized
in this function
../../netinet6/esp_core.c: In function `esp_blowfish_cbc_decrypt':
../../netinet6/esp_core.c:571: void value not ignored as it ought to be
../../netinet6/esp_core.c:519: warning: `error' might be used uninitialized
in this function
../../netinet6/esp_core.c: In function `esp_blowfish_cbc_encrypt':
../../netinet6/esp_core.c:649: void value not ignored as it ought to be
../../netinet6/esp_core.c:598: warning: `error' might be used uninitialized
in this function
../../netinet6/esp_core.c: In function `esp_cast128cbc_decrypt':
../../netinet6/esp_core.c:743: void value not ignored as it ought to be
../../netinet6/esp_core.c:687: warning: `error' might be used uninitialized
in this function
../../netinet6/esp_core.c: In function `esp_cast128cbc_encrypt':
../../netinet6/esp_core.c:818: void value not ignored as it ought to be
../../netinet6/esp_core.c:765: warning: `error' might be used uninitialized
in this function
../../netinet6/esp_core.c: In function `esp_rc5cbc_decrypt':
../../netinet6/esp_core.c:1064: void value not ignored as it ought to be
../../netinet6/esp_core.c:1014: warning: `error' might be used
uninitialized in this function
../../netinet6/esp_core.c: In function `esp_rc5cbc_encrypt':
../../netinet6/esp_core.c:1134: void value not ignored as it ought to be
../../netinet6/esp_core.c:1085: warning: `error' might be used
uninitialized in this function
*** Error code 1

-- 
Lars Eggert <larse@isi.edu>                 Information Sciences Institute
http://www.isi.edu/~larse/               University of Southern California
--------------CECF4A39C54D39BBB253D1BE
Content-Type: text/plain; charset=us-ascii;
 name="PRECISION"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="PRECISION"

# ----------------------------------------------------------------------------
#  $RCSfile: PRECISION,v $
#
# $Revision: 1.20 $
#   $Author: larse $
#     $Date: 2000/07/14 00:28:49 $
#    $State: Exp $
# ----------------------------------------------------------------------------
# $Log: PRECISION,v $
# Revision 1.20  2000/07/14 00:28:49  larse
# More gifs, no AUTO_EOI1.
#
# Revision 1.19  2000/06/26 21:11:28  larse
# From -stable.
#
# Revision 1.18  2000/06/06 21:39:39  larse
# Systems running kernels with option NFS do not need nfsiod.
#
# Revision 1.17  2000/06/05 18:13:36  larse
# Kernel working on Gateway Solo notebooks now.
#
# Revision 1.16  2000/06/02 01:19:17  larse
# make.conf
#
# Revision 1.15  2000/05/18 17:35:13  larse
# Enabled ATAPI DMA, speaker, perfmon, ktrace, removed some things.
#
# Revision 1.14  2000/04/26 23:21:50  larse
# Enabled more IP goodies in case we need them.
#
# Revision 1.13  2000/04/25 18:09:28  larse
# Support for Hauppauge cards, disabled unneeded SMB/I2C stuff.
#
# Revision 1.12  2000/04/21 08:20:06  larse
# pcf caused problems on dee
#
# Revision 1.11  2000/04/20 08:47:03  larse
# Enabled I2C and SMBus on the NS-8000 Gateways.
#
# Revision 1.10  2000/04/19 03:15:09  larse
# Enabled memory-mapped I/O for aic SCSI adapter.
#
# Revision 1.9  2000/04/07 22:07:55  larse
# More mbuf clusters, more gif interfaces, enabled SMBus.
#
# Revision 1.8  2000/03/31 01:21:28  larse
# Re-enabled non-HARP ATM, HARP cannot deal with Adaptec cards.
#
# Revision 1.7  2000/03/30 23:03:40  larse
# Minor changes, now works on tan (old lab host) and mul (new lab host)
# as well has the new office machines.
#
# Revision 1.6  2000/03/30 14:05:32  larse
# Switched to HARP ATM.
#
# Revision 1.5  2000/03/30 13:08:52  larse
# Added options to support lab hosts (works on tan at least).
#
# Revision 1.4  2000/03/30 11:56:44  larse
# Disabled firewall/divert.
#
# Revision 1.3  2000/03/24 11:07:29  larse
# Enabled ATAPI DMA, gif tunnels, disabled LSSR, added PSM_HOOKRESUME.
#
# Revision 1.2  2000/03/21 13:50:41  larse
# Added cvs header.
#
# ----------------------------------------------------------------------------

# This allows you to actually store this configuration file into
# the kernel binary itself, where it may be later read by saying:
#    strings -aout -n 3 /kernel | grep ^___ | sed -e 's/^___//' > MYKERNEL
options         INCLUDE_CONFIG_FILE     # Include this file in kernel

makeoptions    DEBUG=-g                #Build kernel with gdb(1) debug symbols

machine		i386
#cpu		I386_CPU
#cpu		I486_CPU
cpu		I586_CPU		# for our notebooks (Solos/Librettos)
cpu		I686_CPU		# for all other machines
ident		PRECISION
maxusers 	128

#options 	MATH_EMULATE		#Support for x87 emulation
options 	INET			#InterNETworking
options 	FFS			#Berkeley Fast Filesystem
options 	FFS_ROOT		#FFS usable as root device [keep this!]
options 	MFS			#Memory Filesystem
#options 	MD_ROOT			#MD is a potential root device
options 	NFS			#Network Filesystem
#options 	NFS_ROOT		#NFS usable as root device, NFS required
#options 	MSDOSFS			#MSDOS Filesystem
#options 	CD9660			#ISO 9660 Filesystem
#options 	CD9660_ROOT		#CD-ROM usable as root, CD9660 required
#options 	PROCFS			#Process filesystem
options 	COMPAT_43		#Compatible with BSD 4.3 [KEEP THIS!]
options 	SCSI_DELAY=0		#Delay (in ms) before probing SCSI
options 	UCONSOLE		#Allow users to grab the console
#options 	USERCONFIG		#boot -c editor
#options 	VISUAL_USERCONFIG	#visual boot -c editor
#options 	KTRACE			#ktrace(1) support
options 	SYSVSHM			#SYSV-style shared memory
options 	SYSVMSG			#SYSV-style message queues
options 	SYSVSEM			#SYSV-style semaphores
options 	P1003_1B		#Posix P1003_1B real-time extentions
options 	_KPOSIX_PRIORITY_SCHEDULING

# To make an SMP kernel, the next two are needed
#options 	SMP			# Symmetric MultiProcessor Kernel
#options 	APIC_IO			# Symmetric (APIC) I/O
# Optionally these may need tweaked, (defaults shown):
#options 	NCPU=2			# number of CPUs
#options 	NBUS=4			# number of busses
#options 	NAPIC=1			# number of IO APICs
#options 	NINTR=24		# number of INTs

device		isa
device		eisa
device		pci

# Floppy drives
device		fdc0	at isa? port IO_FD1 irq 6 drq 2
device		fd0	at fdc0 drive 0
#device		fd1	at fdc0 drive 1


# ATA and ATAPI devices
#device		ata0	at isa? port IO_WD1 irq 14
#device		ata1	at isa? port IO_WD2 irq 15
device		ata
device		atadisk			# ATA disk drives
device		atapicd			# ATAPI CDROM drives
#device		atapifd			# ATAPI floppy drives
#device		atapist			# ATAPI tape drives
#options 	ATA_STATIC_ID		#Static device numbering
options 	ATA_ENABLE_ATAPI_DMA	#Enable DMA on ATAPI devices

# SCSI Controllers
#device		ahb		# EISA AHA1742 family
device		ahc		# AHA2940 and onboard AIC7xxx devices
#device		amd		# AMD 53C974 (Teckram DC-390(T))
#device		dpt		# DPT Smartcache - See LINT for options!
#device		isp		# Qlogic family
#device		ncr		# NCR/Symbios Logic
#device		sym		# NCR/Symbios Logic (newer chipsets)

#device		adv0	at isa?
#device		adw
#device		bt0	at isa?
#device		aha0	at isa?
#device		aic0	at isa?

# SCSI peripherals
device		scbus		# SCSI bus (required)
device		da		# Direct Access (disks)
#device		sa		# Sequential Access (tape etc)
device		cd		# CD
#device		pass		# Passthrough device (direct SCSI access)

# RAID controllers
#device		amr		# AMI MegaRAID
#device		mlx		# Mylex DAC960 family

# atkbdc0 controls both the keyboard and the PS/2 mouse
device		atkbdc0	at isa? port IO_KBD
device		atkbd0	at atkbdc? irq 1
device		psm0	at atkbdc? irq 12

device		vga0	at isa?

# splash screen/screen saver
pseudo-device	splash

# syscons is the default console driver, resembling an SCO console
device		sc0	at isa?

# Enable this and PCVT_FREEBSD for pcvt vt220 compatible console driver
#device		vt0	at isa?
#options 	XSERVER			# support for X server
#options 	FAT_CURSOR		# start with block cursor
# If you have a ThinkPAD, uncomment this along with the rest of the PCVT lines
#options 	PCVT_SCANSET=2		# IBM keyboards are non-std

# Floating point support - do not disable.
device		npx0	at nexus? port IO_NPX irq 13

# Power management support (see LINT for more options)
device		apm0    at nexus? # Advanced Power Management

# PCCARD (PCMCIA) support
device		card
device		pcic0	at isa? irq ? port 0x3e0 iomem 0xd0000
device		pcic1	at isa? irq ? port 0x3e2 iomem 0xd4000 disable

# Serial (COM) ports
device		sio0	at isa? port IO_COM1 flags 0x10 irq 4
device		sio1	at isa? port IO_COM2 irq 3
device		sio2	at isa? disable port IO_COM3 irq 5
device		sio3	at isa? disable port IO_COM4 irq 9

# Parallel port
device		ppc0	at isa? irq 7
device		ppbus		# Parallel port bus (required)
#device		lpt		# Printer
#device		plip		# TCP/IP over parallel
#device		ppi		# Parallel port interface device
#device		vpo		# Requires scbus and da


# PCI Ethernet NICs.
device		de		# DEC/Intel DC21x4x (``Tulip'')
device		fxp		# Intel EtherExpress PRO/100B (82557, 82558)
#device		tx		# SMC 9432TX (83c170 ``EPIC'')
device		vx		# 3Com 3c590, 3c595 (``Vortex'')
#device		wx		# Intel Gigabit Ethernet Card (``Wiseman'')

# PCI Ethernet NICs that use the common MII bus controller code.
device		miibus		# MII bus support
#device		dc		# DEC/Intel 21143 and various workalikes
#device		rl		# RealTek 8129/8139
#device		sf		# Adaptec AIC-6915 (``Starfire'')
#device		sis		# Silicon Integrated Systems SiS 900/SiS 7016
#device		ste		# Sundance ST201 (D-Link DFE-550TX)
#device		tl		# Texas Instruments ThunderLAN
#device		vr		# VIA Rhine, Rhine II
#device		wb		# Winbond W89C840F
device		xl		# 3Com 3c90x (``Boomerang'', ``Cyclone'')

# ISA Ethernet NICs.
#device		ed0	at isa? port 0x280 irq 10 iomem 0xd8000
device 		ed
#device		ex
device		ep
# WaveLAN/IEEE 802.11 wireless NICs. Note: the WaveLAN/IEEE really
# exists only as a PCMCIA device, so there is no ISA attatement needed
# and resources will always be dynamically assigned by the pccard code.
#device		wi
# Aironet 4500/4800 802.11 wireless NICs. Note: the declaration below will
# work for PCMCIA and PCI cards, as well as ISA cards set to ISA PnP
# mode (the factory default). If you set the switches on your ISA
# card for a manually chosen I/O address and IRQ, you must specify
# those paremeters here.
#device		an
# The probe order of these is presently determined by i386/isa/isa_compat.c.
#device		ie0	at isa? port 0x300 irq 10 iomem 0xd0000
#device		fe0	at isa? port 0x300
#device		le0	at isa? port 0x300 irq 5 iomem 0xd0000
#device		lnc0	at isa? port 0x280 irq 10 drq 0
#device		cs0	at isa? port 0x300
#device		sn0	at isa? port 0x300 irq 10
# requires PCCARD (PCMCIA) support to be activated
#device		xe0	at isa?

# Pseudo devices - the number indicates how many units to allocated.
pseudo-device	loop		# Network loopback
pseudo-device	ether		# Ethernet support
#pseudo-device	sl	1	# Kernel SLIP
#pseudo-device	ppp	1	# Kernel PPP
pseudo-device	tun		# Packet tunnel.
pseudo-device	pty		# Pseudo-ttys (telnet etc)
#pseudo-device	md		# Memory "disks"

# The `bpf' pseudo-device enables the Berkeley Packet Filter.
# Be aware of the administrative consequences of enabling this!
pseudo-device	bpf		#Berkeley packet filter

# USB support
device		uhci		# UHCI PCI->USB interface
#device		ohci		# OHCI PCI->USB interface
device		usb		# USB Bus (required)
#device		ugen		# Generic
#device		uhid		# "Human Interface Devices"
#device		ukbd		# Keyboard
#device		ulpt		# Printer
#device		umass		# Disks/Mass storage - Requires scbus and da
#device		ums		# Mouse
# USB Ethernet
#device		aue		# ADMtek USB ethernet
#device		cue		# CATC USB ethernet
#device		kue		# Kawasaki LSI USB ethernet

# CPU_DISABLE_5X86_LSSER disables load store serialize (i.e. enables
# reorder).  This option should not be used if you use memory mapped
# I/O device(s).
# options         CPU_DISABLE_5X86_LSSER

# CPU_FASTER_5X86_FPU enables faster FPU exception handler.
options         CPU_FASTER_5X86_FPU

# NO_F00F_HACK disables the hack that prevents Pentiums (and ONLY
# Pentiums) from locking up when a LOCK CMPXCHG8B instruction is
# executed.  This should be included for ALL kernels that won't run
# on a Pentium.
#
# DISABLED, our notebooks (Solos/Librettos) have Pentiums!
# options        NO_F00F_HACK

# Allow user-mode programs to manipulate their local descriptor tables.
# This option is required for the WINE Windows(tm) emulator, and is
# not used by anything else (that we know of)#
options         USER_LDT                #allow user-level control of i386 ldt

# TCP_DROP_SYNFIN adds support for ignoring TCP packets with SYN+FIN. This
# prevents nmap et al. from identifying the TCP/IP stack, but breaks support
# for RFC1644 extensions and is not recommended for web servers.
options         TCP_DROP_SYNFIN         #drop TCP packets with SYN+FIN

# TCP_RESTRICT_RST adds support for blocking the emission of TCP RST packets.
# This is useful on systems which are exposed to SYN floods (e.g. IRC servers)
# or any system which one does not want to be easily portscannable.
options         TCP_RESTRICT_RST        #restrict emission of TCP RST

options         IPSEC                   #IP security
options         IPSEC_ESP               #IP security (crypto; define w/ IPSEC)

options         INET6                   #IPv6 communications protocols

#  The `gif' pseudo-device implements IPv6 over IP4 tunneling,
#  IPv4 over IPv6 tunneling, IPv4 over IPv4 tunneling and
#  IPv6 over IPv6 tunneling.
pseudo-device   gif     32               #IPv6 and IPv4 tunneling

#  The `faith' pseudo-device captures packets sent to it and diverts them
#  to the IPv4/IPv6 translation daemon.
#pseudo-device   faith   1               #for IPv6 and IPv4 translation

# IPFIREWALL enables support for IP firewall construction, in
# conjunction with the `ipfw' program.  IPFIREWALL_VERBOSE sends
# logged packets to the system logger.  IPFIREWALL_VERBOSE_LIMIT
# limits the number of times a matching entry can be logged.
options         IPFIREWALL              #firewall
options         IPFIREWALL_VERBOSE      #print information about
                                        # dropped packets
options         IPFIREWALL_FORWARD      #enable transparent proxy support
options         IPFIREWALL_VERBOSE_LIMIT=1000    #limit verbosity
options         IPV6FIREWALL            #firewall for IPv6
options         IPV6FIREWALL_VERBOSE
options         IPV6FIREWALL_VERBOSE_LIMIT=1000

# IPFIREWALL_DEFAULT_TO_ACCEPT causes the default rule (at boot) to
# allow everything.  Use with care, if a cracker can crash your
# firewall machine, they can get to your protected machines.  However,
# if you are using it as an as-needed filter for specific problems as
# they arise, then this may be for you.  Changing the default to 'allow'
# means that you won't get stuck if the kernel and /sbin/ipfw binary get
# out of sync.
options         IPFIREWALL_DEFAULT_TO_ACCEPT    #allow everything by default
options         IPV6FIREWALL_DEFAULT_TO_ACCEPT

# ICMP_BANDLIM enables icmp error response bandwidth limiting.   You
# typically want this option as it will help protect the machine from
# D.O.S. packet attacks.
options         ICMP_BANDLIM

# DUMMYNET enables the "dummynet" bandwidth limiter. You need
# IPFIREWALL as well. See the dummynet(4) manpage for more info.
options         DUMMYNET

# BRIDGE enables bridging between ethernet cards -- see bridge(4).
# You can use IPFIREWALL and dummynet together with bridging.
#options         BRIDGE

# IPDIVERT enables the divert IP sockets, used by ``ipfw divert''
options         IPDIVERT                #divert sockets

# MROUTING enables the kernel multicast packet forwarder, which works
# with mrouted(8).
options         MROUTING                # Multicast routing

# IPSTEALTH enables code to support stealth forwarding (i.e., forwarding
# packets without touching the ttl).  This can be useful to hide firewalls
# from traceroute and similar tools.
options         IPSTEALTH               #support for stealth forwarding

options         IPFILTER                #ipfilter support
options         IPFILTER_LOG            #ipfilter logging


# Soft updates is technique for improving file system speed and
# making abrupt shutdown less risky.  It is not enabled by default due
# to copyright restraints on the code that implement it.
#
# Read ../../ufs/ffs/README.softupdates to learn what you need to
# do to enable this.  ../../contrib/softupdates/README gives
# more details on how they actually work.
options        SOFTUPDATES

pseudo-device   speaker         #Play IBM BASIC-style noises out your speaker
pseudo-device   gzip            #Exec gzipped a.out's
#pseudo-device   vn              #Vnode driver (turns a file into a device)

# AUTO_EOI_1 enables the `automatic EOI' feature for the master 8259A
# interrupt controller.  This saves about 0.7-1.25 usec for each interrupt.
# This option breaks suspend/resume on some portables.
# THIS BREAKS SLEEP SUPPORT ON THE SONY LAPTOPS, POSSIBLY OTHERS. 
#options         AUTO_EOI_1

# To include support for VESA video modes
options         VESA

options         SC_HISTORY_SIZE=2000    # number of history buffer lines
options         SC_PIXEL_MODE           # add support for the raster text mode

# The newpcm driver (use INSTEAD of snd0 and all VOXWARE drivers!).
# Note that motherboard sound devices may require options PNPBIOS.
#
# Supported cards include:
# Creative SoundBlaster ISA PnP/non-PnP
# Supports ESS and Avance ISA chips as well.
# Gravis UltraSound ISA PnP/non-PnP
# Crystal Semiconductor CS461x/428x PCI
# Neomagic 256AV (ac97)
# Most of the more common ISA/PnP sb/mss/ess compatable cards.
# For PnP/PCI sound cards
device          pcm
options PNPBIOS

device          joy0    at isa? port IO_GAME

# Add support for the EXT2FS filesystem of Linux fame.  Be a bit
# careful with this - the ext2fs code has a tendency to lag behind
# changes and not be exercised very much, so mounting read/write could
# be dangerous (and even mounting read only could result in panics.)
options         EXT2FS

# Enable the kernel debugger.
options         DDB

# Options for psm:
options         PSM_HOOKRESUME          #hook the system resume event, useful
                                        #for some laptops
options         PSM_RESETAFTERSUSPEND   #reset the device at the resume event

# ATM related options
#
# The `en' device provides support for Efficient Networks (ENI)
# ENI-155 PCI midway cards, and the Adaptec 155Mbps PCI ATM cards (ANA-59x0).
#
# atm pseudo-device provides generic atm functions and is required for
# atm devices.
# NATM enables the netnatm protocol family that can be used to
# bypass TCP/IP.
#
# the current driver supports only PVC operations (no atm-arp, no multicast).
# for more details, please read the original documents at
# http://www.ccrc.wustl.edu/pub/chuck/tech/bsdatm/bsdatm.html
#
pseudo-device	atm
device		en
options		NATM

# The 'bktr' device is a PCI video capture device using the Brooktree
# bt848/bt848a/bt849a/bt878/bt879 chipset. When used with a TV Tuner it forms a
# TV card, eg Miro PC/TV, Hauppauge WinCast/TV WinTV, VideoLogic Captivator,
# Intel Smart Video III, AverMedia, IMS Turbo, FlyVideo.
#
# Brooktree driver has been ported to the new I2C framework. Thus,
# you'll need to have the following 3 lines in the kernel config.
# device smbus
# device iicbus
# device iicbb
# The iic and smb devices are only needed if you want to control other
# I2C slaves connected to the external connector of some cards.
device          bktr

# The aic7xxx driver will attempt to use memory mapped I/O for all PCI
# controllers that have it configured only if this option is set. Unfortunately,
# this doesn't work on some motherboards, which prevents it from being the
# default.
options         AHC_ALLOW_MEMIO

# KTRACE enables the system-call tracing facility ktrace(2).
options         KTRACE                  #kernel tracing

# PERFMON causes the driver for Pentium/Pentium Pro performance counters
# to be compiled.  See perfmon(4) for more information.
options         PERFMON

# pca: PCM audio through your PC speaker
# Not controlled by `snd'
device          pca0 at isa? port IO_TIMER1

options         PPC_PROBE_CHIPSET # Enable chipset specific detection
                                  # (see flags in ppc(4))

# If you are running a machine just as a fileserver for PC and MAC
# users, using SAMBA or Netatalk, you may consider setting this option
# and keeping all those users' directories on a filesystem that is
# mounted with the suiddir option. This gives new files the same
# ownership as the directory (similar to group). It's a security hole
# if you let these users run programs, so confine it to file-servers
# (but it'll save you lots of headaches in those cases). Root owned
# directories are exempt and X bits are cleared. The suid bit must be
# set on the directory as well; see chmod(1) PC owners can't see/set
# ownerships so they keep getting their toes trodden on. This saves
# you all the support calls as the filesystem it's used on will act as
# they expect: "It's my dir so it must be my file".
options         SUIDDIR

# allow recursive gif tunnels this many levels deep
options         MAX_GIF_NEST=2147483647     # 2147483647 = INT_MAX

# allow multiple tunnels between same two physical interfaces
options		XBONEHACK


--------------CECF4A39C54D39BBB253D1BE--



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?39736E96.1AC0917B>