From owner-freebsd-newbies Wed May 24 4:42:27 2000 Delivered-To: freebsd-newbies@freebsd.org Received: from cx344940-a.meta1.la.home.com (cx344940-a.meta1.la.home.com [24.6.21.74]) by hub.freebsd.org (Postfix) with ESMTP id 7254D37BC97 for ; Wed, 24 May 2000 04:42:24 -0700 (PDT) (envelope-from conrads@cx344940-a.meta1.la.home.com) Received: (from conrads@localhost) by cx344940-a.meta1.la.home.com (8.9.3/8.9.3) id GAA42892; Wed, 24 May 2000 06:42:21 -0500 (CDT) (envelope-from conrads) Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <392BA517.6252B36@unitedtamers.com> Date: Wed, 24 May 2000 06:42:21 -0500 (CDT) Organization: @Home Network From: Conrad Sabatier To: Generic Player Subject: RE: The horrors of my first custom kernel Cc: freebsd-newbies@FreeBSD.ORG Sender: owner-freebsd-newbies@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On 24-May-00 Generic Player wrote: > Where to begin. I wanted to compile a custom kernel to get sound > support and set up a firewall so I could run natd to share my internet > connection. I failed miserably on both counts. I have an AWE64 and a > sound image, which is based on the AD1816 chipset from Analog Devices. > Both are ISA PnP. I added the line device pcm to my kernel, and ran sh > MAKEDEV snd0. Now when I boot up instead of it finding my sound card > and allocating it resources as UNKNOWN, it makes it snd0, which would > appear to be right. However, I can't get any sound. xmms will give me > scratchy staticy noises if I try to play an MP3, but that's about it. I > tried both the soundcards and got the same results regardless of which > one I had installed. Any ideas? Well, for one thing, for the AWE64 you also need the line: device sbc Then, since you have two sound devices in your machine, you also need to do a "MAKEDEV snd1", otherwise bothdevices will be competing for the same resources. > Now, for the firewall thing, I commented out the NICs I don't have, and > just left ed0 and xl, because on boot up with the GENERIC kernel it > lists my NICs as ed0 and xl0. Problem is, it gives me an error that it > can't find the directory if I don't comment out xl. So, if I use my > custom kernel, I only have one NIC, which isn't ideal for forwarding > packets :) Also, it lists ed0 as being an ISA card, but both my NICs > are PCI, should that matter? If both cards are PCI, then you're enabling the wrong entries. Look under the PCI network interfaces section instead. -- Conrad Sabatier http://members.home.net/conrads/ ICQ# 1147270 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-newbies" in the body of the message