From owner-freebsd-questions@FreeBSD.ORG Wed Jan 7 13:39:17 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 315921065670 for ; Wed, 7 Jan 2009 13:39:17 +0000 (UTC) (envelope-from sonic2000gr@gmail.com) Received: from mail-ew0-f21.google.com (mail-ew0-f21.google.com [209.85.219.21]) by mx1.freebsd.org (Postfix) with ESMTP id 8FE7A8FC1B for ; Wed, 7 Jan 2009 13:39:16 +0000 (UTC) (envelope-from sonic2000gr@gmail.com) Received: by ewy14 with SMTP id 14so10061253ewy.19 for ; Wed, 07 Jan 2009 05:39:15 -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 :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=p43jSDhe2ff6/5QHE3JkP/DSlkEklm9OMxR66r4MJTc=; b=w9edc53ZTRg0MABT57WPEJ5L4KYajcbCX8Gzww1fbQeQu669OJc1XgT2IkYbrs1jU0 qF1uHNzOtQ6WPg2zS8SY/CD6/l61MNqZEBELRWI2HDwuihyrsCis/kPO2jHXEYhkM8I6 tkNeO27oThGJ0jlJBFPmxmd/fxpCcFSDm/dls= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=WohfnGOLHUbCa4KYPaa/ujMpGVSgVYTcgwra5SJzxVTh/QvQxRUkKQd/DBq5FBDWK0 UnN5cHS46Mx3HwHNLAgkSvJ1RmnGF22MQZe4aJ4WBOI8+svr5T+EOttFqr5G2PqE8AM9 cjtGVmV6OPC3vkTOQUL3M61QGdyMgfoBxjmAQ= Received: by 10.210.34.5 with SMTP id h5mr27240405ebh.161.1231335555271; Wed, 07 Jan 2009 05:39:15 -0800 (PST) Received: from atlantis.dyndns.org (athedsl-4365613.home.otenet.gr [79.130.13.29]) by mx.google.com with ESMTPS id f3sm42557082nfh.34.2009.01.07.05.39.14 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 07 Jan 2009 05:39:14 -0800 (PST) Message-ID: <4964B080.2050104@gmail.com> Date: Wed, 07 Jan 2009 15:39:12 +0200 From: Manolis Kiagias User-Agent: Thunderbird 2.0.0.17 (X11/20081011) MIME-Version: 1.0 To: Odhiambo Washington References: <94136a2c0901070456wc30af83oc20b381af57a5351@mail.gmail.com> <4964A864.7070006@gmail.com> <991123400901070523l286765h1c000dbc1562ca3@mail.gmail.com> In-Reply-To: <991123400901070523l286765h1c000dbc1562ca3@mail.gmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit 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:39:17 -0000 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.