Via Nano CPU: Can boot 7.0-RELEASE-amd64, can't boot 7.1-RELEASE-amd64: "cpu doesn't support long mode"

Kostik Belousov kostikbel at gmail.com
Mon Jan 5 16:24:59 PST 2009


On Mon, Jan 05, 2009 at 08:24:58PM +0100, Koen Smits wrote:
> Hello all,
> 
> 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 get
> 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 runs
> fine. And, trying FreeBSD 7.0-RELEASE Disc1 amd64 also boots and installs
> normally!
> Any help on fixing this is much appreciated.
> 
> 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
> 
> Sincerely,
> 
> Koen Smits
> 
> PS. I'm new to the mailing list concept. If i mess something up, please let
> 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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-amd64/attachments/20090106/94cbe584/attachment.pgp


More information about the freebsd-amd64 mailing list