questions on 32 or 64 bit CPU etc

Zhengguo Xu tworiversfolk at gmail.com
Wed Jan 16 22:33:44 UTC 2008


Hello all,

anyone know how to determine, in Linux, if one's CPU is 32 or 64 bit ? i
googled a bit and found several ways to do but it seems they contradicted
each other and there's no clear explanation.
here're the methods i found:

1. cupid, which gives the following info:

 eax in    eax      ebx      ecx      edx
00000000 00000005 756e6547 6c65746e 49656e69
00000001 00000f34 00020800 0000441d bfebfbff
00000002 605b5001 00000000 00000000 007c7040
00000003 00000000 00000000 00000000 00000000
00000004 00004121 01c0003f 0000001f 00000000
00000005 00000040 00000040 00000000 00000000
80000000 80000008 00000000 00000000 00000000
80000001 00000000 00000000 00000000 00000000
80000002 20202020 20202020 20202020 6e492020
80000003 286c6574 50202952 69746e65 52286d75
80000004 20342029 20555043 30342e33 007a4847
80000005 00000000 00000000 00000000 00000000
80000006 00000000 00000000 04006040 00000000
80000007 00000000 00000000 00000000 00000000
80000008 00002024 00000000 00000000 00000000

Vendor ID: "GenuineIntel"; CPUID level 5

Intel-specific functions:
Version 00000f34:
Type 0 - Original OEM
Family 15 - Pentium 4
Extended family 0
Model 3 -
Stepping 4
Reserved 0

Extended brand string: "              Intel(R) Pentium(R) 4 CPU 3.40GHz"
CLFLUSH instruction cache line size: 8
Hyper threading siblings: 2

Feature flags bfebfbff:
FPU    Floating Point Unit
VME    Virtual 8086 Mode Enhancements
DE     Debugging Extensions
PSE    Page Size Extensions
TSC    Time Stamp Counter
MSR    Model Specific Registers
PAE    Physical Address Extension
MCE    Machine Check Exception
CX8    COMPXCHG8B Instruction
APIC   On-chip Advanced Programmable Interrupt Controller present and
enabled
SEP    Fast System Call
MTRR   Memory Type Range Registers
PGE    PTE Global Flag
MCA    Machine Check Architecture
CMOV   Conditional Move and Compare Instructions
FGPAT  Page Attribute Table
PSE-36 36-bit Page Size Extension
CLFSH  CFLUSH instruction
DS     Debug store
ACPI   Thermal Monitor and Clock Ctrl
MMX    MMX instruction set
FXSR   Fast FP/MMX Streaming SIMD Extensions save/restore
SSE    Streaming SIMD Extensions instruction set
SSE2   SSE2 extensions
SS     Self Snoop
HT     Hyper Threading
TM     Thermal monitor
31     reserved

TLB and cache info:
50: Instruction TLB: 4KB and 2MB or 4MB pages, 64 entries
5b: Data TLB: 4KB and 4MB pages, 64 entries
60: unknown TLB/cache descriptor
40: No 2nd-level cache, or if 2nd-level cache exists, no 3rd-level cache
70: Trace cache: 12K-micro-op, 4-way set assoc
7c: 2nd-level cache: 1MB, 8-way set assoc, sectored, 64 byte line size
Processor serial: 0000-0F34-0000-0000-0000-0000

since i'm a newbie i have no idea what this means (is it 64bit?). in ubuntu
forum sb. post the output of his cpuid and others can tell immediatly that
his cpu was 32 or 64 bit. which line should i look into?

2. uname -m, which give the following message:

i686 (I vaguely recall that i386 and i686 are all 32 bit. )

3. cpuinfo, which gives:

 description: Computer
    width: 32 bits
  *-core
       description: Motherboard
       physical id: 0
     *-memory
          description: System memory
          physical id: 0
          size: 2027MB
     *-cpu
          product: Intel(R) Pentium(R) 4 CPU 3.40GHz
          vendor: Intel Corp.
          physical id: 1
          bus info: cpu at 0
          version: 15.3.4
          serial: 0000-0F34-0000-0000-0000-0000
          size: 18EHz
          width: 32 bits
          capabilities: fpu fpu_exception wp vme de pse tsc msr pae mce cx8
apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss
ht tm pbe constant_tsc pni monitor ds_cpl cid xtpr
          configuration: id=0

that seems pretty 32bit-ish to me.

so, which way is the correct one?

another question is about the logic CPU.

in hardware information i saw 2 CPUs but of course i only had one. can
anyone tell me what's that means, or, for saving you guys time, point me a
website so that i can learn more about it?

final question is about the mounting of USB mass storage device.

Ubuntu usu. recognize external USB driver as soon as it was plugged in as in
the case of 2 of my Iomega USB drivers (500GB and 200GB) however, iomega
300GB doesn't work at all. and i can not find it in /dev (i guess it should
appears as sdc or sdd etc like the other two.) therefore i couldn't mount
it. (neither it was recognized in Windows XP. I had duo-booting setup on my
HP desktop)

any idea what's going on with this device?

thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20080116/e77ce9f4/attachment.html>


More information about the ubuntu-users mailing list