1838469 Members
2977 Online
110126 Solutions
New Discussion

32 or 64 bit kernel??

 
SOLVED
Go to solution
Randy_9
Regular Advisor

32 or 64 bit kernel??

How do I determine if the kernel is executing in 64bit mode?. Can I tell via the kernel name or file attributes? I am using SuSE
Linux 2.4.17-SuSE.

Thanks,

Randy
7 REPLIES 7
Jairo Campana
Trusted Contributor

Re: 32 or 64 bit kernel??

with root execute:
#dmesg
see line vendor


legionx
Jairo Campana
Trusted Contributor

Re: 32 or 64 bit kernel??

with root execute:
#dmesg
see line vendor}

or

cat /proc/cpuinfo


legionx
Randy_9
Regular Advisor

Re: 32 or 64 bit kernel??

Jairo,

I may need some additional help to pinpoint what it is that tells me it is running in a 64bit mode. The command:

==> cat /proc/cpuinfo

gives me this:

vendor_id : IBM/S390
# processors : 2
bogomips per cpu: 688.12
processor 0: version = FF, identification = 09147E, machine = 2064
processor 1: version = FF, identification = 09147E, machine = 2064

And I am attaching the output from the "dmesg" command, because I still cannot tell?

Thanks,

Randy

Stuart Browne
Honored Contributor

Re: 32 or 64 bit kernel??

Unless you are running Itanium, high end SPARC or PA-RISC, you're 32 bit.
One long-haired git at your service...
Jon_87
Advisor
Solution

Re: 32 or 64 bit kernel??

Not true at all, he is running a VM on a ZED Series (aka S/390) from what it shows. There are many other CPUs out there FYI that are 64bit, like SuSE did some work on MIPS, Alpha, Sparc-64,and AMD Sledgehammer.

You need to be running SLES8-64bit kernel to take advantage of that CPU.

You should post a msg to the SuSE S-390 list or MARIST list for more info on Linux on a mainframe.

Regards,

Jon
Stuart Browne
Honored Contributor

Re: 32 or 64 bit kernel??

*nod* tru.. I was only thinking of the small subset of people. my apologies.

WIth the S/390, doesn't the VM emulate other processor types?

I've not had the opportunity to play with one, so I'm not sure what it is and is not capable of.(and I completely forgot that there's native linux stuff for it)..
One long-haired git at your service...
Randy_9
Regular Advisor

Re: 32 or 64 bit kernel??

Stuart/Jon,

Thank you both. Currently we do not have SuSE support, but I will try the other support group that you referenced. I appreciate all of your help.

Randy