64-bit support on VIA C7 - on FreeBSD 8.0

Wiktor Niesiobedzki bsd at w.evip.pl
Thu Dec 3 19:06:20 UTC 2009


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
  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?


Wiktor Niesiobedzki

More information about the freebsd-amd64 mailing list