Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753650AbbHSKAr (ORCPT ); Wed, 19 Aug 2015 06:00:47 -0400 Received: from terminus.zytor.com ([198.137.202.10]:48324 "EHLO mail.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752151AbbHSKAo (ORCPT ); Wed, 19 Aug 2015 06:00:44 -0400 Subject: Re: [GIT PULL] x86 fixes To: Ingo Molnar References: <20150814071500.GA2678@gmail.com> <20150817080143.GA16928@gmail.com> <55D25D7F.40503@zytor.com> <20150819055931.GD32338@gmail.com> <20150819065056.GB28292@gmail.com> Cc: Linus Torvalds , Juergen Gross , Andy Lutomirski , Linux Kernel Mailing List , Thomas Gleixner , Peter Zijlstra , Brian Gerst , Denys Vlasenko , Andrew Morton From: "H. Peter Anvin" Message-ID: <55D453B0.2090108@zytor.com> Date: Wed, 19 Aug 2015 03:00:16 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.1.0 MIME-Version: 1.0 In-Reply-To: <20150819065056.GB28292@gmail.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 911 Lines: 27 On 08/18/15 23:50, Ingo Molnar wrote: > > Ah, so I was able to make math-emu work with the 'no387 nofxsr' boot options. > > It turns out that the crash happens due 'no387' not turning off all modern FPU > features in cpufeatures, which confuses the FPU code. (This is a far less severe > bug than math emu not working at all.) > > I get some instances of: > > /etc/rc3.d/S99local: line 26: 1626 Illegal instruction > > due to user-space presuming modern FPU capabilities: > And I bet if CPUID actually reported the right thing it probably would work okay. As I said, I tested this under Qemu which reported an accurate (lack of) CPUID for a 486SX. -hpa -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/