Fatal error 'Cannot allocate red zone for initial thread' at line 382 in file /usr/src/lib/libthr/thread/thr_init.c (errno = 12)

David Benfell benfell at parts-unknown.org
Tue Nov 6 13:50:30 PST 2007

On Tue, 06 Nov 2007 13:35:43 -0800, Doug Barton wrote:
> 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
Thanks Doug.

I've interrupted the other attempt and will initiate this as soon as I get
out of a class I have to teach.

David Benfell, LCP
benfell at parts-unknown.org
Resume available at http://www.parts-unknown.org/
NOTE: I sign all messages with GnuPG (0DD1D1E3).
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20071106/e5174d38/attachment-0001.pgp

More information about the freebsd-current mailing list