Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 09 May 1998 10:51:16 -0700
From:      Brad Smith <mr_poe@cats.ucsc.edu>
To:        freebsd-questions@FreeBSD.ORG
Subject:   Kernel will not make
Message-ID:  <35549792.6985A81D@cats.ucsc.edu>

next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.
--------------DCD56312ABDD5406390BF7C1
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Hello all. Thanks in advance to anybody who can help me out with this...


 When I do the "make" command on my new kernel, everything goes fine
until I get this:
--------------------------------
loading kernel
dpt_scsi.o: undefined symbol '_scsi_alloc_bus' referenced from text
segment
dpt_scsi.o: undefined symbol '_scsi_attachdevs' referenced from text
segment
dpt_scsi.o: undefined symbol '_scsi_done' referenced from text segment
dpt_scsi.o: undefined symbol '_scsi_done' referenced from text segment
soundcard.o: undefined symbol '_MIDIbuf_select' referenced from text
segment
soundcard.o: undefined symbol '_MIDIbuf_init' referenced from text
segment
sound_switch.o: undefined symbol '_MIDIbuf_read' referenced from text
segment
sound_switch.o: undefined symbol '_MIDIbuf_write' referenced from text
segment
sound_switch.o: undefined symbol '_MIDIbuf_open' referenced from text
segment
sound_switch.o: undefined symbol '_MIDIbuf_release' referenced from text
segment


sound_switch.o: undefined symbol '_MIDIbuf_ioctl' referenced from text
segment
ioconf.o: undefined symbol '_opdriver' referenced from data segment
***Error code 1

Stop.
-----------------------------

I'm hesitant to remove the DPT stuff because the configuration file
makes it sound very important. Also, I'd like to be able to keep the
midi capabilities on my soundcard. Either way, if anybody can tell me
what went wrong I'd love to know.

Here is the configuration file:

-----------------------------
# DORK: The silly kernel with a silly name
#
#-------System-----------------------------------------------------------

machine  "i386"
cpu  "I586_CPU"
ident  DORK
maxusers 5
options  INET                   #InterNETworking
options  FFS                     #Berkeley Fast Filesystem
options  NFS                    #Network 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  BOUNCE_BUFFERS          #include support for DMA bounce buffers

options  UCONSOLE      #Allow users to grab the console
options  FAILSAFE         #Be conservative
options  USERCONFIG  #boot -c editor
options  VISUAL_USERCONFIG     #visual boot -c editor
options  "EXT2FS"          #Read Linux Filesystems
options  QUOTA            #enable disk quotas
config  kernel root on wd0
#---------Drives----------------------------------------------------------

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
options  "CMD640" # work around CMD640 chip deficiency
controller wdc0  at isa? port "IO_WD1" bio irq 14 vector wdintr
disk  wd0  at wdc0 drive 0
disk  wd1  at wdc0 drive 1
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
controller  wcd0
device  wcd0  #IDE CD-ROM
device  wfd0  #IDE floppy (LS-120)
#-----------Console-------------------------------------------------
device  sc0 at isa? port "IO_KBD" tty irq 1 vector scintr
options  XSERVER   # support for X server
#---------- Ports --------------------------------------------------
device  npx0 at isa? port "IO_NPX" flags 0x1 irq 13 vector npxintr
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? disable port "IO_COM3" tty irq 8 vector siointr
device  sio3 at isa? disable port "IO_COM4" tty irq 9 vector siointr
device  lpt0 at isa? port? tty irq 7 vector lptintr
#-----------Networking------------------------------------------------
device ed0 at isa? port 0x280 net irq 5 iomem 0xd8000 vector edintr
pseudo-device loop
pseudo-device ether
pseudo-device log
pseudo-device vn 1
pseudo-device pty 2            # Number of simultaneous rlogins to allow

pseudo-device gzip              # Exec gzipped a.out's
pseudo-device snp     3
pseudo-device bpfilter 4      # Required for DHCP
pseudo-device speaker
#----------Sound-----------------------------------------------------
controller snd0
device sbxvi0 at isa? drq5
device sbmidi0 at isa? port 0x330
device op10 at isa? port 0x388 conflicts
device joy0 at isa? port "IO_GAME"
#----------Misc------------------------------------------------------
# Leave DPT stuff alone.
controller dpt0      #Leave uncommented!
options      DPTOPT   # will go away soon
options      DPT_MEASURE_PERFORMANCE # just enable for now
options      DPT_VERIFY_HINTR # Some hardware must have it!
options      DPT_TRACK_CCB_STATES # Some hardware must have it!
options      DPT_HANDLE_TIMEOUTS # Some hardware must have it!
options      DPT_TIMEOUT_FACTOR=4 # Some hardware needs more
options      KTRACE  #kernel tracing some memory bloat
options      SYSVSHM # Support System V shared memory
#---------------------------------------------------------------------
# END

--------------DCD56312ABDD5406390BF7C1
Content-Type: text/plain; charset=us-ascii; name="Dork"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline; filename="Dork"

# DORK -- *THE* Kernel to use if you are dumb.
#
#-------System-----------------------------------------------------------
machine		"i386"
cpu		"I586_CPU"
ident		DORK
maxusers	5
options		INET			#InterNETworking
options		FFS			#Berkeley Fast Filesystem
options		NFS			#Network 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		BOUNCE_BUFFERS		#include support for DMA bounce buffers
options		UCONSOLE		#Allow users to grab the console
options		FAILSAFE		#Be conservative
options		USERCONFIG		#boot -c editor
options		VISUAL_USERCONFIG	#visual boot -c editor
options 	"EXT2FS"		#Read Linux Filesystems
options 	QUOTA			#enable disk quotas
config		kernel	root on wd0
#---------Drives----------------------------------------------------------
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
options		"CMD640"	# work around CMD640 chip deficiency
controller	wdc0		at isa? port "IO_WD1" bio irq 14 vector wdintr
disk		wd0		at wdc0 drive 0
disk		wd1		at wdc0 drive 1
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
controller 	wcd0
device		wcd0		#IDE CD-ROM
device		wfd0		#IDE floppy (LS-120)
#-----Console (do not remove)---------------------------------------
device		sc0	at isa? port "IO_KBD" tty irq 1 vector scintr
options		XSERVER			# support for X server
#---------- Ports --------------------------------------------------   
device		npx0	at isa? port "IO_NPX" flags 0x1 irq 13 vector npxintr
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? disable port "IO_COM3" tty irq 8 vector siointr
device  sio3	at isa? disable port "IO_COM4" tty irq 9 vector siointr
device		lpt0	at isa? port? tty irq 7 vector lptintr
#-----------Networking------------------------------------------------
device ed0 at isa? port 0x280 net irq 5 iomem 0xd8000 vector edintr
pseudo-device	loop
pseudo-device	ether
pseudo-device	log
pseudo-device	vn	1
pseudo-device	pty	2       # Number of simultaneous rlogins to allow
pseudo-device	gzip		# Exec gzipped a.out's
pseudo-device   snp     3
pseudo-device   bpfilter 4      # Required for DHCP
pseudo-device   speaker
#----------Sound-----------------------------------------------------
controller snd0	
device sbxvi0 at isa? drq5
device sbmidi0 at isa? port 0x330
device op10 at isa? port 0x388 conflicts
device joy0 at isa? port "IO_GAME" 
#----------Misc------------------------------------------------------
# Leave DPT stuff alone. It's irrelavent
controller	dpt0    		#Leave uncommented!
options		DPTOPT			# will go away soon
options   	DPT_MEASURE_PERFORMANCE	# just enable for now
options		DPT_VERIFY_HINTR	# Some hardware must have it!
options		DPT_TRACK_CCB_STATES	# Some hardware must have it!
options    	DPT_HANDLE_TIMEOUTS	# Some hardware must have it!
options		DPT_TIMEOUT_FACTOR=4	# Some hardware needs more
options		KTRACE		#kernel tracing some memory bloat
options         SYSVSHM # Support System V shared memory
#---------------------------------------------------------------------
# END

--------------DCD56312ABDD5406390BF7C1--


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?35549792.6985A81D>