From owner-freebsd-current@FreeBSD.ORG Sat Mar 8 23:56:53 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 938881065673 for ; Sat, 8 Mar 2008 23:56:53 +0000 (UTC) (envelope-from lists+freebsd-current@xinu.tv) Received: from fugu.xinu.tv (fugu.slackasses.com [204.11.33.69]) by mx1.freebsd.org (Postfix) with ESMTP id 54B908FC17 for ; Sat, 8 Mar 2008 23:56:53 +0000 (UTC) (envelope-from lists+freebsd-current@xinu.tv) Received: from [192.168.3.3] (c-68-40-200-8.hsd1.mi.comcast.net [68.40.200.8]) by fugu.xinu.tv (Postfix) with ESMTP id 9A2A04A42DF for ; Sat, 8 Mar 2008 18:37:35 -0500 (EST) Message-ID: <47D32343.3070601@xinu.tv> Date: Sat, 08 Mar 2008 18:37:39 -0500 From: Bill User-Agent: Thunderbird 2.0.0.12 (X11/20080227) MIME-Version: 1.0 To: freebsd-current@freebsd.org References: <1194888738.46113.30.camel@buffy.york.ac.uk> In-Reply-To: <1194888738.46113.30.camel@buffy.york.ac.uk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: pkg_add fails with "fatal error during execution: getcwd" X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 Mar 2008 23:56:53 -0000 Gavin Atkinson wrote: > Hi all, > > For the last couple of months, I've seen the following issue on my > -CURRENT laptop: > > rho# pkg_add -r libgtkhtml fast-user-switch-applet deskbar-applet > Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-8-current/Latest/ > libgtkhtml.tbz... Done. > Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-8-current/Latest/ > fast-user-switch-applet.tbz...pkg_add: fatal error during execution: getcwd > rho# > > I've determined that the failing getcwd is the one on line 126 of > src/usr.sbin/pkg_install/lib/pen.c. I've never seen it fail when trying > to install a single package at a time, only multiple. > > Running the pkg_add command again immediately will usually work, or fail > later on a different package. This started after an upgrade from early > April to late September HEAD, but due to various other changes, I was > unable to revert to the April kernel to test. > > I cannot recreate this on any other machine. My laptop is a Core 2 Duo, > however I can recreate the issue with a non-SMP kernel. I've forced an > fsck of all filesystems, with no difference. There's plenty of disk > space left. I've even deleted all packages and cleared out /usr/local > but still see the problem? > > Any suggestions? Can anyone else recreate this? As I first saw this > just before RELENG-7 was branched, I'm concerned that it may also affect > that branch. > > Gavin > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" > > I am seeing the same problem on 7.0-RELEASE, I also noticed that it only seems to be on pkg_add's with multiple packages selected. As "up-enter" gets me past the problem, it's not critical, but I thought I report I saw it too. Mine machine is a dual-core AMD X2, and I'm using ZFS (so I don't think fsck will help). This machine is a fresh install. Just wanted to point out that whatever the problem is, it made it in the 7.0 release. Bill