From owner-freebsd-questions@FreeBSD.ORG Mon Oct 1 11:20:42 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4B6D71065687 for ; Mon, 1 Oct 2012 11:20:42 +0000 (UTC) (envelope-from freebsd@qeng-ho.org) Received: from blue.qeng-ho.org (blue.qeng-ho.org [217.155.128.241]) by mx1.freebsd.org (Postfix) with ESMTP id CB8A58FC1D for ; Mon, 1 Oct 2012 11:20:41 +0000 (UTC) Received: from fileserver.home.qeng-ho.org (localhost [127.0.0.1]) by fileserver.home.qeng-ho.org (8.14.5/8.14.5) with ESMTP id q91B7ABs011453; Mon, 1 Oct 2012 12:07:10 +0100 (BST) (envelope-from freebsd@qeng-ho.org) Message-ID: <5069795E.7040805@qeng-ho.org> Date: Mon, 01 Oct 2012 12:07:10 +0100 From: Arthur Chance User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:15.0) Gecko/20120915 Thunderbird/15.0.1 MIME-Version: 1.0 To: Rod Person References: <20121001200829.2c8afade@atomizer64> <20121001080254.46572b2e.freebsd@edvax.de> <20121002062045.020b8237@atomizer64> In-Reply-To: <20121002062045.020b8237@atomizer64> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: "freebsd-questions@freebsd.org" Subject: Re: Port update hosed entire system 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, 01 Oct 2012 11:20:42 -0000 On 10/02/12 11:20, Rod Person wrote: > On Mon, 1 Oct 2012 08:02:54 +0200 > Polytropon wrote: > >> On Mon, 1 Oct 2012 20:08:29 -0400, Rod Person wrote: >>> Hi All, >>> >>> I was attempting to update ports that used libogg with the command >>> >>> portmaster -d -y -r libogg >>> >>> I went away and came back some hours later and some updates had >>> failed. Now my shell segfaults on any command such as ls, clear or >>> su I tried to login on another console as root and after giving the >>> password it just goes back to login. I am at a loss as to what to >>> do to fix this one. >> >> That sounds like a really weird problem. FreeBSD and the >> ports (which portmaster deals with) are separated systems, >> so even if you totally hose your ports, the OS should not >> be affected. > > I'm well aware of this, and is also why I no clue what could have > happened. It would never have occured to me that updating a port that > has to do with audio and video containers would totally leave me unable > to login into my system or issue and shell commands without getting > a segmentation fault. > > I did discover that my / file system had run out of space -131MB. > > I'm still able to issue sudo, so using sudo rm -r I was able to free up > 25GB...but still, /bin/sh, ls, clear all seg fault and su doesn't work > and switching consoles doesn't let me log in. > > I maybe be left with attempting a single user boot, but I'm still not > that comfortable at attempting such as I don't want to have a totally > useless box. Have you tried /rescue/sh? If that fails as well I'd start worrying about hardware problems.