[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Switching from Debian i386 to AMD64



On 2017-07-04 20:19 +0200, Dejan Jocic wrote:

> On 04-07-17, Sven Joachim wrote:
>> On 2017-07-04 17:33 +0200, Dejan Jocic wrote:
>> >
>> > Several. To see your cpu, type lscpu. Architecture is first in output.
>> 
>> That's not correct, or at least not useful.  The architecture is what
>> uname(2) reports, and if the system is currently running a 32-bit
>> kernel, it will be "i686" no matter if the processor is 64-bit capable.
>> 
>> The information about the latter is in the "Flags:" field of the lscpu
>> output.  If it contains the "lm" (for "long mode[1]") flag, you have an
>> x86_64 processor.
>
> Thank you for correction. But what about second field in output, where
> you have CPU op-mode? Should it be both 32-bit and 64-bit for 64-bit
> capable and just 32-bit for i686?

Most likely.  Definitely the former, cannot test the latter without
digging out my old laptop from 2006 which is the only 32-bit x86 machine
I own.

Cheers,
       Sven


Reply to: