LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 07-31-2007, 09:55 AM   #1
miao.fan
LQ Newbie
 
Registered: Jul 2007
Posts: 4

Rep: Reputation: 0
Question How do I know the OS kernel is 32 bit or 64 bit?


Hello:

I Have an IBM PPC box with Red Hat installed. And I try to install an Oracle on this box, but it failed. After an investigation, I found Oracle required 64 bit OS. And I use "getconf LONG_BIT" which return 32.

$ getconf LONG_BIT
32

So I assume the OS is 32 bit. But our UNIX guy said it is 64 bit since "uname –a" return ppc64

$ uname -a
Linux xxxyyy 2.6.9-5.EL #1 SMP Wed Jan 5 19:23:58 EST 2005 ppc64 ppc64 ppc64 GNU/Linux

I know uname will returns "the machine hardware name", "the processor type" and "the hardware platform". Would it be equivalent with the "Kernel bit" we are usually talking about? Which is best way to tell the OS kernel bit on Linux? Could anyone advice it?

Thanks a lot!

Miao
 
Old 07-31-2007, 12:15 PM   #2
Agrouf
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: LFS
Posts: 1,596

Rep: Reputation: 80
cat /boot/config* | grep CONFIG_64BIT
 
Old 07-31-2007, 01:56 PM   #3
miao.fan
LQ Newbie
 
Registered: Jul 2007
Posts: 4

Original Poster
Rep: Reputation: 0
Thanks!

I got
CONFIG_64BIT=y

Then I have to assume it's 64 bit.

Guess I need to login a call with Oracle.


Thanks,
Miao
 
Old 07-31-2007, 02:10 PM   #4
Agrouf
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: LFS
Posts: 1,596

Rep: Reputation: 80
Maybe you lack some 64bit libraries?
64bit OS doesn't mean much to me. Your kernel is compiled with support for 64bit modules it seams but linux is the kernel not the OS.
You should try to track down what Oracle specific needs are.
 
Old 07-31-2007, 02:46 PM   #5
miao.fan
LQ Newbie
 
Registered: Jul 2007
Posts: 4

Original Poster
Rep: Reputation: 0
Talking Yep. You may right

Thanks Agrouf,

Yep, you may righ here.

I checked and I am not sure if the following packages, which required by Oracle 10GR2, was installed:
compat-libstdc++-33-3.2.3-47.3
libgcc-3.4.3-9.EL4.ppc64.rp
libaio-0.3.103-3 (64-Bit)
libaio-devel-0.3.103-3 (64-Bit)

The issue is I do not know how to check them. I executed the following:

# rpm -q libgcc
libgcc-3.4.6-3.1
libgcc-3.4.6-3.1

# rpm -q libaio
libaio-0.3.105-2

But I don know if "libgcc-3.4.6-3.1" is later version of "libgcc-3.4.3-9.EL4" or "libgcc-3.4.3-9.EL4.ppc64.rp"; or if "libaio-0.3.105-2" is the later version of "libaio-0.3.103-3" or "libaio-0.3.103-3 (64-Bit)"? Any advice?

Thanks a bunch!

Miao
 
Old 07-31-2007, 02:59 PM   #6
Agrouf
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: LFS
Posts: 1,596

Rep: Reputation: 80
try
rpm -q --queryformat='%{N}-%{V}-%{R}.%{arch}\n' libgcc

Last edited by Agrouf; 07-31-2007 at 03:16 PM.
 
Old 07-31-2007, 04:36 PM   #7
miao.fan
LQ Newbie
 
Registered: Jul 2007
Posts: 4

Original Poster
Rep: Reputation: 0
cool

cool stuffs.

Thanks a lot!

Miao
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
compiling 64 bit kernel in 32 bit linux MadnessASAP Linux - Hardware 6 05-04-2009 11:47 AM
Integrated 16-bit Sound Blaster Pro compatible audio 24-bit DAC jelgavchik Linux - Hardware 1 11-16-2006 05:31 PM
32 bit or 64 bit install - is 32 bit easier for a newbie? dms05 Linux - Newbie 3 05-19-2006 03:05 PM
32 bit kernel on 64 bit AMD machine dipsae Linux - Software 5 10-01-2004 10:03 AM
32-bit or 64-bit linux kernel ??? gsundeep Linux - General 2 04-24-2003 08:43 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 10:35 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration