From owner-freebsd-questions Fri Nov 19 11:56:31 1999 Delivered-To: freebsd-questions@freebsd.org Received: from namodn.com (namodn.com [209.0.100.49]) by hub.freebsd.org (Postfix) with ESMTP id A06DA14BC9 for ; Fri, 19 Nov 1999 11:56:28 -0800 (PST) (envelope-from nick@namodn.com) Received: from namodn.com (namodn.com [209.0.100.49]) by namodn.com (8.9.3/8.8.7) with ESMTP id MAA09673; Fri, 19 Nov 1999 12:02:44 -0800 Date: Fri, 19 Nov 1999 12:02:44 -0800 (PST) From: Nick Jennings To: questions@freebsd.org Cc: robert@namodn.com Subject: Problem setting up SB Awe64 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 Hello, I have a Sound Blaster AWE 64, trying to get it working in FreeBSD, from what I gather in the mailing list archives and in the FreeBSD Handbook, this is what I've done so far: I put the following in my custom kernel: # sound card setup controller snd0 device sb0 at isa? port0x220 irq 5 drq 1 device sbxvi0 at isa? drq 5 device sbmidi0 at isa? port 0x330 device opl0 at isa? port 0x388 device awe0 at isa? port 0x620 --- From a post in the mailing list archive, I was told to do the following: make a file in /boot/ called kernel.conf and in it, put the following: pnp 1 0 os enable irq0 5 drq0 1 drq1 5 port0 0x220 port1 0x330 port2 0x388 pnp 1 1 os disable pnp 1 2 os enable port0 0x620 port1 0xa20 port2 0xe20 pnp 1 3 os disable quit --- After compiling the kernel I then did the following: # cd /dev # sh MAKEDEV snd0 --- And then in the /boot/loader.rc enter the following: load /kernel load -t userconfig_script /boot/kernel.conf autoboot 5 --- when I went to put that in the loader.rc, there was already some entries in there, so I integrated the new lines so the file now looks like this: --- BEGIN FILE --- \ Loader.rc \ \ Includes additional commands include /boot/loader.4th load /kernel load -t userconfig_script /boot/kernel.conf autoboot 5 \ Reads and processes loader.rc start \ Unless set otherwise, autoboot is automatic at this point --- END FILE ---- I only mention that because it does seem to matter in what order things are placed in that file. --- when I rebooted, everything seemed to go ok, this is the output of the the sound related detection: sb0 at 0x220 irq 5 drq 1 on isa snd0: sbxvi0 at drq 5 on isa snd0: sbmidi0 at 0x330 on isa snd0: opl0 at 0x388 on isa snd0: awe0 at 0x620 on isa awe0: Ok, seems fine, but when I go to play something, either with waveplay or mpg123 etc. this is the most common error: Sound: DMA (output) timed out - IRQ/DRQ config error? that error repeats untill I cancel the attempt to play the music. when I tried using xmms this error also came up which might give some sort of clue: cmd xmms pid 296 tried to use non-present sched_getscheduler --- and thats it. Any ideas? Please respond directly to my email address, as I am not subscribed to the mailing list. Thanks in advance for any suggestions! - Nick Jennings - nick@namodn.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message