Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Installation bugs
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
igmac
n00b
n00b


Joined: 06 Aug 2012
Posts: 5
Location: London, UK

PostPosted: Mon Aug 06, 2012 3:44 pm    Post subject: Installation bugs Reply with quote

Hi.

Trying Gentoo for the first time. I've been working through the documentation for installing and have hit two snags at the moment. I'm hoping somebody has an answer or preferably fix the installation instructions if they are at fault.

http://www.gentoo.org/doc/en/handbook/handbook-amd64.xml?part=1&chap=6

This section at the bottom says to edit /etc/portage/make.conf which does not exist. I did a search and found some reference to the website possibly being out of sync (ahead of) the code?

What appears to be the correct makefile is located at /etc/make.conf (all this naturally chrooted to /mnt/gentoo).

I modified this by adding "-march=native -fomit-frame-pointer" to CFLAGS, and adding MAKEOPTS="-j5". This is a 4 CPU machine as you will realise from the -j. To be precise, a VM under ESXi 5 on a HP server using dual Opteron Magny-Cours 8 core (6136) CPU's - ie, 16 cores in total. I passed 2 sockets with 2 cores each through to the server.

Being concerned that the make.conf would not be used in the incorrect location, I symlinked /etc/portage/make.conf back to /etc/make.conf (ln -s /etc/make.conf /etc/portage/make.conf)

Now I have what appears to be the second issue. I chose to "eselect profile set 12" (hardened/linux/amd64/no-multilib/selinux). Then following the instructions on the next page of the installation guide, I hit my second problem.

(btw, http://www.gentoo.org/doc/en/handbook/handbook-amd64.xml?part=1&chap=7#genkernel says to use --lvm2, but the source says that that is deprecated, and to use --lvm instead - so can somebody please update the docs there?)

When I ran "genkernel all", I noticed from 'top' that the -j5 seemed to be ignored. It appeared to be running with -j2.

Is this all to do with the make.conf issue? Any ideas?

Regards,

Ian.
Back to top
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 10261
Location: Somewhere over Atlanta, Georgia

PostPosted: Mon Aug 06, 2012 3:57 pm    Post subject: Reply with quote

@igmac, Welcome to Gentoo. :)

Yes, the documentation is leading the implementation a little bit. The change was made to Portage and the Handbook documentation updated, but the Gentoo Release Engineering Catalyst tool (which makes the stage tarballs) has not yet been updated.

Not to worry: make.conf will be recognized from either /etc (the traditional, now legacy location) or /etc/portage (the new location); no need for the symlink. Genkernel is not part of Portage and thus does not use /etc{,/portage}/make.conf. There is a MAKEOPTS variable in /etc/genkernel.conf, though, which you can set.

Since Gentoo is an all volunteer community, it's helpful if, as you find issues, you report them on Gentoo Bugzilla.

- John
_________________
I can confirm that I have received between 0 and 499 National Security Letters.


Last edited by John R. Graham on Tue Aug 07, 2012 11:36 am; edited 2 times in total
Back to top
View user's profile Send private message
igmac
n00b
n00b


Joined: 06 Aug 2012
Posts: 5
Location: London, UK

PostPosted: Mon Aug 06, 2012 4:36 pm    Post subject: Reply with quote

John R. Graham wrote:
@igmac, Welcome to Gentoo. :)
Thanks!
John R. Graham wrote:
Since Gentoo is an all volunteer community, it's helpful if, as you find issues, you report them on Gentoo Bugzilla.
I'll do that. Being brand new here I'll stick to the forums for a little while rather than jump in logging bugs which may be a figment of my imagination. I'll go log this one though, as you've confirmed it needs an edit.

Is the site wikipedia like, ie, I can submit a recommended edit? Seems more useful if I do a tad more than just say there's a bug, but actually fix it myself where possible instead of loading somebody else :-)
Back to top
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 10261
Location: Somewhere over Atlanta, Georgia

PostPosted: Mon Aug 06, 2012 4:44 pm    Post subject: Reply with quote

It's absolutely encouraged to propose corrected text, but, no, there's no Wiki-like submission process for edits.

- John
_________________
I can confirm that I have received between 0 and 499 National Security Letters.
Back to top
View user's profile Send private message
igmac
n00b
n00b


Joined: 06 Aug 2012
Posts: 5
Location: London, UK

PostPosted: Tue Aug 07, 2012 10:40 am    Post subject: Reply with quote

John R. Graham wrote:
the documentation is lagging the implementation a little bit. Not to worry: make.conf will be recognized from either /etc (the traditional, now legacy location) or /etc/portage (the new location)
You have me confused now that I'm re-reading your reply properly as I was about to submit the bug.

It seems that the documentation is leading the implementation? The documentation in fact refers to the new location. The stage3 tarball however has make.conf in the legacy location.

Or did you mistakenly mix them around? Can you please just confirm for me which is in fact the legacy location? Because if it is as you wrote yesterday, then the bug is with the stage3 tarball, not the documentation.

Regards,

Ian.
Back to top
View user's profile Send private message
khayyam
Watchman
Watchman


Joined: 07 Jun 2012
Posts: 6228
Location: Room 101

PostPosted: Tue Aug 07, 2012 11:02 am    Post subject: Reply with quote

igmac ...

/etc/make.conf is legacy and /etc/portage/make.conf is the new location. As john stated either location will work, but there may be some discrepency between the documentation and the stage3 dependent on when the stage3 was created. I was under the impression that the stage3 is now using the new location, so I'm not sure why its not now inline with the current documentation.

best ... khay
Back to top
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 10261
Location: Somewhere over Atlanta, Georgia

PostPosted: Tue Aug 07, 2012 11:32 am    Post subject: Reply with quote

Sorry for the confusion. I realized I created an inconsistent statement, corrected above. I'm having a (slooow) conversation with the Release Engineering team right now on IRC to see how soon they're going to be able to get their Catalyst scripts updated.

- John
_________________
I can confirm that I have received between 0 and 499 National Security Letters.
Back to top
View user's profile Send private message
igmac
n00b
n00b


Joined: 06 Aug 2012
Posts: 5
Location: London, UK

PostPosted: Tue Aug 07, 2012 11:40 am    Post subject: Reply with quote

Thanks guys. I now know which section to log the 'bug' under. I am using stage3-amd64-20120621.tar.bz2 FYI, which was (and may still be) current last week.
Back to top
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 10261
Location: Somewhere over Atlanta, Georgia

PostPosted: Wed Aug 08, 2012 11:10 am    Post subject: Reply with quote

I've spoken with the Release Engineering team and been informed that the fix to Catalyst for this is going to be done soon.

- John
_________________
I can confirm that I have received between 0 and 499 National Security Letters.
Back to top
View user's profile Send private message
igmac
n00b
n00b


Joined: 06 Aug 2012
Posts: 5
Location: London, UK

PostPosted: Wed Aug 08, 2012 2:51 pm    Post subject: Reply with quote

Great. I'll not do that bug report then - which is great because I've been running around today like a headless chook.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum