From owner-freebsd-questions@FreeBSD.ORG Wed Jan 7 13:42:27 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0E19D1065670 for ; Wed, 7 Jan 2009 13:42:27 +0000 (UTC) (envelope-from odhiambo@gmail.com) Received: from mail-bw0-f14.google.com (mail-bw0-f14.google.com [209.85.218.14]) by mx1.freebsd.org (Postfix) with ESMTP id 2B5C58FC16 for ; Wed, 7 Jan 2009 13:42:25 +0000 (UTC) (envelope-from odhiambo@gmail.com) Received: by bwz7 with SMTP id 7so256990bwz.19 for ; Wed, 07 Jan 2009 05:42:24 -0800 (PST) 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:references; bh=muly230yZUjQCC+QUguRuOoMw9M9MmcJZ0NSFUiIcUI=; b=JWKubbI9hYq547uG3GUm9kFhVm6TPda61e64BFGGaX2iLWy60OR4qO5GmPe8ZwPuYg WmMv+lnUcxAmdUGYdxkq/S12WkrxDbQ76qo2wOVuWjhZqRN3qyOojiUmFNpQzyXvlneX zqRhe1/L/TFZiWoMQTgXDayfVoqbeFPxE7lL4= 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:references; b=Iyj299DoALjjzFbqzQndByBdTsDhB1Eei9WE4+WHp8NG0hQfoNNjYENHBWIzXSalu7 3fWcdV2nM+kR7nWu9sX10Tjbr8h3ePnH2gVaDQAGpY4eum/ZW7zsVeKKLDZeDoH2M7Xu uRZnYxrL13NLfSjcva/SWd3ivhuqWPSDnJ9IU= Received: by 10.223.105.72 with SMTP id s8mr16371105fao.9.1231335744494; Wed, 07 Jan 2009 05:42:24 -0800 (PST) Received: by 10.223.104.18 with HTTP; Wed, 7 Jan 2009 05:42:24 -0800 (PST) Message-ID: <991123400901070542q7e57d5f3vf5fcf182d10ce66a@mail.gmail.com> Date: Wed, 7 Jan 2009 16:42:24 +0300 From: "Odhiambo Washington" To: "Manolis Kiagias" In-Reply-To: <4964B080.2050104@gmail.com> MIME-Version: 1.0 References: <94136a2c0901070456wc30af83oc20b381af57a5351@mail.gmail.com> <4964A864.7070006@gmail.com> <991123400901070523l286765h1c000dbc1562ca3@mail.gmail.com> <4964B080.2050104@gmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Zbigniew Szalbot , User Questions Subject: Re: 7.0 > 7.1 update problem 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: Wed, 07 Jan 2009 13:42:27 -0000 On Wed, Jan 7, 2009 at 4:39 PM, Manolis Kiagias wrote: > Odhiambo Washington wrote: > > > > > > On Wed, Jan 7, 2009 at 4:04 PM, Manolis Kiagias > > wrote: > > > > Zbigniew Szalbot wrote: > > > Hello, > > > > > > Thanks for FreeBSD. I am trying to update FreeBSD 7.0-RELEASE-p7 > > > (GENERIC) #2 to 7.1-RELEASE. Here are the steps I am performing: > > > > > > 1. freebsd-update -r 7.1-RELEASE upgrade > > > > > > I get: > > > > > > The following components of FreeBSD seem to be installed: > > > kernel/generic src/base src/sys world/base world/dict world/doc > > > world/games world/info world/manpages world/proflibs > > > > > > The following components of FreeBSD do not seem to be installed: > > > src/bin src/cddl src/compat src/contrib src/crypto src/etc > src/games > > > src/gnu src/include src/krb5 src/lib src/libexec src/release > > src/rescue > > > src/sbin src/secure src/share src/tools src/ubin src/usbin > > > world/catpages > > > > > > Does this look reasonable (y/n)? > > > > > > Y > > > > > > Fetching metadata signature for 7.1-RELEASE from > > update1.FreeBSD.org... done. > > > Fetching metadata index... done. > > > Fetching 1 metadata patches. done. > > > Applying metadata patches... done. > > > Fetching 1 metadata files... done. > > > Inspecting system... done. > > > Fetching files from 7.0-RELEASE for merging... done. > > > Preparing to download files... done. > > > Fetching 17792 patches. > > > > > > Then it asks me about files in /etc/ which were modified. I install > > > newer versions and change some entries if needed. Save and exit vi > > > when it is all finished. > > > > > > 2/ cd /usr/src/ > > > 3/ make kernel KERNCONF=GENERIC > > > 4/ shutdown -r now > > > > > > The system is up and geuss what - it is still FreeBSD > 7.0-RELEASE-p7 > > > (GENERIC) #2. > > > > > > I repeated the whole procedure (didn't have to download the 17792 > > > patches though) and restarted once again - but got the same > > effect. A > > > slight hint. I am sure I modified and saved /etc/ssh/sshd_config > > file > > > but its modify date is from 2008. So I am probably doing something > > > wrong there... > > > > > > I put the entries (for example a non-standard ssh port number), > > press > > > Esc, then : and finally wq. > > > > > > Can you help by suggesting where to go from here? Many thanks! > > > > > > > > Hi Zbigniew > > > > During the first run of freebsd-update, the sources for the kernel > are > > not yet installed. > > Please follow the exact procedure described here: > > > > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/updating-upgrading-freebsdupdate.html > > > > (Section 24.2.3 onwards) > > > > This was recently updated to cater for people with custom kernel. > > On the other hand, if you intend to use GENERIC as shown above, you > > don't need to recompile anything. > > > > > > Hello Manolis, > > > > I don't use freebsd-update myself. I still use csup and the long > > procedure, but I have a question on the GENERIC kernel. You say he > > does not need to recompile anything? Does that mean freebsd-update > > pulls in a new GENERIC kernel based on the latest source tree? > > > Yes, freebsd-update will automatically update a GENERIC kernel if it is > installed in /boot/kernel or /boot/GENERIC. It will simply download a > new precompiled GENERIC kernel for the version you are upgrading. > Amen! -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ "Failure is the opportunity to begin again more intelligently." --Henry Ford