Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Nov 2001 22:42:55 +0700
From:      Eugene Grosbein <eugen@grosbein.pp.ru>
To:        "Samuel J.Greear" <dragonk@evilcode.net>
Cc:        stable@freebsd.org
Subject:   dummynet requires pseudo-device ether (?)
Message-ID:  <20011107224255.F437@grosbein.pp.ru>
In-Reply-To: <20011107141207.EB3CF21389@ns1.infowest.com>; from dragonk@evilcode.net on Thu, Nov 08, 2001 at 07:09:54AM -0700
References:  <20011107210457.E437@grosbein.pp.ru> <20011107141207.EB3CF21389@ns1.infowest.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Nov 08, 2001 at 07:09:54AM -0700, Samuel J.Greear wrote:

> > I've cvsup'd my 4-STABLE system from cvsup.freebsd.org today.
> > make buildworld completed cleanly as well as building of GENERIC
> > but custom kernel failed to build:

[skip]
 
> You may have slightly more luck if you include the IPFIREWALL
> option as well.

Sorry, my report was completely wrong.
Really, I use custom kernel which differs from GENERIC very much.
This system does not have a NIC but uses modem and dummynet.

# make buildkernel KERNCONF=DADV
...
linking kernel.debug
ip_dummynet.o: In function `transmit_event':
/usr/src/sys/netinet/ip_dummynet.c(.text+0x44e): undefined reference to `bdgtake
ifaces_ptr'
/usr/src/sys/netinet/ip_dummynet.c(.text+0x4ae): undefined reference to `bdg_for
ward_ptr'
*** Error code 1

Stop in /usr/obj/usr/src/sys/DADV.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src. 

Here is my real kernel config file:

# DADV kernel config

#for strings -n 3 /kernel | grep ^___ | sed -e 's/^___//' > MYKERNEL
options		INCLUDE_CONFIG_FILE

machine		i386
cpu		I686_CPU
ident		DADV
maxusers	128

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

#options 	MATH_EMULATE		#Support for x87 emulation
options		CLK_CALIBRATION_LOOP
options		"CLK_USE_I8254_CALIBRATION"
options		CLK_USE_TSC_CALIBRATION

options 	INET			#InterNETworking
#options 	INET6			#IPv6 communications protocols
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		EXT2FS			#Linux ext2 filesystem
options 	COMPAT_43		#Compatible with BSD 4.3 [KEEP THIS!]
options 	SCSI_DELAY=15000	#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		CPU_SUSP_HLT
#options		"NO_F00F_HACK"
options		USER_LDT
options		PPP_BSDCOMP
options		PPP_DEFLATE
options		PPP_FILTER

options 	SYSVSHM			#SYSV-style shared memory
options 	SYSVMSG			#SYSV-style message queues
options 	SYSVSEM			#SYSV-style semaphores
options		SHMMAXPGS=4096

options 	P1003_1B		#Posix P1003_1B real-time extensions
options 	_KPOSIX_PRIORITY_SCHEDULING
options		_KPOSIX_VERSION=199309L
options		ICMP_BANDLIM		#Rate limit bad replies

#options		FDESC
options		NSWAPDEV=4

device		isa
device		eisa
device		pci
options		AUTO_EOI_1

# 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 flags 0xb0ffb0ff
#device		ata1	at isa? port IO_WD2 irq 15 flags 0xb0ffb0ff
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

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

# Options for atkbd:
options 	ATKBD_DFLT_KEYMAP	# specify the built-in keymap
makeoptions	ATKBD_DFLT_KEYMAP="ru.koi8-r.pdwn"

device		psm0	at atkbdc? irq 12

device		vga0	at isa?
options		VESA
options		VGA_WIDTH90

# splash screen/screen saver
pseudo-device	splash

# syscons is the default console driver, resembling an SCO console
device		sc0	at isa?
options 	SC_DFLT_FONT		# compile font in
makeoptions	SC_DFLT_FONT=cp866

options		MAXCONS=24
options		SC_HISTORY_SIZE=1000
options		SC_MOUSE_CHAR=0x03
options		SC_TWOBUTTON_MOUSE
options		SC_PIXEL_MODE

# 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? flags 0x31 # Advanced Power Management
device		apm0    at nexus?	     # Advanced Power Management

# Serial (COM) ports
device		sio0	at isa? port IO_COM1 flags 0x10 irq 4
device		sio1	at isa? port IO_COM2 irq 3

# 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		joy0	at isa? port IO_GAME

# 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	2	# Kernel PPP
pseudo-device	tun		# Packet tunnel.
pseudo-device	pty	16	# Pseudo-ttys (telnet etc)
#pseudo-device	md		# Memory "disks"
#pseudo-device	gif	4	# IPv6 and IPv4 tunneling
#pseudo-device	faith	1	# IPv6-to-IPv4 relaying (translation)
pseudo-device	snp
pseudo-device	vn
pseudo-device	gzip		# Exec gzipped a.out's
pseudo-device	speaker

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

device pcm

options		QUOTA
options		IPFIREWALL
options		IPFIREWALL_VERBOSE
#options 	"IPFIREWALL_VERBOSE_LIMIT=100"
#options		IPDIVERT

options		DUMMYNET
options		SOFTUPDATES

#device		smbus0
#device		iicbus0
#device		iicbb0
#device		intpm0
#device		smb0	at smbus?

device		smbus
#device		iicbus
#device		iicbb
device		intpm
#device		alpm
#device		ichsmb
device		smb

#device		ic
#device		iic
#device		iicsmb

options		DDB

options		LIBMCHAIN
options		LIBICONV
options		NETSMB
options		NETSMBCRYPTO

options		RANDOM_IP_ID
options		SMBFS

options		UFS_DIRHASH
options		PQ_CACHESIZE=128	# color for 128k/16k cache

#end of file

Do I need pseudo-device ether?

Eugene Grosbein

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?20011107224255.F437>