From owner-freebsd-questions Sat Sep 11 23: 4:20 1999 Delivered-To: freebsd-questions@freebsd.org Received: from sol.cc.u-szeged.hu (sol.cc.u-szeged.hu [160.114.8.24]) by hub.freebsd.org (Postfix) with ESMTP id 20D9414BC3 for ; Sat, 11 Sep 1999 23:04:03 -0700 (PDT) (envelope-from sziszi@petra.hos.u-szeged.hu) Received: from petra.hos.u-szeged.hu by sol.cc.u-szeged.hu (8.9.1b+Sun/SMI-SVR4) id IAA00811; Sun, 12 Sep 1999 08:04:16 +0200 (MET DST) Received: from sziszi by petra.hos.u-szeged.hu with local-smtp (Exim 2.05 #1 (Debian)) id 11Q2lB-0002cV-00; Sun, 12 Sep 1999 08:05:09 +0200 Date: Sun, 12 Sep 1999 08:05:09 +0200 (CEST) From: Adam Szilveszter To: Marco Wertejuk Cc: freebsd-questions@freebsd.org Subject: Re: Kernel problems In-Reply-To: <000e01befcac$e23a5240$31919582@osiris> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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