trouble with kernel

Jud judmarc at fastmail.fm
Mon Sep 15 02:56:22 PDT 2003


On Mon, 15 Sep 2003 00:27:28 -0500, Rob <polkrl at 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 at freebsd.org
> [mailto:owner-freebsd-questions at freebsd.org] On Behalf Of Charlie
> Sent: Sunday, September 14, 2003 11:51 PM
> To: freebsd-questions at 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


More information about the freebsd-questions mailing list