Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Nov 2000 13:41:34 +0100
From:      Jens Schweikhardt <schweikh@noc.dfn.de>
To:        freebsd-isdn@freebsd.org
Subject:   device ifpi unknown
Message-ID:  <20001110134134.A19313@obsidian.noc.dfn.de>

next in thread | raw e-mail | index | archive | help

hello, world\n

okay, so I've read the FAQ, studied "care and feeding 0.90.38", slept with
manuals under my pillow, but I can't get i4b support in my kernel.
I've installed 4.1-RELEASE off of the CDRoms, bought an AVM Fritz!Card
for PCI bus. I'm building kernels the traditional way, i.e. using

    cd /sys/i386/conf; /usr/sbin/config -r HAL9000; \
    cd ../../compile/HAL9000; \
    (make depend && make && make install) 2>&1 | tee /tmp/make.log
instead of
    cd /usr/src
    make buildkernel KERNEL=HAL9000
    make installkernel KERNEL=HAL9000
(because the latter seems to require a populated /usr/obj, i.e. at least
a make buildworld which is a bit expensive, I think. But if this is why
it doesn't work, please kick me :-)

What worries me: "Care and feeding" says in 5.6.1 for FreeBSD 4.x to put
"device ifpi0" in the configuration. However, /usr/sbin/config complains
about

	Warning: device "ifpi" is unknown

and when linking the kernel eventually stops with
...
cc -c -O -pipe -m486 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -fformat-extensions -ansi  -nostdinc -I- -I. -I../.. -I../../../include  -D_KERNEL -include opt_global.h -elf  -mpreferred-stack-boundary=2  vers.c
linking kernel
i4b_ctl.o: In function `i4bctlioctl':
i4b_ctl.o(.text+0x139): undefined reference to `i4b_l1_debug'
i4b_ctl.o(.text+0x15f): undefined reference to `i4b_l1_debug'
i4b_ctl.o(.text+0x1ad): undefined reference to `l1_sc'
i4b_ctl.o(.text+0x229): undefined reference to `l1_sc'
i4b_isppp.o: In function `i4bispppattach':
i4b_isppp.o(.text+0x171): undefined reference to `sppp_attach'
i4b_isppp.o: In function `i4bisppp_ioctl':
i4b_isppp.o(.text+0x1bb): undefined reference to `sppp_ioctl'
i4b_isppp.o: In function `i4bisppp_start':
i4b_isppp.o(.text+0x1df): undefined reference to `sppp_isempty'
i4b_isppp.o(.text+0x2c6): undefined reference to `sppp_dequeue'
i4b_isppp.o: In function `i4bisppp_dialresponse':
i4b_isppp.o(.text+0x64f): undefined reference to `sppp_isempty'
i4b_isppp.o(.text+0x667): undefined reference to `sppp_dequeue'
i4b_isppp.o: In function `i4bisppp_rx_data_rdy':
i4b_isppp.o(.text+0x6ef): undefined reference to `sppp_input'
i4b_l2.o: In function `i4b_ph_activate_ind':
i4b_l2.o(.text+0x1a0): undefined reference to `i4b_l1_debug'
i4b_l2.o: In function `i4b_ph_deactivate_ind':
i4b_l2.o(.text+0x1ec): undefined reference to `i4b_l1_debug'
i4b_l2.o: In function `i4b_mph_status_ind':
i4b_l2.o(.text+0x323): undefined reference to `i4b_l1_debug'
i4b_l2.o: In function `i4b_mdl_command_req':
i4b_l2.o(.text+0x4d0): undefined reference to `i4b_l1l2_func'
i4b_uframe.o: In function `i4b_tx_sabme':
i4b_uframe.o(.text+0x4a0): undefined reference to `i4b_l1l2_func'
i4b_uframe.o: In function `i4b_tx_dm':
i4b_uframe.o(.text+0x4f4): undefined reference to `i4b_l1l2_func'
i4b_uframe.o: In function `i4b_tx_disc':
i4b_uframe.o(.text+0x548): undefined reference to `i4b_l1l2_func'
i4b_uframe.o: In function `i4b_tx_ua':
i4b_uframe.o(.text+0x59c): undefined reference to `i4b_l1l2_func'
i4b_uframe.o(.text+0x5f3): more undefined references to `i4b_l1l2_func' follow
i4b_l4if.o: In function `i4b_mdl_status_ind':
i4b_l4if.o(.text+0xb3): undefined reference to `isic_settrace'
i4b_l4if.o(.text+0xbd): undefined reference to `isic_gettrace'
*** Error code 1

Stop in /usr/src/sys/compile/HAL9000.

no matter if I use "device ifpi0" or "device ifpi 1" (5.x).
Obviously I must be missing something and you can save my life by
pointing out to me where my misconception is. Thanks 1.0E+06!

Regards,

	Jens
-- 
Jens Schweikhardt  http://www.schweikhardt.net/
SIGSIG -- signature too long (core dumped)

PS: Here's my HAL9000 kernel config:
machine		i386
cpu		I686_CPU
ident HAL9000
maxusers	32
options 	INET			#InterNETworking
options 	FFS			#Berkeley Fast Filesystem
options 	FFS_ROOT		#FFS usable as root device [keep this!]
options 	SOFTUPDATES		#Enable FFS soft updates support
options 	MFS			#Memory Filesystem
options 	MD_ROOT			#MD is a potential root device
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=1000	#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 	P1003_1B		#Posix P1003_1B real-time extensions
options 	_KPOSIX_PRIORITY_SCHEDULING
options		ICMP_BANDLIM		#Rate limit bad replies
options 	KBD_INSTALL_CDEV	# install a CDEV entry in /dev
device		isa
device		pci
device		fdc0	at isa? port IO_FD1 irq 6 drq 2
device		fd0	at fdc0 drive 0
device		ahc		# AHA2940 and onboard AIC7xxx devices
device		scbus		# SCSI bus (required)
device		da		# Direct Access (disks)
device		cd		# CD
device		pass		# Passthrough device (direct SCSI access)
device		atkbdc0	at isa? port IO_KBD
device		atkbd0	at atkbdc? irq 1 flags 0x1
device		psm0	at atkbdc? irq 12
device		vga0	at isa?
pseudo-device	splash
device		sc0	at isa? flags 0x100
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		ppc0	at isa? irq 7
device		ppbus		# Parallel port bus (required)
device		lpt		# Printer
pseudo-device	loop		# Network loopback
pseudo-device	ether		# Ethernet support
pseudo-device	tun		# Packet tunnel.
pseudo-device	md		# Memory "disks"
pseudo-device	bpf		#Berkeley packet filter
device		uhci		# UHCI PCI->USB interface
device		usb		# USB Bus (required)
device ed0 at isa? port 0x240 irq 5 iomem 0xc0000
options FDESC
options AUTO_EOI_1
options KERNFS
options COMPAT_LINUX
options EXT2FS
pseudo-device bpf
pseudo-device pty
options AHC_ALLOW_MEMIO
options SOFTUPDATES
device smbus
device iicbus
device iicbb
device bktr
device ifpi 1
pseudo-device "i4bq921"
pseudo-device "i4bq931"
pseudo-device "i4b"
pseudo-device "i4btrc" 4
pseudo-device "i4bctl"
pseudo-device "i4brbch" 4
pseudo-device "i4btel" 4
pseudo-device "i4bipr" 4
pseudo-device "i4bisppp" 4
options IPR_VJ
options IPR_LOG=2


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




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