From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Plla2-0006cE-Ni for garchives@archives.gentoo.org; Sat, 05 Feb 2011 17:05:50 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 510E11C074 for ; Sat, 5 Feb 2011 17:05:50 +0000 (UTC) Received: from homiemail-a47.g.dreamhost.com (caibbdcaaaaf.dreamhost.com [208.113.200.5]) by pigeon.gentoo.org (Postfix) with ESMTP id E0CE51C049 for ; Sat, 5 Feb 2011 16:25:35 +0000 (UTC) Received: from homiemail-a47.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a47.g.dreamhost.com (Postfix) with ESMTP id 189A5284058 for ; Sat, 5 Feb 2011 08:25:35 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=asynchronous.org; h=from:to :subject:references:date:in-reply-to:message-id:mime-version :content-type:content-transfer-encoding; q=dns; s= asynchronous.org; b=l/SpOF7Z22Eq4iJQY7YGem2xRxSiCQkMpfhR0XRcpurG Vd6iexfQwqI5Xj4LjmpN3unSfBdTNWmQDAKvkQEzLngJetnLOMRtod0CILdhFpA9 CDhi03Wtg/wG5/scUA5JNKwXJz13QsKFmlP6Hy/8zdyu1ERrkoALO3s8GaSdEQw= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=asynchronous.org; h=from :to:subject:references:date:in-reply-to:message-id:mime-version :content-type:content-transfer-encoding; s=asynchronous.org; bh= /LawIrCXB0HUnHGRdTWzq7sNz6E=; b=e0paQVcfqegR7GkwhOXlkoFPdCZedPwJ jvMPaTfczSR98OLSai/VUpdztMIK0xuWbiY4LYC955suAVOCRpxEZEMQj4xLNLPt B9W5+YbKStcKnlVBUxLzZVzpNP9APj7Im4Pn53v/t6LqvcaGt7XgjSaCeeEsN7DO 5lGwSDwndLs= Received: from localhost (c-98-229-1-95.hsd1.vt.comcast.net [98.229.1.95]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: jsled@asynchronous.org) by homiemail-a47.g.dreamhost.com (Postfix) with ESMTPSA id A25C9284057 for ; Sat, 5 Feb 2011 08:25:34 -0800 (PST) From: Josh Sled To: gentoo-amd64@lists.gentoo.org Subject: Re: [gentoo-amd64] New install - basic question References: <201102051545.08854.gentoo@appjaws.plus.com> Date: Sat, 05 Feb 2011 11:25:35 -0500 In-Reply-To: <201102051545.08854.gentoo@appjaws.plus.com> (Paul Stear's message of "Sat, 5 Feb 2011 15:45:08 +0000") Message-ID: <8739o2zbwg.fsf@phoenix.asynchronous.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-amd64@lists.gentoo.org Reply-to: gentoo-amd64@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: X-Archives-Hash: 86f45877297152de94d5d8aee3085923 Paul Stear writes: > I am currently using amd64 2 core processor but now have the chance to us= e=20 > an intel quad 64 processor. > This might be a silly question but is it best to do a compltly new > install? [=E2=80=A6] > Which chost and cflags should I use? I just did this transition a couple of weeks ago =E2=80=A6 Athlon 64 X2 to i7-950. You don't need to do a full reinstall. I found http://forums.gentoo.org/viewtopic-t-715522-start-150.html?sid=3Dda= 3871db3f6144b9f9c4c9dabe34c6d4 interesting reading leading up to the change, especially ezakimak2's post of 2010-04-12 15:00. I did the same procedure as he outlines: - edit /etc/make.conf to change CFLAGS from -march=3Dk8 to -march=3Dgeneric - `emerge system` - rebuilt kernel for generic i686, new mobo - shut down, swap hardware, start up - edit /etc/make.conf to change CFLAGS to -march=3Dnative - `emerge system` The biggest problem I had was not building a kernel that included all the drivers appropriate to my new motherboard, leading to kernel panic immediately on startup and many hours spent that day with System Rescue CD. :( Unfortunately, SystemRescueCD seemed to identify my boot drive and raid/lvm setup wrong, which was very distressing and misleading for most of that time. Once I figured that out and re-mounted everything correctly, I was able to chroot into my own system as per http://www.gentoo.org/doc/en/handbook/handbook-amd64.xml?part=3D1&chap=3D6#= doc_chap1 and build and install an appropriate kernel. I did change some USE flags and rebuilt media packages, but I haven't needed to rebuild anything else, yet. X, Gnome, emacs, Chrome, &c. all ran perfectly fine after things were up and running; I wasn't running any particularly crazy CFLAGS before. http://en.gentoo-wiki.com/wiki/Safe_Cflags is always a good reference for CFLAGS, though as they point out, these days it's just "-march=3Dnative" and let GCC figure it out. CHOST should be unchanged from your current setting: CHOST=3D"x86_64-pc-linux-gnu". If this is not your current setting, then you are not running 64-bit, and you might want to take the opportunity to do a complete reinstall, yes. --=20 ...jsled http://asynchronous.org/ - a=3Djsled; b=3Dasynchronous.org; echo ${a}@${b}