From owner-freebsd-current@FreeBSD.ORG Tue Nov 6 21:35:51 2007 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E493316A419 for ; Tue, 6 Nov 2007 21:35:51 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mx21.fluidhosting.com [204.14.89.4]) by mx1.freebsd.org (Postfix) with SMTP id 8DA7F13C4A3 for ; Tue, 6 Nov 2007 21:35:51 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: (qmail 16839 invoked by uid 399); 6 Nov 2007 21:35:50 -0000 Received: from localhost (HELO lap.dougb.net) (dougb@dougbarton.us@127.0.0.1) by localhost with ESMTP; 6 Nov 2007 21:35:50 -0000 X-Originating-IP: 127.0.0.1 Date: Tue, 6 Nov 2007 13:35:43 -0800 (PST) From: Doug Barton To: David Benfell In-Reply-To: <20071106212123.GA98560@parts-unknown.org> Message-ID: References: <20071105191548.GA50463@parts-unknown.org> <472F9A2A.8000205@FreeBSD.org> <20071106212123.GA98560@parts-unknown.org> X-message-flag: Outlook -- Not just for spreading viruses anymore! X-OpenPGP-Key-ID: 0xD5B2F0FB Organization: http://www.FreeBSD.org/ MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII Cc: current@freebsd.org Subject: Re: Fatal error 'Cannot allocate red zone for initial thread' at line 382 in file /usr/src/lib/libthr/thread/thr_init.c (errno = 12) 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: Tue, 06 Nov 2007 21:35:52 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: RIPEMD160 On Tue, 6 Nov 2007, David Benfell wrote: > On Mon, 05 Nov 2007 23:33:14 +0100, Kris Kennaway wrote: >> >> portupgrade -fa >> > Tried that. Several times. And the portmaster and portmanager > equivalents. It looks like I would have to manually rebuild each of > over 1000 ports I have installed to restore functionality. Sorry I missed the beginning of this thread, but it sounds to me like you're trying to upgrade ports after a FreeBSD major version upgrade? If so, the only safe way to do that is to delete all your existing ports, and start over from scratch. The procedure I use is: 1. portmaster -l > ~/portmaster-list 2. pkg_delete -f * (repeat as necessary) 3. find /usr/local/ -type f This should produce very little output, except in etc. Clean up as needed. 4. Install portmaster :) 5. Look at the list generated in 1, and first install all the root ports, then install all the leaves. Portmaster will handle the dependencies. Given that you seem to be having problems with stale distfiles as well you might want to insert a step 4.5 of 'rm -rf /usr/ports/distfiles/*' but I'd only do that as a last resort. hth, Doug - -- This .signature sanitized for your protection -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.7 (FreeBSD) iD8DBQFHMN4zyIakK9Wy8PsRA6Q2AKDsGcF0ETdKwQPeYSGPPQ/szlnEqACeJHC+ xR+BFIwCQvominhEocAq+JI= =l3w3 -----END PGP SIGNATURE-----