Hello all,<br><br>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.<br>
here're the methods i found:<br><br>1. cupid, which gives the following info:<br><br> eax in eax ebx ecx edx<br>00000000 00000005 756e6547 6c65746e 49656e69<br>00000001 00000f34 00020800 0000441d bfebfbff
<br>00000002 605b5001 00000000 00000000 007c7040<br>00000003 00000000 00000000 00000000 00000000<br>00000004 00004121 01c0003f 0000001f 00000000<br>00000005 00000040 00000040 00000000 00000000<br>80000000 80000008 00000000 00000000 00000000
<br>80000001 00000000 00000000 00000000 00000000<br>80000002 20202020 20202020 20202020 6e492020<br>80000003 286c6574 50202952 69746e65 52286d75<br>80000004 20342029 20555043 30342e33 007a4847<br>80000005 00000000 00000000 00000000 00000000
<br>80000006 00000000 00000000 04006040 00000000<br>80000007 00000000 00000000 00000000 00000000<br>80000008 00002024 00000000 00000000 00000000<br><br>Vendor ID: "GenuineIntel"; CPUID level 5<br><br>Intel-specific functions:
<br>Version 00000f34:<br>Type 0 - Original OEM<br>Family 15 - Pentium 4<br>Extended family 0<br>Model 3 - <br>Stepping 4<br>Reserved 0<br><br>Extended brand string: " Intel(R) Pentium(R) 4 CPU 3.40GHz"
<br>CLFLUSH instruction cache line size: 8<br>Hyper threading siblings: 2<br><br>Feature flags bfebfbff:<br>FPU Floating Point Unit<br>VME Virtual 8086 Mode Enhancements<br>DE Debugging Extensions<br>PSE Page Size Extensions
<br>TSC Time Stamp Counter<br>MSR Model Specific Registers<br>PAE Physical Address Extension<br>MCE Machine Check Exception<br>CX8 COMPXCHG8B Instruction<br>APIC On-chip Advanced Programmable Interrupt Controller present and enabled
<br>SEP Fast System Call<br>MTRR Memory Type Range Registers<br>PGE PTE Global Flag<br>MCA Machine Check Architecture<br>CMOV Conditional Move and Compare Instructions<br>FGPAT Page Attribute Table<br>PSE-36 36-bit Page Size Extension
<br>CLFSH CFLUSH instruction<br>DS Debug store<br>ACPI Thermal Monitor and Clock Ctrl<br>MMX MMX instruction set<br>FXSR Fast FP/MMX Streaming SIMD Extensions save/restore<br>SSE Streaming SIMD Extensions instruction set
<br>SSE2 SSE2 extensions<br>SS Self Snoop<br>HT Hyper Threading<br>TM Thermal monitor<br>31 reserved<br><br>TLB and cache info:<br>50: Instruction TLB: 4KB and 2MB or 4MB pages, 64 entries<br>5b: Data TLB: 4KB and 4MB pages, 64 entries
<br>60: unknown TLB/cache descriptor<br>40: No 2nd-level cache, or if 2nd-level cache exists, no 3rd-level cache<br>70: Trace cache: 12K-micro-op, 4-way set assoc<br>7c: 2nd-level cache: 1MB, 8-way set assoc, sectored, 64 byte line size
<br>Processor serial: 0000-0F34-0000-0000-0000-0000<br><br>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?
<br><br>2. uname -m, which give the following message:<br><br>i686 (I vaguely recall that i386 and i686 are all 32 bit. )<br><br>3. cpuinfo, which gives:<br><br> description: Computer<br> width: 32 bits<br> *-core<br>
description: Motherboard<br> physical id: 0<br> *-memory<br> description: System memory<br> physical id: 0<br> size: 2027MB<br> *-cpu<br> product: Intel(R) Pentium(R) 4 CPU
3.40GHz<br> vendor: Intel Corp.<br> physical id: 1<br> bus info: cpu@0<br> version: 15.3.4<br> serial: 0000-0F34-0000-0000-0000-0000<br> size: 18EHz<br> width: 32 bits
<br> 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<br> configuration: id=0
<br><br>that seems pretty 32bit-ish to me. <br><br>so, which way is the correct one?<br><br><span style="font-weight: bold;">another question is about the logic CPU.</span><br><br>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?
<br><br><span style="font-weight: bold;">final question is about the mounting of USB mass storage device.</span><br><br>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)
<br><br>any idea what's going on with this device?<br><br>thanks.<br>