From owner-freebsd-emulation@FreeBSD.ORG Sat Jul 11 11:44:22 2009 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C8EE91065670 for ; Sat, 11 Jul 2009 11:44:22 +0000 (UTC) (envelope-from rdivacky@vlk.vlakno.cz) Received: from vlakno.cz (77-93-215-190.static.masterinter.net [77.93.215.190]) by mx1.freebsd.org (Postfix) with ESMTP id 852218FC22 for ; Sat, 11 Jul 2009 11:44:21 +0000 (UTC) (envelope-from rdivacky@vlk.vlakno.cz) Received: from localhost (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id 528739CB0EC; Sat, 11 Jul 2009 13:42:48 +0200 (CEST) X-Virus-Scanned: amavisd-new at vlakno.cz Received: from vlakno.cz ([127.0.0.1]) by localhost (lev.vlakno.cz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id crmTdqQirbZn; Sat, 11 Jul 2009 13:42:46 +0200 (CEST) Received: from vlk.vlakno.cz (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id 17A279CB1C4; Sat, 11 Jul 2009 13:42:46 +0200 (CEST) Received: (from rdivacky@localhost) by vlk.vlakno.cz (8.14.3/8.14.3/Submit) id n6BBgjme037819; Sat, 11 Jul 2009 13:42:45 +0200 (CEST) (envelope-from rdivacky) Date: Sat, 11 Jul 2009 13:42:45 +0200 From: Roman Divacky To: Peter Jeremy Message-ID: <20090711114245.GA37763@freebsd.org> References: <20090711005130.GB43362@server.vk2pj.dyndns.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090711005130.GB43362@server.vk2pj.dyndns.org> User-Agent: Mutt/1.4.2.3i Cc: freebsd-emulation@freebsd.org Subject: Re: Linuxolator proc/cpuinfo X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 11 Jul 2009 11:44:23 -0000 On Sat, Jul 11, 2009 at 10:51:30AM +1000, Peter Jeremy wrote: > I've recently noticed that the 'flags' output from cpuinfo is > incomplete. As an example, my Atom N270 reports: > flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat b19 b21 mmxext mmx fxsr xmm sse2 b27 b28 b29 3dnow > > Whereas dmesg reports: > Features=0xbfe9fbff > Features2=0x40c39d> > AMD Features2=0x1 > > Is there a particular reason why the flags output isn't complete? > > As an example, I recently tried to run a binary Sage package > (www.sagemath.org) in FreeBSD -current. During startup, it verifies > that the target CPU supports the instructions used and, on my Atom, > complained that 'ssse3', 'pni' and 'sse' are missing - whilst they > are missing from cpuinfo flags, they are present in the Atom. feel free to submit patch :) it should be pretty trivial. I am willing to review/commit