Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
illegal instruction using chroot on i7-2600
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
svoop
n00b
n00b


Joined: 11 Jan 2009
Posts: 63

PostPosted: Mon Nov 05, 2012 9:16 am    Post subject: illegal instruction using chroot on i7-2600 Reply with quote

Hi

I've installed Gentoo on a i7-2600 (sandy bridge) as Xen dom0 and now try to install a Gentoo domU.

After having downloaded and unpacked stage3 and portage to the domU partition, I've tried:

Code:
mount -t proc none /mnt/dom1-tango/proc
mount -o bind /dev /mnt/dom1-tango/dev
chroot /mnt/dom1-tango /bin/bash
Illegal instruction


The chroot binary was compiled with the following settings in make.conf (I'm on GCC 4.5.4 p1.0):

Code:
CHOST="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -msse4.1 -msse4.2 -mtune=generic -O2 -pipe"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j3"


I've also tried without "-msse4.1 -msse4.2", same result. And the precompiled binary from stage3 fails as well.

Here's the cpuinfo:

Code:
processor   : 7
vendor_id   : GenuineIntel
cpu family   : 6
model      : 42
model name   : Intel(R) Core(TM) i7-2600 CPU @ 3.40GHz
stepping   : 7
microcode   : 0x1a


Any idea what's wrong here?

Thanks a bunch for your help!
Back to top
View user's profile Send private message
cach0rr0
Bodhisattva
Bodhisattva


Joined: 13 Nov 2008
Posts: 4123
Location: Houston, Republic of Texas

PostPosted: Tue Nov 06, 2012 6:52 am    Post subject: Reply with quote

what's the exact link to the stage3 tarball you used?
_________________
Lost configuring your system?
dump lspci -n here | see Pappy's guide | Link Stash
Back to top
View user's profile Send private message
svoop
n00b
n00b


Joined: 11 Jan 2009
Posts: 63

PostPosted: Tue Nov 06, 2012 7:48 am    Post subject: Reply with quote

cach0rr0 wrote:
what's the exact link to the stage3 tarball you used?


ftp://mirror.switch.ch/mirror/gentoo/releases/amd64/current-stage3/stage3-amd64-20121013.tar.bz2

I've used the same stage3 to install the dom0 without any problem.
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