Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
gentoo on sandy bridge
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
onelove
Tux's lil' helper
Tux's lil' helper


Joined: 19 Dec 2004
Posts: 143
Location: Bielefeld, Germany

PostPosted: Fri Jan 21, 2011 10:09 am    Post subject: gentoo on sandy bridge Reply with quote

dear community,

does anyone of you have tips for installing gentoo on a sandy bridge architecture? if someone has already installed gentoo on such a setup, it would be helpful to have information about it. like what cflags you used, or if special kernel configs are needed to run the system properly. i will post my progress (hopefully) here too.

kind regards,
onelove
Back to top
View user's profile Send private message
selberbauer
Apprentice
Apprentice


Joined: 20 Dec 2010
Posts: 276

PostPosted: Fri Jan 21, 2011 1:12 pm    Post subject: Reply with quote

@onelove
also im prinzip musst du nur die Grafik im kernel wie bei vorherigen Intel Grafik"karten" aktivieren, ansonsten sind da keine weitere einstellungen nötig, da diese ja der system agent aka frühere uncore alles andere reguliert

best regards
Back to top
View user's profile Send private message
onelove
Tux's lil' helper
Tux's lil' helper


Joined: 19 Dec 2004
Posts: 143
Location: Bielefeld, Germany

PostPosted: Fri Jan 21, 2011 1:56 pm    Post subject: Reply with quote

@selberbauer

i finished the physical construction process this night. now i am typing from work. i immediatly started to boot from 11.01.2011-livecd iso, but it didnt work - it stopped right after decompressing the iso and before loading the kernel. ubuntu 10.10 i386 worked. so i think i will install from within ubuntu-live.

regards,
onelove

€1: i dont need the built-in graphics. i will use discrete graphics. btw, is there an option to deactivate the cpu-internal graphics? i dont find anything like that on my efi-bios for a p8p67 pro.
Back to top
View user's profile Send private message
TiccTech
n00b
n00b


Joined: 13 Jun 2004
Posts: 42
Location: Oregon, US

PostPosted: Fri Jan 21, 2011 7:33 pm    Post subject: Reply with quote

Quote:
is there an option to deactivate the cpu-internal graphics? i dont find anything like that on my efi-bios for a p8p67 pro


My understanding is that the P67 chipset only supports external graphics, so it would make sense that the bios wouldn't have any options for the internal graphics. My Sandy Bridge system has the H67 chipset, which supports both internal and external graphics, and the bios does have options for that.

On the install question: I didn't do a fresh install; I just upgraded CPU/RAM/mobo and booted from existing Gentoo install on the HD. This worked OK, though I'm still tweaking the kernel to get various hardware working, and I haven't been able to get X working at all on the CPU-native graphics, so if anyone has hints on that I'd appreciate it.

-TiccTech
Back to top
View user's profile Send private message
onelove
Tux's lil' helper
Tux's lil' helper


Joined: 19 Dec 2004
Posts: 143
Location: Bielefeld, Germany

PostPosted: Fri Jan 21, 2011 8:04 pm    Post subject: Reply with quote

@selberbauer:
my nic is working:
Quote:
00:19.0 Ethernet controller: Intel Corporation 82579V Gigabit Network Connection (rev 04)
Subsystem: ASUSTeK Computer Inc. Device 849c
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0
Interrupt: pin A routed to IRQ 45
Region 0: Memory at fa300000 (32-bit, non-prefetchable) [size=128K]
Region 1: Memory at fa324000 (32-bit, non-prefetchable) [size=4K]
Region 2: I/O ports at f040 [size=32]
Capabilities: [c8] Power Management version 2
Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA PME(D0+,D1-,D2-,D3hot+,D3cold+)
Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=1 PME-
Capabilities: [d0] MSI: Enable+ Count=1/1 Maskable- 64bit+
Address: 00000000fee1000c Data: 41a1
Capabilities: [e0] PCI Advanced Features
AFCap: TP+ FLR+
AFCtrl: FLR-
AFStatus: TP-
Kernel driver in use: e1000e
Kernel modules: e1000e


@TiccTech:
thx. regarding your question:
i just found this source. perhaps it helps you further on:
http://www.phoronix.com/scan.php?page=article&item=intel_sandy_breaks&num=1
but since i don't use the internal graphics, i don't know any more. sry :-(.

regards,
onelove
Back to top
View user's profile Send private message
onelove
Tux's lil' helper
Tux's lil' helper


Joined: 19 Dec 2004
Posts: 143
Location: Bielefeld, Germany

PostPosted: Fri Jan 21, 2011 8:10 pm    Post subject: Reply with quote

lspci -vv

with lspci version 1.3.7. perhaps it helps someone. ignore the nvidia chip an the emu10k1 chip. the rest is from a p8p67 pro mobo, serving as the sandy brigde platform.

regards,
onelove
Back to top
View user's profile Send private message
TiccTech
n00b
n00b


Joined: 13 Jun 2004
Posts: 42
Location: Oregon, US

PostPosted: Fri Jan 21, 2011 8:29 pm    Post subject: Reply with quote

Quote:
i just found this source. perhaps it helps you further on:
http://www.phoronix.com/scan.php?page=article&item=intel_sandy_breaks&num=1

thx onelove -- excellent link.

-TiccTech
Back to top
View user's profile Send private message
Gusar
Advocate
Advocate


Joined: 09 Apr 2005
Posts: 2665
Location: Slovenia

PostPosted: Fri Jan 21, 2011 9:51 pm    Post subject: Reply with quote

TiccTech wrote:
I haven't been able to get X working at all on the CPU-native graphics, so if anyone has hints on that I'd appreciate it.

You need kernel 2.6.37, mesa 7.10 and xf86-video-intel 2.14 for the internal graphics.
Back to top
View user's profile Send private message
Luke-Jr
n00b
n00b


Joined: 28 Apr 2003
Posts: 33
Location: Jabber: luke@dashjr.org

PostPosted: Sat Jan 22, 2011 5:51 am    Post subject: Reply with quote

FWIW, Sandy Bridge i5-2400 working here very well, including the GPU (which blows away my last desktop's Radeon for 2D, VA-API, and 3D).

Keyworded packages:

=media-libs/mesa-7.10*
=x11-drivers/xf86-video-intel-2.14*
=sys-kernel/git-sources-2.6.38*
=sys-kernel/gentoo-sources-2.6.37*
=x11-libs/libva-1.0.7*

=x11-libs/libdrm-2.4.23*


I think we need GCC 4.6 before we get real CPU optimizations? I'm using -march=core2 for now.
Back to top
View user's profile Send private message
TiccTech
n00b
n00b


Joined: 13 Jun 2004
Posts: 42
Location: Oregon, US

PostPosted: Mon Jan 24, 2011 4:37 am    Post subject: Reply with quote

Thanks Gusar, Luke-Jr!

X on CPU-native is working pretty well for me now, though I couldn't find any libva beyond version 0.31.

I had some problems with -march=native; I'm currently recompiling with no -march at all, to be conservative.

-TiccTech
Back to top
View user's profile Send private message
Luke-Jr
n00b
n00b


Joined: 28 Apr 2003
Posts: 33
Location: Jabber: luke@dashjr.org

PostPosted: Mon Jan 24, 2011 5:03 am    Post subject: Reply with quote

Check Gentoo Bugzilla for recent libva
Back to top
View user's profile Send private message
onelove
Tux's lil' helper
Tux's lil' helper


Joined: 19 Dec 2004
Posts: 143
Location: Bielefeld, Germany

PostPosted: Mon Jan 24, 2011 7:37 am    Post subject: Reply with quote

@TiccTech,

problems with -match=native is not good. i did compile with -march=native and had no problems at all. what kind of problems you have?

regards,
onelove
Back to top
View user's profile Send private message
Luke-Jr
n00b
n00b


Joined: 28 Apr 2003
Posts: 33
Location: Jabber: luke@dashjr.org

PostPosted: Mon Jan 24, 2011 2:29 pm    Post subject: Reply with quote

-march=native only makes sense when GCC knows your CPU, which it won't for SB until 4.6
Back to top
View user's profile Send private message
onelove
Tux's lil' helper
Tux's lil' helper


Joined: 19 Dec 2004
Posts: 143
Location: Bielefeld, Germany

PostPosted: Mon Jan 24, 2011 2:44 pm    Post subject: Reply with quote

i thought it detects cpu features over knowing specific cpu features. so i was mistaken. i did not want to irritate. sry.
Back to top
View user's profile Send private message
Luke-Jr
n00b
n00b


Joined: 28 Apr 2003
Posts: 33
Location: Jabber: luke@dashjr.org

PostPosted: Mon Jan 24, 2011 2:46 pm    Post subject: Reply with quote

onelove wrote:
i thought it detects cpu features over knowing specific cpu features. so i was mistaken. i did not want to irritate. sry.
It's possible, I suppose... But at least -mtune requires more intimate CPU knowledge that can be autodetected.
Back to top
View user's profile Send private message
josejuan.montiel
n00b
n00b


Joined: 01 Jul 2011
Posts: 15

PostPosted: Fri Jul 01, 2011 9:06 am    Post subject: Reply with quote

Hi,

last night i was installing fresh gentoo on: i3 2100T, because i want use the internal GPU...

Luke-Jr wrote:
FWIW, Sandy Bridge i5-2400 working here very well, including the GPU (which blows away my last desktop's Radeon for 2D, VA-API, and 3D).

Keyworded packages:

=media-libs/mesa-7.10*
=x11-drivers/xf86-video-intel-2.14*
=sys-kernel/git-sources-2.6.38*
=sys-kernel/gentoo-sources-2.6.37*
=x11-libs/libva-1.0.7*

=x11-libs/libdrm-2.4.23*


I think we need GCC 4.6 before we get real CPU optimizations? I'm using -march=core2 for now.


And i ask was mean "Keyworded packages" i'm new in gentoo (i'm debian squeeze, but think better support for sandy bridge in gentoo)...

I follow steps of hand book... only emerge this packect get support for sandy bridge (i3 2100T?)

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


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

PostPosted: Fri Jul 01, 2011 10:22 am    Post subject: Reply with quote

@josejuan.montiel,

Welcome to Gentoo. The concept of keywording is explained in the Handbook, Chapter 3: Mixing Software Branches.

- 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
disi
Veteran
Veteran


Joined: 28 Nov 2003
Posts: 1354
Location: Out There ...

PostPosted: Fri Jul 01, 2011 10:56 am    Post subject: Reply with quote

onelove wrote:
@TiccTech,

problems with -match=native is not good. i did compile with -march=native and had no problems at all. what kind of problems you have?

regards,
onelove


I just wanted to add to that... when I re-setup last week and used the -march=native, I got with several packages and programs illegal instructions which ended up in a non useable system (e.g. tar wouldn't work).

At the moment I use -march=core2, which works fine for me.

It was for me impossible to build a system with -march=native using the 060911 stage3 on my i7 Q2820 laptop.
_________________
Gentoo on Uptime Project - Larry is a cow
Back to top
View user's profile Send private message
josejuan.montiel
n00b
n00b


Joined: 01 Jul 2011
Posts: 15

PostPosted: Mon Jul 04, 2011 9:22 am    Post subject: Reply with quote

Hi,

John R. Graham wrote:
@josejuan.montiel,

Welcome to Gentoo. The concept of keywording is explained in the Handbook, Chapter 3: Mixing Software Branches.

- John


first, thanks for your answer, This help me to understant, how to use latest kerlnet "marked with ~" to try fully support to "sandy bride".

This is similar to "apt pinning" in debian :) now i understand...

But, the reason to continue this thread was my interest in get full support for graphics in i3 2100T chip... :)

Maybe, the better approx was open a new thread...
Back to top
View user's profile Send private message
josejuan.montiel
n00b
n00b


Joined: 01 Jul 2011
Posts: 15

PostPosted: Mon Jul 04, 2011 9:40 am    Post subject: Reply with quote

josejuan.montiel wrote:
Hi,

But, the reason to continue this thread was my interest in get full support for graphics in i3 2100T chip... :)

Maybe, the better approx was open a new thread...


This is the new thread... https://forums.gentoo.org/viewtopic-p-6743358.html#6743358

Thanks again.
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