From owner-freebsd-questions@FreeBSD.ORG Wed Apr 9 18:03:10 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id CF847F03 for ; Wed, 9 Apr 2014 18:03:10 +0000 (UTC) Received: from mail-vc0-x236.google.com (mail-vc0-x236.google.com [IPv6:2607:f8b0:400c:c03::236]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8C1DF19E6 for ; Wed, 9 Apr 2014 18:03:10 +0000 (UTC) Received: by mail-vc0-f182.google.com with SMTP id ib6so2487375vcb.27 for ; Wed, 09 Apr 2014 11:03:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=Q4ZibC+WhxytWxIPI+j5qy/ViNI+c30qEMXMBAqqZaU=; b=aGV8al4wsuDLORKN0BJRdZuZftYyc+rCpbnpHpeCVnEd1sDc2OyxEoouhUPDvM0GJk 9++4fC/lk4D6n+HyG757WHgoi8HtOc5SPJaRAVP+Qsmbh/yKhXTbqoj3SM+MMyJPZAXj T3oq19XN5iS/v5xVl5pGjnMwgF21raGlJ+kRt6xpw0tt7EJFiGTLHB54/m6vR2LAdQ9T CnH8wGuDCqHnmtqbOZgZ+ODXeDgaBRM2toYo5gAGA22QWw4l7gdD8Vv/ipxGspSnf4ST 8mdamIqKP8BmgfGNLC819q3vx6LwnHvj323fwBkrDsPBBfTG1gmeToG0Kw/qxt8yibAJ k9RQ== MIME-Version: 1.0 X-Received: by 10.221.27.8 with SMTP id ro8mr1683628vcb.30.1397066589701; Wed, 09 Apr 2014 11:03:09 -0700 (PDT) Received: by 10.220.239.84 with HTTP; Wed, 9 Apr 2014 11:03:09 -0700 (PDT) In-Reply-To: References: Date: Wed, 9 Apr 2014 14:03:09 -0400 Message-ID: Subject: Re: Issue with upgrade (9.1 to 9.2) From: Thomas Hoffmann To: FreeBSD Questions Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.17 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Apr 2014 18:03:10 -0000 On Wed, Apr 9, 2014 at 12:16 PM, Andre Goree wrote: > Anyone have any insight on this? Is there any way to salvage this or > am I just SoL and need to reinstall? > > On Tue, Apr 8, 2014 at 10:51 PM, Andre Goree > wrote: > > It would seem I've screwed something up with my upgrade. Soon after > > performing the upgrade via freebsd-update followed by a reboot, I > > tried to go into single-user mode to finish up. After doing so, > > everytime I attempted to use my /usr partition, I would run into the > > error: > > > > /var: got error 11 while accessing filesystem > > > > I [thought] I fixed this by following this[1] mailing list post, which > > suggested upping 'kern.bio_transient_maxcnt'. I set that tunable to > > 10 and rebooted, at which point the server appeared to boot fine. I > > think continued with 'freebsd-update install', however apparently it > > was interrupted -- probably with a kernel panic as my system > > automatically rebooted and was thrown to single-user mode. Now, the > > issue is that in single-user mode, I cannot access any shell, I get > > the following error: > > > > ELF interpreter /libexec/ld-elf.so.1 not found > > > > I recall running into this on a different box a year or two back...I > > think I had to somehow run ldconfig, but in this case I cannot as even > > when I boot with a live cd and mount my partitions, when I try to > > chroot I run into that same error. Help? > Can you access the rescue shell at /rescue/sh? /rescue contains statically linked commands for just such a contingency as this. If that works, maybe you can then copy ld-elf.so.1 from ./libexec from the live CD to your base system (/libexec) to get past this issue? -Tom