Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Oct 2002 19:46:05 -0700
From:      Alex Zepeda <zipzippy@sonic.net>
To:        current@freebsd.org
Subject:   Can't make depend or buildkernel for a custom kernel
Message-ID:  <20021008024605.GA2537@blarf.homeip.net>

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

--J2SCkAp4GZ/dPZZf
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Attached is my config file, here's the error I'm getting:

make -V CFILES -V SYSTEM_CFILES -V GEN_CFILES -V GEN_M_CFILES |  MKDEP_CPP="cc -
E" CC="cc" xargs mkdep -a -f .newdep -O -Wall -Wredundant-decls -Wnested-externs
 -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual
 -fformat-extensions -ansi -g -nostdinc -I-  -I. -I/usr/src/sys -I/usr/src/sys/d
ev -I/usr/src/sys/contrib/dev/acpica -I/usr/src/sys/contrib/ipfilter -D_KERNEL -
include opt_global.h -fno-common  -mno-align-long-strings 
-mpreferred-stack-boundary=2 -ffreestanding
cc: Internal error: Segmentation fault (program cpp0)
Please submit a full bug report.
See <URL:http://www.gnu.org/software/gcc/bugs.html>; for instructions.
mkdep: compile failed
*** Error code 1

If I use GENERIC, I can at least make depend.  I'm also having problems
with networking, seems like I can communicate with stuff listening on
127.0.0.1 just fine, but otherwise I can't connect to anything (traceroute
works somewhat).  Booting into an old (Sep 29) kernel works fine...  
actually I think this was broken within the past 7 days or so, I
accidentally deleted my last working kernel.

- alex

--J2SCkAp4GZ/dPZZf
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=ZIPPY_WITNESS

machine		i386
cpu		I686_CPU
ident		ZIPPY_SMP
maxusers	0

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

options 	INET			#InterNETworking
options 	INET6			#IPv6 communications protocols
options 	FFS			#Berkeley Fast Filesystem
options 	SOFTUPDATES		#Enable FFS soft updates support
options		UFS_DIRHASH
options 	NFSCLIENT		#Network Filesystem
options 	NFSSERVER		#Network Filesystem
options 	MSDOSFS			#MSDOS Filesystem
options 	CD9660			#ISO 9660 Filesystem
options 	PROCFS			#Process filesystem
options		PSEUDOFS
options 	COMPAT_43		#Compatible with BSD 4.3 [KEEP THIS!]
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 	KBD_INSTALL_CDEV	# install a CDEV entry in /dev
#options		_KPOSIX_VERSION=199309L
device		random			#entropy device

#options 	SMP			# Symmetric MultiProcessor Kernel
#options 	APIC_IO			# Symmetric (APIC) I/O

device		isa
device		pci

device		fdc			# Floppy drives

# ATA and ATAPI devices
device		ata
device		atadisk			# ATA disk drives
device		atapicd			# ATAPI CDROM drives
device		atapifd			# ATAPI floppy drives
device		atapicam
options 	ATA_STATIC_ID		#Static device numbering
#options 	ATA_ENABLE_ATAPI_DMA	#Enable DMA on ATAPI devices

options		DDB
options		WITNESS
options		WITNESS_SKIPSPIN
options		INVARIANTS
options		INVARIANT_SUPPORT

# SCSI peripherals
device		scbus		# SCSI bus (required)
device		pass
device		cd

device		atkbdc		# atkbdc0 controls both the keyboard and the PS/2 mouse
device		atkbd
device		psm
device		vga
device		splash		# splash screen/screen saver
device		sc		# syscons is the default console driver, resembling an SCO console
device		npx		# Floating point support - do not disable.
device		pmtimer		# Add suspend/resume support for the i8254.

#The orm device.  This device gobbles up the Option ROMs in the ISA memory 
#I/O space.

# Serial (COM) ports
device		sio

# Parallel port
device		ppc
device		ppbus		# Parallel port bus (required)
device		lpt		# Printer

# PCI Ethernet NICs.
device		miibus		# MII bus support
device		fxp		# Intel EtherExpress PRO/100B (82557, 82558)

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

# The `bpf' device enables the Berkeley Packet Filter.
# Be aware of the administrative consequences of enabling this!
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		snp
device          acpica
options         ACPI_DEBUG
device		midi
device		pcm
device		joy
device		seq
device		gif		# IPv6 and IPv4 tunneling
device		faith		# IPv6-to-IPv4 relaying (translation)

options		PPC_PROBE_CHIPSET
options		IPSEC
options		IPSEC_ESP
options		IPSEC_DEBUG
options		IPV6FIREWALL
options		IPFIREWALL
options		IPDIVERT
options		IPFIREWALL_VERBOSE
options		NETGRAPH
options		DUMMYNET
options		UFS_EXTATTR
options		UFS_EXTATTR_AUTOSTART
options		UFS_ACL
options		COMPAT_LINUX
options		IPFIREWALL_DEFAULT_TO_ACCEPT

--J2SCkAp4GZ/dPZZf--

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




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