cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
anoorva
Level 2

Check System Architecture not matching Linux 64-bit

My installer, developed using IA 2008 VP1 has some specific work for Linux 32 and 64 bit.
I used the Rule Check System Architecture.
On one SUSE Linux 11 64-bit, it is always matching to Intel 32-bit (x86, IA-32, i386).

I tried following commands to check machine details:
uname -i
x86_64
getconf WORD_BIT
32
cat /proc/cpuinfo
it says:
model name : Intel(R) Xeon(R) CPU 5160 @ 3.00GHz
uname -a
Linux abc 2.6.27.19-5-default #1 SMP 2009-02-28 04:40:21 +0100 x86_64
x86_64 x86_64 GNU/Linux

All above commands shows system is running 64-bit kernel.

What is getting wrong? Is Check System Architecture capable to detect Linux 64-bit?:
Labels (1)
0 Kudos
(1) Reply
nosrednayduj
Level 7

I use getconf LONG_BIT and it returns 64. Specifically, I wrote some custom code to check for 64 bits, and this is what it does on linux. On solaris it calls the command isainfo -b. On windows it checks PROCESSOR_ARCHITECTURE and PROCESSOR_ARCHITEW6432. Then in my rule, I say things like Check Platform Linux AND Check 64 bits.
0 Kudos