public inbox for gentoo-amd64@lists.gentoo.org
 help / color / mirror / Atom feed
From: Josh Sled <jsled@asynchronous.org>
To: gentoo-amd64@lists.gentoo.org
Subject: Re: [gentoo-amd64] New install - basic question
Date: Sat, 05 Feb 2011 11:25:35 -0500	[thread overview]
Message-ID: <8739o2zbwg.fsf@phoenix.asynchronous.org> (raw)
In-Reply-To: <201102051545.08854.gentoo@appjaws.plus.com> (Paul Stear's message of "Sat, 5 Feb 2011 15:45:08 +0000")

Paul Stear <gentoo@appjaws.plus.com> writes:
> I am currently using amd64 2 core processor but now have the chance to use 
> an intel quad 64 processor.
> This might be a silly question but is it best to do a compltly new
> install?
[…]
> Which chost and cflags should I use?

I just did this transition a couple of weeks ago … 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=da3871db3f6144b9f9c4c9dabe34c6d4
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=k8 to -march=generic
- `emerge system`
- rebuilt kernel for generic i686, new mobo
- shut down, swap hardware, start up
- edit /etc/make.conf to change CFLAGS to -march=native
- `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=1&chap=6#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=native" and let GCC figure it out.

CHOST should be unchanged from your current setting:
CHOST="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.

-- 
...jsled
http://asynchronous.org/ - a=jsled; b=asynchronous.org; echo ${a}@${b}



  parent reply	other threads:[~2011-02-05 17:05 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-05 15:45 [gentoo-amd64] New install - basic question Paul Stear
2011-02-05 16:11 ` Agostino Sarubbo
2011-02-05 16:25 ` Josh Sled [this message]
2011-02-05 16:26 ` Florian Philipp
2011-02-05 16:57 ` Frank Peters
2011-02-06  0:27   ` Paul Stear
2011-02-05 17:52 ` [gentoo-amd64] " Duncan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8739o2zbwg.fsf@phoenix.asynchronous.org \
    --to=jsled@asynchronous.org \
    --cc=gentoo-amd64@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox