Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 May 2001 14:32:52 -0400
From:      "Peschka, Jeremiah " <Jeremiah.Peschka@qwest.com>
To:        "'freebsd-questions@FreeBSD.org'" <freebsd-questions@FreeBSD.org>
Subject:   kernel compile error
Message-ID:  <273626447E54D311B3FE0008C7CFA693059F89F9@DUBNTEX007.qwest.net>

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

[-- Attachment #1 --]
I have tried to custom compile my kernel several times today, with equally
poor results.  I have attached the kernel configuration (AMNESIAC) and the
output of the kernel error (kernelerror.txt)




 <<kernelerror.txt>>  <<AMNESIA>> 

Jeremiah Peschka
Actuate System Administrator
Systems Engineer
614-336-4900


[-- Attachment #2 --]
rm -f .newdep
mkdep -a -f .newdep -O -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -fformat-extensions -ansi  -nostdinc -I- -I. -I../.. -I/usr/include  -D_KERNEL -include opt_global.h -elf  -mpreferred-stack-boundary=2 device_if.c bus_if.c ../../dev/md/md.c ppbus_if.c  ../../dev/ppbus/if_plip.c ../../dev/ppbus/lpt.c  ../../dev/ppbus/ppb_base.c ../../dev/ppbus/ppb_1284.c  ../../dev/ppbus/ppb_msq.c ../../dev/ppbus/ppbconf.c ../../dev/ppbus/ppi.c  ../../isofs/cd9660/cd9660_bmap.c ../../isofs/cd9660/cd9660_lookup.c  ../../isofs/cd9660/cd9660_node.c ../../isofs/cd9660/cd9660_rrip.c  ../../isofs/cd9660/cd9660_util.c ../../isofs/cd9660/cd9660_vfsops.c  ../../isofs/cd9660/cd9660_vnops.c ../../kern/imgact_aout.c  ../../kern/imgact_elf.c ../../kern/imgact_shell.c ../../kern/init_main.c  ../../kern/init_sysent.c ../../kern/kern_intr.c ../../kern/kern_module.c  ../../kern/kern_linker.c ../../kern/link_aout.c ../../kern/link_elf.c  ../../kern/kern_acct.c ../../kern/kern_acl.c ../../kern/kern_clock.c  ../../kern/kern_conf.c ../../kern/kern_descrip.c  ../../kern/kern_environment.c ../../kern/kern_event.c  ../../kern/kern_exec.c ../../kern/kern_exit.c ../../kern/kern_fork.c  ../../kern/kern_jail.c ../../kern/kern_kthread.c ../../kern/kern_ktrace.c  ../../kern/kern_lock.c ../../kern/kern_lockf.c ../../kern/kern_malloc.c  ../../kern/kern_mib.c ../../kern/kern_ntptime.c ../../kern/kern_physio.c  ../../kern/kern_proc.c ../../kern/kern_prot.c ../../kern/kern_random.c  ../../kern/kern_resource.c ../../kern/kern_shutdown.c  ../../kern/kern_sig.c ../../kern/kern_subr.c ../../kern/kern_switch.c  ../../kern/kern_synch.c ../../kern/kern_syscalls.c  ../../kern/kern_sysctl.c ../../kern/kern_time.c ../../kern/kern_timeout.c  ../../kern/kern_xxx.c ../../kern/md5c.c ../../kern/subr_autoconf.c  ../../kern/subr_bus.c ../../kern/subr_devstat.c ../../kern/subr_disk.c  ../../kern/subr_diskslice.c ../../kern/subr_eventhandler.c  ../../kern/subr_log.c ../../kern/subr_module.c ../../kern/subr_prf.c  ../../kern/subr_prof.c ../../kern/subr_blist.c ../../kern/subr_scanf.c  ../../kern/subr_taskqueue.c ../../kern/subr_xxx.c  ../../kern/sys_generic.c ../../kern/sys_pipe.c ../../kern/sys_process.c  ../../kern/subr_rman.c ../../kern/sys_socket.c ../../kern/sysv_ipc.c  ../../kern/sysv_msg.c ../../kern/sysv_sem.c ../../kern/sysv_shm.c  ../../kern/tty.c ../../kern/tty_compat.c ../../kern/tty_conf.c  ../../kern/tty_cons.c ../../kern/tty_pty.c ../../kern/tty_subr.c  ../../kern/tty_tty.c ../../kern/uipc_domain.c ../../kern/uipc_mbuf.c  ../../kern/uipc_mbuf2.c ../../kern/uipc_proto.c ../../kern/uipc_socket.c  ../../kern/uipc_socket2.c ../../kern/uipc_syscalls.c  ../../kern/uipc_usrreq.c ../../kern/vfs_bio.c ../../kern/vfs_cache.c  ../../kern/vfs_cluster.c ../../kern/vfs_conf.c ../../kern/vfs_default.c  ../../kern/vfs_init.c ../../kern/vfs_lookup.c ../../kern/vfs_subr.c  ../../kern/vfs_syscalls.c ../../kern/vfs_vnops.c  ../../kern/kern_threads.c ../../kern/vfs_aio.c  ../../miscfs/deadfs/dead_vnops.c ../../miscfs/fifofs/fifo_vnops.c  ../../miscfs/procfs/procfs_ctl.c ../../miscfs/procfs/procfs_dbregs.c  ../../miscfs/procfs/procfs_fpregs.c ../../miscfs/procfs/procfs_map.c  ../../miscfs/procfs/procfs_mem.c ../../miscfs/procfs/procfs_note.c  ../../miscfs/procfs/procfs_regs.c ../../miscfs/procfs/procfs_status.c  ../../miscfs/procfs/procfs_subr.c ../../miscfs/procfs/procfs_type.c  ../../miscfs/procfs/procfs_vfsops.c ../../miscfs/procfs/procfs_vnops.c  ../../miscfs/procfs/procfs_rlimit.c ../../miscfs/specfs/spec_vnops.c  ../../net/bpf.c ../../net/bpf_filter.c ../../net/if.c  ../../net/if_ethersubr.c ../../net/if_faith.c ../../net/if_gif.c  ../../net/if_loop.c ../../net/if_media.c ../../net/if_mib.c  ../../net/if_ppp.c ../../net/if_sl.c ../../net/if_tun.c  ../../net/net_osdep.c ../../net/ppp_tty.c ../../net/intrq.c  ../../net/radix.c ../../net/raw_cb.c ../../net/raw_usrreq.c  ../../net/route.c ../../net/rtsock.c ../../net/slcompress.c  ../../netinet/if_ether.c ../../netinet/in_gif.c ../../netinet/igmp.c  ../../netinet/in.c ../../netinet/in_pcb.c ../../netinet/in_proto.c  ../../netinet/in_rmx.c ../../netinet/ip_ecn.c ../../netinet/ip_encap.c  ../../netinet/ip_flow.c ../../netinet/ip_icmp.c ../../netinet/ip_input.c  ../../netinet/ip_mroute.c ../../netinet/ip_output.c  ../../netinet/raw_ip.c ../../netinet/tcp_input.c  ../../netinet/tcp_output.c ../../netinet/tcp_subr.c  ../../netinet/tcp_timer.c ../../netinet/tcp_usrreq.c  ../../netinet/udp_usrreq.c ../../netinet6/dest6.c ../../netinet6/frag6.c  ../../netinet6/icmp6.c ../../netinet6/in6.c ../../netinet6/in6_cksum.c  ../../netinet6/in6_gif.c ../../netinet6/ip6_forward.c  ../../netinet6/in6_ifattach.c ../../netinet6/ip6_input.c  ../../netinet6/ip6_mroute.c ../../netinet6/ip6_output.c  ../../netinet6/in6_src.c ../../netinet6/in6_pcb.c  ../../netinet6/in6_prefix.c ../../netinet6/in6_proto.c  ../../netinet6/in6_rmx.c ../../netinet6/mld6.c ../../netinet6/nd6.c  ../../netinet6/nd6_nbr.c ../../netinet6/nd6_rtr.c  ../../netinet6/raw_ip6.c ../../netinet6/route6.c ../../netinet6/scope6.c  ../../netinet6/udp6_output.c ../../netinet6/udp6_usrreq.c  ../../pci/if_xl.c ../../pci/pci.c ../../pci/pci_compat.c  ../../pci/pcisupport.c pci_if.c ../../posix4/posix4_mib.c  ../../posix4/p1003_1b.c ../../posix4/ksched.c ../../ufs/ffs/ffs_alloc.c  ../../ufs/ffs/ffs_balloc.c ../../ufs/ffs/ffs_inode.c  ../../ufs/ffs/ffs_softdep_stub.c ../../ufs/ffs/ffs_softdep.c  ../../ufs/ffs/ffs_subr.c ../../ufs/ffs/ffs_tables.c  ../../ufs/ffs/ffs_vfsops.c ../../ufs/ffs/ffs_vnops.c  ../../ufs/mfs/mfs_vfsops.c ../../ufs/mfs/mfs_vnops.c  ../../ufs/ufs/ufs_bmap.c ../../ufs/ufs/ufs_disksubr.c  ../../ufs/ufs/ufs_ihash.c ../../ufs/ufs/ufs_inode.c  ../../ufs/ufs/ufs_lookup.c ../../ufs/ufs/ufs_quota.c  ../../ufs/ufs/ufs_vfsops.c ../../ufs/ufs/ufs_vnops.c  ../../vm/default_pager.c ../../vm/device_pager.c ../../vm/swap_pager.c  ../../vm/vm_fault.c ../../vm/vm_glue.c ../../vm/vm_init.c ../../vm/vm_kern.c  ../../vm/vm_map.c ../../vm/vm_meter.c ../../vm/vm_mmap.c  ../../vm/vm_object.c ../../vm/vm_page.c ../../vm/vm_pageout.c  ../../vm/vm_pager.c ../../vm/vm_swap.c ../../vm/vm_unix.c  ../../vm/vnode_pager.c ../../vm/vm_zone.c isa_if.c  ../../isa/isa_common.c ../../isa/isahint.c ../../isa/pnp.c  ../../isa/pnpparse.c ../../libkern/arc4random.c ../../libkern/bcd.c  ../../libkern/index.c ../../libkern/inet_ntoa.c ../../libkern/qsort.c  ../../libkern/random.c ../../libkern/rindex.c ../../libkern/scanc.c  ../../libkern/skpc.c ../../libkern/strcat.c ../../libkern/strcmp.c  ../../libkern/strcpy.c ../../libkern/strlen.c ../../libkern/strncmp.c  ../../libkern/strncpy.c ../../libkern/strtol.c ../../libkern/strtoq.c  ../../libkern/strtoul.c ../../libkern/strtouq.c ../../dev/ata/ata-all.c  ../../dev/ata/ata-dma.c ../../dev/ata/ata-disk.c  ../../dev/ata/atapi-all.c ../../dev/ata/atapi-cd.c  ../../dev/ata/atapi-fd.c ../../dev/eisa/eisaconf.c ../../dev/fb/fb.c  ../../dev/fb/splash.c ../../dev/fb/vga.c ../../dev/kbd/atkbd.c  ../../dev/kbd/atkbdc.c ../../dev/kbd/kbd.c ../../dev/syscons/schistory.c  ../../dev/syscons/scmouse.c ../../dev/syscons/scterm.c  ../../dev/syscons/scterm-dumb.c ../../dev/syscons/scterm-sc.c  ../../dev/syscons/scvgarndr.c ../../dev/syscons/scvidctl.c  ../../dev/syscons/scvtb.c ../../dev/syscons/syscons.c  ../../dev/syscons/sysmouse.c ../../i386/i386/atomic.c  ../../i386/i386/autoconf.c ../../i386/i386/bios.c  ../../i386/i386/busdma_machdep.c ../../i386/i386/elf_machdep.c  ../../i386/i386/i686_mem.c ../../i386/i386/identcpu.c  ../../i386/i386/in_cksum.c ../../i386/i386/initcpu.c  ../../i386/i386/k6_mem.c ../../i386/i386/machdep.c  ../../i386/i386/math_emulate.c ../../i386/i386/mem.c  ../../i386/i386/nexus.c ../../i386/i386/pmap.c  ../../i386/i386/procfs_machdep.c ../../i386/i386/sys_machdep.c  ../../i386/i386/trap.c ../../i386/i386/userconfig.c  ../../i386/i386/vm86.c ../../i386/i386/vm_machdep.c  ../../i386/isa/clock.c ../../isa/fd.c ../../i386/isa/intr_machdep.c  ../../i386/isa/ipl_funcs.c ../../i386/isa/isa.c  ../../i386/isa/isa_compat.c ../../i386/isa/isa_dma.c ../../i386/isa/npx.c  ../../i386/isa/pcibus.c ../../isa/atkbd_isa.c ../../isa/atkbdc_isa.c  ../../isa/ppc.c ../../isa/psm.c ../../isa/sio.c ../../isa/syscons_isa.c  ../../isa/vga_isa.c ../../kern/subr_diskmbr.c ../../libkern/divdi3.c  ../../libkern/moddi3.c ../../libkern/qdivrem.c ../../libkern/udivdi3.c  ../../libkern/umoddi3.c ioconf.c param.c vnode_if.c config.c ../../i386/i386/genassym.c

../../pci/if_xl.c:128: miibus_if.h: No such file or directory
mkdep: compile failed
***Error code 1

Stop in /usr/src/sys/compile/AMNESIA.
[-- Attachment #3 --]
#
# GENERIC -- Generic kernel configuration file for FreeBSD/i386
#
# For more information on this file, please read the handbook section on
# Kernel Configuration Files:
#
#    http://www.FreeBSD.org/handbook/kernelconfig-config.html
#
# The handbook is also available locally in /usr/share/doc/handbook
# if you've installed the doc distribution, otherwise always see the
# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
# latest information.
#
# An exhaustive list of options and more detailed explanations of the
# device lines is also present in the ./LINT configuration file. If you are
# in doubt as to the purpose or necessity of a line, check first in LINT.
#
# $FreeBSD: src/sys/i386/conf/GENERIC,v 1.246.2.8 2000/07/20 02:51:02 msmith Exp $

machine		i386
#cpu		I386_CPU
#cpu		I486_CPU
#cpu		I586_CPU
cpu		I686_CPU
ident		AMNESIA
maxusers	32

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

options 	MATH_EMULATE		#Support for x87 emulation
options 	INET			#InterNETworking
options 	INET6			#IPv6 communications protocols
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 	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=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 	SYSVSHM			#SYSV-style shared memory
options 	SYSVMSG			#SYSV-style message queues
options 	SYSVSEM			#SYSV-style semaphores
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

# 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)
#options		SYM_SETUP_LP_PROBE_MAP=0x40
				# Allow ncr to attach legacy NCR devices when 
				# both sym and ncr are configured

#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		ida		# Compaq Smart RAID
#device		amr		# AMI MegaRAID
#device		mlx		# Mylex DAC960 family
#device		twe		# 3ware Escalade

# atkbdc0 controls both the keyboard and the PS/2 mouse
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?

# splash screen/screen saver
pseudo-device	splash

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

# Enable this and PCVT_FREEBSD for pcvt vt220 compatible console driver
#device		vt0	at isa?
#options 	XSERVER			# support for X server on a vt console
#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? disable flags 0x20 # Advanced Power Management

# PCCARD (PCMCIA) support
#device		card
#device		pcic0	at isa? irq 10 port 0x3e0 iomem 0xd0000
#device		pcic1	at isa? irq 11 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		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
# Xircom Ethernet
#device		xe
# 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

# 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"
pseudo-device	gif	4	# IPv6 and IPv4 tunneling
pseudo-device	faith	1	# IPv6-to-IPv4 relaying (translation)

# 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, requires mii
#device		aue		# ADMtek USB ethernet
#device		cue		# CATC USB ethernet
#device		kue		# Kawasaki LSI USB ethernet

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