Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have a very silly question but I really need to know the answer
I'm not sure which one is the architecture of my processor. I suppose this information is very serious and maybe I already did it all wrong from the very begining when I installed SUSE 10.0!
Through YaST - Hardware - Hardware Information I see that the computer has two processors:
AMD Athlon(tm) 64 X2 Dual Core Processor 3800+
whos architecture is: i386
The problem is that I always had the impression their architecture is x86-64.
I checked the AMD website and the wikipedia(!) and if I'm not wrong the processors' architecture is AMD64 wich is equivalent to x86-64
It gets worse. I can't find my linux dvd or iso. At least I remember that every time I had to make a choice of arcitecture I chose x86-64
In case it's usefull my kernel is: 2.6.13-15.15-smp
An Athlon X2 will run both 64-bit or 32-bit versions of Linux. If you're not sure which you installed, try the command 'uname -a'. At the end of the information it prints should be something similar to either i686 or x86_64. Whichever it says is the version you've installed.
There are many differences, mostly due to memory space. The 64 bit architecture can handle larger amounts of data faster, but it does have drawbacks currently, like a lack of functioning flash for your web browser.
You installed for the i386 (which includes i686) architecture, so you will be unable to install packages for 86_64 architecture. Your processor is capable of using it, but your OS at present isn't.
The choice of using i386 or 86_64 is up to you. 86_64 is the way everything will be in a few years, but some people feel it isn't ready for desktop usage yet. 86_64 will get better and better as time goes on, and there are tricks to get around the issue with flash, like installing your browser in a 32 bit chroot, or other install tricks to get the browser to think it is running in a 32 bit mode.
I still have one question only. What kind of rpms should I be using to install programs? For example I need to install a statistical packet called R-Project. My distribution is SUSE 10.0 so there are rpm files for i586 and x86-64. I guess, from what JimBass said, that x86-64 is out of the question but what about i586? and in general what about all of i[3456]86 binaries?
Here's what I got from uname in a less obscure way this time:
uname -m [print the machine hardware name]
i686
uname -i [print the hardware platform]
i386
uname -m tells you that the cpu is capable of i686 performance (top of the scale for x86 family cpus).
uname -i tells you that the SuSE installation uses packages optimized for i386 (backward compatible to older machines with Intel 80-386 and compatible cpus).
To get the fullest use of your cpu, you would have to recompile every package for i686.
So, when it comes to package selection, the higher the x86 number, the better it can use the capabilities of your cpu; i.e., i586 is better than i386.
R-project doesn't offer source rpms any longer. But, you can get the rpm spec file from the download site in the SPECS folder, and get the source tarball from the download page.
Put the tarball in /usr/src/packages/SOURCES, and the spec file in /usr/src/packages/SPECS. Edit the spec file. Look for this:
%build -n R-%{version}
%ifos Linux
%ifarch i586
Change it to this:
%build -n R-%{version}
%ifos Linux
%ifarch i686
Then use rpmbuild to make your own binary rpm optimized for your machine.
Last edited by bigrigdriver; 03-27-2007 at 06:57 AM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.