Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 May 2012 10:58:26 -0300
From:      Mario Lobo <lobo@bsd.com.br>
To:        freebsd-questions@freebsd.org
Subject:   Re: kernel configuration file
Message-ID:  <201205061058.27020.lobo@bsd.com.br>
In-Reply-To: <BLU0-SMTP39994A10F2F938F4E338B0B93120@phx.gbl>
References:  <BLU0-SMTP189BC6B2A2DABA00B00AA393120@phx.gbl> <201205061308.q46D8Vcb065855@mail.r-bonomi.com> <BLU0-SMTP39994A10F2F938F4E338B0B93120@phx.gbl>

next in thread | previous in thread | raw e-mail | index | archive | help
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@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)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201205061058.27020.lobo>