From owner-freebsd-stable@FreeBSD.ORG Thu Jul 17 13:58:31 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EB0A31065678 for ; Thu, 17 Jul 2008 13:58:31 +0000 (UTC) (envelope-from minimarmot@gmail.com) Received: from qw-out-2122.google.com (qw-out-2122.google.com [74.125.92.27]) by mx1.freebsd.org (Postfix) with ESMTP id A56CD8FC14 for ; Thu, 17 Jul 2008 13:58:31 +0000 (UTC) (envelope-from minimarmot@gmail.com) Received: by qw-out-2122.google.com with SMTP id 9so454395qwb.7 for ; Thu, 17 Jul 2008 06:58:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=w/JqD+q/8SSwfRNCDWoXsab4wOuusulPD/Cy8uW+VBg=; b=fEg8WGWPcHbxJ9ApPngBylR1XuvimTFt3saE/CxQQvVqGC6lXUJL5UAbMn6gg6zmTj 7hdXad8a9zLCFOAamKnPnPcuRadN+ZTEk74jy4scY7zuEb0slH9wZ2B4uszik06NYIxV QJO7FZ/IQ83DVmdtoXP9XEmDv3IriU7HvS4mw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=laGBJ2YgbEj4yOaJRt5D2ErzFQR5VFZXfXd/+0Cj7+sjgIx9kem2CQMrPgRi8Fi8NE m5uKBxWGdhlLCoXVb/riuMiU+GDvFhnGUnizZan5jjqQrQmtBRA2Q9LQKYFoMGzKVec9 GkdXNc5sbinoTwiQ595IhzvI8I9w2p/SHXqCE= Received: by 10.150.205.13 with SMTP id c13mr467827ybg.183.1216303110720; Thu, 17 Jul 2008 06:58:30 -0700 (PDT) Received: by 10.151.67.4 with HTTP; Thu, 17 Jul 2008 06:58:30 -0700 (PDT) Message-ID: <47d0403c0807170658u35278859g761caac1ae8caebb@mail.gmail.com> Date: Thu, 17 Jul 2008 09:58:30 -0400 From: "Ben Kaduk" To: norwoh@comcast.net In-Reply-To: <071720081111.19253.487F28D00006459500004B3522155934140801999D0102@comcast.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <071720081111.19253.487F28D00006459500004B3522155934140801999D0102@comcast.net> Cc: FreeBSD Stable , Jo Rhett Subject: Re: how to get more logging from GEOM? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Jul 2008 13:58:32 -0000 On Thu, Jul 17, 2008 at 7:11 AM, wrote: > > -------------- Original message ---------------------- > From: "Ben Kaduk" >> >> 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