From owner-freebsd-questions@FreeBSD.ORG Tue Aug 14 00:52:31 2012 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A9C761065676 for ; Tue, 14 Aug 2012 00:52:31 +0000 (UTC) (envelope-from kudzu@tenebras.com) Received: from mail-wi0-f172.google.com (mail-wi0-f172.google.com [209.85.212.172]) by mx1.freebsd.org (Postfix) with ESMTP id 39EC28FC0C for ; Tue, 14 Aug 2012 00:52:30 +0000 (UTC) Received: by wicr5 with SMTP id r5so2451654wic.13 for ; Mon, 13 Aug 2012 17:52:29 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:x-gm-message-state; bh=mSAdYcLMOhmMeAgiXKzbyWDoMasRyldFdQ4yCVYI//Q=; b=GSGH3XM8NE0/F/w8/Rs4QKGcTobAOWu2qyjQomeK1bTtcT1b4qCr/mTCsD7Ifj7eiO Xq0LW4McF+Q7CT8FkrX8HZnFs+x/ztHZW7Asow1dHZ1OlRPJNebZuiLrR9mn2eQO1ENq sTWJcApQRqqTGBSEfh3Opo98Sed+WgPf0prmeaKG+dSIXMOjuJUD88gyr2Jjrfxv5hKl PTR3WJtnhfolZYv14xEOq1bDwrRRdOKKNea62TO/0rsp1adpqWA1tj89lbdrdKgmLDzB e5awEbekjR9d4sS3HIn6A7HB7tIev+bNcZXqi/uw4QhPl1bYVJG9L/Qs/uwtdgTWUdJv o34Q== MIME-Version: 1.0 Received: by 10.216.85.149 with SMTP id u21mr6941206wee.147.1344905549633; Mon, 13 Aug 2012 17:52:29 -0700 (PDT) Received: by 10.223.160.9 with HTTP; Mon, 13 Aug 2012 17:52:29 -0700 (PDT) In-Reply-To: <201208132007.OAA18078@lariat.net> References: <201208130250.UAA08187@lariat.net> <20120813132405.8f912cab.freebsd@edvax.de> <201208131635.KAA15079@lariat.net> <201208132007.OAA18078@lariat.net> Date: Mon, 13 Aug 2012 17:52:29 -0700 Message-ID: From: Michael Sierchio To: questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Gm-Message-State: ALoCoQmA29FKuQBT1OQtuv7S+zSSe4mW+P0aRoVSioIaxIEt9DJkaoG2bnepzlvmaxATC1BJmaMZ Cc: Subject: Re: How to keep freebsd-update from trashing custom kernel? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Aug 2012 00:52:31 -0000 On Mon, Aug 13, 2012 at 1:07 PM, Brett Glass wrote: > At 11:33 AM 8/13/2012, Michael Sierchio wrote: > >> And it does, in my experience. If the hash of the kernel doesn't >> match that of the distribution (or recent update), freebsd-update >> leaves it alone. > > > That is what I thought it would do, based on the docs. However, when I > recently ran freebsd-update on a FreeBSD 9.0 machine with a module-less > custom kernel at /boot/kernel/kernel, it fetched a GENERIC kernel and > overwrote the custom kernel with it. Interestingly, it didn't bring in any > modules; it just overwrote the one file. I am skeptical, since this is counter to design and experience. I'm not saying it isn't possible, but so far it's not reproducible. When you say you updated a FreeBSD 9.0 machine, was it... 9.0-RELEASE? 9.0-RELEASE-pX ? i386? amd64? - M