kernel configuration file
Mario Lobo
lobo at bsd.com.br
Sun May 6 13:58:10 UTC 2012
On Sunday 06 May 2012 10:34:12 Carmel wrote:
> On Sun, 6 May 2012 08:08:31 -0500 (CDT)
>
> Robert Bonomi articulated:
> >Carmel <carmel_ny at hotmail.com> wrote;
> >
> >> In the "Generic kernel configuration file for FreeBSD/amd64", if I do
> >> not have a floppy drive, is it safe to comment out this entry?
> >>
> >> # Floppy drives
> >> device fdc
> >
> >Definitely, "yes".
> >
> >> Are there any other entries that I could eliminate if I do not have a
> >> floppy drive?
> >>
> > device atapifd
> >
> >obviouly. :)
>
> Thanks, I had not noticed that one.
>
> >> Also, according the the "webcamd" documentation, I need to have this
> >> in the loader.conf file.
> >>
> >> webcamd requires the cuse4bsd(3) kernel module. To load the driver
> >>
> >> as a module at boot time, place the following line in loader.conf(5):
> >> cuse4bsd_load="YES"
> >>
> >> Is there a way that I can simply compile it into the kernel? Would a:
> >>
> >> device cuse4bsd # Required by webcamd
> >>
> >> entry in the kernel file work? I cannot find any documentation on
> >> that.
> >
> >The simplest approach for this is 'try it and find out'.
> >
> >If you use the "traditional" kernel-huild 'Configure/make depend/make'
> >sequence, to rebuild the kernel -only-, its a matter of one minute or
> >so on a _slow_ (486-class) machine.
> >
> >you'll either get a Configure error, a linker error, or it 'just
> >works'.
>
> OK, now you lost me. I use the following basic sequence:
>
> make buildworld
> make buildkernel KERNCONF=CARMEL
> make installkernel KERNCONF=CARMEL
> make installworld
>
> I am sorry, but I am not fully comprehending what commands you want me
> to enter.
Carmel;
You don't need to build the whole world if you only need a kernel rebuild.
just edit your kernel file and issue:
cd /usr/src
make kernel KERNCONF=CARMEL
the 2nd line builds AND installs the new kernel.
--
Mario Lobo
http://www.mallavoodoo.com.br
FreeBSD since 2.2.8 [not Pro-Audio.... YET!!] (99% winblows FREE)
More information about the freebsd-questions
mailing list