From owner-freebsd-stable@freebsd.org Mon Aug 3 12:08:14 2015 Return-Path: Delivered-To: freebsd-stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2464E9B186A for ; Mon, 3 Aug 2015 12:08:14 +0000 (UTC) (envelope-from ortadur@web.de) Received: from mout.web.de (mout.web.de [212.227.17.12]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mout.web.de", Issuer "TeleSec ServerPass DE-1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8EA441E95 for ; Mon, 3 Aug 2015 12:08:13 +0000 (UTC) (envelope-from ortadur@web.de) Received: from [131.169.71.113] by 3capp-webde-bs15.server.lan (via HTTP); Mon, 3 Aug 2015 14:08:04 +0200 MIME-Version: 1.0 Message-ID: From: "Andre Meiser" To: freebsd-stable@freebsd.org Subject: Re: Many core dumps in pthread_getspecific. Content-Type: text/plain; charset=UTF-8 Date: Mon, 3 Aug 2015 14:08:04 +0200 Importance: normal Sensitivity: Normal In-Reply-To: References: <20150603145838.GX2499@kib.kiev.ua> <20150614190504.GT2080@kib.kiev.ua> <20150616073637.GO2080@kib.kiev.ua> <20150703211111.GZ2080@kib.kiev.ua> <20150719205722.GT2404@kib.kiev.ua> <20150722102055.GA2072@kib.kiev.ua> , X-UI-Message-Type: mail X-Priority: 3 X-Provags-ID: V03:K0:+rvCF1383jq+v44OlsJ0xJwyFK0lUdrNcS5Wr5CPRsi 7H/iZ2Ha1WDXy62MoWw8dezooHLFDHGT3BeLF8aFaLF7HYcou6 rSC0QG5Lu3ix7bWsn5n0UZCR6ldw8XNPy8uKwLfg2G0mTNhXbX 3x4F2ILnKFdmDTG7aOUJBGpIqN15hckEBqVNILR2eY7U3XMgCK 2+kLq+uyJPflIbu2FTt7ns7Nv9B0AyTC2MjjjojHzB6ByCEh9c 5kYuyaYmkFUKUxUzQuMljhrd8WRpFpeJje0FToADDiPudZkWjM wcwIXE= X-UI-Out-Filterresults: notjunk:1;V01:K0:3g+XU3BuLzg=:Zc3yWVjPPkc/4UQfi78zJl 7PATQqD700yXowC45ayQO/2fuv1C1BmXO1PdNANzdquPEa/zNZ/x9sCmsB0OGDwHUKyYVlmvN gzCIreHUmXItmqyWQ0pvmvXPckzLXUMDKwCXWfpJuLD0jsTEqqQAshPQrL77RFgHUDkfWLiYb JbbP/XTvcc8CvMc7Oz/b3oAGK1txlbxU5jDzRaUJY069dowpYkGysOAnt1eTuUuEdCnrRS8IE b/8QkRqQtPnD1Er5lGM7LrePKu0PDpUMeod1JE4X7NQ8Mg2vqCRytD7iMmoEaEUu7U+Q11POJ WlSGLJuGEWP3uRP+OX7Ag2zzjs7yU0HDkLuDgelKoAXSDioatPgbwCMnwt+JpeiwiRlcw61Ht F/WaJzuWPmVne9BkBPq2XESQOQt7cHINWy8yTeyZEbfGyandvPNSl2PW2Q/kuhg61huUcQ5Oq HqWNVNIUXg== X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Aug 2015 12:08:14 -0000 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.