Etch/Vmware Server/Wrong Mem/Proc?

Discussion in 'Installation/Configuration' started by tfunky, Jan 25, 2008.

  1. tfunky

    tfunky New Member

    Hi All,

    I have a new desktop that I just installed Etch on and vmware server 1.04.

    the box has an AMD Athlon™ 64 X2 Dual-Core Processor 5600+ and 3gb of ram.

    When I look in the bios it shows the correct processor and the correct amount of memory, but in the VMware MUI it shows only 1 processor and 1 gb or ram.

    I've reinstalled it again from scratch, including doing apt-get update, apt-get update, and apt-get dist-upgrade, reinstalled vmware server 1.04, but I still show the same thing.

    I'm not sure how to tell if the problem is in etch or if it's in vmware itself.

    I use etch/vmware 1.04 on other systems that are dual core without an issue.

    I've swapped out the RAM dimms in case they were bad, same issue.

    I get this from vmstat

    Code:
    procs -----------memory---------- ---swap-- -----io---- -system-- ----cpu----
     r  b   swpd   free   buff  cache   si   so    bi    bo   in   cs us sy id wa
     0  4  27552   9108    456 811624    9    4   383   257  501  424  0  3 37 60
    
    and top shows this:
    Code:
    top - 11:57:09 up 15:29,  1 user,  load average: 3.33, 3.30, 2.95
    Tasks:  61 total,   2 running,  59 sleeping,   0 stopped,   0 zombie
    Cpu(s):  0.0%us,  1.7%sy,  0.0%ni,  0.0%id, 97.7%wa,  0.0%hi,  0.7%si,  0.0%st
    Mem:    906776k total,   898508k used,     8268k free,     1264k buffers
    Swap:  2719736k total,    34428k used,  2685308k free,   816764k cached

    uname -a shows this:
    uname -a
    Code:
    Linux server 2.6.18-5-486 #1 Mon Dec 24 16:04:42 UTC 2007 i686 GNU/Linux
    Those are all the commands I can think of that would be helpful, but I'm still a noob.

    Can someone please help me figure out what's going on?

    Thanks!

    Tfunk
     
  2. unclecameron

    unclecameron New Member

    Htop is a little better application than Top, it will show you more. If you install Xen and it sees everything that will tell you if it's a VMware issue or not. You can always vi /boot/grub/menu.1st and change your kernel back to non-xen when you're done experimenting by changing "default 0" to whatever kernel you want.
     
  3. tfunky

    tfunky New Member

    ohhhh....I like htop!

    It's showing only 1gb of ram...so I'm thinking this is a debian thing. I have no idea why :(

    I've got similar boxes (cheap little HP dual core AMD w/ 3gb ram...just different model) running just fine with etch and vmware 1.04

    I wonder if there is something set wrong in the bios that would confuse etch?

    Would htop show 2 CPUS if it thought the machine had them?

    Is there any other way to see what etch thinks the processor is?

    Thanks!

    Tfunk
     
  4. unclecameron

    unclecameron New Member

    Htop will give you a bar for each CPU it detects. You sure you have the right architecture for your installation media?
     
  5. tfunky

    tfunky New Member

    well...htops only seeing one cup then.

    I used the x86 netinstall cd like I always do.

    Weird.
     
  6. falko

    falko Super Moderator Howtoforge Staff

    Try
    Code:
    cat /proc/cpuinfo
     
  7. tfunky

    tfunky New Member

    I don't know what to make of this.

    I've spent most of today trying to get it to play nice.

    In /proc/cpuinfo it only shows 1 proc, but is shows the correct one (being dual core)

    Code:
    server:~# cat /proc/cpuinfo
    processor       : 0
    vendor_id       : AuthenticAMD
    cpu family      : 15
    model           : 67
    model name      : AMD Athlon(tm) 64 X2 Dual Core Processor 5600+
    stepping        : 3
    cpu MHz         : 2812.799
    cache size      : 1024 KB
    fdiv_bug        : no
    hlt_bug         : no
    f00f_bug        : no
    coma_bug        : no
    fpu             : yes
    fpu_exception   : yes
    cpuid level     : 1
    wp              : yes
    flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt lm 3dnowext 3dnow pni cx16 lahf_lm cmp_legacy svm cr8legacy ts fid vid ttp tm stc
    bogomips        : 5630.98

    dmesg only shows on reference to SMP

    Code:
    dmesg | grep SMP
    found SMP MP-table at 000f3ea0
    Digging around on the internet I found that acpi can can an issue, so it's disabled in grub

    Code:
    kernel          /vmlinuz-2.6.18-5-486 root=/dev/mapper/aj--server-root ro acpi=no
    initrd          /initrd.img-2.6.18-5-486


    So it appears that debain sees the proc correctly, it just isn't activating the dual core.

    The kernel has smp enabled by default, doesn't it?

    Is there a difference between the 4.02 and 4.01 in this regard? This is first time I've used 4.02.

    That's the only real difference I can think of between this system and the others that worked.
     
  8. falko

    falko Super Moderator Howtoforge Staff

    The system is seeing just one processor.
    You can try to install an SMP kernel.
    What's the output of
    Code:
    apt-cache search kernel | grep -i smp
    ?
     
  9. tfunky

    tfunky New Member

    Here is the output...


    Code:
    server:~# apt-cache search kernel | grep -i smp
    irqbalance - Balances irq's for SMP systems
    kernel-image-2.6-686-smp - Linux 2.6 image on PPro/Celeron/PII/PIII/P4 SMP - transition package
    kernel-image-2.6-amd64-k8-smp - Linux kernel image for version 2.6 on AMD64 SMP systems - transition package
    kernel-image-2.6-em64t-p4-smp - Linux kernel image for version 2.6 on Intel EM64T SMP systems - transition package
    kernel-image-2.6-k7-smp - Linux 2.6 image on AMD K7 SMP - transition package
    server:~#
    
    I'm not sure what the output means though.
     
    Last edited: Jan 27, 2008
  10. tfunky

    tfunky New Member

    I downloaded Knoppix 5.1.1 and burned it.

    When it boots up it sees both processors just fine.

    It also sees all 3gb of memory :(

    If knoppix is based on debian I'm not sure why one can see it and the other can't.
     
  11. tfunky

    tfunky New Member

    Well...I don't have an explanation, but...

    I downloaded the AMD version of Etch and it installed just fine...both procs show and all 3gb of ram show just fine.

    I'm not sure what to make of it, but it is working just fine now.

    Thanks for your help!
     

Share This Page