From owner-freebsd-embedded@FreeBSD.ORG Thu Dec 3 19:06:20 2009 Return-Path: Delivered-To: freebsd-embedded@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CD55D106566C; Thu, 3 Dec 2009 19:06:20 +0000 (UTC) (envelope-from google@vink.pl) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.159]) by mx1.freebsd.org (Postfix) with ESMTP id 456428FC1B; Thu, 3 Dec 2009 19:06:19 +0000 (UTC) Received: by fg-out-1718.google.com with SMTP id e21so810844fga.13 for ; Thu, 03 Dec 2009 11:06:19 -0800 (PST) Received: by 10.87.73.33 with SMTP id a33mr1727394fgl.26.1259865347152; Thu, 03 Dec 2009 10:35:47 -0800 (PST) Received: from mail-fx0-f218.google.com (mail-fx0-f218.google.com [209.85.220.218]) by mx.google.com with ESMTPS id e11sm8305411fga.4.2009.12.03.10.35.45 (version=SSLv3 cipher=RC4-MD5); Thu, 03 Dec 2009 10:35:45 -0800 (PST) Received: by fxm10 with SMTP id 10so1691965fxm.34 for ; Thu, 03 Dec 2009 10:35:44 -0800 (PST) MIME-Version: 1.0 Received: by 10.223.5.90 with SMTP id 26mr302838fau.59.1259865343789; Thu, 03 Dec 2009 10:35:43 -0800 (PST) Date: Thu, 3 Dec 2009 19:35:43 +0100 Message-ID: <2ae8edf30912031035j14443854y6551bb7b125d8550@mail.gmail.com> From: Wiktor Niesiobedzki To: freebsd-embedded , freebsd-amd64 Content-Type: text/plain; charset=UTF-8 Cc: Subject: 64-bit support on VIA C7 - on FreeBSD 8.0 X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Dec 2009 19:06:20 -0000 Hi, I'm owner of a new VIA SN10000 mini-ITX mainboard which comes together with VIA C7 processor. During boot it is detected as: CPU: VIA Esther processor 1000MHz (997.51-MHz 686-class CPU) Origin = "CentaurHauls" Id = 0x6a9 Stepping = 9 Features=0xa7c9baff Features2=0x181 VIA Padlock Features=0x3fcc As far as I understand, this processor should support 64-bit mode and I should be able to boot amd64 FreeBSD. Playing with memstick image for amd64 I get: "CPU doesn't support long mode" As far as I've checked, I'm missing AMDID_LM flag, as the expression from bootinfo64.c: /* Check for long mode. */ do_cpuid(0x80000001, regs); return (regs[3] & AMDID_LM); Returns 0, as regs[3] is 0. As far as I've checked the mailing lists, there was an issue with missing support for CentaurHauls vendor, but this is not the case, as the failing check is later in the code. Do anyone has any experience with this family of processors? Are they different brands (supporting 64-bit mode and not)? I tried to look for some magic settings in BIOS, but none of it looked, like it could change anything here. Any hints? Cheers, Wiktor Niesiobedzki