From owner-freebsd-amd64@FreeBSD.ORG Tue Jan 6 00:24:59 2009 Return-Path: Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 66AA2106566C for ; Tue, 6 Jan 2009 00:24:59 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from mail.terabit.net.ua (mail.terabit.net.ua [195.137.202.147]) by mx1.freebsd.org (Postfix) with ESMTP id 0A6B98FC17 for ; Tue, 6 Jan 2009 00:24:59 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from skuns.zoral.com.ua ([91.193.166.194] helo=mail.zoral.com.ua) by mail.terabit.net.ua with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63 (FreeBSD)) (envelope-from ) id 1LJyyO-0001Er-83; Tue, 06 Jan 2009 01:35:04 +0200 Received: from deviant.kiev.zoral.com.ua (root@deviant.kiev.zoral.com.ua [10.1.1.148]) by mail.zoral.com.ua (8.14.2/8.14.2) with ESMTP id n05KXttV094241 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 5 Jan 2009 22:33:55 +0200 (EET) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (kostik@localhost [127.0.0.1]) by deviant.kiev.zoral.com.ua (8.14.3/8.14.3) with ESMTP id n05KXtCO029985; Mon, 5 Jan 2009 22:33:55 +0200 (EET) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by deviant.kiev.zoral.com.ua (8.14.3/8.14.3/Submit) id n05KXtF2029984; Mon, 5 Jan 2009 22:33:55 +0200 (EET) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: deviant.kiev.zoral.com.ua: kostik set sender to kostikbel@gmail.com using -f Date: Mon, 5 Jan 2009 22:33:55 +0200 From: Kostik Belousov To: Koen Smits Message-ID: <20090105203355.GO93900@deviant.kiev.zoral.com.ua> References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="2IK6idz0sKKouFF6" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on skuns.kiev.zoral.com.ua X-Virus-Status: Clean X-Spam-Status: No, score=-4.4 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on skuns.kiev.zoral.com.ua X-Virus-Scanned: mail.terabit.net.ua 1LJyyO-0001Er-83 164f2019af6bd884c78ab8eae7003181 X-Terabit: YES 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" X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Jan 2009 00:24:59 -0000 --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--