Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Mar 2002 15:12:04 -0800
From:      "Christopher Viaggi" <cviaggi@thermawave.com>
To:        <freebsd-questions@FreeBSD.org>
Subject:   Problem Making a New Kernel
Message-ID:  <000001c1c953$420a14b0$0300a8c0@kant>

next in thread | raw e-mail | index | archive | help
Unfortunately I'm not an expert so I'm stuck. My Kernel Build didn't work I
keep receiving an error. I tried resourcing my kernel the problem continued
to persist. I thought perhaps it was my KERNEL configuration file but I
receive the same problem with the Generic configuration file too. I tried
the "traditional" procedure and the "new" procedure, both failed.


ERROR------------------make buildkernel KERNCONF=DIOGENES---------

rm -f .depend
mkdep -f
depend -a   -nostdinc -nostdinc -DAAC_COMPAT_LINUX -D_KERNEL -DKLD_MODULE -
I- -I. -I@ -I@/../include -I/usr/obj/usr/src/i386/usr/include
/usr/src/sys/modules/aac/../../dev/aac/aac.c
/usr/src/sys/modules/aac/../../dev/aac/aac_pci.c
/usr/src/sys/modules/aac/../../dev/aac/aac_disk.c
===> asr
@ -> /usr/src/sys
machine -> /usr/src/sys/i386/include
touch opt_scsi.h
touch opt_cam.h
touch opt_asr.h
perl @/kern/makeops.pl -h @/kern/device_if.m
perl @/kern/makeops.pl -h @/kern/bus_if.m
perl @/kern/makeops.pl -h @/pci/pci_if.m
rm -f .depend
mkdep -f
depend -a   -nostdinc -nostdinc -D_KERNEL -DKLD_MODULE -I- -I. -I@ -I@/../i
nclude -I/usr/obj/usr/src/i386/usr/include
/usr/src/sys/modules/asr/../../dev/asr/asr.c
===> bktr
===> bktr/bktr
@ -> /usr/src/sys
machine -> /usr/src/sys/i386/include
echo "#define NBKTR 1" > bktr.h
echo "#define BKTR_FREEBSD_MODULE 1" >> bktr.h
touch opt_bktr.h
echo "#define NSMBUS 0" > smbus.h
perl @/kern/makeops.pl -h @/kern/bus_if.m
perl @/kern/makeops.pl -h @/kern/device_if.m
perl @/kern/makeops.pl -h @/pci/pci_if.m
perl @/kern/vnode_if.pl -h @/kern/vnode_if.src
rm -f .depend
mkdep -f
depend -a   -nostdinc -nostdinc -D_KERNEL -DKLD_MODULE -I- -I. -I@ -I/usr/o
bj/usr/src/i386/usr/include
/usr/src/sys/modules/bktr/bktr/../../../dev/bktr/bktr_core.c
/usr/src/sys/modules/bktr/bktr/../../../dev/bktr/bktr_os.c
/usr/src/sys/modules/bktr/bktr/../../../dev/bktr/bktr_audio.c
/usr/src/sys/modules/bktr/bktr/../../../dev/bktr/bktr_tuner.c
/usr/src/sys/modules/bktr/bktr/../../../dev/bktr/bktr_card.c
===> bktr/bktr_mem
@ -> /usr/src/sys
machine -> /usr/src/sys/i386/include
rm -f .depend
mkdep -f
depend -a   -nostdinc -nostdinc -D_KERNEL -DKLD_MODULE -I- -I. -I@ -I/usr/o
bj/usr/src/i386/usr/include  /usr/src/sys/modules/bktr/bktr_mem/bktr_mem.c
*** Error code 1

Stop in /usr/src/sys/modules/bktr/bktr_mem.
*** Error code 1

Stop in /usr/src/sys/modules/bktr.
*** Error code 1

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

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

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

Stop in /usr/src.

------------------------------------------------------

KERNEL Configuration File-----------------------------

machine		i386
cpu		I586_CPU
ident		DIOGENES
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

device		isa
device		pci

# Floppy drives
device		fdc0	at isa? port IO_FD1 irq 6 drq 2
device		fd0	at fdc0 drive 0

# 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
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 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

# 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		ppi		# Parallel port interface device


# PCI Ethernet NICs.
device		vx		# 3Com 3c590, 3c595 (``Vortex'')

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		# 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

---------------------------------------------------------------

Any help would be appreciated.

Thanx,
//C



=========================
Christopher Viaggi
Senior Enterprise Analyst

Therma-Wave, Inc.
cviaggi@thermawave.com
(510) 668-2370
=========================


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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000001c1c953$420a14b0$0300a8c0>