Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Jun 1996 20:10:28 -0700
From:      Justin Ashworth <ashworth@cs.montana.edu>
To:        questions@freebsd.org
Subject:   Kernel won't make
Message-ID:  <2.2.32.19960628031028.006d9e18@cs.montana.edu>

next in thread | raw e-mail | index | archive | help
--=====================_835956628==_
Content-Type: text/plain; charset="us-ascii"

I'm compiling a custom kernel per the documentation (section 5.2 in the
FreeBSD Handbook). I did the config and make depend, which both worked.
However, I got numerous warnings when trying to make, then it finally
stopped with an error code of 1. Here is my kernel listing (if the wrap
screws it up, look at the attached copy):

-----------------------------
machine		"i386"
cpu		"I586_CPU"
ident	        SPACEHOG	
maxusers	10

options		INET			#InterNETworking
options		FFS			#Berkeley Fast Filesystem
options		MSDOSFS			#MSDOS Filesystem
options		"CD9660"		#ISO 9660 Filesystem
options		PROCFS			#Process filesystem
options		"COMPAT_43"		#Compatible with BSD 4.3 [KEEP THIS!]
options		SCSI_DELAY=5		#Be pessimistic about Joe SCSI device
options         BOUNCE_BUFFERS
options		UCONSOLE		#Allow users to grab the console
options		FAILSAFE		#Be conservative
options         SYSVSHM
options         "SBC_IRQ=9"
options         "SB16_DMA=3"

config		SPACEHOG	root on wd0

controller	isa0
controller	eisa0
controller	pci0

controller	fdc0	at isa? port "IO_FD1" bio irq 6 drq 2 vector fdintr
disk		fd0	at fdc0 drive 0

controller	wdc0	at isa? port "IO_WD1" bio irq 14 vector wdintr
disk		wd0	at wdc0 drive 0

controller	wdc1	at isa? port "IO_WD2" bio irq 15 vector wdintr
disk		wd2	at wdc1 drive 0
#disk		wd3	at wdc1 drive 1

options		ATAPI		#Enable ATAPI support for IDE bus
options		ATAPI_STATIC	#Don't do it as an LKM
device		wcd0	#IDE CD-ROM

# A single entry for any of these controllers (ncr, ahb, ahc) is sufficient
# for any number of installed devices.
controller	ahc0

controller	scbus0

#device		sd0

device		od0

#device		st0

#device		cd0	#Only need one of these, the code dynamically grows

#device		mcd1	at isa? port 0x340 bio irq 11 vector mcdintr

# syscons is the default console driver, resembling an SCO console
device		sc0	at isa? port "IO_KBD" tty irq 1 vector scintr
# Enable this and PCVT_FREEBSD for pcvt vt220 compatible console driver
#device		vt0	at isa? port "IO_KBD" tty irq 1 vector pcrint
#options		PCVT_FREEBSD=210	# pcvt running on FreeBSD >= 2.0.5
#options		XSERVER			# include code for XFree86
#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

# Mandatory, don't remove
device		npx0	at isa? port "IO_NPX" irq 13 vector npxintr

#
# Laptop support (see LINT for more options)
#

device		apm0    at isa?	disable	# Advanced Power Management
options		APM_BROKEN_STATCLOCK	# Workaround some buggy APM BIOS
# PCCARD (PCMCIA) support
#controller	crd0
#device		pcic0	at crd?
#device		pcic1	at crd?

device		sio0	at isa? port "IO_COM1" tty irq 4 vector siointr
device		sio1	at isa? port "IO_COM2" tty irq 3 vector siointr
device		sio2	at isa? port "IO_COM3" tty irq 5 vector siointr

device		lpt0	at isa? port? tty irq 7 vector lptintr

device		psm0	at isa? disable port "IO_KBD" conflicts tty irq 12 vector psmintr

device fxp0
device vx0

pseudo-device	loop
pseudo-device	log
#pseudo-device	sl	1
# ijppp uses tun instead of ppp device
pseudo-device	ppp	1
pseudo-device	tun	1
pseudo-device	pty	16
# keep this if you want to be able to continue to use /stand/sysinstall
pseudo-device	gzip		# Exec gzipped a.out's

# sound card stuff
controller snd0
device sb0 at isa? port 0x220 irq 9
device sbxvi0 at isa? drq 3
-------------------------------------

Please help....

Thanks!


--=====================_835956628==_
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: attachment; filename="SPACEHOG"

machine		"i386"
cpu		"I586_CPU"
ident	        SPACEHOG	
maxusers	10

options		INET			#InterNETworking
options		FFS			#Berkeley Fast Filesystem
options		MSDOSFS			#MSDOS Filesystem
options		"CD9660"		#ISO 9660 Filesystem
options		PROCFS			#Process filesystem
options		"COMPAT_43"		#Compatible with BSD 4.3 [KEEP THIS!]
options		SCSI_DELAY=5		#Be pessimistic about Joe SCSI device
options         BOUNCE_BUFFERS
options		UCONSOLE		#Allow users to grab the console
options		FAILSAFE		#Be conservative
options         SYSVSHM
options         "SBC_IRQ=9"
options         "SB16_DMA=3"

config		SPACEHOG	root on wd0

controller	isa0
controller	eisa0
controller	pci0

controller	fdc0	at isa? port "IO_FD1" bio irq 6 drq 2 vector fdintr
disk		fd0	at fdc0 drive 0

controller	wdc0	at isa? port "IO_WD1" bio irq 14 vector wdintr
disk		wd0	at wdc0 drive 0

controller	wdc1	at isa? port "IO_WD2" bio irq 15 vector wdintr
disk		wd2	at wdc1 drive 0
#disk		wd3	at wdc1 drive 1

options		ATAPI		#Enable ATAPI support for IDE bus
options		ATAPI_STATIC	#Don't do it as an LKM
device		wcd0	#IDE CD-ROM

# A single entry for any of these controllers (ncr, ahb, ahc) is sufficient
# for any number of installed devices.
controller	ahc0

controller	scbus0

#device		sd0

device		od0

#device		st0

#device		cd0	#Only need one of these, the code dynamically grows

#device		mcd1	at isa? port 0x340 bio irq 11 vector mcdintr

# syscons is the default console driver, resembling an SCO console
device		sc0	at isa? port "IO_KBD" tty irq 1 vector scintr
# Enable this and PCVT_FREEBSD for pcvt vt220 compatible console driver
#device		vt0	at isa? port "IO_KBD" tty irq 1 vector pcrint
#options		PCVT_FREEBSD=210	# pcvt running on FreeBSD >= 2.0.5
#options		XSERVER			# include code for XFree86
#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

# Mandatory, don't remove
device		npx0	at isa? port "IO_NPX" irq 13 vector npxintr

#
# Laptop support (see LINT for more options)
#

device		apm0    at isa?	disable	# Advanced Power Management
options		APM_BROKEN_STATCLOCK	# Workaround some buggy APM BIOS
# PCCARD (PCMCIA) support
#controller	crd0
#device		pcic0	at crd?
#device		pcic1	at crd?

device		sio0	at isa? port "IO_COM1" tty irq 4 vector siointr
device		sio1	at isa? port "IO_COM2" tty irq 3 vector siointr
device		sio2	at isa? port "IO_COM3" tty irq 5 vector siointr

device		lpt0	at isa? port? tty irq 7 vector lptintr

device		psm0	at isa? disable port "IO_KBD" conflicts tty irq 12 vector psmintr

device fxp0
device vx0

pseudo-device	loop
pseudo-device	log
#pseudo-device	sl	1
# ijppp uses tun instead of ppp device
pseudo-device	ppp	1
pseudo-device	tun	1
pseudo-device	pty	16
# keep this if you want to be able to continue to use /stand/sysinstall
pseudo-device	gzip		# Exec gzipped a.out's

# sound card stuff
controller snd0
device sb0 at isa? port 0x220 irq 9
device sbxvi0 at isa? drq 3
--=====================_835956628==_
Content-Type: text/plain; charset="us-ascii"


- Justin J. Ashworth
-- CS Student, Montana State University
--- Chair, Association for Computing Machinery - MSU
-- ashworth@cs.montana.edu
- http://www.cs.montana.edu/~ashworth

--=====================_835956628==_--




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