*BSD News Article 91274


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.mel.connect.com.au!news.syd.connect.com.au!phaedrus.kralizec.net.au!news.mel.aone.net.au!grumpy.fl.net.au!news.webspan.net!ix.netcom.com!news.maxwell.syr.edu!news.mathworks.com!howland.erols.net!sol.ctr.columbia.edu!news.ess.harris.com!usenet
From: Gregory James Cusick <gcusick@harris.com>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: kernel help needed!
Date: Mon, 17 Mar 1997 21:55:14 -0500
Organization: Harris Corporation
Lines: 61
Message-ID: <332E0412.32AC@harris.com>
NNTP-Posting-Host: titan.hisd.harris.com
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 3.01Gold (X11; I; SunOS 5.5 sun4m)
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:37208

I attempted to add support for my sb16 tonight and had some trouble.
I'm running 2.1.7.  After editing the GENERIC kernel to meet my needs,
I attempted to do the make.

The handbook says to:
1) /usr/sbin/config MYKERNEL
2) cd ../../compile/MYKERNEL
3) make depend
4) make
5) make install

but The Complete FreeBSD just says to
1) /usr/sbin/config MYKERNEL
2) cd ../../compile/MYKERNEL
3) make
4) make install

What's the difference?

Anyway, I did it the handbook way, but when I did step 4): make
I got the following errors:

cc ... -c vers.c
loading kernel
soundcard.o: Undefined symbol '_MIDIbuf_select' referenced from text
segment
soundcard.o: Undefined symbol '_MIDIbuf_init' referenced from text
segment
soundswitch.o: Undefined symbol '_MIDIbuf_read' referenced from text
segment
soundswitch.o: Undefined symbol '_MIDIbuf_write' referenced from text
segment
soundswitch.o: Undefined symbol '_MIDIbuf_open' referenced from text
segment
soundswitch.o: Undefined symbol '_MIDIbuf_release' referenced from text
segment
soundswitch.o: Undefined symbol '_MIDIbuf_ioctl' referenced from text
segment

In my new kernel I put at the very end:

controller snd0
device sbxvi0 at isa? drq 5
device sbmidi0 at isa? port 0x330

Does anyone know what is wrong?

Also, can anyone explain why the line:

device joy0 at isa? port ``IO_GAME''

produced an error when running config when it was the last line in the
file (immediately followed the sound section above but DID NOT produce a
config error when I moved it up above the soundcard section?

I greatly appreciate any help that can be offered.  I would really like
to get this working as soon as possible.

Thanks,

Greg