You are not logged in.

#1 2011-08-30 21:06:46

t3ddy
Member
Registered: 2008-01-31
Posts: 12

linux-ck with SandyBridge and i686

@graysky
I've used the pkgbuild, makepkg.conf and config you suggested.
With my great surprise, this worked.

I really can't understand why and I don't remember if I've already tried to build the package using in KC(PP)FLAGS "-march=corei7-avx", because since Det has been able to compile this kernel on an AMD machine using CFLAGS with "-march=corei7-avx", then the only difference could came from this. Maybe it doesn't simply like "-march=native".
I don't think there's something substantially different in your config from the one I use.

Any other idea?

Offline

#2 2011-08-30 21:21:33

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,697
Website

Re: linux-ck with SandyBridge and i686

@t3ddy - you can vimdiff them.  I just can't believe that your problem is a function of march=native unless you discovered a bug in gcc for i686! 

Kind of off topic: with 8 GB of RAM, why not switch your system over to x86_64?

Last edited by graysky (2011-08-30 22:41:48)


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#3 2011-08-30 22:30:24

bernarcher
Forum Fellow
From: Germany
Registered: 2009-02-17
Posts: 2,281

Re: linux-ck with SandyBridge and i686

graysky,
please don't do this! No mammoth quotes.
Please edit your post. You should replace this stuff by a link back to the AUR if possible,


To know or not to know ...
... the questions remain forever.

Offline

#4 2011-08-31 08:31:42

t3ddy
Member
Registered: 2008-01-31
Posts: 12

Re: linux-ck with SandyBridge and i686

graysky wrote:

Kind of off topic: with 8 GB of RAM, why not switch your system over to x86_64?

Because switching to x86_64 I think is not completely harmless and I need the pc working well for an exam in the middle of september.
So, right now, switching to x86_64 is out of discussion.
Yes, I've been stupid not thinking to that when I installed Arch here, but by now the error has been made.

Anyway, I've tried another thing.
I've used your config and makepkg.conf, but I've modified the pkgbuild to use KC(PP)FLAGS with "-march=native".
Guess what?
The pc reboot continuously.

Offline

#5 2011-08-31 09:09:58

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: linux-ck with SandyBridge and i686

As for your decision to go with i686, 'switching' might be kind of annoying, but a clean install is absolutely painless. x86_64 works just fine, I installed like a month ago and it went surprisingly smooth (my first x86_64 installation).


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#6 2011-08-31 09:34:14

ghen
Member
From: Belgium
Registered: 2010-08-31
Posts: 124

Re: linux-ck with SandyBridge and i686

You can also install a x86_64 kernel and just keep your i686 userland.  Your system will then be able to use the full 8GB of memory (in total, but not in individual 32-bit applications).

You'll need to explicitly set "Architecture = i686" in /etc/pacman.conf though (and use "setarch linux32" when compiling things yourself).

Offline

#7 2011-08-31 12:36:31

t3ddy
Member
Registered: 2008-01-31
Posts: 12

Re: linux-ck with SandyBridge and i686

Now I can't do a clean install and I think I'll try to switch to x86_64 in the future, not to reinstall Arch.
To use all 8Gb of ram I simply set highmem to 64Gb in kernel config.

Offline

Board footer

Powered by FluxBB