Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Sep 2003 05:56:14 -0400
From:      Jud <judmarc@fastmail.fm>
To:        Rob <polkrl@bellsouth.net>, liuyang99@earthlink.net, freebsd-questions@freebsd.org
Subject:   Re: trouble with kernel
Message-ID:  <oprvjcj0qr0cf2rk@mail.messagingengine.com>
In-Reply-To: <000001c37b4a$10f45430$6401a8c0@DELL>
References:  <000001c37b4a$10f45430$6401a8c0@DELL>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
On Mon, 15 Sep 2003 00:27:28 -0500, Rob <polkrl@bellsouth.net> wrote:

> cd /usr/src/sys/i386/conf && ee GENERIC
> now just add the device like so
> device	pcm
> then Esc and save
> then cd /usr/src/ && make buildkernel KERNCONF=GENERIC
>
> after its done building:
> make installkernel KERNCONF=GENERIC
>
> now shutdown -r now
>
> Hope this helps
> Rob
>
> -----Original Message-----
> From: owner-freebsd-questions@freebsd.org
> [mailto:owner-freebsd-questions@freebsd.org] On Behalf Of Charlie
> Sent: Sunday, September 14, 2003 11:51 PM
> To: freebsd-questions@freebsd.org
> Subject: trouble with kernel
>
> if i am trying to add my sound card device, and add the line device pcm
> into
> kernel do i have to recompile it to make it work and if so how do i
> recompile?

Rather than editing GENERIC, you may want to copy GENERIC and rename the 
copy (KERN[DATE] or KERNEL[DATE] are possibilities; I'm sure you can think 
of more), then edit, build and install the renamed version.  Though 
problems are very unlikely to occur just from adding "device pcm," if at 
some point in the future an edited kernel doesn't build or install 
correctly, you then have the unchanged GENERIC to fall back on.

Jud



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?oprvjcj0qr0cf2rk>