Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 Jan 2009 22:33:55 +0200
From:      Kostik Belousov <kostikbel@gmail.com>
To:        Koen Smits <kgysmits@gmail.com>
Cc:        freebsd-amd64@freebsd.org
Subject:   Re: Via Nano CPU: Can boot 7.0-RELEASE-amd64, can't boot 7.1-RELEASE-amd64: "cpu doesn't support long mode"
Message-ID:  <20090105203355.GO93900@deviant.kiev.zoral.com.ua>
In-Reply-To: <b072dc420901051124q377ae42o5406272eb10935ce@mail.gmail.com>
References:  <b072dc420901051124q377ae42o5406272eb10935ce@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--2IK6idz0sKKouFF6
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Mon, Jan 05, 2009 at 08:24:58PM +0100, Koen Smits wrote:
> Hello all,
>=20
> I have some problems getting FreeBSD 7.1-RELEASE amd64 to boot on my VIA
> VB8001, which is a mini-ITX board with the new VIA Nano CPU. This CPU is
> fully 64bit capable. But, when I try to boot Disc1 from an IDE CD-ROM I g=
et
> the error "cpu doesn't support long mode", which implies the CPU can't do
> 64bit, and booting halts asking for a kernel.
> The first thing I tried was running ubuntu 8.10 64bit. It installs and ru=
ns
> fine. And, trying FreeBSD 7.0-RELEASE Disc1 amd64 also boots and installs
> normally!
> Any help on fixing this is much appreciated.
>=20
> System specs:
> VIA VB8001
> 4GB RAM
> Intel CT NIC (PCIe)
> Intel 2915abg Wireless (miniPCI)
> IDE Master: Kingston Ultimate 2GB CF
> IDE Slave: Samsung CD-ROm drive
>=20
> Sincerely,
>=20
> Koen Smits
>=20
> PS. I'm new to the mailing list concept. If i mess something up, please l=
et
> me know.

This is due to sys/boot/i386/libi386/bootinfo64.c, bi_checkcpu()
function, that explicitely verifies that CPU is made by Intel or AMD.
Remove strcmp() checks and rebuild the loader.

--2IK6idz0sKKouFF6
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (FreeBSD)

iEYEARECAAYFAklibrIACgkQC3+MBN1Mb4h9TwCgh6TsX7ItRNxQx/Xwyq9UolQg
2xIAoMK1O8i7vbh4WCth8q4zY5GMAiJw
=nKES
-----END PGP SIGNATURE-----

--2IK6idz0sKKouFF6--



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