Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Dec 2009 19:35:43 +0100
From:      Wiktor Niesiobedzki <bsd@w.evip.pl>
To:        freebsd-embedded <freebsd-embedded@freebsd.org>, freebsd-amd64 <freebsd-amd64@freebsd.org>
Subject:   64-bit support on VIA C7 - on FreeBSD 8.0
Message-ID:  <2ae8edf30912031035j14443854y6551bb7b125d8550@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,APIC,SEP,MTRR,PGE,CMOV,PAT,CLFLUSH,ACPI,MMX,FXSR,SSE,SSE2,TM,PBE>
  Features2=0x181<SSE3,EST,TM2>
  VIA Padlock Features=0x3fcc<RNG,AES,AES-CTR,SHA1,SHA256,RSA>

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2ae8edf30912031035j14443854y6551bb7b125d8550>