Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Amd 64
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
netcelli
Apprentice
Apprentice


Joined: 29 Nov 2005
Posts: 169

PostPosted: Sun Mar 12, 2006 5:41 pm    Post subject: Amd 64 Reply with quote

I have to install on a server Gentoo 2004.3 (I can't have the last release beacuse company of server uses only this version) but on CD-Rom there isn't stage3 for AMD 64 but only for x86 and Pentium. So I'm trying to search it in ftp mirror of gentoo but nothing. :?
How can I do?
Pls HELP ME
Thank u very much for your help ;)
Back to top
View user's profile Send private message
nixnut
Bodhisattva
Bodhisattva


Joined: 09 Apr 2004
Posts: 10974
Location: the dutch mountains

PostPosted: Sun Mar 12, 2006 6:00 pm    Post subject: Reply with quote

The amd64 stage file is on the amd64 cd. You seem to have an x86 cd which is 32-bit only. The amd64 cd has 64-bit stuff.
Here are old stage files for amd64 2004.3 http://gentoo.osuosl.org/releases/historical/amd64/2004.3/stages/
_________________
Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered

talk is cheap. supply exceeds demand
Back to top
View user's profile Send private message
netcelli
Apprentice
Apprentice


Joined: 29 Nov 2005
Posts: 169

PostPosted: Sun Mar 12, 2006 6:08 pm    Post subject: Reply with quote

K done... thx very much; you are the best :P
But an other problem: I'm reading about CFLAGS and CXXFLAGS and i don't understand if I have to set up this variable:

Quote:

# AMD64 users who want to use a native 64 bit system should not use athlon-xp
-march=athlon-xp

What means native 64-bit system?
Tha very much :D
Back to top
View user's profile Send private message
furkan
Guru
Guru


Joined: 11 Dec 2003
Posts: 520
Location: Montreal CA

PostPosted: Sun Mar 12, 2006 6:24 pm    Post subject: Reply with quote

after what I know, native amd64 means that your system is full amd64,all librairies are 64 bit, and not 32 bit, but it could have emulation for 32 bit... For the CFLAGS, i suggest you -march=k8.
_________________
DELL Inspiron 1501
Back to top
View user's profile Send private message
netcelli
Apprentice
Apprentice


Joined: 29 Nov 2005
Posts: 169

PostPosted: Sun Mar 12, 2006 6:36 pm    Post subject: Reply with quote

So if I want 64 bit and 32 bit system I have to use CFLAGS="-march=athlon-xp -pipe -O2"?
Back to top
View user's profile Send private message
furkan
Guru
Guru


Joined: 11 Dec 2003
Posts: 520
Location: Montreal CA

PostPosted: Sun Mar 12, 2006 6:40 pm    Post subject: Reply with quote

No not really, you could use 32 bit programs with a native 64 bit using emulation. So you can also use that
Quote:
CFLAGS="-march=k8 -pipe -O2"

But you can`t use 64 bit programs with 32 bit system, so,after what I know, you shouldn`t use -march=athlon-xp.
_________________
DELL Inspiron 1501
Back to top
View user's profile Send private message
sirdilznik
l33t
l33t


Joined: 28 Apr 2005
Posts: 731

PostPosted: Sun Mar 12, 2006 6:42 pm    Post subject: Reply with quote

netcelli wrote:
So if I want 64 bit and 32 bit system I have to use CFLAGS="-march=athlon-xp -pipe -O2"?


No those would be for a 32-bit system.
Try these:
Code:
CFLAGS="-march=k8 -O2 -pipe -fno-ident"
CHOST="x86_64-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j2"


As for having 32-bit libraries, that's got nothing to do with the -march= keyword, that's enabled by multilib (which is enabled by default).
EDIT: beat me to it :wink:
Back to top
View user's profile Send private message
netcelli
Apprentice
Apprentice


Joined: 29 Nov 2005
Posts: 169

PostPosted: Sun Mar 12, 2006 7:19 pm    Post subject: Reply with quote

Now I can't go on
livecd gentoo # chroot /mnt/gentoo /bin/bash
chroot: cannot run command `/bin/bash': Exec format error
:cry:
Back to top
View user's profile Send private message
mdeininger
Veteran
Veteran


Joined: 15 Jun 2005
Posts: 1740
Location: Emerald Isles, observing Dublin's docklands

PostPosted: Sun Mar 12, 2006 7:22 pm    Post subject: Reply with quote

did you try to get an amd64 install disk instead of your x86 one?
_________________
"Confident, lazy, cocky, dead." -- Felix Jongleur, Otherland

( Twitter | Blog | GitHub )
Back to top
View user's profile Send private message
netcelli
Apprentice
Apprentice


Joined: 29 Nov 2005
Posts: 169

PostPosted: Sun Mar 12, 2006 7:25 pm    Post subject: Reply with quote

Company gives me this disk but I use stage3 for amd64bit downloaded from internet; is this the problem?
Back to top
View user's profile Send private message
mdeininger
Veteran
Veteran


Joined: 15 Jun 2005
Posts: 1740
Location: Emerald Isles, observing Dublin's docklands

PostPosted: Sun Mar 12, 2006 7:28 pm    Post subject: Reply with quote

It would seem so. If the kernel and everything outside the chroot is x86_32, it would seem logical that you can't run any amd64 binaries... =)
_________________
"Confident, lazy, cocky, dead." -- Felix Jongleur, Otherland

( Twitter | Blog | GitHub )
Back to top
View user's profile Send private message
netcelli
Apprentice
Apprentice


Joined: 29 Nov 2005
Posts: 169

PostPosted: Sun Mar 12, 2006 7:30 pm    Post subject: Reply with quote

So what can I do? :( If I restar the server I have to ask to company to start ssh service and give me a new password. No?
Back to top
View user's profile Send private message
mdeininger
Veteran
Veteran


Joined: 15 Jun 2005
Posts: 1740
Location: Emerald Isles, observing Dublin's docklands

PostPosted: Sun Mar 12, 2006 8:17 pm    Post subject: Reply with quote

uhm, yeah, probably... not to mention that you have to tell them to switch the boot-cd and all...

you could still do an x86_32 install...
_________________
"Confident, lazy, cocky, dead." -- Felix Jongleur, Otherland

( Twitter | Blog | GitHub )
Back to top
View user's profile Send private message
mianka
n00b
n00b


Joined: 30 Mar 2004
Posts: 64
Location: Leuven Belgium

PostPosted: Mon Mar 13, 2006 12:46 am    Post subject: Chroot does not work on AMD64 Reply with quote

This is definitely a bug.I got the same message and did a new install painstakingly following the manual.The same error keeps coming back.I am sure I installed the right files and made no mistakes .Two weeks ago Gentoo installed perfectly on this machine,so it is not the computer;Used "-march=k8" and current and latest.
Back to top
View user's profile Send private message
mianka
n00b
n00b


Joined: 30 Mar 2004
Posts: 64
Location: Leuven Belgium

PostPosted: Mon Mar 13, 2006 4:14 am    Post subject: Install probs Reply with quote

It was a bug ,but not in the sense I thought.Somehow the CD got damaged in use,did a new download from another server and it works 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