Skip to contentSkip to conversation

amd64 questions

DISCUSSION Andi Kleen 3 participants 3 messages Apr 7, 2004 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

Andi Kleen

author
#1 lore raw
Quoted 2 lines · Bryan Koschmann - GKT

I've spent the past week trying to find a full answer on amd64 support. Maybe I'm just not understanding it, but all I can find are debian howtos.

Debian seems to have some unique problems in the way they handle AMD64 compared to other distributions. I would not trust what you read there, they make it much more complicated than it really is. The right forum would have been [email protected]

Quoted 3 lines

I'm running 2.4.25 on slack 9.1. I was assuming I could simply recompile the kernel for the amd64, and then whatever other bits of software I wanted specifically to run at 64bit, but it's not seeming that way.

It's that way. You just need a 64bit capable cross compiler to compile the kernel, which is not that difficult to build from sources. You can also find binaries for that at ftp://ftp.suse.com/pub/suse/x86_64/supplementary/CrossTools/8.1-i386/ (usable with rpm2cpio on non RPM distributions). Then you can cross compile the kernel in the normal way with
make ARCH=x86_64 CROSS_COMPILE=x86_64-linux-

A few programs (namely iptables and ipsec tools) need to be used as 64bit programs because the 32bit emulation doesn't work for them. ipchains works though.

Quoted 2 lines

Should 2.4.25 be able to run 64bit, or are is it more of an all or nothing type thing?

2.4.25 supports 64bit just fine.

-Andi

#2 lore raw
Quoted 3 lines · Andi Kleen

A few programs (namely iptables and ipsec tools) need to be used as 64bit programs because the 32bit emulation doesn't work for them. ipchains works though.

I seem to recall reading that the DM based programs also need to be 64 bit, since their 32 bit stuff was also broken?

The question I have is whether or not this is a kernel bug that should be fixed? As I understand the DM case, fixing it so that 32bit works, then breaks the 64bit interfaces, requiring re-compiles of the DM programs.

Cheers,
Paul

#3 lore raw
In reply to Andi Kleen
Quoted 4 lines · Andi Kleen

Debian seems to have some unique problems in the way they handle AMD64 compared to other distributions. I would not trust what you read there, they make it much more complicated than it really is. The right forum would have been [email protected]

I was hoping that was the case. I wouldn't think the only way would be so "rigged". I will check out the x86-64 list, thanks for that.

Quoted 7 lines

It's that way. You just need a 64bit capable cross compiler to compile the kernel, which is not that difficult to build from sources. You can also find binaries for that at ftp://ftp.suse.com/pub/suse/x86_64/supplementary/CrossTools/8.1-i386/ (usable with rpm2cpio on non RPM distributions). Then you can cross compile the kernel in the normal way with
make ARCH=x86_64 CROSS_COMPILE=x86_64-linux-

Great, much better than I had hoped. I always build from source, I'm guessing I can find something on freshmeat.

Quoted 3 lines

A few programs (namely iptables and ipsec tools) need to be used as 64bit programs because the 32bit emulation doesn't work for them. ipchains works though.

Okay, thanks for the tip, that probably would have gotten me when I started installing.

Thanks for all the information Andi, it was extremely helpful!

Bryan