* [gentoo-user] How do I determine the processor type?
@ 2012-09-14 23:33 felix
2012-09-14 23:45 ` Kerin Millar
0 siblings, 1 reply; 12+ messages in thread
From: felix @ 2012-09-14 23:33 UTC (permalink / raw
To: gentoo-user
I have a shiny new System76 laptop with a "3rd Generation Intel Core i7-3720QM Processor (2.60GHz 6MB L3 Cache - 4 Cores plus Hyperthreading)".
It comes with Ubuntu, so naturally my first move was to split the Ubuntu partition in half and install gentoo. I will say no more about my first experiences with Unity.
The Ubunto uname -a says "3.2.0-30-generic #48-Ubuntu SMP Fri Aug 24 16:52:48 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux".
I installed the latest stage3 tarball and set up make.conf as
ACCEPT_KEYWORDS=~x86
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
When I try to compile gentoo-sources-3.5.3, it tells me
scripts/mod/empty.c:1:0: error: CPU you selected does not support x86-64 instruction set
My home system is dual Athlon, ancient, and ~amd64.. I haven't kept track of all the Intel processors, but the kernel config doesn't have many choices.
--
... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
Felix Finch: scarecrow repairman & rocket surgeon / felix@crowfix.com
GPG = E987 4493 C860 246C 3B1E 6477 7838 76E9 182E 8151 ITAR license #4933
I've found a solution to Fermat's Last Theorem but I see I've run out of room o
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [gentoo-user] How do I determine the processor type?
2012-09-14 23:33 [gentoo-user] How do I determine the processor type? felix
@ 2012-09-14 23:45 ` Kerin Millar
2012-09-15 0:04 ` felix
0 siblings, 1 reply; 12+ messages in thread
From: Kerin Millar @ 2012-09-14 23:45 UTC (permalink / raw
To: gentoo-user
felix@crowfix.com wrote:
> I have a shiny new System76 laptop with a "3rd Generation Intel Core i7-3720QM Processor (2.60GHz 6MB L3 Cache - 4 Cores plus Hyperthreading)".
>
> It comes with Ubuntu, so naturally my first move was to split the Ubuntu partition in half and install gentoo. I will say no more about my first experiences with Unity.
>
> The Ubunto uname -a says "3.2.0-30-generic #48-Ubuntu SMP Fri Aug 24 16:52:48 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux".
Take note - it's a x86_64 host environment.
>
> I installed the latest stage3 tarball and set up make.conf as
Which stage3 tarball exactly?
>
> ACCEPT_KEYWORDS=~x86
> CFLAGS="-O2 -march=i686 -pipe"
> CHOST="i686-pc-linux-gnu"
>
This suggests that you unpacked an 32-bit stage tarball. If that is
indeed the case, you should execute the chroot in a different fashion:-
# linux32 chroot /mnt/gentoo/bin/bash
Alternatively, use an amd64 stage tarball. As a side note, you do not
need to set CHOST at all in make.conf.
> When I try to compile gentoo-sources-3.5.3, it tells me
>
> scripts/mod/empty.c:1:0: error: CPU you selected does not support x86-64 instruction set
>
> My home system is dual Athlon, ancient, and ~amd64.. I haven't kept track of all the Intel processors, but the kernel config doesn't have many choices.
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [gentoo-user] How do I determine the processor type?
2012-09-14 23:45 ` Kerin Millar
@ 2012-09-15 0:04 ` felix
2012-09-15 0:26 ` Kerin Millar
0 siblings, 1 reply; 12+ messages in thread
From: felix @ 2012-09-15 0:04 UTC (permalink / raw
To: gentoo-user
On Sat, Sep 15, 2012 at 12:45:51AM +0100, Kerin Millar wrote:
> felix@crowfix.com wrote:
> > I have a shiny new System76 laptop with a "3rd Generation Intel Core i7-3720QM Processor (2.60GHz 6MB L3 Cache - 4 Cores plus Hyperthreading)".
> >
> > It comes with Ubuntu, so naturally my first move was to split the Ubuntu partition in half and install gentoo. I will say no more about my first experiences with Unity.
> >
> > The Ubunto uname -a says "3.2.0-30-generic #48-Ubuntu SMP Fri Aug 24 16:52:48 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux".
>
> Take note - it's a x86_64 host environment.
>
> >
> > I installed the latest stage3 tarball and set up make.conf as
>
> Which stage3 tarball exactly?
Maybe that's part of my confusion -- I was following the x86 handbook, not amd64, because it's not amd. But if amd64 should be used for all 64 bit installs, that's probably my problem.
As for the exact stage3 tarball, the ftp choice was "gentoo/releases/x86/current-stage3". This was about Sep 10.
--
... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
Felix Finch: scarecrow repairman & rocket surgeon / felix@crowfix.com
GPG = E987 4493 C860 246C 3B1E 6477 7838 76E9 182E 8151 ITAR license #4933
I've found a solution to Fermat's Last Theorem but I see I've run out of room o
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [gentoo-user] How do I determine the processor type?
2012-09-15 0:04 ` felix
@ 2012-09-15 0:26 ` Kerin Millar
2012-09-15 0:32 ` felix
0 siblings, 1 reply; 12+ messages in thread
From: Kerin Millar @ 2012-09-15 0:26 UTC (permalink / raw
To: gentoo-user
felix@crowfix.com wrote:
> On Sat, Sep 15, 2012 at 12:45:51AM +0100, Kerin Millar wrote:
>> felix@crowfix.com wrote:
>>> I have a shiny new System76 laptop with a "3rd Generation Intel Core i7-3720QM Processor (2.60GHz 6MB L3 Cache - 4 Cores plus Hyperthreading)".
>>>
>>> It comes with Ubuntu, so naturally my first move was to split the Ubuntu partition in half and install gentoo. I will say no more about my first experiences with Unity.
>>>
>>> The Ubunto uname -a says "3.2.0-30-generic #48-Ubuntu SMP Fri Aug 24 16:52:48 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux".
>> Take note - it's a x86_64 host environment.
>>
>>> I installed the latest stage3 tarball and set up make.conf as
>> Which stage3 tarball exactly?
>
> Maybe that's part of my confusion -- I was following the x86 handbook, not amd64, because it's not amd. But if amd64 should be used for all 64 bit installs, that's probably my problem.
>
> As for the exact stage3 tarball, the ftp choice was "gentoo/releases/x86/current-stage3". This was about Sep 10.
>
It will work if you chroot as described in my previous message. linux32
is a symlink to setarch so you can read the setarch manpage if you're
curious as to why it is necessary. Still, unless you have a particular
reason not to avoid using an amd64 stage tarball, I'd suggest starting
over with one.
--Kerin
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [gentoo-user] How do I determine the processor type?
2012-09-15 0:26 ` Kerin Millar
@ 2012-09-15 0:32 ` felix
2012-09-15 2:42 ` Dale
0 siblings, 1 reply; 12+ messages in thread
From: felix @ 2012-09-15 0:32 UTC (permalink / raw
To: gentoo-user
On Sat, Sep 15, 2012 at 01:26:41AM +0100, Kerin Millar wrote:
> felix@crowfix.com wrote:
> > On Sat, Sep 15, 2012 at 12:45:51AM +0100, Kerin Millar wrote:
> >> felix@crowfix.com wrote:
> >>> I have a shiny new System76 laptop with a "3rd Generation Intel Core i7-3720QM Processor (2.60GHz 6MB L3 Cache - 4 Cores plus Hyperthreading)".
> >>>
> >>> It comes with Ubuntu, so naturally my first move was to split the Ubuntu partition in half and install gentoo. I will say no more about my first experiences with Unity.
> >>>
> >>> The Ubunto uname -a says "3.2.0-30-generic #48-Ubuntu SMP Fri Aug 24 16:52:48 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux".
> >> Take note - it's a x86_64 host environment.
> >>
> >>> I installed the latest stage3 tarball and set up make.conf as
> >> Which stage3 tarball exactly?
> >
> > Maybe that's part of my confusion -- I was following the x86 handbook, not amd64, because it's not amd. But if amd64 should be used for all 64 bit installs, that's probably my problem.
> >
> > As for the exact stage3 tarball, the ftp choice was "gentoo/releases/x86/current-stage3". This was about Sep 10.
> >
>
> It will work if you chroot as described in my previous message. linux32
> is a symlink to setarch so you can read the setarch manpage if you're
> curious as to why it is necessary. Still, unless you have a particular
> reason not to avoid using an amd64 stage tarball, I'd suggest starting
> over with one.
Nope, just ignorance, thinking that amd64 shouldn't be used with an intel processor.
--
... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
Felix Finch: scarecrow repairman & rocket surgeon / felix@crowfix.com
GPG = E987 4493 C860 246C 3B1E 6477 7838 76E9 182E 8151 ITAR license #4933
I've found a solution to Fermat's Last Theorem but I see I've run out of room o
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [gentoo-user] How do I determine the processor type?
2012-09-15 0:32 ` felix
@ 2012-09-15 2:42 ` Dale
2012-09-15 3:21 ` felix
2012-09-15 13:32 ` [gentoo-user] Re: How do I determine the processor type? Grant Edwards
0 siblings, 2 replies; 12+ messages in thread
From: Dale @ 2012-09-15 2:42 UTC (permalink / raw
To: gentoo-user
felix@crowfix.com wrote:
> On Sat, Sep 15, 2012 at 01:26:41AM +0100, Kerin Millar wrote:
>> felix@crowfix.com wrote:
>>> On Sat, Sep 15, 2012 at 12:45:51AM +0100, Kerin Millar wrote:
>>>> felix@crowfix.com wrote:
>>>>> I have a shiny new System76 laptop with a "3rd Generation Intel Core i7-3720QM Processor (2.60GHz 6MB L3 Cache - 4 Cores plus Hyperthreading)".
>>>>>
>>>>> It comes with Ubuntu, so naturally my first move was to split the Ubuntu partition in half and install gentoo. I will say no more about my first experiences with Unity.
>>>>>
>>>>> The Ubunto uname -a says "3.2.0-30-generic #48-Ubuntu SMP Fri Aug 24 16:52:48 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux".
>>>> Take note - it's a x86_64 host environment.
>>>>
>>>>> I installed the latest stage3 tarball and set up make.conf as
>>>> Which stage3 tarball exactly?
>>> Maybe that's part of my confusion -- I was following the x86 handbook, not amd64, because it's not amd. But if amd64 should be used for all 64 bit installs, that's probably my problem.
>>>
>>> As for the exact stage3 tarball, the ftp choice was "gentoo/releases/x86/current-stage3". This was about Sep 10.
>>>
>> It will work if you chroot as described in my previous message. linux32
>> is a symlink to setarch so you can read the setarch manpage if you're
>> curious as to why it is necessary. Still, unless you have a particular
>> reason not to avoid using an amd64 stage tarball, I'd suggest starting
>> over with one.
> Nope, just ignorance, thinking that amd64 shouldn't be used with an intel processor.
>
From my understanding, someone correct me if I am off here, AMD sort of
beat Intel to the 64 bit thing. So, it sort of got named amd64 even tho
Intel came along later on and the name just stuck. That's a very short
version of the story and I think that is how it went but someone may
come along and correct something.
Dale
:-) :-)
--
I am only responsible for what I said ... Not for what you understood or how you interpreted my words!
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [gentoo-user] How do I determine the processor type?
2012-09-15 2:42 ` Dale
@ 2012-09-15 3:21 ` felix
2012-09-15 4:28 ` Dale
2012-09-15 13:32 ` [gentoo-user] Re: How do I determine the processor type? Grant Edwards
1 sibling, 1 reply; 12+ messages in thread
From: felix @ 2012-09-15 3:21 UTC (permalink / raw
To: gentoo-user
On Fri, Sep 14, 2012 at 09:42:42PM -0500, Dale wrote:
> From my understanding, someone correct me if I am off here, AMD sort of
> beat Intel to the 64 bit thing. So, it sort of got named amd64 even tho
> Intel came along later on and the name just stuck. That's a very short
> version of the story and I think that is how it went but someone may
> come along and correct something.
I sort of knew that, but I haven't kept up with all the processor
names, and linux the kernel merged x86 and amd64 in some fashion, or
was it x86 and x86_64? /usr/src/linux/arch/x86_64/boot/bzImage is a
symlink to the x86. It's all very confusing, and one of the gentoo
docs says iCore2 is Xeon, so what do I know about iCore7?
Kernel compile finished, 16 minutes (SSD sure speeds it up). I'll
finish the setup tomorrow. At some point I have to figure out where
Ubuntu hides the boot config so I can add an entry for the gentoo install.
--
... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
Felix Finch: scarecrow repairman & rocket surgeon / felix@crowfix.com
GPG = E987 4493 C860 246C 3B1E 6477 7838 76E9 182E 8151 ITAR license #4933
I've found a solution to Fermat's Last Theorem but I see I've run out of room o
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [gentoo-user] How do I determine the processor type?
2012-09-15 3:21 ` felix
@ 2012-09-15 4:28 ` Dale
2012-09-15 5:05 ` [gentoo-user] How do I determine the processor type? -- grub2 comments G.Wolfe Woodbury
0 siblings, 1 reply; 12+ messages in thread
From: Dale @ 2012-09-15 4:28 UTC (permalink / raw
To: gentoo-user
felix@crowfix.com wrote:
> On Fri, Sep 14, 2012 at 09:42:42PM -0500, Dale wrote:
>
>> From my understanding, someone correct me if I am off here, AMD sort of
>> beat Intel to the 64 bit thing. So, it sort of got named amd64 even tho
>> Intel came along later on and the name just stuck. That's a very short
>> version of the story and I think that is how it went but someone may
>> come along and correct something.
> I sort of knew that, but I haven't kept up with all the processor
> names, and linux the kernel merged x86 and amd64 in some fashion, or
> was it x86 and x86_64? /usr/src/linux/arch/x86_64/boot/bzImage is a
> symlink to the x86. It's all very confusing, and one of the gentoo
> docs says iCore2 is Xeon, so what do I know about iCore7?
>
> Kernel compile finished, 16 minutes (SSD sure speeds it up). I'll
> finish the setup tomorrow. At some point I have to figure out where
> Ubuntu hides the boot config so I can add an entry for the gentoo install.
>
I didn't say it wasn't confusing. ;-) Heck, I think I asked questions
here when I built my new rig which is sort of the reason why I
remember. From some discussions I have seen, I think some CPUs need a
rocket scientist to figure out what to use. I'm sure there is a rule
book somewhere. lol
Put your kernel and such on /boot and run update-grub if I recall
correctly. I installed Kubuntu for my brother and it has grub2 which
has some magic sprinkled on it. I'm not sure how to tell it where to
point for the root partition tho. That may require a thread here if
google doesn't help. I might add, you may get better Ubuntu answers
here than from the Ubuntu folks. I'll forgive you if everyone else
will. ROFL
Dale
:-) :-)
--
I am only responsible for what I said ... Not for what you understood or how you interpreted my words!
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [gentoo-user] How do I determine the processor type? -- grub2 comments
2012-09-15 4:28 ` Dale
@ 2012-09-15 5:05 ` G.Wolfe Woodbury
2012-09-15 6:45 ` felix
0 siblings, 1 reply; 12+ messages in thread
From: G.Wolfe Woodbury @ 2012-09-15 5:05 UTC (permalink / raw
To: gentoo-user
On 09/15/2012 12:28 AM, Dale wrote:
> Put your kernel and such on /boot and run update-grub if I recall
> correctly. I installed Kubuntu for my brother and it has grub2 which
> has some magic sprinkled on it. I'm not sure how to tell it where to
> point for the root partition tho. That may require a thread here if
> google doesn't help. I might add, you may get better Ubuntu answers
> here than from the Ubuntu folks. I'll forgive you if everyone else
> will. ROFL Dale :-) :-)
grub2 is a completely rewritten animal, so it is *different*
grub2-install /dev/sd??
is the incantation to put grub2 onto the selected boot partition. Then
<editor> /etc/default/grub
grub2-mkconfig -o /boot/grub2/grub.cfg
is the incantation for making the basic configuration. If you have
multiple installations
on disk, emerge "os-prober" to bring in the detection of "foreign"
operating systems.
This creates the grub.cfg file, which prominently features a "DO NOT
EDIT" warning at the
top of the file; rank beginners are advised to edit /etc/defaut/grub if
that can make the changes
you want, but more advanced users can edit the grub.cfg to achieve
desired results.
For example, my grub.cfg has the default entry for my preferred OS to
boot, and then has
entries that bing in other configuration files for various other
situations. I've got two
Gentoo collections, the Fedora collection and the Windows7 config. the
grub2 "info"
pages are complete but a little dense and not as well organized as they
might be.
Good Luck.
--
G.Wolfe Woodbury
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [gentoo-user] How do I determine the processor type? -- grub2 comments
2012-09-15 5:05 ` [gentoo-user] How do I determine the processor type? -- grub2 comments G.Wolfe Woodbury
@ 2012-09-15 6:45 ` felix
0 siblings, 0 replies; 12+ messages in thread
From: felix @ 2012-09-15 6:45 UTC (permalink / raw
To: gentoo-user
On Sat, Sep 15, 2012 at 01:05:41AM -0400, G.Wolfe Woodbury wrote:
> On 09/15/2012 12:28 AM, Dale wrote:
> > Put your kernel and such on /boot and run update-grub if I recall
> > correctly. I installed Kubuntu for my brother and it has grub2 which
> > has some magic sprinkled on it. I'm not sure how to tell it where to
> > point for the root partition tho. That may require a thread here if
> > google doesn't help. I might add, you may get better Ubuntu answers
> > here than from the Ubuntu folks. I'll forgive you if everyone else
> > will. ROFL Dale :-) :-)
> grub2 is a completely rewritten animal, so it is *different*
>
> grub2-install /dev/sd??
>
> is the incantation to put grub2 onto the selected boot partition. Then
>
> <editor> /etc/default/grub
> grub2-mkconfig -o /boot/grub2/grub.cfg
I figure I have to keep the existing Ubuntu install happy for a couple
of weeks. This is a work laptop and the Ubuntu side is productive
right now, so gentoo is my spare time conversion, and only after I
have it doing everything the Ubuntu install does, can I muck up
Ubuntu. It also is a handy reference if I get in a gentoo corner,
like setting up X or KVM.
--
... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
Felix Finch: scarecrow repairman & rocket surgeon / felix@crowfix.com
GPG = E987 4493 C860 246C 3B1E 6477 7838 76E9 182E 8151 ITAR license #4933
I've found a solution to Fermat's Last Theorem but I see I've run out of room o
^ permalink raw reply [flat|nested] 12+ messages in thread
* [gentoo-user] Re: How do I determine the processor type?
2012-09-15 2:42 ` Dale
2012-09-15 3:21 ` felix
@ 2012-09-15 13:32 ` Grant Edwards
2012-09-15 13:48 ` Grant Edwards
1 sibling, 1 reply; 12+ messages in thread
From: Grant Edwards @ 2012-09-15 13:32 UTC (permalink / raw
To: gentoo-user
On 2012-09-15, Dale <rdalek1967@gmail.com> wrote:
> From my understanding, someone correct me if I am off here, AMD sort of
> beat Intel to the 64 bit thing.
Not really. Intel came out with the IA64 architecture in 2001 in the
Itanium processor. The IA64 architecture was much more RISC-like than
the IA32 (x86) architecture. More importantly, it wasn't good at
running old IA32 software. It could emulate the IA32 instruction set,
but the emulation mode produced very slow performance. Because of
price and the poor backwards compatiblity it wasn't very popular on
the desktop (though it was used in some high-end servers and cluster
machines).
A couple of years later, AMD came out with the AMD64 (x86-64)
architecture in the Opteron processor. It _was_ backwards compatible
with the IA32 and was quite popular -- though initially it was mainly
used in IA32 mode (I still run all my AMD64 machines in IA32 mode
because I'm too lazy to change over when there's little benefit).
Once the Opteron family was widely adopted, and it became obvious that
the 64-bit mode of AMD64 processors was going to be vastly more
popular than the IA64 architecture, Intel jumped on board in 2004 with
the Xeon processor which implemented the AMD64 architecture.
After years and years of miserable sales, Intel finally gave up
flogging the Itanium pocessor family and abandoned the IA64
architecture in 2011.
--
Grant
^ permalink raw reply [flat|nested] 12+ messages in thread
* [gentoo-user] Re: How do I determine the processor type?
2012-09-15 13:32 ` [gentoo-user] Re: How do I determine the processor type? Grant Edwards
@ 2012-09-15 13:48 ` Grant Edwards
0 siblings, 0 replies; 12+ messages in thread
From: Grant Edwards @ 2012-09-15 13:48 UTC (permalink / raw
To: gentoo-user
On 2012-09-15, Grant Edwards <grant.b.edwards@gmail.com> wrote:
> On 2012-09-15, Dale <rdalek1967@gmail.com> wrote:
>
>> From my understanding, someone correct me if I am off here, AMD sort of
>> beat Intel to the 64 bit thing.
> After years and years of miserable sales, Intel finally gave up
> flogging the Itanium pocessor family and abandoned the IA64
> architecture in 2011.
Oops, after some research on Wikipedia, it looks like that last bit is
wrong. Intel still appears to be making Itanium parts (but nobody
but HP cares).
Itanium is no longer supported by Microsoft, RedHat, Oracle, SAP, and
various other SW vendors (including Intel).
Most of the old Itanium server vendors (e.g. IBM, SGI, Dell) have also
abandonded Itanium. It seems HP is still sticking with it and is, in
fact, has paid Intel over half a billion USD to keep it alive -- small
wonder HP is circling the drain.
^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~2012-09-15 13:50 UTC | newest]
Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-14 23:33 [gentoo-user] How do I determine the processor type? felix
2012-09-14 23:45 ` Kerin Millar
2012-09-15 0:04 ` felix
2012-09-15 0:26 ` Kerin Millar
2012-09-15 0:32 ` felix
2012-09-15 2:42 ` Dale
2012-09-15 3:21 ` felix
2012-09-15 4:28 ` Dale
2012-09-15 5:05 ` [gentoo-user] How do I determine the processor type? -- grub2 comments G.Wolfe Woodbury
2012-09-15 6:45 ` felix
2012-09-15 13:32 ` [gentoo-user] Re: How do I determine the processor type? Grant Edwards
2012-09-15 13:48 ` Grant Edwards
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox