AIX OS architecture calculation wrong

(imported topic written by MattPeterson)

I think I found a bug in determining the OS architecture for AIX systems. Has anyone else seen this?

The system I found the issue on is AIX 5300-12-02-1036 running IEM 9.0.787

The TEM processor inspector returns 64bit

Q: architecture of operating system

A: ppc64

However, if I run bootinfo from the OS it tells me it’s 32bit…

#bootinfo -K

32

Using the getconf command I can see the kernel_bitmode (OS) is 32bit and the hardware_bitmode (processor) is 64bit.

#getconf KERNEL_BITMODE

32

#getconf HARDWARE_BITMODE

64

So it appears that IEM is displaying the processor architecture instead of the OS architecture as it implies…

(imported comment written by liuhoting)

Just to follow up, this has become a bug in our internal tracking system. There’s a patch in the works for this problem but I’m not sure about the timeframe yet.

(imported comment written by MattPeterson)

Can you please provide an update on this bug?

Thank you!