Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Jul 2008 09:58:30 -0400
From:      "Ben Kaduk" <minimarmot@gmail.com>
To:        norwoh@comcast.net
Cc:        FreeBSD Stable <freebsd-stable@freebsd.org>, Jo Rhett <hostmaster@netconsonance.com>
Subject:   Re: how to get more logging from GEOM?
Message-ID:  <47d0403c0807170658u35278859g761caac1ae8caebb@mail.gmail.com>
In-Reply-To: <071720081111.19253.487F28D00006459500004B3522155934140801999D0102@comcast.net>
References:  <071720081111.19253.487F28D00006459500004B3522155934140801999D0102@comcast.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Jul 17, 2008 at 7:11 AM,  <norwoh@comcast.net> wrote:
>
>  -------------- Original message ----------------------
> From: "Ben Kaduk" <minimarmot@gmail.com>
>>
>> You don't need to compile the kernel on the same machine that you use it
>> on -- you can copy the compiled kernel into /boot/kernel.new
>>
> But how do you handle the issue of differences in contents on the board where you don't have exact identical hardwares?
>

The kernel configuration file specifies which device drivers will be
included in the compiled kernel; if those devices aren't present in
the system, the relevant code is present but doesn't get used.  For
example, the GENERIC kernel has the majority of device drivers
included, so that most devices will be recognized out-of-the-box.

A more difficult problem to solve is when you want to compile a kernel
for a different architecture; say, to compile a kernel for x86 on an
amd64 build machine.  This can still be done, but it requires a fair
amount more work.

-Ben Kaduk



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