Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Sep 1999 08:05:09 +0200 (CEST)
From:      Adam Szilveszter <sziszi@petra.hos.u-szeged.hu>
To:        Marco Wertejuk <nephrose@gmx.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Kernel problems
Message-ID:  <Pine.LNX.3.96.990912075254.9840B-100000@petra.hos.u-szeged.hu>
In-Reply-To: <000e01befcac$e23a5240$31919582@osiris>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi!

On Sun, 12 Sep 1999, Marco Wertejuk wrote:

> Hi,
> 
> I''ve tried to add Soundblaster support to the FreeBSD 3.2 Kernel,
> but I got an error message as follows:
> 
> loading kernel
> soundcard.o: In function `sndpoll':
> soundcard.o(.text+0x2f7): undefined reference to `MIDIbuf_poll'
> sound_switch.o In function `sound_read_sw':
> sound_switch.o(.text+0x52d): undefined reference to `MIDIbuf_read'
> sound_switch.o In function `sound_write_sw':
> sound_switch.o(.text+0x5ad): undefined reference to `MIDIbuf_write'
> sound_switch.o In function `sound_open_sw':
> sound_switch.o(.text+0x68f): undefined reference to `MIDIbuf_open'
> sound_switch.o In function `sound_release_sw':
> sound_switch.o(.text+0x72b): undefined reference to `MIDIbuf_release'
> sound_switch.o In function `sound_ioctl_sw':
> sound_switch.o(.text+0x835): undefined reference to `MIDIbuf_ioctl'
> *** Error code 1
> 
> Stop.
> 
> 
> I just added following 4 lines:
> 
> controller    snd0
> device    sbxvi0 at isa? drq 5
> device    sbmidi0 at isa? port 0x330
> device    pca0 at isa? port "IO_TIMER1" tty    ##Just for testing purposes
Hmmm. I'm just figuring. I have an SB64AWE  running on a 3.2-STABLE
box without problems...what's more it sounds cool... so let me see... 

I suspect you are missing a line which should read:

device sb0 at isa? port 0x220 irq 5 drq 1 vector sbintr

It is not easy to figure out that you need both lines (sb0 and sbxvi0) but
this is the case here ...once you get used to it you will not forget it
any
more.

Also there should be a "device opl0 at isa? port 0x338" because the card
has this feature.
> 
> 
> What might be wrong ?
> I'm using an original Creative Labs SoundBlaster 16 Plug & Play.
> 
> Hopefully,
>     Marco
I hope this helps.

Greetings!

Szilveszter Adam
JATE University
Szeged Hungary 



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?Pine.LNX.3.96.990912075254.9840B-100000>