Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 May 2000 06:18:47 -0400
From:      "Generic Player" <generic@unitedtamers.com>
To:        "J. Goodleaf" <goodleaf@goodleaf.net>
Cc:        <freebsd-newbies@freebsd.org>
Subject:   Re: The horrors of my first custom kernel (still)
Message-ID:  <002801bfc632$9d2a9020$ec6c4418@x>
References:  <Pine.BSF.4.21.0005241621570.38972-100000@clyde.goodleaf.net>

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

----- Original Message -----
From: "J. Goodleaf" <goodleaf@goodleaf.net>
To: "Generic Player" <generic@unitedtamers.com>
Cc: "Conrad Sabatier" <conrads@home.com>; <freebsd-newbies@FreeBSD.ORG>
Sent: Wednesday, May 24, 2000 7:23 PM
Subject: Re: The horrors of my first custom kernel (still)


> Regarding the NIC issue, did you comment out miibus support? If you did,
> that will definitely cause you grief when trying to compile with the 3Com
> (xl) device.
> -J
>

Yes, that's exactly what it was, thanks.


> On Wed, 24 May 2000, Generic Player wrote:
>
> > Conrad Sabatier wrote:
> >
> > > 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.
> > >
> > >
> >
> > Sorry, I wasn't clear about the sound cards.  I have 2 soundcards laying
around, I
> > was only trying to get either one of them to work, not both at the same
time.
> > Right now I have the AWE64 installed, I added device sbc like you said,
and now
> > I still get no sound.  Everything gives me an error telling me my
soundcard is
> > missing or not configured.  When my system boots up, it lists for my
soundcard the
> > following
> >
> > sbc0: setting card to irq 5, drq 1, 5
> > pcm0: <SB DSP 4.16> on sbc0
> >
> > I am running FreeBSD 4-release by the way.  Thanks again.
> >
> >
> > > > 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
> >
> >
>
>
>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-newbies" in the body of the message
>



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-newbies" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?002801bfc632$9d2a9020$ec6c4418>