LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 06-04-2010, 02:54 PM   #1
Martian Gnome
LQ Newbie
 
Registered: May 2010
Posts: 13

Rep: Reputation: 0
detecting correct machine type/processor


So I have been looking at things with the uname command and was wondering if you can install a system with 64/32 bit when it was actually not the one you installed (e.g. you install a 64 bit OS on a 32 bit comp).

I was basically wondering how to tell what type of hardware I actually have instead of what the Debian package installed. (In order to ensure that I am running the hardware the way it was designed.)

At the moment, I am looking at my processor (uname -p returns "unknown") and the machine build (uname -m returns i686).
 
Old 06-04-2010, 03:02 PM   #2
David the H.
Bash Guru
 
Registered: Jun 2004
Location: Osaka, Japan
Distribution: Debian sid + kde 3.5 & 4.4
Posts: 6,823

Rep: Reputation: 1949Reputation: 1949Reputation: 1949Reputation: 1949Reputation: 1949Reputation: 1949Reputation: 1949Reputation: 1949Reputation: 1949Reputation: 1949Reputation: 1949
uname reports on the OS you're running, not the hardware. So you'll need to look at a hardware information program to learn the exact nature of your processor. The major desktops have information tools, but for cli, check out lshw.

Anyway, if you have a 64bit cpu (assuming the common amd64-compatible type), then it should have a set of 32bit emulation extensions, allowing you to run a 32 bit OS instead if you want. But the reverse is not true. You can't run a 64bit OS or program on a 32 bit processor.
 
Old 06-04-2010, 05:55 PM   #3
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,647

Rep: Reputation: 524Reputation: 524Reputation: 524Reputation: 524Reputation: 524Reputation: 524
cat /proc/cpuinfo

if "lm" is in the flags, your CPU supports 64-bit mode
 
1 members found this post helpful.
Old 06-06-2010, 05:13 PM   #4
Martian Gnome
LQ Newbie
 
Registered: May 2010
Posts: 13

Original Poster
Rep: Reputation: 0
hmm, thanks guys thats interesting to know about the backwards compatibility but not forwards.

I don't got any hardware tools so I gotta go looking for some. thanks guys.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Correct processor family for Pentium Dual Core T2390 smmurf Linux - General 5 02-23-2010 11:55 AM
Pls tell me which version is correct for Quad core processor Ashfaque_21 Linux - General 2 06-10-2008 02:00 AM
Processor type? C-Sniper Slackware 11 07-19-2007 08:27 PM
Correct type of RAM for P3 Phyrexicaid Linux - Hardware 4 01-30-2007 06:54 PM
Installing Linux on a dual processor machine (only one processor detected) rocordial Linux - Hardware 1 11-27-2004 02:16 AM


All times are GMT -5. The time now is 10:07 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration