Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Apr 2005 10:01:57 +0100
From:      Brian Candler <B.Candler@pobox.com>
To:        freebsd-current@freebsd.org
Subject:   ISDN kernel build fials
Message-ID:  <20050427090157.GA85275@uk.tiscali.com>

next in thread | raw e-mail | index | archive | help
FYI, building -CURRENT as of yesterday, with NO_IPFILTER=yes in make.conf

make buildworld was successful. make buildkernel KERNCONF=FOO gave:

cc -c -O -pipe  -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -fformat-extensions -std=c99 -g -nostdinc -I-  -I. -I/export/src/5.3-RELEASE/usr/src/sys -I/export/src/5.3-RELEASE/usr/src/sys/contrib/dev/acpica -I/export/src/5.3-RELEASE/usr/src/sys/contrib/altq -I/export/src/5.3-RELEASE/usr/src/sys/contrib/ipfilter -I/export/src/5.3-RELEASE/usr/src/sys/contrib/pf -I/export/src/5.3-RELEASE/usr/src/sys/contrib/dev/ath -I/export/src/5.3-RELEASE/usr/src/sys/contrib/dev/ath/freebsd -I/export/src/5.3-RELEASE/usr/src/sys/contrib/ngatm -I/export/src/5.3-RELEASE/usr/src/sys/dev/twa -D_KERNEL -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000  -mno-align-long-strings -mpreferred-stack-boundary=2  -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -ffreestanding -Werror  /export/src/5.3-RELEASE/usr/src/sys/i4b/driver/i4b_trace.c
/export/src/5.3-RELEASE/usr/src/sys/i4b/driver/i4b_trace.c:59: error: `NI4BTRC' undeclared here (not in a function)
/export/src/5.3-RELEASE/usr/src/sys/i4b/driver/i4b_trace.c:59: error: storage size of `trace_queue' isn't known
/export/src/5.3-RELEASE/usr/src/sys/i4b/driver/i4b_trace.c:61: error: storage size of `device_state' isn't known
/export/src/5.3-RELEASE/usr/src/sys/i4b/driver/i4b_trace.c:59: warning: 'trace_queue' defined but not used
/export/src/5.3-RELEASE/usr/src/sys/i4b/driver/i4b_trace.c:61: warning: 'device_state' defined but not used
*** Error code 1

Stop in /usr/obj/export/src/5.3-RELEASE/usr/src/sys/FOO.
*** Error code 1

Stop in /export/src/5.3-RELEASE/usr/src.
*** Error code 1

Stop in /export/src/5.3-RELEASE/usr/src.

The FOO kernel config is given below, as a diff against current's GENERIC.
More or less the same config had worked on 5.3-RELEASE, except I had counts
for some of the devices, e.g.

device          "i4btrc"        4

which I had to change to

device          "i4btrc"

to get config to work with -CURRENT.

Regards,

Brian Candler.

--- GENERIC	Thu Mar 31 21:21:42 2005
+++ FOO	Wed Apr 27 09:33:12 2005
@@ -19,10 +19,10 @@
 # $FreeBSD: src/sys/i386/conf/GENERIC,v 1.428 2005/03/31 20:21:42 scottl Exp $
 
 machine		i386
-cpu		I486_CPU
+#cpu		I486_CPU
 cpu		I586_CPU
 cpu		I686_CPU
-ident		GENERIC
+ident		FOO
 
 # To statically compile in device wiring instead of /boot/device.hints
 #hints		"GENERIC.hints"		# Default places to look for devices.
@@ -291,3 +291,199 @@
 device		firewire	# FireWire bus code
 device		sbp		# SCSI over FireWire (Requires scbus and da)
 device		fwe		# Ethernet over FireWire (non-standard!)
+
+#-----
+# Added by Brian
+
+device		pf
+device		pflog
+
+#---------------------------------------------------------------------------
+# ISDN4BSD
+#
+# See /usr/share/examples/isdn/ROADMAP for an introduction to isdn4bsd.
+#
+# i4b passive ISDN cards support contains the following hardware drivers:
+#
+#	isic  - Siemens/Infineon ISDN ISAC/HSCX/IPAC chipset driver
+#	iwic  - Winbond W6692 PCI bus ISDN S/T interface controller
+#	ifpi  - AVM Fritz!Card PCI driver
+#	ifpi2  - AVM Fritz!Card PCI version 2 driver
+#	ihfc  - Cologne Chip HFC ISA/ISA-PnP chipset driver
+#	ifpnp - AVM Fritz!Card PnP driver
+#	itjc  - Siemens ISAC / TJNet Tiger300/320 chipset
+#
+# i4b active ISDN cards support contains the following hardware drivers:
+#
+#	iavc  - AVM B1 PCI, AVM B1 ISA, AVM T1
+#
+# Note that the ``options'' (if given) and ``device'' lines must BOTH
+# be uncommented to enable support for a given card !
+#
+# In addition to a hardware driver (and probably an option) the mandatory
+# ISDN protocol stack devices and the mandatory support device must be
+# enabled as well as one or more devices from the optional devices section.
+#
+#---------------------------------------------------------------------------
+#	isic driver (Siemens/Infineon chipsets)
+#
+device	isic
+#
+# ISA bus non-PnP Cards:
+# ----------------------
+#
+# Teles S0/8 or Niccy 1008
+options 	TEL_S0_8
+#
+# Teles S0/16 or Creatix ISDN-S0 or Niccy 1016
+options 	TEL_S0_16
+#
+# Teles S0/16.3
+options 	TEL_S0_16_3
+#
+# AVM A1 or AVM Fritz!Card
+options 	AVM_A1
+#
+# USRobotics Sportster ISDN TA intern
+options 	USR_STI
+#
+# ITK ix1 Micro ( < V.3, non-PnP version )
+options 	ITKIX1
+#
+# ELSA PCC-16
+options 	ELSA_PCC16
+#
+# ISA bus PnP Cards:
+# ------------------
+#
+# Teles S0/16.3 PnP
+options 	TEL_S0_16_3_P
+#
+# Creatix ISDN-S0 P&P
+options 	CRTX_S0_P
+#
+# Dr. Neuhaus Niccy Go@
+options 	DRN_NGO
+#
+# Sedlbauer Win Speed
+options 	SEDLBAUER
+#
+# Dynalink IS64PH
+options 	DYNALINK
+#
+# ELSA QuickStep 1000pro ISA
+options 	ELSA_QS1ISA
+#
+# Siemens I-Surf 2.0
+options 	SIEMENS_ISURF2
+#
+# Asuscom ISDNlink 128K ISA
+options 	ASUSCOM_IPAC
+#
+# Eicon Diehl DIVA 2.0 and 2.02
+options 	EICON_DIVA
+#
+# Compaq Microcom 610 ISDN card (Compaq series PSB2222I)
+options 	COMPAQ_M610
+#
+# PCI bus Cards:
+# --------------
+#
+# ELSA MicroLink ISDN/PCI (same as ELSA QuickStep 1000pro PCI)
+options 	ELSA_QS1PCI
+#
+#---------------------------------------------------------------------------
+#	ifpnp driver for AVM Fritz!Card PnP
+#
+# AVM Fritz!Card PnP
+device		ifpnp
+#
+#---------------------------------------------------------------------------
+#	ihfc driver for Cologne Chip ISA chipsets (experimental!)
+#
+# Teles 16.3c ISA PnP
+# AcerISDN P10 ISA PnP
+# TELEINT ISDN SPEED No.1
+device		ihfc
+#
+#---------------------------------------------------------------------------
+#	ifpi driver for AVM Fritz!Card PCI
+#
+# AVM Fritz!Card PCI
+device		ifpi
+#
+#---------------------------------------------------------------------------
+#	ifpi2 driver for AVM Fritz!Card PCI version 2
+#
+# AVM Fritz!Card PCI version 2
+device		"ifpi2"
+#
+#---------------------------------------------------------------------------
+#	iwic driver for Winbond W6692 chipset
+#
+# ASUSCOM P-IN100-ST-D (and other Winbond W6692 based cards)
+device		iwic
+#
+#---------------------------------------------------------------------------
+#	itjc driver for Siemens ISAC / TJNet Tiger300/320 chipset
+#
+# Traverse Technologies NETjet-S
+# Teles PCI-TJ
+device		itjc
+#
+#---------------------------------------------------------------------------
+#	iavc driver (AVM active cards, needs i4bcapi driver!)
+#
+device		iavc
+#
+# AVM B1 ISA bus (PnP mode not supported!)
+# ----------------------------------------
+#
+#---------------------------------------------------------------------------
+#	ISDN Protocol Stack - mandatory for all hardware drivers
+#
+# Q.921 / layer 2 - i4b passive cards D channel handling
+device		"i4bq921"
+#
+# Q.931 / layer 3 - i4b passive cards D channel handling
+device		"i4bq931"
+#
+# layer 4 - i4b common passive and active card handling
+device		"i4b"
+#
+#---------------------------------------------------------------------------
+#	ISDN devices - mandatory for all hardware drivers
+#
+# userland driver to do ISDN tracing (for passive cards only)
+device		"i4btrc"
+#
+# userland driver to control the whole thing
+device		"i4bctl"
+#
+#---------------------------------------------------------------------------
+#	ISDN devices - optional
+#
+# userland driver for access to raw B channel
+device		"i4brbch"
+#
+# userland driver for telephony
+device		"i4btel"
+#
+# network driver for IP over raw HDLC ISDN
+device		"i4bipr"
+# enable VJ header compression detection for ipr i/f
+options 	IPR_VJ
+# enable logging of the first n IP packets to isdnd (n=32 here)
+options 	IPR_LOG=32
+#
+# network driver for sync PPP over ISDN; requires an equivalent
+# number of sppp device to be configured
+device		"i4bisppp"
+#
+# B-channel interface to the netgraph subsystem
+#device		"i4bing"
+#
+# CAPI driver needed for active ISDN cards (see iavc driver above)
+#device		"i4bcapi"
+#
+#---------------------------------------------------------------------------



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