From owner-freebsd-amd64@FreeBSD.ORG Sat Dec 15 02:13:59 2012 Return-Path: Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E7884B65 for ; Sat, 15 Dec 2012 02:13:59 +0000 (UTC) (envelope-from jnagyjr1978@gmail.com) Received: from mail-gg0-f182.google.com (mail-gg0-f182.google.com [209.85.161.182]) by mx1.freebsd.org (Postfix) with ESMTP id 969278FC0A for ; Sat, 15 Dec 2012 02:13:59 +0000 (UTC) Received: by mail-gg0-f182.google.com with SMTP id e5so851376ggh.13 for ; Fri, 14 Dec 2012 18:13:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; bh=798+H+xGU8WiGmD6bDogDQ5facEWRMocom92X117/MU=; b=DZVEThX7W7ArPhitfM/vgt7XE0xoEBbP40prnuKkRcYZD8MgcypqVufPDhdbZCvw84 bFGsz5RCN5p2XlgGWw5dKC45paqUNg3QEFozHluaOwvGip2lbVmt9wXF7eGFsCXp2GNB k4z4Qjre6VA37DkAPOPSmNexEhlmIz4kpkWGZojU34AEzKq+xCiWYfCbYokQbl0iizHp ppoqJivOLg6zbVNWCHAhpkI7Lp85lBUzysSfJwRX5imuittk9GKJq4FVA9x3XPmq+/Ba bUx21xcNvDLTYPOHQeMVySSYpaENKOkmXR2rkL6UAOXqTdcsQmNfmtuF9YTDLs8zXBpQ spdg== Received: by 10.236.128.69 with SMTP id e45mr2899048yhi.95.1355537632782; Fri, 14 Dec 2012 18:13:52 -0800 (PST) Received: from [192.168.1.33] (vid-196.dhcp.grp10.tnmmrl.infoave.net. [204.116.254.196]) by mx.google.com with ESMTPS id y18sm5879673anh.15.2012.12.14.18.13.46 (version=SSLv3 cipher=OTHER); Fri, 14 Dec 2012 18:13:51 -0800 (PST) Message-ID: <50CBDCD7.1040105@gmail.com> Date: Fri, 14 Dec 2012 20:13:43 -0600 From: "Joseph A. Nagy, Jr" User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: freebsd-amd64@freebsd.org Subject: cpu setting in kernel options file Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 15 Dec 2012 02:14:00 -0000 Hi All, I know this question has been asked before[0] so I just want clarification. It was stated back then that HAMMER is the only cpu type for amd64, but later on someone points to /usr/share/mk/bsd.cpu.mk where I found: . elif ${MACHINE_CPUARCH} == "amd64" . if ${CPUTYPE} == "prescott" and, closer to my own specific processor: . elif ${CPUTYPE} == "opteron" || ${CPUTYPE} == "athlon64" || \ ${CPUTYPE} == "k8" from my /var/run/dmesg.boot I find: CPU: AMD Sempron(tm) SI-42 (2099.25-MHz K8-class CPU) Origin = "AuthenticAMD" Id = 0x200f31 Family = 11 Model = 3 Stepping = 1 Features=0x78bfbff Features2=0x2001 AMD Features=0xea500800 AMD Features2=0x1319 The really important bit being the first line. Could I put K8 and gcc/clang be okay with it? Or should I leave the cpu line in my kernel conf file alone? [0]: http://lists.freebsd.org/pipermail/freebsd-amd64/2009-February/011914.html -- Yours in Christ, Joseph A Nagy Jr "Whoever loves instruction loves knowledge, But he who hates correction is stupid." -- Proverbs 12:1 Emails are not formal business letters, whatever businesses may want. Original content CopyFree (F) under the OWL http://owl.apotheon.org