Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Aug 2015 14:08:04 +0200
From:      "Andre Meiser" <ortadur@web.de>
To:        freebsd-stable@freebsd.org
Subject:   Re: Many core dumps in pthread_getspecific.
Message-ID:  <trinity-4c7d55d5-dd1f-4f24-85d4-a05dff012c0e-1438603684866@3capp-webde-bs15>
In-Reply-To: <CAJ-VmomBKUzZ_wF37EG5VTUXU601-eFSVQzrWyaU2vkT8u%2BRWA@mail.gmail.com>
References:  <20150603145838.GX2499@kib.kiev.ua> <trinity-15fcacbd-871c-4ea8-9257-5d11e7862ec0-1434103396559@3capp-webde-bs41> <20150614190504.GT2080@kib.kiev.ua> <trinity-e44527ae-e511-4ff3-bcdf-ee8426fc8a94-1434438565708@3capp-webde-bs53> <20150616073637.GO2080@kib.kiev.ua> <trinity-9d219acd-7aa9-4574-a9ad-458b52374069-1435936910016@3capp-webde-bs27> <20150703211111.GZ2080@kib.kiev.ua> <trinity-54f5f349-442e-4777-b35b-866867b763dc-1436977933500@3capp-webde-bs41> <20150719205722.GT2404@kib.kiev.ua> <trinity-a61eab47-c174-48a6-9991-1ffac1069609-1437558395543@3capp-webde-bs25> <20150722102055.GA2072@kib.kiev.ua> <trinity-9a9b5735-93e5-4593-95ee-73e09bf46daf-1437998577258@3capp-webde-bs52>,  <CAJ-VmomBKUzZ_wF37EG5VTUXU601-eFSVQzrWyaU2vkT8u%2BRWA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

On 27 July 2015 at 22:41, Adrian Chadd wrote:
> What was that option actually doing? How'd it break things?

old operating systems like Windows 98 can't handle a CPUID higher than 3.  But Pentium 4 with HTT (Hyper-Threading Technologie) has a higher value.  So the BIOS can limit it to 3.

The default value from the BIOS is set to limit the CPUID.  And this caused troubles with FreeBSD which used for all but the first CPU a far bigger data structure (ucontext_t) for threads.  So sometimes the stack didn't had enough space for this big structure and made a segmentation fault (see subject -> many core dumps).

This become fixed by Konstantin Belousov today.  So the next FreeBSD release won't be affected by this BIOS setting on P4 with HTT.

Sincerely yours Andre.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?trinity-4c7d55d5-dd1f-4f24-85d4-a05dff012c0e-1438603684866>