From owner-freebsd-questions@FreeBSD.ORG Mon Jul 13 22:05:41 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 3D5A81065675 for ; Mon, 13 Jul 2009 22:05:41 +0000 (UTC) (envelope-from joseph.bashe@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.234]) by mx1.freebsd.org (Postfix) with ESMTP id 12B988FC0C for ; Mon, 13 Jul 2009 22:05:40 +0000 (UTC) (envelope-from joseph.bashe@gmail.com) Received: by rv-out-0506.google.com with SMTP id f9so775224rvb.43 for ; Mon, 13 Jul 2009 15:05:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=tfgHVmP6QuOkfClCnKUUkiBO4jcPtxBxjv7k03CPnjg=; b=FSQQ0X09kOwFSc4KBTQKU20kuO5ODGub/CrZXDxwPk9gbtSXsT6+2ABjndWztTwh1k WoMdi4Ycc9/w6ml3+YTagS963lN/mPezIHrPPdnc9XlhfSS8VXzee7zHS3yNGdz+hKui atBK+KJ+q3AlsTKjcQMYQMK2A2P9iC+fGIyBY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=GISBUj5sOWUDL+WcBudvwAZCvAWY6qH7w0T+w0t7fs7noUhtVbpvK3mtQ4C3As60AH WU5qgrS+3uoxQPVgYsLPeUVxQYu7hYcOFtcqdXovDkflfGS9XbKywDTNGnewK87UBJB+ xuk2x3fRSW9T2gOxz+W7LjQCD9LNmYMxYKl64= MIME-Version: 1.0 Received: by 10.140.208.15 with SMTP id f15mr2959545rvg.164.1247521231770; Mon, 13 Jul 2009 14:40:31 -0700 (PDT) Date: Mon, 13 Jul 2009 14:40:31 -0700 Message-ID: <6028f3630907131440i6b9993c8uae9251346e610ef3@mail.gmail.com> From: Joseph Bashe To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Problem with make buildworld during upgrade from 7.0-RELEASE to 7.2-RELEASE 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: Mon, 13 Jul 2009 22:05:41 -0000 Hello, I am going thru my first FreeBSD upgrade and it's not going too smoothly. I originally started the upgrade using the "freebsd-update" method. This is what I've done so far (all as root user): PS. I am using a custom kernel. 1. ran "portsnap fetch update" - [success] 2. ran "portupgrade -va" ["portupgrade"not found - i hadn't installed it yet" 3. ran "freebsd-update fetch" [success] (i know this was out of sequence from the guide) 4. installed portupgrade ("make install clean" from the dir in ports) [ssh connection dropped, so i had to login again] 5. installed portupgrade ("make install") [success] then "make clean" [success] 6. ran "portupgrade -va" [long process begins... strangely, several X components install although this is not desired] 7. ran "freebsd-update fetch" again [success] 8. ran "freebsd-update upgrade -r 7.2-RELEASE" [ssh connection dies during "preparing to download files", so i log in again] 9. ran "freebsd-update upgrade -r 7.2-RELEASE" [~27,000 updates..] and of course ssh connection dies during "Fetching 3060 files" although "applying patches" succeeds. A note: these disconnects are not at all common during a normal ssh connection to this computer, it seems due to the resource-intense operations required for updating freebsd. 10. log back in, ran "freebsd-update upgrade -r 7.2-RELEASE" [..success] 11. ran "freebsd-update install" [and of course ssh dies during "Installing updates..."] 12. log back in, ran "freebsd-update install". 13. Then i ran nextboot -k GENERIC and got "/boot/GENERIC doesn't exist". so, i copied kernel.old to /boot/GENERIC 14. Ok, maybe this was the problem. for some reason at this point i decide to run "freebsd-update install" again, and get "no updates are available". 15. Then I run "freebsd-update -r 7.2-RELEASE upgrade" again.. it downloads some patches, but then i get this error: "/usr/sbin/freebsd-update: cannot open files/.gz: No such file or directory" about 100 times.. plus, i get questions like "The following file will be removed, as it no longer exists in FreeBSD 7.2-RELEASE: /boot/device.hints Does this look reasonable (y/n)?" which doesn't look very good. 16. so, i issued a shutdown -r now command and crossed my fingers.. the system is still up, but it hasn't been upgraded (uname still reports 7.0-p11 for booting form the GENERIC kernel, and 7.0-p9 for the custom kernel). on top, make buildworld fails with: "Stop in /usr/src/secure/lib/libssh. *** Error code 1 " every time. and worse, any csup command dies with "/libexec/ld-elf.so.1: /lib/libc.so.7: version FBSD_1.1 required by /lib/libthr.so.3 not found" along with a lot of other commands... any ideas?? Just want to note that I log every keystroke on my servers so just let me know any specifics would help you in diagnosing the problem. Many thanks! -- Joe Bashe